@types/node 18.19.4 → 18.19.5

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.
node v18.19/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for node (https://nodejs.org/).
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v18.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Sat, 30 Dec 2023 00:22:50 GMT
11
+ * Last updated: Sun, 07 Jan 2024 15:35:36 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
node v18.19/dgram.d.ts CHANGED
@@ -227,6 +227,16 @@ declare module "dgram" {
227
227
  * @return the `SO_SNDBUF` socket send buffer size in bytes.
228
228
  */
229
229
  getSendBufferSize(): number;
230
+ /**
231
+ * @since v18.8.0
232
+ * @return the number of bytes queued for sending.
233
+ */
234
+ getSendQueueSize(): number;
235
+ /**
236
+ * @since v18.8.0
237
+ * @return the number of send requests currently in the queue awaiting to be processed.
238
+ */
239
+ getSendQueueCount(): number;
230
240
  /**
231
241
  * By default, binding a socket will cause it to block the Node.js process from
232
242
  * exiting as long as the socket is open. The `socket.unref()` method can be used
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "18.19.4",
3
+ "version": "18.19.5",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -229,7 +229,7 @@
229
229
  "dependencies": {
230
230
  "undici-types": "~5.26.4"
231
231
  },
232
- "typesPublisherContentHash": "489a22a64eb7dcc115c313b2439310f14ec4513d38646f073e2e8eff7303d0bc",
232
+ "typesPublisherContentHash": "dcdc78cd657aa105c570b15ae7596b589ad1e4c097fa5d8d51fe01b075ab1651",
233
233
  "typeScriptVersion": "4.6",
234
234
  "nonNpm": true
235
235
  }
@@ -227,6 +227,16 @@ declare module "dgram" {
227
227
  * @return the `SO_SNDBUF` socket send buffer size in bytes.
228
228
  */
229
229
  getSendBufferSize(): number;
230
+ /**
231
+ * @since v18.8.0
232
+ * @return the number of bytes queued for sending.
233
+ */
234
+ getSendQueueSize(): number;
235
+ /**
236
+ * @since v18.8.0
237
+ * @return the number of send requests currently in the queue awaiting to be processed.
238
+ */
239
+ getSendQueueCount(): number;
230
240
  /**
231
241
  * By default, binding a socket will cause it to block the Node.js process from
232
242
  * exiting as long as the socket is open. The `socket.unref()` method can be used