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 3.0.3 to 3.0.4

8

lib/index.js

@@ -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

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