Socket
Socket
Sign inDemoInstall

mdsvex-relative-images

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mdsvex-relative-images - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

4

index.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc