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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 426735cc5e4b03ae1fcbb1c9a896b2df9c8f3c4b1cbe330f4c073d4f106f09a5
4
- data.tar.gz: c03c2becc3d1164366ec0cb1f926d705954169c906998b0bf845124d413a7729
3
+ metadata.gz: d211a87dd33be112768fc89bfd86758631beeb8020c6b4d15fe8c18b75faab58
4
+ data.tar.gz: e10d66acf5e877d1f2a2780bea01903571904b941a494c4509bc74dc85ffcfbc
5
5
  SHA512:
6
- metadata.gz: 0a8a510788318489f41405d716099167e88c01bf4e4598bb75af372e6ea2a163edf9f08964276a21c9af876ded78fbabaf3ad3f0c212aff8b18305f48c818ccc
7
- data.tar.gz: 1edfc61beade1a9fe7399853951833173b4795e98178aa7e191691e5eb14f30c52398dc16e7c87764f23ee3cfb5d2a209a164a0e1484fc20f75a7a6489ac900a
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.11"
3744
- resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.11.tgz#b39ea6229ef607ecd89e2c8df12536891cac9b8d"
3745
- integrity sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==
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
- dependency_objects =
175
- JSON.parse(file.content).
176
- values_at(*NpmAndYarn::FileParser::DEPENDENCY_TYPES).compact
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.3
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-08 00:00:00.000000000 Z
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.3
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.3
26
+ version: 0.111.4
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement