Skip to content

Wrong code published to npm #180

@aliismael

Description

@aliismael

Dear Colleagues,

When I run

npm install hapi-auth-cookie@7.0.0

I get code that does not look like the one on the master branch on github! I get something like this in the lib/index.js file:

'use strict';

// Load modules

const Boom = require('boom');
const Hoek = require('hoek');
const Joi = require('joi');

// Declare internals

const internals = {};


exports.register = function (server, options, next) {

    server.auth.scheme('cookie', internals.implementation);
    next();
};


exports.register.attributes = {
    pkg: require('../package.json')
};

.....
....
....

Did someone push the wrong code base to npm?

Thanks in advance for your help.

Yours truly,
Ali

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions