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

rollup-plugin-esbuild

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rollup-plugin-esbuild - npm Package Compare versions

Comparing version 4.8.1 to 4.8.2

6

dist/index.js

@@ -148,3 +148,3 @@ var __create = Object.create;

var import_esbuild3 = __toModule(require("esbuild"));
var import_es_module_lexer = __toModule(require("es-module-lexer"));
var esModuleLexer = __toModule(require("es-module-lexer"));
var slash = (p) => p.replace(/\\/g, "/");

@@ -155,3 +155,3 @@ var optimizeDeps = async (options) => {

await import_fs2.default.promises.mkdir(cacheDir, { recursive: true });
await import_es_module_lexer.default.init;
await esModuleLexer.init;
const result = await (0, import_esbuild3.build)(__spreadProps(__spreadValues({

@@ -204,3 +204,3 @@ entryPoints: options.include,

const contents = await import_fs2.default.promises.readFile(absolute, "utf-8");
const [, exported] = import_es_module_lexer.default.parse(contents);
const [, exported] = esModuleLexer.parse(contents);
return {

@@ -207,0 +207,0 @@ contents: exported.length > 0 ? `export * from '${slash(absolute)}'` : `module.exports = require('${slash(absolute)}')`,

{
"name": "rollup-plugin-esbuild",
"version": "4.8.1",
"version": "4.8.2",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "module": "dist/index.mjs",

Sorry, the diff of this file is not supported yet

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