chore(deps): update dependency terser to v5 #2
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:
^4.8.1
->^5.0.0
Release Notes
terser/terser (terser)
v5.37.0
Compare Source
a
and a computed class property["prop"]
v5.36.0
Compare Source
with
syntaxv5.35.0
Compare Source
v5.34.1
Compare Source
v5.34.0
Compare Source
drop_console
: emit an empty function if the return value ofconsole.METHOD(...)
may be called.v5.33.0
Compare Source
reduce_vars
improved when dealing with hoisted function definitions (#1544)v5.32.0
Compare Source
import("module")
can now be input and output from ESTree AST (#1557)BigInt
literals can now be input and output from ESTree AST (#1555)typeof
an object or array (typeof {}
andtypeof []
) can now be statically evaluated. (#1546)v5.31.6
Compare Source
case
when the expression is a sequence (comma) expressionv5.31.5
Compare Source
v5.31.4
Compare Source
extends
partv5.31.3
Compare Source
v5.31.2
Compare Source
v5.31.1
Compare Source
v5.31.0
Compare Source
...spreads
in objects (#1141)v5.30.4
Compare Source
#private in ...
when next to other operatorsv5.30.3
Compare Source
#private in ...
operatorv5.30.2
Compare Source
v5.30.1
Compare Source
\
escapes for non-ascii charactersv5.30.0
Compare Source
v5.29.2
Compare Source
v5.29.1
Compare Source
v5.29.0
Compare Source
v5.28.1
Compare Source
(hotfix release)
v5.28.0
Compare Source
|
,^
,&
,>>
,<<
)BigInt
math operationsv5.27.2
Compare Source
this
as a reference to the surrounding class indrop_unused
. Closes #1472v5.27.1
Compare Source
collapse_vars
inlinesawait
expressions into non-async functions.v5.27.0
Compare Source
minify_sync()
alternative tominify()
since there's no async code left.v5.26.0
Compare Source
/*#__PURE__*/
annotation into account when theside_effects
compress option is off.preserve_annotations
option now automatically opts annotation comments in, instead of requiring thecomments
option to be configured for this.()
)v5.25.0
Compare Source
pure_new
option added to drop unusednew
expressions.v5.24.0
Compare Source
v5.23.0
Compare Source
static {}
blocks.v5.22.0
Compare Source
unsafe
ly shorten expressions like a?.toString() when they're conditional.v5.21.0
Compare Source
v5.20.0
Compare Source
minify()
zero files will now throw a clean exception (#1450)drop_console
supports passing in an array ofconsole.*
method names (#1445)v5.19.4
Compare Source
if..return
v5.19.3
Compare Source
optional?.chains
.v5.19.2
Compare Source
v5.19.1
Compare Source
</script>
and HTML comments.async
orstatic
v5.19.0
Compare Source
/*@​__MANGLE_PROP__*/
annotation inobject.property
, in addition to property declarations.v5.18.2
Compare Source
v5.18.1
Compare Source
v5.18.0
Compare Source
/*@​__MANGLE_PROP__*/
annotation, to mark properties that should be mangled.v5.17.7
Compare Source
v
RegExp flaginert
DOM attribute to dompropsv5.17.6
Compare Source
configurable
andenumerable
, used in Object.defineProperty, added to domprops (#1393)v5.17.5
Compare Source
v5.17.4
Compare Source
!class{}
)yield
/await
and its argumentv5.17.3
Compare Source
this
.v5.17.2
Compare Source
var
in hoisted functions.continue
statementv5.17.1
Compare Source
.length
when the source array might've been mutatedv5.17.0
Compare Source
= undefined
default argument in IIFE calls (#1366).length
property when statically determinable@__KEY__
annotation to mangle string literals (#1365)v5.16.9
Compare Source
a?.b
) (#1374)lhs_constants
option, allowing to stop Terser from swapping comparison operands (#1361)v5.16.8
Compare Source
reduce_vars
import.meta
expressions such that method calls are allowedv5.16.6
Compare Source
reduce_vars
import.meta
as a real AST node and not anobject.property
v5.16.5
Compare Source
v5.16.4
Compare Source
(defaultArg = undefined) => ...
, because default args don't count for function length?.
optional chainscatch
andfinally
aren't children oftry
in the AST\p{...}
) to parse identifiers when availablev5.16.3
Compare Source
v5.16.2
Compare Source
let
out offor
initializers, as it can change scopingif (something) let x
("let" in braceless if body)asObject
sourcemap option to typescript defs (#1321)v5.16.1
Compare Source
const { [reference]: val } = ...
).#privatefield
in nested classescollapse_vars
handle block scope correctlyv5.16.0
Compare Source
#privatefield in object
(#1279)#privatefield in object
v5.15.1
Compare Source
let
orconst
as the bodies ofif
statements (#1253)!==
classes.v5.15.0
Compare Source
AudioWorkletNode
constructor options to domprops list (#1230)id(...expandedArgs)
v5.14.2
Compare Source
v5.14.1
Compare Source
v5.14.0
Compare Source
v5.13.1
Compare Source
varname=varname
) (closes #1081)var
destructuring (egvar { a, a } = x
) (#1176)v5.13.0
Compare Source
source-map
was updated to 0.8.0-beta.0 (#1164)v5.12.1
Compare Source
new
in some situations (closes #1159)v5.12.0
Compare Source
TERSER_DEBUG_DIR
environment variablev5.11.0
Compare Source
\u{abcde}
) are not emitted inside RegExp literals anymore (#1147)v5.10.0
Compare Source
delete optional?.property
get
return someVariable = (async () => { ... })()
(#1073)v5.9.0
Compare Source
{ ...obj }
(#1071)v5.8.0
Compare Source
v5.7.2
Compare Source
global_defs
option (#1036)??
and?.
(#1045)package
no longer require you to disable strict mode to be used as names.in
operator in some for loops (it breaks parsing because of for..in loops)v5.7.1
Compare Source
a?.b = c
){ ...void 0 }
->{}
)v5.7.0
Compare Source
reduce_funcs
to be disabled again.spidermonkey
options to parse and format (#974){get = "default val"}
and{set = "default val"}
in destructuring arguments.export default
of an anonymous class withextends
v5.6.1
Compare Source
.prototype
of a class as pureawait
on the left of**
(while accepting legacy non-parenthesised input)exports
to domprops (#939)...this
v5.6.0
Compare Source
v5.5.1
Compare Source
v5.5.0
Compare Source
v5.4.0
Compare Source
let x = undefined
to justlet x
unsafe
options. Reason: adding strings is not equivalent to template strings, due to valueOf differences.v5.3.8
Compare Source
v5.3.7
Compare Source
Hotfix release, fixes package.json "engines" syntax
v5.3.6
Compare Source
??
mixed with||
and&&
v5.3.5
Compare Source
v5.3.4
Compare Source
hoist_vars
) a destructuring variable declarationv5.3.3
Compare Source
source-map
library has been updated, bringing memory usage and CPU time improvements when reading input source maps (the SourceMapConsumer is now WASM based).wrap_func_args
option now also wraps arrow functions, as opposed to only function expressions.v5.3.2
Compare Source
+
operations.v5.3.1
Compare Source
pure_getters
is enabled has been fixedv5.3.0
Compare Source
v5.2.1
Compare Source
ecma
option, so that all ES code is accepted.foo?.default
)v5.2.0
Compare Source
v5.1.0
Compare Source
import.meta
is now supportedv5.0.0
Compare Source
in
operator now taken into account during property mangle.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.