Comparing version 3.0.3 to 3.0.4
@@ -151,9 +151,5 @@ 'use strict'; | ||
var _scope, i, o; | ||
if (typeof data.id === 'string') { | ||
_scope = _normalize(data.id, scope); | ||
} else { | ||
_scope = scope || '#'; | ||
} | ||
var _scope = data[__scope] || scope; | ||
var i, o; | ||
for (i in data) { | ||
@@ -160,0 +156,0 @@ o = data[i]; |
{ | ||
"name": "jsonref", | ||
"version": "3.0.3", | ||
"version": "3.0.4", | ||
"description": "Javascript References ($ref) and Pointers library", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -112,8 +112,3 @@ import url from 'url'; | ||
if (typeof data === 'object') { | ||
var _scope, i, o; | ||
if (typeof data.id === 'string') { | ||
_scope = _normalize(data.id, scope); | ||
} else { | ||
_scope = scope || '#'; | ||
} | ||
var _scope = data[__scope] || scope; | ||
function _deref(key, ref) { | ||
@@ -141,2 +136,3 @@ return p.then(function() { | ||
} | ||
var i, o; | ||
for (i in data) { | ||
@@ -143,0 +139,0 @@ o = data[i]; |
Sorry, the diff of this file is not supported yet
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
83665
322