Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump terser from 5.10.0 to 5.16.8 in /website (#1304)
Summary: Bumps [terser](https://github.com/terser/terser) from 5.10.0 to 5.16.8. <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.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) => ...</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> <h2>v5.16.2</h2> <ul> <li>Fix sourcemaps with non-ascii characters (<a href="https://redirect.github.com/terser/terser/issues/1318">#1318</a>)</li> <li>Support string module name and export * as (<a href="https://redirect.github.com/terser/terser/issues/1336">#1336</a>)</li> <li>Do not move <code>let</code> out of <code>for</code> initializers, as it can change scoping</li> <li>Fix a corner case that would generate the invalid syntax <code>if (something) let x</code> ("let" in braceless if body)</li> <li>Knowledge of more native object properties (<a href="https://redirect.github.com/terser/terser/issues/1330">#1330</a>)</li> <li>Got rid of Travis (<a href="https://redirect.github.com/terser/terser/issues/1323">#1323</a>)</li> <li>Added semi-secret <code>asObject</code> sourcemap option to typescript defs (<a href="https://redirect.github.com/terser/terser/issues/1321">#1321</a>)</li> </ul> <h2>v5.16.1</h2> <ul> <li>Properly handle references in destructurings (<code>const { [reference]: val } = ...</code>)</li> <li>Allow parsing of <code>.#privatefield</code> in nested classes</li> <li>Do not evaluate operations that return large strings if that would make the output code larger</li> <li>Make <code>collapse_vars</code> handle block scope correctly</li> <li>Internal improvements: Typos (<a href="https://redirect.github.com/terser/terser/issues/1311">#1311</a>), more tests, small-scale refactoring</li> </ul> <h2>v5.16.0</h2> <ul> <li>Disallow private fields in object bodies (<a href="https://redirect.github.com/terser/terser/issues/1011">https://github.com/facebookresearch/mmf/issues/1011</a>)</li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/terser/terser/commit/b79e49ae13e71e2293eb2b842e0c7a4d1aa12473"><code>b79e49a</code></a> 5.16.8</li> <li><a href="https://github.com/terser/terser/commit/350d534e9300e60ad07c68b69c7716d139aa6e71"><code>350d534</code></a> lint</li> <li><a href="https://github.com/terser/terser/commit/7c5b980206f7e5280ce7cc21ab9d9f4dab84f536"><code>7c5b980</code></a> update changelog</li> <li><a href="https://github.com/terser/terser/commit/e1d7b807284f4f26c4f7fb50c3c98f9aa5e3eb45"><code>e1d7b80</code></a> allow chaining methods into import.meta. Closes <a href="https://redirect.github.com/terser/terser/issues/1358">#1358</a></li> <li><a href="https://github.com/terser/terser/commit/21600d91cf6dd071b45e76922b15975f5dcf879f"><code>21600d9</code></a> close <a href="https://redirect.github.com/terser/terser/issues/1338">#1338</a> where possible (<a href="https://redirect.github.com/terser/terser/issues/1360">#1360</a>)</li> <li><a href="https://github.com/terser/terser/commit/91176951ec005f0b8f9b5498a33b5763dff7d8ab"><code>9117695</code></a> 5.16.6</li> <li><a href="https://github.com/terser/terser/commit/96abde59dde46c520ea56aa20bd360a3c30012f3"><code>96abde5</code></a> update changelog</li> <li><a href="https://github.com/terser/terser/commit/4d6c4f6db38c0de266256bc9834035189fb5a1b3"><code>4d6c4f6</code></a> Fix output increase by walking function definitions first. Closes <a href="https://redirect.github.com/terser/terser/issues/1338">#1338</a> while...</li> <li><a href="https://github.com/terser/terser/commit/8a1b2400af130369cd4a44be526e5e58fb6cd58f"><code>8a1b240</code></a> Parse import.meta as a special expression. Closes <a href="https://redirect.github.com/terser/terser/issues/1349">#1349</a></li> <li><a href="https://github.com/terser/terser/commit/c7d844b4a9dbf50c3471d5dd1115445b2ae5ed7a"><code>c7d844b</code></a> 5.16.5</li> <li>Additional commits viewable in <a href="https://github.com/terser/terser/compare/v5.10.0...v5.16.8">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.10.0&new-version=5.16.8)](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) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/facebookresearch/mmf/network/alerts). </details> Pull Request resolved: #1304 Reviewed By: ebsmothers Differential Revision: D44722109 Pulled By: ankitade fbshipit-source-id: 6c57e965c3bc2511ded48069a4e458fed90da33d
- Loading branch information