@types/node 18.18.12 → 18.18.14

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.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/v18.
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: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "18.18.12",
3
+ "version": "18.18.14",
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": "2fa3455ed91224979461178d2ac99888c6c16ea5096afe60d5785fecf7f00911",
233
- "typeScriptVersion": "4.5",
232
+ "typesPublisherContentHash": "d5af3cf2d005a6d2962993f11359c75f5fd371f76d1dce518e1fba4d8ee748e6",
233
+ "typeScriptVersion": "4.6",
234
234
  "nonNpm": true
235
235
  }
@@ -894,6 +894,13 @@ declare module "process" {
894
894
  * @since v9.3.0
895
895
  */
896
896
  hasUncaughtExceptionCaptureCallback(): boolean;
897
+ /**
898
+ * This function enables or disables the Source Map v3 support for stack traces.
899
+ * It provides same features as launching Node.js process with commandline options --enable-source-maps.
900
+ * @since v16.6.0
901
+ * @experimental
902
+ */
903
+ setSourceMapsEnabled(value: boolean): void;
897
904
  /**
898
905
  * The `process.version` property contains the Node.js version string.
899
906
  *
@@ -894,6 +894,13 @@ declare module "process" {
894
894
  * @since v9.3.0
895
895
  */
896
896
  hasUncaughtExceptionCaptureCallback(): boolean;
897
+ /**
898
+ * This function enables or disables the Source Map v3 support for stack traces.
899
+ * It provides same features as launching Node.js process with commandline options --enable-source-maps.
900
+ * @since v16.6.0
901
+ * @experimental
902
+ */
903
+ setSourceMapsEnabled(value: boolean): void;
897
904
  /**
898
905
  * The `process.version` property contains the Node.js version string.
899
906
  *
@@ -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 v18.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
  *