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

deref

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deref - npm Package Compare versions

Comparing version 0.2.7 to 0.2.8

10

lib/util/normalize-schema.js

@@ -52,13 +52,11 @@ 'use strict';

if (copy.$schema) {
base = $.resolveURL(copy.$schema, base);
}
if (base && SCHEMA_URI.indexOf(base) === -1) {
if (copy.$schema && SCHEMA_URI.indexOf(copy.$schema) === -1) {
throw new Error('Unsupported schema version (v4 only)');
}
expand(copy, $.resolveURL(base, copy.id || '#'), push);
base = $.resolveURL(copy.$schema || SCHEMA_URI[0], base);
expand(copy, $.resolveURL(copy.id || '#', base), push);
return copy;
};

9

package.json
{
"name": "deref",
"version": "0.2.7",
"version": "0.2.8",
"description": "JSON-Schema $ref resolution",

@@ -14,7 +14,10 @@ "main": "lib/index.js",

"grunt": "^0.4.5",
"grunt-parts": "^0.3.1",
"grunt-parts": "^0.3.3",
"jayschema": "^0.3.1",
"tv4": "^1.1.9",
"z-schema": "^3.3.1"
"z-schema": "^3.4.3"
},
"publishConfig": {
"registry": "http://registry.npmjs.org"
}
}
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