openapi-police
Advanced tools
Comparing version 1.1.6 to 2.0.0
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
@@ -107,6 +107,6 @@ "use strict"; | ||
if (disc.match(meta_1.LII_RE)) { | ||
disc = jsonref_1.normalizeUri(`#/components/schemas/${disc}`, jsonpolice_1.Schema.scope(spec)); | ||
disc = (0, jsonref_1.normalizeUri)(`#/components/schemas/${disc}`, jsonpolice_1.Schema.scope(spec)); | ||
} | ||
else { | ||
disc = jsonref_1.normalizeUri(disc, jsonpolice_1.Schema.scope(spec)); | ||
disc = (0, jsonref_1.normalizeUri)(disc, jsonpolice_1.Schema.scope(spec)); | ||
} | ||
@@ -119,3 +119,3 @@ let subSpec; | ||
else { | ||
subSpec = ref_1.resolve({ $ref: disc }, jsonref_1.getMeta(spec)); | ||
subSpec = (0, ref_1.resolve)({ $ref: disc }, (0, jsonref_1.getMeta)(spec)); | ||
} | ||
@@ -122,0 +122,0 @@ if (typeof subSpec === 'undefined') { |
{ | ||
"name": "openapi-police", | ||
"version": "1.1.6", | ||
"version": "2.0.0", | ||
"description": "OpenAPI v3 validators and utilities", | ||
@@ -50,28 +50,31 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"@commitlint/cli": "^11.0.0", | ||
"@commitlint/config-conventional": "^11.0.0", | ||
"@types/chai": "^4.2.14", | ||
"@types/chai-as-promised": "7.1.3", | ||
"@types/mocha": "^8.2.0", | ||
"@types/node": "^14.14.25", | ||
"@types/request": "^2.48.5", | ||
"@types/request-promise-native": "^1.0.17", | ||
"chai": "^4.3.0", | ||
"@commitlint/cli": "^16.2.1", | ||
"@commitlint/config-conventional": "^16.2.1", | ||
"@types/chai": "^4.3.0", | ||
"@types/chai-as-promised": "7.1.5", | ||
"@types/mocha": "^9.1.0", | ||
"@types/node": "^16.11.26", | ||
"@types/request": "^2.48.8", | ||
"@types/request-promise-native": "^1.0.18", | ||
"chai": "^4.3.6", | ||
"chai-as-promised": "^7.1.1", | ||
"commitizen": "^4.2.3", | ||
"commitizen": "^4.2.4", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"husky": "^5.0.9", | ||
"mocha": "^8.2.1", | ||
"mochawesome": "^6.2.1", | ||
"nodemon": "^2.0.7", | ||
"husky": "^7.0.4", | ||
"mocha": "^9.2.1", | ||
"mochawesome": "^7.1.0", | ||
"nodemon": "^2.0.15", | ||
"nyc": "^15.1.0", | ||
"rimraf": "^3.0.2", | ||
"semantic-release": "^17.3.8", | ||
"typescript": "^4.1.4", | ||
"yaml": "^1.10.0" | ||
"semantic-release": "^19.0.2", | ||
"typescript": "^4.6.2", | ||
"yaml": "^1.10.2" | ||
}, | ||
"dependencies": { | ||
"jsonpolice": "^8.2.1", | ||
"jsonref": "^6.0.0" | ||
"jsonpolice": "^9.0.0", | ||
"jsonref": "^7.0.0" | ||
}, | ||
"engines": { | ||
"node": ">=16.14.0" | ||
}, | ||
"config": { | ||
@@ -78,0 +81,0 @@ "commitizen": { |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
32006
803
1
+ Addedjsonpolice@9.0.0(transitive)
+ Addedjsonref@7.0.0(transitive)
- Removedjsonpolice@8.2.2(transitive)
- Removedjsonref@6.0.3(transitive)
Updatedjsonpolice@^9.0.0
Updatedjsonref@^7.0.0