@apidevtools/swagger-parser
Advanced tools
Comparing version 9.0.1 to 10.0.0
@@ -8,2 +8,18 @@ Change Log | ||
[v10.0.0](https://github.com/APIDevTools/swagger-parser/tree/v10.0.0) (2020-07-10) | ||
---------------------------------------------------------------------------------------------------- | ||
#### Breaking Changes | ||
- Removed the `YAML` export. We recommend using [`@stoplight/yaml`](https://www.npmjs.com/package/@stoplight/yaml) instead | ||
#### Other Changes | ||
- Added a new [`continueOnError` option](https://apitools.dev/swagger-parser/docs/options) that allows you to get all errors rather than just the first one | ||
[Full Changelog](https://github.com/APIDevTools/swagger-parser/compare/v9.0.1...v10.0.0) | ||
[v9.0.0](https://github.com/APIDevTools/swagger-parser/tree/v9.0.0) (2020-03-14) | ||
@@ -10,0 +26,0 @@ ---------------------------------------------------------------------------------------------------- |
@@ -27,3 +27,2 @@ "use strict"; | ||
util.inherits(SwaggerParser, $RefParser); | ||
SwaggerParser.YAML = $RefParser.YAML; | ||
SwaggerParser.parse = $RefParser.parse; | ||
@@ -30,0 +29,0 @@ SwaggerParser.resolve = $RefParser.resolve; |
{ | ||
"name": "@apidevtools/swagger-parser", | ||
"version": "9.0.1", | ||
"version": "10.0.0", | ||
"description": "Swagger 2.0 and OpenAPI 3.0 parser and validator for Node and browsers", | ||
@@ -55,30 +55,30 @@ "keywords": [ | ||
"devDependencies": { | ||
"@babel/polyfill": "^7.7.0", | ||
"@jsdevtools/eslint-config-modular": "^8.0.0", | ||
"@jsdevtools/host-environment": "^2.0.2", | ||
"@jsdevtools/karma-config": "^3.1.2", | ||
"@jsdevtools/version-bump-prompt": "^6.0.2", | ||
"@types/node": "^13.1.2", | ||
"@babel/polyfill": "^7.10.4", | ||
"@jsdevtools/eslint-config-modular": "^8.0.3", | ||
"@jsdevtools/host-environment": "^2.0.3", | ||
"@jsdevtools/karma-config": "^3.1.4", | ||
"@jsdevtools/version-bump-prompt": "^6.0.3", | ||
"@types/node": "^14.0.20", | ||
"chai": "^4.2.0", | ||
"eslint": "^6.8.0", | ||
"karma": "^4.3.0", | ||
"eslint": "^7.4.0", | ||
"karma": "^5.1.0", | ||
"karma-cli": "^2.0.0", | ||
"mocha": "^7.1.0", | ||
"mocha": "^8.0.1", | ||
"node-fetch": "^2.6.0", | ||
"node-sass": "^4.12.0", | ||
"node-sass": "^4.14.1", | ||
"npm-check": "^5.9.0", | ||
"nyc": "^15.0.0", | ||
"nyc": "^15.1.0", | ||
"shx": "^0.3.2", | ||
"simplifyify": "^8.0.0", | ||
"typescript": "^3.7.4" | ||
"simplifyify": "^8.0.1", | ||
"typescript": "^3.9.6" | ||
}, | ||
"dependencies": { | ||
"@apidevtools/json-schema-ref-parser": "^8.0.0", | ||
"@apidevtools/openapi-schemas": "^2.0.2", | ||
"@apidevtools/swagger-methods": "^3.0.0", | ||
"@jsdevtools/ono": "^7.1.0", | ||
"@apidevtools/json-schema-ref-parser": "^9.0.2", | ||
"@apidevtools/openapi-schemas": "^2.0.3", | ||
"@apidevtools/swagger-methods": "^3.0.1", | ||
"@jsdevtools/ono": "^7.1.2", | ||
"call-me-maybe": "^1.0.1", | ||
"openapi-types": "^1.3.5", | ||
"z-schema": "^4.2.2" | ||
"z-schema": "^4.2.3" | ||
} | ||
} |
Swagger 2.0 and OpenAPI 3.0 parser/validator | ||
============================ | ||
[![Build Status](https://github.com/APIDevTools/swagger-parser/workflows/CI-CD/badge.svg?branch=master)](https://github.com/APIDevTools/swagger-parser/blob/master/.github/workflows/CI-CD.yaml) | ||
[![Build Status](https://github.com/APIDevTools/swagger-parser/workflows/CI-CD/badge.svg?branch=master)](https://github.com/APIDevTools/swagger-parser/actions) | ||
[![Coverage Status](https://coveralls.io/repos/github/APIDevTools/swagger-parser/badge.svg?branch=master)](https://coveralls.io/github/APIDevTools/swagger-parser) | ||
@@ -13,3 +13,3 @@ [![Tested on APIs.guru](https://api.apis.guru/badges/tested_on.svg)](https://apis.guru/browse-apis/) | ||
[![OS and Browser Compatibility](https://apitools.dev/img/badges/ci-badges-with-ie.svg)](https://github.com/APIDevTools/swagger-parser/blob/master/.github/workflows/CI-CD.yaml) | ||
[![OS and Browser Compatibility](https://apitools.dev/img/badges/ci-badges-with-ie.svg)](https://github.com/APIDevTools/swagger-parser/actions) | ||
@@ -27,3 +27,3 @@ [![Online Demo](https://apitools.dev/swagger-parser/online/img/demo.svg)](https://apitools.dev/swagger-parser/online/) | ||
- Can [dereference](https://apitools.dev/swagger-parser/docs/swagger-parser.html#dereferenceapi-options-callback) all `$ref` pointers, giving you a normal JavaScript object that's easy to work with | ||
- **[Tested](https://github.com/APIDevTools/swagger-parser/blob/master/.github/workflows/CI-CD.yaml)** in Node.js and all modern web browsers on Mac, Windows, and Linux | ||
- **[Tested](https://github.com/APIDevTools/swagger-parser/actions)** in Node.js and all modern web browsers on Mac, Windows, and Linux | ||
- Tested on **[over 1,500 real-world APIs](https://apis.guru/browse-apis/)** from Google, Instagram, Spotify, etc. | ||
@@ -114,3 +114,3 @@ - Supports [circular references](https://apitools.dev/swagger-parser/docs/#circular-refs), nested references, back-references, and cross-references | ||
-------------------------- | ||
I welcome any contributions, enhancements, and bug-fixes. [File an issue](https://github.com/APIDevTools/swagger-parser/issues) on GitHub and [submit a pull request](https://github.com/APIDevTools/swagger-parser/pulls). | ||
I welcome any contributions, enhancements, and bug-fixes. [Open an issue](https://github.com/APIDevTools/swagger-parser/issues) on GitHub and [submit a pull request](https://github.com/APIDevTools/swagger-parser/pulls). | ||
@@ -117,0 +117,0 @@ #### Building/Testing |
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
74480
975
+ Added@apidevtools/json-schema-ref-parser@9.1.2(transitive)
+ Added@types/json-schema@7.0.15(transitive)
+ Addedargparse@2.0.1(transitive)
+ Addedjs-yaml@4.1.0(transitive)
- Removed@apidevtools/json-schema-ref-parser@8.0.0(transitive)
- Removedargparse@1.0.10(transitive)
- Removedesprima@4.0.1(transitive)
- Removedjs-yaml@3.14.1(transitive)
- Removedsprintf-js@1.0.3(transitive)
Updated@jsdevtools/ono@^7.1.2
Updatedz-schema@^4.2.3