Bump terser from 5.12.0 to 5.16.1
Created by: dependabot[bot]
Bumps terser from 5.12.0 to 5.16.1.
Changelog
Sourced from terser's changelog.
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
v5.16.0
- Disallow private fields in object bodies (#1011)
- Parse
#privatefield in object
(#1279)- Compress
#privatefield in object
v5.15.1
- Fixed missing parentheses around optional chains
- Avoid bare
let
orconst
as the bodies ofif
statements (#1253)- Small internal fixes (#1271)
- Avoid inlining a class twice and creating two equivalent but
!==
classes.v5.15.0
- Basic support for ES2022 class static initializer blocks.
- Add
AudioWorkletNode
constructor options to domprops list (#1230)- Make identity function inliner not inline
id(...expandedArgs)
v5.14.2
- Security fix for RegExps that should not be evaluated (regexp DDOS)
- Source maps improvements (#1211)
- Performance improvements in long property access evaluation (#1213)
v5.14.1
- keep_numbers option added to TypeScript defs (#1208)
- Fixed parsing of nested template strings (#1204)
v5.14.0
- Switched to
@jridgewell/source-map
for sourcemap generation (#1190, #1181)- Fixed source maps with non-terminated segments (#1106)
- Enabled typescript types to be imported from the package (#1194)
- Extra DOM props have been added (#1191)
- Delete the AST while generating code, as a means to save RAM
v5.13.1
- Removed self-assignments (
varname=varname
) (closes #1081)- Separated inlining code (for inlining things into references, or removing IIFEs)
- Allow multiple identifiers with the same name in
var
destructuring (egvar { a, a } = x
) (#1176)v5.13.0
... (truncated)
Commits
-
b90215a
5.16.1 -
319fe31
update changelog -
d941a11
mark computed properties in for..of initializers as used. Closes #1238 -
635400e
move AST_Scope#drop_unused into its own file -
a192fac
some cleanups -
dcc3030
add shadowed variable test -
4d37f39
traverse exported code while hoisting object properties. Closes #1307 -
1e99e5d
update test -
68461d4
properly detect nested classes. Closes #1313 -
b91e0ce
docs: fix simple typo, concatentation -> concatenation (#1311) - Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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) -
@dependabot use these labels
will set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.