@hyperjump/json-schema-core
Advanced tools
Comparing version 0.21.0 to 0.21.1
const fs = require("fs"); | ||
const fetch = require("node-fetch"); | ||
const Url = require("url"); | ||
@@ -7,3 +8,3 @@ | ||
if (url.startsWith("file://")) { | ||
const path = url.match(/file:\/\/(.+)/)[1]; | ||
const path = Url.fileURLToPath(url); | ||
const stream = fs.createReadStream(path); | ||
@@ -10,0 +11,0 @@ return new fetch.Response(stream); |
{ | ||
"name": "@hyperjump/json-schema-core", | ||
"version": "0.21.0", | ||
"version": "0.21.1", | ||
"description": "A framework for building JSON Schema tools", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1634219
9238