@endo/stream
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -43,7 +43,2 @@ export function makeQueue<T>(): import("./types.js").AsyncQueue<T, T>; | ||
export function mapWriter<TIn, TOut>(writer: import("./types.js").Writer<TOut, undefined>, transform: (value: TIn) => TOut): import("./types.js").Writer<TIn, undefined>; | ||
export type PromiseKit<T> = { | ||
resolve(value?: T | Promise<T>): void; | ||
reject(error: Error): void; | ||
promise: Promise<T>; | ||
}; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -17,11 +17,2 @@ /* `makeQueue`, `makeStream`, and `makePipe` are utilities for creating async | ||
/** | ||
* @template T | ||
* @typedef {{ | ||
* resolve(value?: T | Promise<T>): void, | ||
* reject(error: Error): void, | ||
* promise: Promise<T> | ||
* }} PromiseKit | ||
*/ | ||
// TypeScript ReadOnly semantics are not sufficiently expressive to distinguish | ||
@@ -28,0 +19,0 @@ // a value one promises not to alter from a value one must not alter, |
{ | ||
"name": "@endo/stream", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Foundation for async iterators as streams", | ||
@@ -47,22 +47,20 @@ "keywords": [ | ||
"dependencies": { | ||
"@endo/eventual-send": "^1.2.0", | ||
"@endo/promise-kit": "^1.1.0", | ||
"ses": "^1.4.0" | ||
"@endo/eventual-send": "^1.2.1", | ||
"@endo/promise-kit": "^1.1.1", | ||
"ses": "^1.4.1" | ||
}, | ||
"devDependencies": { | ||
"@endo/init": "^1.1.0", | ||
"@endo/ses-ava": "^1.2.0", | ||
"@typescript-eslint/parser": "^6.18.1", | ||
"@endo/init": "^1.1.1", | ||
"@endo/ses-ava": "^1.2.1", | ||
"ava": "^6.1.2", | ||
"babel-eslint": "^10.0.3", | ||
"c8": "^7.14.0", | ||
"eslint": "^8.46.0", | ||
"eslint": "^8.57.0", | ||
"eslint-config-airbnb-base": "^15.0.0", | ||
"eslint-config-prettier": "^8.8.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-eslint-comments": "^3.1.2", | ||
"eslint-plugin-import": "^2.29.0", | ||
"eslint-plugin-jsdoc": "^46.4.3", | ||
"prettier": "^3.0.0", | ||
"ts-api-utils": "~1.0.1", | ||
"typescript": "~5.4.2" | ||
"typescript": "~5.5.0-dev.20240327" | ||
}, | ||
@@ -93,3 +91,3 @@ "files": [ | ||
}, | ||
"gitHead": "36384eb5a4bbd11dd3d06a8045d620f8d6569590" | ||
"gitHead": "25229bdcc26babb3afe0c229df4283a0f3c105f3" | ||
} |
13
32884
370
Updated@endo/eventual-send@^1.2.1
Updated@endo/promise-kit@^1.1.1
Updatedses@^1.4.1