@hyperjump/json-reference
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -75,4 +75,7 @@ "use strict"; | ||
var isObject = function isObject(value) { | ||
return (typeof value === "undefined" ? "undefined" : _typeof(value)) === "object" && !Array.isArray(value) && value !== null; | ||
}; | ||
var isRef = function isRef(value) { | ||
return (typeof value === "undefined" ? "undefined" : _typeof(value)) === "object" && "$ref" in value; | ||
return isObject(value) && "$ref" in value; | ||
}; | ||
@@ -79,0 +82,0 @@ |
{ | ||
"name": "@hyperjump/json-reference", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "An implementation of JSON Reference", | ||
@@ -5,0 +5,0 @@ "main": "./dist/json-reference.js", |
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
11107
116