Skip to content

Commit 1efe27c

Browse files
committed
1 parent ea4734f commit 1efe27c

File tree

4 files changed

+69
-10
lines changed

4 files changed

+69
-10
lines changed

package-lock.json

Lines changed: 60 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
},
6868
"dependencies": {
6969
"foreground-child": "^3.1.0",
70-
"jackspeak": "^2.3.6",
70+
"jackspeak": "^3.1.2",
7171
"minimatch": "^9.0.1",
7272
"minipass": "^7.0.4",
7373
"path-scurry": "^1.11.0"

src/bin.mts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,7 @@ const j = jack({
201201
description: `Defaults to the value of 'process.platform' if
202202
available, or 'linux' if not. Setting --platform=win32
203203
on non-Windows systems may cause strange behavior!`,
204-
validate: v =>
205-
new Set([
204+
validOptions: [
206205
'aix',
207206
'android',
208207
'darwin',
@@ -214,7 +213,7 @@ const j = jack({
214213
'win32',
215214
'cygwin',
216215
'netbsd',
217-
]).has(v),
216+
]
218217
},
219218
})
220219
.optList({

tap-snapshots/test/bin.ts.test.cjs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,13 @@ Object {
133133
available, or 'linux' if not. Setting --platform=win32
134134
on non-Windows systems may cause strange behavior!
135135
136+
Valid options: "aix", "android", "darwin", "freebsd",
137+
"haiku", "linux", "openbsd", "sunos", "win32",
138+
"cygwin", "netbsd"
139+
136140
-i<ignore> --ignore=<ignore>
137-
Glob patterns to ignore Can be set multiple times
141+
Glob patterns to ignore
142+
Can be set multiple times
138143
-v --debug Output a huge amount of noisy debug information about
139144
patterns as they are parsed and used to match files.
140145

0 commit comments

Comments
 (0)