@types/node 20.8.4 → 20.8.5

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.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: Mon, 09 Oct 2023 17:35:36 GMT
11
+ * Last updated: Thu, 12 Oct 2023 20:35:02 GMT
12
12
  * Dependencies: [@types/undici-types](https://npmjs.com/package/@types/undici-types)
13
13
  * Global values: `AbortController`, `AbortSignal`, `FormData`, `Headers`, `Request`, `Response`, `__dirname`, `__filename`, `console`, `exports`, `fetch`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
14
14
 
node/buffer.d.ts CHANGED
@@ -223,7 +223,7 @@ declare module "buffer" {
223
223
  import { Blob as NodeBlob } from "buffer";
224
224
  // This conditional type will be the existing global Blob in a browser, or
225
225
  // the copy below in a Node environment.
226
- type __Blob = typeof globalThis extends { onmessage: any; Blob: infer T } ? T : NodeBlob;
226
+ type __Blob = typeof globalThis extends { onmessage: any; Blob: any } ? {} : NodeBlob;
227
227
  global {
228
228
  namespace NodeJS {
229
229
  export { BufferEncoding };
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "20.8.4",
3
+ "version": "20.8.5",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -229,6 +229,6 @@
229
229
  "dependencies": {
230
230
  "undici-types": "~5.25.1"
231
231
  },
232
- "typesPublisherContentHash": "2838dc399a85e9b85a3a405ba23ca1871738adf3d0908db1877a2e5c39a9f7a6",
232
+ "typesPublisherContentHash": "4538bf526a9fc5be563f46670cb049ff922227b0fe6d0e95b4dc64929fe3137d",
233
233
  "typeScriptVersion": "4.5"
234
234
  }
node/ts4.8/buffer.d.ts CHANGED
@@ -223,7 +223,7 @@ declare module "buffer" {
223
223
  import { Blob as NodeBlob } from "buffer";
224
224
  // This conditional type will be the existing global Blob in a browser, or
225
225
  // the copy below in a Node environment.
226
- type __Blob = typeof globalThis extends { onmessage: any; Blob: infer T } ? T : NodeBlob;
226
+ type __Blob = typeof globalThis extends { onmessage: any; Blob: any } ? {} : NodeBlob;
227
227
  global {
228
228
  namespace NodeJS {
229
229
  export { BufferEncoding };