fix(deps): update dependency esbuild to ^0.13.13 #52
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.13.12
->^0.13.13
Release Notes
evanw/esbuild
v0.13.13
Compare Source
Add more information about skipping
"main"
inpackage.json
(#1754)Configuring
mainFields: []
breaks most npm packages since it tells esbuild to ignore the"main"
field inpackage.json
, which most npm packages use to specify their entry point. This is not a bug with esbuild because esbuild is just doing what it was told to do. However, people may do this without understanding how npm packages work, and then be confused about why it doesn't work. This release now includes additional information in the error message:Fix a tree-shaking bug with
var exports
(#1739)This release fixes a bug where a variable named
var exports = {}
was incorrectly removed by tree-shaking (i.e. dead code elimination). Theexports
variable is a special variable in CommonJS modules that is automatically provided by the CommonJS runtime. CommonJS modules are transformed into something like this before being run:So using
var exports = {}
should have the same effect asexports = {}
because the variableexports
should already be defined. However, esbuild was incorrectly overwriting the definition of theexports
variable with the one provided by CommonJS. This release merges the definitions together so both are included, which fixes the bug.Merge adjacent CSS selector rules with duplicate content (#1755)
With this release, esbuild will now merge adjacent selectors when minifying if they have the same content:
Shorten
top
,right
,bottom
,left
CSS property intoinset
when it is supported (#1758)This release enables collapsing of
inset
related properties:This minification rule is only enabled when
inset
property is supported by the target environment. Make sure to set esbuild'starget
setting correctly when minifying if the code will be running in an older environment (e.g. earlier than Chrome 87).This feature was contributed by @sapphi-red.
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 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.
🔕 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.