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 5.1.1 to 5.1.2

dist/utils.d.ts

3

dist/meta.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const url_1 = require("url");
const utils_1 = require("./utils");
;

@@ -107,3 +108,3 @@ const __meta = Symbol();

};
_annotate(next, `${meta.scope}/${key}`);
_annotate(next, `${meta.scope}/${utils_1.escape(key)}`);
}

@@ -110,0 +111,0 @@ }

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const meta = require("./meta");
const utils_1 = require("./utils");
const PREFIX_RE = /^(0|[1-9][0-9]*?)([#]?)$/;
const TILDE_0_RE = /~0/g;
const TILDE_1_RE = /~1/g;
const INDEX_RE = /-|0|[1-9][0-9]*/;

@@ -64,3 +63,3 @@ function getPointer(obj) {

}
const part = parts.shift().replace(TILDE_1_RE, '/').replace(TILDE_0_RE, '~');
const part = utils_1.unescape(parts.shift());
if (Array.isArray(current)) {

@@ -67,0 +66,0 @@ if (!part.match(INDEX_RE)) {

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

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

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