mdsvex-relative-images
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -17,3 +17,5 @@ // credit to pngwn doing majority of the plugin - https://github.com/pngwn/MDsveX/discussions/246#discussioncomment-720947 | ||
if (url.startsWith(".")) { | ||
let camel = toCamel(url); | ||
// filenames can start with digits, | ||
// prepend underscore to guarantee valid module name | ||
let camel = `_${toCamel(url)}`; | ||
const count = url_count.get(camel); | ||
@@ -20,0 +22,0 @@ const dupe = urls.get(url); |
{ | ||
"name": "mdsvex-relative-images", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Add support for relative image URLs in mdsvex", | ||
@@ -5,0 +5,0 @@ "main": "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
4450
67