-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dependency terser to v5.37.0 #9
base: master
Are you sure you want to change the base?
Conversation
e64e013
to
6b99e16
Compare
6b99e16
to
c35c1df
Compare
c35c1df
to
3ce9fc3
Compare
3ce9fc3
to
166b16c
Compare
166b16c
to
3aec304
Compare
3aec304
to
7cd5d75
Compare
7cd5d75
to
cc9669a
Compare
👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎ This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. |
cc9669a
to
d4ddaf9
Compare
d4ddaf9
to
b199747
Compare
b199747
to
75d51a4
Compare
75d51a4
to
780b291
Compare
780b291
to
5e1d0ce
Compare
5e1d0ce
to
4a75900
Compare
c342928
to
85aeb29
Compare
Removed dependencies detected. Learn more about Socket for GitHub ↗︎ 🚮 Removed packages: npm/terser@5.10.0 |
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the WalkthroughThe recent updates involve upgrading the Changes
Poem
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
fba0d90
to
3a6eba8
Compare
3a6eba8
to
1d3110e
Compare
1d3110e
to
9b8ec12
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- package.json (1 hunks)
Additional comments not posted (1)
package.json (1)
66-66
: Verify the compatibility of the updatedterser
package version.The
terser
package version has been updated from5.10.0
to5.31.4
. Ensure that the new version does not introduce any breaking changes or issues with the existing codebase.Verification successful
The compatibility of the updated
terser
package version has been verified.The options
-c
,--compress
,-m
,--mangle
, and--source-map
used in the build script are still valid and supported in the latest version ofterser
. Therefore, the update from version5.10.0
to5.31.4
should not introduce any breaking changes related to these options.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the compatibility of the updated `terser` package version. # Test: Run the build script to ensure that the new `terser` version works as expected. # Expect: The build should complete successfully without errors. pnpm run buildLength of output: 88
Script:
#!/bin/bash # Search for any usage of `terser` in the codebase to verify compatibility with the updated version. # Find all JavaScript and TypeScript files that might use `terser`. files=$(fd -e js -e ts) # Search for `terser` usage in the found files. for file in $files; do rg 'terser' "$file" doneLength of output: 408
Script:
#!/bin/bash # Search for any usage of `terser` in common build configuration files to verify compatibility with the updated version. # Find all common build configuration files. config_files=$(fd -e js -e json -e ts -e config) # Search for `terser` usage in the found configuration files. for file in $config_files; do rg 'terser' "$file" doneLength of output: 984
Script:
#!/bin/bash # Check the `terser` documentation for any changes to the options used in the build script. # Fetch the changelog for `terser` versions between 5.10.0 and 5.31.4. curl -s https://raw.githubusercontent.com/terser/terser/master/CHANGELOG.md | awk '/## \[5.31.4\]/,0' | awk '/## \[5.10.0\]/,0' | head -n -1Length of output: 142
Script:
#!/bin/bash # Fetch the `terser` documentation for the options used in the build script. # Fetch the latest `terser` documentation. curl -s https://raw.githubusercontent.com/terser/terser/master/README.md > terser_latest.md # Check for the options `-c`, `-m`, and `--source-map` in the documentation. grep -E '(-c|--compress|-m|--mangle|--source-map)' terser_latest.mdLength of output: 4904
9b8ec12
to
a417f08
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
a417f08
to
879b3a8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
879b3a8
to
de0989c
Compare
de0989c
to
417a7a6
Compare
417a7a6
to
64d86dd
Compare
64d86dd
to
941a644
Compare
941a644
to
f9bab95
Compare
f9bab95
to
b5efbac
Compare
b5efbac
to
cc73b2e
Compare
This PR contains the following updates:
5.10.0
->5.37.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)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.