dependabot-npm_and_yarn 0.180.2 → 0.180.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dependabot/npm_and_yarn/metadata_finder.rb +0 -14
- 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: f594dd39851f07b3f69937b6cf9348a4c847d622a2c471434ff75a675af6a2ac
|
4
|
+
data.tar.gz: 278613dabfc92b77579d12ced0fd207381d065e0c4fb05183f4c8591a0f8044c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50a062f919e5a1cd5f64af8e34ef50a6896c73a976f16f92c816038602416f9fa0ff5a9309c7f5fa9077fc04d9f708f5c59692cf5749cda6e3060444a861b9c7
|
7
|
+
data.tar.gz: 7d763a39ce252fccba60d96f171e4d2b5c746090d9bcb36951f272f018662385597206fe86223e3f7cc96d6e1af8ac42b3a79b89c043bf782168d52e9a98d8e7
|
@@ -122,20 +122,6 @@ module Dependabot
|
|
122
122
|
end
|
123
123
|
|
124
124
|
def get_directory(details)
|
125
|
-
source_from_url = Source.from_url(get_url(details))
|
126
|
-
# Special case Gatsby, which specifies directories in URLs.
|
127
|
-
# This can be removed once this PR is merged:
|
128
|
-
# https://github.com/gatsbyjs/gatsby/pull/11145
|
129
|
-
if source_from_url.repo == "gatsbyjs/gatsby" &&
|
130
|
-
get_url(details).match?(%r{tree\/master\/.})
|
131
|
-
return get_url(details).split("tree/master/").last.split("#").first
|
132
|
-
end
|
133
|
-
|
134
|
-
# Special case DefinitelyTyped, which has predictable URLs.
|
135
|
-
# This can be removed once this PR is merged:
|
136
|
-
# https://github.com/Microsoft/types-publisher/pull/578
|
137
|
-
return dependency.name.gsub(/^@/, "") if source_from_url.repo == "DefinitelyTyped/DefinitelyTyped"
|
138
|
-
|
139
125
|
# Only return a directory if it is explicitly specified
|
140
126
|
return unless details.is_a?(Hash)
|
141
127
|
|
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.180.
|
4
|
+
version: 0.180.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-04-04 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.180.
|
19
|
+
version: 0.180.3
|
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.180.
|
26
|
+
version: 0.180.3
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: debug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|