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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8dc80ecadb51d375e600fb460a06d616256756f4798245e6ca90c9c6147c387
|
4
|
+
data.tar.gz: 77673d7d28252d98b5daa2cdc724c3523d1ba88498254bac6ae2e98642c847e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90f6b4fcda2981f28473f6f23a79f49886542b75177c3f3370ec82d273732c2c686ca50a07e70f3dce5c19e067611ac3ed36ab59a8856dc80d925313f39584cf
|
7
|
+
data.tar.gz: a05988824f9a01e98a0136208a2868c7c67deea438261778cba52ce4a7928f40bc2c4cbff2e021883b1334fc0664f954d33fd8077c5c83d5d0cd40fb5f2458a3
|
data/helpers/lib/npm6/updater.js
CHANGED
@@ -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.
|
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-
|
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.
|
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.
|
26
|
+
version: 0.154.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: byebug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|