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

@stoplight/json-ref-resolver

Package Overview
Dependencies
Maintainers
22
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.6 to 3.0.7

2

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

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

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

exports.uriToJSONPointer = (uri) => {
return uri.fragment() ? `#${uri.fragment()}` : '#';
return uri.fragment() !== '' ? `#${uri.fragment()}` : uri.href() === '' ? '#' : '';
};

@@ -30,0 +30,0 @@ exports.uriIsJSONPointer = (ref) => {

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