esm-bundle / angular__core

ESM and SystemJS bundles for @angular/core
MIT License
5 stars 2 forks source link

Update dependency terser to v5.30.4 #554

Closed renovate[bot] closed 6 months ago

renovate[bot] commented 6 months ago

Mend Renovate

This PR contains the following updates:

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

Release Notes

terser/terser (terser) ### [`v5.30.4`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5304) [Compare Source](https://togithub.com/terser/terser/compare/v5.30.3...v5.30.4) - Fix parsing `#private in ...` when next to other operators ### [`v5.30.3`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5303) [Compare Source](https://togithub.com/terser/terser/compare/v5.30.2...v5.30.3) - Fix precedence of `#private in ...` operator ### [`v5.30.2`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5302) [Compare Source](https://togithub.com/terser/terser/compare/v5.30.1...v5.30.2) - Avoid optimizations inside computed keys, because they can cause js-engine-specific bugs. ### [`v5.30.1`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5301) [Compare Source](https://togithub.com/terser/terser/compare/v5.30.0...v5.30.1) - Removed useless `\` escapes for non-ascii characters - Make modern identifier characters quoted for older environments ([#​1512](https://togithub.com/terser/terser/issues/1512)) ### [`v5.30.0`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5300) [Compare Source](https://togithub.com/terser/terser/compare/v5.29.2...v5.30.0) - Improve removal of classes referring to themselves ### [`v5.29.2`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5292) [Compare Source](https://togithub.com/terser/terser/compare/v5.29.1...v5.29.2) - Make sure 'computed_props' creates string keys - Take into account the evaluated size when inlining ### [`v5.29.1`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5291) [Compare Source](https://togithub.com/terser/terser/compare/v5.29.0...v5.29.1) - fix optimisation of all-bits mask check ### [`v5.29.0`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5290) [Compare Source](https://togithub.com/terser/terser/compare/v5.28.1...v5.29.0) - Re-releases previously reverted 5.28.0 - Fix crash while optimizing some bitwise ops - (internal) Remove needless wrapper for from_moz ([#​1499](https://togithub.com/terser/terser/issues/1499)) ### [`v5.28.1`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5281) [Compare Source](https://togithub.com/terser/terser/compare/v5.28.0...v5.28.1) (hotfix release) - Reverts v5.28.0 ### [`v5.28.0`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5280) [Compare Source](https://togithub.com/terser/terser/compare/v5.27.2...v5.28.0) - Optimise redundant or shrinkable bitwise operations (`|`, `^`, `&`, `>>`, `<<`) - Evaluate some `BigInt` math operations ### [`v5.27.2`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5272) [Compare Source](https://togithub.com/terser/terser/compare/v5.27.1...v5.27.2) - Recognise `this` as a reference to the surrounding class in `drop_unused`. Closes [#​1472](https://togithub.com/terser/terser/issues/1472) ### [`v5.27.1`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5271) [Compare Source](https://togithub.com/terser/terser/compare/v5.27.0...v5.27.1) - Fixed case where `collapse_vars` inlines `await` expressions into non-async functions. ### [`v5.27.0`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5270) [Compare Source](https://togithub.com/terser/terser/compare/v5.26.0...v5.27.0) - Created `minify_sync()` alternative to `minify()` since there's no async code left. ### [`v5.26.0`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5260) [Compare Source](https://togithub.com/terser/terser/compare/v5.25.0...v5.26.0) - 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`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5250) [Compare Source](https://togithub.com/terser/terser/compare/v5.24.0...v5.25.0) - Regex properties added to reserved property mangler ([#​1471](https://togithub.com/terser/terser/issues/1471)) - `pure_new` option added to drop unused `new` expressions. ### [`v5.24.0`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5240) [Compare Source](https://togithub.com/terser/terser/compare/v5.23.0...v5.24.0) - Improve formatting performance in V8 by keeping a small work string and a large output string ### [`v5.23.0`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5230) [Compare Source](https://togithub.com/terser/terser/compare/v5.22.0...v5.23.0) - When top_retain will keep a variable assignment around, inline the assignee when it's shorter than the name ([#​1434](https://togithub.com/terser/terser/issues/1434)) - Remove empty class `static {}` blocks. ### [`v5.22.0`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5220) [Compare Source](https://togithub.com/terser/terser/compare/v5.21.0...v5.22.0) - Do not `unsafe`ly 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`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5210) [Compare Source](https://togithub.com/terser/terser/compare/v5.20.0...v5.21.0) - 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`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5200) [Compare Source](https://togithub.com/terser/terser/compare/v5.19.4...v5.20.0) - Passing `minify()` zero files will now throw a clean exception ([#​1450](https://togithub.com/terser/terser/issues/1450)) - `drop_console` supports passing in an array of `console.*` method names ([#​1445](https://togithub.com/terser/terser/issues/1445)) - New DOM properties from the WebGPU API have been added for use in the property mangler ([#​1436](https://togithub.com/terser/terser/issues/1436)) - Internal code simplification ([#​1437](https://togithub.com/terser/terser/issues/1437)) ### [`v5.19.4`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5194) [Compare Source](https://togithub.com/terser/terser/compare/v5.19.3...v5.19.4) - 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`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5193) [Compare Source](https://togithub.com/terser/terser/compare/v5.19.2...v5.19.3) - Fix side effect detection of `optional?.chains`. - Add roundRect to domprops.js ([#​1426](https://togithub.com/terser/terser/issues/1426)) ### [`v5.19.2`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5192) [Compare Source](https://togithub.com/terser/terser/compare/v5.19.1...v5.19.2) - fix performance hit from avoiding HTML comments in the output ### [`v5.19.1`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5191) [Compare Source](https://togithub.com/terser/terser/compare/v5.19.0...v5.19.1) - Better avoid outputting `` 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`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5190) [Compare Source](https://togithub.com/terser/terser/compare/v5.18.2...v5.19.0) - Allow `/*@​__MANGLE_PROP__*/` annotation in `object.property`, in addition to property declarations. ### [`v5.18.2`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5182) [Compare Source](https://togithub.com/terser/terser/compare/v5.18.1...v5.18.2) - Stop using recursion in hoisted defuns fix. ### [`v5.18.1`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5181) [Compare Source](https://togithub.com/terser/terser/compare/v5.18.0...v5.18.1) - Fix major performance issue caused by hoisted defuns' scopes bugfix. ### [`v5.18.0`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5180) [Compare Source](https://togithub.com/terser/terser/compare/v5.17.7...v5.18.0) - Add new `/*@​__MANGLE_PROP__*/` annotation, to mark properties that should be mangled. ### [`v5.17.7`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5177) [Compare Source](https://togithub.com/terser/terser/compare/v5.17.6...v5.17.7) - Update some dependencies - Add consistent sorting for `v` RegExp flag - Add `inert` DOM attribute to domprops

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 has been generated by Mend Renovate. View repository job log here.