Skip to content

Bump terser from 5.7.0 to 5.15.1 in /cirq-web/cirq_ts #5936

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

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 31, 2022

Bumps terser from 5.7.0 to 5.15.1.

Changelog

Sourced from terser's changelog.

v5.15.1

  • Fixed missing parentheses around optional chains
  • Avoid bare let or const as the bodies of if statements (#1253)
  • Small internal fixes (#1271)
  • Avoid inlining a class twice and creating two equivalent but !== classes.

v5.15.0

  • Basic support for ES2022 class static initializer blocks.
  • Add AudioWorkletNode constructor options to domprops list (#1230)
  • Make identity function inliner not inline id(...expandedArgs)

v5.14.2

  • Security fix for RegExps that should not be evaluated (regexp DDOS)
  • Source maps improvements (#1211)
  • Performance improvements in long property access evaluation (#1213)

v5.14.1

  • keep_numbers option added to TypeScript defs (#1208)
  • Fixed parsing of nested template strings (#1204)

v5.14.0

  • Switched to @​jridgewell/source-map for sourcemap generation (#1190, #1181)
  • Fixed source maps with non-terminated segments (#1106)
  • Enabled typescript types to be imported from the package (#1194)
  • Extra DOM props have been added (#1191)
  • Delete the AST while generating code, as a means to save RAM

v5.13.1

  • Removed self-assignments (varname=varname) (closes #1081)
  • Separated inlining code (for inlining things into references, or removing IIFEs)
  • Allow multiple identifiers with the same name in var destructuring (eg var { a, a } = x) (#1176)

v5.13.0

  • All calls to eval() were removed (#1171, #1184)
  • source-map was updated to 0.8.0-beta.0 (#1164)
  • NavigatorUAData was added to domprops to avoid property mangling (#1166)

v5.12.1

  • Fixed an issue with function definitions inside blocks (#1155)
  • Fixed parens of new in some situations (closes #1159)

v5.12.0

  • TERSER_DEBUG_DIR environment variable
  • @​copyright comments are now preserved with the comments="some" option (#1153)

... (truncated)

Commits
  • 4255fb3 5.15.1
  • d31c829 update changelog
  • bb2e20f take optional chains into account when locating the left-most item in an expr...
  • 350f965 some cleanups
  • 5fc3925 Update actions/setup-node action to v3 (#1156)
  • be73559 Update actions/upload-artifact action to v3 (#1161)
  • 666f79e chore(deps): update actions/checkout action to v3 (#1158)
  • 3652dce fix: incorrect to_simple_statement (#1253)
  • 34e8262 chore: fixed a couple of typos (#1271)
  • 089e32a avoid a class being inlined twice when identity can be compared. (close #1267)
  • Additional commits viewable in compare view

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 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [terser](https://github.com/terser/terser) from 5.7.0 to 5.15.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](terser/terser@v5.7.0...v5.15.1)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested review from a team, vtomole and cduck as code owners October 31, 2022 20:42
@dependabot dependabot bot added dependencies area/javascript Pull requests that update Javascript code labels Oct 31, 2022
@dependabot dependabot bot requested a review from pavoljuhas October 31, 2022 20:42
@dependabot dependabot bot requested a review from maffoo October 31, 2022 20:42
@CirqBot CirqBot added the size: M 50< lines changed <250 label Oct 31, 2022
Copy link
Collaborator

@vtomole vtomole left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vtomole vtomole added the automerge Tells CirqBot to sync and merge this PR. (If it's running.) label Oct 31, 2022
@CirqBot CirqBot added the front_of_queue_automerge CirqBot uses this label to indicate (and remember) what's being merged next. label Oct 31, 2022
@CirqBot CirqBot merged commit 0cd9e1a into master Oct 31, 2022
@CirqBot CirqBot removed the automerge Tells CirqBot to sync and merge this PR. (If it's running.) label Oct 31, 2022
@CirqBot CirqBot deleted the dependabot/npm_and_yarn/cirq-web/cirq_ts/terser-5.15.1 branch October 31, 2022 22:02
@CirqBot CirqBot removed the front_of_queue_automerge CirqBot uses this label to indicate (and remember) what's being merged next. label Oct 31, 2022
rht pushed a commit to rht/Cirq that referenced this pull request May 1, 2023
Bumps [terser](https://github.com/terser/terser) from 5.7.0 to 5.15.1.
<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.15.1</h2>
<ul>
<li>Fixed missing parentheses around optional chains</li>
<li>Avoid bare <code>let</code> or <code>const</code> as the bodies of <code>if</code> statements (<a href="https://github-redirect.dependabot.com/terser/terser/issues/1253">#1253</a>)</li>
<li>Small internal fixes (<a href="https://github-redirect.dependabot.com/terser/terser/issues/1271">#1271</a>)</li>
<li>Avoid inlining a class twice and creating two equivalent but <code>!==</code> classes.</li>
</ul>
<h2>v5.15.0</h2>
<ul>
<li>Basic support for ES2022 class static initializer blocks.</li>
<li>Add <code>AudioWorkletNode</code> constructor options to domprops list (<a href="https://github-redirect.dependabot.com/terser/terser/issues/1230">#1230</a>)</li>
<li>Make identity function inliner not inline <code>id(...expandedArgs)</code></li>
</ul>
<h2>v5.14.2</h2>
<ul>
<li>Security fix for RegExps that should not be evaluated (regexp DDOS)</li>
<li>Source maps improvements (<a href="https://github-redirect.dependabot.com/terser/terser/issues/1211">#1211</a>)</li>
<li>Performance improvements in long property access evaluation (<a href="https://github-redirect.dependabot.com/terser/terser/issues/1213">#1213</a>)</li>
</ul>
<h2>v5.14.1</h2>
<ul>
<li>keep_numbers option added to TypeScript defs (<a href="https://github-redirect.dependabot.com/terser/terser/issues/1208">#1208</a>)</li>
<li>Fixed parsing of nested template strings (<a href="https://github-redirect.dependabot.com/terser/terser/issues/1204">#1204</a>)</li>
</ul>
<h2>v5.14.0</h2>
<ul>
<li>Switched to <code>@​jridgewell/source-map</code> for sourcemap generation (<a href="https://github-redirect.dependabot.com/terser/terser/issues/1190">#1190</a>, <a href="https://github-redirect.dependabot.com/terser/terser/issues/1181">#1181</a>)</li>
<li>Fixed source maps with non-terminated segments (<a href="https://github-redirect.dependabot.com/terser/terser/issues/1106">#1106</a>)</li>
<li>Enabled typescript types to be imported from the package (<a href="https://github-redirect.dependabot.com/terser/terser/issues/1194">#1194</a>)</li>
<li>Extra DOM props have been added (<a href="https://github-redirect.dependabot.com/terser/terser/issues/1191">#1191</a>)</li>
<li>Delete the AST while generating code, as a means to save RAM</li>
</ul>
<h2>v5.13.1</h2>
<ul>
<li>Removed self-assignments (<code>varname=varname</code>) (closes <a href="https://github-redirect.dependabot.com/terser/terser/issues/1081">#1081</a>)</li>
<li>Separated inlining code (for inlining things into references, or removing IIFEs)</li>
<li>Allow multiple identifiers with the same name in <code>var</code> destructuring (eg <code>var { a, a } = x</code>) (<a href="https://github-redirect.dependabot.com/terser/terser/issues/1176">#1176</a>)</li>
</ul>
<h2>v5.13.0</h2>
<ul>
<li>All calls to eval() were removed (<a href="https://github-redirect.dependabot.com/terser/terser/issues/1171">#1171</a>, <a href="https://github-redirect.dependabot.com/terser/terser/issues/1184">#1184</a>)</li>
<li><code>source-map</code> was updated to 0.8.0-beta.0 (<a href="https://github-redirect.dependabot.com/terser/terser/issues/1164">#1164</a>)</li>
<li>NavigatorUAData was added to domprops to avoid property mangling (<a href="https://github-redirect.dependabot.com/terser/terser/issues/1166">#1166</a>)</li>
</ul>
<h2>v5.12.1</h2>
<ul>
<li>Fixed an issue with function definitions inside blocks (<a href="https://github-redirect.dependabot.com/terser/terser/issues/1155">#1155</a>)</li>
<li>Fixed parens of <code>new</code> in some situations (closes <a href="https://github-redirect.dependabot.com/terser/terser/issues/1159">#1159</a>)</li>
</ul>
<h2>v5.12.0</h2>
<ul>
<li><code>TERSER_DEBUG_DIR</code> environment variable</li>
<li><a href="https://github.com/copyright"><code>@​copyright</code></a> comments are now preserved with the comments=&quot;some&quot; option (<a href="https://github-redirect.dependabot.com/terser/terser/issues/1153">#1153</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/terser/terser/commit/4255fb3063ce1b41a5d5c9c48df443b5df0e797e"><code>4255fb3</code></a> 5.15.1</li>
<li><a href="https://github.com/terser/terser/commit/d31c829a2d744f5be5bdefd4a31879e3251bd486"><code>d31c829</code></a> update changelog</li>
<li><a href="https://github.com/terser/terser/commit/bb2e20fd36cf3f621f85c3e5754b301058b0f9e3"><code>bb2e20f</code></a> take optional chains into account when locating the left-most item in an expr...</li>
<li><a href="https://github.com/terser/terser/commit/350f9650218f1f9a781b73e62a7b3989047b9f02"><code>350f965</code></a> some cleanups</li>
<li><a href="https://github.com/terser/terser/commit/5fc39255207670853fa2bf56b9d74a67a3e49a33"><code>5fc3925</code></a> Update actions/setup-node action to v3 (<a href="https://github-redirect.dependabot.com/terser/terser/issues/1156">#1156</a>)</li>
<li><a href="https://github.com/terser/terser/commit/be73559c715d65588b64e4ed92af0341bc7a357f"><code>be73559</code></a> Update actions/upload-artifact action to v3 (<a href="https://github-redirect.dependabot.com/terser/terser/issues/1161">#1161</a>)</li>
<li><a href="https://github.com/terser/terser/commit/666f79ee9b1cec5d508ad281fb0e89925845432e"><code>666f79e</code></a> chore(deps): update actions/checkout action to v3 (<a href="https://github-redirect.dependabot.com/terser/terser/issues/1158">#1158</a>)</li>
<li><a href="https://github.com/terser/terser/commit/3652dce5d75a4b8443b4287209bb4a88554fc3ee"><code>3652dce</code></a> fix: incorrect <code>to_simple_statement</code> (<a href="https://github-redirect.dependabot.com/terser/terser/issues/1253">#1253</a>)</li>
<li><a href="https://github.com/terser/terser/commit/34e8262b2c26b738c692e5e789a30193ad109d92"><code>34e8262</code></a> chore: fixed a couple of typos (<a href="https://github-redirect.dependabot.com/terser/terser/issues/1271">#1271</a>)</li>
<li><a href="https://github.com/terser/terser/commit/089e32a72ac6a5b0e64272b9e6d64b82ac86d95e"><code>089e32a</code></a> avoid a class being inlined twice when identity can be compared. (close <a href="https://github-redirect.dependabot.com/terser/terser/issues/1267">#1267</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/terser/terser/compare/v5.7.0...v5.15.1">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.7.0&new-version=5.15.1)](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-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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/quantumlib/Cirq/network/alerts).

</details>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dependencies area/javascript Pull requests that update Javascript code size: M 50< lines changed <250
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants