Skip to content
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

chore(deps): update dependency terser to v5.37.0 #43

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 3, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
terser (source) 5.16.1 -> 5.37.0 age adoption passing confidence

Release Notes

terser/terser (terser)

v5.37.0

Compare Source

  • Reserved object properties from chrome extensions (domprops)
  • Fix semicolon insertion between a class property without a semicolon a and a computed class property ["prop"]

v5.36.0

Compare Source

  • Support import attributes with syntax

v5.35.0

Compare Source

  • Ensure parent directory exists when using --output on CLI (#​1530)

v5.34.1

Compare Source

  • bump the rollup devDependency to disable CVE warnings (Terser was not affected)

v5.34.0

Compare Source

  • internal: stop assigning properties to objects they don't belong in
  • internal: run compress tests in parallel
  • drop_console: emit an empty function if the return value of console.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 {} and typeof []) can now be statically evaluated. (#​1546)

v5.31.6

Compare Source

  • Retain side effects in a case when the expression is a sequence (comma) expression

v5.31.5

Compare Source

v5.31.4

Compare Source

  • drop_unused: drop classes which only have side effects in the extends part

v5.31.3

Compare Source

  • drop_unused: drop unused parameters from IIFEs in some more situations.

v5.31.2

Compare Source

  • drop_unused: scan variables in self-referential class declarations that contain side effects.
  • Don't add parens to arrow function when it's the default for an argument (#​1540)
  • Update domprops (#​1538)

v5.31.1

Compare Source

  • Allow drop-unused to drop the whole assignment (not just the assigned name) in more situations, in order to avoid duplication of long strings.

v5.31.0

Compare Source

  • Sync up property mangler exceptions with current contents of Firefox and Chrome environments
  • Add more webcomponent properties to property mangler exceptions (#​1525)
  • Drop non-nullish constants in ...spreads in objects (#​1141)

v5.30.4

Compare Source

  • Fix parsing #private in ... when next to other operators

v5.30.3

Compare Source

  • Fix precedence of #private in ... operator

v5.30.2

Compare Source

  • Avoid optimizations inside computed keys, because they can cause js-engine-specific bugs.

v5.30.1

Compare Source

  • Removed useless \ escapes for non-ascii characters
  • Make modern identifier characters quoted for older environments (#​1512)

v5.30.0

Compare Source

  • Improve removal of classes referring to themselves

v5.29.2

Compare Source

  • Make sure 'computed_props' creates string keys
  • Take into account the evaluated size when inlining

v5.29.1

Compare Source

  • fix optimisation of all-bits mask check

v5.29.0

Compare Source

  • Re-releases previously reverted 5.28.0
  • Fix crash while optimizing some bitwise ops
  • (internal) Remove needless wrapper for from_moz (#​1499)

v5.28.1

Compare Source

(hotfix release)

  • Reverts v5.28.0

v5.28.0

Compare Source

  • Optimise redundant or shrinkable bitwise operations (|, ^, &, >>, <<)
  • Evaluate some BigInt math operations

v5.27.2

Compare Source

  • Recognise this as a reference to the surrounding class in drop_unused. Closes #​1472

v5.27.1

Compare Source

  • Fixed case where collapse_vars inlines await expressions into non-async functions.

v5.27.0

Compare Source

  • Created minify_sync() alternative to minify() since there's no async code left.

v5.26.0

Compare Source

  • Do not take the /*#__PURE__*/ annotation into account when the side_effects compress option is off.
  • The preserve_annotations option now automatically opts annotation comments in, instead of requiring the comments option to be configured for this.
  • Refuse to parse empty parenthesized expressions (())

v5.25.0

Compare Source

  • Regex properties added to reserved property mangler (#​1471)
  • pure_new option added to drop unused new expressions.

v5.24.0

Compare Source

  • Improve formatting performance in V8 by keeping a small work string and a large output string

v5.23.0

Compare Source

  • When top_retain will keep a variable assignment around, inline the assignee when it's shorter than the name (#​1434)
  • Remove empty class static {} blocks.

v5.22.0

Compare Source

  • Do not unsafely shorten expressions like a?.toString() when they're conditional.
  • Avoid running drop_unused in nodes that aren't scopes. Fixes a rare crash.
  • When 'module' is enabled, assume strict mode when figuring out scopes.

v5.21.0

Compare Source

  • Do not inline functions that would be retained in the toplevel (as this would cause code duplication).
  • Fix precedence of arrow function and ternary operator when formatting output.

v5.20.0

Compare Source

  • Passing minify() zero files will now throw a clean exception (#​1450)
  • drop_console supports passing in an array of console.* method names (#​1445)
  • New DOM properties from the WebGPU API have been added for use in the property mangler (#​1436)
  • Internal code simplification (#​1437)

v5.19.4

Compare Source

  • Prevent creating very deeply nested ternaries from a long list of if..return
  • Prevent inlining classes into other functions, to avoid constructors being compared.

v5.19.3

Compare Source

  • Fix side effect detection of optional?.chains.
  • Add roundRect to domprops.js (#​1426)

v5.19.2

Compare Source

  • fix performance hit from avoiding HTML comments in the output

v5.19.1

Compare Source

  • Better avoid outputting </script> and HTML comments.
  • Fix unused variables in class static blocks not being dropped correctly.
  • Fix sourcemap names of methods that are async or static

v5.19.0

Compare Source

  • Allow /*@&#8203;__MANGLE_PROP__*/ annotation in object.property, in addition to property declarations.

v5.18.2

Compare Source

  • Stop using recursion in hoisted defuns fix.

v5.18.1

Compare Source

  • Fix major performance issue caused by hoisted defuns' scopes bugfix.

v5.18.0

Compare Source

  • Add new /*@&#8203;__MANGLE_PROP__*/ annotation, to mark properties that should be mangled.

v5.17.7

Compare Source

  • Update some dependencies
  • Add consistent sorting for v RegExp flag
  • Add inert DOM attribute to domprops

v5.17.6

Compare Source

  • Fixes to mozilla AST input and output, for class properties, private properties and static blocks
  • Fix outputting a shorthand property in quotes when safari10 and ecma=2015 options are enabled
  • configurable and enumerable, used in Object.defineProperty, added to domprops (#​1393)

v5.17.5

Compare Source

  • Take into account the non-deferred bits of a class, such as static properties, while dropping unused code.

v5.17.4

Compare Source

  • Fix crash when trying to negate a class (!class{})
  • Avoid outputting comments between yield/await and its argument
  • Fix detection of left-hand-side of assignment, to avoid optimizing it like any other expression in some edge cases

v5.17.3

Compare Source

  • Fix issue with trimming a static class property's contents accessing the class as this.

v5.17.2

Compare Source

  • Be less conservative when detecting use-before-definition of var in hoisted functions.
  • Support unusual (but perfectly valid) initializers of for-in and for-of loops.
  • Fix issue where hoisted function would be dropped if it was after a continue statement

v5.17.1

Compare Source

  • Fix evaluating .length when the source array might've been mutated

v5.17.0

Compare Source

  • Drop vestigial = undefined default argument in IIFE calls (#​1366)
  • Evaluate known arrays' .length property when statically determinable
  • Add @__KEY__ annotation to mangle string literals (#​1365)

v5.16.9

Compare Source

  • Fix parentheses in output of optional chains (a?.b) (#​1374)
  • More documentation on source maps (#​1368)
  • New lhs_constants option, allowing to stop Terser from swapping comparison operands (#​1361)

v5.16.8

Compare Source

  • Become even less conservative around function definitions for reduce_vars
  • Fix parsing context of import.meta expressions such that method calls are allowed

v5.16.6

Compare Source

  • Become less conservative with analyzing function definitions for reduce_vars
  • Parse import.meta as a real AST node and not an object.property

v5.16.5

Compare Source

  • 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

Compare Source

  • 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 and finally aren't children of try in the AST
  • Use modern unicode property escapes (\p{...}) to parse identifiers when available

v5.16.3

Compare Source

  • Ensure function definitions, don't assume the values of variables defined after them.

v5.16.2

Compare Source

  • Fix sourcemaps with non-ascii characters (#​1318)
  • Support string module name and export * as (#​1336)
  • Do not move let out of for 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)

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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@aws-amplify-eu-central-1
Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-43.d1zaj0z64nqplu.amplifyapp.com

@renovate renovate bot changed the title Update dependency terser to v5.19.2 Update dependency terser to v5.19.3 Aug 29, 2023
@renovate renovate bot force-pushed the renovate/terser-5.x branch from d44f2db to a8d8d23 Compare August 29, 2023 15:45
@renovate renovate bot changed the title Update dependency terser to v5.19.3 Update dependency terser to v5.19.4 Sep 4, 2023
@renovate renovate bot force-pushed the renovate/terser-5.x branch from a8d8d23 to 2e1a631 Compare September 4, 2023 14:59
@renovate renovate bot changed the title Update dependency terser to v5.19.4 Update dependency terser to v5.20.0 Sep 20, 2023
@renovate renovate bot force-pushed the renovate/terser-5.x branch from 2e1a631 to 1155489 Compare September 20, 2023 16:33
@renovate renovate bot force-pushed the renovate/terser-5.x branch from 1155489 to 110cc7f Compare October 3, 2023 12:11
@renovate renovate bot changed the title Update dependency terser to v5.20.0 Update dependency terser to v5.21.0 Oct 3, 2023
@renovate renovate bot changed the title Update dependency terser to v5.21.0 Update dependency terser to v5.22.0 Oct 16, 2023
@renovate renovate bot force-pushed the renovate/terser-5.x branch from 110cc7f to 2908f5d Compare October 16, 2023 14:59
@renovate renovate bot changed the title Update dependency terser to v5.22.0 Update dependency terser to v5.23.0 Oct 30, 2023
@renovate renovate bot force-pushed the renovate/terser-5.x branch from 2908f5d to 660f60f Compare October 30, 2023 13:26
@renovate renovate bot changed the title Update dependency terser to v5.23.0 Update dependency terser to v5.24.0 Oct 31, 2023
@renovate renovate bot force-pushed the renovate/terser-5.x branch from 660f60f to 5208c45 Compare October 31, 2023 14:13
@renovate renovate bot force-pushed the renovate/terser-5.x branch from 5208c45 to 3ca7a93 Compare December 4, 2023 15:40
@renovate renovate bot changed the title Update dependency terser to v5.24.0 Update dependency terser to v5.25.0 Dec 4, 2023
@renovate renovate bot changed the title Update dependency terser to v5.25.0 Update dependency terser to v5.26.0 Dec 7, 2023
@renovate renovate bot force-pushed the renovate/terser-5.x branch from 3ca7a93 to 74405c1 Compare December 7, 2023 17:20
@renovate renovate bot force-pushed the renovate/terser-5.x branch from 74405c1 to 73fa32f Compare January 17, 2024 16:41
@renovate renovate bot changed the title Update dependency terser to v5.26.0 Update dependency terser to v5.27.0 Jan 17, 2024
@renovate renovate bot changed the title Update dependency terser to v5.27.0 Update dependency terser to v5.27.1 Feb 15, 2024
@renovate renovate bot force-pushed the renovate/terser-5.x branch 2 times, most recently from 02b6989 to b1e3abf Compare February 19, 2024 14:15
@renovate renovate bot changed the title Update dependency terser to v5.27.1 Update dependency terser to v5.27.2 Feb 19, 2024
@renovate renovate bot force-pushed the renovate/terser-5.x branch from b1e3abf to cf54ca2 Compare February 23, 2024 12:13
@renovate renovate bot changed the title Update dependency terser to v5.27.2 Update dependency terser to v5.28.0 Feb 23, 2024
@renovate renovate bot force-pushed the renovate/terser-5.x branch from cf54ca2 to 49bac3f Compare February 23, 2024 16:15
@renovate renovate bot changed the title Update dependency terser to v5.28.0 Update dependency terser to v5.28.1 Feb 23, 2024
@renovate renovate bot force-pushed the renovate/terser-5.x branch from 49bac3f to e6192c9 Compare March 6, 2024 13:43
@renovate renovate bot changed the title Update dependency terser to v5.30.4 Update dependency terser to v5.31.0 Apr 29, 2024
@renovate renovate bot force-pushed the renovate/terser-5.x branch from 811de59 to 33cc780 Compare June 4, 2024 14:59
@renovate renovate bot changed the title Update dependency terser to v5.31.0 chore(deps): update dependency terser to v5.31.0 Jun 4, 2024
@renovate renovate bot force-pushed the renovate/terser-5.x branch from 33cc780 to b22cb6d Compare June 6, 2024 16:51
@renovate renovate bot changed the title chore(deps): update dependency terser to v5.31.0 chore(deps): update dependency terser to v5.31.1 Jun 6, 2024
@renovate renovate bot force-pushed the renovate/terser-5.x branch from b22cb6d to 9c46b7e Compare July 10, 2024 13:25
@renovate renovate bot changed the title chore(deps): update dependency terser to v5.31.1 chore(deps): update dependency terser to v5.31.2 Jul 10, 2024
@renovate renovate bot force-pushed the renovate/terser-5.x branch from 9c46b7e to 548f500 Compare July 16, 2024 15:58
@renovate renovate bot changed the title chore(deps): update dependency terser to v5.31.2 chore(deps): update dependency terser to v5.31.3 Jul 16, 2024
@renovate renovate bot force-pushed the renovate/terser-5.x branch from 548f500 to 6cfa617 Compare August 7, 2024 13:11
@renovate renovate bot changed the title chore(deps): update dependency terser to v5.31.3 chore(deps): update dependency terser to v5.31.4 Aug 7, 2024
@renovate renovate bot changed the title chore(deps): update dependency terser to v5.31.4 chore(deps): update dependency terser to v5.31.5 Aug 8, 2024
@renovate renovate bot force-pushed the renovate/terser-5.x branch 2 times, most recently from 9071062 to a0dbf60 Compare August 13, 2024 09:06
@renovate renovate bot changed the title chore(deps): update dependency terser to v5.31.5 chore(deps): update dependency terser to v5.31.6 Aug 13, 2024
@renovate renovate bot force-pushed the renovate/terser-5.x branch from a0dbf60 to 000526c Compare September 9, 2024 11:28
@renovate renovate bot changed the title chore(deps): update dependency terser to v5.31.6 chore(deps): update dependency terser to v5.32.0 Sep 9, 2024
@renovate renovate bot force-pushed the renovate/terser-5.x branch from 000526c to 831a80f Compare September 17, 2024 12:05
@renovate renovate bot changed the title chore(deps): update dependency terser to v5.32.0 chore(deps): update dependency terser to v5.33.0 Sep 17, 2024
@renovate renovate bot force-pushed the renovate/terser-5.x branch from 831a80f to d527718 Compare September 26, 2024 17:19
@renovate renovate bot changed the title chore(deps): update dependency terser to v5.33.0 chore(deps): update dependency terser to v5.34.0 Sep 26, 2024
@renovate renovate bot force-pushed the renovate/terser-5.x branch from d527718 to adceedb Compare September 28, 2024 00:18
@renovate renovate bot changed the title chore(deps): update dependency terser to v5.34.0 chore(deps): update dependency terser to v5.34.1 Sep 28, 2024
@renovate renovate bot force-pushed the renovate/terser-5.x branch from adceedb to 93e9221 Compare October 16, 2024 11:43
@renovate renovate bot changed the title chore(deps): update dependency terser to v5.34.1 chore(deps): update dependency terser to v5.35.0 Oct 16, 2024
@renovate renovate bot force-pushed the renovate/terser-5.x branch from 93e9221 to 11fadb5 Compare October 16, 2024 19:47
@renovate renovate bot changed the title chore(deps): update dependency terser to v5.35.0 chore(deps): update dependency terser to v5.36.0 Oct 16, 2024
@renovate renovate bot force-pushed the renovate/terser-5.x branch from 11fadb5 to e42e138 Compare December 5, 2024 12:45
@renovate renovate bot changed the title chore(deps): update dependency terser to v5.36.0 chore(deps): update dependency terser to v5.37.0 Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants