terser 1.2.1 → 1.2.2

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: bca43d3bf8bb49f7715631fee6e8bed265963d81ba61127cf9cf8c7203f950e7
4
+ data.tar.gz: 54ff1e64ac42e84662e9345c4b657d4adfeffb712f97424afdfb695f6025ac26
5
5
  SHA512:
6
- metadata.gz: 7dfbada0548cfefc09cc4db6b8a79a0933d357f19c4af4c440029ea2fea2a7aa0481387ed124c404535114ea1c008c113c66e08a8ed4bcda02c8994fcd48a064
7
- data.tar.gz: 0c097bd10c7a1be90506da12b2185f070dc9741a68ad5121fb1b1de2f417e4a5ef385b1e3419af2c31a1c8fe7788d7fcf4e588696dd9efab5118edb327372fdb
6
+ metadata.gz: 5344a3e28f1b237eb509120c877326f00cf0d48f37a9ab21fa1d986d66ee896e3081956372a4baa537743f5227ddcbc9317cd913bac6fd4a8ceb76d0bf61b99f
7
+ data.tar.gz: 37efa03e22b8f36c7c2a1343a35c5fa1907401b18d4c11755450514aa1ebaece82efd26310300dae652c23e1a2e068195f0c2d1774ba2cc2d7c47785cf34b9ff
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
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.2 (2 April 2024)
5
+ - update TerserJS to [5.30.2]
6
+ - build an unminified version to make security reviews easier
7
+
4
8
  ## 1.2.1 (28 March 2024)
5
9
  - update TerserJS to [5.30.0]
6
10
 
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`