terser 1.1.13 → 1.1.14

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: a4be3a40f86fd84248f3ce5e0b94363ad8a18dbc135525e5cac08864e79a27c5
4
- data.tar.gz: 249b09a97ba58ae05beaeb83c4d05f089886e8989296137e1c5f357bd813c227
3
+ metadata.gz: 36893843f570a010d715e42ffd087d835f7a12634c4e06756c844ab07adf5cd2
4
+ data.tar.gz: 407efb0d416931806a7535d17243e60556b666ca3c34a82b116dae40c434f490
5
5
  SHA512:
6
- metadata.gz: 27aecfe0ada02d22f8d3c6a1dec37a4286fd8066e0174b151ff8cae2d9f548798503c2c4a84d344036b6973e9ac25084fb7ff61ae61d467f4a91de9eba8b9c8a
7
- data.tar.gz: 877ddd3fb39816e415fd06eb554cff6d97eae9c0a90c6c51b29b353427adf61dff258ae03de6cf1870a730c21c620ebb638690e726544aade671c540240f7b76
6
+ metadata.gz: a0b52a40ae164b5cc2ae545f5107d433e1c9ee6b17e2b75ff009ccf7aeb462d814cdbea13b564d7c2e4385d5294b632c1f1d3f67e6d8af27048dccbd1a7e10d1
7
+ data.tar.gz: 14eca3bfdf8f84806e3274ef588747b2b7fbe99a0939a506154dbb6202d25a7c8f2ba33ee4fcdd13bb4201246eaf93719cd0e3414c494a2fcc615ac2db72aef4
data/.rubocop.yml CHANGED
@@ -174,8 +174,6 @@ Lint/EmptyClass:
174
174
  Enabled: true
175
175
  Style/NilLambda:
176
176
  Enabled: true
177
- Gemspec/DateAssignment: # (new in 1.10)
178
- Enabled: true
179
177
  Layout/LineEndStringConcatenationIndentation: # (new in 1.18)
180
178
  Enabled: true
181
179
  Layout/SpaceBeforeBrackets: # (new in 1.7)
@@ -220,6 +218,98 @@ Style/RedundantArgument: # (new in 1.4)
220
218
  Enabled: true
221
219
  Style/StringChars: # (new in 1.12)
222
220
  Enabled: true
