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

swagger-jsdoc

Package Overview
Dependencies
Maintainers
4
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swagger-jsdoc - npm Package Compare versions

Comparing version 3.4.0 to 3.5.0

18

lib/helpers/specification.js

@@ -124,7 +124,6 @@ /* eslint no-param-reassign: 0 */

const definitionName = definitionNames[k];
swaggerObject[keyName][definitionName] = Object.assign(
{},
swaggerObject[keyName][definitionName],
pathObject[propertyName][definitionName]
);
swaggerObject[keyName][definitionName] = {
...swaggerObject[keyName][definitionName],
...pathObject[propertyName][definitionName],
};
}

@@ -141,7 +140,6 @@ // Tags.

} else {
swaggerObject.paths[propertyName] = Object.assign(
{},
swaggerObject.paths[propertyName],
pathObject[propertyName]
);
swaggerObject.paths[propertyName] = {
...swaggerObject.paths[propertyName],
...pathObject[propertyName],
};
}

@@ -148,0 +146,0 @@ }

{
"name": "swagger-jsdoc",
"version": "3.4.0",
"version": "3.5.0",
"description": "Generates swagger doc based on JSDoc",

@@ -33,7 +33,7 @@ "main": "index.js",

"dependencies": {
"commander": "2.20.0",
"commander": "4.0.1",
"doctrine": "3.0.0",
"glob": "7.1.4",
"glob": "7.1.6",
"js-yaml": "3.13.1",
"swagger-parser": "8.0.0"
"swagger-parser": "8.0.3"
},

@@ -44,14 +44,14 @@ "devDependencies": {

"chai-jest-snapshot": "2.0.0",
"eslint": "6.0.1",
"eslint-config-airbnb-base": "13.2.0",
"eslint-config-prettier": "6.0.0",
"eslint-loader": "2.2.1",
"eslint-plugin-import": "2.18.0",
"eslint-plugin-prettier": "3.1.0",
"eslint": "6.7.2",
"eslint-config-airbnb-base": "14.0.0",
"eslint-config-prettier": "6.7.0",
"eslint-loader": "3.0.2",
"eslint-plugin-import": "2.18.2",
"eslint-plugin-prettier": "3.1.1",
"express": "4.17.1",
"husky": "3.0.0",
"lint-staged": "9.1.0",
"mocha": "6.1.4",
"husky": "3.1.0",
"lint-staged": "9.5.0",
"mocha": "6.2.2",
"npm-run-all": "4.1.5",
"prettier": "1.18.2",
"prettier": "1.19.1",
"supertest": "4.0.2"

@@ -58,0 +58,0 @@ },

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