@types/node 20.11.11 → 20.11.13

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/package.json +3 -4
  3. node/ts4.8/crypto.d.ts +5 -1
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: Tue, 30 Jan 2024 19:07:04 GMT
11
+ * Last updated: Tue, 30 Jan 2024 23:07:03 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "20.11.11",
3
+ "version": "20.11.13",
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,6 @@
224
224
  "dependencies": {
225
225
  "undici-types": "~5.26.4"
226
226
  },
227
- "typesPublisherContentHash": "c76b1d6e6ddcd9173771e2715dd52ab36743a1a7bd8f4e68d92685803e6dfb69",
228
- "typeScriptVersion": "4.6",
229
- "nonNpm": true
227
+ "typesPublisherContentHash": "24c5c944aa13a9116b098c65a139b5511cc45f4e99d6128492111ef3b42f5447",
228
+ "typeScriptVersion": "4.6"
230
229
  }
node/ts4.8/crypto.d.ts CHANGED
@@ -4474,7 +4474,11 @@ declare module "crypto" {
4474
4474
  }
4475
4475
 
4476
4476
  global {
4477
- var crypto: webcrypto.Crypto;
4477
+ var crypto: typeof globalThis extends {
4478
+ crypto: infer T;
4479
+ onmessage: any;
4480
+ } ? T
4481
+ : webcrypto.Crypto;
4478
4482
  }
4479
4483
  }
4480
4484
  declare module "node:crypto" {