secupdater 0.8.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.release-please-manifest.json +1 -1
- data/CHANGELOG.md +16 -0
- data/examples/central-project/.gitlab-ci.yml +87 -33
- data/lib/secupdater/cli.rb +1 -1
- data/lib/secupdater/ecosystem/rubygems.rb +7 -0
- data/lib/secupdater/ecosystem.rb +34 -4
- data/lib/secupdater/executor.rb +10 -8
- data/lib/secupdater/publisher/gitlab.rb +29 -11
- data/lib/secupdater/publisher.rb +7 -8
- data/lib/secupdater/update.rb +3 -5
- data/lib/secupdater/version.rb +1 -1
- data/lib/secupdater/yarn_support/audit.rb +86 -0
- data/lib/secupdater/yarn_support/lockfile.rb +79 -0
- data/lib/secupdater/yarn_support/package_name.rb +14 -0
- data/lib/secupdater/yarn_support/range.rb +152 -0
- data/lib/secupdater/yarn_support/version.rb +65 -0
- data/lib/secupdater.rb +4 -2
- data/spec/fixtures/yarn/audit.ndjson +9 -0
- data/spec/fixtures/yarn/protocols.yarn.lock +99 -0
- data/spec/fixtures/yarn/yarn.lock +265 -0
- data/spec/fixtures/yarn/yarn1.lock +8 -0
- data/spec/secupdater/cli_spec.rb +11 -0
- data/spec/secupdater/ecosystem/rubygems_spec.rb +40 -0
- data/spec/secupdater/ecosystem_spec.rb +71 -0
- data/spec/secupdater/executor_spec.rb +23 -5
- data/spec/secupdater/publisher/gitlab_spec.rb +85 -14
- data/spec/secupdater/update_spec.rb +22 -9
- data/spec/secupdater/yarn_support/audit_spec.rb +144 -0
- data/spec/secupdater/yarn_support/lockfile_spec.rb +171 -0
- data/spec/secupdater/yarn_support/package_name_spec.rb +40 -0
- data/spec/secupdater/yarn_support/range_spec.rb +158 -0
- data/spec/secupdater/yarn_support/version_spec.rb +61 -0
- data/spec/secupdater_spec.rb +9 -0
- metadata +15 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
module Secupdater
|
|
2
|
+
module YarnSupport
|
|
3
|
+
# npm package names, optionally scoped. These end up in `yarn up` arguments and git branch names,
|
|
4
|
+
# so the first character can't be `-` (an option), `.` or `_`, and `..` (invalid in git refs) is out.
|
|
5
|
+
# Uppercase is allowed because legacy packages like JSONStream still use it.
|
|
6
|
+
NAME_PATTERN = %r{\A(?!.*\.\.)(?=.{1,214}\z)(?:@[A-Za-z0-9][A-Za-z0-9._-]*/)?[A-Za-z0-9][A-Za-z0-9._-]*\z}
|
|
7
|
+
|
|
8
|
+
def self.check_name!(name)
|
|
9
|
+
raise Secupdater::Error, "invalid npm package name #{name.inspect}" unless name.is_a?(String) && NAME_PATTERN.match?(name)
|
|
10
|
+
|
|
11
|
+
name
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
require_relative "version"
|
|
2
|
+
|
|
3
|
+
module Secupdater
|
|
4
|
+
module YarnSupport
|
|
5
|
+
# An npm version range in node-semver syntax, e.g. "<0.2.4 || >=1.0.0 <1.2.6".
|
|
6
|
+
#
|
|
7
|
+
# Ranges come from advisories and decide whether a locked version is vulnerable, so this errs towards
|
|
8
|
+
# "yes": a range it can't read raises rather than guessing, and prereleases count as inside a range when
|
|
9
|
+
# they're numerically inside it (node-semver's includePrerelease). Without that, node-semver leaves
|
|
10
|
+
# 1.2.6-rc.1 out of "<1.2.6" and we'd call a vulnerable prerelease safe.
|
|
11
|
+
#
|
|
12
|
+
# Desugaring follows node-semver 7's classes/range.js with includePrerelease on, so bounds gain the
|
|
13
|
+
# same "-0" suffixes it adds.
|
|
14
|
+
class Range
|
|
15
|
+
XR = /0|[1-9]\d*|[xX*]/
|
|
16
|
+
PARTIAL = /v?(?<major>#{XR})(?:\.(?<minor>#{XR})(?:\.(?<patch>#{XR})(?:-(?<pre>#{Version::PRERELEASE}))?(?:\+#{Version::BUILD})?)?)?/
|
|
17
|
+
COMPARATOR = /\A(?<op><=|>=|<|>|=|~>?|\^)?#{PARTIAL}\z/
|
|
18
|
+
HYPHEN = /\A(\S+)\s+-\s+(\S+)\z/
|
|
19
|
+
NOTHING = [[:<, Version.new(0, 0, 0, "0")]].freeze
|
|
20
|
+
|
|
21
|
+
def initialize(string)
|
|
22
|
+
raise Secupdater::Error, "invalid npm version range #{string.inspect}" unless string.is_a?(String)
|
|
23
|
+
|
|
24
|
+
@string = string
|
|
25
|
+
alternatives = string.split(/\s*\|\|\s*/, -1)
|
|
26
|
+
alternatives = [""] if alternatives.empty?
|
|
27
|
+
# Each set is a list of [operator, Version] that must all hold; any set matching is enough
|
|
28
|
+
@sets = alternatives.map { comparator_set(it.strip) }
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
def include?(version)
|
|
32
|
+
version = Version.parse(version) unless version.is_a?(Version)
|
|
33
|
+
|
|
34
|
+
@sets.any? { |set| set.all? { |op, bound| version.public_send(op, bound) } }
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
def to_s = @string
|
|
38
|
+
|
|
39
|
+
def inspect = "#<#{self.class.name} #{@string.inspect}>"
|
|
40
|
+
|
|
41
|
+
private
|
|
42
|
+
|
|
43
|
+
def comparator_set(text)
|
|
44
|
+
return [] if text.empty?
|
|
45
|
+
|
|
46
|
+
if (hyphen = HYPHEN.match(text))
|
|
47
|
+
return hyphen_range(partial(hyphen[1]), partial(hyphen[2]))
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# node-semver allows space between an operator and its version
|
|
51
|
+
text.gsub(/(<=|>=|<|>|=|~>?|\^)\s+/, '\1').split.flat_map do |token|
|
|
52
|
+
match = COMPARATOR.match(token) or invalid!
|
|
53
|
+
parts = parts(match)
|
|
54
|
+
|
|
55
|
+
case match[:op]
|
|
56
|
+
when "^" then caret(*parts)
|
|
57
|
+
when "~", "~>" then tilde(*parts)
|
|
58
|
+
else x_range(match[:op], *parts)
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
def partial(text)
|
|
64
|
+
match = /\A#{PARTIAL}\z/.match(text) or invalid!
|
|
65
|
+
parts(match)
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
# [major, minor, patch, prerelease], with nil for wildcards and everything after a wildcard
|
|
69
|
+
def parts(match)
|
|
70
|
+
numbers = [match[:major], match[:minor], match[:patch]].map { it&.match?(/\A\d+\z/) ? it.to_i : nil }
|
|
71
|
+
numbers = numbers.each_with_index.map { |n, i| numbers[0..i].include?(nil) ? nil : n }
|
|
72
|
+
[*numbers, numbers[2] && match[:pre]]
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
def invalid! = raise(Secupdater::Error, "invalid npm version range #{@string.inspect}")
|
|
76
|
+
|
|
77
|
+
def version(major, minor, patch, pre = nil) = Version.new(major, minor, patch, pre)
|
|
78
|
+
|
|
79
|
+
# The lowest prerelease of a version, so a bound includes or excludes all its prereleases
|
|
80
|
+
def lowest(major, minor, patch) = Version.new(major, minor, patch, "0")
|
|
81
|
+
|
|
82
|
+
def caret(major, minor, patch, pre)
|
|
83
|
+
return [] unless major
|
|
84
|
+
return [[:>=, lowest(major, 0, 0)], [:<, lowest(major + 1, 0, 0)]] unless minor
|
|
85
|
+
return [[:>=, lowest(major, minor, 0)], [:<, major.zero? ? lowest(0, minor + 1, 0) : lowest(major + 1, 0, 0)]] unless patch
|
|
86
|
+
|
|
87
|
+
upper = if major.positive? then lowest(major + 1, 0, 0)
|
|
88
|
+
elsif minor.positive? then lowest(0, minor + 1, 0)
|
|
89
|
+
else lowest(0, 0, patch + 1)
|
|
90
|
+
end
|
|
91
|
+
[[:>=, version(major, minor, patch, pre)], [:<, upper]]
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
def tilde(major, minor, patch, pre)
|
|
95
|
+
return [] unless major
|
|
96
|
+
return [[:>=, version(major, 0, 0)], [:<, lowest(major + 1, 0, 0)]] unless minor
|
|
97
|
+
|
|
98
|
+
[[:>=, version(major, minor, patch || 0, pre)], [:<, lowest(major, minor + 1, 0)]]
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
def x_range(op, major, minor, patch, pre)
|
|
102
|
+
op = nil if op == "=" && !patch
|
|
103
|
+
return %w[< >].include?(op) ? NOTHING : [] unless major
|
|
104
|
+
|
|
105
|
+
if patch
|
|
106
|
+
[[op.nil? || op == "=" ? :== : op.to_sym, version(major, minor, patch, pre)]]
|
|
107
|
+
elsif op
|
|
108
|
+
x_range_bound(op, major, minor)
|
|
109
|
+
elsif minor
|
|
110
|
+
[[:>=, lowest(major, minor, 0)], [:<, lowest(major, minor + 1, 0)]]
|
|
111
|
+
else
|
|
112
|
+
[[:>=, lowest(major, 0, 0)], [:<, lowest(major + 1, 0, 0)]]
|
|
113
|
+
end
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
# A comparator against a partial version, e.g. ">1.2" means ">=1.3.0-0"
|
|
117
|
+
def x_range_bound(op, major, minor)
|
|
118
|
+
if %w[> <=].include?(op)
|
|
119
|
+
if minor
|
|
120
|
+
minor += 1
|
|
121
|
+
else
|
|
122
|
+
major += 1
|
|
123
|
+
end
|
|
124
|
+
op = op == ">" ? ">=" : "<"
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
[[op.to_sym, lowest(major, minor || 0, 0)]]
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
def hyphen_range(from, to)
|
|
131
|
+
from_major, from_minor, from_patch, from_pre = from
|
|
132
|
+
to_major, to_minor, to_patch, to_pre = to
|
|
133
|
+
|
|
134
|
+
lower = if !from_major then nil
|
|
135
|
+
elsif !from_minor then lowest(from_major, 0, 0)
|
|
136
|
+
elsif !from_patch then lowest(from_major, from_minor, 0)
|
|
137
|
+
elsif from_pre then version(from_major, from_minor, from_patch, from_pre)
|
|
138
|
+
else lowest(from_major, from_minor, from_patch)
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
upper = if !to_major then nil
|
|
142
|
+
elsif !to_minor then [:<, lowest(to_major + 1, 0, 0)]
|
|
143
|
+
elsif !to_patch then [:<, lowest(to_major, to_minor + 1, 0)]
|
|
144
|
+
elsif to_pre then [:<=, version(to_major, to_minor, to_patch, to_pre)]
|
|
145
|
+
else [:<, lowest(to_major, to_minor, to_patch + 1)]
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
[lower && [:>=, lower], upper].compact
|
|
149
|
+
end
|
|
150
|
+
end
|
|
151
|
+
end
|
|
152
|
+
end
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
module Secupdater
|
|
2
|
+
module YarnSupport
|
|
3
|
+
# A strict semver version, ordered by node-semver precedence. Build metadata is ignored for ordering.
|
|
4
|
+
class Version
|
|
5
|
+
include Comparable
|
|
6
|
+
|
|
7
|
+
NUMERIC = /0|[1-9]\d*/
|
|
8
|
+
PRERELEASE_ID = /#{NUMERIC}|\d*[A-Za-z-][0-9A-Za-z-]*/
|
|
9
|
+
PRERELEASE = /#{PRERELEASE_ID}(?:\.#{PRERELEASE_ID})*/
|
|
10
|
+
BUILD = /[0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*/
|
|
11
|
+
PATTERN = /\A(#{NUMERIC})\.(#{NUMERIC})\.(#{NUMERIC})(?:-(#{PRERELEASE}))?(?:\+#{BUILD})?\z/
|
|
12
|
+
|
|
13
|
+
attr_reader :major, :minor, :patch, :prerelease
|
|
14
|
+
|
|
15
|
+
def self.parse(string)
|
|
16
|
+
match = PATTERN.match(string) if string.is_a?(String)
|
|
17
|
+
raise Secupdater::Error, "invalid version #{string.inspect}" unless match
|
|
18
|
+
|
|
19
|
+
new(match[1].to_i, match[2].to_i, match[3].to_i, match[4], string:)
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
# prerelease is the dotted string after the `-`, or nil
|
|
23
|
+
def initialize(major, minor, patch, prerelease = nil, string: nil)
|
|
24
|
+
@major = major
|
|
25
|
+
@minor = minor
|
|
26
|
+
@patch = patch
|
|
27
|
+
@prerelease = prerelease.to_s.split(".").map { it.match?(/\A\d+\z/) ? it.to_i : it }.freeze
|
|
28
|
+
@string = string || [[major, minor, patch].join("."), prerelease].compact.join("-")
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
def <=>(other)
|
|
32
|
+
return unless other.is_a?(Version)
|
|
33
|
+
|
|
34
|
+
([major, minor, patch] <=> [other.major, other.minor, other.patch]).nonzero? ||
|
|
35
|
+
compare_prerelease(prerelease, other.prerelease)
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
def to_s = @string
|
|
39
|
+
|
|
40
|
+
def inspect = "#<#{self.class.name} #{self}>"
|
|
41
|
+
|
|
42
|
+
private
|
|
43
|
+
|
|
44
|
+
# A release sorts after its prereleases, and numeric identifiers sort before alphanumeric ones
|
|
45
|
+
def compare_prerelease(a, b)
|
|
46
|
+
return 0 if a == b
|
|
47
|
+
return 1 if a.empty?
|
|
48
|
+
return -1 if b.empty?
|
|
49
|
+
|
|
50
|
+
a.zip(b).each do |x, y|
|
|
51
|
+
return 1 if y.nil?
|
|
52
|
+
|
|
53
|
+
order = case [x, y]
|
|
54
|
+
in [Integer, String] then -1
|
|
55
|
+
in [String, Integer] then 1
|
|
56
|
+
else x <=> y
|
|
57
|
+
end
|
|
58
|
+
return order unless order.zero?
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
a.size <=> b.size
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
end
|
data/lib/secupdater.rb
CHANGED
|
@@ -16,8 +16,10 @@ require_relative "secupdater/dashboard/report"
|
|
|
16
16
|
require_relative "secupdater/dashboard/gitlab"
|
|
17
17
|
|
|
18
18
|
module Secupdater
|
|
19
|
-
# title, url and criticality are optional, for MR descriptions
|
|
20
|
-
|
|
19
|
+
# title, url and criticality are optional, for MR descriptions.
|
|
20
|
+
# vulnerable_versions is for ecosystems whose advisories give the vulnerable
|
|
21
|
+
# range rather than patched versions.
|
|
22
|
+
SecurityAdvisory = Struct.new(:name, :report_id, :patched_versions, :title, :url, :criticality, :vulnerable_versions) do
|
|
21
23
|
def to_s
|
|
22
24
|
"#{name} #{report_id}"
|
|
23
25
|
end
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{"value":"@babel/traverse","children":{"ID":1117420,"Issue":"Babel vulnerable to arbitrary code execution when compiling specifically crafted malicious code","URL":"https://github.com/advisories/GHSA-67hx-6x53-jw92","Severity":"critical","Vulnerable Versions":"<7.23.2","Tree Versions":["7.22.0"],"Dependents":["root@workspace:."]}}
|
|
2
|
+
{"value":"lodash","children":{"ID":1106913,"Issue":"Command Injection in lodash","URL":"https://github.com/advisories/GHSA-35jh-r3h4-6jhm","Severity":"high","Vulnerable Versions":"<4.17.21","Tree Versions":["4.17.15"],"Dependents":["a@workspace:packages/a"]}}
|
|
3
|
+
{"value":"lodash","children":{"ID":1106920,"Issue":"Prototype Pollution in lodash","URL":"https://github.com/advisories/GHSA-p6mc-m468-83gw","Severity":"high","Vulnerable Versions":">=3.7.0 <4.17.19","Tree Versions":["4.17.15"],"Dependents":["a@workspace:packages/a"]}}
|
|
4
|
+
{"value":"lodash","children":{"ID":1108258,"Issue":"Regular Expression Denial of Service (ReDoS) in lodash","URL":"https://github.com/advisories/GHSA-29mw-wpgm-hmr9","Severity":"moderate","Vulnerable Versions":">=4.0.0 <4.17.21","Tree Versions":["4.17.15"],"Dependents":["a@workspace:packages/a"]}}
|
|
5
|
+
{"value":"lodash","children":{"ID":1115806,"Issue":"lodash vulnerable to Code Injection via `_.template` imports key names","URL":"https://github.com/advisories/GHSA-r5fr-rjxr-66jc","Severity":"high","Vulnerable Versions":">=4.0.0 <=4.17.23","Tree Versions":["4.17.15"],"Dependents":["a@workspace:packages/a"]}}
|
|
6
|
+
{"value":"lodash","children":{"ID":1244531,"Issue":"Lodash has Prototype Pollution Vulnerability in `_.unset`, `_.omit`, and `_.pullAt` functions","URL":"https://github.com/advisories/GHSA-xxjr-mmjv-4gpg","Severity":"moderate","Vulnerable Versions":">=4.0.0 <=4.17.22","Tree Versions":["4.17.15"],"Dependents":["a@workspace:packages/a"]}}
|
|
7
|
+
{"value":"minimist","children":{"ID":1096466,"Issue":"Prototype Pollution in minimist","URL":"https://github.com/advisories/GHSA-vh95-rmgr-6w4m","Severity":"moderate","Vulnerable Versions":"<0.2.1","Tree Versions":["0.0.8"],"Dependents":["a@workspace:packages/a"]}}
|
|
8
|
+
{"value":"minimist","children":{"ID":1097677,"Issue":"Prototype Pollution in minimist","URL":"https://github.com/advisories/GHSA-xvch-5gv4-984h","Severity":"critical","Vulnerable Versions":"<0.2.4","Tree Versions":["0.0.8"],"Dependents":["a@workspace:packages/a"]}}
|
|
9
|
+
{"value":"minimist","children":{"ID":1097678,"Issue":"Prototype Pollution in minimist","URL":"https://github.com/advisories/GHSA-xvch-5gv4-984h","Severity":"critical","Vulnerable Versions":">=1.0.0 <1.2.6","Tree Versions":["1.2.5"],"Dependents":["root@workspace:."]}}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
# This file is generated by running "yarn install" inside your project.
|
|
2
|
+
# Manual changes might be lost - proceed with caution!
|
|
3
|
+
|
|
4
|
+
__metadata:
|
|
5
|
+
version: 8
|
|
6
|
+
cacheKey: 10c0
|
|
7
|
+
|
|
8
|
+
"JSONStream@npm:1.3.5":
|
|
9
|
+
version: 1.3.5
|
|
10
|
+
resolution: "JSONStream@npm:1.3.5"
|
|
11
|
+
dependencies:
|
|
12
|
+
jsonparse: "npm:^1.2.0"
|
|
13
|
+
through: "npm:>=2.2.7 <3"
|
|
14
|
+
bin:
|
|
15
|
+
JSONStream: ./bin.js
|
|
16
|
+
checksum: 10c0/0f54694da32224d57b715385d4a6b668d2117379d1f3223dc758459246cca58fdc4c628b83e8a8883334e454a0a30aa198ede77c788b55537c1844f686a751f2
|
|
17
|
+
languageName: node
|
|
18
|
+
linkType: hard
|
|
19
|
+
|
|
20
|
+
"is-number@https://github.com/jonschlinkert/is-number.git#7.0.0":
|
|
21
|
+
version: 7.0.0
|
|
22
|
+
resolution: "is-number@https://github.com/jonschlinkert/is-number.git#commit=98e8ff1da1a89f93d1397a24d7413ed15421c139"
|
|
23
|
+
checksum: 10c0/64f9c16e5487459a242c3053187b9ed2178b9ec9c84ae4027a42ea4a9064f7ba013dc8ea30d5a0110f32922e9c04ad91e7765194c2d3978de63db7085a011119
|
|
24
|
+
languageName: node
|
|
25
|
+
linkType: hard
|
|
26
|
+
|
|
27
|
+
"jsonparse@npm:^1.2.0":
|
|
28
|
+
version: 1.3.1
|
|
29
|
+
resolution: "jsonparse@npm:1.3.1"
|
|
30
|
+
checksum: 10c0/89bc68080cd0a0e276d4b5ab1b79cacd68f562467008d176dc23e16e97d4efec9e21741d92ba5087a8433526a45a7e6a9d5ef25408696c402ca1cfbc01a90bf0
|
|
31
|
+
languageName: node
|
|
32
|
+
linkType: hard
|
|
33
|
+
|
|
34
|
+
"linked@link:./linked::locator=protocols%40workspace%3A.":
|
|
35
|
+
version: 0.0.0-use.local
|
|
36
|
+
resolution: "linked@link:./linked::locator=protocols%40workspace%3A."
|
|
37
|
+
languageName: node
|
|
38
|
+
linkType: soft
|
|
39
|
+
|
|
40
|
+
"local-dep@file:./local-dep::locator=protocols%40workspace%3A.":
|
|
41
|
+
version: 1.0.0
|
|
42
|
+
resolution: "local-dep@file:./local-dep#./local-dep::hash=f148b9&locator=protocols%40workspace%3A."
|
|
43
|
+
checksum: 10c0/7a205aeb27c93386fdea2c882c935836c556aeeb00d096a104d0ade2e04ce64dee7df2527d978d1dff75732ef0c8a117e33d1dfb2e7679500bbd9b76d8ef55f6
|
|
44
|
+
languageName: node
|
|
45
|
+
linkType: hard
|
|
46
|
+
|
|
47
|
+
"my-lodash@npm:lodash@4.17.21":
|
|
48
|
+
version: 4.17.21
|
|
49
|
+
resolution: "lodash@npm:4.17.21"
|
|
50
|
+
checksum: 10c0/d8cbea072bb08655bb4c989da418994b073a608dffa608b09ac04b43a791b12aeae7cd7ad919aa4c925f33b48490b5cfe6c1f71d827956071dae2e7bb3a6b74c
|
|
51
|
+
languageName: node
|
|
52
|
+
linkType: hard
|
|
53
|
+
|
|
54
|
+
"portaled@portal:./linked::locator=protocols%40workspace%3A.":
|
|
55
|
+
version: 0.0.0-use.local
|
|
56
|
+
resolution: "portaled@portal:./linked::locator=protocols%40workspace%3A."
|
|
57
|
+
languageName: node
|
|
58
|
+
linkType: soft
|
|
59
|
+
|
|
60
|
+
"protocols@workspace:.":
|
|
61
|
+
version: 0.0.0-use.local
|
|
62
|
+
resolution: "protocols@workspace:."
|
|
63
|
+
dependencies:
|
|
64
|
+
JSONStream: "npm:1.3.5"
|
|
65
|
+
is-number: "https://github.com/jonschlinkert/is-number.git#7.0.0"
|
|
66
|
+
linked: "link:./linked"
|
|
67
|
+
local-dep: "file:./local-dep"
|
|
68
|
+
my-lodash: "npm:lodash@4.17.21"
|
|
69
|
+
portaled: "portal:./linked"
|
|
70
|
+
typescript: "npm:5.4.5"
|
|
71
|
+
languageName: unknown
|
|
72
|
+
linkType: soft
|
|
73
|
+
|
|
74
|
+
"through@npm:>=2.2.7 <3":
|
|
75
|
+
version: 2.3.8
|
|
76
|
+
resolution: "through@npm:2.3.8"
|
|
77
|
+
checksum: 10c0/4b09f3774099de0d4df26d95c5821a62faee32c7e96fb1f4ebd54a2d7c11c57fe88b0a0d49cf375de5fee5ae6bf4eb56dbbf29d07366864e2ee805349970d3cc
|
|
78
|
+
languageName: node
|
|
79
|
+
linkType: hard
|
|
80
|
+
|
|
81
|
+
"typescript@npm:5.4.5":
|
|
82
|
+
version: 5.4.5
|
|
83
|
+
resolution: "typescript@npm:5.4.5"
|
|
84
|
+
bin:
|
|
85
|
+
tsc: bin/tsc
|
|
86
|
+
tsserver: bin/tsserver
|
|
87
|
+
checksum: 10c0/2954022ada340fd3d6a9e2b8e534f65d57c92d5f3989a263754a78aba549f7e6529acc1921913560a4b816c46dce7df4a4d29f9f11a3dc0d4213bb76d043251e
|
|
88
|
+
languageName: node
|
|
89
|
+
linkType: hard
|
|
90
|
+
|
|
91
|
+
"typescript@patch:typescript@npm%3A5.4.5#optional!builtin<compat/typescript>":
|
|
92
|
+
version: 5.4.5
|
|
93
|
+
resolution: "typescript@patch:typescript@npm%3A5.4.5#optional!builtin<compat/typescript>::version=5.4.5&hash=5adc0c"
|
|
94
|
+
bin:
|
|
95
|
+
tsc: bin/tsc
|
|
96
|
+
tsserver: bin/tsserver
|
|
97
|
+
checksum: 10c0/db2ad2a16ca829f50427eeb1da155e7a45e598eec7b086d8b4e8ba44e5a235f758e606d681c66992230d3fc3b8995865e5fd0b22a2c95486d0b3200f83072ec9
|
|
98
|
+
languageName: node
|
|
99
|
+
linkType: hard
|
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
# This file is generated by running "yarn install" inside your project.
|
|
2
|
+
# Manual changes might be lost - proceed with caution!
|
|
3
|
+
|
|
4
|
+
__metadata:
|
|
5
|
+
version: 8
|
|
6
|
+
cacheKey: 10c0
|
|
7
|
+
|
|
8
|
+
"@babel/code-frame@npm:^7.21.4, @babel/code-frame@npm:^7.29.7":
|
|
9
|
+
version: 7.29.7
|
|
10
|
+
resolution: "@babel/code-frame@npm:7.29.7"
|
|
11
|
+
dependencies:
|
|
12
|
+
"@babel/helper-validator-identifier": "npm:^7.29.7"
|
|
13
|
+
js-tokens: "npm:^4.0.0"
|
|
14
|
+
picocolors: "npm:^1.1.1"
|
|
15
|
+
checksum: 10c0/169fc2080169a40c1760155eaaaf739bcb882df0bec76a83adbda5493645bc17270a3434b8848c494b1933e96fe1d147370001e3cda09a39f43ae30f08ef2069
|
|
16
|
+
languageName: node
|
|
17
|
+
linkType: hard
|
|
18
|
+
|
|
19
|
+
"@babel/generator@npm:^7.22.0":
|
|
20
|
+
version: 7.29.16
|
|
21
|
+
resolution: "@babel/generator@npm:7.29.16"
|
|
22
|
+
dependencies:
|
|
23
|
+
"@babel/parser": "npm:^7.29.15"
|
|
24
|
+
"@babel/types": "npm:^7.29.15"
|
|
25
|
+
"@jridgewell/gen-mapping": "npm:^0.3.12"
|
|
26
|
+
"@jridgewell/trace-mapping": "npm:^0.3.28"
|
|
27
|
+
jsesc: "npm:^3.0.2"
|
|
28
|
+
checksum: 10c0/236dd41b83d3d6a12bd9d4700c44cc3bacfea18cf2f02c5b0613b02e48bb97e4b8d3940534d04382d2d7591261a2dbf25ef75de9f07a6eaf56e7c6077519f050
|
|
29
|
+
languageName: node
|
|
30
|
+
linkType: hard
|
|
31
|
+
|
|
32
|
+
"@babel/helper-environment-visitor@npm:^7.21.5":
|
|
33
|
+
version: 7.24.7
|
|
34
|
+
resolution: "@babel/helper-environment-visitor@npm:7.24.7"
|
|
35
|
+
dependencies:
|
|
36
|
+
"@babel/types": "npm:^7.24.7"
|
|
37
|
+
checksum: 10c0/36ece78882b5960e2d26abf13cf15ff5689bf7c325b10a2895a74a499e712de0d305f8d78bb382dd3c05cfba7e47ec98fe28aab5674243e0625cd38438dd0b2d
|
|
38
|
+
languageName: node
|
|
39
|
+
linkType: hard
|
|
40
|
+
|
|
41
|
+
"@babel/helper-function-name@npm:^7.21.0":
|
|
42
|
+
version: 7.24.7
|
|
43
|
+
resolution: "@babel/helper-function-name@npm:7.24.7"
|
|
44
|
+
dependencies:
|
|
45
|
+
"@babel/template": "npm:^7.24.7"
|
|
46
|
+
"@babel/types": "npm:^7.24.7"
|
|
47
|
+
checksum: 10c0/e5e41e6cf86bd0f8bf272cbb6e7c5ee0f3e9660414174435a46653efba4f2479ce03ce04abff2aa2ef9359cf057c79c06cb7b134a565ad9c0e8a50dcdc3b43c4
|
|
48
|
+
languageName: node
|
|
49
|
+
linkType: hard
|
|
50
|
+
|
|
51
|
+
"@babel/helper-hoist-variables@npm:^7.18.6":
|
|
52
|
+
version: 7.24.7
|
|
53
|
+
resolution: "@babel/helper-hoist-variables@npm:7.24.7"
|
|
54
|
+
dependencies:
|
|
55
|
+
"@babel/types": "npm:^7.24.7"
|
|
56
|
+
checksum: 10c0/19ee37563bbd1219f9d98991ad0e9abef77803ee5945fd85aa7aa62a67c69efca9a801696a1b58dda27f211e878b3327789e6fd2a6f6c725ccefe36774b5ce95
|
|
57
|
+
languageName: node
|
|
58
|
+
linkType: hard
|
|
59
|
+
|
|
60
|
+
"@babel/helper-split-export-declaration@npm:^7.18.6":
|
|
61
|
+
version: 7.24.7
|
|
62
|
+
resolution: "@babel/helper-split-export-declaration@npm:7.24.7"
|
|
63
|
+
dependencies:
|
|
64
|
+
"@babel/types": "npm:^7.24.7"
|
|
65
|
+
checksum: 10c0/0254577d7086bf09b01bbde98f731d4fcf4b7c3fa9634fdb87929801307c1f6202a1352e3faa5492450fa8da4420542d44de604daf540704ff349594a78184f6
|
|
66
|
+
languageName: node
|
|
67
|
+
linkType: hard
|
|
68
|
+
|
|
69
|
+
"@babel/helper-string-parser@npm:^7.29.15":
|
|
70
|
+
version: 7.29.15
|
|
71
|
+
resolution: "@babel/helper-string-parser@npm:7.29.15"
|
|
72
|
+
checksum: 10c0/8d130fb596ef470c646f2f98fb50ada5a653ea9fd583dba0884f15327b8022c749e839e0c4e4ee9c670d258e10b997e23b7224ca57cc08dca5e808d4fe5d7048
|
|
73
|
+
languageName: node
|
|
74
|
+
linkType: hard
|
|
75
|
+
|
|
76
|
+
"@babel/helper-validator-identifier@npm:^7.29.7":
|
|
77
|
+
version: 7.29.7
|
|
78
|
+
resolution: "@babel/helper-validator-identifier@npm:7.29.7"
|
|
79
|
+
checksum: 10c0/4795354e7ae0dcafa72de1cd04ec51252dc1498517170beaf019e03effc5b7bf13c6b21a3949a77e07b8125be7f106ed1131350d8ebd4566ae874094a726d62b
|
|
80
|
+
languageName: node
|
|
81
|
+
linkType: hard
|
|
82
|
+
|
|
83
|
+
"@babel/parser@npm:^7.22.0, @babel/parser@npm:^7.29.15, @babel/parser@npm:^7.29.7":
|
|
84
|
+
version: 7.29.15
|
|
85
|
+
resolution: "@babel/parser@npm:7.29.15"
|
|
86
|
+
dependencies:
|
|
87
|
+
"@babel/types": "npm:^7.29.15"
|
|
88
|
+
bin:
|
|
89
|
+
parser: ./bin/babel-parser.js
|
|
90
|
+
checksum: 10c0/5fca335e83d30af8e2dd632c3630526cf410ea6b6567c2f7a5e44e13deba39caf7146ba35f9d6abea34d6d4e869eb32e00dc37fa5213d288ff987cff360db6a6
|
|
91
|
+
languageName: node
|
|
92
|
+
linkType: hard
|
|
93
|
+
|
|
94
|
+
"@babel/template@npm:^7.24.7":
|
|
95
|
+
version: 7.29.7
|
|
96
|
+
resolution: "@babel/template@npm:7.29.7"
|
|
97
|
+
dependencies:
|
|
98
|
+
"@babel/code-frame": "npm:^7.29.7"
|
|
99
|
+
"@babel/parser": "npm:^7.29.7"
|
|
100
|
+
"@babel/types": "npm:^7.29.7"
|
|
101
|
+
checksum: 10c0/8bb7f900dcab0e9e1c5ffbc33ca10e0d26b7b2e2ca804becb73ee771b9c4ed6e2908a4ae4a14c08560febb45d2b6b9a173955e42ad404d05f8b04840a14d9c58
|
|
102
|
+
languageName: node
|
|
103
|
+
linkType: hard
|
|
104
|
+
|
|
105
|
+
"@babel/traverse@npm:7.22.0":
|
|
106
|
+
version: 7.22.0
|
|
107
|
+
resolution: "@babel/traverse@npm:7.22.0"
|
|
108
|
+
dependencies:
|
|
109
|
+
"@babel/code-frame": "npm:^7.21.4"
|
|
110
|
+
"@babel/generator": "npm:^7.22.0"
|
|
111
|
+
"@babel/helper-environment-visitor": "npm:^7.21.5"
|
|
112
|
+
"@babel/helper-function-name": "npm:^7.21.0"
|
|
113
|
+
"@babel/helper-hoist-variables": "npm:^7.18.6"
|
|
114
|
+
"@babel/helper-split-export-declaration": "npm:^7.18.6"
|
|
115
|
+
"@babel/parser": "npm:^7.22.0"
|
|
116
|
+
"@babel/types": "npm:^7.22.0"
|
|
117
|
+
debug: "npm:^4.1.0"
|
|
118
|
+
globals: "npm:^11.1.0"
|
|
119
|
+
checksum: 10c0/a164803f5a5e5e10d84ba4fe2bfb7e429af52352b374f75cfbece91fa9082426c6540628278913ef349be75107eb14faf7a77e78cadfad7827f386686b424184
|
|
120
|
+
languageName: node
|
|
121
|
+
linkType: hard
|
|
122
|
+
|
|
123
|
+
"@babel/types@npm:^7.22.0, @babel/types@npm:^7.24.7, @babel/types@npm:^7.29.15, @babel/types@npm:^7.29.7":
|
|
124
|
+
version: 7.29.15
|
|
125
|
+
resolution: "@babel/types@npm:7.29.15"
|
|
126
|
+
dependencies:
|
|
127
|
+
"@babel/helper-string-parser": "npm:^7.29.15"
|
|
128
|
+
"@babel/helper-validator-identifier": "npm:^7.29.7"
|
|
129
|
+
checksum: 10c0/2a153a44daccd3f93f33b64f57f9614a160ba1e53ef3c35c305ad687678a537e59b17f0a501901df8618304b905f3268ba39d96ffb78b0b5790e96dc2a9b5833
|
|
130
|
+
languageName: node
|
|
131
|
+
linkType: hard
|
|
132
|
+
|
|
133
|
+
"@jridgewell/gen-mapping@npm:^0.3.12":
|
|
134
|
+
version: 0.3.13
|
|
135
|
+
resolution: "@jridgewell/gen-mapping@npm:0.3.13"
|
|
136
|
+
dependencies:
|
|
137
|
+
"@jridgewell/sourcemap-codec": "npm:^1.5.0"
|
|
138
|
+
"@jridgewell/trace-mapping": "npm:^0.3.24"
|
|
139
|
+
checksum: 10c0/9a7d65fb13bd9aec1fbab74cda08496839b7e2ceb31f5ab922b323e94d7c481ce0fc4fd7e12e2610915ed8af51178bdc61e168e92a8c8b8303b030b03489b13b
|
|
140
|
+
languageName: node
|
|
141
|
+
linkType: hard
|
|
142
|
+
|
|
143
|
+
"@jridgewell/resolve-uri@npm:^3.1.0":
|
|
144
|
+
version: 3.1.3
|
|
145
|
+
resolution: "@jridgewell/resolve-uri@npm:3.1.3"
|
|
146
|
+
checksum: 10c0/b1c5b380e425337d6b9ede3174d88827966afd4cb2bcc80f6dfed16de2b199feb87e5fc8431d884a3aa878dfe422c6259241b2e5c8b13973f0c41f9b0ee4f467
|
|
147
|
+
languageName: node
|
|
148
|
+
linkType: hard
|
|
149
|
+
|
|
150
|
+
"@jridgewell/sourcemap-codec@npm:^1.4.14, @jridgewell/sourcemap-codec@npm:^1.5.0":
|
|
151
|
+
version: 1.6.0
|
|
152
|
+
resolution: "@jridgewell/sourcemap-codec@npm:1.6.0"
|
|
153
|
+
checksum: 10c0/b5be700e45a775f218589c3466c4ffea630582b4988657652da464e5ab8a7d18bf928ee4fd2363fb346ede4bea9c6ff0bae05a538358c4565ece6199531b5f72
|
|
154
|
+
languageName: node
|
|
155
|
+
linkType: hard
|
|
156
|
+
|
|
157
|
+
"@jridgewell/trace-mapping@npm:^0.3.24, @jridgewell/trace-mapping@npm:^0.3.28":
|
|
158
|
+
version: 0.3.31
|
|
159
|
+
resolution: "@jridgewell/trace-mapping@npm:0.3.31"
|
|
160
|
+
dependencies:
|
|
161
|
+
"@jridgewell/resolve-uri": "npm:^3.1.0"
|
|
162
|
+
"@jridgewell/sourcemap-codec": "npm:^1.4.14"
|
|
163
|
+
checksum: 10c0/4b30ec8cd56c5fd9a661f088230af01e0c1a3888d11ffb6b47639700f71225be21d1f7e168048d6d4f9449207b978a235c07c8f15c07705685d16dc06280e9d9
|
|
164
|
+
languageName: node
|
|
165
|
+
linkType: hard
|
|
166
|
+
|
|
167
|
+
"a@workspace:packages/a":
|
|
168
|
+
version: 0.0.0-use.local
|
|
169
|
+
resolution: "a@workspace:packages/a"
|
|
170
|
+
dependencies:
|
|
171
|
+
lodash: "npm:4.17.15"
|
|
172
|
+
minimist: "npm:0.0.8"
|
|
173
|
+
mkdirp: "npm:0.5.1"
|
|
174
|
+
languageName: unknown
|
|
175
|
+
linkType: soft
|
|
176
|
+
|
|
177
|
+
"debug@npm:^4.1.0":
|
|
178
|
+
version: 4.4.3
|
|
179
|
+
resolution: "debug@npm:4.4.3"
|
|
180
|
+
dependencies:
|
|
181
|
+
ms: "npm:^2.1.3"
|
|
182
|
+
peerDependenciesMeta:
|
|
183
|
+
supports-color:
|
|
184
|
+
optional: true
|
|
185
|
+
checksum: 10c0/d79136ec6c83ecbefd0f6a5593da6a9c91ec4d7ddc4b54c883d6e71ec9accb5f67a1a5e96d00a328196b5b5c86d365e98d8a3a70856aaf16b4e7b1985e67f5a6
|
|
186
|
+
languageName: node
|
|
187
|
+
linkType: hard
|
|
188
|
+
|
|
189
|
+
"globals@npm:^11.1.0":
|
|
190
|
+
version: 11.12.0
|
|
191
|
+
resolution: "globals@npm:11.12.0"
|
|
192
|
+
checksum: 10c0/758f9f258e7b19226bd8d4af5d3b0dcf7038780fb23d82e6f98932c44e239f884847f1766e8fa9cc5635ccb3204f7fa7314d4408dd4002a5e8ea827b4018f0a1
|
|
193
|
+
languageName: node
|
|
194
|
+
linkType: hard
|
|
195
|
+
|
|
196
|
+
"js-tokens@npm:^4.0.0":
|
|
197
|
+
version: 4.0.0
|
|
198
|
+
resolution: "js-tokens@npm:4.0.0"
|
|
199
|
+
checksum: 10c0/e248708d377aa058eacf2037b07ded847790e6de892bbad3dac0abba2e759cb9f121b00099a65195616badcb6eca8d14d975cb3e89eb1cfda644756402c8aeed
|
|
200
|
+
languageName: node
|
|
201
|
+
linkType: hard
|
|
202
|
+
|
|
203
|
+
"jsesc@npm:^3.0.2":
|
|
204
|
+
version: 3.1.0
|
|
205
|
+
resolution: "jsesc@npm:3.1.0"
|
|
206
|
+
bin:
|
|
207
|
+
jsesc: bin/jsesc
|
|
208
|
+
checksum: 10c0/531779df5ec94f47e462da26b4cbf05eb88a83d9f08aac2ba04206508fc598527a153d08bd462bae82fc78b3eaa1a908e1a4a79f886e9238641c4cdefaf118b1
|
|
209
|
+
languageName: node
|
|
210
|
+
linkType: hard
|
|
211
|
+
|
|
212
|
+
"lodash@npm:4.17.15":
|
|
213
|
+
version: 4.17.15
|
|
214
|
+
resolution: "lodash@npm:4.17.15"
|
|
215
|
+
checksum: 10c0/c029ab298357d007252d5802348f1deb343099ba734ae6e6776a908e4995db5b8ed4ae51ff83a2937a1f6e3c41a0c8941eb941926e1a7f2ddfc3d235ec1e8aa7
|
|
216
|
+
languageName: node
|
|
217
|
+
linkType: hard
|
|
218
|
+
|
|
219
|
+
"minimist@npm:0.0.8":
|
|
220
|
+
version: 0.0.8
|
|
221
|
+
resolution: "minimist@npm:0.0.8"
|
|
222
|
+
checksum: 10c0/d0a998c3042922dbcd5f23566b52811d6977649ad089fd75dd89e8a9bff27634194900818b2dfb1b873f204edb902d0c8cdea9cb8dca8488b301f69bd522d5dc
|
|
223
|
+
languageName: node
|
|
224
|
+
linkType: hard
|
|
225
|
+
|
|
226
|
+
"minimist@npm:1.2.5":
|
|
227
|
+
version: 1.2.5
|
|
228
|
+
resolution: "minimist@npm:1.2.5"
|
|
229
|
+
checksum: 10c0/c143b0c199af4df7a55c7a37b6465cdd438acdc6a3a345ba0fe9d94dfcc2042263f650879bc73be607c843deeaeaadf39c864e55bc6d80b36a025eca1a062ee7
|
|
230
|
+
languageName: node
|
|
231
|
+
linkType: hard
|
|
232
|
+
|
|
233
|
+
"mkdirp@npm:0.5.1":
|
|
234
|
+
version: 0.5.1
|
|
235
|
+
resolution: "mkdirp@npm:0.5.1"
|
|
236
|
+
dependencies:
|
|
237
|
+
minimist: "npm:0.0.8"
|
|
238
|
+
bin:
|
|
239
|
+
mkdirp: bin/cmd.js
|
|
240
|
+
checksum: 10c0/e5ff572d761240a06dbfc69e1ea303d5482815a1f66033b999bd9d78583fcdc9ef63e99e61d396bbd57eca45b388af80a7f7f35f63510619c991c9d44c75341c
|
|
241
|
+
languageName: node
|
|
242
|
+
linkType: hard
|
|
243
|
+
|
|
244
|
+
"ms@npm:^2.1.3":
|
|
245
|
+
version: 2.1.3
|
|
246
|
+
resolution: "ms@npm:2.1.3"
|
|
247
|
+
checksum: 10c0/d924b57e7312b3b63ad21fc5b3dc0af5e78d61a1fc7cfb5457edaf26326bf62be5307cc87ffb6862ef1c2b33b0233cdb5d4f01c4c958cc0d660948b65a287a48
|
|
248
|
+
languageName: node
|
|
249
|
+
linkType: hard
|
|
250
|
+
|
|
251
|
+
"picocolors@npm:^1.1.1":
|
|
252
|
+
version: 1.1.1
|
|
253
|
+
resolution: "picocolors@npm:1.1.1"
|
|
254
|
+
checksum: 10c0/e2e3e8170ab9d7c7421969adaa7e1b31434f789afb9b3f115f6b96d91945041ac3ceb02e9ec6fe6510ff036bcc0bf91e69a1772edc0b707e12b19c0f2d6bcf58
|
|
255
|
+
languageName: node
|
|
256
|
+
linkType: hard
|
|
257
|
+
|
|
258
|
+
"root@workspace:.":
|
|
259
|
+
version: 0.0.0-use.local
|
|
260
|
+
resolution: "root@workspace:."
|
|
261
|
+
dependencies:
|
|
262
|
+
"@babel/traverse": "npm:7.22.0"
|
|
263
|
+
minimist: "npm:1.2.5"
|
|
264
|
+
languageName: unknown
|
|
265
|
+
linkType: soft
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
2
|
+
# yarn lockfile v1
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
semver@7.7.2:
|
|
6
|
+
version "7.7.2"
|
|
7
|
+
resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.2.tgz#67d99fdcd35cec21e6f8b87a7fd515a33f982b58"
|
|
8
|
+
integrity sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==
|
data/spec/secupdater/cli_spec.rb
CHANGED
|
@@ -55,6 +55,17 @@ RSpec.describe Secupdater::CLI::Commands::Run do
|
|
|
55
55
|
end
|
|
56
56
|
end
|
|
57
57
|
|
|
58
|
+
context "with --executor=docker and only another runtime's container" do
|
|
59
|
+
let(:env) { { "SECUPDATER_NODE_CONTAINER" => "node-sidecar" } }
|
|
60
|
+
|
|
61
|
+
it "says which variable the ecosystem needs and exits non-zero" do
|
|
62
|
+
expect_exit(1) { run_cli("--ecosystem=rubygems", "--executor=docker", "audit.json") }
|
|
63
|
+
|
|
64
|
+
expect(err.string).to include("SECUPDATER_RUBY_CONTAINER")
|
|
65
|
+
expect(Secupdater::Runner).not_to have_received(:new)
|
|
66
|
+
end
|
|
67
|
+
end
|
|
68
|
+
|
|
58
69
|
context "with an unknown --executor" do
|
|
59
70
|
it "prints an error naming the bad option and exits non-zero" do
|
|
60
71
|
expect_exit(1) { run_cli("--ecosystem=rubygems", "--executor=podman", "audit.json") }
|