@whatwg-node/disposablestack
Advanced tools
Comparing version 0.0.6-rc-20250225122341-dce1398a51f890a76484d8b3fc555b10be34f06d to 0.0.6-rc-20250225125651-b62ba1ff61fd883944312b483b4ac0a4c9f269c0
@@ -47,3 +47,3 @@ "use strict"; | ||
if (cb) { | ||
return (0, promise_helpers_1.handleMaybePromiseLike)(cb, () => this._iterateCallbacks(), error => { | ||
return (0, promise_helpers_1.handleMaybePromise)(cb, () => this._iterateCallbacks(), error => { | ||
this._error = this._error ? new SuppressedError(error, this._error) : error; | ||
@@ -50,0 +50,0 @@ return this._iterateCallbacks(); |
@@ -1,2 +0,2 @@ | ||
import { handleMaybePromiseLike } from '@whatwg-node/promise-helpers'; | ||
import { handleMaybePromise } from '@whatwg-node/promise-helpers'; | ||
import { PonyfillSuppressedError } from './SupressedError.js'; | ||
@@ -44,3 +44,3 @@ import { DisposableSymbols } from './symbols.js'; | ||
if (cb) { | ||
return handleMaybePromiseLike(cb, () => this._iterateCallbacks(), error => { | ||
return handleMaybePromise(cb, () => this._iterateCallbacks(), error => { | ||
this._error = this._error ? new SuppressedError(error, this._error) : error; | ||
@@ -47,0 +47,0 @@ return this._iterateCallbacks(); |
{ | ||
"name": "@whatwg-node/disposablestack", | ||
"version": "0.0.6-rc-20250225122341-dce1398a51f890a76484d8b3fc555b10be34f06d", | ||
"version": "0.0.6-rc-20250225125651-b62ba1ff61fd883944312b483b4ac0a4c9f269c0", | ||
"description": "Cross Platform Smart DisposableStack API Ponyfill", | ||
"sideEffects": false, | ||
"dependencies": { | ||
"@whatwg-node/promise-helpers": "0.0.1-rc-20250225122341-dce1398a51f890a76484d8b3fc555b10be34f06d", | ||
"@whatwg-node/promise-helpers": "0.0.1-rc-20250225125651-b62ba1ff61fd883944312b483b4ac0a4c9f269c0", | ||
"tslib": "^2.6.3" | ||
@@ -9,0 +9,0 @@ }, |
@@ -1,2 +0,2 @@ | ||
import { MaybePromiseLike } from '@whatwg-node/promise-helpers'; | ||
import { type MaybePromiseLike } from '@whatwg-node/promise-helpers'; | ||
import { DisposableSymbols } from './symbols.js'; | ||
@@ -3,0 +3,0 @@ export declare class PonyfillAsyncDisposableStack implements AsyncDisposableStack { |
Sorry, the diff of this file is not supported yet
17626
+ Added@whatwg-node/promise-helpers@0.0.1-rc-20250225125651-b62ba1ff61fd883944312b483b4ac0a4c9f269c0(transitive)
- Removed@whatwg-node/promise-helpers@0.0.1-rc-20250225122341-dce1398a51f890a76484d8b3fc555b10be34f06d(transitive)
Updated@whatwg-node/promise-helpers@0.0.1-rc-20250225125651-b62ba1ff61fd883944312b483b4ac0a4c9f269c0