node-red-contrib-tak-registration 0.11.1 → 0.11.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.
Files changed (249) hide show
  1. package/node_modules/@types/node/LICENSE +0 -0
  2. package/node_modules/@types/node/README.md +4 -5
  3. package/node_modules/@types/node/assert/strict.d.ts +4 -4
  4. package/node_modules/@types/node/assert.d.ts +50 -26
  5. package/node_modules/@types/node/async_hooks.d.ts +13 -6
  6. package/node_modules/@types/node/buffer.d.ts +46 -38
  7. package/node_modules/@types/node/child_process.d.ts +278 -138
  8. package/node_modules/@types/node/cluster.d.ts +107 -89
  9. package/node_modules/@types/node/console.d.ts +18 -15
  10. package/node_modules/@types/node/constants.d.ts +12 -11
  11. package/node_modules/@types/node/crypto.d.ts +746 -268
  12. package/node_modules/@types/node/dgram.d.ts +82 -46
  13. package/node_modules/@types/node/diagnostics_channel.d.ts +3 -3
  14. package/node_modules/@types/node/dns/promises.d.ts +37 -26
  15. package/node_modules/@types/node/dns.d.ts +204 -63
  16. package/node_modules/@types/node/dom-events.d.ts +67 -71
  17. package/node_modules/@types/node/domain.d.ts +4 -4
  18. package/node_modules/@types/node/events.d.ts +99 -8
  19. package/node_modules/@types/node/fs/promises.d.ts +122 -85
  20. package/node_modules/@types/node/fs.d.ts +520 -316
  21. package/node_modules/@types/node/globals.d.ts +346 -286
  22. package/node_modules/@types/node/globals.global.d.ts +0 -0
  23. package/node_modules/@types/node/http.d.ts +321 -189
  24. package/node_modules/@types/node/http2.d.ts +630 -377
  25. package/node_modules/@types/node/https.d.ts +221 -112
  26. package/node_modules/@types/node/index.d.ts +0 -45
  27. package/node_modules/@types/node/inspector.d.ts +0 -1
  28. package/node_modules/@types/node/module.d.ts +75 -31
  29. package/node_modules/@types/node/net.d.ts +149 -93
  30. package/node_modules/@types/node/os.d.ts +10 -9
  31. package/node_modules/@types/node/package.json +88 -90
  32. package/node_modules/@types/node/path.d.ts +13 -13
  33. package/node_modules/@types/node/perf_hooks.d.ts +19 -18
  34. package/node_modules/@types/node/process.d.ts +170 -126
  35. package/node_modules/@types/node/punycode.d.ts +4 -4
  36. package/node_modules/@types/node/querystring.d.ts +14 -4
  37. package/node_modules/@types/node/readline/promises.d.ts +12 -7
  38. package/node_modules/@types/node/readline.d.ts +69 -56
  39. package/node_modules/@types/node/repl.d.ts +67 -61
  40. package/node_modules/@types/node/stream/consumers.d.ts +10 -10
  41. package/node_modules/@types/node/stream/promises.d.ts +56 -15
  42. package/node_modules/@types/node/stream/web.d.ts +40 -20
  43. package/node_modules/@types/node/stream.d.ts +365 -232
  44. package/node_modules/@types/node/string_decoder.d.ts +8 -8
  45. package/node_modules/@types/node/test.d.ts +133 -212
  46. package/node_modules/@types/node/timers/promises.d.ts +4 -4
  47. package/node_modules/@types/node/timers.d.ts +26 -11
  48. package/node_modules/@types/node/tls.d.ts +152 -72
  49. package/node_modules/@types/node/trace_events.d.ts +3 -3
  50. package/node_modules/@types/node/ts4.8/assert/strict.d.ts +4 -4
  51. package/node_modules/@types/node/ts4.8/assert.d.ts +50 -26
  52. package/node_modules/@types/node/ts4.8/async_hooks.d.ts +13 -6
  53. package/node_modules/@types/node/ts4.8/buffer.d.ts +47 -39
  54. package/node_modules/@types/node/ts4.8/child_process.d.ts +278 -138
  55. package/node_modules/@types/node/ts4.8/cluster.d.ts +107 -89
  56. package/node_modules/@types/node/ts4.8/console.d.ts +18 -15
  57. package/node_modules/@types/node/ts4.8/constants.d.ts +12 -11
  58. package/node_modules/@types/node/ts4.8/crypto.d.ts +746 -268
  59. package/node_modules/@types/node/ts4.8/dgram.d.ts +82 -46
  60. package/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +3 -3
  61. package/node_modules/@types/node/ts4.8/dns/promises.d.ts +37 -26
  62. package/node_modules/@types/node/ts4.8/dns.d.ts +204 -63
  63. package/node_modules/@types/node/ts4.8/dom-events.d.ts +67 -71
  64. package/node_modules/@types/node/ts4.8/domain.d.ts +4 -4
  65. package/node_modules/@types/node/ts4.8/events.d.ts +99 -8
  66. package/node_modules/@types/node/ts4.8/fs/promises.d.ts +122 -85
  67. package/node_modules/@types/node/ts4.8/fs.d.ts +520 -316
  68. package/node_modules/@types/node/ts4.8/globals.d.ts +346 -286
  69. package/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -0
  70. package/node_modules/@types/node/ts4.8/http.d.ts +321 -189
  71. package/node_modules/@types/node/ts4.8/http2.d.ts +630 -377
  72. package/node_modules/@types/node/ts4.8/https.d.ts +221 -112
  73. package/node_modules/@types/node/ts4.8/index.d.ts +0 -0
  74. package/node_modules/@types/node/ts4.8/inspector.d.ts +0 -1
  75. package/node_modules/@types/node/ts4.8/module.d.ts +75 -31
  76. package/node_modules/@types/node/ts4.8/net.d.ts +149 -93
  77. package/node_modules/@types/node/ts4.8/os.d.ts +10 -9
  78. package/node_modules/@types/node/ts4.8/path.d.ts +13 -13
  79. package/node_modules/@types/node/ts4.8/perf_hooks.d.ts +19 -18
  80. package/node_modules/@types/node/ts4.8/process.d.ts +170 -126
  81. package/node_modules/@types/node/ts4.8/punycode.d.ts +4 -4
  82. package/node_modules/@types/node/ts4.8/querystring.d.ts +14 -4
  83. package/node_modules/@types/node/ts4.8/readline/promises.d.ts +12 -7
  84. package/node_modules/@types/node/ts4.8/readline.d.ts +69 -56
  85. package/node_modules/@types/node/ts4.8/repl.d.ts +67 -61
  86. package/node_modules/@types/node/ts4.8/stream/consumers.d.ts +10 -10
  87. package/node_modules/@types/node/ts4.8/stream/promises.d.ts +56 -15
  88. package/node_modules/@types/node/ts4.8/stream/web.d.ts +40 -20
  89. package/node_modules/@types/node/ts4.8/stream.d.ts +494 -223
  90. package/node_modules/@types/node/ts4.8/string_decoder.d.ts +8 -8
  91. package/node_modules/@types/node/ts4.8/test.d.ts +135 -214
  92. package/node_modules/@types/node/ts4.8/timers/promises.d.ts +4 -4
  93. package/node_modules/@types/node/ts4.8/timers.d.ts +26 -11
  94. package/node_modules/@types/node/ts4.8/tls.d.ts +152 -72
  95. package/node_modules/@types/node/ts4.8/trace_events.d.ts +3 -3
  96. package/node_modules/@types/node/ts4.8/tty.d.ts +10 -10
  97. package/node_modules/@types/node/ts4.8/url.d.ts +26 -14
  98. package/node_modules/@types/node/ts4.8/util.d.ts +187 -120
  99. package/node_modules/@types/node/ts4.8/v8.d.ts +4 -4
  100. package/node_modules/@types/node/ts4.8/vm.d.ts +58 -50
  101. package/node_modules/@types/node/ts4.8/wasi.d.ts +10 -4
  102. package/node_modules/@types/node/ts4.8/worker_threads.d.ts +83 -86
  103. package/node_modules/@types/node/ts4.8/zlib.d.ts +9 -9
  104. package/node_modules/@types/node/tty.d.ts +10 -10
  105. package/node_modules/@types/node/url.d.ts +26 -14
  106. package/node_modules/@types/node/util.d.ts +187 -120
  107. package/node_modules/@types/node/v8.d.ts +4 -4
  108. package/node_modules/@types/node/vm.d.ts +58 -50
  109. package/node_modules/@types/node/wasi.d.ts +10 -4
  110. package/node_modules/@types/node/worker_threads.d.ts +83 -86
  111. package/node_modules/@types/node/zlib.d.ts +9 -9
  112. package/node_modules/axios/CHANGELOG.md +225 -0
  113. package/node_modules/axios/README.md +273 -9
  114. package/node_modules/axios/dist/axios.js +249 -178
  115. package/node_modules/axios/dist/axios.js.map +1 -1
  116. package/node_modules/axios/dist/axios.min.js +1 -1
  117. package/node_modules/axios/dist/axios.min.js.map +1 -1
  118. package/node_modules/axios/dist/browser/axios.cjs +213 -193
  119. package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
  120. package/node_modules/axios/dist/esm/axios.js +213 -193
  121. package/node_modules/axios/dist/esm/axios.js.map +1 -1
  122. package/node_modules/axios/dist/esm/axios.min.js +1 -1
  123. package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  124. package/node_modules/axios/dist/node/axios.cjs +297 -213
  125. package/node_modules/axios/dist/node/axios.cjs.map +1 -1
  126. package/node_modules/axios/index.d.cts +20 -11
  127. package/node_modules/axios/index.d.ts +21 -12
  128. package/node_modules/axios/lib/adapters/adapters.js +33 -15
  129. package/node_modules/axios/lib/adapters/http.js +25 -12
  130. package/node_modules/axios/lib/adapters/xhr.js +17 -10
  131. package/node_modules/axios/lib/core/mergeConfig.js +1 -0
  132. package/node_modules/axios/lib/defaults/index.js +1 -1
  133. package/node_modules/axios/lib/env/data.js +1 -1
  134. package/node_modules/axios/lib/helpers/cookies.js +39 -49
  135. package/node_modules/axios/lib/helpers/isURLSameOrigin.js +2 -2
  136. package/node_modules/axios/lib/platform/browser/index.js +0 -51
  137. package/node_modules/axios/lib/platform/common/utils.js +47 -0
  138. package/node_modules/axios/lib/platform/index.js +5 -1
  139. package/node_modules/axios/package.json +2 -1
  140. package/node_modules/call-bind/.eslintrc +0 -1
  141. package/node_modules/call-bind/.nycrc +0 -4
  142. package/node_modules/call-bind/CHANGELOG.md +35 -0
  143. package/node_modules/call-bind/README.md +63 -1
  144. package/node_modules/call-bind/index.js +10 -13
  145. package/node_modules/call-bind/package.json +33 -23
  146. package/node_modules/call-bind/test/callBound.js +0 -1
  147. package/node_modules/call-bind/test/index.js +18 -4
  148. package/node_modules/{function-bind → deep-equal}/.editorconfig +1 -1
  149. package/node_modules/deep-equal/.eslintrc +6 -0
  150. package/node_modules/deep-equal/.nycrc +17 -0
  151. package/node_modules/deep-equal/CHANGELOG.md +204 -4
  152. package/node_modules/deep-equal/assert.js +3 -0
  153. package/node_modules/deep-equal/package.json +39 -17
  154. package/node_modules/deep-equal/readme.markdown +28 -12
  155. package/node_modules/deep-equal/test/_tape.js +24 -3
  156. package/node_modules/deep-equal/test/cmp.js +1047 -48
  157. package/node_modules/define-data-property/CHANGELOG.md +10 -0
  158. package/node_modules/define-data-property/index.d.ts.map +1 -1
  159. package/node_modules/define-data-property/index.js +8 -0
  160. package/node_modules/define-data-property/package.json +11 -9
  161. package/node_modules/define-data-property/test/index.js +6 -11
  162. package/node_modules/define-data-property/tsconfig.json +1 -0
  163. package/node_modules/fast-xml-parser/CHANGELOG.md +11 -0
  164. package/node_modules/fast-xml-parser/package.json +5 -5
  165. package/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +1 -0
  166. package/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +4 -0
  167. package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +6 -3
  168. package/node_modules/follow-redirects/index.js +16 -4
  169. package/node_modules/follow-redirects/package.json +2 -3
  170. package/node_modules/function-bind/.eslintrc +11 -5
  171. package/node_modules/function-bind/.github/FUNDING.yml +12 -0
  172. package/node_modules/function-bind/.github/SECURITY.md +3 -0
  173. package/node_modules/function-bind/.nycrc +13 -0
  174. package/node_modules/function-bind/CHANGELOG.md +136 -0
  175. package/node_modules/function-bind/README.md +25 -27
  176. package/node_modules/function-bind/implementation.js +44 -12
  177. package/node_modules/function-bind/package.json +38 -14
  178. package/node_modules/get-intrinsic/CHANGELOG.md +8 -0
  179. package/node_modules/get-intrinsic/index.js +1 -1
  180. package/node_modules/get-intrinsic/package.json +11 -11
  181. package/node_modules/has-property-descriptors/CHANGELOG.md +11 -0
  182. package/node_modules/has-property-descriptors/package.json +13 -6
  183. package/node_modules/hasown/.eslintrc +5 -0
  184. package/node_modules/hasown/.github/FUNDING.yml +12 -0
  185. package/node_modules/hasown/.nycrc +13 -0
  186. package/node_modules/hasown/CHANGELOG.md +20 -0
  187. package/node_modules/hasown/LICENSE +21 -0
  188. package/node_modules/hasown/README.md +40 -0
  189. package/node_modules/hasown/index.d.ts +3 -0
  190. package/node_modules/hasown/index.d.ts.map +1 -0
  191. package/node_modules/hasown/index.js +8 -0
  192. package/node_modules/hasown/package.json +91 -0
  193. package/node_modules/hasown/tsconfig.json +49 -0
  194. package/node_modules/set-function-length/.eslintrc +27 -0
  195. package/node_modules/set-function-length/.github/FUNDING.yml +12 -0
  196. package/node_modules/set-function-length/.nycrc +13 -0
  197. package/node_modules/set-function-length/CHANGELOG.md +41 -0
  198. package/node_modules/set-function-length/LICENSE +21 -0
  199. package/node_modules/set-function-length/README.md +56 -0
  200. package/node_modules/set-function-length/env.js +19 -0
  201. package/node_modules/set-function-length/index.js +41 -0
  202. package/node_modules/set-function-length/package.json +84 -0
  203. package/node_modules/undici-types/README.md +6 -0
  204. package/node_modules/undici-types/agent.d.ts +31 -0
  205. package/node_modules/undici-types/api.d.ts +43 -0
  206. package/node_modules/undici-types/balanced-pool.d.ts +18 -0
  207. package/node_modules/undici-types/cache.d.ts +36 -0
  208. package/node_modules/undici-types/client.d.ts +97 -0
  209. package/node_modules/undici-types/connector.d.ts +34 -0
  210. package/node_modules/undici-types/content-type.d.ts +21 -0
  211. package/node_modules/undici-types/cookies.d.ts +28 -0
  212. package/node_modules/undici-types/diagnostics-channel.d.ts +67 -0
  213. package/node_modules/undici-types/dispatcher.d.ts +241 -0
  214. package/node_modules/undici-types/errors.d.ts +128 -0
  215. package/node_modules/undici-types/fetch.d.ts +209 -0
  216. package/node_modules/undici-types/file.d.ts +39 -0
  217. package/node_modules/undici-types/filereader.d.ts +54 -0
  218. package/node_modules/undici-types/formdata.d.ts +108 -0
  219. package/node_modules/undici-types/global-dispatcher.d.ts +9 -0
  220. package/node_modules/undici-types/global-origin.d.ts +7 -0
  221. package/node_modules/undici-types/handlers.d.ts +9 -0
  222. package/node_modules/undici-types/header.d.ts +4 -0
  223. package/node_modules/undici-types/index.d.ts +63 -0
  224. package/node_modules/undici-types/interceptors.d.ts +5 -0
  225. package/node_modules/undici-types/mock-agent.d.ts +50 -0
  226. package/node_modules/undici-types/mock-client.d.ts +25 -0
  227. package/node_modules/undici-types/mock-errors.d.ts +12 -0
  228. package/node_modules/undici-types/mock-interceptor.d.ts +93 -0
  229. package/node_modules/undici-types/mock-pool.d.ts +25 -0
  230. package/node_modules/undici-types/package.json +55 -0
  231. package/node_modules/undici-types/patch.d.ts +71 -0
  232. package/node_modules/undici-types/pool-stats.d.ts +19 -0
  233. package/node_modules/undici-types/pool.d.ts +28 -0
  234. package/node_modules/undici-types/proxy-agent.d.ts +30 -0
  235. package/node_modules/undici-types/readable.d.ts +61 -0
  236. package/node_modules/undici-types/webidl.d.ts +220 -0
  237. package/node_modules/undici-types/websocket.d.ts +131 -0
  238. package/package.json +3 -3
  239. package/tak-ingest.js +42 -23
  240. package/tak-registration.html +4 -4
  241. package/node_modules/define-data-property/tsinit +0 -109
  242. package/node_modules/function-bind/.jscs.json +0 -176
  243. package/node_modules/function-bind/.npmignore +0 -22
  244. package/node_modules/function-bind/.travis.yml +0 -168
  245. package/node_modules/has/LICENSE-MIT +0 -22
  246. package/node_modules/has/README.md +0 -18
  247. package/node_modules/has/package.json +0 -48
  248. package/node_modules/has/src/index.js +0 -5
  249. package/node_modules/has/test/index.js +0 -10
