Skip to content

Commit de9598f

Browse files
committed
publish 0.24.1 to npm
1 parent 15d56ca commit de9598f

File tree

31 files changed

+62
-55
lines changed

31 files changed

+62
-55
lines changed

CHANGELOG.md

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

3-
## Unreleased
3+
## 0.24.1
44

55
* Allow `es2024` as a target in `tsconfig.json` ([#4004](https://github.com/evanw/esbuild/issues/4004))
66

@@ -68,6 +68,12 @@
6868

6969
Almost all entry points already include a `entryPoint` field in the `outputs` map in esbuild's build metadata. However, this wasn't the case for the `copy` loader as that loader is a special-case that doesn't behave like other loaders. This release adds the `entryPoint` field in this case.
7070

71+
* Source mappings may now contain `null` entries ([#3310](https://github.com/evanw/esbuild/issues/3310), [#3878](https://github.com/evanw/esbuild/issues/3878))
72+
73+
With this change, sources that result in an empty source map may now emit a `null` source mapping (i.e. one with a generated position but without a source index or original position). This change improves source map accuracy by fixing a problem where minified code from a source without any source mappings could potentially still be associated with a mapping from another source file earlier in the generated output on the same minified line. It manifests as nonsensical files in source mapped stack traces. Now the `null` mapping "resets" the source map so that any lookups into the minified code without any mappings resolves to `null` (which appears as the output file in stack traces) instead of the incorrect source file.
74+
75+
This change shouldn't affect anything in most situations. I'm only mentioning it in the release notes in case it introduces a bug with source mapping. It's part of a work-in-progress future feature that will let you omit certain unimportant files from the generated source map to reduce source map size.
76+
7177
* Avoid using the parent directory name for determinism ([#3998](https://github.com/evanw/esbuild/issues/3998))
7278

7379
To make generated code more readable, esbuild includes the name of the source file when generating certain variable names within the file. Specifically bundling a CommonJS file generates a variable to store the lazily-evaluated module initializer. However, if a file is named `index.js` (or with a different extension), esbuild will use the name of the parent directory instead for a better name (since many packages have files all named `index.js` but have unique directory names).

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.24.0"
3+
const esbuildVersion = "0.24.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.24.0",
3+
"version": "0.24.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.24.0",
3+
"version": "0.24.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.24.0",
3+
"version": "0.24.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.24.0",
3+
"version": "0.24.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.24.0",
3+
"version": "0.24.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.24.0",
3+
"version": "0.24.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.24.0",
3+
"version": "0.24.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.24.0",
3+
"version": "0.24.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.24.0",
3+
"version": "0.24.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.24.0",
3+
"version": "0.24.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.24.0",
3+
"version": "0.24.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.24.0",
3+
"version": "0.24.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.24.0",
3+
"version": "0.24.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.24.0",
3+
"version": "0.24.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.24.0",
3+
"version": "0.24.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.24.0",
3+
"version": "0.24.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.24.0",
3+
"version": "0.24.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.24.0",
3+
"version": "0.24.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.24.0",
3+
"version": "0.24.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.24.0",
3+
"version": "0.24.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.24.0",
3+
"version": "0.24.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.24.0",
3+
"version": "0.24.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.24.0",
3+
"version": "0.24.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.24.0",
3+
"version": "0.24.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.24.0",
3+
"version": "0.24.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.24.0",
3+
"version": "0.24.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.24.0",
3+
"version": "0.24.1",
44
"description": "The cross-platform WebAssembly binary for esbuild, a JavaScript bundler.",
55
"repository": {
66
"type": "git",

npm/esbuild/package.json

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

version.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.24.0
1+
0.24.1

0 commit comments

Comments
 (0)