New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@chialab/esbuild-plugin-emit

Package Overview
Dependencies
Maintainers
2
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chialab/esbuild-plugin-emit - npm Package Compare versions

Comparing version 0.11.2 to 0.11.4

11

lib/index.js

@@ -6,2 +6,7 @@ import path from 'path';

/**
* The namespace for emitted files.
*/
const EMIT_FILE_NS = 'emit-chunk';
/**
* The filter regex for file imports.

@@ -122,4 +127,10 @@ */

path: getSearchParams(args.path).path,
namespace: EMIT_FILE_NS,
}));
build.onLoad({ filter: /./, namespace: EMIT_FILE_NS }, async (args) => ({
contents: await readFile(args.path, 'utf-8'),
loader: 'file',
}));
build.onResolve({ filter: EMIT_CHUNK_REGEX }, (args) => ({

@@ -126,0 +137,0 @@ path: getSearchParams(args.path).path,

4

package.json
{
"name": "@chialab/esbuild-plugin-emit",
"type": "module",
"version": "0.11.2",
"version": "0.11.4",
"description": "Helpers functions to emit chunks and files from a esbuild run.",

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

},
"gitHead": "437b08e536f3db42451a67e79613232da31f2f58"
"gitHead": "029f0881b8f1138d52d9ded0fb60f2d34579281f"
}
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