terser 1.1.20 → 1.2.0
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/.rubocop.yml +42 -0
- data/CHANGELOG.md +7 -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
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc7ea335ee1b8cf714e03ce07cae9c120bad43ae20b28f0c761930e2f414a5ec
|
4
|
+
data.tar.gz: adeb58507ce7965b330f0c8e65d70034ff5636d7d04477d49ff22818c5eb426c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d924fe98c209cc390555039dfd585b4c2d223fa552b50a2dbcf1f1a7fc69c714cd10e4046d35e7d7a4a096525c229a18cb481c09b7348cd9a99452813c4fbf57
|
7
|
+
data.tar.gz: 683b212501939ed33cb9a3696a22f75239f74baf9368199457e87ea4e3af68b399ceca3c00e67caa633ca3c815345dee3e217c123298a30bac3d1447b16fda38
|
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,11 @@
|
|
1
1
|
## Unreleased
|
2
|
+
## 1.2.0 (22 January 2024)
|
3
|
+
- update TerserJS to [5.27.0]
|
4
|
+
- remove sourcemap patches
|
5
|
+
- `pure_new` option added
|
6
|
+
- EOL rubies are no longer tested
|
7
|
+
- update rubocop
|
8
|
+
|
2
9
|
## 1.1.20 (27 November 2023)
|
3
10
|
- update TerserJS to [5.24.0]
|
4
11
|
- 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