build: update all non-major dependencies #21416
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.15
->0.12.16
1.35.2
->1.36.0
Release Notes
evanw/esbuild
v0.12.16
Compare Source
Remove warning about bad CSS
@
-rules (#1426)The CSS bundler built in to esbuild is only designed with real CSS in mind. Running other languages that compile down to CSS through esbuild without compiling them down to CSS first can be a bad idea since esbuild applies browser-style error recovery to invalid syntax and uses browser-style import order that other languages might not be expecting. This is why esbuild previously generated warnings when it encountered unknown CSS
@
-rules.However, some people want to run other non-CSS languages through esbuild's CSS bundler anyway. So with this release, esbuild will no longer generate any warnings if you do this. But keep in mind that doing this is still potentially unsafe. Depending on the input language, using esbuild's CSS bundler to bundle non-CSS code can still potentially alter the semantics of your code.
Allow
ES2021
intsconfig.json
(#1470)TypeScript recently added support for
ES2021
intsconfig.json
so esbuild now supports this too. This has the same effect as if you passed--target=es2021
to esbuild. Keep in mind that the value oftarget
intsconfig.json
is only respected if you did not pass a--target=
value to esbuild.Avoid using the
worker_threads
optimization in certain old node versions (#1462)The
worker_threads
optimization makes esbuild's synchronous API calls go much faster than they would otherwise. However, it turns out this optimization cannot be used in certain node versions older thanv12.17.0
, where node throws an error when trying to create the worker. This optimization is now disabled in these scenarios.Note that these old node versions are currently in maintenance. I recommend upgrading to a modern version of node if run-time performance is important to you.
Paths starting with
node:
are implicitly external when bundling for node (#1466)This replicates a new node feature where you can prefix an import path with
node:
to load a native node module by that name (such asimport fs from "node:fs/promises"
). These paths also have special behavior:With this release, esbuild's built-in resolver will now automatically consider all import paths starting with
node:
as external. This new behavior is only active when the current platform is set to node such as with--platform=node
. If you need to customize this behavior, you can write a plugin to intercept these paths and treat them differently.Consider
\
and/
to be the same in file paths (#1459)On Windows, there are many different file paths that can refer to the same underlying file. Windows uses a case-insensitive file system so for example
foo.js
andFoo.js
are the same file. When bundling, esbuild needs to treat both of these paths as the same to avoid incorrectly bundling the file twice. This is case is already handled by identifying files by their lower-case file path.The case that wasn't being handled is the fact that Windows supports two different path separators,
/
and\
, both of which mean the same thing. For examplefoo/bar.js
andfoo\bar.js
are the same file. With this release, this case is also handled by esbuild. Files that are imported in multiple places with inconsistent path separators will now be considered the same file instead of bundling the file multiple times.sass/dart-sass
v1.36.0
Compare Source
Dart API
Added
compileToResult()
,compileStringToResult()
,compileToResultAsync()
, andcompileStringToResultAsync()
methods. Theseare intended to replace the existing
compile*()
methods, which are nowdeprecated. Rather than returning a simple string, these return a
CompileResult
object, which will allow us to add additional informationabout the compilation without having to introduce further deprecations.
Instead of passing a
sourceMaps
callback tocompile*()
, passsourceMaps: true
tocompile*ToResult()
and accessCompileResult.sourceMap
.The
CompileResult
object exposes aloadedUrls
object which lists thecanonical URLs accessed during a compilation. This information was
previously unavailable except through the JS API.
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: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 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.