dependabot-npm_and_yarn 0.151.0 → 0.154.0

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: be70dab9a79c11c763157b90eb4363ba2d75e28f3d901817153e63e6daaf03d4
4
- data.tar.gz: e4e648bcf97ab16af830f68cc6ddc1a7c300cc5193168f66aba24e9bc931c465
3
+ metadata.gz: a8dc80ecadb51d375e600fb460a06d616256756f4798245e6ca90c9c6147c387
4
+ data.tar.gz: 77673d7d28252d98b5daa2cdc724c3523d1ba88498254bac6ae2e98642c847e1
5
5
  SHA512:
6
- metadata.gz: a591eaecc8f82fbaada2520ca35cd2273418e20f73114536fbc3c3dd6e872aec2a152266b4465ed0480b6b5792cd0a0af314d0fad9f13f4e7fbc8d2a1bbdb914
7
- data.tar.gz: 7e6eb612985e1a10dd8bc688768a8db7335fe87fec7e3cd1caf1d9f30961fe3f2990dadf68bc66fffde825863699417c3d36478c1077714e2112a57d73b06fa0
6
+ metadata.gz: 90f6b4fcda2981f28473f6f23a79f49886542b75177c3f3370ec82d273732c2c686ca50a07e70f3dce5c19e067611ac3ed36ab59a8856dc80d925313f39584cf
7
+ data.tar.gz: a05988824f9a01e98a0136208a2868c7c67deea438261778cba52ce4a7928f40bc2c4cbff2e021883b1334fc0664f954d33fd8077c5c83d5d0cd40fb5f2458a3
@@ -137,6 +137,8 @@ function installArgs(
137
137
  // requirement when installing the new version
138
138
  if (existingVersionRequirement.match(desiredVersion)) {
139
139
  return `${depName}@${existingVersionRequirement}`;
140
+ } else if (!existingVersionRequirement.includes("#")) {
141
+ return `${depName}@${existingVersionRequirement}`;
140
142
  } else {
141
143
  return `${depName}@${existingVersionRequirement.replace(
142
144
  /#.*/,
@@ -170,7 +170,7 @@ module Dependabot
170
170
  [{ production: !details["dev"] }]
171
171
  end
172
172
 
173
- dependency_set << Dependency.new(dependency_args)
173
+ dependency_set << Dependency.new(**dependency_args)
174
174
  dependency_set += recursively_fetch_npm_lock_dependencies(details)
175
175
  end
176
176
 
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.151.0
4
+ version: 0.154.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-07 00:00:00.000000000 Z
11
+ date: 2021-06-15 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.151.0
19
+ version: 0.154.0
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.151.0
26
+ version: 0.154.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement