@types/node 20.11.7 → 20.11.8

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/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.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Fri, 26 Jan 2024 04:36:02 GMT
11
+ * Last updated: Sat, 27 Jan 2024 16:07:16 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
node/crypto.d.ts CHANGED
@@ -4473,6 +4473,13 @@ declare module "crypto" {
4473
4473
  ): Promise<ArrayBuffer>;
4474
4474
  }
4475
4475
  }
4476
+
4477
+ global {
4478
+ var crypto: typeof globalThis extends {
4479
+ crypto: infer T;
4480
+ } ? T
4481
+ : webcrypto.Crypto;
4482
+ }
4476
4483
  }
4477
4484
  declare module "node:crypto" {
4478
4485
  export * from "crypto";
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "20.11.7",
3
+ "version": "20.11.8",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -224,7 +224,7 @@
224
224
  "dependencies": {
225
225
  "undici-types": "~5.26.4"
226
226
  },
227
- "typesPublisherContentHash": "237ecca2085f864d34f9776f133b6ea5e8b756ea9d33ca3479aa905317ed6e65",
227
+ "typesPublisherContentHash": "c8d277d6809d0966fc939dd66dd9f93de45f529a8f40aeca65393b01b5b41a7b",
228
228
  "typeScriptVersion": "4.6",
229
229
  "nonNpm": true
230
230
  }
node/ts4.8/crypto.d.ts CHANGED
@@ -4472,6 +4472,10 @@ declare module "crypto" {
4472
4472
  ): Promise<ArrayBuffer>;
4473
4473
  }
4474
4474
  }
4475
+
4476
+ global {
4477
+ var crypto: webcrypto.Crypto;
4478
+ }
4475
4479
  }
4476
4480
  declare module "node:crypto" {
4477
4481
  export * from "crypto";