New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

node-swagger-ui

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-swagger-ui - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

4

lib/index.js

@@ -41,3 +41,3 @@ /**

headers["Access-Control-Allow-Origin"] = headers["Access-Control-Allow-Origin"] || "*";
headers["Access-Control-Allow-Origin"] = headers["Access-Control-Allow-Origin"] || "*";
headers["Access-Control-Allow-Headers"] = headers["Access-Control-Allow-Headers"] || "Origin, X-Requested-With, Content-Type, Accept, Authorization";

@@ -51,2 +51,4 @@

res.header("Access-Control-Allow-Origin", req.header("Origin"));
next();

@@ -53,0 +55,0 @@ });

{
"name": "node-swagger-ui",
"version": "1.0.3",
"version": "1.0.4",
"description": "Creates a SwaggerUI application with simple configuration.",

@@ -5,0 +5,0 @@ "main": "index.js",

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