terser 5.15.1 → 5.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## v5.16.1
4
+
5
+ - Properly handle references in destructurings (`const { [reference]: val } = ...`)
6
+ - Allow parsing of `.#privatefield` in nested classes
7
+ - Do not evaluate operations that return large strings if that would make the output code larger
8
+ - Make `collapse_vars` handle block scope correctly
9
+ - Internal improvements: Typos (#1311), more tests, small-scale refactoring
10
+
11
+ ## v5.16.0
12
+
13
+ - Disallow private fields in object bodies (#1011)
14
+ - Parse `#privatefield in object` (#1279)
15
+ - Compress `#privatefield in object`
16
+
3
17
  ## v5.15.1
4
18
 
5
19
  - Fixed missing parentheses around optional chains
package/PATRONS.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Our patrons
2
2
 
3
- These are the first-tier patrons from [Patreon](https://www.patreon.com/fabiosantoscode). My appreciation goes to everyone on this list for supporting the project!
3
+ These are the first-tier patrons from Patreon (notice: **The Terser Patreon is shutting down in favor of opencollective**). My appreciation goes to everyone on this list for supporting the project!
4
4
 
5
5
  * 38elements
6
6
  * Alan Orozco
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  A JavaScript mangler/compressor toolkit for ES6+.
9
9
 
10
- *note*: You can support this project on patreon: <a target="_blank" rel="nofollow" href="https://www.patreon.com/fabiosantoscode"><img src="https://c5.patreon.com/external/logo/become_a_patron_button@2x.png" alt="patron" width="100px" height="auto"></a>. Check out [PATRONS.md](https://github.com/terser/terser/blob/master/PATRONS.md) for our first-tier patrons.
10
+ *note*: <s>You can support this project on patreon: [link]</s> **The Terser Patreon is shutting down in favor of opencollective**. Check out [PATRONS.md](https://github.com/terser/terser/blob/master/PATRONS.md) for our first-tier patrons.
11
11
 
12
12
  Terser recommends you use RollupJS to bundle your modules, as that produces smaller code overall.
13
13
 
@@ -1336,7 +1336,7 @@ If you're not sure how to set an environment variable on your shell (the above e
1336
1336
 
1337
1337
  # README.md Patrons:
1338
1338
 
1339
- *note*: You can support this project on patreon: <a target="_blank" rel="nofollow" href="https://www.patreon.com/fabiosantoscode"><img src="https://c5.patreon.com/external/logo/become_a_patron_button@2x.png" alt="patron" width="100px" height="auto"></a>. Check out [PATRONS.md](https://github.com/terser/terser/blob/master/PATRONS.md) for our first-tier patrons.
1339
+ *note*: <s>You can support this project on patreon: [link]</s> **The Terser Patreon is shutting down in favor of opencollective**. Check out [PATRONS.md](https://github.com/terser/terser/blob/master/PATRONS.md) for our first-tier patrons.
1340
1340
 
1341
1341
  These are the second-tier patrons. Great thanks for your support!
1342
1342