hapi-swagger
Advanced tools
Comparing version 0.8.1 to 0.8.2
@@ -88,3 +88,6 @@ var Hoek = require('hoek'), | ||
method: 'GET', | ||
path: '/docs/swaggerui/images/throbber.gif', | ||
path: settings.endpoint + '/swaggerui/images/throbber.gif', | ||
config: { | ||
auth: settings.auth, | ||
}, | ||
handler: function (request, reply) { | ||
@@ -100,3 +103,3 @@ reply.file( __dirname + '/../public/swaggerui/images/throbber.gif'); | ||
config: { | ||
auth:settings.auth, | ||
auth: settings.auth, | ||
}, | ||
@@ -772,3 +775,3 @@ handler: settings.customJSHandler, | ||
internals.createModel = function (name, params, models) { | ||
return model = { | ||
return { | ||
"id": name, | ||
@@ -842,2 +845,2 @@ "type": "object", | ||
exports._internals = internals; | ||
exports._internals = internals; |
{ | ||
"name": "hapi-swagger", | ||
"description": "A swagger documentation UI generator plugin for hapi", | ||
"version": "0.8.1", | ||
"version": "0.8.2", | ||
"author": "Glenn Jones", | ||
@@ -17,10 +17,10 @@ "repository": { | ||
"engines": { | ||
"node": "0.10.x" | ||
"node": ">=0.10.0" | ||
}, | ||
"dependencies": { | ||
"handlebars": "1.3.x", | ||
"boom": "2.7.x", | ||
"hoek": "2.12.x", | ||
"joi": "6.1.x", | ||
"shortid": "2.1.x" | ||
"boom": "2.x", | ||
"hoek": "2.x", | ||
"joi": "6.6.x", | ||
"shortid": "2.2.x" | ||
}, | ||
@@ -37,4 +37,4 @@ "devDependencies": { | ||
"peerDependencies": { | ||
"hapi": ">= 8.x.x < 9" | ||
"hapi": ">= 8 < 9" | ||
} | ||
} |
@@ -1302,3 +1302,4 @@ // swagger.js | ||
if (typeof window !== 'undefined') | ||
this._btoa = btoa; | ||
// Changed to 'btoa.bind(window)' from 'btoa' as part of fix for #138 hapi-swagger Glenn Jones 10 Aug 2015 | ||
this._btoa = btoa.bind(window); | ||
else | ||
@@ -1305,0 +1306,0 @@ this._btoa = require("btoa"); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
546922
10691
+ Addedboom@2.10.1(transitive)
+ Addedjoi@6.6.1(transitive)
+ Addednanoid@2.1.11(transitive)
+ Addedshortid@2.2.16(transitive)
- Removedboom@2.7.2(transitive)
- Removedhoek@2.12.0(transitive)
- Removedjoi@6.1.2(transitive)
- Removedshortid@2.1.3(transitive)
Updatedboom@2.x
Updatedhoek@2.x
Updatedjoi@6.6.x
Updatedshortid@2.2.x