| author | |
| committer | |
| log | 5f3f3f2f854cf5390a4de275574db4a8d4a4cf8c |
| tree | acadca0225e51451f7c7beba1e88986a8ea8f037 |
| parent | 3c3cdcccc9b633ab2ea0e14158e780bab6bbed15 |
| signature | Signed by SSH key SHA256:cOKiuRFOeSRxne6EWgHtdQQSlBxjOXm2hOCFnCdLQbQ (~clover) |
closes #1083 files changed, 6 insertions(+), 3 deletions(-)
lib/async.ts+1-1| ... | ... | @@ -152,7 +152,7 @@ export class DedupeConcurrent<Args extends unknown[], Ret> { |
| 152 | 152 | if (promise) return promise; |
| 153 | 153 | promise = this.fn(...args); |
| 154 | 154 | this.pending.set(k, promise); |
| 155 | void promise.finally(() => void this.pending.delete(k)); | |
| 155 | void promise.finally(() => void this.pending.delete(k)).catch(() => {}); | |
| 156 | 156 | return promise; |
| 157 | 157 | }; |
| 158 | 158 | } |
lib/readme.changes.md+5| ... | ... | @@ -10,6 +10,11 @@ |
| 10 | 10 | - finally fixes resize corruptions for long running widgets |
| 11 | 11 | - `string/ansi`: add `inverse`, `resetInverse`, and `cursorHome`. |
| 12 | 12 | |
| 13 | ### fixes | |
| 14 | ||
| 15 | - `async.DedupeConcurrent` no longer causes unhandled rejections with correct | |
| 16 | caller error handling. | |
| 17 | ||
| 13 | 18 | ## v7 |
| 14 | 19 | |
| 15 | 20 | ### features |
lib/repl.ts-2| ... | ... | @@ -18,8 +18,6 @@ |
| 18 | 18 | * // ... |
| 19 | 19 | * }, |
| 20 | 20 | * }, |
| 21 | * | |
| 22 | * // many more options to customize how it displays | |
| 23 | 21 | * }); |
| 24 | 22 | * |
| 25 | 23 | * import * as repl from "@clo/lib/repl"; |