dependabot-npm_and_yarn 0.179.0 → 0.180.2

Sign up to get free protection for your applications and to get access to all the features.
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": "^4.2.1",
13
+ "@npmcli/arborist": "^5.0.3",
14
14
  "detect-indent": "^6.1.0",
15
15
  "npm": "6.14.16",
16
16
  "semver": "^7.3.4"
@@ -19,7 +19,7 @@
19
19
  "eslint": "^8.7.0",
20
20
  "eslint-config-prettier": "^8.3.0",
21
21
  "jest": "^27.4.7",
22
- "prettier": "^2.5.1",
22
+ "prettier": "^2.6.0",
23
23
  "rimraf": "^3.0.2"
24
24
  }
25
25
  }
data/helpers/run.js CHANGED
@@ -1,5 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
+ const process = require('process');
4
+
3
5
  function output(obj) {
4
6
  process.stdout.write(JSON.stringify(obj));
5
7
  }
@@ -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", ".tar")
126
+ filename = File.join(filename, "package.json") unless filename.end_with?(".tgz", ".tar", ".tar.gz")
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", ".tar")
135
+ unfetchable_deps << [name, path] unless path.end_with?(".tgz", ".tar", ".tar.gz")
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.179.0
4
+ version: 0.180.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-16 00:00:00.000000000 Z
11
+ date: 2022-03-28 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.179.0
19
+ version: 0.180.2
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.179.0
26
+ version: 0.180.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: debug
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 1.23.0
103
+ version: 1.26.0
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 1.23.0
110
+ version: 1.26.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: simplecov
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -156,14 +156,14 @@ dependencies:
156
156
  requirements:
157
157
  - - '='
158
158
  - !ruby/object:Gem::Version
159
- version: 6.0.0
159
+ version: 6.1.0
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - '='
165
165
  - !ruby/object:Gem::Version
166
- version: 6.0.0
166
+ version: 6.1.0
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: webmock
169
169
  requirement: !ruby/object:Gem::Requirement
@@ -277,12 +277,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
277
277
  requirements:
278
278
  - - ">="
279
279
  - !ruby/object:Gem::Version
280
- version: 2.5.0
280
+ version: 2.7.0
281
281
  required_rubygems_version: !ruby/object:Gem::Requirement
282
282
  requirements:
283
283
  - - ">="
284
284
  - !ruby/object:Gem::Version
285
- version: 2.5.0
285
+ version: 2.7.0
286
286
  requirements: []
287
287
  rubygems_version: 3.2.32
288
288
  signing_key: