New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.13.0 to 0.13.2

8

lib/index.js

@@ -105,3 +105,3 @@ import path from 'path';

async setup(build) {
const { platform, format, sourcesContent } = build.initialOptions;
const { platform, format, sourcesContent, sourcemap } = build.initialOptions;
const { onTransform, resolve, emitFile, emitChunk, rootDir, loaders: buildLoaders } = useRna(build);

@@ -122,3 +122,3 @@

onTransform({ loaders: ['tsx', 'ts', 'jsx', 'js'] }, async (args) => {
const code = args.code.toString();
const code = args.code;

@@ -194,7 +194,7 @@ if (!code.includes('import.meta.url') ||

code: magicCode.toString(),
map: magicCode.generateMap({
map: sourcemap ? magicCode.generateMap({
source: args.path,
includeContent: sourcesContent,
hires: true,
}),
}) : undefined,
};

@@ -201,0 +201,0 @@ });

{
"name": "@chialab/esbuild-plugin-meta-url",
"type": "module",
"version": "0.13.0",
"version": "0.13.2",
"description": "A file loader plugin for esbuild for constructed URLs using import metadata.",

@@ -37,5 +37,5 @@ "main": "lib/index.js",

"dependencies": {
"@chialab/esbuild-rna": "^0.13.0",
"@chialab/estransform": "^0.13.0",
"@chialab/node-resolve": "^0.13.0"
"@chialab/esbuild-rna": "^0.13.2",
"@chialab/estransform": "^0.13.2",
"@chialab/node-resolve": "^0.13.2"
},

@@ -45,3 +45,4 @@ "devDependencies": {

"typescript": "^4.3.0"
}
},
"gitHead": "d7e25a387a468e3f5740a18c0d105d3e1451de55"
}
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