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

oas-normalize

Package Overview
Dependencies
Maintainers
8
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oas-normalize - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

13

CHANGELOG.md

@@ -0,1 +1,14 @@

## 2.2.0 (2020-05-28)
* chore(deps-dev): Bump @readme/eslint-config from 2.0.4 to 2.0.6 (#60) ([103f1c3](https://github.com/readmeio/oas-normalize/commit/103f1c3)), closes [#60](https://github.com/readmeio/oas-normalize/issues/60)
* chore(deps-dev): Bump @readme/eslint-config from 2.0.6 to 2.2.0 (#63) ([4a9c96c](https://github.com/readmeio/oas-normalize/commit/4a9c96c)), closes [#63](https://github.com/readmeio/oas-normalize/issues/63)
* chore(deps-dev): Bump conventional-changelog-cli from 2.0.31 to 2.0.34 (#62) ([301148c](https://github.com/readmeio/oas-normalize/commit/301148c)), closes [#62](https://github.com/readmeio/oas-normalize/issues/62)
* chore(deps-dev): Bump jest from 25.4.0 to 25.5.4 (#59) ([95c46e7](https://github.com/readmeio/oas-normalize/commit/95c46e7)), closes [#59](https://github.com/readmeio/oas-normalize/issues/59)
* chore(deps-dev): Bump jest from 25.5.4 to 26.0.1 (#61) ([2a8de9a](https://github.com/readmeio/oas-normalize/commit/2a8de9a)), closes [#61](https://github.com/readmeio/oas-normalize/issues/61)
* chore(deps-dev): upgrading our eslint deps to their latest release ([b2c477c](https://github.com/readmeio/oas-normalize/commit/b2c477c))
* chore(deps): swapping `yamljs` for `yaml` ([03e4163](https://github.com/readmeio/oas-normalize/commit/03e4163))
* chore(deps): upgrading json-schema-ref-parser to the latest release ([8a0ed5b](https://github.com/readmeio/oas-normalize/commit/8a0ed5b))
## 2.1.0 (2020-04-27)

@@ -2,0 +15,0 @@

2

lib/utils.js

@@ -1,2 +0,2 @@

const YAML = require('yamljs');
const YAML = require('yaml');
const deepClone = require('deep-extend');

@@ -3,0 +3,0 @@

const r2 = require('r2');
const fs = require('fs');
const $RefParser = require('json-schema-ref-parser');
const $RefParser = require('@apidevtools/json-schema-ref-parser');
const deepClone = require('deep-extend');

@@ -14,8 +14,3 @@ const converter = require('swagger2openapi');

this.file = file;
this.opts = deepClone(
{
enablePaths: false,
},
opts
);
this.opts = deepClone({ enablePaths: false }, opts);
this.type = utils.type(this.file);

@@ -22,0 +17,0 @@

{
"name": "oas-normalize",
"version": "2.1.0",
"version": "2.2.0",
"description": "Swagger 2 or OAS 3? YAML or JSON? URL, path, string or object? Who cares! It just works.",

@@ -25,14 +25,14 @@ "main": "oas.js",

"dependencies": {
"@apidevtools/json-schema-ref-parser": "^9.0.1",
"deep-extend": "^0.6.0",
"json-schema-ref-parser": "^9.0.1",
"r2": "^2.0.1",
"swagger-parser": "^9.0.1",
"swagger2openapi": "^2.11.16",
"yamljs": "^0.3.0"
"yaml": "^1.10.0"
},
"devDependencies": {
"@readme/eslint-config": "^2.0.0",
"@readme/eslint-config": "^3.1.0",
"conventional-changelog-cli": "^2.0.31",
"eslint": "^6.4.0",
"jest": "^25.1.0",
"eslint": "^7.1.0",
"jest": "^26.0.1",
"prettier": "^2.0.1"

@@ -39,0 +39,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