@idlebox/stripe-node-types 24.0.14 → 24.0.15
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.
- package/README.md +1 -1
- package/assert/strict.d.ts +98 -1
- package/assert.d.ts +147 -248
- package/async_hooks.d.ts +5 -5
- package/buffer.buffer.d.ts +9 -6
- package/buffer.d.ts +49 -169
- package/child_process.d.ts +102 -223
- package/cluster.d.ts +236 -329
- package/console.d.ts +45 -346
- package/constants.d.ts +0 -1
- package/crypto.d.ts +698 -1149
- package/dgram.d.ts +15 -50
- package/diagnostics_channel.d.ts +1 -3
- package/dns.d.ts +135 -131
- package/domain.d.ts +10 -14
- package/events.d.ts +846 -722
- package/fs/promises.d.ts +102 -53
- package/fs.d.ts +714 -484
- package/globals.d.ts +130 -347
- package/globals.typedarray.d.ts +79 -0
- package/http.d.ts +343 -246
- package/http2.d.ts +563 -711
- package/https.d.ts +70 -216
- package/index.d.ts +24 -3
- package/inspector/promises.d.ts +54 -0
- package/inspector.d.ts +167 -3938
- package/inspector.generated.d.ts +4242 -0
- package/module.d.ts +45 -95
- package/net.d.ts +87 -186
- package/os.d.ts +17 -6
- package/package.json +3 -8
- package/path/posix.d.ts +20 -0
- package/path/win32.d.ts +20 -0
- package/path.d.ts +117 -122
- package/perf_hooks.d.ts +295 -644
- package/process.d.ts +177 -138
- package/punycode.d.ts +2 -2
- package/querystring.d.ts +1 -1
- package/quic.d.ts +926 -0
- package/readline/promises.d.ts +1 -1
- package/readline.d.ts +65 -118
- package/repl.d.ts +83 -96
- package/sea.d.ts +10 -1
- package/sqlite.d.ts +262 -13
- package/stream/consumers.d.ts +7 -7
- package/stream/promises.d.ts +133 -12
- package/stream/web.d.ts +173 -495
- package/stream.d.ts +593 -490
- package/string_decoder.d.ts +3 -3
- package/test/reporters.d.ts +112 -0
- package/test.d.ts +223 -199
- package/timers/promises.d.ts +1 -1
- package/timers.d.ts +1 -129
- package/tls.d.ts +148 -163
- package/trace_events.d.ts +6 -6
- package/ts5.6/buffer.buffer.d.ts +10 -8
- package/ts5.6/globals.typedarray.d.ts +16 -0
- package/ts5.6/index.d.ts +24 -3
- package/ts5.7/index.d.ts +24 -3
- package/tty.d.ts +55 -13
- package/url.d.ts +92 -587
- package/util/types.d.ts +571 -0
- package/util.d.ts +143 -792
- package/v8.d.ts +67 -7
- package/vm.d.ts +252 -108
- package/wasi.d.ts +23 -2
- package/web-globals/abortcontroller.d.ts +75 -0
- package/web-globals/blob.d.ts +39 -0
- package/{ts5.1/compatibility/disposable.d.ts → web-globals/console.d.ts} +6 -9
- package/web-globals/crypto.d.ts +55 -0
- package/web-globals/domexception.d.ts +84 -0
- package/web-globals/encoding.d.ts +27 -0
- package/{dom-events.d.ts → web-globals/events.d.ts} +57 -50
- package/web-globals/fetch.d.ts +70 -0
- package/web-globals/importmeta.d.ts +29 -0
- package/web-globals/messaging.d.ts +39 -0
- package/web-globals/navigator.d.ts +41 -0
- package/web-globals/performance.d.ts +61 -0
- package/web-globals/storage.d.ts +40 -0
- package/web-globals/streams.d.ts +131 -0
- package/web-globals/timers.d.ts +60 -0
- package/web-globals/url.d.ts +40 -0
- package/worker_threads.d.ts +291 -349
- package/zlib.d.ts +44 -94
- package/ts5.1/index.d.ts +0 -115
package/domain.d.ts
CHANGED
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
* will be notified, rather than losing the context of the error in the `process.on('uncaughtException')` handler, or causing the program to
|
|
28
28
|
* exit immediately with an error code.
|
|
29
29
|
* @deprecated Since v1.4.2 - Deprecated
|
|
30
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
30
|
+
* @see [source](https://github.com/nodejs/node/blob/v25.x/lib/domain.js)
|
|
31
31
|
*/
|
|
32
32
|
|
|
33
33
|
declare module "node:domain" {
|
|
34
|
-
import EventEmitter
|
|
34
|
+
import { EventEmitter } from 'node:events';
|
|
35
35
|
/**
|
|
36
36
|
* The `Domain` class encapsulates the functionality of routing errors and
|
|
37
37
|
* uncaught exceptions to the active `Domain` object.
|
|
@@ -40,10 +40,9 @@ declare module "node:domain" {
|
|
|
40
40
|
*/
|
|
41
41
|
class Domain extends EventEmitter {
|
|
42
42
|
/**
|
|
43
|
-
* An array of
|
|
44
|
-
* to the domain.
|
|
43
|
+
* An array of event emitters that have been explicitly added to the domain.
|
|
45
44
|
*/
|
|
46
|
-
members:
|
|
45
|
+
members: EventEmitter[];
|
|
47
46
|
/**
|
|
48
47
|
* The `enter()` method is plumbing used by the `run()`, `bind()`, and `intercept()` methods to set the active domain. It sets `domain.active` and `process.domain` to the domain, and implicitly
|
|
49
48
|
* pushes the domain onto the domain
|
|
@@ -107,20 +106,17 @@ declare module "node:domain" {
|
|
|
107
106
|
* will be routed to the domain's `'error'` event, just like with implicit
|
|
108
107
|
* binding.
|
|
109
108
|
*
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
* If the Timer or `EventEmitter` was already bound to a domain, it is removed
|
|
114
|
-
* from that one, and bound to this one instead.
|
|
115
|
-
* @param emitter emitter or timer to be added to the domain
|
|
109
|
+
* If the `EventEmitter` was already bound to a domain, it is removed from that
|
|
110
|
+
* one, and bound to this one instead.
|
|
111
|
+
* @param emitter emitter to be added to the domain
|
|
116
112
|
*/
|
|
117
|
-
add(emitter: EventEmitter
|
|
113
|
+
add(emitter: EventEmitter): void;
|
|
118
114
|
/**
|
|
119
115
|
* The opposite of {@link add}. Removes domain handling from the
|
|
120
116
|
* specified emitter.
|
|
121
|
-
* @param emitter emitter
|
|
117
|
+
* @param emitter emitter to be removed from the domain
|
|
122
118
|
*/
|
|
123
|
-
remove(emitter: EventEmitter
|
|
119
|
+
remove(emitter: EventEmitter): void;
|
|
124
120
|
/**
|
|
125
121
|
* The returned function will be a wrapper around the supplied callback
|
|
126
122
|
* function. When the returned function is called, any errors that are
|