@chialab/esbuild-plugin-meta-url
Advanced tools
Comparing version 0.8.4 to 0.8.13
@@ -96,3 +96,3 @@ import { promises } from 'fs'; | ||
if (!ids[entryPoint]) { | ||
let identifier = ids[entryPoint] = `_${value.replace(/[^a-zA-Z0-9]/g, '_')}`; | ||
const identifier = ids[entryPoint] = `_${value.replace(/[^a-zA-Z0-9]/g, '_')}`; | ||
if (code.startsWith('#!')) { | ||
@@ -99,0 +99,0 @@ magicCode.appendRight(code.indexOf('\n') + 1, `import ${identifier} from '${entryPoint}.urlfile';\n`); |
{ | ||
"name": "@chialab/esbuild-plugin-meta-url", | ||
"type": "module", | ||
"version": "0.8.4", | ||
"version": "0.8.13", | ||
"description": "A file loader plugin for esbuild for constructed URLs using import metadata.", | ||
@@ -45,3 +45,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "dfc6716438e20433c8f424ec1f0689a2c80f167f" | ||
"gitHead": "3cd5d9edd0ce19718dbbbba721e16db5b121c0fd" | ||
} |
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
8980