Created by: dependabot[bot]
Bumps terser from 5.1.0 to 5.3.5.
Changelog
Sourced from terser's changelog.
v5.3.5
- Avoid moving named functions into default exports.
- Enabled transform() for chain expressions. This allows AST transformers to reach inside chain expressions.
v5.3.4
- Fixed a crash when hoisting (with
hoist_vars) a destructuring variable declarationv5.3.3
source-maplibrary has been updated, bringing memory usage and CPU time improvements when reading input source maps (the SourceMapConsumer is now WASM based).- The
wrap_func_argsoption now also wraps arrow functions, as opposed to only function expressions.v5.3.2
- Prevented spread operations from being expanded when the expanded array/object contains getters, setters, or array holes.
- Fixed very slow self-recursion in some cases of removing extraneous parentheses from
+operations.v5.3.1
- An issue with destructuring declarations when
pure_gettersis enabled has been fixed- Fixed a crash when chain expressions need to be shallowly compared
- Made inlining functions more conservative to make sure a function that contains a reference to itself isn't moved into a place that can create multiple instances of itself.
v5.3.0
- Fixed a crash when compressing object spreads in some cases
- Fixed compiletime evaluation of optional chains (caused typeof a?.b to always return "object")
- domprops has been updated to contain every single possible prop
v5.2.1
- The parse step now doesn't accept an
ecmaoption, so that all ES code is accepted.- Optional dotted chains now accept keywords, just like dotted expressions (
foo?.default)v5.2.0
- Optional chaining syntax is now supported.
- Consecutive await expressions don't have unnecessary parens
- Taking the variable name's length (after mangling) into consideration when deciding to inline
Commits
-
c881c785.3.5 -
cbbea0bupdate changelog -
4baf764avoid moving any named lambda into an export. Closes #800 -
ece460denable transformer for chain expressions. Closes #846 -
b681b5b5.3.4 -
1957001update changelog -
a626f5afix crash when hoisting a destructuring -
54c5004Configure Renovate (#843) -
6beaabb5.3.3 -
0e1b4c4update changelog - Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)