@tapjs/test
Advanced tools
Comparing version 3.0.0 to 3.0.1
{ | ||
"name": "@tapjs/test", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "the pluggable Test class for node-tap", | ||
@@ -99,18 +99,18 @@ "tshy": { | ||
"@isaacs/ts-node-temp-fork-for-pr-2009": "^10.9.7", | ||
"@tapjs/after": "2.0.0", | ||
"@tapjs/after-each": "3.0.0", | ||
"@tapjs/asserts": "3.0.0", | ||
"@tapjs/before": "3.0.0", | ||
"@tapjs/before-each": "3.0.0", | ||
"@tapjs/chdir": "2.0.0", | ||
"@tapjs/filter": "3.0.0", | ||
"@tapjs/fixture": "3.0.0", | ||
"@tapjs/intercept": "3.0.0", | ||
"@tapjs/mock": "3.0.0", | ||
"@tapjs/node-serialize": "3.0.0", | ||
"@tapjs/snapshot": "3.0.0", | ||
"@tapjs/spawn": "3.0.0", | ||
"@tapjs/stdin": "3.0.0", | ||
"@tapjs/typescript": "2.0.0", | ||
"@tapjs/worker": "3.0.0", | ||
"@tapjs/after": "2.0.1", | ||
"@tapjs/after-each": "3.0.1", | ||
"@tapjs/asserts": "3.0.1", | ||
"@tapjs/before": "3.0.1", | ||
"@tapjs/before-each": "3.0.1", | ||
"@tapjs/chdir": "2.0.1", | ||
"@tapjs/filter": "3.0.1", | ||
"@tapjs/fixture": "3.0.1", | ||
"@tapjs/intercept": "3.0.1", | ||
"@tapjs/mock": "3.0.1", | ||
"@tapjs/node-serialize": "3.0.1", | ||
"@tapjs/snapshot": "3.0.1", | ||
"@tapjs/spawn": "3.0.1", | ||
"@tapjs/stdin": "3.0.1", | ||
"@tapjs/typescript": "2.0.1", | ||
"@tapjs/worker": "3.0.1", | ||
"glob": "^10.3.16", | ||
@@ -125,7 +125,7 @@ "jackspeak": "^3.4.0", | ||
"tshy": "^1.16.1", | ||
"typescript": "^5.5.2", | ||
"typescript": "5.5", | ||
"walk-up-path": "^3.0.1" | ||
}, | ||
"peerDependencies": { | ||
"@tapjs/core": "3.0.0" | ||
"@tapjs/core": "3.0.1" | ||
}, | ||
@@ -132,0 +132,0 @@ "tap": { |
@@ -19,3 +19,8 @@ //{{HEADER COMMENT START}} | ||
import type { ConfigSet, Jack } from 'jackspeak' | ||
import type { | ||
ConfigSet, | ||
ConfigSetFromMetaSet, | ||
Jack, | ||
ValidValue, | ||
} from 'jackspeak' | ||
import { isConfigOption } from 'jackspeak' | ||
@@ -179,3 +184,6 @@ import { inspect } from 'node:util' | ||
const c = <T extends ConfigSet>(j: Jack<T>) => j | ||
const cs = c as unknown as ValidValue & | ||
ConfigSetFromMetaSet<'boolean', false, { x: {} }> | ||
c | ||
cs | ||
/* c8 ignore stop */ | ||
@@ -182,0 +190,0 @@ //{{PLUGINS CONFIG END}} |
@@ -18,3 +18,3 @@ import { PromiseWithSubtest, TapPlugin, TestBase, TestBaseOpts } from '@tapjs/core'; | ||
import * as Plugin_worker from "@tapjs/worker"; | ||
import type { ConfigSet, Jack } from 'jackspeak'; | ||
import type { ConfigSet, ConfigSetFromMetaSet, Jack, ValidValue } from 'jackspeak'; | ||
/** | ||
@@ -82,3 +82,3 @@ * The set of file extensions that the tap runner will load | ||
export declare const execArgv: (values: ReturnType<ReturnType<typeof config>["parse"]>["values"]) => string[]; | ||
export declare const config: <C extends ConfigSet>(jack: Jack<C>) => Jack<C & import("jackspeak").ConfigSetFromMetaSet<"boolean", false, { | ||
export declare const config: <C extends ConfigSet>(jack: Jack<C>) => Jack<C & ConfigSetFromMetaSet<"boolean", false, { | ||
only: { | ||
@@ -101,3 +101,3 @@ type: string; | ||
}; | ||
}> & import("jackspeak").ConfigSetFromMetaSet<"string", true, { | ||
}> & ConfigSetFromMetaSet<"string", true, { | ||
grep: { | ||
@@ -116,3 +116,3 @@ type: string; | ||
hint?: string | undefined; | ||
validate?: ((v: unknown) => v is import("jackspeak").ValidValue<"string", true>) | undefined; | ||
validate?: ((v: unknown) => v is ValidValue<"string", true>) | undefined; | ||
validOptions?: readonly string[] | undefined; | ||
@@ -123,3 +123,3 @@ } & { | ||
}; | ||
}> & import("jackspeak").ConfigSetFromMetaSet<"boolean", false, { | ||
}> & ConfigSetFromMetaSet<"boolean", false, { | ||
invert: { | ||
@@ -141,3 +141,3 @@ type: string; | ||
}; | ||
}> & import("jackspeak").ConfigSetFromMetaSet<"boolean", false, { | ||
}> & ConfigSetFromMetaSet<"boolean", false, { | ||
"no-invert": { | ||
@@ -159,3 +159,3 @@ type: string; | ||
}; | ||
}> & import("jackspeak").ConfigSetFromMetaSet<"boolean", false, { | ||
}> & ConfigSetFromMetaSet<"boolean", false, { | ||
"filter-quietly": { | ||
@@ -176,3 +176,3 @@ type: string; | ||
}; | ||
}> & import("jackspeak").ConfigSetFromMetaSet<"boolean", false, { | ||
}> & ConfigSetFromMetaSet<"boolean", false, { | ||
"no-filter-quietly": { | ||
@@ -193,3 +193,3 @@ type: string; | ||
}; | ||
}> & import("jackspeak").ConfigSetFromMetaSet<"boolean", false, { | ||
}> & ConfigSetFromMetaSet<"boolean", false, { | ||
"save-fixture": { | ||
@@ -211,3 +211,3 @@ type: string; | ||
}; | ||
}> & import("jackspeak").ConfigSetFromMetaSet<"boolean", false, { | ||
}> & ConfigSetFromMetaSet<"boolean", false, { | ||
snapshot: { | ||
@@ -229,3 +229,3 @@ type: string; | ||
}; | ||
}> & import("jackspeak").ConfigSetFromMetaSet<"boolean", false, { | ||
}> & ConfigSetFromMetaSet<"boolean", false, { | ||
"snapshot-clean-cwd": { | ||
@@ -247,3 +247,3 @@ type: string; | ||
}; | ||
}> & import("jackspeak").ConfigSetFromMetaSet<"boolean", false, { | ||
}> & ConfigSetFromMetaSet<"boolean", false, { | ||
"no-snapshot-clean-cwd": { | ||
@@ -264,3 +264,3 @@ type: string; | ||
}; | ||
}> & import("jackspeak").ConfigSetFromMetaSet<"boolean", false, { | ||
}> & ConfigSetFromMetaSet<"boolean", false, { | ||
typecheck: { | ||
@@ -281,3 +281,3 @@ type: string; | ||
}; | ||
}> & import("jackspeak").ConfigSetFromMetaSet<"string", false, { | ||
}> & ConfigSetFromMetaSet<"string", false, { | ||
tsconfig: { | ||
@@ -292,3 +292,3 @@ type: string; | ||
hint?: string | undefined; | ||
validate?: ((v: unknown) => v is import("jackspeak").ValidValue<"string", false>) | undefined; | ||
validate?: ((v: unknown) => v is ValidValue<"string", false>) | undefined; | ||
validOptions?: readonly string[] | undefined; | ||
@@ -295,0 +295,0 @@ } & { |
@@ -128,3 +128,6 @@ "use strict"; | ||
// const c = <T extends ConfigSet>(j: Jack<T>) => j | ||
// const cs = c as unknown as ValidValue & | ||
// ConfigSetFromMetaSet<'boolean', false, { x: {} }> | ||
// c | ||
// cs | ||
// /* c8 ignore stop */ | ||
@@ -131,0 +134,0 @@ const execArgv = (values) => { |
@@ -18,3 +18,3 @@ import { PromiseWithSubtest, TapPlugin, TestBase, TestBaseOpts } from '@tapjs/core'; | ||
import * as Plugin_worker from "@tapjs/worker"; | ||
import type { ConfigSet, Jack } from 'jackspeak'; | ||
import type { ConfigSet, ConfigSetFromMetaSet, Jack, ValidValue } from 'jackspeak'; | ||
/** | ||
@@ -82,3 +82,3 @@ * The set of file extensions that the tap runner will load | ||
export declare const execArgv: (values: ReturnType<ReturnType<typeof config>["parse"]>["values"]) => string[]; | ||
export declare const config: <C extends ConfigSet>(jack: Jack<C>) => Jack<C & import("jackspeak").ConfigSetFromMetaSet<"boolean", false, { | ||
export declare const config: <C extends ConfigSet>(jack: Jack<C>) => Jack<C & ConfigSetFromMetaSet<"boolean", false, { | ||
only: { | ||
@@ -101,3 +101,3 @@ type: string; | ||
}; | ||
}> & import("jackspeak").ConfigSetFromMetaSet<"string", true, { | ||
}> & ConfigSetFromMetaSet<"string", true, { | ||
grep: { | ||
@@ -116,3 +116,3 @@ type: string; | ||
hint?: string | undefined; | ||
validate?: ((v: unknown) => v is import("jackspeak").ValidValue<"string", true>) | undefined; | ||
validate?: ((v: unknown) => v is ValidValue<"string", true>) | undefined; | ||
validOptions?: readonly string[] | undefined; | ||
@@ -123,3 +123,3 @@ } & { | ||
}; | ||
}> & import("jackspeak").ConfigSetFromMetaSet<"boolean", false, { | ||
}> & ConfigSetFromMetaSet<"boolean", false, { | ||
invert: { | ||
@@ -141,3 +141,3 @@ type: string; | ||
}; | ||
}> & import("jackspeak").ConfigSetFromMetaSet<"boolean", false, { | ||
}> & ConfigSetFromMetaSet<"boolean", false, { | ||
"no-invert": { | ||
@@ -159,3 +159,3 @@ type: string; | ||
}; | ||
}> & import("jackspeak").ConfigSetFromMetaSet<"boolean", false, { | ||
}> & ConfigSetFromMetaSet<"boolean", false, { | ||
"filter-quietly": { | ||
@@ -176,3 +176,3 @@ type: string; | ||
}; | ||
}> & import("jackspeak").ConfigSetFromMetaSet<"boolean", false, { | ||
}> & ConfigSetFromMetaSet<"boolean", false, { | ||
"no-filter-quietly": { | ||
@@ -193,3 +193,3 @@ type: string; | ||
}; | ||
}> & import("jackspeak").ConfigSetFromMetaSet<"boolean", false, { | ||
}> & ConfigSetFromMetaSet<"boolean", false, { | ||
"save-fixture": { | ||
@@ -211,3 +211,3 @@ type: string; | ||
}; | ||
}> & import("jackspeak").ConfigSetFromMetaSet<"boolean", false, { | ||
}> & ConfigSetFromMetaSet<"boolean", false, { | ||
snapshot: { | ||
@@ -229,3 +229,3 @@ type: string; | ||
}; | ||
}> & import("jackspeak").ConfigSetFromMetaSet<"boolean", false, { | ||
}> & ConfigSetFromMetaSet<"boolean", false, { | ||
"snapshot-clean-cwd": { | ||
@@ -247,3 +247,3 @@ type: string; | ||
}; | ||
}> & import("jackspeak").ConfigSetFromMetaSet<"boolean", false, { | ||
}> & ConfigSetFromMetaSet<"boolean", false, { | ||
"no-snapshot-clean-cwd": { | ||
@@ -264,3 +264,3 @@ type: string; | ||
}; | ||
}> & import("jackspeak").ConfigSetFromMetaSet<"boolean", false, { | ||
}> & ConfigSetFromMetaSet<"boolean", false, { | ||
typecheck: { | ||
@@ -281,3 +281,3 @@ type: string; | ||
}; | ||
}> & import("jackspeak").ConfigSetFromMetaSet<"string", false, { | ||
}> & ConfigSetFromMetaSet<"string", false, { | ||
tsconfig: { | ||
@@ -292,3 +292,3 @@ type: string; | ||
hint?: string | undefined; | ||
validate?: ((v: unknown) => v is import("jackspeak").ValidValue<"string", false>) | undefined; | ||
validate?: ((v: unknown) => v is ValidValue<"string", false>) | undefined; | ||
validOptions?: readonly string[] | undefined; | ||
@@ -295,0 +295,0 @@ } & { |
@@ -102,3 +102,6 @@ //{{HEADER COMMENT START}} | ||
// const c = <T extends ConfigSet>(j: Jack<T>) => j | ||
// const cs = c as unknown as ValidValue & | ||
// ConfigSetFromMetaSet<'boolean', false, { x: {} }> | ||
// c | ||
// cs | ||
// /* c8 ignore stop */ | ||
@@ -105,0 +108,0 @@ export const execArgv = (values) => { |
@@ -33,3 +33,8 @@ //{{HEADER COMMENT START}} | ||
import type { ConfigSet, Jack } from 'jackspeak' | ||
import type { | ||
ConfigSet, | ||
ConfigSetFromMetaSet, | ||
Jack, | ||
ValidValue, | ||
} from 'jackspeak' | ||
import { isConfigOption } from 'jackspeak' | ||
@@ -238,3 +243,6 @@ import { inspect } from 'node:util' | ||
// const c = <T extends ConfigSet>(j: Jack<T>) => j | ||
// const cs = c as unknown as ValidValue & | ||
// ConfigSetFromMetaSet<'boolean', false, { x: {} }> | ||
// c | ||
// cs | ||
// /* c8 ignore stop */ | ||
@@ -241,0 +249,0 @@ export const execArgv = ( |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
268313
3776
+ Added@tapjs/after@2.0.1(transitive)
+ Added@tapjs/after-each@3.0.1(transitive)
+ Added@tapjs/asserts@3.0.1(transitive)
+ Added@tapjs/before@3.0.1(transitive)
+ Added@tapjs/before-each@3.0.1(transitive)
+ Added@tapjs/chdir@2.0.1(transitive)
+ Added@tapjs/core@3.0.1(transitive)
+ Added@tapjs/filter@3.0.1(transitive)
+ Added@tapjs/fixture@3.0.1(transitive)
+ Added@tapjs/intercept@3.0.1(transitive)
+ Added@tapjs/mock@3.0.1(transitive)
+ Added@tapjs/node-serialize@3.0.1(transitive)
+ Added@tapjs/snapshot@3.0.1(transitive)
+ Added@tapjs/spawn@3.0.1(transitive)
+ Added@tapjs/stdin@3.0.1(transitive)
+ Added@tapjs/typescript@2.0.1(transitive)
+ Added@tapjs/worker@3.0.1(transitive)
+ Addedtypescript@5.5.4(transitive)
- Removed@tapjs/after@2.0.0(transitive)
- Removed@tapjs/after-each@3.0.0(transitive)
- Removed@tapjs/asserts@3.0.0(transitive)
- Removed@tapjs/before@3.0.0(transitive)
- Removed@tapjs/before-each@3.0.0(transitive)
- Removed@tapjs/chdir@2.0.0(transitive)
- Removed@tapjs/core@3.0.0(transitive)
- Removed@tapjs/filter@3.0.0(transitive)
- Removed@tapjs/fixture@3.0.0(transitive)
- Removed@tapjs/intercept@3.0.0(transitive)
- Removed@tapjs/mock@3.0.0(transitive)
- Removed@tapjs/node-serialize@3.0.0(transitive)
- Removed@tapjs/snapshot@3.0.0(transitive)
- Removed@tapjs/spawn@3.0.0(transitive)
- Removed@tapjs/stdin@3.0.0(transitive)
- Removed@tapjs/typescript@2.0.0(transitive)
- Removed@tapjs/worker@3.0.0(transitive)
- Removedtypescript@5.6.2(transitive)
Updated@tapjs/after@2.0.1
Updated@tapjs/after-each@3.0.1
Updated@tapjs/asserts@3.0.1
Updated@tapjs/before@3.0.1
Updated@tapjs/before-each@3.0.1
Updated@tapjs/chdir@2.0.1
Updated@tapjs/filter@3.0.1
Updated@tapjs/fixture@3.0.1
Updated@tapjs/intercept@3.0.1
Updated@tapjs/mock@3.0.1
Updated@tapjs/node-serialize@3.0.1
Updated@tapjs/snapshot@3.0.1
Updated@tapjs/spawn@3.0.1
Updated@tapjs/stdin@3.0.1
Updated@tapjs/typescript@2.0.1
Updated@tapjs/worker@3.0.1
Updatedtypescript@5.5