New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@stoplight/json-ref-resolver

Package Overview
Dependencies
Maintainers
20
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stoplight/json-ref-resolver - npm Package Compare versions

Comparing version 3.0.5 to 3.0.6

2

package.json
{
"name": "@stoplight/json-ref-resolver",
"version": "3.0.5",
"version": "3.0.6",
"description": "Recursively resolve JSON pointers and remote authorities.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -121,2 +121,4 @@ "use strict";

let uriResolver;
const currentAuthority = this.baseUri.toString();
const newUriStack = currentAuthority && this.depth !== 0 ? currentAuthority : null;
try {

@@ -132,5 +134,4 @@ if (this.atMaxUriDepth()) {

});
const currentAuthority = this.baseUri.toString();
if (currentAuthority && this.depth !== 0) {
uriResolver.uriStack = uriResolver.uriStack.concat([currentAuthority]);
if (newUriStack) {
uriResolver.uriStack = uriResolver.uriStack.concat(newUriStack);
}

@@ -143,3 +144,3 @@ }

uri: ref,
uriStack: this.uriStack,
uriStack: newUriStack ? this.uriStack.concat(newUriStack) : this.uriStack,
pointerStack,

@@ -146,0 +147,0 @@ path: parentPath,

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