Created by: dependabot[bot]
Bumps terser from 5.16.0 to 5.16.6.
Changelog
Sourced from terser's changelog.
Changelog
v5.16.7
- Become less conservative with analyzing function definitions for
reduce_vars
- Parse
import.meta
as a real AST node and not anobject.property
v5.16.5
- Correctly handle AST transform functions that mutate children arrays
- Don't mutate the options object passed to Terser (#1342)
- Do not treat BigInt like a number
v5.16.4
- Keep
(defaultArg = undefined) => ...
, because default args don't count for function length- Prevent inlining variables into
?.
optional chains- Avoid removing unused arguments while transforming
- Optimize iterating AST node lists
- Make sure
catch
andfinally
aren't children oftry
in the AST- Use modern unicode property escapes (
\p{...}
) to parse identifiers when availablev5.16.3
- Ensure function definitions, don't assume the values of variables defined after them.
v5.16.2
- Fix sourcemaps with non-ascii characters (#1318)
- Support string module name and export * as (#1336)
- Do not move
let
out offor
initializers, as it can change scoping- Fix a corner case that would generate the invalid syntax
if (something) let x
("let" in braceless if body)- Knowledge of more native object properties (#1330)
- Got rid of Travis (#1323)
- Added semi-secret
asObject
sourcemap option to typescript defs (#1321)v5.16.1
- Properly handle references in destructurings (
const { [reference]: val } = ...
)- Allow parsing of
.#privatefield
in nested classes- Do not evaluate operations that return large strings if that would make the output code larger
- Make
collapse_vars
handle block scope correctly- Internal improvements: Typos (#1311), more tests, small-scale refactoring
Commits
-
9117695
5.16.6 -
96abde5
update changelog -
4d6c4f6
Fix output increase by walking function definitions first. Closes #1338 while... -
8a1b240
Parse import.meta as a special expression. Closes #1349 -
c7d844b
5.16.5 -
4f44754
update changelog -
324c63d
add new test -
fa6f164
don't assume transform functions don't mutate AST arrays. Closes #1351 -
3c9fc4c
Don't mutate options object. Fixes #1341 (#1342) -
e062dc8
Do not mark BigIntis_number
. Closes #1315 - 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 rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will 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 version
will 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 dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)