@stoplight/json-ref-resolver
Advanced tools
Comparing version 1.2.1 to 1.2.2
{ | ||
"name": "@stoplight/json-ref-resolver", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "Recursively resolve JSON pointers and remote authorities.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -15,5 +15,4 @@ "use strict"; | ||
exports.defaultGetRef = (key, val) => { | ||
if (val && typeof val === 'object' && val.$ref) { | ||
if (val && typeof val === 'object' && typeof val.$ref === 'string') | ||
return val.$ref; | ||
} | ||
return; | ||
@@ -20,0 +19,0 @@ }; |
Sorry, the diff of this file is not supported yet
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
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
67996
741