This repository was archived by the owner on Jun 23, 2023. It is now read-only.
chore(deps): update dependency esbuild to v0.14.38#44
Open
renovate[bot] wants to merge 1 commit intomasterfrom
Open
chore(deps): update dependency esbuild to v0.14.38#44renovate[bot] wants to merge 1 commit intomasterfrom
renovate[bot] wants to merge 1 commit intomasterfrom
Conversation
Contributor
Author
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: package-lock.json |
81d8bee to
c405160
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.14.36->0.14.38Release Notes
evanw/esbuild
v0.14.38Compare Source
Further fixes to TypeScript 4.7 instantiation expression parsing (#2201)
This release fixes some additional edge cases with parsing instantiation expressions from the upcoming version 4.7 of TypeScript. Previously it was allowed for an instantiation expression to precede a binary operator but with this release, that's no longer allowed. This was sometimes valid in the TypeScript 4.7 beta but is no longer allowed in the latest version of TypeScript 4.7. Fixing this also fixed a regression that was introduced by the previous release of esbuild:
a<b> == c<d>a == ca == ca == ca<b> in c<d>a in ca<b>>=c<d>a >= ca<b>=c<d>a < b >= ca = ca < b >= ca = ca = ca<b>>c<d>a < b >> ca < b >> ca < b >> ca < b >> ca > ca < b >> cThis table illustrates some of the more significant changes between all of these parsers. The most important part is that esbuild 0.14.38 now matches the behavior of the latest TypeScript compiler for all of these cases.
v0.14.37Compare Source
Add support for TypeScript's
moduleSuffixesfield from TypeScript 4.7The upcoming version of TypeScript adds the
moduleSuffixesfield totsconfig.jsonthat introduces more rules to import path resolution. SettingmoduleSuffixesto[".ios", ".native", ""]will try to look at the the relative files./foo.ios.ts,./foo.native.ts, and finally./foo.tsfor an import path of./foo. Note that the empty string""inmoduleSuffixesis necessary for TypeScript to also look-up./foo.ts. This was announced in the TypeScript 4.7 beta blog post.Match the new ASI behavior from TypeScript nightly builds (#2188)
This release updates esbuild to match some very recent behavior changes in the TypeScript parser regarding automatic semicolon insertion. For more information, see TypeScript issues #48711 and #48654 (I'm not linking to them directly to avoid Dependabot linkback spam on these issues due to esbuild's popularity). The result is that the following TypeScript code is now considered valid TypeScript syntax:
This fix was contributed by @g-plane.
v0.14.36Compare Source
Revert path metadata validation for now (#2177)
This release reverts the path metadata validation that was introduced in the previous release. This validation has uncovered a potential issue with how esbuild handles
onResolvecallbacks in plugins that will need to be fixed before path metadata validation is re-enabled.v0.14.35Compare Source
Add support for parsing
typeofon #private fields from TypeScript 4.7 (#2174)The upcoming version of TypeScript now lets you use
#privatefields intypeoftype expressions:https://devblogs.microsoft.com/typescript/announcing-typescript-4-7-beta/#typeof-on-private-fields
With this release, esbuild can now parse these new type expressions as well. This feature was contributed by @magic-akari.
Add Opera and IE to internal CSS feature support matrix (#2170)
Version 0.14.18 of esbuild added Opera and IE as available target environments, and added them to the internal JS feature support matrix. CSS feature support was overlooked, however. This release adds knowledge of Opera and IE to esbuild's internal CSS feature support matrix:
The fix for this issue was contributed by @sapphi-red.
Change TypeScript class field behavior when targeting ES2022
TypeScript 4.3 introduced a breaking change where class field behavior changes from assign semantics to define semantics when the
targetsetting intsconfig.jsonis set toESNext. Specifically, the default value for TypeScript'suseDefineForClassFieldssetting when unspecified istrueif and only iftargetisESNext. TypeScript 4.6 introduced another change where this behavior now happens for bothESNextandES2022. Presumably this will be the case forES2023and up as well. With this release, esbuild's behavior has also been changed to match. Now configuring esbuild with--target=es2022will also cause TypeScript files to use the new class field behavior.Validate that path metadata returned by plugins is consistent
The plugin API assumes that all metadata for the same path returned by a plugin's
onResolvecallback is consistent. Previously this assumption was just assumed without any enforcement. Starting with this release, esbuild will now enforce this by generating a build error if this assumption is violated. The lack of validation has not been an issue (I have never heard of this being a problem), but it still seems like a good idea to enforce it. Here's a simple example of a plugin that generates inconsistentsideEffectsmetadata:Since esbuild processes everything in parallel, the set of metadata that ends up being used for a given path is essentially random since it's whatever the task scheduler decides to schedule first. Thus if a plugin does not consistently provide the same metadata for a given path, subsequent builds may return different results. This new validation check prevents this problem.
Here's the new error message that's shown when this happens:
Suggest enabling a missing condition when
exportsmap fails (#2163)This release adds another suggestion to the error message that happens when an
exportsmap lookup fails if the failure could potentially be fixed by adding a missing condition. Here's what the new error message looks like (which now suggests--conditions=moduleas a possible workaround):This particular package had an issue where it was using the Webpack-specific
modulecondition without providing adefaultcondition. It looks like the intent in this case was to use the standardimportcondition instead. This specific change wasn't suggested here because this error message is for package consumers, not package authors.Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.