@@ -43,9 +43,9 @@
43
43
  * ```
44
44
  * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/buffer.js)
45
45
  */
46
- declare module 'buffer' {
47
- import { BinaryLike } from 'node:crypto';
48
- import { ReadableStream as WebReadableStream } from 'node:stream/web';
46
+ declare module "buffer" {
47
+ import { BinaryLike } from "node:crypto";
48
+ import { ReadableStream as WebReadableStream } from "node:stream/web";
49
49
  /**
50
50
  * This function returns `true` if `input` contains only valid UTF-8-encoded data,
51
51
  * including the case in which `input` is empty.
@@ -71,7 +71,16 @@ declare module 'buffer' {
71
71
  MAX_LENGTH: number;
72
72
  MAX_STRING_LENGTH: number;
73
73
  };
74
- export type TranscodeEncoding = 'ascii' | 'utf8' | 'utf16le' | 'ucs2' | 'latin1' | 'binary';
74
+ export type TranscodeEncoding =
75
+ | "ascii"
76
+ | "utf8"
77
+ | "utf-8"
78
+ | "utf16le"
79
+ | "utf-16le"
80
+ | "ucs2"
81
+ | "ucs-2"
82
+ | "latin1"
83
+ | "binary";
75
84
  /**
76
85
  * Re-encodes the given `Buffer` or `Uint8Array` instance from one character
77
86
  * encoding to another. Returns a new `Buffer` instance.
@@ -102,7 +111,7 @@ declare module 'buffer' {
102
111
  export function transcode(source: Uint8Array, fromEnc: TranscodeEncoding, toEnc: TranscodeEncoding): Buffer;
103
112
  export const SlowBuffer: {
104
113
  /** @deprecated since v6.0.0, use `Buffer.allocUnsafeSlow()` */
105
- new (size: number): Buffer;
114
+ new(size: number): Buffer;
106
115
  prototype: Buffer;
107
116
  };
108
117
  /**
@@ -186,7 +195,7 @@ declare module 'buffer' {
186
195
  * One of either `'transparent'` or `'native'`. When set to `'native'`, line endings in string source parts will be
187
196
  * converted to the platform native line-ending as specified by `require('node:os').EOL`.
188
197
  */
189
- endings?: 'native' | 'transparent';
198
+ endings?: "native" | "transparent";
190
199
  /** The File content-type. */
191
200
  type?: string;
192
201
  /** The last modified date of the file. `Default`: Date.now(). */
@@ -211,32 +220,33 @@ declare module 'buffer' {
211
220
  }
212
221
  export import atob = globalThis.atob;
213
222
  export import btoa = globalThis.btoa;
214
- import { Blob as NodeBlob } from 'buffer';
223
+ import { Blob as NodeBlob } from "buffer";
215
224
  // This conditional type will be the existing global Blob in a browser, or
216
225
  // the copy below in a Node environment.
217
- type __Blob = typeof globalThis extends { onmessage: any; Blob: infer T } ? T : NodeBlob;
226
+ type __Blob = typeof globalThis extends { onmessage: any; Blob: any } ? {} : NodeBlob;
218
227
  global {
219
228
  namespace NodeJS {
220
229
  export { BufferEncoding };
221
230
  }
222
231
  // Buffer class
223
232
  type BufferEncoding =
224
- | 'ascii'
225
- | 'utf8'
226
- | 'utf-8'
227
- | 'utf16le'
228
- | 'ucs2'
229
- | 'ucs-2'
230
- | 'base64'
231
- | 'base64url'
232
- | 'latin1'
233
- | 'binary'
234
- | 'hex';
233
+ | "ascii"
234
+ | "utf8"
235
+ | "utf-8"
236
+ | "utf16le"
237
+ | "utf-16le"
238
+ | "ucs2"
239
+ | "ucs-2"
240
+ | "base64"
241
+ | "base64url"
242
+ | "latin1"
243
+ | "binary"
244
+ | "hex";
235
245
  type WithImplicitCoercion<T> =
236
246
  | T
237
247
  | {
238
- valueOf(): T;
239
- };
248
+ valueOf(): T;
249
+ };
240
250
  /**
241
251
  * Raw data is stored in instances of the Buffer class.
242
252
  * A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized.
@@ -250,44 +260,43 @@ declare module 'buffer' {
250
260
  * @param encoding encoding to use, optional. Default is 'utf8'
251
261
  * @deprecated since v10.0.0 - Use `Buffer.from(string[, encoding])` instead.
252
262
  */
253
- new (str: string, encoding?: BufferEncoding): Buffer;
263
+ new(str: string, encoding?: BufferEncoding): Buffer;
254
264
  /**
255
265
  * Allocates a new buffer of {size} octets.
256
266
  *
257
267
  * @param size count of octets to allocate.
258
268
  * @deprecated since v10.0.0 - Use `Buffer.alloc()` instead (also see `Buffer.allocUnsafe()`).
259
269
  */
260
- new (size: number): Buffer;
270
+ new(size: number): Buffer;
261
271
  /**
262
272
  * Allocates a new buffer containing the given {array} of octets.
263
273
  *
264
274
  * @param array The octets to store.
265
275
  * @deprecated since v10.0.0 - Use `Buffer.from(array)` instead.
266
276
  */
267
- new (array: Uint8Array): Buffer;
277
+ new(array: Uint8Array): Buffer;
268
278
  /**
269
279
  * Produces a Buffer backed by the same allocated memory as
270
280
  * the given {ArrayBuffer}/{SharedArrayBuffer}.
271
281
  *
272
- *
273
282
  * @param arrayBuffer The ArrayBuffer with which to share memory.
274
283
  * @deprecated since v10.0.0 - Use `Buffer.from(arrayBuffer[, byteOffset[, length]])` instead.
275
284
  */
276
- new (arrayBuffer: ArrayBuffer | SharedArrayBuffer): Buffer;
285
+ new(arrayBuffer: ArrayBuffer | SharedArrayBuffer): Buffer;
277
286
  /**
278
287
  * Allocates a new buffer containing the given {array} of octets.
279
288
  *
280
289
  * @param array The octets to store.
281
290
  * @deprecated since v10.0.0 - Use `Buffer.from(array)` instead.
282
291
  */
283
- new (array: ReadonlyArray<any>): Buffer;
292
+ new(array: readonly any[]): Buffer;
284
293
  /**
285
294
  * Copies the passed {buffer} data onto a new {Buffer} instance.
286
295
  *
287
296
  * @param buffer The buffer to copy.
288
297
  * @deprecated since v10.0.0 - Use `Buffer.from(buffer)` instead.
289
298
  */
290
- new (buffer: Buffer): Buffer;
299
+ new(buffer: Buffer): Buffer;
291
300
  /**
292
301
  * Allocates a new `Buffer` using an `array` of bytes in the range `0` – `255`.
293
302
  * Array entries outside that range will be truncated to fit into it.
@@ -318,8 +327,8 @@ declare module 'buffer' {
318
327
  * Creates a new Buffer using the passed {data}
319
328
  * @param data data to create a new Buffer
320
329
  */
321
- from(data: Uint8Array | ReadonlyArray<number>): Buffer;
322
- from(data: WithImplicitCoercion<Uint8Array | ReadonlyArray<number> | string>): Buffer;
330
+ from(data: Uint8Array | readonly number[]): Buffer;
331
+ from(data: WithImplicitCoercion<Uint8Array | readonly number[] | string>): Buffer;
323
332
  /**
324
333
  * Creates a new Buffer containing the given JavaScript string {str}.
325
334
  * If provided, the {encoding} parameter identifies the character encoding.
@@ -329,8 +338,8 @@ declare module 'buffer' {
329
338
  str:
330
339
  | WithImplicitCoercion<string>
331
340
  | {
332
- [Symbol.toPrimitive](hint: 'string'): string;
333
- },
341
+ [Symbol.toPrimitive](hint: "string"): string;
342
+ },
334
343
  encoding?: BufferEncoding,
335
344
  ): Buffer;
336
345
  /**
@@ -447,7 +456,7 @@ declare module 'buffer' {
447
456
  * @param list List of `Buffer` or {@link Uint8Array} instances to concatenate.
448
457
  * @param totalLength Total length of the `Buffer` instances in `list` when concatenated.
449
458
  */
450
- concat(list: ReadonlyArray<Uint8Array>, totalLength?: number): Buffer;
459
+ concat(list: readonly Uint8Array[], totalLength?: number): Buffer;
451
460
  /**
452
461
  * Copies the underlying memory of `view` into a new `Buffer`.
453
462
  *
@@ -530,7 +539,7 @@ declare module 'buffer' {
530
539
  * @param [fill=0] A value to pre-fill the new `Buffer` with.
531
540
  * @param [encoding='utf8'] If `fill` is a string, this is its encoding.
532
541
  */
533
- alloc(size: number, fill?: string | Buffer | number, encoding?: BufferEncoding): Buffer;
542
+ alloc(size: number, fill?: string | Uint8Array | number, encoding?: BufferEncoding): Buffer;
534
543
  /**
535
544
  * Allocates a new `Buffer` of `size` bytes. If `size` is larger than {@link constants.MAX_LENGTH} or smaller than 0, `ERR_OUT_OF_RANGE` is thrown.
536
545
  *
@@ -719,7 +728,7 @@ declare module 'buffer' {
719
728
  * @since v0.9.2
720
729
  */
721
730
  toJSON(): {
722
- type: 'Buffer';
731
+ type: "Buffer";
723
732
  data: number[];
724
733
  };
725
734
  /**
@@ -2344,11 +2353,10 @@ declare module 'buffer' {
2344
2353
  var Blob: typeof globalThis extends {
2345
2354
  onmessage: any;
2346
2355
  Blob: infer T;
2347
- }
2348
- ? T
2356
+ } ? T
2349
2357
  : typeof NodeBlob;
2350
2358
  }
2351
2359
  }
2352
- declare module 'node:buffer' {
2353
- export * from 'buffer';
2360
+ declare module "node:buffer" {
2361
+ export * from "buffer";
2354
2362
  }