Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@esbuild/win32-x64
Advanced tools
The @esbuild/win32-x64 npm package is a binary package for the esbuild bundler and minifier tool. It is specifically compiled for Windows x64 systems. 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 to provide a simpler and more efficient workflow for web development.
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 environments.
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, which is beneficial for faster loading 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 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 powerful module bundler that can handle not only JavaScript but also assets like images, fonts, and stylesheets. It has a larger ecosystem of plugins and loaders, allowing for a highly customizable build process. Compared to esbuild, webpack is more established but generally slower due to its more complex features.
Rollup is another JavaScript module bundler that is well-suited for libraries and applications. It uses a different approach to bundling than webpack, focusing on the efficiency of the final bundle. Rollup is known for producing smaller bundles, but esbuild is typically faster in terms of build speed.
Parcel is a web application bundler that offers a zero-configuration experience. It is designed to be fast and easy to use, automatically handling transformations and dependencies. While Parcel is user-friendly and fast, esbuild often outperforms it in terms of raw build speed.
Terser is a JavaScript parser, mangler, and compressor toolkit for ES6+. It is commonly used for minifying JavaScript files. Unlike esbuild, terser does not bundle files but focuses solely on minifying and optimizing JavaScript code.
This is the Windows 64-bit binary for esbuild, a JavaScript bundler and minifier. See https://github.com/evanw/esbuild for details.
0.23.1
Allow using the node:
import prefix with es*
targets (#3821)
The node:
prefix on imports is an alternate way to import built-in node modules. For example, import fs from "fs"
can also be written import fs from "node:fs"
. This only works with certain newer versions of node, so esbuild removes it when you target older versions of node such as with --target=node14
so that your code still works. With the way esbuild's platform-specific feature compatibility table works, this was added by saying that only newer versions of node support this feature. However, that means that a target such as --target=node18,es2022
removes the node:
prefix because none of the es*
targets are known to support this feature. This release adds the support for the node:
flag to esbuild's internal compatibility table for es*
to allow you to use compound targets like this:
// Original code
import fs from 'node:fs'
fs.open
// Old output (with --bundle --format=esm --platform=node --target=node18,es2022)
import fs from "fs";
fs.open;
// New output (with --bundle --format=esm --platform=node --target=node18,es2022)
import fs from "node:fs";
fs.open;
Fix a panic when using the CLI with invalid build flags if --analyze
is present (#3834)
Previously esbuild's CLI could crash if it was invoked with flags that aren't valid for a "build" API call and the --analyze
flag is present. This was caused by esbuild's internals attempting to add a Go plugin (which is how --analyze
is implemented) to a null build object. The panic has been fixed in this release.
Fix incorrect location of certain error messages (#3845)
This release fixes a regression that caused certain errors relating to variable declarations to be reported at an incorrect location. The regression was introduced in version 0.18.7 of esbuild.
Print comments before case clauses in switch statements (#3838)
With this release, esbuild will attempt to print comments that come before case clauses in switch statements. This is similar to what esbuild already does for comments inside of certain types of expressions. Note that these types of comments are not printed if minification is enabled (specifically whitespace minification).
Fix a memory leak with pluginData
(#3825)
With this release, the build context's internal pluginData
cache will now be cleared when starting a new build. This should fix a leak of memory from plugins that return pluginData
objects from onResolve
and/or onLoad
callbacks.
FAQs
The Windows 64-bit binary for esbuild, a JavaScript bundler.
We found that @esbuild/win32-x64 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.