@types/node 18.18.4 → 18.18.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 v18.18/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/v18.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Fri, 06 Oct 2023 23:05:45 GMT
11
+ * Last updated: Thu, 12 Oct 2023 20:35:02 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
14
14
 
node v18.18/buffer.d.ts CHANGED
@@ -200,7 +200,7 @@ declare module "buffer" {
200
200
  import { Blob as NodeBlob } from "buffer";
201
201
  // This conditional type will be the existing global Blob in a browser, or
202
202
  // the copy below in a Node environment.
203
- type __Blob = typeof globalThis extends { onmessage: any; Blob: infer T } ? T : NodeBlob;
203
+ type __Blob = typeof globalThis extends { onmessage: any; Blob: any } ? {} : NodeBlob;
204
204
  global {
205
205
  namespace NodeJS {
206
206
  export { BufferEncoding };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "18.18.4",
3
+ "version": "18.18.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",
@@ -232,6 +232,6 @@
232
232
  },
233
233
  "scripts": {},
234
234
  "dependencies": {},
235
- "typesPublisherContentHash": "c927c7a24f74c17885590d7f67be04651e1c1d856c0ae918f73ccbc396323763",
235
+ "typesPublisherContentHash": "651f109c34279cb10bbe0bf7c3eb951f8242e1ea97988a130cfb7d139431920a",
236
236
  "typeScriptVersion": "4.5"
237
237
  }
@@ -200,7 +200,7 @@ declare module "buffer" {
200
200
  import { Blob as NodeBlob } from "buffer";
201
201
  // This conditional type will be the existing global Blob in a browser, or
202
202
  // the copy below in a Node environment.
203
- type __Blob = typeof globalThis extends { onmessage: any; Blob: infer T } ? T : NodeBlob;
203
+ type __Blob = typeof globalThis extends { onmessage: any; Blob: any } ? {} : NodeBlob;
204
204
  global {
205
205
  namespace NodeJS {
206
206
  export { BufferEncoding };