@types/node 16.18.31 → 16.18.32

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 v16.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/v16.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 16 May 2023 20:02:59 GMT
11
+ * Last updated: Sun, 21 May 2023 21:02:55 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
14
14
 
node v16.18/buffer.d.ts CHANGED
@@ -167,6 +167,9 @@ declare module 'buffer' {
167
167
  export import atob = globalThis.atob;
168
168
  export import btoa = globalThis.btoa;
169
169
  global {
170
+ namespace NodeJS {
171
+ export { BufferEncoding };
172
+ }
170
173
  // Buffer class
171
174
  type BufferEncoding = 'ascii' | 'utf8' | 'utf-8' | 'utf16le' | 'ucs2' | 'ucs-2' | 'base64' | 'base64url' | 'latin1' | 'binary' | 'hex';
172
175
  type WithImplicitCoercion<T> =
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "16.18.31",
3
+ "version": "16.18.32",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -227,6 +227,6 @@
227
227
  },
228
228
  "scripts": {},
229
229
  "dependencies": {},
230
- "typesPublisherContentHash": "d30473e0cce2fc7f74467fc35b6a1ff1e89a22dbda691084fa777daeb416c154",
230
+ "typesPublisherContentHash": "66470f9fe34fa073032c79661b47b9b16b4ed00634052f0090e753c5f9ba42b4",
231
231
  "typeScriptVersion": "4.3"
232
232
  }
@@ -167,6 +167,9 @@ declare module 'buffer' {
167
167
  export import atob = globalThis.atob;
168
168
  export import btoa = globalThis.btoa;
169
169
  global {
170
+ namespace NodeJS {
171
+ export { BufferEncoding };
172
+ }
170
173
  // Buffer class
171
174
  type BufferEncoding = 'ascii' | 'utf8' | 'utf-8' | 'utf16le' | 'ucs2' | 'ucs-2' | 'base64' | 'base64url' | 'latin1' | 'binary' | 'hex';
172
175
  type WithImplicitCoercion<T> =