From bf3b8e7792e5ac9db84bc69ef93d48f1bf809140 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 18 Sep 2023 09:19:04 +0000
Subject: [PATCH] chore: Bump esbuild from 0.19.2 to 0.19.3 (#346)
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.19.2 to 0.19.3.
Release notes
Sourced from esbuild's releases.
v0.19.3
-
Fix list-style-type
with the local-css
loader (#3325)
The local-css
loader incorrectly treated all identifiers provided to list-style-type
as a custom local identifier. That included identifiers such as none
which have special meaning in CSS, and which should not be treated as custom local identifiers. This release fixes this bug:
/* Original code */
ul { list-style-type: none }
/* Old output (with --loader=local-css) */
ul {
list-style-type: stdin_none;
}
/* New output (with --loader=local-css) */
ul {
list-style-type: none;
}
Note that this bug only affected code using the local-css
loader. It did not affect code using the css
loader.
Avoid inserting temporary variables before use strict
(#3322)
This release fixes a bug where esbuild could incorrectly insert automatically-generated temporary variables before use strict
directives:
// Original code
function foo() {
'use strict'
a.b?.c()
}
// Old output (with --target=es6)
function foo() {
var _a;
"use strict";
(_a = a.b) == null ? void 0 : _a.c();
}
// New output (with --target=es6)
function foo() {
"use strict";
var _a;
(_a = a.b) == null ? void 0 : _a.c();
}
Adjust TypeScript enum
output to better approximate tsc
(#3329)
... (truncated)
Changelog
Sourced from esbuild's changelog.
0.19.3
-
Fix list-style-type
with the local-css
loader (#3325)
The local-css
loader incorrectly treated all identifiers provided to list-style-type
as a custom local identifier. That included identifiers such as none
which have special meaning in CSS, and which should not be treated as custom local identifiers. This release fixes this bug:
/* Original code */
ul { list-style-type: none }
/* Old output (with --loader=local-css) */
ul {
list-style-type: stdin_none;
}
/* New output (with --loader=local-css) */
ul {
list-style-type: none;
}
Note that this bug only affected code using the local-css
loader. It did not affect code using the css
loader.
-
Avoid inserting temporary variables before use strict
(#3322)
This release fixes a bug where esbuild could incorrectly insert automatically-generated temporary variables before use strict
directives:
// Original code
function foo() {
'use strict'
a.b?.c()
}
// Old output (with --target=es6)
function foo() {
var _a;
"use strict";
(_a = a.b) == null ? void 0 : _a.c();
}
// New output (with --target=es6)
function foo() {
"use strict";
var _a;
(_a = a.b) == null ? void 0 : _a.c();
}
-
Adjust TypeScript enum
output to better approximate tsc
(#3329)
... (truncated)
Commits
673ad10
publish 0.19.3 to npm
6402f11
basic support for parsing import attributes
7ece556
fix #3322: avoid temporaries before "use strict"
900a90d
transform: banner/footer with local-css/global-css
bbd82b2
run make update-compat-table
f702f6b
remove an unused method
a111cc4
fix #3318: ignore invalid commands for old builds
4c5db58
fix #3329: treat more enum values as strings
5ecf535
fix #3377: improve resolution error due to null
79ac17a
resolver: adjust some error messages
- Additional commits viewable in compare view
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=esbuild&package-manager=npm_and_yarn&previous-version=0.19.2&new-version=0.19.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
---
package.json | 2 +-
yarn.lock | 188 +++++++++++++++++++++++++--------------------------
2 files changed, 95 insertions(+), 95 deletions(-)
diff --git a/package.json b/package.json
index cdde28d2..c20c755f 100644
--- a/package.json
+++ b/package.json
@@ -49,7 +49,7 @@
"@types/yargs": "^17.0.24",
"@typescript-eslint/eslint-plugin": "^6.6.0",
"@typescript-eslint/parser": "^6.7.0",
- "esbuild": "^0.19.2",
+ "esbuild": "^0.19.3",
"escape-string-regexp": "^5.0.0",
"eslint": "^8.49.0",
"eslint-config-prettier": "^9.0.0",
diff --git a/yarn.lock b/yarn.lock
index 39cc0cc0..ab363f2f 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -503,156 +503,156 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/android-arm64@npm:0.19.2":
- version: 0.19.2
- resolution: "@esbuild/android-arm64@npm:0.19.2"
+"@esbuild/android-arm64@npm:0.19.3":
+ version: 0.19.3
+ resolution: "@esbuild/android-arm64@npm:0.19.3"
conditions: os=android & cpu=arm64
languageName: node
linkType: hard
-"@esbuild/android-arm@npm:0.19.2":
- version: 0.19.2
- resolution: "@esbuild/android-arm@npm:0.19.2"
+"@esbuild/android-arm@npm:0.19.3":
+ version: 0.19.3
+ resolution: "@esbuild/android-arm@npm:0.19.3"
conditions: os=android & cpu=arm
languageName: node
linkType: hard
-"@esbuild/android-x64@npm:0.19.2":
- version: 0.19.2
- resolution: "@esbuild/android-x64@npm:0.19.2"
+"@esbuild/android-x64@npm:0.19.3":
+ version: 0.19.3
+ resolution: "@esbuild/android-x64@npm:0.19.3"
conditions: os=android & cpu=x64
languageName: node
linkType: hard
-"@esbuild/darwin-arm64@npm:0.19.2":
- version: 0.19.2
- resolution: "@esbuild/darwin-arm64@npm:0.19.2"
+"@esbuild/darwin-arm64@npm:0.19.3":
+ version: 0.19.3
+ resolution: "@esbuild/darwin-arm64@npm:0.19.3"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard
-"@esbuild/darwin-x64@npm:0.19.2":
- version: 0.19.2
- resolution: "@esbuild/darwin-x64@npm:0.19.2"
+"@esbuild/darwin-x64@npm:0.19.3":
+ version: 0.19.3
+ resolution: "@esbuild/darwin-x64@npm:0.19.3"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard
-"@esbuild/freebsd-arm64@npm:0.19.2":
- version: 0.19.2
- resolution: "@esbuild/freebsd-arm64@npm:0.19.2"
+"@esbuild/freebsd-arm64@npm:0.19.3":
+ version: 0.19.3
+ resolution: "@esbuild/freebsd-arm64@npm:0.19.3"
conditions: os=freebsd & cpu=arm64
languageName: node
linkType: hard
-"@esbuild/freebsd-x64@npm:0.19.2":
- version: 0.19.2
- resolution: "@esbuild/freebsd-x64@npm:0.19.2"
+"@esbuild/freebsd-x64@npm:0.19.3":
+ version: 0.19.3
+ resolution: "@esbuild/freebsd-x64@npm:0.19.3"
conditions: os=freebsd & cpu=x64
languageName: node
linkType: hard
-"@esbuild/linux-arm64@npm:0.19.2":
- version: 0.19.2
- resolution: "@esbuild/linux-arm64@npm:0.19.2"
+"@esbuild/linux-arm64@npm:0.19.3":
+ version: 0.19.3
+ resolution: "@esbuild/linux-arm64@npm:0.19.3"
conditions: os=linux & cpu=arm64
languageName: node
linkType: hard
-"@esbuild/linux-arm@npm:0.19.2":
- version: 0.19.2
- resolution: "@esbuild/linux-arm@npm:0.19.2"
+"@esbuild/linux-arm@npm:0.19.3":
+ version: 0.19.3
+ resolution: "@esbuild/linux-arm@npm:0.19.3"
conditions: os=linux & cpu=arm
languageName: node
linkType: hard
-"@esbuild/linux-ia32@npm:0.19.2":
- version: 0.19.2
- resolution: "@esbuild/linux-ia32@npm:0.19.2"
+"@esbuild/linux-ia32@npm:0.19.3":
+ version: 0.19.3
+ resolution: "@esbuild/linux-ia32@npm:0.19.3"
conditions: os=linux & cpu=ia32
languageName: node
linkType: hard
-"@esbuild/linux-loong64@npm:0.19.2":
- version: 0.19.2
- resolution: "@esbuild/linux-loong64@npm:0.19.2"
+"@esbuild/linux-loong64@npm:0.19.3":
+ version: 0.19.3
+ resolution: "@esbuild/linux-loong64@npm:0.19.3"
conditions: os=linux & cpu=loong64
languageName: node
linkType: hard
-"@esbuild/linux-mips64el@npm:0.19.2":
- version: 0.19.2
- resolution: "@esbuild/linux-mips64el@npm:0.19.2"
+"@esbuild/linux-mips64el@npm:0.19.3":
+ version: 0.19.3
+ resolution: "@esbuild/linux-mips64el@npm:0.19.3"
conditions: os=linux & cpu=mips64el
languageName: node
linkType: hard
-"@esbuild/linux-ppc64@npm:0.19.2":
- version: 0.19.2
- resolution: "@esbuild/linux-ppc64@npm:0.19.2"
+"@esbuild/linux-ppc64@npm:0.19.3":
+ version: 0.19.3
+ resolution: "@esbuild/linux-ppc64@npm:0.19.3"
conditions: os=linux & cpu=ppc64
languageName: node
linkType: hard
-"@esbuild/linux-riscv64@npm:0.19.2":
- version: 0.19.2
- resolution: "@esbuild/linux-riscv64@npm:0.19.2"
+"@esbuild/linux-riscv64@npm:0.19.3":
+ version: 0.19.3
+ resolution: "@esbuild/linux-riscv64@npm:0.19.3"
conditions: os=linux & cpu=riscv64
languageName: node
linkType: hard
-"@esbuild/linux-s390x@npm:0.19.2":
- version: 0.19.2
- resolution: "@esbuild/linux-s390x@npm:0.19.2"
+"@esbuild/linux-s390x@npm:0.19.3":
+ version: 0.19.3
+ resolution: "@esbuild/linux-s390x@npm:0.19.3"
conditions: os=linux & cpu=s390x
languageName: node
linkType: hard
-"@esbuild/linux-x64@npm:0.19.2":
- version: 0.19.2
- resolution: "@esbuild/linux-x64@npm:0.19.2"
+"@esbuild/linux-x64@npm:0.19.3":
+ version: 0.19.3
+ resolution: "@esbuild/linux-x64@npm:0.19.3"
conditions: os=linux & cpu=x64
languageName: node
linkType: hard
-"@esbuild/netbsd-x64@npm:0.19.2":
- version: 0.19.2
- resolution: "@esbuild/netbsd-x64@npm:0.19.2"
+"@esbuild/netbsd-x64@npm:0.19.3":
+ version: 0.19.3
+ resolution: "@esbuild/netbsd-x64@npm:0.19.3"
conditions: os=netbsd & cpu=x64
languageName: node
linkType: hard
-"@esbuild/openbsd-x64@npm:0.19.2":
- version: 0.19.2
- resolution: "@esbuild/openbsd-x64@npm:0.19.2"
+"@esbuild/openbsd-x64@npm:0.19.3":
+ version: 0.19.3
+ resolution: "@esbuild/openbsd-x64@npm:0.19.3"
conditions: os=openbsd & cpu=x64
languageName: node
linkType: hard
-"@esbuild/sunos-x64@npm:0.19.2":
- version: 0.19.2
- resolution: "@esbuild/sunos-x64@npm:0.19.2"
+"@esbuild/sunos-x64@npm:0.19.3":
+ version: 0.19.3
+ resolution: "@esbuild/sunos-x64@npm:0.19.3"
conditions: os=sunos & cpu=x64
languageName: node
linkType: hard
-"@esbuild/win32-arm64@npm:0.19.2":
- version: 0.19.2
- resolution: "@esbuild/win32-arm64@npm:0.19.2"
+"@esbuild/win32-arm64@npm:0.19.3":
+ version: 0.19.3
+ resolution: "@esbuild/win32-arm64@npm:0.19.3"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard
-"@esbuild/win32-ia32@npm:0.19.2":
- version: 0.19.2
- resolution: "@esbuild/win32-ia32@npm:0.19.2"
+"@esbuild/win32-ia32@npm:0.19.3":
+ version: 0.19.3
+ resolution: "@esbuild/win32-ia32@npm:0.19.3"
conditions: os=win32 & cpu=ia32
languageName: node
linkType: hard
-"@esbuild/win32-x64@npm:0.19.2":
- version: 0.19.2
- resolution: "@esbuild/win32-x64@npm:0.19.2"
+"@esbuild/win32-x64@npm:0.19.3":
+ version: 0.19.3
+ resolution: "@esbuild/win32-x64@npm:0.19.3"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard
@@ -2519,7 +2519,7 @@ __metadata:
"@types/yargs": ^17.0.24
"@typescript-eslint/eslint-plugin": ^6.6.0
"@typescript-eslint/parser": ^6.7.0
- esbuild: ^0.19.2
+ esbuild: ^0.19.3
escape-string-regexp: ^5.0.0
eslint: ^8.49.0
eslint-config-prettier: ^9.0.0
@@ -3380,32 +3380,32 @@ __metadata:
languageName: node
linkType: hard
-"esbuild@npm:^0.19.2":
- version: 0.19.2
- resolution: "esbuild@npm:0.19.2"
- dependencies:
- "@esbuild/android-arm": 0.19.2
- "@esbuild/android-arm64": 0.19.2
- "@esbuild/android-x64": 0.19.2
- "@esbuild/darwin-arm64": 0.19.2
- "@esbuild/darwin-x64": 0.19.2
- "@esbuild/freebsd-arm64": 0.19.2
- "@esbuild/freebsd-x64": 0.19.2
- "@esbuild/linux-arm": 0.19.2
- "@esbuild/linux-arm64": 0.19.2
- "@esbuild/linux-ia32": 0.19.2
- "@esbuild/linux-loong64": 0.19.2
- "@esbuild/linux-mips64el": 0.19.2
- "@esbuild/linux-ppc64": 0.19.2
- "@esbuild/linux-riscv64": 0.19.2
- "@esbuild/linux-s390x": 0.19.2
- "@esbuild/linux-x64": 0.19.2
- "@esbuild/netbsd-x64": 0.19.2
- "@esbuild/openbsd-x64": 0.19.2
- "@esbuild/sunos-x64": 0.19.2
- "@esbuild/win32-arm64": 0.19.2
- "@esbuild/win32-ia32": 0.19.2
- "@esbuild/win32-x64": 0.19.2
+"esbuild@npm:^0.19.3":
+ version: 0.19.3
+ resolution: "esbuild@npm:0.19.3"
+ dependencies:
+ "@esbuild/android-arm": 0.19.3
+ "@esbuild/android-arm64": 0.19.3
+ "@esbuild/android-x64": 0.19.3
+ "@esbuild/darwin-arm64": 0.19.3
+ "@esbuild/darwin-x64": 0.19.3
+ "@esbuild/freebsd-arm64": 0.19.3
+ "@esbuild/freebsd-x64": 0.19.3
+ "@esbuild/linux-arm": 0.19.3
+ "@esbuild/linux-arm64": 0.19.3
+ "@esbuild/linux-ia32": 0.19.3
+ "@esbuild/linux-loong64": 0.19.3
+ "@esbuild/linux-mips64el": 0.19.3
+ "@esbuild/linux-ppc64": 0.19.3
+ "@esbuild/linux-riscv64": 0.19.3
+ "@esbuild/linux-s390x": 0.19.3
+ "@esbuild/linux-x64": 0.19.3
+ "@esbuild/netbsd-x64": 0.19.3
+ "@esbuild/openbsd-x64": 0.19.3
+ "@esbuild/sunos-x64": 0.19.3
+ "@esbuild/win32-arm64": 0.19.3
+ "@esbuild/win32-ia32": 0.19.3
+ "@esbuild/win32-x64": 0.19.3
dependenciesMeta:
"@esbuild/android-arm":
optional: true
@@ -3453,7 +3453,7 @@ __metadata:
optional: true
bin:
esbuild: bin/esbuild
- checksum: f9ad8ad4f0cbcc675c059f2676c4458d75307af20f9168859de8642accd7f2b7d6bbe8286a23633790dcba07d1d66a8f63c204ea933a0d51300c1b69d4f25d8f
+ checksum: f998ba82b1bbf0f3036201dc2cb94f92aff887b7552738ea3e4dd6f386f87740ef76aabae2fc1c4b91a519354d390f6d9fd89eb71e26882983f6fbaf75369206
languageName: node
linkType: hard