@types/node 16.10.3 → 16.10.4

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.
Files changed (3) hide show
  1. node/README.md +1 -1
  2. node/inspector.d.ts +7 -0
  3. node/package.json +2 -2
node/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (https://nodejs.org/).
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 05 Oct 2021 20:31:28 GMT
11
+ * Last updated: Tue, 12 Oct 2021 17:31:32 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
14
14
 
node/inspector.d.ts CHANGED
@@ -1778,6 +1778,13 @@ declare module 'inspector' {
1778
1778
  * @since v8.0.0
1779
1779
  */
1780
1780
  connect(): void;
1781
+ /**
1782
+ * Connects a session to the main thread inspector back-end.
1783
+ * An exception will be thrown if this API was not called on a Worker
1784
+ * thread.
1785
+ * @since 12.11.0
1786
+ */
1787
+ connectToMainThread(): void;
1781
1788
  /**
1782
1789
  * Immediately close the session. All pending message callbacks will be called
1783
1790
  * with an error. `session.connect()` will need to be called to be able to send
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "16.10.3",
3
+ "version": "16.10.4",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -225,6 +225,6 @@
225
225
  },
226
226
  "scripts": {},
227
227
  "dependencies": {},
228
- "typesPublisherContentHash": "6b890401c9e8ed8ad1296e2cfeef65f2ba29feb793d490917f614c65e7f33f07",
228
+ "typesPublisherContentHash": "f426a2d453bb541f26a4c6bf90b1ba25594a6631b19e6f6adcf812e6794d4e24",
229
229
  "typeScriptVersion": "3.7"
230
230
  }