Skip to content

Commit

Permalink
Update dependency terser to v5.36.0 (#2901)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [terser](https://terser.org) ([source](https://redirect.github.com/terser/terser)) | [`5.34.1` -> `5.36.0`](https://renovatebot.com/diffs/npm/terser/5.30.3/5.36.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/terser/5.36.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/terser/5.36.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/terser/5.30.3/5.36.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/terser/5.30.3/5.36.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>terser/terser (terser)</summary>

### [`v5.36.0`](https://redirect.github.com/terser/terser/blob/HEAD/CHANGELOG.md#v5360)

[Compare Source](https://redirect.github.com/terser/terser/compare/v5.35.0...v5.36.0)

-   Support import attributes `with` syntax

### [`v5.35.0`](https://redirect.github.com/terser/terser/blob/HEAD/CHANGELOG.md#v5350)

[Compare Source](https://redirect.github.com/terser/terser/compare/v5.34.1...v5.35.0)

-   Ensure parent directory exists when using --output on CLI ([#&#8203;1530](https://redirect.github.com/terser/terser/issues/1530))

### [`v5.34.1`](https://redirect.github.com/terser/terser/blob/HEAD/CHANGELOG.md#v5341)

[Compare Source](https://redirect.github.com/terser/terser/compare/v5.34.0...v5.34.1)

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

### [`v5.34.0`](https://redirect.github.com/terser/terser/blob/HEAD/CHANGELOG.md#v5340)

[Compare Source](https://redirect.github.com/terser/terser/compare/v5.33.0...v5.34.0)

-   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`](https://redirect.github.com/terser/terser/blob/HEAD/CHANGELOG.md#v5330)

[Compare Source](https://redirect.github.com/terser/terser/compare/v5.32.0...v5.33.0)

-   `reduce_vars` improved when dealing with hoisted function definitions ([#&#8203;1544](https://redirect.github.com/terser/terser/issues/1544))

### [`v5.32.0`](https://redirect.github.com/terser/terser/blob/HEAD/CHANGELOG.md#v5320)

[Compare Source](https://redirect.github.com/terser/terser/compare/v5.31.6...v5.32.0)

-   `import("module")` can now be input and output from ESTree AST ([#&#8203;1557](https://redirect.github.com/terser/terser/issues/1557))
-   `BigInt` literals can now be input and output from ESTree AST ([#&#8203;1555](https://redirect.github.com/terser/terser/issues/1555))
-   `typeof` an object or array (`typeof {}` and `typeof []`) can now be statically evaluated. ([#&#8203;1546](https://redirect.github.com/terser/terser/issues/1546))

### [`v5.31.6`](https://redirect.github.com/terser/terser/blob/HEAD/CHANGELOG.md#v5316)

[Compare Source](https://redirect.github.com/terser/terser/compare/v5.31.5...v5.31.6)

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

### [`v5.31.5`](https://redirect.github.com/terser/terser/blob/HEAD/CHANGELOG.md#v5315)

[Compare Source](https://redirect.github.com/terser/terser/compare/v5.31.4...v5.31.5)

-   Revert v5.31.4, which created mysterious issues [#&#8203;1548](https://redirect.github.com/terser/terser/issues/1548), [#&#8203;1549](https://redirect.github.com/terser/terser/issues/1549)

### [`v5.31.4`](https://redirect.github.com/terser/terser/blob/HEAD/CHANGELOG.md#v5314)

[Compare Source](https://redirect.github.com/terser/terser/compare/v5.31.3...v5.31.4)

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

### [`v5.31.3`](https://redirect.github.com/terser/terser/blob/HEAD/CHANGELOG.md#v5313)

[Compare Source](https://redirect.github.com/terser/terser/compare/v5.31.2...v5.31.3)

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

### [`v5.31.2`](https://redirect.github.com/terser/terser/blob/HEAD/CHANGELOG.md#v5312)

[Compare Source](https://redirect.github.com/terser/terser/compare/v5.31.1...v5.31.2)

-   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 ([#&#8203;1540](https://redirect.github.com/terser/terser/issues/1540))
-   Update domprops ([#&#8203;1538](https://redirect.github.com/terser/terser/issues/1538))

### [`v5.31.1`](https://redirect.github.com/terser/terser/blob/HEAD/CHANGELOG.md#v5311)

[Compare Source](https://redirect.github.com/terser/terser/compare/v5.31.0...v5.31.1)

-   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`](https://redirect.github.com/terser/terser/blob/HEAD/CHANGELOG.md#v5310)

[Compare Source](https://redirect.github.com/terser/terser/compare/v5.30.4...v5.31.0)

-   Sync up property mangler exceptions with current contents of Firefox and Chrome environments
-   Add more webcomponent properties to property mangler exceptions ([#&#8203;1525](https://redirect.github.com/terser/terser/issues/1525))
-   Drop non-nullish constants in `...spreads` in objects ([#&#8203;1141](https://redirect.github.com/terser/terser/issues/1141))

### [`v5.30.4`](https://redirect.github.com/terser/terser/blob/HEAD/CHANGELOG.md#v5304)

[Compare Source](https://redirect.github.com/terser/terser/compare/v5.30.3...v5.30.4)

-   Fix parsing `#private in ...` when next to other operators

</details>

---

### 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](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/X-oss-byte/Nextjs).
  • Loading branch information
renovate[bot] authored Oct 20, 2024
1 parent 4803c11 commit 8c7c7b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@
"strip-ansi": "7.1.0",
"tar": "7.1.0",
"taskr": "1.1.0",
"terser": "5.34.1",
"terser": "5.36.0",
"text-table": "0.2.0",
"timers-browserify": "2.0.12",
"tty-browserify": "0.0.1",
Expand Down

0 comments on commit 8c7c7b2

Please sign in to comment.