@types/node 16.18.64 → 16.18.66

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 v16.18/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/v16.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Wed, 22 Nov 2023 00:24:48 GMT
11
+ * Last updated: Wed, 29 Nov 2023 19:35:57 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "16.18.64",
3
+ "version": "16.18.66",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -222,7 +222,7 @@
222
222
  },
223
223
  "scripts": {},
224
224
  "dependencies": {},
225
- "typesPublisherContentHash": "20cc173f0fdd6acc432693776c645e9aa35284584348ef03ce4520865fb12f95",
226
- "typeScriptVersion": "4.5",
225
+ "typesPublisherContentHash": "e78e53b8b9f625af156f6b830beb67370ec8a3ee6f28fcad0a9309593323e515",
226
+ "typeScriptVersion": "4.6",
227
227
  "nonNpm": true
228
228
  }
@@ -883,6 +883,13 @@ declare module "process" {
883
883
  * @since v9.3.0
884
884
  */
885
885
  hasUncaughtExceptionCaptureCallback(): boolean;
886
+ /**
887
+ * This function enables or disables the Source Map v3 support for stack traces.
888
+ * It provides same features as launching Node.js process with commandline options --enable-source-maps.
889
+ * @since v16.6.0
890
+ * @experimental
891
+ */
892
+ setSourceMapsEnabled(value: boolean): void;
886
893
  /**
887
894
  * The `process.version` property contains the Node.js version string.
888
895
  *
@@ -883,6 +883,13 @@ declare module "process" {
883
883
  * @since v9.3.0
884
884
  */
885
885
  hasUncaughtExceptionCaptureCallback(): boolean;
886
+ /**
887
+ * This function enables or disables the Source Map v3 support for stack traces.
888
+ * It provides same features as launching Node.js process with commandline options --enable-source-maps.
889
+ * @since v16.6.0
890
+ * @experimental
891
+ */
892
+ setSourceMapsEnabled(value: boolean): void;
886
893
  /**
887
894
  * The `process.version` property contains the Node.js version string.
888
895
  *
@@ -133,7 +133,7 @@ declare module "wasi" {
133
133
  * If `start()` is called more than once, an exception is thrown.
134
134
  * @since v13.3.0, v12.16.0
135
135
  */
136
- start(instance: object): void; // TODO: avoid DOM dependency until WASM moved to own lib.
136
+ start(instance: object): number; // TODO: avoid DOM dependency until WASM moved to own lib.
137
137
  /**
138
138
  * Attempt to initialize `instance` as a WASI reactor by invoking its`_initialize()` export, if it is present. If `instance` contains a `_start()`export, then an exception is thrown.
139
139
  *
node v16.18/wasi.d.ts CHANGED
@@ -133,7 +133,7 @@ declare module "wasi" {
133
133
  * If `start()` is called more than once, an exception is thrown.
134
134
  * @since v13.3.0, v12.16.0
135
135
  */
136
- start(instance: object): void; // TODO: avoid DOM dependency until WASM moved to own lib.
136
+ start(instance: object): number; // TODO: avoid DOM dependency until WASM moved to own lib.
137
137
  /**
138
138
  * Attempt to initialize `instance` as a WASI reactor by invoking its`_initialize()` export, if it is present. If `instance` contains a `_start()`export, then an exception is thrown.
139
139
  *