deploy-env
deploy-env copied to clipboard
Update dependency terser to ^5.31.6
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
terser (source) | ^5.17.6 -> ^5.31.6 |
Release Notes
terser/terser (terser)
v5.31.6
- Retain side effects in a
case
when the expression is a sequence (comma) expression
v5.31.5
v5.31.4
- drop_unused: drop classes which only have side effects in the
extends
part
v5.31.3
- drop_unused: drop unused parameters from IIFEs in some more situations.
v5.31.2
- drop_unused: scan variables in self-referential class declarations that contain side effects.
- Don't add parens to arrow function when it's the default for an argument (#1540)
- Update domprops (#1538)
v5.31.1
- Allow drop-unused to drop the whole assignment (not just the assigned name) in more situations, in order to avoid duplication of long strings.
v5.31.0
- Sync up property mangler exceptions with current contents of Firefox and Chrome environments
- Add more webcomponent properties to property mangler exceptions (#1525)
- Drop non-nullish constants in
...spreads
in objects (#1141)
v5.30.4
- Fix parsing
#private in ...
when next to other operators
v5.30.3
- Fix precedence of
#private in ...
operator
v5.30.2
- Avoid optimizations inside computed keys, because they can cause js-engine-specific bugs.
v5.30.1
- Removed useless
\
escapes for non-ascii characters - Make modern identifier characters quoted for older environments (#1512)
v5.30.0
- Improve removal of classes referring to themselves
v5.29.2
- Make sure 'computed_props' creates string keys
- Take into account the evaluated size when inlining
v5.29.1
- fix optimisation of all-bits mask check
v5.29.0
- Re-releases previously reverted 5.28.0
- Fix crash while optimizing some bitwise ops
- (internal) Remove needless wrapper for from_moz (#1499)
v5.28.1
(hotfix release)
- Reverts v5.28.0
v5.28.0
- Optimise redundant or shrinkable bitwise operations (
|
,^
,&
,>>
,<<
) - Evaluate some
BigInt
math operations
v5.27.2
- Recognise
this
as a reference to the surrounding class indrop_unused
. Closes #1472
v5.27.1
- Fixed case where
collapse_vars
inlinesawait
expressions into non-async functions.
v5.27.0
- Created
minify_sync()
alternative tominify()
since there's no async code left.
v5.26.0
- Do not take the
/*#__PURE__*/
annotation into account when theside_effects
compress option is off. - The
preserve_annotations
option now automatically opts annotation comments in, instead of requiring thecomments
option to be configured for this. - Refuse to parse empty parenthesized expressions (
()
)
v5.25.0
- Regex properties added to reserved property mangler (#1471)
-
pure_new
option added to drop unusednew
expressions.
v5.24.0
- Improve formatting performance in V8 by keeping a small work string and a large output string
v5.23.0
- When top_retain will keep a variable assignment around, inline the assignee when it's shorter than the name (#1434)
- Remove empty class
static {}
blocks.
v5.22.0
- Do not
unsafe
ly shorten expressions like a?.toString() when they're conditional. - Avoid running drop_unused in nodes that aren't scopes. Fixes a rare crash.
- When 'module' is enabled, assume strict mode when figuring out scopes.
v5.21.0
- Do not inline functions that would be retained in the toplevel (as this would cause code duplication).
- Fix precedence of arrow function and ternary operator when formatting output.
v5.20.0
- Passing
minify()
zero files will now throw a clean exception (#1450) -
drop_console
supports passing in an array ofconsole.*
method names (#1445) - New DOM properties from the WebGPU API have been added for use in the property mangler (#1436)
- Internal code simplification (#1437)
v5.19.4
- Prevent creating very deeply nested ternaries from a long list of
if..return
- Prevent inlining classes into other functions, to avoid constructors being compared.
v5.19.3
- Fix side effect detection of
optional?.chains
. - Add roundRect to domprops.js (#1426)
v5.19.2
- fix performance hit from avoiding HTML comments in the output
v5.19.1
- Better avoid outputting
</script>
and HTML comments. - Fix unused variables in class static blocks not being dropped correctly.
- Fix sourcemap names of methods that are
async
orstatic
v5.19.0
- Allow
/*@​__MANGLE_PROP__*/
annotation inobject.property
, in addition to property declarations.
v5.18.2
- Stop using recursion in hoisted defuns fix.
v5.18.1
- Fix major performance issue caused by hoisted defuns' scopes bugfix.
v5.18.0
- Add new
/*@​__MANGLE_PROP__*/
annotation, to mark properties that should be mangled.
v5.17.7
- Update some dependencies
- Add consistent sorting for
v
RegExp flag - Add
inert
DOM attribute to domprops
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.