Skip to content
Open
2 changes: 1 addition & 1 deletion lib/response.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function Response(options) {

// Store the headers in lower case.
for (var field in options.headers) {
if (options.headers.hasOwnProperty(field)) {
if (Object.prototype.hasOwnProperty.call(options.headers, field)) {
this.headers[field.toLowerCase()] = options.headers[field];
}
}
Expand Down
54 changes: 38 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,54 @@
{
"name": "oauth2-server",
"name": "@vista/oauth2-server",
"description": "Complete, framework-agnostic, compliant and well tested module for implementing an OAuth2 Server in node.js",
"version": "3.0.0",
"version": "3.0.4",
"keywords": [
"oauth",
"oauth2"
],
"contributors": [
{ "name": "Thom Seddon", "email": "[email protected]" },
{ "name": "Lars F. Karlström" , "email": "[email protected]" },
{ "name": "Rui Marinho", "email": "[email protected]" },
{ "name" : "Tiago Ribeiro", "email": "[email protected]" },
{ "name": "Michael Salinger", "email": "[email protected]" },
{ "name": "Nuno Sousa" },
{ "name": "Max Truxa" }
{
"name": "Thom Seddon",
"email": "[email protected]"
},
{
"name": "Lars F. Karlström",
"email": "[email protected]"
},
{
"name": "Rui Marinho",
"email": "[email protected]"
},
{
"name": "Tiago Ribeiro",
"email": "[email protected]"
},
{
"name": "Michael Salinger",
"email": "[email protected]"
},
{
"name": "Nuno Sousa"
},
{
"name": "Max Truxa"
},
{
"name": "Fabiano Taioli"
}
],
"main": "index.js",
"dependencies": {
"basic-auth": "1.1.0",
"bluebird": "3.5.0",
"lodash": "4.17.4",
"basic-auth": "2.0.1",
"bluebird": "3.7.2",
"lodash": "^4.17.19",
"promisify-any": "2.0.1",
"statuses": "1.3.1",
"type-is": "1.6.15"
"statuses": "^2.0.0",
"type-is": "1.6.18"
},
"devDependencies": {
"jshint": "2.9.4",
"mocha": "3.3.0",
"jshint": "^2.12.0",
"mocha": "10.8.2",
"should": "11.2.1",
"sinon": "2.3.2"
},
Expand Down