Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@esbuild/darwin-arm64
Advanced tools
The macOS ARM 64-bit binary for esbuild, a JavaScript bundler.
The @esbuild/darwin-arm64 npm package is a binary package for the esbuild bundler and minifier. It is specifically compiled for macOS on ARM64 architecture (Apple Silicon). Esbuild is a fast JavaScript bundler and minifier that compiles TypeScript, JavaScript, and JSX files into a single output file. It is designed to be extremely fast and efficient, taking advantage of parallelism and native code execution.
Bundling JavaScript
This feature allows you to bundle multiple JavaScript files into a single output file, which can be used in a browser or other JavaScript environment.
require('esbuild').build({
entryPoints: ['app.js'],
bundle: true,
outfile: 'out.js'
}).catch(() => process.exit(1))
Minifying JavaScript
This feature enables the minification of JavaScript code to reduce file size and improve load times in production environments.
require('esbuild').build({
entryPoints: ['app.js'],
minify: true,
outfile: 'out.js'
}).catch(() => process.exit(1))
Transpiling TypeScript
This feature allows you to transpile TypeScript code into JavaScript, enabling you to use TypeScript's advanced features while maintaining compatibility with JavaScript environments.
require('esbuild').build({
entryPoints: ['app.ts'],
bundle: true,
outfile: 'out.js'
}).catch(() => process.exit(1))
JSX Support
This feature provides support for JSX syntax, commonly used in React applications, allowing you to bundle and transpile JSX files directly.
require('esbuild').build({
entryPoints: ['app.jsx'],
bundle: true,
outfile: 'out.js'
}).catch(() => process.exit(1))
Webpack is a popular JavaScript module bundler with a large ecosystem of plugins. It is more configurable than esbuild but generally slower due to its JavaScript-based architecture as opposed to the Go-based architecture of esbuild.
Rollup is another JavaScript module bundler that focuses on producing efficient bundles for modern module formats like ES modules. It is known for its tree-shaking capabilities but is not as fast as esbuild.
Parcel is a web application bundler that offers a zero-configuration experience. It is user-friendly and supports a wide range of file types out of the box, but it does not match the speed of esbuild.
Terser is a JavaScript parser, mangler, and compressor toolkit for ES6+. It is commonly used for minifying JavaScript code. While it is efficient at reducing code size, it does not offer bundling capabilities and is slower than esbuild.
This is the macOS ARM 64-bit binary for esbuild, a JavaScript bundler and minifier. See https://github.com/evanw/esbuild for details.
0.24.2
Fix regression with --define
and import.meta
(#4010, #4012, #4013)
The previous change in version 0.24.1 to use a more expression-like parser for define
values to allow quoted property names introduced a regression that removed the ability to use --define:import.meta=...
. Even though import
is normally a keyword that can't be used as an identifier, ES modules special-case the import.meta
expression to behave like an identifier anyway. This change fixes the regression.
This fix was contributed by @sapphi-red.
FAQs
The macOS ARM 64-bit binary for esbuild, a JavaScript bundler.
The npm package @esbuild/darwin-arm64 receives a total of 5,261,735 weekly downloads. As such, @esbuild/darwin-arm64 popularity was classified as popular.
We found that @esbuild/darwin-arm64 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.