schema-manager
Advanced tools
Comparing version 0.1.0 to 1.0.0
@@ -162,3 +162,3 @@ "use strict"; | ||
refs(schema) { | ||
return _1.Helper.obj.findAllInObject(schema, (value) => { | ||
return _1.Helper.obj.filter(schema, (value) => { | ||
return value.$ref !== undefined && typeof value.$ref === 'string'; | ||
@@ -168,6 +168,6 @@ }).map(p => p.$ref); | ||
externalRefs(schema) { | ||
const ids = _1.Helper.obj.findAllInObject(schema, (value) => { | ||
const ids = _1.Helper.obj.filter(schema, (value) => { | ||
return value.$id !== undefined && typeof value.$id === 'string' && value.$id.startsWith('http'); | ||
}).map(p => p.$id); | ||
const refs = _1.Helper.obj.findAllInObject(schema, (value) => { | ||
const refs = _1.Helper.obj.filter(schema, (value) => { | ||
return value.$ref !== undefined && typeof value.$ref === 'string' && value.$ref.startsWith('http'); | ||
@@ -174,0 +174,0 @@ }).map(p => p.$ref); |
{ | ||
"name": "schema-manager", | ||
"version": "0.1.0", | ||
"version": "1.0.0", | ||
"description": "Schema Manager", | ||
@@ -19,4 +19,7 @@ "author": "Flavio Lionel Rita <flaviolrita@hotmail.com>", | ||
}, | ||
"scripts": { | ||
"test": "npx jest --config jest-unit-config.json" | ||
}, | ||
"dependencies": { | ||
"h3lp": "^0.1.8" | ||
"h3lp": "1.0.7" | ||
}, | ||
@@ -23,0 +26,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
133546
37
1190
0
2
+ Addedh3lp@1.0.7(transitive)
- Removedh3lp@0.1.11(transitive)
Updatedh3lp@1.0.7