Socket
Socket
Sign inDemoInstall

esbuild

Package Overview
Dependencies
0
Maintainers
1
Versions
449
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.6 to 0.2.7

15

install.js

@@ -21,2 +21,10 @@ const fs = require('fs');

// It turns out that some package managers (e.g. yarn) sometimes re-run the
// postinstall script for this package after we have already been installed.
// That means this script must be idempotent. Let's skip the install if it's
// already happened.
if (fs.existsSync(installDir)) {
return false;
}
// Run "npm install" recursively to install this specific package

@@ -27,2 +35,3 @@ fs.mkdirSync(installDir);

{ cwd: installDir, stdio: 'inherit', env });
return true;
}

@@ -34,4 +43,3 @@

fs.symlinkSync(process.env.ESBUILD_BIN_PATH_FOR_TESTS, binPath);
} else {
installPackage(package);
} else if (installPackage(package)) {
fs.renameSync(

@@ -48,4 +56,3 @@ path.join(installDir, 'node_modules', package, 'bin', 'esbuild'),

fs.symlinkSync(process.env.ESBUILD_BIN_PATH_FOR_TESTS, exePath);
} else {
installPackage('esbuild-windows-64');
} else if (installPackage('esbuild-windows-64')) {
fs.renameSync(

@@ -52,0 +59,0 @@ path.join(installDir, 'node_modules', 'esbuild-windows-64', 'esbuild.exe'),

{
"name": "esbuild",
"version": "0.2.6",
"version": "0.2.7",
"description": "An extremely fast JavaScript bundler and minifier.",

@@ -5,0 +5,0 @@ "repository": "https://github.com/evanw/esbuild",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc