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

swagger-parser

Package Overview
Dependencies
Maintainers
3
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swagger-parser - npm Package Compare versions

Comparing version 6.0.0 to 6.0.1

12

package.json
{
"name": "swagger-parser",
"version": "6.0.0",
"version": "6.0.1",
"description": "Swagger 2.0 and OpenAPI 3.0 parser and validator for Node and browsers",

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

},
"homepage": "https://apidevtools.org/swagger-parser",
"homepage": "https://apidevtools.org/swagger-parser/",
"repository": {

@@ -42,7 +42,7 @@ "type": "git",

"scripts": {
"lint": "eslint lib test www/js/src --fix",
"lint": "eslint lib test online/src/js --fix",
"build": "npm run build:browser && npm run build:website && npm run build:sass",
"build:browser": "simplifyify lib/index.js --outfile dist/swagger-parser.js --standalone SwaggerParser --bundle --debug --minify",
"build:website": "simplifyify www/js/src/index.js --outfile www/js/bundle.js --bundle --debug --minify",
"build:sass": "node-sass --source-map true --output-style compressed www/css/style.scss www/css/style.min.css",
"build:website": "simplifyify online/src/js/index.js --outfile online/js/bundle.js --bundle --debug --minify",
"build:sass": "node-sass --source-map true --output-style compressed online/src/scss/style.scss online/css/style.min.css",
"test": "npm run test:node && npm run test:browser",

@@ -89,3 +89,3 @@ "test:node": "mocha",

"call-me-maybe": "^1.0.1",
"json-schema-ref-parser": "^6.0.0",
"json-schema-ref-parser": "^6.0.1",
"ono": "^4.0.10",

@@ -92,0 +92,0 @@ "openapi-schema-validation": "^0.4.2",

@@ -17,3 +17,3 @@ Swagger/OpenAPI Parser

[![Online Demo](https://apidevtools.org/swagger-parser/www/img/demo.svg)](https://apidevtools.org/swagger-parser/)
[![Online Demo](https://apidevtools.org/swagger-parser/online/img/demo.svg)](https://apidevtools.org/swagger-parser/online/)

@@ -24,8 +24,8 @@ Features

- Validates against the [Swagger 2.0 schema](https://github.com/swagger-api/swagger-spec/blob/master/schemas/v2.0/schema.json) or [OpenAPI 3.0 Schema](https://github.com/kogosoftwarellc/open-api/blob/master/packages/openapi-schema-validation/schema/openapi-3.0.json)
- [Resolves](docs/swagger-parser.md#resolveapi-options-callback) all `$ref` pointers, including external files and URLs
- Can [bundle](docs/swagger-parser.md#bundleapi-options-callback) all your Swagger files into a single file that only has _internal_ `$ref` pointers
- Can [dereference](docs/swagger-parser.md#dereferenceapi-options-callback) all `$ref` pointers, giving you a normal JavaScript object that's easy to work with
- **[Tested](https://apidevtools.org/swagger-parser/test/index.html)** in Node.js and all modern web browsers on Mac, Windows, and Linux
- [Resolves](https://apidevtools.org/swagger-parser/docs/swagger-parser.html#resolveapi-options-callback) all `$ref` pointers, including external files and URLs
- Can [bundle](https://apidevtools.org/swagger-parser/docs/swagger-parser.html#bundleapi-options-callback) all your Swagger files into a single file that only has _internal_ `$ref` pointers
- Can [dereference](https://apidevtools.org/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://apidevtools.org/swagger-parser/test/)** in Node.js and all modern web browsers on Mac, Windows, and Linux
- Tested on **[over 1,000 real-world APIs](https://apis.guru/browse-apis/)** from Google, Instagram, Spotify, etc.
- Supports [circular references](docs/README.md#circular-refs), nested references, back-references, and cross-references
- Supports [circular references](https://apidevtools.org/swagger-parser/docs/#circular-refs), nested references, back-references, and cross-references
- Maintains object reference equality — `$ref` pointers to the same value always resolve to the same object instance

@@ -66,3 +66,3 @@

For more detailed examples, please see the [API Documentation](docs/README.md)
For more detailed examples, please see the [API Documentation](https://apidevtools.org/swagger-parser/docs/)

@@ -105,3 +105,3 @@

--------------------------
Full API documentation is available [right here](docs/README.md)
Full API documentation is available [right here](https://apidevtools.org/swagger-parser/docs/)

@@ -129,3 +129,3 @@

5. __Start the local web server__<br>
`npm start` (then browse to [http://localhost:8080/www/index.html](https://apidevtools.org/swagger-parser/www/index.html) or [http://localhost:8080/test/index.html](https://apidevtools.org/swagger-parser/test/index.html))
`npm start` (then browse to [http://localhost:8080/test/](http://localhost:8080/test/))

@@ -132,0 +132,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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