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
18
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 2.3.1 to 2.4.0

7

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

@@ -34,3 +34,5 @@ "keywords": [

"@stoplight/json": "^3.1.0",
"@stoplight/path": "^1.2.1",
"@stoplight/types": "^11.0.0",
"@types/urijs": "1.x.x",
"dependency-graph": "~0.8.0",

@@ -41,6 +43,5 @@ "fast-memoize": "^2.5.1",

"tslib": "^1.10.0",
"urijs": "~1.19.1",
"vscode-uri": "^2.0.3"
"urijs": "~1.19.1"
},
"typings": "index.d.ts"
}

@@ -5,8 +5,7 @@ "use strict";

const json_1 = require("@stoplight/json");
const path_1 = require("@stoplight/path");
const dependency_graph_1 = require("dependency-graph");
const immer_1 = require("immer");
const lodash_1 = require("lodash");
const path_1 = require("path");
const URI = require("urijs");
const vscode_uri_1 = require("vscode-uri");
const cache_1 = require("./cache");

@@ -43,3 +42,3 @@ const crawler_1 = require("./crawler");

if (absRef) {
ref = new URI(vscode_uri_1.URI.file(absRef).fsPath.replace(/\\/g, '/')).fragment(ref.fragment());
ref = new URI(path_1.toFSPath(absRef)).fragment(ref.fragment());
}

@@ -181,3 +180,3 @@ }

if (this.isFile(uri)) {
uri = new URI(vscode_uri_1.URI.file(baseUri).fsPath.replace(/\\/g, '/'));
uri = new URI(path_1.toFSPath(baseUri));
}

@@ -184,0 +183,0 @@ this.baseUri = uri;

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