terser 1.2.1 → 1.2.2
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Rakefile +7 -4
- data/lib/source-map.js +3233 -2
- data/lib/terser/version.rb +1 -1
- data/lib/terser.js +31737 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bca43d3bf8bb49f7715631fee6e8bed265963d81ba61127cf9cf8c7203f950e7
|
4
|
+
data.tar.gz: 54ff1e64ac42e84662e9345c4b657d4adfeffb712f97424afdfb695f6025ac26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
63
|
-
|
64
|
-
|
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`
|