dependabot-npm_and_yarn 0.115.1 → 0.115.2

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: 473f015df19dbdcb6af49586c0611c271a7abd7551e14ce6ff5a6d147cc9cb8f
4
- data.tar.gz: c7b428b508e1e6b91ef4939f8cf9c715935930810058b3c99c94aa0bdafc3281
3
+ metadata.gz: ff6b4408c83df8a32dbcd3eef89b119848062b8e0e15bda74476bbe13a824f9a
4
+ data.tar.gz: e7caa01316e019141d2b62572f3323d62814692b5fdbeff504b52612efd81ca2
5
5
  SHA512:
6
- metadata.gz: 5b0a3e660b2049546332d6a71216f9bdfcf55fbc26c069bd405baf51a0e46e79438e8e49a39a5afb958a9501c3845e61a6f98f73517a0a0bb30bf1ab6b8205d9
7
- data.tar.gz: ce5e82a3c01ec300128188a05d59a94bb321469164491e1344c6877dfd2c664194516d2322e90af28174aff6fc04854c502c454d134da746f7562b0204b770a3
6
+ metadata.gz: 7299735be6bd6b6c8a6566e412e1cf790cb499675d81e7336ba641c3c0480ed27367b578b7408858d1cd1f789372db63d3e8b92393b82f6cca21ce02da065a60
7
+ data.tar.gz: 741799562b51a23943e80f2ac25c5b82c1b2fc74907d9b5ad9c4920a5bf991c01ffc8599047e8b31c1016a2375312a6b047405c5da5eb3dc0b8896b826e355ad
@@ -7,7 +7,6 @@ require "dependabot/npm_and_yarn/file_parser"
7
7
 
8
8
  module Dependabot
9
9
  module NpmAndYarn
10
- # rubocop:disable Metrics/ClassLength
11
10
  class FileFetcher < Dependabot::FileFetchers::Base
12
11
  require_relative "file_fetcher/path_dependency_builder"
13
12
 
@@ -32,7 +31,6 @@ module Dependabot
32
31
 
33
32
  private
34
33
 
35
- # rubocop:disable Metrics/CyclomaticComplexity
36
34
  # rubocop:disable Metrics/PerceivedComplexity
37
35
  def fetch_files
38
36
  fetched_files = []
@@ -49,7 +47,7 @@ module Dependabot
49
47
 
50
48
  fetched_files.uniq
51
49
  end
52
- # rubocop:enable Metrics/CyclomaticComplexity
50
+
53
51
  # rubocop:enable Metrics/PerceivedComplexity
54
52
 
55
53
  def package_json
@@ -373,7 +371,6 @@ module Dependabot
373
371
  raise Dependabot::DependencyFileNotParseable, lerna_json.path
374
372
  end
375
373
  end
376
- # rubocop:enable Metrics/ClassLength
377
374
  end
378
375
  end
379
376
 
@@ -99,7 +99,6 @@ module Dependabot
99
99
  )
100
100
  end
101
101
 
102
- # rubocop:disable Metrics/CyclomaticComplexity
103
102
  # rubocop:disable Metrics/PerceivedComplexity
104
103
  def run_yarn_updater(path:, lockfile_name:,
105
104
  top_level_dependency_updates:)
@@ -131,7 +130,7 @@ module Dependabot
131
130
 
132
131
  sleep(rand(3.0..10.0)) && retry
133
132
  end
134
- # rubocop:enable Metrics/CyclomaticComplexity
133
+
135
134
  # rubocop:enable Metrics/PerceivedComplexity
136
135
 
137
136
  def run_yarn_top_level_updater(top_level_dependency_updates:)
@@ -57,7 +57,6 @@ module Dependabot
57
57
  private
58
58
 
59
59
  # rubocop:disable Metrics/PerceivedComplexity
60
- # rubocop:disable Metrics/CyclomaticComplexity
61
60
  def convert_js_constraint_to_ruby_constraint(req_string)
62
61
  return req_string if req_string.match?(/^([A-Za-uw-z]|v[^\d])/)
63
62
 
@@ -74,7 +73,6 @@ module Dependabot
74
73
  end
75
74
  end
76
75
  # rubocop:enable Metrics/PerceivedComplexity
77
- # rubocop:enable Metrics/CyclomaticComplexity
78
76
 
79
77
  def convert_tilde_req(req_string)
80
78
  version = req_string.gsub(/^~\>?[\s=]*/, "")
@@ -7,8 +7,6 @@ require "dependabot/npm_and_yarn/version"
7
7
  require "dependabot/npm_and_yarn/requirement"
8
8
  require "dependabot/shared_helpers"
9
9
  require "dependabot/errors"
10
-
11
- # rubocop:disable ClassLength
12
10
  module Dependabot
13
11
  module NpmAndYarn
14
12
  class UpdateChecker
@@ -408,4 +406,3 @@ module Dependabot
408
406
  end
409
407
  end
410
408
  end
411
- # rubocop:enable ClassLength
@@ -82,7 +82,6 @@ module Dependabot
82
82
  version_class.new(updated_version)
83
83
  end
84
84
 
85
- # rubocop:disable Metrics/CyclomaticComplexity
86
85
  # rubocop:disable Metrics/PerceivedComplexity
87
86
  def run_yarn_updater(path, lockfile_name)
88
87
  SharedHelpers.with_git_configured(credentials: credentials) do
@@ -107,7 +106,7 @@ module Dependabot
107
106
 
108
107
  sleep(rand(3.0..10.0)) && retry
109
108
  end
110
- # rubocop:enable Metrics/CyclomaticComplexity
109
+
111
110
  # rubocop:enable Metrics/PerceivedComplexity
112
111
 
113
112
  def run_npm_updater(path, lockfile_name)
@@ -77,7 +77,6 @@ module Dependabot
77
77
  resolve_latest_previous_version(dependency, updated_version)
78
78
  end
79
79
 
80
- # rubocop:disable Metrics/MethodLength
81
80
  def dependency_updates_from_full_unlock
82
81
  return if git_dependency?(dependency)
83
82
  if part_of_tightly_locked_monorepo?
@@ -114,7 +113,6 @@ module Dependabot
114
113
  end
115
114
  updates.uniq
116
115
  end
117
- # rubocop:enable Metrics/MethodLength
118
116
 
119
117
  private
120
118
 
@@ -302,7 +300,6 @@ module Dependabot
302
300
  end
303
301
  end
304
302
 
305
- # rubocop:disable Metrics/CyclomaticComplexity
306
303
  # rubocop:disable Metrics/PerceivedComplexity
307
304
  def satisfying_versions
308
305
  latest_version_finder(dependency).
@@ -327,7 +324,7 @@ module Dependabot
327
324
  end.
328
325
  map(&:first)
329
326
  end
330
- # rubocop:enable Metrics/CyclomaticComplexity
327
+
331
328
  # rubocop:enable Metrics/PerceivedComplexity
332
329
 
333
330
  def satisfies_peer_reqs_on_dep?(version)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-npm_and_yarn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.115.1
4
+ version: 0.115.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-19 00:00:00.000000000 Z
11
+ date: 2019-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dependabot-common
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.115.1
19
+ version: 0.115.2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.115.1
26
+ version: 0.115.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement