terser 1.2.1 → 1.2.3

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: 571fad961cf19e6da1e9788f03cddb8312bdccf28618cf2a1aa8a1c9e1078f22
4
- data.tar.gz: 12318c4acb11eb164adad4dbde6e79e3f8214691d3998be837750d6ce38748fd
3
+ metadata.gz: 5a79c3ce462ccc7dbc82fac484b88f9d99d863113d831b46f450846cd0c16153
4
+ data.tar.gz: 67113e1a30a5260a02ec66269a2a85884681a46377dfb564e13ae767d0b34dfc
5
5
  SHA512:
6
- metadata.gz: 7dfbada0548cfefc09cc4db6b8a79a0933d357f19c4af4c440029ea2fea2a7aa0481387ed124c404535114ea1c008c113c66e08a8ed4bcda02c8994fcd48a064
7
- data.tar.gz: 0c097bd10c7a1be90506da12b2185f070dc9741a68ad5121fb1b1de2f417e4a5ef385b1e3419af2c31a1c8fe7788d7fcf4e588696dd9efab5118edb327372fdb
6
+ metadata.gz: d63da1e879cd56a5b43c5e4e6dc115a7b724cf6ff9a8abf42034154b925996da40858376dfb56cc14630c02f75206eec92c53b636c4069865d64ca283d87a0ce
7
+ data.tar.gz: 2889a964e38a30c94610f5bb807561b085dc5c615058f47d8f445791ca57c61116b3e9e73153263a59c5d84a1616f5c9490d0ec549dd93aea44ac6f82e6629ea
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Behavioural changes in TerserJS are listed [here](https://github.com/terser/terser/blob/master/CHANGELOG.md).
2
2
 
3
3
  ## Unreleased
4
+ ## 1.2.3 (11 June 2024)
5
+ - update TerserJS to [5.31.1]
6
+
7
+ ## 1.2.2 (2 April 2024)
8
+ - update TerserJS to [5.30.2]
9
+ - build an unminified version to make security reviews easier
10
+
4
11
  ## 1.2.1 (28 March 2024)
5
12
  - update TerserJS to [5.30.0]
6
13
 
data/Rakefile CHANGED
@@ -57,11 +57,14 @@ namespace :terser do
57
57
  `npm install --no-package-lock --no-save`
58
58
  end
59
59
 
60
- FileUtils.cp("vendor/source-map/dist/source-map.min.js", "lib/source-map.js")
60
+ # FileUtils.cp("vendor/source-map/dist/source-map.min.js", "lib/source-map.js")
61
61
 
62
- # FileUtils.cp("vendor/terser/dist/bundle.min.js", "lib/terser.js")
63
- minified_source = `node ./vendor/terser/bin/terser vendor/terser/dist/bundle.min.js`
64
- File.write("lib/terser.js", minified_source)
62
+ FileUtils.cp("vendor/source-map/dist/source-map.js", "lib/source-map.js")
63
+
64
+ FileUtils.cp("vendor/terser/dist/bundle.min.js", "lib/terser.js")
65
+
66
+ # minified_source = `node ./vendor/terser/bin/terser vendor/terser/dist/bundle.min.js`
67
+ # File.write("lib/terser.js", minified_source)
65
68
 
66
69
  FileUtils.cp("vendor/split/split.js", "lib/split.js")
67
70
  `patch -p1 -i patches/es5-string-split.patch`