Skip to content

Commit ad1f6fb

Browse files
Bump terser from 4.4.0 to 4.8.1 (#139)
Summary: Bumps [terser](https://github.com/terser/terser) from 4.4.0 to 4.8.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>v4.8.1 (backport)</h2> <ul> <li>Security fix for RegExps that should not be evaluated (regexp DDOS)</li> </ul> <h2>v4.8.0</h2> <ul> <li>Support for numeric separators (<code>million = 1_000_000</code>) was added.</li> <li>Assigning properties to a class is now assumed to be pure.</li> <li>Fixed bug where <code>yield</code> wasn't considered a valid property key in generators.</li> </ul> <h2>v4.7.0</h2> <ul> <li>A bug was fixed where an arrow function would have the wrong size</li> <li><code>arguments</code> object is now considered safe to retrieve properties from (useful for <code>length</code>, or <code>0</code>) even when <code>pure_getters</code> is not set.</li> <li>Fixed erroneous <code>const</code> declarations without value (which is invalid) in some corner cases when using <code>collapse_vars</code>.</li> </ul> <h2>v4.6.13</h2> <ul> <li>Fixed issue where ES5 object properties were being turned into ES6 object properties due to more lax unicode rules.</li> <li>Fixed parsing of BigInt with lowercase <code>e</code> in them.</li> </ul> <h2>v4.6.12</h2> <ul> <li>Fixed subtree comparison code, making it see that <code>[1,[2, 3]]</code> is different from <code>[1, 2, [3]]</code></li> <li>Printing of unicode identifiers has been improved</li> </ul> <h2>v4.6.11</h2> <ul> <li>Read unused classes' properties and method keys, to figure out if they use other variables.</li> <li>Prevent inlining into block scopes when there are name collisions</li> <li>Functions are no longer inlined into parameter defaults, because they live in their own special scope.</li> <li>When inlining identity functions, take into account the fact they may be used to drop <code>this</code> in function calls.</li> <li>Nullish coalescing operator (<code>x ?? y</code>), plus basic optimization for it.</li> <li>Template literals in binary expressions such as <code>+</code> have been further optimized</li> </ul> <h2>v4.6.10</h2> <ul> <li>Do not use reduce_vars when classes are present</li> </ul> <h2>v4.6.9</h2> <ul> <li>Check if block scopes actually exist in blocks</li> </ul> <h2>v4.6.8</h2> <ul> <li>Take into account &quot;executed bits&quot; of classes like static properties or computed keys, when checking if a class evaluation might throw or have side effects.</li> </ul> <h2>v4.6.7</h2> <ul> <li>Some new performance gains through a <code>AST_Node.size()</code> method which measures a node's source code length without printing it to a string first.</li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/terser/terser/commits">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=4.4.0&new-version=4.8.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/relayjs/relay-devtools/network/alerts). </details> Pull Request resolved: #139 Reviewed By: tyao1 Differential Revision: D38976568 Pulled By: voideanvalue fbshipit-source-id: b79f5777851c765cb510ef701a6ae6a721cc2268
1 parent 23d5bac commit ad1f6fb

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

yarn.lock

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2362,9 +2362,9 @@ buffer-fill@^1.0.0:
23622362
integrity sha1-+PeLdniYiO858gXNY39o5wISKyw=
23632363

23642364
buffer-from@^1.0.0:
2365-
version "1.1.1"
2366-
resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.1.tgz#32713bc028f75c02fdb710d7c7bcec1f2c6070ef"
2367-
integrity sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==
2365+
version "1.1.2"
2366+
resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5"
2367+
integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==
23682368

23692369
buffer-indexof@^1.0.0:
23702370
version "1.1.1"
@@ -9759,9 +9759,9 @@ source-map-support@0.5.13:
97599759
source-map "^0.6.0"
97609760

97619761
source-map-support@^0.5.6, source-map-support@~0.5.12, source-map-support@~0.5.4:
9762-
version "0.5.16"
9763-
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.16.tgz#0ae069e7fe3ba7538c64c98515e35339eac5a042"
9764-
integrity sha512-efyLRJDr68D9hBBNIPWFjhpFzURh+KJykQwvMyW5UiZzYwoF6l4YMMDIJJEyFWxWCqfyxLzz6tSfUFR+kXXsVQ==
9762+
version "0.5.21"
9763+
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f"
9764+
integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==
97659765
dependencies:
97669766
buffer-from "^1.0.0"
97679767
source-map "^0.6.0"
@@ -10258,9 +10258,9 @@ terser-webpack-plugin@^1.4.3:
1025810258
worker-farm "^1.7.0"
1025910259

1026010260
terser@^4.1.2:
10261-
version "4.4.0"
10262-
resolved "https://registry.yarnpkg.com/terser/-/terser-4.4.0.tgz#22c46b4817cf4c9565434bfe6ad47336af259ac3"
10263-
integrity sha512-oDG16n2WKm27JO8h4y/w3iqBGAOSCtq7k8dRmrn4Wf9NouL0b2WpMHGChFGZq4nFAQy1FsNJrVQHfurXOSTmOA==
10261+
version "4.8.1"
10262+
resolved "https://registry.yarnpkg.com/terser/-/terser-4.8.1.tgz#a00e5634562de2239fd404c649051bf6fc21144f"
10263+
integrity sha512-4GnLC0x667eJG0ewJTa6z/yXrbLGv80D9Ru6HIpCQmO+Q4PfEtBFi0ObSckqwL6VyQv/7ENJieXHo2ANmdQwgw==
1026410264
dependencies:
1026510265
commander "^2.20.0"
1026610266
source-map "~0.6.1"

0 commit comments

Comments
 (0)