json-schema-resolver
Advanced tools
Comparing version 1.2.0 to 1.2.1
{ | ||
"name": "json-schema-resolver", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Resolve all your $refs", | ||
@@ -5,0 +5,0 @@ "main": "ref-resolver.js", |
@@ -124,4 +124,12 @@ # json-schema-resolver | ||
## Debug | ||
To debug this module, simply set: | ||
```bash | ||
export DEBUG=json-schema-resolver | ||
``` | ||
## License | ||
Licensed under [MIT](./LICENSE). |
@@ -109,3 +109,3 @@ 'use strict' | ||
if (!evaluatedJson) { | ||
debug('External $ref %s not provided', ref) | ||
debug('External $ref %s not provided with baseUri %s', ref, baseUri) | ||
return | ||
@@ -165,2 +165,4 @@ } | ||
baseUri = newBaseUri | ||
} else if (refUri.reference === 'uri' || refUri.reference === 'absolute') { | ||
baseUri = { ...refUri, fragment: undefined } | ||
} | ||
@@ -167,0 +169,0 @@ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
135
0
11832
4
192
1