Socket
Socket
Sign inDemoInstall

swagger-spec-validator

Package Overview
Dependencies
69
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

.swp

5

CHANGELOG.md
# Change Log
## [1.0.1](https://github.com/kevinoid/swagger-spec-validator/tree/1.0.1) (2017-05-07)
[Full Changelog](https://github.com/kevinoid/swagger-spec-validator/compare/1.0.0...1.0.1)
- Include DigiCert Global Root CA in package to fix SSL validation on Debian.
## [1.0.0](https://github.com/kevinoid/swagger-spec-validator/tree/1.0.0) (2017-03-16)

@@ -4,0 +9,0 @@ [Full Changelog](https://github.com/kevinoid/swagger-spec-validator/compare/0.1.2...1.0.0)

3

index.js

@@ -70,2 +70,5 @@ /**

// verification to fail if online.swagger.io changed certs.
// Note: First call to addCACert reloads root certs without
// NODE_EXTRA_CA_CERTS. On Debian this includes all root CAs.
// This is why the DigiCert Root CA file is in the package.
var secureContext = tls.createSecureContext();

@@ -72,0 +75,0 @@ certs.forEach(function(cert) {

4

package.json
{
"name": "swagger-spec-validator",
"version": "1.0.0",
"version": "1.0.1",
"description": "Validate an OpenAPI/Swagger API specification using the swagger.io online validator.",

@@ -34,3 +34,3 @@ "keywords": [

"postversion": "rimraf doc && git clone -b gh-pages -l -q . doc && npm run doc && git -C doc add . && git -C doc commit -n -m \"Docs for v$npm_package_version\"",
"preversion": "depcheck --ignores eslint-plugin-import --ignore-dirs doc && david -i nock && git-branch-is master && travis-status -b master -c -wx && appveyor-status -b master -c -w -p kevinoid/swagger-spec-validator && istanbul check-coverage --statements 95 coverage/coverage.json",
"preversion": "depcheck --ignores eslint-plugin-import --ignore-dirs doc && david -i nock,yargs && git-branch-is master && travis-status -b master -c -wx && appveyor-status -b master -c -w -p kevinoid/swagger-spec-validator && istanbul check-coverage --statements 95 coverage/coverage.json",
"test": "npm run lint && npm run test-unit",

@@ -37,0 +37,0 @@ "test-cov": "npm run lint && npm run test-unit-cov",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc