Socket
Socket
Sign inDemoInstall

@types/node

Package Overview
Dependencies
Maintainers
1
Versions
1916
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 16.18.97 to 16.18.98

2

node v16.18/assert.d.ts

@@ -799,3 +799,3 @@ /**

* an object where each property will be tested for, or an instance of error where
* each property will be tested for including the non-enumerable `message` and`name` properties.
* each property will be tested for including the non-enumerable `message` and `name` properties.
*

@@ -802,0 +802,0 @@ * If specified, `message` will be the message provided by the `AssertionError` if the `asyncFn` fails to reject.

@@ -96,3 +96,3 @@ /**

/**
* Tells the kernel to join a multicast group at the given `multicastAddress` and`multicastInterface` using the `IP_ADD_MEMBERSHIP` socket option. If the`multicastInterface` argument is not
* Tells the kernel to join a multicast group at the given `multicastAddress` and `multicastInterface` using the `IP_ADD_MEMBERSHIP` socket option. If the`multicastInterface` argument is not
* specified, the operating system will choose

@@ -126,3 +126,3 @@ * one interface and will add membership to it. To add membership to every

* Returns an object containing the address information for a socket.
* For UDP sockets, this object will contain `address`, `family` and `port`properties.
* For UDP sockets, this object will contain `address`, `family` and `port` properties.
*

@@ -281,3 +281,3 @@ * This method throws `EBADF` if called on an unbound socket.

* DNS will be used to resolve the address of the host. If `address` is not
* provided or otherwise falsy, `'127.0.0.1'` (for `udp4` sockets) or `'::1'`(for `udp6` sockets) will be used by default.
* provided or otherwise falsy, `'127.0.0.1'` (for `udp4` sockets) or `'::1'` (for `udp6` sockets) will be used by default.
*

@@ -284,0 +284,0 @@ * If the socket has not been previously bound with a call to `bind`, the socket

@@ -32,3 +32,3 @@ /**

/**
* 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
* 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
* pushes the domain onto the domain

@@ -35,0 +35,0 @@ * stack managed by the domain module (see {@link exit} for details on the

@@ -394,3 +394,3 @@ /**

* event named `eventName`. No checks are made to see if the `listener` has
* already been added. Multiple calls passing the same combination of `eventName`and `listener` will result in the `listener` being added, and called, multiple
* already been added. Multiple calls passing the same combination of `eventName` and `listener` will result in the `listener` being added, and called, multiple
* times.

@@ -657,3 +657,3 @@ *

* event named `eventName`. No checks are made to see if the `listener` has
* already been added. Multiple calls passing the same combination of `eventName`and `listener` will result in the `listener` being added, and called, multiple
* already been added. Multiple calls passing the same combination of `eventName` and `listener` will result in the `listener` being added, and called, multiple
* times.

@@ -660,0 +660,0 @@ *

@@ -175,3 +175,3 @@ /**

*
* If `autoClose` is set to true (default behavior) on `'error'` or `'finish'`the file descriptor will be closed automatically. If `autoClose` is false,
* If `autoClose` is set to true (default behavior) on `'error'` or `'finish'` the file descriptor will be closed automatically. If `autoClose` is false,
* then the file descriptor won't be closed, even if there's an error.

@@ -674,3 +674,3 @@ * It is the application's responsibility to close it and make sure there's no

*
* The `type` argument is only used on Windows platforms and can be one of `'dir'`,`'file'`, or `'junction'`. Windows junction points require the destination path
* The `type` argument is only used on Windows platforms and can be one of `'dir'`, `'file'`, or `'junction'`. Windows junction points require the destination path
* to be absolute. When using `'junction'`, the `target` argument will

@@ -677,0 +677,0 @@ * automatically be normalized to absolute path.

@@ -311,4 +311,4 @@ /**

*
* The following additional `options` from `tls.connect()` are also accepted:`ca`, `cert`, `ciphers`, `clientCertEngine`, `crl`, `dhparam`, `ecdhCurve`,`honorCipherOrder`, `key`, `passphrase`,
* `pfx`, `rejectUnauthorized`,`secureOptions`, `secureProtocol`, `servername`, `sessionIdContext`,`highWaterMark`.
* The following additional `options` from `tls.connect()` are also accepted:`ca`, `cert`, `ciphers`, `clientCertEngine`, `crl`, `dhparam`, `ecdhCurve`, `honorCipherOrder`, `key`, `passphrase`,
* `pfx`, `rejectUnauthorized`, `secureOptions`, `secureProtocol`, `servername`, `sessionIdContext`, `highWaterMark`.
*

@@ -315,0 +315,0 @@ * `options` can be an object, a string, or a `URL` object. If `options` is a

@@ -256,3 +256,3 @@ /**

/**
* If `true`,`socket.connect(options[, connectListener])` was
* If `true`, `socket.connect(options[, connectListener])` was
* called and has not yet finished. It will stay `true` until the socket becomes

@@ -485,3 +485,3 @@ * connected, then it is set to `false` and the `'connect'` event is emitted. Note

* length of the queue of pending connections. The actual length will be determined
* by the OS through sysctl settings such as `tcp_max_syn_backlog` and `somaxconn`on Linux. The default value of this parameter is 511 (not 512).
* by the OS through sysctl settings such as `tcp_max_syn_backlog` and `somaxconn` on Linux. The default value of this parameter is 511 (not 512).
*

@@ -488,0 +488,0 @@ * All {@link Socket} are set to `SO_REUSEADDR` (see [`socket(7)`](https://man7.org/linux/man-pages/man7/socket.7.html) for

@@ -219,3 +219,3 @@ /**

* this is typically a subset of the password file. The returned object includes
* the `username`, `uid`, `gid`, `shell`, and `homedir`. On Windows, the `uid` and`gid` fields are `-1`, and `shell` is `null`.
* the `username`, `uid`, `gid`, `shell`, and `homedir`. On Windows, the `uid` and `gid` fields are `-1`, and `shell` is `null`.
*

@@ -391,3 +391,3 @@ * The value of `homedir` returned by `os.userInfo()` is provided by the operating

* Returns the operating system CPU architecture for which the Node.js binary was
* compiled. Possible values are `'arm'`, `'arm64'`, `'ia32'`, `'mips'`,`'mipsel'`, `'ppc'`, `'ppc64'`, `'s390'`, `'s390x'`, `'x32'`, and `'x64'`.
* compiled. Possible values are `'arm'`, `'arm64'`, `'ia32'`, `'mips'`, `'mipsel'`, `'ppc'`, `'ppc64'`, `'s390'`, `'s390x'`, `'x32'`, and `'x64'`.
*

@@ -408,3 +408,3 @@ * The return value is equivalent to `process.arch`.

* Returns a string identifying the operating system platform. The value is set
* at compile time. Possible values are `'aix'`, `'darwin'`, `'freebsd'`,`'linux'`, `'openbsd'`, `'sunos'`, and `'win32'`.
* at compile time. Possible values are `'aix'`, `'darwin'`, `'freebsd'`, `'linux'`, `'openbsd'`, `'sunos'`, and `'win32'`.
*

@@ -442,3 +442,3 @@ * The return value is equivalent to `process.platform`.

*
* The `priority` input must be an integer between `-20` (high priority) and `19`(low priority). Due to differences between Unix priority levels and Windows
* The `priority` input must be an integer between `-20` (high priority) and `19` (low priority). Due to differences between Unix priority levels and Windows
* priority classes, `priority` is mapped to one of six priority constants in`os.constants.priority`. When retrieving a process priority level, this range

@@ -445,0 +445,0 @@ * mapping may cause the return value to be slightly different on Windows. To avoid

{
"name": "@types/node",
"version": "16.18.97",
"version": "16.18.98",
"description": "TypeScript definitions for node",

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

"dependencies": {},
"typesPublisherContentHash": "f88bff91a4009a75276970441b41b4b4c16767ba9a52f9c69c9b28971d1dbbaa",
"typesPublisherContentHash": "886461790f980f059c21f2d5f9c273f884a8f66c5f028cd599f3276402c376e5",
"typeScriptVersion": "4.7"
}

@@ -410,3 +410,3 @@ /**

/**
* Subscribes the `PerformanceObserver` instance to notifications of new `PerformanceEntry` instances identified either by `options.entryTypes`or `options.type`:
* Subscribes the `PerformanceObserver` instance to notifications of new `PerformanceEntry` instances identified either by `options.entryTypes` or `options.type`:
*

@@ -413,0 +413,0 @@ * ```js

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

### Additional Details
* Last updated: Mon, 06 May 2024 17:07:24 GMT
* Last updated: Mon, 03 Jun 2024 23:35:49 GMT
* Dependencies: none

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

@@ -292,3 +292,3 @@ /**

* The `replServer.displayPrompt()` method readies the REPL instance for input
* from the user, printing the configured `prompt` to a new line in the `output`and resuming the `input` to accept new input.
* from the user, printing the configured `prompt` to a new line in the `output` and resuming the `input` to accept new input.
*

@@ -295,0 +295,0 @@ * When multi-line input is being entered, an ellipsis is printed rather than the

@@ -1000,3 +1000,3 @@ /**

*
* `tls.createSecurePair()` returns a `tls.SecurePair` object with `cleartext` and`encrypted` stream properties.
* `tls.createSecurePair()` returns a `tls.SecurePair` object with `cleartext` and `encrypted` stream properties.
*

@@ -1003,0 +1003,0 @@ * Using `cleartext` has the same API as {@link TLSSocket}.

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

* * `node.bootstrap`: Enables capture of Node.js bootstrap milestones.
* * `node.console`: Enables capture of `console.time()` and `console.count()`output.
* * `node.console`: Enables capture of `console.time()` and `console.count()` output.
* * `node.dns.native`: Enables capture of trace data for DNS queries.

@@ -18,0 +18,0 @@ * * `node.environment`: Enables capture of Node.js Environment milestones.

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

* In most cases, there should be little to no reason for an application to
* manually create instances of the `tty.ReadStream` and `tty.WriteStream`classes.
* manually create instances of the `tty.ReadStream` and `tty.WriteStream` classes.
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/tty.js)

@@ -149,3 +149,3 @@ */

*
* Disabling color support is also possible by using the `NO_COLOR` and`NODE_DISABLE_COLORS` environment variables.
* Disabling color support is also possible by using the `NO_COLOR` and `NODE_DISABLE_COLORS` environment variables.
* @since v9.9.0

@@ -152,0 +152,0 @@ * @param [env=process.env] An object containing the environment variables to check. This enables simulating the usage of a specific terminal.

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