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.15.28 to 0.15.37

22

lib/index.js

@@ -220,4 +220,20 @@ import path from 'path';

break;
return;
}
const location = getLocation(code, startToken.start);
warnings.push({
pluginName: 'meta-url',
text: `Unable to resolve '${requestName}' reference.`,
location: {
file: args.path,
namespace: args.namespace,
...location,
length: endToken.end - startToken.start,
lineText: code.split('\n')[location.line - 1],
suggestion: '',
},
notes: [],
detail: '',
});
}));

@@ -229,3 +245,5 @@ });

if (!helpers.isDirty()) {
return;
return {
warnings,
};
}

@@ -232,0 +250,0 @@

6

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

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

"dependencies": {
"@chialab/esbuild-rna": "^0.15.28",
"@chialab/esbuild-rna": "^0.15.37",
"@chialab/estransform": "^0.15.28",

@@ -46,3 +46,3 @@ "@chialab/node-resolve": "^0.15.28"

},
"gitHead": "b6070e0cc98f6d8b7b4a8a59b9d88ee9364aebb1"
"gitHead": "c6158f6389f7ddeb04c7015a2d63c5243442407a"
}
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