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

jsonref

Package Overview
Dependencies
Maintainers
1
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 5.2.0 to 5.2.1

8

dist/meta.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const url_1 = require("url");
const utils_1 = require("./utils");
;
const __meta = Symbol();
exports.LII_RE = /^[a-zA-Z][a-zA-Z0-9\.\-_:]*$/; // Location-independent identifier, JSON Schema draft 7, par. 8.2.3
function normalizeUri(input, scope) {
const uri = new url_1.URL(input, scope);
const uri = new URL(input, scope);
if (!uri.hash)

@@ -75,3 +73,3 @@ uri.hash = '#';

if (isRef(obj)) {
const uri = new url_1.URL(obj.$ref, scope);
const uri = new URL(obj.$ref, scope);
uri.hash = '#';

@@ -86,3 +84,3 @@ getMeta(obj).refs.add(uri.toString());

}
const id = new url_1.URL(obj.$id, scope);
const id = new URL(obj.$id, scope);
if (id.hash) {

@@ -89,0 +87,0 @@ if (!id.hash.substr(1).match(exports.LII_RE)) {

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

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

"devDependencies": {
"@commitlint/config-conventional": "^7.6.0",
"@commitlint/config-conventional": "^8.1.0",
"@types/chai": "^4.1.7",
"@types/chai-as-promised": "^7.1.0",
"@types/chai-spies": "^1.0.0",
"@types/mocha": "^5.2.6",
"@types/mocha": "^5.2.7",
"@types/node": "^10.14.1",

@@ -62,13 +62,13 @@ "chai": "^4.2.0",

"chai-spies": "^1.0.0",
"commitizen": "^3.1.1",
"commitlint": "^7.6.1",
"coveralls": "^3.0.3",
"cz-conventional-changelog": "^2.1.0",
"husky": "^2.3.0",
"mocha": "^6.1.4",
"mochawesome": "^3.1.2",
"commitizen": "^4.0.3",
"commitlint": "^8.1.0",
"coveralls": "^3.0.5",
"cz-conventional-changelog": "^3.0.2",
"husky": "^3.0.1",
"mocha": "^6.2.0",
"mochawesome": "^4.0.1",
"nyc": "^14.1.1",
"rimraf": "^2.6.3",
"semantic-release": "^15.13.12",
"typescript": "^3.4.5"
"semantic-release": "^15.13.18",
"typescript": "^3.5.3"
},

@@ -75,0 +75,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