@uniflowed/test 0.23.0 → 0.25.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.
@@ -204,9 +204,11 @@ function capture(stream: OutputStream, text: string): void {
204
204
  }
205
205
 
206
206
  /** A stand-in for `process.stdout.write` / `process.stderr.write`. */
207
- function writer(
208
- stream: OutputStream,
209
- ): (chunk: mixed, encoding?: string | WriteCallback, callback?: WriteCallback) => boolean {
207
+ function writer(stream: OutputStream): (
208
+ chunk: mixed,
209
+ encoding?: string | WriteCallback,
210
+ callback?: WriteCallback,
211
+ ) => boolean {
210
212
  return (chunk, encoding, callback) => {
211
213
  capture(stream, textOf(chunk));
212
214
  // `write(chunk, callback)` and `write(chunk, encoding, callback)` are both
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniflowed/test",
3
- "version": "0.23.0",
3
+ "version": "0.25.0",
4
4
  "description": "The test API and worker for `uf test`: describe/it, a full matcher set, and the process uf fans test files out to.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -38,7 +38,7 @@
38
38
  "!*.test.js"
39
39
  ],
40
40
  "dependencies": {
41
- "@uniflowed/host": "0.23.0",
41
+ "@uniflowed/host": "0.25.0",
42
42
  "pixelmatch": "^7.1.0",
43
43
  "pngjs": "^7.0.0"
44
44
  },