@types/node 18.19.27 → 18.19.29

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 Mar 2024 04:35:27 GMT
11
+ * Last updated: Tue, 02 Apr 2024 20:35:39 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
@@ -89,6 +89,8 @@ interface AddEventListenerOptions extends EventListenerOptions {
89
89
  once?: boolean;
90
90
  /** When `true`, serves as a hint that the listener will not call the `Event` object's `preventDefault()` method. Default: false. */
91
91
  passive?: boolean;
92
+ /** The listener will be removed when the given AbortSignal object's `abort()` method is called. */
93
+ signal?: AbortSignal;
92
94
  }
93
95
 
94
96
  interface EventListener {
@@ -2734,6 +2734,5 @@ declare module 'inspector' {
2734
2734
  * The inspector module provides an API for interacting with the V8 inspector.
2735
2735
  */
2736
2736
  declare module 'node:inspector' {
2737
- import inspector = require('inspector');
2738
- export = inspector;
2737
+ export * from 'inspector';
2739
2738
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "18.19.27",
3
+ "version": "18.19.29",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -217,6 +217,6 @@
217
217
  "dependencies": {
218
218
  "undici-types": "~5.26.4"
219
219
  },
220
- "typesPublisherContentHash": "648298bf71af62613252491fa7be91598b0111a286e6995ec728f57556350ff9",
220
+ "typesPublisherContentHash": "3f0d05998e29b5e3a89f5e3b75e28eb90ccdfeccd8fc64b515c3f551918ea450",
221
221
  "typeScriptVersion": "4.7"
222
222
  }