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.17.0 to 0.17.1

13

lib/index.js

@@ -114,2 +114,3 @@ import path from 'path';

const { platform, format, sourcesContent, sourcemap } = build.getOptions();
const workingDir = build.getWorkingDir();

@@ -143,3 +144,3 @@ const usePlainScript = platform === 'browser' && format !== 'esm';

const { helpers, processor } = await parse(code, args.path);
const { helpers, processor } = await parse(code, path.relative(workingDir, args.path));

@@ -247,7 +248,9 @@ /**

const transformResult = await helpers.generate({
sourcemap: !!sourcemap,
sourcesContent,
});
return {
...helpers.generate({
sourcemap: !!sourcemap,
sourcesContent,
}),
...transformResult,
warnings,

@@ -254,0 +257,0 @@ };

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

@@ -34,3 +34,3 @@ "main": "lib/index.js",

"@chialab/esbuild-rna": "^0.17.0",
"@chialab/estransform": "^0.17.0",
"@chialab/estransform": "^0.17.1",
"@chialab/node-resolve": "^0.17.0"

@@ -37,0 +37,0 @@ },

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