221
+ Gemspec/DeprecatedAttributeAssignment: # new in 1.30
222
+ Enabled: true
223
+ Gemspec/DevelopmentDependencies: # new in 1.44
224
+ Enabled: true
225
+ Gemspec/RequireMFA: # new in 1.23
226
+ Enabled: true
227
+ Layout/LineContinuationLeadingSpace: # new in 1.31
228
+ Enabled: true
229
+ Layout/LineContinuationSpacing: # new in 1.31
230
+ Enabled: true
231
+ Lint/AmbiguousOperatorPrecedence: # new in 1.21
232
+ Enabled: true
233
+ Lint/AmbiguousRange: # new in 1.19
234
+ Enabled: true
235
+ Lint/ConstantOverwrittenInRescue: # new in 1.31
236
+ Enabled: true
237
+ Lint/DuplicateMagicComment: # new in 1.37
238
+ Enabled: true
239
+ Lint/IncompatibleIoSelectWithFiberScheduler: # new in 1.21
240
+ Enabled: true
241
+ Lint/NonAtomicFileOperation: # new in 1.31
242
+ Enabled: true
243
+ Lint/RefinementImportMethods: # new in 1.27
244
+ Enabled: true
245
+ Lint/RequireRangeParentheses: # new in 1.32
246
+ Enabled: true
247
+ Lint/RequireRelativeSelfPath: # new in 1.22
248
+ Enabled: true
249
+ Lint/UselessRescue: # new in 1.43
250
+ Enabled: true
251
+ Lint/UselessRuby2Keywords: # new in 1.23
252
+ Enabled: true
253
+ Naming/BlockForwarding: # new in 1.24
254
+ Enabled: true
255
+ Security/CompoundHash: # new in 1.28
256
+ Enabled: true
257
+ Security/IoMethods: # new in 1.22
258
+ Enabled: true
259
+ Style/ArrayIntersect: # new in 1.40
260
+ Enabled: true
261
+ Style/ComparableClamp: # new in 1.44
262
+ Enabled: true
263
+ Style/ConcatArrayLiterals: # new in 1.41
264
+ Enabled: true
265
+ Style/EmptyHeredoc: # new in 1.32
266
+ Enabled: true
267
+ Style/EnvHome: # new in 1.29
268
+ Enabled: true
269
+ Style/FetchEnvVar: # new in 1.28
270
+ Enabled: true
271
+ Style/FileRead: # new in 1.24
272
+ Enabled: true
273
+ Style/FileWrite: # new in 1.24
274
+ Enabled: true
275
+ Style/MagicCommentFormat: # new in 1.35
276
+ Enabled: true
277
+ Style/MapCompactWithConditionalBlock: # new in 1.30
278
+ Enabled: true
279
+ Style/MapToHash: # new in 1.24
280
+ Enabled: true
281
+ Style/MapToSet: # new in 1.42
282
+ Enabled: true
283
+ Style/MinMaxComparison: # new in 1.42
284
+ Enabled: true
285
+ Style/NestedFileDirname: # new in 1.26
286
+ Enabled: true
287
+ Style/NumberedParameters: # new in 1.22
288
+ Enabled: true
289
+ Style/NumberedParametersLimit: # new in 1.22
290
+ Enabled: true
291
+ Style/ObjectThen: # new in 1.28
292
+ Enabled: true
293
+ Style/OpenStructUse: # new in 1.23
294
+ Enabled: true
295
+ Style/OperatorMethodCall: # new in 1.37
296
+ Enabled: true
297
+ Style/RedundantConstantBase: # new in 1.40
298
+ Enabled: true
299
+ Style/RedundantDoubleSplatHashBraces: # new in 1.41
300
+ Enabled: true
301
+ Style/RedundantEach: # new in 1.38
302
+ Enabled: true
303
+ Style/RedundantHeredocDelimiterQuotes: # new in 1.45
304
+ Enabled: true
305
+ Style/RedundantInitialize: # new in 1.27
306
+ Enabled: true
307
+ Style/RedundantSelfAssignmentBranch: # new in 1.19
308
+ Enabled: true
309
+ Style/RedundantStringEscape: # new in 1.37
310
+ Enabled: true
311
+ Style/SelectByRegexp: # new in 1.22
312
+ Enabled: true
223
313
 
224
314
  Performance/AncestorsInclude:
225
315
  Enabled: true
@@ -255,3 +345,7 @@ Performance/RedundantEqualityComparisonBlock: # (new in 1.10)
255
345
  Enabled: true
256
346
  Performance/RedundantSplitRegexpArgument: # (new in 1.10)
257
347
  Enabled: true
348
+ Performance/ConcurrentMonotonicTime: # new in 1.12
349
+ Enabled: true
350
+ Performance/StringIdentifierArgument: # new in 1.13
351
+ Enabled: true
data/CHANGELOG.md CHANGED
@@ -1,4 +1,8 @@
1
1
  ## Unreleased
2
+ ## 1.1.14 (24 February 2023)
3
+ - update TerserJS to [5.16.5]
4
+ - update Rubocop
5
+
2
6
  ## 1.1.13 (03 December 2022)
3
7
  - update TerserJS to [5.16.1]
4
8
 
data/Gemfile CHANGED
@@ -4,9 +4,9 @@ source "https://rubygems.org"
4
4
 
5
5
  gemspec
6
6
 
7
- unless RUBY_VERSION < '2.5'
7
+ unless RUBY_VERSION < '2.6'
8
8
  group :development do
9
- gem 'rubocop', '~> 1.18.0'
10
- gem 'rubocop-performance', '~> 1.11.3', :require => false
9
+ gem 'rubocop', '~> 1.46.0'
10
+ gem 'rubocop-performance', '~> 1.16.0', :require => false
11
11
  end
12
12
  end
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'sprockets/digest_utils'
4
- require 'sprockets/source_map_utils' if Gem::Version.new(::Sprockets::VERSION) >= Gem::Version.new('4.x')
4
+ require 'sprockets/source_map_utils' if Gem::Version.new(Sprockets::VERSION) >= Gem::Version.new('4.x')
5
5
 
6
6
  class Terser
7
7
  # A wrapper for Sprockets
@@ -2,5 +2,5 @@
2
2
 
3
3
  class Terser
4
4
  # Current version of Terser.
5
- VERSION = "1.1.13"
5
+ VERSION = "1.1.14"
6
6
  end