Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jsonref

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsonref - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

8

lib/index.js

@@ -74,3 +74,7 @@ 'use strict';

k = uri.url + uri.hash.slice(0, i).join('/');
data = _store[k];
if (k === '#') {
data = _root;
} else {
data = _store[k];
}
}

@@ -133,3 +137,3 @@ if (data) {

return p.then(function () {
return _parsePassTwo(obj, _scope + '/' + i);
return _parsePassTwo(obj, _scope + '/' + key);
});

@@ -136,0 +140,0 @@ };

{
"name": "jsonref",
"version": "2.0.1",
"version": "2.0.2",
"description": "Javascript References ($ref) and Pointers library",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -58,4 +58,8 @@ import url from 'url';

for (var i = uri.hash.length, k ; !data && i > 0 ; i--) {
k = uri.url + uri.hash.slice(0, i).join('/');
data = _store[k];
k = uri.url + uri.hash.slice(0, i).join('/')
if (k === '#') {
data = _root;
} else {
data = _store[k];
}
}

@@ -124,3 +128,3 @@ if (data) {

return p.then(function() {
return _parsePassTwo(obj, _scope + '/' + i);
return _parsePassTwo(obj, _scope + '/' + key);
});

@@ -127,0 +131,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc