dependabot-npm_and_yarn 0.171.1 → 0.171.2

Sign up to get free protection for your applications and to get access to all the features.
data/helpers/package.json CHANGED
@@ -16,9 +16,9 @@
16
16
  "semver": "^7.3.4"
17
17
  },
18
18
  "devDependencies": {
19
- "eslint": "^8.5.0",
19
+ "eslint": "^8.6.0",
20
20
  "eslint-config-prettier": "^8.3.0",
21
- "jest": "^27.4.5",
21
+ "jest": "^27.4.7",
22
22
  "prettier": "^2.5.1",
23
23
  "rimraf": "^3.0.2"
24
24
  }
@@ -5,7 +5,7 @@ module Dependabot
5
5
  module Helpers
6
6
  def self.npm_version(lockfile_content)
7
7
  return "npm7" unless lockfile_content
8
- return "npm7" if JSON.parse(lockfile_content)["lockfileVersion"] == 2
8
+ return "npm7" if JSON.parse(lockfile_content)["lockfileVersion"] >= 2
9
9
 
10
10
  "npm6"
11
11
  rescue JSON::ParserError
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.171.1
4
+ version: 0.171.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-01-12 00:00:00.000000000 Z
11
+ date: 2022-01-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.171.1
19
+ version: 0.171.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.171.1
26
+ version: 0.171.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: debug
29
29
  requirement: !ruby/object:Gem::Requirement