Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@chialab/esbuild-plugin-meta-url

Package Overview
Dependencies
Maintainers
2
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chialab/esbuild-plugin-meta-url - npm Package Compare versions

Comparing version 0.8.4 to 0.8.13

2

lib/index.js

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