New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.1 to 6.0.2

26

dist/ref.js

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

enumerable: false,
configurable: false
configurable: false,
});

@@ -52,3 +52,25 @@ const keys = Object.keys(obj);

const next = obj[key];
obj[key] = (next !== null && typeof next === 'object') ? _parse(next) : next;
if (next !== null && typeof next === 'object') {
if (meta.isRef(next)) {
Object.defineProperty(obj, key, {
get: () => {
Object.defineProperty(obj, key, {
value: deref(next),
enumerable: true,
configurable: true,
writable: true,
});
return obj[key];
},
enumerable: true,
configurable: true,
});
}
else {
obj[key] = _parse(next);
}
}
else {
obj[key] = next;
}
}

@@ -55,0 +77,0 @@ meta.getMeta(obj).derefd = true;

24

package.json
{
"name": "jsonref",
"version": "6.0.1",
"version": "6.0.2",
"description": "Javascript References ($ref) and Pointers library",

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

"devDependencies": {
"@commitlint/config-conventional": "^11.0.0",
"@types/chai": "^4.2.14",
"@commitlint/config-conventional": "^12.1.1",
"@types/chai": "^4.2.17",
"@types/chai-as-promised": "^7.1.3",
"@types/chai-spies": "^1.0.3",
"@types/mocha": "^8.2.0",
"@types/node": "^14.14.25",
"chai": "^4.3.0",
"@types/mocha": "^8.2.2",
"@types/node": "^15.0.1",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"chai-spies": "^1.0.0",
"commitizen": "^4.2.3",
"commitlint": "^11.0.0",
"commitlint": "^12.1.1",
"coveralls": "^3.1.0",
"cz-conventional-changelog": "^3.3.0",
"husky": "^5.0.9",
"mocha": "^8.2.1",
"mochawesome": "^6.2.1",
"husky": "^6.0.0",
"mocha": "^8.3.2",
"mochawesome": "^6.2.2",
"nyc": "^15.1.0",
"rimraf": "^3.0.2",
"semantic-release": "^17.3.8",
"typescript": "^4.1.3"
"semantic-release": "^17.4.2",
"typescript": "^4.2.4"
},

@@ -74,0 +74,0 @@ "config": {

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