swagger-jsdoc
Advanced tools
Comparing version 3.4.0 to 3.5.0
@@ -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 @@ }, |
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
28842
20
562
+ Addedcommander@2.20.34.0.1(transitive)
+ Addedglob@7.1.6(transitive)
+ Addedswagger-parser@8.0.3(transitive)
- Removedcommander@2.20.0(transitive)
- Removedglob@7.1.4(transitive)
- Removedswagger-parser@8.0.0(transitive)
Updatedcommander@4.0.1
Updatedglob@7.1.6
Updatedswagger-parser@8.0.3