@tapjs/stdin
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -15,2 +15,6 @@ "use strict"; | ||
} | ||
#builtTest; | ||
#bt() { | ||
return (this.#builtTest ??= this.#t.t); | ||
} | ||
stdin(name, extra) { | ||
@@ -23,3 +27,3 @@ if (name && typeof name === 'object') { | ||
extra ??= {}; | ||
return this.#t.sub(core_1.Stdin, (0, core_1.parseTestArgs)(name, extra, stdinCB), this.#t.t.stdin); | ||
return this.#t.sub(core_1.Stdin, (0, core_1.parseTestArgs)(name, extra, stdinCB), this.#bt().stdin); | ||
} | ||
@@ -26,0 +30,0 @@ } |
@@ -12,2 +12,6 @@ import { parseTestArgs, Stdin, } from '@tapjs/core'; | ||
} | ||
#builtTest; | ||
#bt() { | ||
return (this.#builtTest ??= this.#t.t); | ||
} | ||
stdin(name, extra) { | ||
@@ -20,3 +24,3 @@ if (name && typeof name === 'object') { | ||
extra ??= {}; | ||
return this.#t.sub(Stdin, parseTestArgs(name, extra, stdinCB), this.#t.t.stdin); | ||
return this.#t.sub(Stdin, parseTestArgs(name, extra, stdinCB), this.#bt().stdin); | ||
} | ||
@@ -23,0 +27,0 @@ } |
{ | ||
"name": "@tapjs/stdin", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "a built-in tap extension for t.stdin()", | ||
@@ -45,3 +45,3 @@ "tshy": { | ||
"peerDependencies": { | ||
"@tapjs/core": "3.0.0" | ||
"@tapjs/core": "3.0.1" | ||
}, | ||
@@ -48,0 +48,0 @@ "tap": { |
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
12299
89