dependabot-go_modules 0.341.0 → 0.342.2
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/lib/dependabot/go_modules/dependency_grapher.rb +16 -13
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ae73338dd151d5b02a15d4517194d2e267237fec22dc893516d066a9ce627d74
|
|
4
|
+
data.tar.gz: e57c89a6291c5c4f9033909a0996cfc1ce9acf95cbb0a7c3b1db79eac04658dc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dccdb77cc7cabdf66ff74e561567747b05d0c954512b44ba5636a3787fbb5bc22a3a66c5834b18ca2989031a8fbfb38899fd2b217047ba891d64eada40d17486
|
|
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
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
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.
|
|
4
|
+
version: 0.342.2
|
|
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.
|
|
18
|
+
version: 0.342.2
|
|
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.
|
|
25
|
+
version: 0.342.2
|
|
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.
|
|
275
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.342.2
|
|
276
276
|
rdoc_options: []
|
|
277
277
|
require_paths:
|
|
278
278
|
- lib
|