[PR #560] [MERGED] Bump terser from 5.13.1 to 5.17.3 #581

Closed
opened 2026-02-26 06:31:30 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/nextcloud/twofactor_gateway/pull/560
Author: @dependabot[bot]
Created: 5/15/2023
Status: Merged
Merged: 5/15/2023
Merged by: @vitormattos

Base: masterHead: dependabot/npm_and_yarn/terser-5.17.3


📝 Commits (1)

  • 7679969 Bump terser from 5.13.1 to 5.17.3

📊 Changes

1 file changed (+61 additions, -107 deletions)

View changed files

📝 package-lock.json (+61 -107)

📄 Description

Bumps terser from 5.13.1 to 5.17.3.

Changelog

Sourced from terser's changelog.

v5.17.3

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

v5.17.2

  • 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

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

v5.17.0

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

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

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

Dependabot will merge this PR once CI passes on it, as requested by @vitormattos.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/nextcloud/twofactor_gateway/pull/560 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 5/15/2023 **Status:** ✅ Merged **Merged:** 5/15/2023 **Merged by:** [@vitormattos](https://github.com/vitormattos) **Base:** `master` ← **Head:** `dependabot/npm_and_yarn/terser-5.17.3` --- ### 📝 Commits (1) - [`7679969`](https://github.com/nextcloud/twofactor_gateway/commit/767996908a25e13d7281cc4e43108d784163571b) Bump terser from 5.13.1 to 5.17.3 ### 📊 Changes **1 file changed** (+61 additions, -107 deletions) <details> <summary>View changed files</summary> 📝 `package-lock.json` (+61 -107) </details> ### 📄 Description Bumps [terser](https://github.com/terser/terser) from 5.13.1 to 5.17.3. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/terser/terser/blob/master/CHANGELOG.md">terser's changelog</a>.</em></p> <blockquote> <h2>v5.17.3</h2> <ul> <li>Fix issue with trimming a static class property's contents accessing the class as <code>this</code>.</li> </ul> <h2>v5.17.2</h2> <ul> <li>Be less conservative when detecting use-before-definition of <code>var</code> in hoisted functions.</li> <li>Support unusual (but perfectly valid) initializers of for-in and for-of loops.</li> <li>Fix issue where hoisted function would be dropped if it was after a <code>continue</code> statement</li> </ul> <h2>v5.17.1</h2> <ul> <li>Fix evaluating <code>.length</code> when the source array might've been mutated</li> </ul> <h2>v5.17.0</h2> <ul> <li>Drop vestigial <code>= undefined</code> default argument in IIFE calls (<a href="https://redirect.github.com/terser/terser/issues/1366">#1366</a>)</li> <li>Evaluate known arrays' <code>.length</code> property when statically determinable</li> <li>Add <code>@__KEY__</code> annotation to mangle string literals (<a href="https://redirect.github.com/terser/terser/issues/1365">#1365</a>)</li> </ul> <h2>v5.16.9</h2> <ul> <li>Fix parentheses in output of optional chains (<code>a?.b</code>) (<a href="https://redirect.github.com/terser/terser/issues/1374">#1374</a>)</li> <li>More documentation on source maps (<a href="https://redirect.github.com/terser/terser/issues/1368">#1368</a>)</li> <li>New <code>lhs_constants</code> option, allowing to stop Terser from swapping comparison operands (<a href="https://redirect.github.com/terser/terser/issues/1361">#1361</a>)</li> </ul> <h2>v5.16.8</h2> <ul> <li>Become even less conservative around function definitions for <code>reduce_vars</code></li> <li>Fix parsing context of <code>import.meta</code> expressions such that method calls are allowed</li> </ul> <h2>v5.16.6</h2> <ul> <li>Become less conservative with analyzing function definitions for <code>reduce_vars</code></li> <li>Parse <code>import.meta</code> as a real AST node and not an <code>object.property</code></li> </ul> <h2>v5.16.5</h2> <ul> <li>Correctly handle AST transform functions that mutate children arrays</li> <li>Don't mutate the options object passed to Terser (<a href="https://redirect.github.com/terser/terser/issues/1342">#1342</a>)</li> <li>Do not treat BigInt like a number</li> </ul> <h2>v5.16.4</h2> <ul> <li>Keep <code>(defaultArg = undefined) =&gt; ...</code>, because default args don't count for function length</li> <li>Prevent inlining variables into <code>?.</code> optional chains</li> <li>Avoid removing unused arguments while transforming</li> <li>Optimize iterating AST node lists</li> <li>Make sure <code>catch</code> and <code>finally</code> aren't children of <code>try</code> in the AST</li> <li>Use modern unicode property escapes (<code>\p{...}</code>) to parse identifiers when available</li> </ul> <h2>v5.16.3</h2> <ul> <li>Ensure function definitions, don't assume the values of variables defined after them.</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/terser/terser/commit/d236265e6f53cd8e643f139b237844c1a615c69f"><code>d236265</code></a> 5.17.3</li> <li><a href="https://github.com/terser/terser/commit/7667aa5578262042a7518712a1d0b5bb7ce1aa26"><code>7667aa5</code></a> update changelog</li> <li><a href="https://github.com/terser/terser/commit/26b70f3c0229c2f9c8351a5446e965c1f2ac9658"><code>26b70f3</code></a> Do not remove static class properties that use <code>this</code>. Closes <a href="https://redirect.github.com/terser/terser/issues/1385">#1385</a></li> <li><a href="https://github.com/terser/terser/commit/474fca53535ec84bcde92730b5d82d96e2181dec"><code>474fca5</code></a> 5.17.2</li> <li><a href="https://github.com/terser/terser/commit/1213257944a9388302ae8c3d80526371c30f8a1a"><code>1213257</code></a> update changelog</li> <li><a href="https://github.com/terser/terser/commit/765c1fe56ec5d2bd2a3abd884aa62b50edd70239"><code>765c1fe</code></a> test <a href="https://redirect.github.com/terser/terser/issues/833">#833</a> fix</li> <li><a href="https://github.com/terser/terser/commit/58e1d6f83068b20e0d85d56d9bda8a7d80436ce0"><code>58e1d6f</code></a> be less conservative about preventing use-before-define in hoisted defuns. Cl...</li> <li><a href="https://github.com/terser/terser/commit/e072c218498ff5bcacab268f8813d5480ba0d288"><code>e072c21</code></a> Do not evaluate the initializers of for-in and for-of. Closes <a href="https://redirect.github.com/terser/terser/issues/1234">#1234</a></li> <li><a href="https://github.com/terser/terser/commit/7093b3028ef4cda97bedb5beaff2edc1eea262e0"><code>7093b30</code></a> Preserve hoisted functions after <code>continue</code>. Closes <a href="https://redirect.github.com/terser/terser/issues/833">#833</a></li> <li><a href="https://github.com/terser/terser/commit/374073bf7250aa1f2fa03fe2b9a32f75c25666ea"><code>374073b</code></a> 5.17.1</li> <li>Additional commits viewable in <a href="https://github.com/terser/terser/compare/v5.13.1...v5.17.3">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=terser&package-manager=npm_and_yarn&previous-version=5.13.1&new-version=5.17.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) Dependabot will merge this PR once CI passes on it, as requested by @vitormattos. [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/nextcloud/twofactor_gateway/network/alerts). </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 06:31:30 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/twofactor_gateway-nextcloud#581
No description provided.