@hyperjump/browser
Advanced tools
Comparing version 1.1.5 to 1.1.6
@@ -12,5 +12,5 @@ import { parse } from "../jref/index.js"; | ||
}, | ||
fileMatcher: (path) => path.endsWith(".jref") | ||
fileMatcher: (path) => /[^/]\.jref$/.test(path) | ||
}; | ||
const anchorLocation = (fragment) => decodeURI(fragment || ""); |
@@ -25,3 +25,3 @@ import { createReadStream } from "node:fs"; | ||
const contentType = await getFileMediaType(filePath); | ||
const contentType = await getFileMediaType(responseUri); | ||
const stream = createReadStream(filePath); | ||
@@ -28,0 +28,0 @@ const response = new Response(stream, { |
{ | ||
"name": "@hyperjump/browser", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"description": "Browse JSON-compatible data with hypermedia references", | ||
@@ -5,0 +5,0 @@ "type": "module", |
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
25449