@jsenv/utils
Advanced tools
Comparing version 1.8.2 to 1.8.3
@@ -24,3 +24,3 @@ import { resolveUrl, readFile } from "@jsenv/filesystem" | ||
urlInfo: { | ||
url: fileUrl, | ||
originalUrl: fileUrl, | ||
content, | ||
@@ -27,0 +27,0 @@ }, |
@@ -10,3 +10,3 @@ import { createRequire } from "node:module" | ||
const { code, map } = css.transform({ | ||
filename: urlToFileSystemPath(urlInfo.data.rawUrl || urlInfo.url), | ||
filename: urlToFileSystemPath(urlInfo.originalUrl), | ||
code: Buffer.from(urlInfo.content), | ||
@@ -23,3 +23,3 @@ targets, | ||
const { code, map } = css.transform({ | ||
filename: urlToFileSystemPath(urlInfo.data.rawUrl || urlInfo.url), | ||
filename: urlToFileSystemPath(urlInfo.originalUrl), | ||
code: Buffer.from(urlInfo.content), | ||
@@ -36,3 +36,3 @@ targets, | ||
const { code, map } = css.bundle({ | ||
filename: urlToFileSystemPath(urlInfo.data.rawUrl || urlInfo.url), | ||
filename: urlToFileSystemPath(urlInfo.originalUrl), | ||
targets, | ||
@@ -39,0 +39,0 @@ minify: false, |
@@ -26,3 +26,3 @@ /* | ||
}[urlInfo.type] | ||
const url = (urlInfo.data && urlInfo.data.rawUrl) || urlInfo.url | ||
const url = urlInfo.originalUrl | ||
const generatedUrl = urlInfo.generatedUrl | ||
@@ -29,0 +29,0 @@ const content = urlInfo.content |
{ | ||
"name": "@jsenv/utils", | ||
"version": "1.8.2", | ||
"version": "1.8.3", | ||
"license": "MIT", | ||
@@ -16,3 +16,3 @@ "repository": { | ||
"scripts": { | ||
"test": "node ./test.mjs" | ||
"test": "node --conditions=development ./test.mjs" | ||
}, | ||
@@ -23,3 +23,3 @@ "dependencies": { | ||
"@jsenv/filesystem": "3.1.0", | ||
"@jsenv/log": "1.6.2", | ||
"@jsenv/log": "1.6.3", | ||
"@jsenv/logger": "4.0.1", | ||
@@ -26,0 +26,0 @@ "@jsenv/server": "12.6.0", |
Sorry, the diff of this file is not supported yet
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
200237
90
5918
+ Added@jsenv/log@1.6.3(transitive)
- Removed@jsenv/log@1.6.2(transitive)
Updated@jsenv/log@1.6.3