build: update all non-major dependencies #21221
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.12.9
->0.12.11
5.7.0
->5.7.1
Release Notes
evanw/esbuild
v0.12.11
Compare Source
Enable faster synchronous transforms with the JS API by default (#1000)
Currently the synchronous JavaScript API calls
transformSync
andbuildSync
spawn a new child process on every call. This is due to limitations with node'schild_process
API. Doing this meanstransformSync
andbuildSync
are much slower thantransform
andbuild
, which share the same child process across calls.This release improves the performance of
transformSync
andbuildSync
by up to 20x. It enables a hack where node'sworker_threads
API and atomics are used to block the main thread while asynchronous communication with a single long-lived child process happens in a worker. Previously this was only enabled when theESBUILD_WORKER_THREADS
environment variable was set to1
. But this experiment has been available for a while (since version 0.9.6) without any reported issues. Now this hack will be enabled by default. It can be disabled by settingESBUILD_WORKER_THREADS
to0
before running node.Fix nested output directories with WebAssembly on Windows (#1399)
Many functions in Go's standard library have a bug where they do not work on Windows when using Go with WebAssembly. This is a long-standing bug and is a fault with the design of the standard library, so it's unlikely to be fixed. Basically Go's standard library is designed to bake "Windows or not" decision into the compiled executable, but WebAssembly is platform-independent which makes "Windows or not" is a run-time decision instead of a compile-time decision. Oops.
I have been working around this by trying to avoid using path-related functions in the Go standard library and doing all path manipulation by myself instead. This involved completely replacing Go's
path/filepath
library. However, I missed theos.MkdirAll
function which is also does path manipulation but is outside of thepath/filepath
package. This meant that nested output directories failed to be created on Windows, which caused a build error. This problem only affected theesbuild-wasm
package.This release manually reimplements nested output directory creation to work around this bug in the Go standard library. So nested output directories should now work on Windows with the
esbuild-wasm
package.v0.12.10
Compare Source
Add a target for ES2021
It's now possible to use
--target=es2021
to target the newly-released JavaScript version ES2021. The only difference between that and--target=es2020
is that logical assignment operators such asa ||= b
are not converted to regular assignment operators such asa || (a = b)
.Minify the syntax
Infinity
to1 / 0
(#1385)The
--minify-syntax
flag (automatically enabled by--minify
) will now minify the expressionInfinity
to1 / 0
, which uses fewer bytes:This change was contributed by @Gusted.
Minify syntax in the CSS
transform
property (#1390)This release includes various size reductions for CSS transform matrix syntax when minification is enabled:
The
translate3d
totranslateZ
conversion was contributed by @steambap.Support for the case-sensitive flag in CSS attribute selectors (#1397)
You can now use the case-sensitive CSS attribute selector flag
s
such as in[type="a" s] { list-style: lower-alpha; }
. Previously doing this caused a warning about unrecognized syntax.terser/terser
v5.7.1
Compare Source
a?.b = c
){ ...void 0 }
->{}
)Configuration
📅 Schedule: "after 10pm every weekday,before 4am every weekday,every weekend" in timezone America/Tijuana.
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by WhiteSource Renovate. View repository job log here.