Socket
Socket
Sign inDemoInstall

@types/node

Package Overview
Dependencies
Maintainers
1
Versions
1894
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/node - npm Package Compare versions

Comparing version 20.14.12 to 22.0.0

10

node/assert.d.ts
/**
* The `node:assert` module provides a set of assertion functions for verifying
* invariants.
* @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/assert.js)
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/assert.js)
*/

@@ -799,3 +799,3 @@ declare module "assert" {

* If `asyncFn` is a function and it throws an error synchronously, `assert.rejects()` will return a rejected `Promise` with that error. If the
* function does not return a promise, `assert.rejects()` will return a rejected `Promise` with an [ERR_INVALID_RETURN_VALUE](https://nodejs.org/docs/latest-v20.x/api/errors.html#err_invalid_return_value)
* function does not return a promise, `assert.rejects()` will return a rejected `Promise` with an [ERR_INVALID_RETURN_VALUE](https://nodejs.org/docs/latest-v22.x/api/errors.html#err_invalid_return_value)
* error. In both cases the error handler is skipped.

@@ -870,3 +870,3 @@ *

* the function does not return a promise, `assert.doesNotReject()` will return a
* rejected `Promise` with an [ERR_INVALID_RETURN_VALUE](https://nodejs.org/docs/latest-v20.x/api/errors.html#err_invalid_return_value) error. In both cases
* rejected `Promise` with an [ERR_INVALID_RETURN_VALUE](https://nodejs.org/docs/latest-v22.x/api/errors.html#err_invalid_return_value) error. In both cases
* the error handler is skipped.

@@ -934,3 +934,3 @@ *

* undefined, a default error message is assigned. If the `message` parameter is an
* instance of an [Error](https://nodejs.org/docs/latest-v20.x/api/errors.html#class-error) then it will be thrown instead of the `{@link AssertionError}`.
* instance of an [Error](https://nodejs.org/docs/latest-v22.x/api/errors.html#class-error) then it will be thrown instead of the `{@link AssertionError}`.
* @since v13.6.0, v12.16.0

@@ -958,3 +958,3 @@ */

* undefined, a default error message is assigned. If the `message` parameter is an
* instance of an [Error](https://nodejs.org/docs/latest-v20.x/api/errors.html#class-error) then it will be thrown instead of the `{@link AssertionError}`.
* instance of an [Error](https://nodejs.org/docs/latest-v22.x/api/errors.html#class-error) then it will be thrown instead of the `{@link AssertionError}`.
* @since v13.6.0, v12.16.0

@@ -961,0 +961,0 @@ */

@@ -5,4 +5,4 @@ /**

*
* * [`AsyncLocalStorage`](https://nodejs.org/docs/latest-v20.x/api/async_context.html#class-asynclocalstorage) tracks async context
* * [`process.getActiveResourcesInfo()`](https://nodejs.org/docs/latest-v20.x/api/process.html#processgetactiveresourcesinfo) tracks active resources
* * [`AsyncLocalStorage`](https://nodejs.org/docs/latest-v22.x/api/async_context.html#class-asynclocalstorage) tracks async context
* * [`process.getActiveResourcesInfo()`](https://nodejs.org/docs/latest-v22.x/api/process.html#processgetactiveresourcesinfo) tracks active resources
*

@@ -16,3 +16,3 @@ * The `node:async_hooks` module provides an API to track asynchronous resources.

* @experimental
* @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/async_hooks.js)
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/async_hooks.js)
*/

@@ -49,3 +49,3 @@ declare module "async_hooks" {

* Promise contexts may not get precise `executionAsyncIds` by default.
* See the section on [promise execution tracking](https://nodejs.org/docs/latest-v20.x/api/async_hooks.html#promise-execution-tracking).
* See the section on [promise execution tracking](https://nodejs.org/docs/latest-v22.x/api/async_hooks.html#promise-execution-tracking).
* @since v8.1.0

@@ -123,3 +123,3 @@ * @return The `asyncId` of the current execution context. Useful to track when something calls.

* Promise contexts may not get valid `triggerAsyncId`s by default. See
* the section on [promise execution tracking](https://nodejs.org/docs/latest-v20.x/api/async_hooks.html#promise-execution-tracking).
* the section on [promise execution tracking](https://nodejs.org/docs/latest-v22.x/api/async_hooks.html#promise-execution-tracking).
* @return The ID of the resource responsible for calling the callback that is currently being executed.

@@ -126,0 +126,0 @@ */

/**
* Clusters of Node.js processes can be used to run multiple instances of Node.js
* that can distribute workloads among their application threads. When process isolation
* is not needed, use the [`worker_threads`](https://nodejs.org/docs/latest-v20.x/api/worker_threads.html)
* is not needed, use the [`worker_threads`](https://nodejs.org/docs/latest-v22.x/api/worker_threads.html)
* module instead, which allows running multiple application threads within a single Node.js instance.

@@ -53,3 +53,3 @@ *

* On Windows, it is not yet possible to set up a named pipe server in a worker.
* @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/cluster.js)
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/cluster.js)
*/

@@ -84,4 +84,4 @@ declare module "cluster" {

* Configures the stdio of forked processes. Because the cluster module relies on IPC to function, this configuration must
* contain an `'ipc'` entry. When this option is provided, it overrides `silent`. See [`child_prcess.spawn()`](https://nodejs.org/docs/latest-v20.x/api/child_process.html#child_processspawncommand-args-options)'s
* [`stdio`](https://nodejs.org/docs/latest-v20.x/api/child_process.html#optionsstdio).
* contain an `'ipc'` entry. When this option is provided, it overrides `silent`. See [`child_prcess.spawn()`](https://nodejs.org/docs/latest-v22.x/api/child_process.html#child_processspawncommand-args-options)'s
* [`stdio`](https://nodejs.org/docs/latest-v22.x/api/child_process.html#optionsstdio).
*/

@@ -104,3 +104,3 @@ stdio?: any[] | undefined;

* Specify the kind of serialization used for sending messages between processes. Possible values are `'json'` and `'advanced'`.
* See [Advanced serialization for `child_process`](https://nodejs.org/docs/latest-v20.x/api/child_process.html#advanced-serialization) for more details.
* See [Advanced serialization for `child_process`](https://nodejs.org/docs/latest-v22.x/api/child_process.html#advanced-serialization) for more details.
* @default false

@@ -148,6 +148,6 @@ */

/**
* All workers are created using [`child_process.fork()`](https://nodejs.org/docs/latest-v20.x/api/child_process.html#child_processforkmodulepath-args-options), the returned object
* All workers are created using [`child_process.fork()`](https://nodejs.org/docs/latest-v22.x/api/child_process.html#child_processforkmodulepath-args-options), the returned object
* from this function is stored as `.process`. In a worker, the global `process` is stored.
*
* See: [Child Process module](https://nodejs.org/docs/latest-v20.x/api/child_process.html#child_processforkmodulepath-args-options).
* See: [Child Process module](https://nodejs.org/docs/latest-v22.x/api/child_process.html#child_processforkmodulepath-args-options).
*

@@ -163,3 +163,3 @@ * Workers will call `process.exit(0)` if the `'disconnect'` event occurs

*
* In the primary, this sends a message to a specific worker. It is identical to [`ChildProcess.send()`](https://nodejs.org/docs/latest-v20.x/api/child_process.html#subprocesssendmessage-sendhandle-options-callback).
* In the primary, this sends a message to a specific worker. It is identical to [`ChildProcess.send()`](https://nodejs.org/docs/latest-v22.x/api/child_process.html#subprocesssendmessage-sendhandle-options-callback).
*

@@ -206,3 +206,3 @@ * In a worker, this sends a message to the primary. It is identical to `process.send()`.

* In a worker, `process.kill()` exists, but it is not this function;
* it is [`kill()`](https://nodejs.org/docs/latest-v20.x/api/process.html#processkillpid-signal).
* it is [`kill()`](https://nodejs.org/docs/latest-v22.x/api/process.html#processkillpid-signal).
* @since v0.9.12

@@ -420,3 +420,3 @@ * @param [signal='SIGTERM'] Name of the kill signal to send to the worker process.

* The scheduling policy, either `cluster.SCHED_RR` for round-robin or `cluster.SCHED_NONE` to leave it to the operating system. This is a
* global setting and effectively frozen once either the first worker is spawned, or [`.setupPrimary()`](https://nodejs.org/docs/latest-v20.x/api/cluster.html#clustersetupprimarysettings)
* global setting and effectively frozen once either the first worker is spawned, or [`.setupPrimary()`](https://nodejs.org/docs/latest-v22.x/api/cluster.html#clustersetupprimarysettings)
* is called, whichever comes first.

@@ -432,4 +432,4 @@ *

/**
* After calling [`.setupPrimary()`](https://nodejs.org/docs/latest-v20.x/api/cluster.html#clustersetupprimarysettings)
* (or [`.fork()`](https://nodejs.org/docs/latest-v20.x/api/cluster.html#clusterforkenv)) this settings object will contain
* After calling [`.setupPrimary()`](https://nodejs.org/docs/latest-v22.x/api/cluster.html#clustersetupprimarysettings)
* (or [`.fork()`](https://nodejs.org/docs/latest-v22.x/api/cluster.html#clusterforkenv)) this settings object will contain
* the settings, including the default values.

@@ -441,3 +441,3 @@ *

readonly settings: ClusterSettings;
/** @deprecated since v16.0.0 - use [`.setupPrimary()`](https://nodejs.org/docs/latest-v20.x/api/cluster.html#clustersetupprimarysettings) instead. */
/** @deprecated since v16.0.0 - use [`.setupPrimary()`](https://nodejs.org/docs/latest-v22.x/api/cluster.html#clustersetupprimarysettings) instead. */
setupMaster(settings?: ClusterSettings): void;

@@ -447,7 +447,7 @@ /**

*
* Any settings changes only affect future calls to [`.fork()`](https://nodejs.org/docs/latest-v20.x/api/cluster.html#clusterforkenv)
* Any settings changes only affect future calls to [`.fork()`](https://nodejs.org/docs/latest-v22.x/api/cluster.html#clusterforkenv)
* and have no effect on workers that are already running.
*
* The only attribute of a worker that cannot be set via `.setupPrimary()` is the `env` passed to
* [`.fork()`](https://nodejs.org/docs/latest-v20.x/api/cluster.html#clusterforkenv).
* [`.fork()`](https://nodejs.org/docs/latest-v22.x/api/cluster.html#clusterforkenv).
*

@@ -454,0 +454,0 @@ * The defaults above apply to the first call only; the defaults for later calls are the current values at the time of

@@ -8,8 +8,8 @@ /**

* * A `Console` class with methods such as `console.log()`, `console.error()`, and `console.warn()` that can be used to write to any Node.js stream.
* * A global `console` instance configured to write to [`process.stdout`](https://nodejs.org/docs/latest-v20.x/api/process.html#processstdout) and
* [`process.stderr`](https://nodejs.org/docs/latest-v20.x/api/process.html#processstderr). The global `console` can be used without calling `require('node:console')`.
* * A global `console` instance configured to write to [`process.stdout`](https://nodejs.org/docs/latest-v22.x/api/process.html#processstdout) and
* [`process.stderr`](https://nodejs.org/docs/latest-v22.x/api/process.html#processstderr). The global `console` can be used without calling `require('node:console')`.
*
* _**Warning**_: The global console object's methods are neither consistently
* synchronous like the browser APIs they resemble, nor are they consistently
* asynchronous like all other Node.js streams. See the [`note on process I/O`](https://nodejs.org/docs/latest-v20.x/api/process.html#a-note-on-process-io) for
* asynchronous like all other Node.js streams. See the [`note on process I/O`](https://nodejs.org/docs/latest-v22.x/api/process.html#a-note-on-process-io) for
* more information.

@@ -58,3 +58,3 @@ *

* ```
* @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/console.js)
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/console.js)
*/

@@ -75,3 +75,3 @@ declare module "console" {

* starts with `"Assertion failed"`. If provided, `message` is formatted using
* [`util.format()`](https://nodejs.org/docs/latest-v20.x/api/util.html#utilformatformat-args).
* [`util.format()`](https://nodejs.org/docs/latest-v22.x/api/util.html#utilformatformat-args).
*

@@ -158,3 +158,3 @@ * If `value` is [truthy](https://developer.mozilla.org/en-US/docs/Glossary/Truthy), nothing happens.

/**
* Uses [`util.inspect()`](https://nodejs.org/docs/latest-v20.x/api/util.html#utilinspectobject-options) on `obj` and prints the resulting string to `stdout`.
* Uses [`util.inspect()`](https://nodejs.org/docs/latest-v22.x/api/util.html#utilinspectobject-options) on `obj` and prints the resulting string to `stdout`.
* This function bypasses any custom `inspect()` function defined on `obj`.

@@ -174,3 +174,3 @@ * @since v0.1.101

* values similar to [`printf(3)`](http://man7.org/linux/man-pages/man3/printf.3.html)
* (the arguments are all passed to [`util.format()`](https://nodejs.org/docs/latest-v20.x/api/util.html#utilformatformat-args)).
* (the arguments are all passed to [`util.format()`](https://nodejs.org/docs/latest-v22.x/api/util.html#utilformatformat-args)).
*

@@ -186,4 +186,4 @@ * ```js

* If formatting elements (e.g. `%d`) are not found in the first string then
* [`util.inspect()`](https://nodejs.org/docs/latest-v20.x/api/util.html#utilinspectobject-options) is called on each argument and the
* resulting string values are concatenated. See [`util.format()`](https://nodejs.org/docs/latest-v20.x/api/util.html#utilformatformat-args)
* [`util.inspect()`](https://nodejs.org/docs/latest-v22.x/api/util.html#utilinspectobject-options) is called on each argument and the
* resulting string values are concatenated. See [`util.format()`](https://nodejs.org/docs/latest-v22.x/api/util.html#utilformatformat-args)
* for more information.

@@ -220,3 +220,3 @@ * @since v0.1.100

* values similar to [`printf(3)`](http://man7.org/linux/man-pages/man3/printf.3.html)
* (the arguments are all passed to [`util.format()`](https://nodejs.org/docs/latest-v20.x/api/util.html#utilformatformat-args)).
* (the arguments are all passed to [`util.format()`](https://nodejs.org/docs/latest-v22.x/api/util.html#utilformatformat-args)).
*

@@ -231,3 +231,3 @@ * ```js

*
* See [`util.format()`](https://nodejs.org/docs/latest-v20.x/api/util.html#utilformatformat-args) for more information.
* See [`util.format()`](https://nodejs.org/docs/latest-v22.x/api/util.html#utilformatformat-args) for more information.
* @since v0.1.100

@@ -308,3 +308,3 @@ */

/**
* Prints to `stderr` the string `'Trace: '`, followed by the [`util.format()`](https://nodejs.org/docs/latest-v20.x/api/util.html#utilformatformat-args)
* Prints to `stderr` the string `'Trace: '`, followed by the [`util.format()`](https://nodejs.org/docs/latest-v22.x/api/util.html#utilformatformat-args)
* formatted message and stack trace to the current position in the code.

@@ -373,8 +373,8 @@ *

* * A `Console` class with methods such as `console.log()`, `console.error()` and `console.warn()` that can be used to write to any Node.js stream.
* * A global `console` instance configured to write to [`process.stdout`](https://nodejs.org/docs/latest-v20.x/api/process.html#processstdout) and
* [`process.stderr`](https://nodejs.org/docs/latest-v20.x/api/process.html#processstderr). The global `console` can be used without calling `require('console')`.
* * A global `console` instance configured to write to [`process.stdout`](https://nodejs.org/docs/latest-v22.x/api/process.html#processstdout) and
* [`process.stderr`](https://nodejs.org/docs/latest-v22.x/api/process.html#processstderr). The global `console` can be used without calling `require('console')`.
*
* _**Warning**_: The global console object's methods are neither consistently
* synchronous like the browser APIs they resemble, nor are they consistently
* asynchronous like all other Node.js streams. See the [`note on process I/O`](https://nodejs.org/docs/latest-v20.x/api/process.html#a-note-on-process-io) for
* asynchronous like all other Node.js streams. See the [`note on process I/O`](https://nodejs.org/docs/latest-v22.x/api/process.html#a-note-on-process-io) for
* more information.

@@ -423,3 +423,3 @@ *

* ```
* @see [source](https://github.com/nodejs/node/blob/v20.11.1/lib/console.js)
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/console.js)
*/

@@ -445,3 +445,3 @@ namespace console {

* Specifies options that are passed along to
* [`util.inspect()`](https://nodejs.org/docs/latest-v20.x/api/util.html#utilinspectobject-options).
* [`util.inspect()`](https://nodejs.org/docs/latest-v22.x/api/util.html#utilinspectobject-options).
*/

@@ -448,0 +448,0 @@ inspectOptions?: InspectOptions | undefined;

@@ -26,3 +26,3 @@ /**

* ```
* @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/dgram.js)
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/dgram.js)
*/

@@ -29,0 +29,0 @@ declare module "dgram" {

@@ -23,3 +23,3 @@ /**

* @since v15.1.0, v14.17.0
* @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/diagnostics_channel.js)
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/diagnostics_channel.js)
*/

@@ -26,0 +26,0 @@ declare module "diagnostics_channel" {

@@ -44,4 +44,4 @@ /**

*
* See the [Implementation considerations section](https://nodejs.org/docs/latest-v20.x/api/dns.html#implementation-considerations) for more information.
* @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/dns.js)
* See the [Implementation considerations section](https://nodejs.org/docs/latest-v22.x/api/dns.html#implementation-considerations) for more information.
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/dns.js)
*/

@@ -75,3 +75,3 @@ declare module "dns" {

/**
* One or more [supported `getaddrinfo`](https://nodejs.org/docs/latest-v20.x/api/dns.html#supported-getaddrinfo-flags) flags. Multiple flags may be
* One or more [supported `getaddrinfo`](https://nodejs.org/docs/latest-v22.x/api/dns.html#supported-getaddrinfo-flags) flags. Multiple flags may be
* passed by bitwise `OR`ing their values.

@@ -89,3 +89,3 @@ */

* addresses before IPv4 addresses. Default value is configurable using
* {@link setDefaultResultOrder} or [`--dns-result-order`](https://nodejs.org/docs/latest-v20.x/api/cli.html#--dns-result-orderorder).
* {@link setDefaultResultOrder} or [`--dns-result-order`](https://nodejs.org/docs/latest-v22.x/api/cli.html#--dns-result-orderorder).
* @default `verbatim` (addresses are not reordered)

@@ -98,3 +98,3 @@ */

* `order` has higher precedence. New code should only use `order`. Default value is configurable using {@link setDefaultResultOrder}
* or [`--dns-result-order`](https://nodejs.org/docs/latest-v20.x/api/cli.html#--dns-result-orderorder).
* or [`--dns-result-order`](https://nodejs.org/docs/latest-v22.x/api/cli.html#--dns-result-orderorder).
* @default true (addresses are not reordered)

@@ -139,3 +139,3 @@ */

* important consequences on the behavior of any Node.js program. Please take some
* time to consult the [Implementation considerations section](https://nodejs.org/docs/latest-v20.x/api/dns.html#implementation-considerations)
* time to consult the [Implementation considerations section](https://nodejs.org/docs/latest-v22.x/api/dns.html#implementation-considerations)
* before using `dns.lookup()`.

@@ -162,3 +162,3 @@ *

*
* If this method is invoked as its [util.promisify()](https://nodejs.org/docs/latest-v20.x/api/util.html#utilpromisifyoriginal) ed
* If this method is invoked as its [util.promisify()](https://nodejs.org/docs/latest-v22.x/api/util.html#utilpromisifyoriginal) ed
* version, and `all` is not set to `true`, it returns a `Promise` for an `Object` with `address` and `family` properties.

@@ -203,3 +203,3 @@ * @since v0.1.90

*
* On an error, `err` is an [`Error`](https://nodejs.org/docs/latest-v20.x/api/errors.html#class-error) object,
* On an error, `err` is an [`Error`](https://nodejs.org/docs/latest-v22.x/api/errors.html#class-error) object,
* where `err.code` is the error code.

@@ -215,3 +215,3 @@ *

*
* If this method is invoked as its [util.promisify()](https://nodejs.org/docs/latest-v20.x/api/util.html#utilpromisifyoriginal) ed
* If this method is invoked as its [util.promisify()](https://nodejs.org/docs/latest-v22.x/api/util.html#utilpromisifyoriginal) ed
* version, it returns a `Promise` for an `Object` with `hostname` and `service` properties.

@@ -333,3 +333,3 @@ * @since v0.11.14

*
* On error, `err` is an [`Error`](https://nodejs.org/docs/latest-v20.x/api/errors.html#class-error) object,
* On error, `err` is an [`Error`](https://nodejs.org/docs/latest-v22.x/api/errors.html#class-error) object,
* where `err.code` is one of the `DNS error codes`.

@@ -675,4 +675,4 @@ * @since v0.1.27

*
* On error, `err` is an [`Error`](https://nodejs.org/docs/latest-v20.x/api/errors.html#class-error) object, where `err.code` is
* one of the [DNS error codes](https://nodejs.org/docs/latest-v20.x/api/dns.html#error-codes).
* On error, `err` is an [`Error`](https://nodejs.org/docs/latest-v22.x/api/errors.html#class-error) object, where `err.code` is
* one of the [DNS error codes](https://nodejs.org/docs/latest-v22.x/api/dns.html#error-codes).
* @since v0.1.16

@@ -685,3 +685,3 @@ */

/**
* Get the default value for `order` in {@link lookup} and [`dnsPromises.lookup()`](https://nodejs.org/docs/latest-v20.x/api/dns.html#dnspromiseslookuphostname-options).
* Get the default value for `order` in {@link lookup} and [`dnsPromises.lookup()`](https://nodejs.org/docs/latest-v22.x/api/dns.html#dnspromiseslookuphostname-options).
* The value could be:

@@ -741,3 +741,3 @@ *

/**
* Set the default value of `order` in {@link lookup} and [`dnsPromises.lookup()`](https://nodejs.org/docs/latest-v20.x/api/dns.html#dnspromiseslookuphostname-options).
* Set the default value of `order` in {@link lookup} and [`dnsPromises.lookup()`](https://nodejs.org/docs/latest-v22.x/api/dns.html#dnspromiseslookuphostname-options).
* The value could be:

@@ -750,4 +750,4 @@ *

* The default is `verbatim` and {@link setDefaultResultOrder} have higher
* priority than [`--dns-result-order`](https://nodejs.org/docs/latest-v20.x/api/cli.html#--dns-result-orderorder). When using
* [worker threads](https://nodejs.org/docs/latest-v20.x/api/worker_threads.html), {@link setDefaultResultOrder} from the main
* priority than [`--dns-result-order`](https://nodejs.org/docs/latest-v22.x/api/cli.html#--dns-result-orderorder). When using
* [worker threads](https://nodejs.org/docs/latest-v22.x/api/worker_threads.html), {@link setDefaultResultOrder} from the main
* thread won't affect the default dns orders in workers.

@@ -798,3 +798,3 @@ * @since v16.4.0, v14.18.0

* Creating a new resolver uses the default server settings. Setting
* the servers used for a resolver using [`resolver.setServers()`](https://nodejs.org/docs/latest-v20.x/api/dns.html#dnssetserversservers) does not affect
* the servers used for a resolver using [`resolver.setServers()`](https://nodejs.org/docs/latest-v22.x/api/dns.html#dnssetserversservers) does not affect
* other resolvers:

@@ -801,0 +801,0 @@ *

@@ -15,3 +15,3 @@ /**

* @deprecated Since v1.4.2 - Deprecated
* @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/domain.js)
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/domain.js)
*/

@@ -18,0 +18,0 @@ declare module "domain" {

@@ -35,3 +35,3 @@ /**

* ```
* @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/events.js)
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/events.js)
*/

@@ -38,0 +38,0 @@ declare module "events" {

@@ -23,2 +23,5 @@ /**

Dirent,
GlobOptions,
GlobOptionsWithFileTypes,
GlobOptionsWithoutFileTypes,
MakeDirectoryOptions,

@@ -1243,2 +1246,15 @@ Mode,

function cp(source: string | URL, destination: string | URL, opts?: CopyOptions): Promise<void>;
/**
* Retrieves the files matching the specified pattern.
*/
function glob(pattern: string | string[]): AsyncIterableIterator<string>;
/**
* Retrieves the files matching the specified pattern.
*/
function glob<Options extends GlobOptions>(
pattern: string | string[],
opt: Options,
): Options extends GlobOptionsWithFileTypes ? AsyncIterableIterator<Dirent>
: Options extends GlobOptionsWithoutFileTypes ? AsyncIterableIterator<string>
: AsyncIterableIterator<Dirent> | AsyncIterableIterator<string>;
}

@@ -1245,0 +1261,0 @@ declare module "node:fs/promises" {

/**
* HTTPS is the HTTP protocol over TLS/SSL. In Node.js this is implemented as a
* separate module.
* @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/https.js)
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/https.js)
*/

@@ -6,0 +6,0 @@ declare module "https" {

@@ -125,4 +125,2 @@ /**

}
/** @deprecated Use `ImportAttributes` instead */
interface ImportAssertions extends ImportAttributes {}
interface ImportAttributes extends NodeJS.Dict<string> {

@@ -161,6 +159,2 @@ type?: string | undefined;

/**
* @deprecated Use `importAttributes` instead
*/
importAssertions: ImportAttributes;
/**
* An object whose key-value pairs represent the assertions for the module to import

@@ -180,6 +174,2 @@ */

/**
* @deprecated Use `importAttributes` instead
*/
importAssertions?: ImportAttributes | undefined;
/**
* The import attributes to use when caching the module (optional; if excluded the input will be used)

@@ -225,6 +215,2 @@ */

/**
* @deprecated Use `importAttributes` instead
*/
importAssertions: ImportAttributes;
/**
* An object whose key-value pairs represent the assertions for the module to import

@@ -231,0 +217,0 @@ */

@@ -13,3 +13,3 @@ /**

* ```
* @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/net.js)
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/net.js)
*/

@@ -16,0 +16,0 @@ declare module "net" {

@@ -8,3 +8,3 @@ /**

* ```
* @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/os.js)
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/os.js)
*/

@@ -245,3 +245,3 @@ declare module "os" {

*
* Throws a [`SystemError`](https://nodejs.org/docs/latest-v20.x/api/errors.html#class-systemerror) if a user has no `username` or `homedir`.
* Throws a [`SystemError`](https://nodejs.org/docs/latest-v22.x/api/errors.html#class-systemerror) if a user has no `username` or `homedir`.
* @since v6.0.0

@@ -425,3 +425,3 @@ */

*
* The return value is equivalent to [process.arch](https://nodejs.org/docs/latest-v20.x/api/process.html#processarch).
* The return value is equivalent to [process.arch](https://nodejs.org/docs/latest-v22.x/api/process.html#processarch).
* @since v0.5.0

@@ -428,0 +428,0 @@ */

{
"name": "@types/node",
"version": "20.14.12",
"version": "22.0.0",
"description": "TypeScript definitions for node",

@@ -213,6 +213,6 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",

"dependencies": {
"undici-types": "~5.26.4"
"undici-types": "~6.11.1"
},
"typesPublisherContentHash": "9e6a411f225bdb4e807bf8a25271d2fc7c8aa163691598117f118732284e76e0",
"typesPublisherContentHash": "14d7e2fcf1f884d0f55bb00df1951b1b7f2ad5995765756491fdd7dca5fd256f",
"typeScriptVersion": "4.8"
}

@@ -16,3 +16,3 @@ declare module "path/posix" {

* ```
* @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/path.js)
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/path.js)
*/

@@ -19,0 +19,0 @@ declare module "path" {

@@ -30,3 +30,3 @@ /**

* ```
* @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/perf_hooks.js)
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/perf_hooks.js)
*/

@@ -834,3 +834,3 @@ declare module "perf_hooks" {

* `PerformanceEntry` is a global reference for `require('node:perf_hooks').PerformanceEntry`
* @see https://nodejs.org/docs/latest-v20.x/api/globals.html#performanceentry
* @see https://nodejs.org/docs/latest-v22.x/api/globals.html#performanceentry
* @since v19.0.0

@@ -845,3 +845,3 @@ */

* `PerformanceMark` is a global reference for `require('node:perf_hooks').PerformanceMark`
* @see https://nodejs.org/docs/latest-v20.x/api/globals.html#performancemark
* @see https://nodejs.org/docs/latest-v22.x/api/globals.html#performancemark
* @since v19.0.0

@@ -856,3 +856,3 @@ */

* `PerformanceMeasure` is a global reference for `require('node:perf_hooks').PerformanceMeasure`
* @see https://nodejs.org/docs/latest-v20.x/api/globals.html#performancemeasure
* @see https://nodejs.org/docs/latest-v22.x/api/globals.html#performancemeasure
* @since v19.0.0

@@ -867,3 +867,3 @@ */

* `PerformanceObserver` is a global reference for `require('node:perf_hooks').PerformanceObserver`
* @see https://nodejs.org/docs/latest-v20.x/api/globals.html#performanceobserver
* @see https://nodejs.org/docs/latest-v22.x/api/globals.html#performanceobserver
* @since v19.0.0

@@ -878,3 +878,3 @@ */

* `PerformanceObserverEntryList` is a global reference for `require('node:perf_hooks').PerformanceObserverEntryList`
* @see https://nodejs.org/docs/latest-v20.x/api/globals.html#performanceobserverentrylist
* @see https://nodejs.org/docs/latest-v22.x/api/globals.html#performanceobserverentrylist
* @since v19.0.0

@@ -889,3 +889,3 @@ */

* `PerformanceResourceTiming` is a global reference for `require('node:perf_hooks').PerformanceResourceTiming`
* @see https://nodejs.org/docs/latest-v20.x/api/globals.html#performanceresourcetiming
* @see https://nodejs.org/docs/latest-v22.x/api/globals.html#performanceresourcetiming
* @since v19.0.0

@@ -900,3 +900,3 @@ */

* `performance` is a global reference for `require('node:perf_hooks').performance`
* @see https://nodejs.org/docs/latest-v20.x/api/globals.html#performance
* @see https://nodejs.org/docs/latest-v22.x/api/globals.html#performance
* @since v16.0.0

@@ -903,0 +903,0 @@ */

@@ -27,3 +27,3 @@ /**

* @deprecated Since v7.0.0 - Deprecated
* @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/punycode.js)
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/punycode.js)
*/

@@ -30,0 +30,0 @@ declare module "punycode" {

@@ -12,3 +12,3 @@ /**

* when compatibility with browser code is desirable.
* @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/querystring.js)
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/querystring.js)
*/

@@ -15,0 +15,0 @@ declare module "querystring" {

/**
* The `node:readline` module provides an interface for reading data from a [Readable](https://nodejs.org/docs/latest-v20.x/api/stream.html#readable-streams) stream
* (such as [`process.stdin`](https://nodejs.org/docs/latest-v20.x/api/process.html#processstdin)) one line at a time.
* The `node:readline` module provides an interface for reading data from a [Readable](https://nodejs.org/docs/latest-v22.x/api/stream.html#readable-streams) stream
* (such as [`process.stdin`](https://nodejs.org/docs/latest-v22.x/api/process.html#processstdin)) one line at a time.
*

@@ -34,3 +34,3 @@ * To use the promise-based APIs:

* received on the `input` stream.
* @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/readline.js)
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/readline.js)
*/

@@ -50,3 +50,3 @@ declare module "readline" {

* Instances of the `readline.Interface` class are constructed using the `readline.createInterface()` method. Every instance is associated with a
* single `input` [Readable](https://nodejs.org/docs/latest-v20.x/api/stream.html#readable-streams) stream and a single `output` [Writable](https://nodejs.org/docs/latest-v20.x/api/stream.html#writable-streams) stream.
* single `input` [Readable](https://nodejs.org/docs/latest-v22.x/api/stream.html#readable-streams) stream and a single `output` [Writable](https://nodejs.org/docs/latest-v22.x/api/stream.html#writable-streams) stream.
* The `output` stream is used to print prompts for user input that arrives on,

@@ -105,3 +105,3 @@ * and is read from, the `input` stream.

*
* @see https://nodejs.org/dist/latest-v20.x/docs/api/readline.html#class-interfaceconstructor
* @see https://nodejs.org/dist/latest-v22.x/docs/api/readline.html#class-interfaceconstructor
*/

@@ -120,3 +120,3 @@ protected constructor(

*
* @see https://nodejs.org/dist/latest-v20.x/docs/api/readline.html#class-interfaceconstructor
* @see https://nodejs.org/dist/latest-v22.x/docs/api/readline.html#class-interfaceconstructor
*/

@@ -510,3 +510,3 @@ protected constructor(options: ReadLineOptions);

/**
* The `readline.clearLine()` method clears current line of given [TTY](https://nodejs.org/docs/latest-v20.x/api/tty.html) stream
* The `readline.clearLine()` method clears current line of given [TTY](https://nodejs.org/docs/latest-v22.x/api/tty.html) stream
* in a specified direction identified by `dir`.

@@ -519,3 +519,3 @@ * @since v0.7.7

/**
* The `readline.clearScreenDown()` method clears the given [TTY](https://nodejs.org/docs/latest-v20.x/api/tty.html) stream from
* The `readline.clearScreenDown()` method clears the given [TTY](https://nodejs.org/docs/latest-v22.x/api/tty.html) stream from
* the current position of the cursor down.

@@ -529,3 +529,3 @@ * @since v0.7.7

* The `readline.cursorTo()` method moves cursor to the specified position in a
* given [TTY](https://nodejs.org/docs/latest-v20.x/api/tty.html) `stream`.
* given [TTY](https://nodejs.org/docs/latest-v22.x/api/tty.html) `stream`.
* @since v0.7.7

@@ -538,3 +538,3 @@ * @param callback Invoked once the operation completes.

* The `readline.moveCursor()` method moves the cursor _relative_ to its current
* position in a given [TTY](https://nodejs.org/docs/latest-v20.x/api/tty.html) `stream`.
* position in a given [TTY](https://nodejs.org/docs/latest-v22.x/api/tty.html) `stream`.
* @since v0.7.7

@@ -541,0 +541,0 @@ * @param callback Invoked once the operation completes.

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Tue, 23 Jul 2024 18:09:25 GMT
* Last updated: Sun, 28 Jul 2024 10:07:16 GMT
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)

@@ -14,0 +14,0 @@

@@ -9,3 +9,3 @@ /**

* ```
* @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/repl.js)
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/repl.js)
*/

@@ -45,4 +45,4 @@ declare module "repl" {

*
* @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_default_evaluation
* @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_custom_evaluation_functions
* @see https://nodejs.org/dist/latest-v22.x/docs/api/repl.html#repl_default_evaluation
* @see https://nodejs.org/dist/latest-v22.x/docs/api/repl.html#repl_custom_evaluation_functions
*/

@@ -79,3 +79,3 @@ eval?: REPLEval | undefined;

*
* @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_customizing_repl_output
* @see https://nodejs.org/dist/latest-v22.x/docs/api/repl.html#repl_customizing_repl_output
*/

@@ -86,3 +86,3 @@ writer?: REPLWriter | undefined;

*
* @see https://nodejs.org/dist/latest-v20.x/docs/api/readline.html#readline_use_of_the_completer_function
* @see https://nodejs.org/dist/latest-v22.x/docs/api/readline.html#readline_use_of_the_completer_function
*/

@@ -175,3 +175,3 @@ completer?: Completer | AsyncCompleter | undefined;

*
* @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_commands_and_special_keys
* @see https://nodejs.org/dist/latest-v22.x/docs/api/repl.html#repl_commands_and_special_keys
*/

@@ -182,3 +182,3 @@ readonly editorMode: boolean;

*
* @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable
* @see https://nodejs.org/dist/latest-v22.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable
*/

@@ -189,3 +189,3 @@ readonly underscoreAssigned: boolean;

*
* @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable
* @see https://nodejs.org/dist/latest-v22.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable
*/

@@ -197,3 +197,3 @@ readonly last: any;

* @since v9.8.0
* @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable
* @see https://nodejs.org/dist/latest-v22.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable
*/

@@ -205,3 +205,3 @@ readonly underscoreErrAssigned: boolean;

* @since v9.8.0
* @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable
* @see https://nodejs.org/dist/latest-v22.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable
*/

@@ -258,3 +258,3 @@ readonly lastError: any;

*
* @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_class_replserver
* @see https://nodejs.org/dist/latest-v22.x/docs/api/repl.html#repl_class_replserver
*/

@@ -431,3 +431,3 @@ private constructor();

*
* @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_recoverable_errors
* @see https://nodejs.org/dist/latest-v22.x/docs/api/repl.html#repl_recoverable_errors
*/

@@ -434,0 +434,0 @@ class Recoverable extends SyntaxError {

@@ -114,3 +114,3 @@ /**

* @experimental
* @see [source](https://github.com/nodejs/node/blob/v20.12.0/src/node_sea.cc)
* @see [source](https://github.com/nodejs/node/blob/v22.x/src/node_sea.cc)
*/

@@ -117,0 +117,0 @@ declare module "node:sea" {

@@ -39,3 +39,3 @@ /**

* ```
* @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/string_decoder.js)
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/string_decoder.js)
*/

@@ -42,0 +42,0 @@ declare module "string_decoder" {

@@ -9,3 +9,3 @@ /**

* built around the Node.js [Event Loop](https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/#setimmediate-vs-settimeout).
* @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/timers.js)
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/timers.js)
*/

@@ -12,0 +12,0 @@ declare module "timers" {

@@ -9,3 +9,3 @@ /**

* ```
* @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/tls.js)
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/tls.js)
*/

@@ -1159,3 +1159,3 @@ declare module "tls" {

* Not all supported ciphers are enabled by default. See
* [Modifying the default TLS cipher suite](https://nodejs.org/docs/latest-v20.x/api/tls.html#modifying-the-default-tls-cipher-suite).
* [Modifying the default TLS cipher suite](https://nodejs.org/docs/latest-v22.x/api/tls.html#modifying-the-default-tls-cipher-suite).
*

@@ -1162,0 +1162,0 @@ * Cipher names that start with `'tls_'` are for TLSv1.3, all the others are for

@@ -12,4 +12,4 @@ /**

* * `node`: An empty placeholder.
* * `node.async_hooks`: Enables capture of detailed [`async_hooks`](https://nodejs.org/docs/latest-v20.x/api/async_hooks.html) trace data.
* The [`async_hooks`](https://nodejs.org/docs/latest-v20.x/api/async_hooks.html) events have a unique `asyncId` and a special `triggerId` `triggerAsyncId` property.
* * `node.async_hooks`: Enables capture of detailed [`async_hooks`](https://nodejs.org/docs/latest-v22.x/api/async_hooks.html) trace data.
* The [`async_hooks`](https://nodejs.org/docs/latest-v22.x/api/async_hooks.html) events have a unique `asyncId` and a special `triggerId` `triggerAsyncId` property.
* * `node.bootstrap`: Enables capture of Node.js bootstrap milestones.

@@ -26,3 +26,3 @@ * * `node.console`: Enables capture of `console.time()` and `console.count()` output.

* * `node.fs_dir.async`: Enables capture of trace data for file system async directory methods.
* * `node.perf`: Enables capture of [Performance API](https://nodejs.org/docs/latest-v20.x/api/perf_hooks.html) measurements.
* * `node.perf`: Enables capture of [Performance API](https://nodejs.org/docs/latest-v22.x/api/perf_hooks.html) measurements.
* * `node.perf.usertiming`: Enables capture of only Performance API User Timing

@@ -35,3 +35,3 @@ * measures and marks.

* * `node.vm.script`: Enables capture of trace data for the `node:vm` module's `runInNewContext()`, `runInContext()`, and `runInThisContext()` methods.
* * `v8`: The [V8](https://nodejs.org/docs/latest-v20.x/api/v8.html) events are GC, compiling, and execution related.
* * `v8`: The [V8](https://nodejs.org/docs/latest-v22.x/api/v8.html) events are GC, compiling, and execution related.
* * `node.http`: Enables capture of trace data for http request / response.

@@ -94,5 +94,5 @@ *

*
* The features from this module are not available in [`Worker`](https://nodejs.org/docs/latest-v20.x/api/worker_threads.html#class-worker) threads.
* The features from this module are not available in [`Worker`](https://nodejs.org/docs/latest-v22.x/api/worker_threads.html#class-worker) threads.
* @experimental
* @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/trace_events.js)
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/trace_events.js)
*/

@@ -99,0 +99,0 @@ declare module "trace_events" {

@@ -24,3 +24,3 @@ /**

* manually create instances of the `tty.ReadStream` and `tty.WriteStream` classes.
* @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/tty.js)
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/tty.js)
*/

@@ -27,0 +27,0 @@ declare module "tty" {

@@ -8,3 +8,3 @@ /**

* ```
* @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/url.js)
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/url.js)
*/

@@ -11,0 +11,0 @@ declare module "url" {

@@ -7,3 +7,3 @@ /**

* ```
* @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/v8.js)
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/v8.js)
*/

@@ -470,3 +470,3 @@ declare module "v8" {

* The API is a no-op if `--heapsnapshot-near-heap-limit` is already set from the command line or the API is called more than once.
* `limit` must be a positive integer. See [`--heapsnapshot-near-heap-limit`](https://nodejs.org/docs/latest-v20.x/api/cli.html#--heapsnapshot-near-heap-limitmax_count) for more information.
* `limit` must be a positive integer. See [`--heapsnapshot-near-heap-limit`](https://nodejs.org/docs/latest-v22.x/api/cli.html#--heapsnapshot-near-heap-limitmax_count) for more information.
* @experimental

@@ -473,0 +473,0 @@ * @since v18.10.0, v16.18.0

@@ -37,3 +37,3 @@ /**

* ```
* @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/vm.js)
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/vm.js)
*/

@@ -70,3 +70,3 @@ declare module "vm" {

* part of the experimental modules API. We do not recommend using it in a production environment. For detailed information, see
* [Support of dynamic `import()` in compilation APIs](https://nodejs.org/docs/latest-v20.x/api/vm.html#support-of-dynamic-import-in-compilation-apis).
* [Support of dynamic `import()` in compilation APIs](https://nodejs.org/docs/latest-v22.x/api/vm.html#support-of-dynamic-import-in-compilation-apis).
*/

@@ -353,5 +353,5 @@ importModuleDynamically?:

* If given a `contextObject`, the `vm.createContext()` method will
* [prepare that object](https://nodejs.org/docs/latest-v20.x/api/vm.html#what-does-it-mean-to-contextify-an-object)
* [prepare that object](https://nodejs.org/docs/latest-v22.x/api/vm.html#what-does-it-mean-to-contextify-an-object)
* and return a reference to it so that it can be used in `{@link runInContext}` or
* [`script.runInContext()`](https://nodejs.org/docs/latest-v20.x/api/vm.html#scriptrunincontextcontextifiedobject-options). Inside such
* [`script.runInContext()`](https://nodejs.org/docs/latest-v22.x/api/vm.html#scriptrunincontextcontextifiedobject-options). Inside such
* scripts, the `contextObject` will be the global object, retaining all of its

@@ -604,4 +604,2 @@ * existing properties but also having the built-in objects and functions any

extra: {
/** @deprecated Use `attributes` instead */
assert: ImportAttributes;
attributes: ImportAttributes;

@@ -921,3 +919,3 @@ },

*
* For detailed information, see [Support of dynamic `import()` in compilation APIs](https://nodejs.org/docs/latest-v20.x/api/vm.html#support-of-dynamic-import-in-compilation-apis).
* For detailed information, see [Support of dynamic `import()` in compilation APIs](https://nodejs.org/docs/latest-v22.x/api/vm.html#support-of-dynamic-import-in-compilation-apis).
*/

@@ -924,0 +922,0 @@ const USE_MAIN_CONTEXT_DEFAULT_LOADER: number;

@@ -70,3 +70,3 @@ /**

* @experimental
* @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/wasi.js)
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/wasi.js)
*/

@@ -73,0 +73,0 @@ declare module "wasi" {

@@ -52,3 +52,3 @@ /**

* specifically `argv` and `execArgv` options.
* @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/worker_threads.js)
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/worker_threads.js)
*/

@@ -55,0 +55,0 @@ declare module "worker_threads" {

@@ -12,3 +12,3 @@ /**

* Compression and decompression are built around the Node.js
* [Streams API](https://nodejs.org/docs/latest-v20.x/api/stream.html).
* [Streams API](https://nodejs.org/docs/latest-v22.x/api/stream.html).
*

@@ -93,3 +93,3 @@ * Compressing or decompressing a stream (such as a file) can be accomplished by

* @since v0.5.8
* @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/zlib.js)
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/zlib.js)
*/

@@ -148,3 +148,3 @@ declare module "zlib" {

/**
* Limits output size when using [convenience methods](https://nodejs.org/docs/latest-v20.x/api/zlib.html#convenience-methods).
* Limits output size when using [convenience methods](https://nodejs.org/docs/latest-v22.x/api/zlib.html#convenience-methods).
* @default buffer.kMaxLength

@@ -151,0 +151,0 @@ */

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc