dependabot-go_modules 0.341.0 → 0.342.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a9ca492d6b9d56a7be03e19e38be007bc307d7ea23ec4d0a5d88f371029a73da
4
- data.tar.gz: db692934cb7d258f6f2ae10b325840e08877561573ca5603b2fc8c230bb703f6
3
+ metadata.gz: 95c25ad0363342b275ec33ed0560beb5347cef2b4a4709732e476cb7ea49a190
4
+ data.tar.gz: e57c89a6291c5c4f9033909a0996cfc1ce9acf95cbb0a7c3b1db79eac04658dc
5
5
  SHA512:
6
- metadata.gz: cfb88ba08e3122dbdadbf85b188d0360ac3331f2c674793a11305f583d2c9f4b9f8637b36aa7e75f4d340f397543add55a6f662971cfc4748ceedffa59d942e4
7
- data.tar.gz: a3e94ce7e338c7cf6f13c8da2f272f63fb69f8a9923fffde63e947bb4e831f1eebef9a28a2f0e25d81a35aac923a16a5e87120e02a88757cba079984f0c25c2a
6
+ metadata.gz: 95cdb2a24c363f260bc46b729643928b3b25c5ca75538e199356fbd6eef5ebca45b8d0f92c4d848a82de1232920e66460240047c36461be25aecdaf6d1b3e13c
7
+ data.tar.gz: 6805ee20c24842a025ae8e874fe71a3724a7967e1a60eb483bc95f54cf9d3662f566b77183da0a838afd1c3ab04b8ea2b2f0ac632bd97dcc9f7de43bcd1709c0
@@ -72,21 +72,24 @@ module Dependabot
72
72
  )
73
73
  end
74
74
 
75
+ # TODO: Re-instate method once we consider how we are handling `replace` directives
75
76
  sig { returns(T::Hash[String, T.untyped]) }
76
77
  def fetch_package_relationships
77
- T.cast(
78
- file_parser,
79
- Dependabot::GoModules::FileParser
80
- ).run_in_parsed_context("go mod graph").lines.each_with_object({}) do |line, rels|
81
- match = line.match(GO_MOD_GRAPH_LINE_REGEX)
82
- unless match
83
- Dependabot.logger.warn("Unexpected output from 'go mod graph': 'line'")
84
- next
85
- end
86
-
87
- rels[match[:parent]] ||= []
88
- rels[match[:parent]] << match[:child]
89
- end
78
+ {}
79
+
80
+ # T.cast(
81
+ # file_parser,
82
+ # Dependabot::GoModules::FileParser
83
+ # ).run_in_parsed_context("go mod graph").lines.each_with_object({}) do |line, rels|
84
+ # match = line.match(GO_MOD_GRAPH_LINE_REGEX)
85
+ # unless match
86
+ # Dependabot.logger.warn("Unexpected output from 'go mod graph': 'line'")
87
+ # next
88
+ # end
89
+
90
+ # rels[match[:parent]] ||= []
91
+ # rels[match[:parent]] << match[:child]
92
+ # end
90
93
  end
91
94
  end
92
95
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-go_modules
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.341.0
4
+ version: 0.342.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - '='
17
17
  - !ruby/object:Gem::Version
18
- version: 0.341.0
18
+ version: 0.342.1
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - '='
24
24
  - !ruby/object:Gem::Version
25
- version: 0.341.0
25
+ version: 0.342.1
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: debug
28
28
  requirement: !ruby/object:Gem::Requirement
@@ -272,7 +272,7 @@ licenses:
272
272
  - MIT
273
273
  metadata:
274
274
  bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
275
- changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.341.0
275
+ changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.342.1
276
276
  rdoc_options: []
277
277
  require_paths:
278
278
  - lib