Skip to content

Commit 6bfc1c1

Browse files
committed
publish 0.25.1 to npm
1 parent f9b3952 commit 6bfc1c1

File tree

31 files changed

+57
-57
lines changed

31 files changed

+57
-57
lines changed

CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## Unreleased
3+
## 0.25.1
44

55
* Fix incorrect paths in inline source maps ([#4070](https://github.com/evanw/esbuild/issues/4070), [#4075](https://github.com/evanw/esbuild/issues/4075), [#4105](https://github.com/evanw/esbuild/issues/4105))
66

@@ -18,7 +18,7 @@
1818

1919
* Fix a crash with `switch` optimization ([#4088](https://github.com/evanw/esbuild/issues/4088))
2020

21-
The new code in the previous release to optimize dead code in switch statements accidentally introduced a crash in the edge case where one or more switch case values include a function expression. This is because esbuild now visits the case values first to determine whether any cases are dead code, and then visits the case values once the dead code status is known. That triggered some internal asserts that guard against traversing the AST in an unexpected order. This crash has been fixed by changing esbuild to expect the new traversal ordering. Here's an example of affected code:
21+
The new code in the previous release to optimize dead code in switch statements accidentally introduced a crash in the edge case where one or more switch case values include a function expression. This is because esbuild now visits the case values first to determine whether any cases are dead code, and then visits the case bodies once the dead code status is known. That triggered some internal asserts that guard against traversing the AST in an unexpected order. This crash has been fixed by changing esbuild to expect the new traversal ordering. Here's an example of affected code:
2222

2323
```js
2424
switch (x) {

cmd/esbuild/version.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
package main
22

3-
const esbuildVersion = "0.25.0"
3+
const esbuildVersion = "0.25.1"

npm/@esbuild/aix-ppc64/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esbuild/aix-ppc64",
3-
"version": "0.25.0",
3+
"version": "0.25.1",
44
"description": "The IBM AIX PowerPC 64-bit binary for esbuild, a JavaScript bundler.",
55
"repository": {
66
"type": "git",

npm/@esbuild/android-arm/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esbuild/android-arm",
3-
"version": "0.25.0",
3+
"version": "0.25.1",
44
"description": "A WebAssembly shim for esbuild on Android ARM.",
55
"repository": {
66
"type": "git",

npm/@esbuild/android-arm64/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esbuild/android-arm64",
3-
"version": "0.25.0",
3+
"version": "0.25.1",
44
"description": "The Android ARM 64-bit binary for esbuild, a JavaScript bundler.",
55
"repository": {
66
"type": "git",

npm/@esbuild/android-x64/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esbuild/android-x64",
3-
"version": "0.25.0",
3+
"version": "0.25.1",
44
"description": "A WebAssembly shim for esbuild on Android x64.",
55
"repository": "https://github.com/evanw/esbuild",
66
"license": "MIT",

npm/@esbuild/darwin-arm64/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esbuild/darwin-arm64",
3-
"version": "0.25.0",
3+
"version": "0.25.1",
44
"description": "The macOS ARM 64-bit binary for esbuild, a JavaScript bundler.",
55
"repository": {
66
"type": "git",

npm/@esbuild/darwin-x64/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esbuild/darwin-x64",
3-
"version": "0.25.0",
3+
"version": "0.25.1",
44
"description": "The macOS 64-bit binary for esbuild, a JavaScript bundler.",
55
"repository": {
66
"type": "git",

npm/@esbuild/freebsd-arm64/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esbuild/freebsd-arm64",
3-
"version": "0.25.0",
3+
"version": "0.25.1",
44
"description": "The FreeBSD ARM 64-bit binary for esbuild, a JavaScript bundler.",
55
"repository": {
66
"type": "git",

npm/@esbuild/freebsd-x64/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esbuild/freebsd-x64",
3-
"version": "0.25.0",
3+
"version": "0.25.1",
44
"description": "The FreeBSD 64-bit binary for esbuild, a JavaScript bundler.",
55
"repository": {
66
"type": "git",

npm/@esbuild/linux-arm/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esbuild/linux-arm",
3-
"version": "0.25.0",
3+
"version": "0.25.1",
44
"description": "The Linux ARM binary for esbuild, a JavaScript bundler.",
55
"repository": {
66
"type": "git",

npm/@esbuild/linux-arm64/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esbuild/linux-arm64",
3-
"version": "0.25.0",
3+
"version": "0.25.1",
44
"description": "The Linux ARM 64-bit binary for esbuild, a JavaScript bundler.",
55
"repository": {
66
"type": "git",

npm/@esbuild/linux-ia32/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esbuild/linux-ia32",
3-
"version": "0.25.0",
3+
"version": "0.25.1",
44
"description": "The Linux 32-bit binary for esbuild, a JavaScript bundler.",
55
"repository": {
66
"type": "git",

npm/@esbuild/linux-loong64/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esbuild/linux-loong64",
3-
"version": "0.25.0",
3+
"version": "0.25.1",
44
"description": "The Linux LoongArch 64-bit binary for esbuild, a JavaScript bundler.",
55
"repository": {
66
"type": "git",

npm/@esbuild/linux-mips64el/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esbuild/linux-mips64el",
3-
"version": "0.25.0",
3+
"version": "0.25.1",
44
"description": "The Linux MIPS 64-bit Little Endian binary for esbuild, a JavaScript bundler.",
55
"repository": {
66
"type": "git",

npm/@esbuild/linux-ppc64/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esbuild/linux-ppc64",
3-
"version": "0.25.0",
3+
"version": "0.25.1",
44
"description": "The Linux PowerPC 64-bit Little Endian binary for esbuild, a JavaScript bundler.",
55
"repository": {
66
"type": "git",

npm/@esbuild/linux-riscv64/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esbuild/linux-riscv64",
3-
"version": "0.25.0",
3+
"version": "0.25.1",
44
"description": "The Linux RISC-V 64-bit binary for esbuild, a JavaScript bundler.",
55
"repository": {
66
"type": "git",

npm/@esbuild/linux-s390x/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esbuild/linux-s390x",
3-
"version": "0.25.0",
3+
"version": "0.25.1",
44
"description": "The Linux IBM Z 64-bit Big Endian binary for esbuild, a JavaScript bundler.",
55
"repository": {
66
"type": "git",

npm/@esbuild/linux-x64/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esbuild/linux-x64",
3-
"version": "0.25.0",
3+
"version": "0.25.1",
44
"description": "The Linux 64-bit binary for esbuild, a JavaScript bundler.",
55
"repository": {
66
"type": "git",

npm/@esbuild/netbsd-arm64/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esbuild/netbsd-arm64",
3-
"version": "0.25.0",
3+
"version": "0.25.1",
44
"description": "The NetBSD ARM 64-bit binary for esbuild, a JavaScript bundler.",
55
"repository": {
66
"type": "git",

npm/@esbuild/netbsd-x64/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esbuild/netbsd-x64",
3-
"version": "0.25.0",
3+
"version": "0.25.1",
44
"description": "The NetBSD AMD64 binary for esbuild, a JavaScript bundler.",
55
"repository": {
66
"type": "git",

npm/@esbuild/openbsd-arm64/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esbuild/openbsd-arm64",
3-
"version": "0.25.0",
3+
"version": "0.25.1",
44
"description": "The OpenBSD ARM 64-bit binary for esbuild, a JavaScript bundler.",
55
"repository": {
66
"type": "git",

npm/@esbuild/openbsd-x64/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esbuild/openbsd-x64",
3-
"version": "0.25.0",
3+
"version": "0.25.1",
44
"description": "The OpenBSD 64-bit binary for esbuild, a JavaScript bundler.",
55
"repository": {
66
"type": "git",

npm/@esbuild/sunos-x64/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esbuild/sunos-x64",
3-
"version": "0.25.0",
3+
"version": "0.25.1",
44
"description": "The illumos 64-bit binary for esbuild, a JavaScript bundler.",
55
"repository": {
66
"type": "git",

npm/@esbuild/wasi-preview1/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esbuild/wasi-preview1",
3-
"version": "0.25.0",
3+
"version": "0.25.1",
44
"description": "The WASI (WebAssembly System Interface) preview 1 binary for esbuild, a JavaScript bundler.",
55
"repository": {
66
"type": "git",

npm/@esbuild/win32-arm64/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esbuild/win32-arm64",
3-
"version": "0.25.0",
3+
"version": "0.25.1",
44
"description": "The Windows ARM 64-bit binary for esbuild, a JavaScript bundler.",
55
"repository": {
66
"type": "git",

npm/@esbuild/win32-ia32/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esbuild/win32-ia32",
3-
"version": "0.25.0",
3+
"version": "0.25.1",
44
"description": "The Windows 32-bit binary for esbuild, a JavaScript bundler.",
55
"repository": {
66
"type": "git",

npm/@esbuild/win32-x64/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esbuild/win32-x64",
3-
"version": "0.25.0",
3+
"version": "0.25.1",
44
"description": "The Windows 64-bit binary for esbuild, a JavaScript bundler.",
55
"repository": {
66
"type": "git",

npm/esbuild-wasm/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "esbuild-wasm",
3-
"version": "0.25.0",
3+
"version": "0.25.1",
44
"description": "The cross-platform WebAssembly binary for esbuild, a JavaScript bundler.",
55
"repository": {
66
"type": "git",

npm/esbuild/package.json

+26-26
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "esbuild",
3-
"version": "0.25.0",
3+
"version": "0.25.1",
44
"description": "An extremely fast JavaScript and CSS bundler and minifier.",
55
"repository": {
66
"type": "git",
@@ -18,31 +18,31 @@
1818
"esbuild": "bin/esbuild"
1919
},
2020
"optionalDependencies": {
21-
"@esbuild/aix-ppc64": "0.25.0",
22-
"@esbuild/android-arm": "0.25.0",
23-
"@esbuild/android-arm64": "0.25.0",
24-
"@esbuild/android-x64": "0.25.0",
25-
"@esbuild/darwin-arm64": "0.25.0",
26-
"@esbuild/darwin-x64": "0.25.0",
27-
"@esbuild/freebsd-arm64": "0.25.0",
28-
"@esbuild/freebsd-x64": "0.25.0",
29-
"@esbuild/linux-arm": "0.25.0",
30-
"@esbuild/linux-arm64": "0.25.0",
31-
"@esbuild/linux-ia32": "0.25.0",
32-
"@esbuild/linux-loong64": "0.25.0",
33-
"@esbuild/linux-mips64el": "0.25.0",
34-
"@esbuild/linux-ppc64": "0.25.0",
35-
"@esbuild/linux-riscv64": "0.25.0",
36-
"@esbuild/linux-s390x": "0.25.0",
37-
"@esbuild/linux-x64": "0.25.0",
38-
"@esbuild/netbsd-arm64": "0.25.0",
39-
"@esbuild/netbsd-x64": "0.25.0",
40-
"@esbuild/openbsd-arm64": "0.25.0",
41-
"@esbuild/openbsd-x64": "0.25.0",
42-
"@esbuild/sunos-x64": "0.25.0",
43-
"@esbuild/win32-arm64": "0.25.0",
44-
"@esbuild/win32-ia32": "0.25.0",
45-
"@esbuild/win32-x64": "0.25.0"
21+
"@esbuild/aix-ppc64": "0.25.1",
22+
"@esbuild/android-arm": "0.25.1",
23+
"@esbuild/android-arm64": "0.25.1",
24+
"@esbuild/android-x64": "0.25.1",
25+
"@esbuild/darwin-arm64": "0.25.1",
26+
"@esbuild/darwin-x64": "0.25.1",
27+
"@esbuild/freebsd-arm64": "0.25.1",
28+
"@esbuild/freebsd-x64": "0.25.1",
29+
"@esbuild/linux-arm": "0.25.1",
30+
"@esbuild/linux-arm64": "0.25.1",
31+
"@esbuild/linux-ia32": "0.25.1",
32+
"@esbuild/linux-loong64": "0.25.1",
33+
"@esbuild/linux-mips64el": "0.25.1",
34+
"@esbuild/linux-ppc64": "0.25.1",
35+
"@esbuild/linux-riscv64": "0.25.1",
36+
"@esbuild/linux-s390x": "0.25.1",
37+
"@esbuild/linux-x64": "0.25.1",
38+
"@esbuild/netbsd-arm64": "0.25.1",
39+
"@esbuild/netbsd-x64": "0.25.1",
40+
"@esbuild/openbsd-arm64": "0.25.1",
41+
"@esbuild/openbsd-x64": "0.25.1",
42+
"@esbuild/sunos-x64": "0.25.1",
43+
"@esbuild/win32-arm64": "0.25.1",
44+
"@esbuild/win32-ia32": "0.25.1",
45+
"@esbuild/win32-x64": "0.25.1"
4646
},
4747
"license": "MIT"
4848
}

version.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.25.0
1+
0.25.1

0 commit comments

Comments
 (0)