dependabot-npm_and_yarn 0.162.2 → 0.163.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/helpers/package-lock.json +1509 -1356
- data/helpers/package.json +2 -2
- data/lib/dependabot/npm_and_yarn/file_fetcher.rb +2 -2
- metadata +4 -4
data/helpers/package.json
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
12
|
"@dependabot/yarn-lib": "^1.21.1",
|
13
|
-
"@npmcli/arborist": "^
|
13
|
+
"@npmcli/arborist": "^3.0.0",
|
14
14
|
"detect-indent": "^6.1.0",
|
15
15
|
"npm": "6.14.14",
|
16
16
|
"semver": "^7.3.4"
|
@@ -18,7 +18,7 @@
|
|
18
18
|
"devDependencies": {
|
19
19
|
"eslint": "^7.32.0",
|
20
20
|
"eslint-config-prettier": "^8.3.0",
|
21
|
-
"jest": "^27.
|
21
|
+
"jest": "^27.2.4",
|
22
22
|
"prettier": "^2.3.2",
|
23
23
|
"rimraf": "^3.0.2"
|
24
24
|
}
|
@@ -123,7 +123,7 @@ module Dependabot
|
|
123
123
|
filename = path
|
124
124
|
# NPM/Yarn support loading path dependencies from tarballs:
|
125
125
|
# https://docs.npmjs.com/cli/pack.html
|
126
|
-
filename = File.join(filename, "package.json") unless filename.end_with?(".tgz")
|
126
|
+
filename = File.join(filename, "package.json") unless filename.end_with?(".tgz", ".tar")
|
127
127
|
cleaned_name = Pathname.new(filename).cleanpath.to_path
|
128
128
|
next if fetched_files.map(&:name).include?(cleaned_name)
|
129
129
|
|
@@ -132,7 +132,7 @@ module Dependabot
|
|
132
132
|
package_json_files << file
|
133
133
|
rescue Dependabot::DependencyFileNotFound
|
134
134
|
# Unfetchable tarballs should not be re-fetched as a package
|
135
|
-
unfetchable_deps << [name, path] unless path.end_with?(".tgz")
|
135
|
+
unfetchable_deps << [name, path] unless path.end_with?(".tgz", ".tar")
|
136
136
|
end
|
137
137
|
end
|
138
138
|
|
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.163.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-
|
11
|
+
date: 2021-10-07 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.163.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.163.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: byebug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|