dependabot-npm_and_yarn 0.111.3 → 0.111.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/helpers/yarn.lock +3 -3
- data/lib/dependabot/npm_and_yarn/file_fetcher.rb +8 -3
- 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: d211a87dd33be112768fc89bfd86758631beeb8020c6b4d15fe8c18b75faab58
|
4
|
+
data.tar.gz: e10d66acf5e877d1f2a2780bea01903571904b941a494c4509bc74dc85ffcfbc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1c49c13c7d524de0fb5b2afd1164714757feedceca2e6aca2b50d7b47dd972aff847e5c7e4cb43020b14d00fa1f01338b0bee74af5e52373ed2a07fc92568fe
|
7
|
+
data.tar.gz: e591c6c870167dab07b6c6a34a5f684274247d0e2d2fe9f2e0dc2529b2767e0cc154b9d55228dc950cff8bcc88c52d0605d01848830ef12c12596c1caae8ae0c
|
data/helpers/yarn.lock
CHANGED
@@ -3740,9 +3740,9 @@ lodash.without@~4.4.0:
|
|
3740
3740
|
integrity sha1-PNRXSgC2e643OpS3SHcmQFB7eqw=
|
3741
3741
|
|
3742
3742
|
lodash@^4.17.11, lodash@^4.17.5:
|
3743
|
-
version "4.17.
|
3744
|
-
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.
|
3745
|
-
integrity sha512-
|
3743
|
+
version "4.17.14"
|
3744
|
+
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.14.tgz#9ce487ae66c96254fe20b599f21b6816028078ba"
|
3745
|
+
integrity sha512-mmKYbW3GLuJeX+iGP+Y7Gp1AiGHGbXHCOh/jZmrawMmsE7MS4znI3RL2FsjbqOyMayHInjOeykW7PEajUk1/xw==
|
3746
3746
|
|
3747
3747
|
loose-envify@^1.0.0:
|
3748
3748
|
version "1.4.0"
|
@@ -171,9 +171,14 @@ module Dependabot
|
|
171
171
|
current_dir = nil if current_dir == ""
|
172
172
|
path_dep_starts = %w(file: / ./ ../ ~/ link:.)
|
173
173
|
|
174
|
-
|
175
|
-
|
176
|
-
|
174
|
+
# Fetch yarn "file:" path "resolutions" so that we can resolve the
|
175
|
+
# lockfile. This pattern seems to be used to replace a sub-dependency
|
176
|
+
# with a local mock version.
|
177
|
+
dependency_types = NpmAndYarn::FileParser::DEPENDENCY_TYPES +
|
178
|
+
["resolutions"]
|
179
|
+
dependency_objects = JSON.parse(file.content).
|
180
|
+
values_at(*dependency_types).
|
181
|
+
compact
|
177
182
|
|
178
183
|
unless dependency_objects.all? { |o| o.is_a?(Hash) }
|
179
184
|
raise Dependabot::DependencyFileNotParseable, file.path
|
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.111.
|
4
|
+
version: 0.111.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-07-
|
11
|
+
date: 2019-07-11 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.111.
|
19
|
+
version: 0.111.4
|
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.111.
|
26
|
+
version: 0.111.4
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: byebug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|