dependabot-npm_and_yarn 0.150.0 → 0.153.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/helpers/lib/npm6/updater.js +2 -0
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d6492dd20a2925b0352504442a652d6cf2342620ca64175a017707863aa8e3b2
4
- data.tar.gz: 40bfca0ae3eceb36b61e4aabb019bd7128651bc55689641e587ba6d0425fe0ef
3
+ metadata.gz: 4e2777bfb9c1f62ee544293d44f304e5035ca22248cef99844b43d7a39aeacef
4
+ data.tar.gz: 34e23f42bfde5035c268f00c71ba3ae9bad6237aa6ed3389d1a204b0dda031db
5
5
  SHA512:
6
- metadata.gz: d9d7d6848cee726473b32dff01e7e6dcd03f8cf92db1d9626897d9a7a84670baa9fd60d97b412e60190e1a9a5e0c5295b306b783a3e6b0e038b9d955c83ab812
7
- data.tar.gz: 298924701b80216f036329b2e6475141c40ded9f245aa4c0fad22e08eb043127890bac324203f6fcfe1ce36c522b8e8b32b1d111485e7270b971610fa6ee52c1
6
+ metadata.gz: 3bc217b4e1207054ec67a376a878328c91499f010fc0faa90ddae72e0a537cdaf98df1bf0096eb3dbbcdf3e2076363eb58d80e14cfd64f731430df62c447cd54
7
+ data.tar.gz: aee4de95e19f880537816108df9a535d97dcec816db8091f841fa9f8be717e78f9c3951a218b3031191eefd9aaaaea7addbb70f3e5885d054d516790217d420e
@@ -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
  /#.*/,
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.150.0
4
+ version: 0.153.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-14 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.150.0
19
+ version: 0.153.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.150.0
26
+ version: 0.153.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement