Skip to content

Commit c6da2c3

Browse files
committed
publish 0.21.0 to npm
1 parent 4bc834c commit c6da2c3

File tree

28 files changed

+54
-52
lines changed

28 files changed

+54
-52
lines changed

CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
# Changelog
22

3-
## Unreleased
3+
## 0.21.0
4+
5+
This release doesn't contain any deliberately-breaking changes. However, it contains a very complex new feature and while all of esbuild's tests pass, I would not be surprised if an important edge case turns out to be broken. So I'm releasing this as a breaking change release to avoid causing any trouble. As usual, make sure to test your code when you upgrade.
46

57
* Implement the JavaScript decorators proposal ([#104](https://github.com/evanw/esbuild/issues/104))
68

7-
With this release, esbuild now contains an implementation of the upcoming [JavaScript decorators proposal](https://github.com/tc39/proposal-decorators). This is the same feature that shipped in [TypeScript 5.0](https://devblogs.microsoft.com/typescript/announcing-typescript-5-0/#decorators). You can read more about them in that blog post and in this other (now slightly outdated) extensive blog post here: https://2ality.com/2022/10/javascript-decorators.html. Here's a quick example:
9+
With this release, esbuild now contains an implementation of the upcoming [JavaScript decorators proposal](https://github.com/tc39/proposal-decorators). This is the same feature that shipped in [TypeScript 5.0](https://devblogs.microsoft.com/typescript/announcing-typescript-5-0/#decorators) and has been highly-requested on esbuild's issue tracker. You can read more about them in that blog post and in this other (now slightly outdated) extensive blog post here: https://2ality.com/2022/10/javascript-decorators.html. Here's a quick example:
810

911
```js
1012
const log = (fn, context) => function() {

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.20.2"
3+
const esbuildVersion = "0.21.0"

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.20.2",
3+
"version": "0.21.0",
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.20.2",
3+
"version": "0.21.0",
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.20.2",
3+
"version": "0.21.0",
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.20.2",
3+
"version": "0.21.0",
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.20.2",
3+
"version": "0.21.0",
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.20.2",
3+
"version": "0.21.0",
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.20.2",
3+
"version": "0.21.0",
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.20.2",
3+
"version": "0.21.0",
44
"description": "The FreeBSD 64-bit binary for esbuild, a JavaScript bundler.",
55
"repository": {
66
"type": "git",

npm/@esbuild/linux-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/linux-arm",
3-
"version": "0.20.2",
3+
"version": "0.21.0",
44
"description": "The Linux ARM binary for esbuild, a JavaScript bundler.",
55
"repository": {
66
"type": "git",

npm/@esbuild/linux-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/linux-arm64",
3-
"version": "0.20.2",
3+
"version": "0.21.0",
44
"description": "The Linux ARM 64-bit binary for esbuild, a JavaScript bundler.",
55
"repository": {
66
"type": "git",

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

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

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

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esbuild/linux-mips64el",
3-
"version": "0.20.2",
3+
"version": "0.21.0",
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esbuild/linux-ppc64",
3-
"version": "0.20.2",
3+
"version": "0.21.0",
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esbuild/linux-riscv64",
3-
"version": "0.20.2",
3+
"version": "0.21.0",
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esbuild/linux-s390x",
3-
"version": "0.20.2",
3+
"version": "0.21.0",
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

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

npm/@esbuild/netbsd-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/netbsd-x64",
3-
"version": "0.20.2",
3+
"version": "0.21.0",
44
"description": "The NetBSD AMD64 binary for esbuild, a JavaScript bundler.",
55
"repository": {
66
"type": "git",

npm/@esbuild/openbsd-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/openbsd-x64",
3-
"version": "0.20.2",
3+
"version": "0.21.0",
44
"description": "The OpenBSD 64-bit binary for esbuild, a JavaScript bundler.",
55
"repository": {
66
"type": "git",

npm/@esbuild/sunos-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/sunos-x64",
3-
"version": "0.20.2",
3+
"version": "0.21.0",
44
"description": "The illumos 64-bit binary for esbuild, a JavaScript bundler.",
55
"repository": {
66
"type": "git",

npm/@esbuild/win32-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/win32-arm64",
3-
"version": "0.20.2",
3+
"version": "0.21.0",
44
"description": "The Windows ARM 64-bit binary for esbuild, a JavaScript bundler.",
55
"repository": {
66
"type": "git",

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

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

npm/@esbuild/win32-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/win32-x64",
3-
"version": "0.20.2",
3+
"version": "0.21.0",
44
"description": "The Windows 64-bit binary for esbuild, a JavaScript bundler.",
55
"repository": {
66
"type": "git",

npm/esbuild-wasm/package.json

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

npm/esbuild/package.json

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

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.20.2
1+
0.21.0

0 commit comments

Comments
 (0)