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

jsonref

Package Overview
Dependencies
Maintainers
3
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 6.0.3 to 7.0.0

22

dist/index.js
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {

@@ -9,2 +13,14 @@ if (k2 === undefined) k2 = k;

}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
var __exportStar = (this && this.__exportStar) || function(m, exports) {

@@ -16,3 +32,3 @@ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);

const errors_1 = require("./errors");
const meta = require("./meta");
const meta = __importStar(require("./meta"));
const ref_1 = require("./ref");

@@ -85,3 +101,3 @@ __exportStar(require("./errors"), exports);

}
return ref_1.resolve(obj, opts);
return (0, ref_1.resolve)(obj, opts);
}

@@ -88,0 +104,0 @@ else {

2

dist/meta.js

@@ -105,3 +105,3 @@ "use strict";

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

@@ -108,0 +108,0 @@ }

"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.patch = exports.diff = void 0;
const meta = require("./meta");
const pointer = require("./pointer");
const meta = __importStar(require("./meta"));
const pointer = __importStar(require("./pointer"));
/*

@@ -7,0 +30,0 @@ export function toDottedPath(path: string): string {

"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.resolve = exports.getPointer = void 0;
const meta = require("./meta");
const meta = __importStar(require("./meta"));
const utils_1 = require("./utils");

@@ -64,3 +87,3 @@ const PREFIX_RE = /^(0|[1-9][0-9]*?)([#]?)$/;

}
const part = utils_1.unescape(parts.shift());
const part = (0, utils_1.unescape)(parts.shift());
if (Array.isArray(current)) {

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

"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.resolve = void 0;
const meta = require("./meta");
const pointer = require("./pointer");
const meta = __importStar(require("./meta"));
const pointer = __importStar(require("./pointer"));
const RELATIVE_RE = /^#(?:0|[1-9][0-9]*?)(?:$|\/)/;

@@ -7,0 +30,0 @@ function deref(obj) {

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

@@ -52,23 +52,26 @@ "main": "dist/index.js",

"devDependencies": {
"@commitlint/config-conventional": "^12.1.1",
"@types/chai": "^4.2.17",
"@types/chai-as-promised": "^7.1.3",
"@commitlint/config-conventional": "^16.2.1",
"@types/chai": "^4.3.0",
"@types/chai-as-promised": "^7.1.5",
"@types/chai-spies": "^1.0.3",
"@types/mocha": "^8.2.2",
"@types/node": "^15.0.1",
"chai": "^4.3.4",
"@types/mocha": "^9.1.0",
"@types/node": "^16.11.26",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"chai-spies": "^1.0.0",
"commitizen": "^4.2.3",
"commitlint": "^12.1.1",
"coveralls": "^3.1.0",
"commitizen": "^4.2.4",
"commitlint": "^16.2.1",
"coveralls": "^3.1.1",
"cz-conventional-changelog": "^3.3.0",
"husky": "^6.0.0",
"mocha": "^8.3.2",
"mochawesome": "^6.2.2",
"husky": "^7.0.4",
"mocha": "^9.2.1",
"mochawesome": "^7.1.0",
"nyc": "^15.1.0",
"rimraf": "^3.0.2",
"semantic-release": "^17.4.2",
"typescript": "^4.2.4"
"semantic-release": "^19.0.2",
"typescript": "^4.6.2"
},
"engines": {
"node": ">=16.14.0"
},
"config": {

@@ -75,0 +78,0 @@ "commitizen": {

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