terser 1.1.14 → 1.1.15

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 36893843f570a010d715e42ffd087d835f7a12634c4e06756c844ab07adf5cd2
4
- data.tar.gz: 407efb0d416931806a7535d17243e60556b666ca3c34a82b116dae40c434f490
3
+ metadata.gz: e669fb4af1f437e4bcf6adf48ee2223039a942e757994c37a22c7418515807be
4
+ data.tar.gz: 7bba4cb3490018df58e45e7f50c1ec0ab4fb4b6ab3c35d188b1bfed04a45c678
5
5
  SHA512:
6
- metadata.gz: a0b52a40ae164b5cc2ae545f5107d433e1c9ee6b17e2b75ff009ccf7aeb462d814cdbea13b564d7c2e4385d5294b632c1f1d3f67e6d8af27048dccbd1a7e10d1
7
- data.tar.gz: 14eca3bfdf8f84806e3274ef588747b2b7fbe99a0939a506154dbb6202d25a7c8f2ba33ee4fcdd13bb4201246eaf93719cd0e3414c494a2fcc615ac2db72aef4
6
+ metadata.gz: b323d67dc5cfb560ffd2d191443b042afb04a372d4f22971d3fa260ecbebecad642338a68598f7f13f951815330d86446d3bd90151abaaf073f75222c4ac904d
7
+ data.tar.gz: d82c6b0a3920ed823f2578ca99b89b07f577149d339962f061d2d891de4cac5272b89d9572047e80784da599d6413911c577800b8f300ae85bed2100b91d79c4
data/CHANGELOG.md CHANGED
@@ -1,4 +1,8 @@
1
1
  ## Unreleased
2
+ ## 1.1.15 (09 May 2023)
3
+ - update TerserJS to [5.17.3]
4
+ - add lhs_constants (default is true)
5
+
2
6
  ## 1.1.14 (24 February 2023)
3
7
  - update TerserJS to [5.16.5]
4
8
  - update Rubocop
data/README.md CHANGED
@@ -130,6 +130,7 @@ Available options and their defaults are
130
130
  :keep_fnames => false, # Do not drop names in function definitions
131
131
  :passes => 1, # Number of times to run compress. Raising the number of passes will increase compress time, but can produce slightly smaller code.
132
132
  :keep_infinity => false, # Prevent compression of Infinity to 1/0
133
+ :lhs_constants => true, # Moves constant values to the left-hand side of binary nodes. `foo == 42 → 42 == foo`
133
134
  :side_effects => true, # Pass false to disable potentially dropping functions marked as "pure" using pure comment annotation. See UglifyJS documentation for details.
134
135
  :switches => true, # de-duplicate and remove unreachable switch branches
135
136
  }, # Apply transformations to code, set to false to skip
@@ -2,5 +2,5 @@
2
2
 
3
3
  class Terser
4
4
  # Current version of Terser.
5
- VERSION = "1.1.14"
5
+ VERSION = "1.1.15"
6
6
  end