dependabot-npm_and_yarn 0.171.5 → 0.173.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: 5604cd35d506a384bd90cbae2a6f7c6771317014a718012a1fe0b5eda3a5ac08
|
4
|
+
data.tar.gz: a8d378b9aca1e288705b1f8bf63b02b6d9b769a3d44b2a07fe606fecbe5aaa05
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d6a26a68fc54063dfc19706a8c1cad3ca90c16895a4d6206e389397bea18abf96f9b2e751298fe36203572d20e45cc0cb8ead51ec74deaac76f57e460d35985
|
7
|
+
data.tar.gz: b3949fa1bd29a56c1ab2541f345d54426284e04cacca7f74dfe29d2f0a1f010db7bb1ea7ef3e8a3880693ec9168ba0641808246129966a740c956291dd8fb419
|
@@ -355,7 +355,7 @@ module Dependabot
|
|
355
355
|
# In this case we want to raise a more helpful error message asking
|
356
356
|
# people to re-generate their lockfiles (Future feature idea: add a
|
357
357
|
# way to click-to-fix the lockfile from the issue)
|
358
|
-
if error_message.include?("Cannot read
|
358
|
+
if error_message.include?("Cannot read properties of undefined (reading 'match')") &&
|
359
359
|
!resolvable_before_update?
|
360
360
|
raise_missing_lockfile_version_resolvability_error(error_message)
|
361
361
|
end
|
@@ -50,10 +50,14 @@ module Dependabot
|
|
50
50
|
# Error message from npm install:
|
51
51
|
# npm ERR! Could not resolve dependency:
|
52
52
|
# npm ERR! peer react@"^16.14.0" from react-dom@16.14.0
|
53
|
+
#
|
54
|
+
# or with two semver constraints:
|
55
|
+
# npm ERR! Could not resolve dependency:
|
56
|
+
# npm ERR! peer @opentelemetry/api@">=1.0.0 <1.1.0" from @opentelemetry/context-async-hooks@1.0.1
|
53
57
|
NPM7_PEER_DEP_ERROR_REGEX =
|
54
58
|
/
|
55
59
|
npm\sERR!\sCould\snot\sresolve\sdependency:\n
|
56
|
-
npm\sERR!\speer\s(?<required_dep>\S+@\S+)\sfrom\s(?<requiring_dep>\S+@\S+)
|
60
|
+
npm\sERR!\speer\s(?<required_dep>\S+@\S+(\s\S+)?)\sfrom\s(?<requiring_dep>\S+@\S+)
|
57
61
|
/x.freeze
|
58
62
|
|
59
63
|
def initialize(dependency:, credentials:, dependency_files:,
|
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.173.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-02-
|
11
|
+
date: 2022-02-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.
|
19
|
+
version: 0.173.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.173.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: debug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|