Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

koa2-swagger-ui

Package Overview
Dependencies
Maintainers
1
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koa2-swagger-ui - npm Package Compare versions

Comparing version 2.6.8 to 2.6.9

2

lib/index.js

@@ -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')

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc