koa2-swagger-ui
Advanced tools
Comparing version 2.6.8 to 2.6.9
@@ -17,3 +17,3 @@ const path = require('path'); | ||
routePrefix: '/docs', | ||
swaggerVersion: json.devDependencies['swagger-ui'], | ||
swaggerVersion: json.devDependencies['swagger-ui-dist'], | ||
hideTopbar: false, | ||
@@ -20,0 +20,0 @@ }; |
{ | ||
"name": "koa2-swagger-ui", | ||
"version": "2.6.8", | ||
"version": "2.6.9", | ||
"description": "Swagger UI middleware for koa", | ||
@@ -29,3 +29,3 @@ "main": "lib/index.js", | ||
"supertest": "^3.0.0", | ||
"swagger-ui": "3.8.1" | ||
"swagger-ui-dist": "3.8.1" | ||
}, | ||
@@ -32,0 +32,0 @@ "nyc": { |
@@ -21,3 +21,3 @@ const request = require('supertest'); | ||
it('should return css', function() { | ||
const url = `https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/${json.devDependencies['swagger-ui']}`; | ||
const url = `https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/${json.devDependencies['swagger-ui-dist']}`; | ||
return request(url) | ||
@@ -24,0 +24,0 @@ .get('/swagger-ui.css') |
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
11672