terser 1.1.20 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +42 -0
- data/CHANGELOG.md +12 -0
- data/Gemfile +3 -3
- data/Rakefile +0 -2
- data/lib/terser/version.rb +1 -1
- data/lib/terser.js +1 -1
- data/lib/terser.rb +1 -0
- data/lib/terser_wrapper.js +1 -1
- data/terser.gemspec +2 -0
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 571fad961cf19e6da1e9788f03cddb8312bdccf28618cf2a1aa8a1c9e1078f22
|
4
|
+
data.tar.gz: 12318c4acb11eb164adad4dbde6e79e3f8214691d3998be837750d6ce38748fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7dfbada0548cfefc09cc4db6b8a79a0933d357f19c4af4c440029ea2fea2a7aa0481387ed124c404535114ea1c008c113c66e08a8ed4bcda02c8994fcd48a064
|
7
|
+
data.tar.gz: 0c097bd10c7a1be90506da12b2185f070dc9741a68ad5121fb1b1de2f417e4a5ef385b1e3419af2c31a1c8fe7788d7fcf4e588696dd9efab5118edb327372fdb
|
data/.rubocop.yml
CHANGED
@@ -310,6 +310,48 @@ Style/RedundantStringEscape: # new in 1.37
|
|
310
310
|
Enabled: true
|
311
311
|
Style/SelectByRegexp: # new in 1.22
|
312
312
|
Enabled: true
|
313
|
+
Lint/DuplicateMatchPattern: # new in 1.50
|
314
|
+
Enabled: true
|
315
|
+
Lint/ItWithoutArgumentsInBlock: # new in 1.59
|
316
|
+
Enabled: true
|
317
|
+
Lint/LiteralAssignmentInCondition: # new in 1.58
|
318
|
+
Enabled: true
|
319
|
+
Lint/MixedCaseRange: # new in 1.53
|
320
|
+
Enabled: true
|
321
|
+
Lint/RedundantRegexpQuantifiers: # new in 1.53
|
322
|
+
Enabled: true
|
323
|
+
Metrics/CollectionLiteralLength: # new in 1.47
|
324
|
+
Enabled: true
|
325
|
+
Style/DataInheritance: # new in 1.49
|
326
|
+
Enabled: true
|
327
|
+
Style/DirEmpty: # new in 1.48
|
328
|
+
Enabled: true
|
329
|
+
Style/ExactRegexpMatch: # new in 1.51
|
330
|
+
Enabled: true
|
331
|
+
Style/FileEmpty: # new in 1.48
|
332
|
+
Enabled: true
|
333
|
+
Style/RedundantArrayConstructor: # new in 1.52
|
334
|
+
Enabled: true
|
335
|
+
Style/RedundantCurrentDirectoryInPath: # new in 1.53
|
336
|
+
Enabled: true
|
337
|
+
Style/RedundantFilterChain: # new in 1.52
|
338
|
+
Enabled: true
|
339
|
+
Style/RedundantLineContinuation: # new in 1.49
|
340
|
+
Enabled: true
|
341
|
+
Style/RedundantRegexpArgument: # new in 1.53
|
342
|
+
Enabled: true
|
343
|
+
Style/RedundantRegexpConstructor: # new in 1.52
|
344
|
+
Enabled: true
|
345
|
+
Style/ReturnNilInPredicateMethodDefinition: # new in 1.53
|
346
|
+
Enabled: true
|
347
|
+
Style/SingleLineDoEndBlock: # new in 1.57
|
348
|
+
Enabled: true
|
349
|
+
Style/SuperWithArgsParentheses: # new in 1.58
|
350
|
+
Enabled: true
|
351
|
+
Style/YAMLFileRead: # new in 1.53
|
352
|
+
Enabled: true
|
353
|
+
Performance/MapMethodChain: # new in 1.19
|
354
|
+
Enabled: true
|
313
355
|
|
314
356
|
Performance/AncestorsInclude:
|
315
357
|
Enabled: true
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,16 @@
|
|
1
|
+
Behavioural changes in TerserJS are listed [here](https://github.com/terser/terser/blob/master/CHANGELOG.md).
|
2
|
+
|
1
3
|
## Unreleased
|
4
|
+
## 1.2.1 (28 March 2024)
|
5
|
+
- update TerserJS to [5.30.0]
|
6
|
+
|
7
|
+
## 1.2.0 (22 January 2024)
|
8
|
+
- update TerserJS to [5.27.0]
|
9
|
+
- remove sourcemap patches
|
10
|
+
- `pure_new` option added
|
11
|
+
- EOL rubies are no longer tested
|
12
|
+
- update rubocop
|
13
|
+
|
2
14
|
## 1.1.20 (27 November 2023)
|
3
15
|
- update TerserJS to [5.24.0]
|
4
16
|
- fix mangle properties, thanks @khaitu!
|
data/Gemfile
CHANGED
@@ -4,9 +4,9 @@ source "https://rubygems.org"
|
|
4
4
|
|
5
5
|
gemspec
|
6
6
|
|
7
|
-
unless RUBY_VERSION < '2.
|
7
|
+
unless RUBY_VERSION < '2.7'
|
8
8
|
group :development do
|
9
|
-
gem 'rubocop', '~> 1.
|
10
|
-
gem 'rubocop-performance', '~> 1.
|
9
|
+
gem 'rubocop', '~> 1.60.1'
|
10
|
+
gem 'rubocop-performance', '~> 1.20.2', :require => false
|
11
11
|
end
|
12
12
|
end
|
data/Rakefile
CHANGED
data/lib/terser/version.rb
CHANGED