Skip to content

Commit de9598f

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

31 files changed

Lines changed: 62 additions & 55 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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",

0 commit comments

Comments
 (0)