chore(deps): update dependency esbuild to v0.14.6 #1218
No reviewers
Labels
No Label
area/internal-code
changes requested
confirmed
dependencies
duplicate
good first issue
help wanted
hosting
invalid
kind/bug
kind/feature
question
wontfix
No Milestone
No project
No Assignees
2 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vikunja/frontend#1218
Loading…
Reference in New Issue
No description provided.
Delete Branch "renovate/esbuild-0.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
0.14.5
->0.14.6
Release Notes
evanw/esbuild
v0.14.6
Compare Source
Fix a minifier bug with BigInt literals
Previously expression simplification optimizations in the minifier incorrectly assumed that numeric operators always return numbers. This used to be true but has no longer been true since the introduction of BigInt literals in ES2020. Now numeric operators can return either a number or a BigInt depending on the arguments. This oversight could potentially have resulted in behavior changes. For example, this code printed
false
before being minified andtrue
after being minified because esbuild shortened===
to==
under the false assumption that both operands were numbers:The type checking logic has been rewritten to take into account BigInt literals in this release, so this incorrect simplification is no longer applied.
Enable removal of certain unused template literals (#1853)
This release contains improvements to the minification of unused template literals containing primitive values:
This can arise when the template literals are nested inside of another function call that was determined to be unnecessary such as an unused call to a function marked with the
/* @​__PURE__ */
pragma.This release also fixes a bug with this transformation where minifying the unused expression
`foo ${bar}`
into"" + bar
changed the meaning of the expression. Template string interpolation always callstoString
while string addition may callvalueOf
instead. This unused expression is now minified to`${bar}`
, which is slightly longer but which avoids the behavior change.Allow
keyof
/readonly
/infer
in TypeScript index signatures (#1859)This release fixes a bug that prevented these keywords from being used as names in index signatures. The following TypeScript code was previously rejected, but is now accepted:
This fix was contributed by @magic-akari.
Avoid warning about
import.meta
if it's replaced (#1868)It's possible to replace the
import.meta
expression using the--define:
feature. Previously doing that still warned that theimport.meta
syntax was not supported when targeting ES5. With this release, there will no longer be a warning in this case.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 Renovate Bot.
Hi renovate!
Thank you for creating a PR!
I've deployed the changes of this PR on a preview environment under this URL: https://1218-renovateesbuild-0.x--vikunja-frontend-preview.netlify.app
You can use this url to view the changes live and test them out.
You will need to manually connect this to an api running somehwere. The easiest to use is https://try.vikunja.io/.
Have a nice day!