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

swagger-ui

Package Overview
Dependencies
Maintainers
1
Versions
394
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swagger-ui - npm Package Compare versions

Comparing version 2.0.11 to 2.0.12

4

dist/lib/swagger.js
// swagger.js
// version 2.0.17
// version 2.0.19

@@ -983,3 +983,3 @@ var __bind = function(fn, me){

myHeaders[name] = this.headers[name];
if (requestContentType)
if (requestContentType && body)
myHeaders["Content-Type"] = requestContentType;

@@ -986,0 +986,0 @@ if (responseContentType)

// swagger.js
// version 2.0.17
// version 2.0.19

@@ -983,3 +983,3 @@ var __bind = function(fn, me){

myHeaders[name] = this.headers[name];
if (requestContentType)
if (requestContentType && body)
myHeaders["Content-Type"] = requestContentType;

@@ -986,0 +986,0 @@ if (responseContentType)

{
"name": "swagger-ui",
"version": "2.0.11",
"version": "2.0.12",
"description": "Swagger UI is a dependency-free collection of HTML, Javascript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API",

@@ -22,3 +22,3 @@ "scripts": {

"coffee-script": "~1.5.0",
"swagger-client": "2.0.18",
"swagger-client": "2.0.19",
"handlebars": "~1.0.10",

@@ -25,0 +25,0 @@ "less": "~1.4.2"

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