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 +4 -4
- data/CHANGELOG.md +7 -0
- data/Rakefile +7 -4
- data/lib/source-map.js +3233 -2
- data/lib/terser/version.rb +1 -1
- data/lib/terser.js +32542 -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: 5a79c3ce462ccc7dbc82fac484b88f9d99d863113d831b46f450846cd0c16153
|
4
|
+
data.tar.gz: 67113e1a30a5260a02ec66269a2a85884681a46377dfb564e13ae767d0b34dfc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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`
|