node-red-contrib-tak-registration 0.11.0 → 0.11.4

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 (250) 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 +39 -24
  240. package/tak-registration.html +4 -4
  241. package/tak-registration.js +2 -3
  242. package/node_modules/define-data-property/tsinit +0 -109
  243. package/node_modules/function-bind/.jscs.json +0 -176
  244. package/node_modules/function-bind/.npmignore +0 -22
  245. package/node_modules/function-bind/.travis.yml +0 -168
  246. package/node_modules/has/LICENSE-MIT +0 -22
  247. package/node_modules/has/README.md +0 -18
  248. package/node_modules/has/package.json +0 -48
  249. package/node_modules/has/src/index.js +0 -5
  250. package/node_modules/has/test/index.js +0 -10
File without changes
@@ -2,15 +2,14 @@
2
2
  > `npm install --save @types/node`
3
3
 
4
4
  # Summary
5
- This package contains type definitions for Node.js (https://nodejs.org/).
5
+ This package contains type definitions for node (https://nodejs.org/).
6
6
 
7
7
  # Details
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Fri, 08 Sep 2023 21:33:18 GMT
12
- * Dependencies: none
13
- * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
11
+ * Last updated: Thu, 07 Dec 2023 07:07:09 GMT
12
+ * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
14
13
 
15
14
  # Credits
16
- These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), [wafuwafu13](https://github.com/wafuwafu13), [Matteo Collina](https://github.com/mcollina), and [Dmitry Semigradsky](https://github.com/Semigradsky).
15
+ These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), [wafuwafu13](https://github.com/wafuwafu13), [Matteo Collina](https://github.com/mcollina), and [Dmitry Semigradsky](https://github.com/Semigradsky).
@@ -1,8 +1,8 @@
1
- declare module 'assert/strict' {
2
- import { strict } from 'node:assert';
1
+ declare module "assert/strict" {
2
+ import { strict } from "node:assert";
3
3
  export = strict;
4
4
  }
5
- declare module 'node:assert/strict' {
6
- import { strict } from 'node:assert';
5
+ declare module "node:assert/strict" {
6
+ import { strict } from "node:assert";
7
7
  export = strict;
8
8
  }
@@ -3,7 +3,7 @@
3
3
  * invariants.
4
4
  * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/assert.js)
5
5
  */
6
- declare module 'assert' {
6
+ declare module "assert" {
7
7
  /**
8
8
  * An alias of {@link ok}.
9
9
  * @since v0.5.9
@@ -34,7 +34,7 @@ declare module 'assert' {
34
34
  /**
35
35
  * Value is always `ERR_ASSERTION` to show that the error is an assertion error.
36
36
  */
37
- code: 'ERR_ASSERTION';
37
+ code: "ERR_ASSERTION";
38
38
  constructor(options?: {
39
39
  /** If provided, the error message is set to this value. */
40
40
  message?: string | undefined;
@@ -45,7 +45,7 @@ declare module 'assert' {
45
45
  /** The `operator` property on the error instance. */
46
46
  operator?: string | undefined;
47
47
  /** If provided, the generated stack trace omits frames before this function. */
48
- // tslint:disable-next-line:ban-types
48
+ // eslint-disable-next-line @typescript-eslint/ban-types
49
49
  stackStartFn?: Function | undefined;
50
50
  });
51
51
  }
@@ -197,7 +197,7 @@ declare module 'assert' {
197
197
  /** A stack trace of the function. */
198
198
  stack: object;
199
199
  }
200
- type AssertPredicate = RegExp | (new () => object) | ((thrown: unknown) => boolean) | object | Error;
200
+ type AssertPredicate = RegExp | (new() => object) | ((thrown: unknown) => boolean) | object | Error;
201
201
  /**
202
202
  * Throws an `AssertionError` with the provided error message or a default
203
203
  * error message. If the `message` parameter is an instance of an `Error` then
@@ -228,8 +228,8 @@ declare module 'assert' {
228
228
  expected: unknown,
229
229
  message?: string | Error,
230
230
  operator?: string,
231
- // tslint:disable-next-line:ban-types
232
- stackStartFn?: Function
231
+ // eslint-disable-next-line @typescript-eslint/ban-types
232
+ stackStartFn?: Function,
233
233
  ): never;
234
234
  /**
235
235
  * Tests if `value` is truthy. It is equivalent to`assert.equal(!!value, true, message)`.
@@ -857,7 +857,11 @@ declare module 'assert' {
857
857
  * @since v10.0.0
858
858
  */
859
859
  function rejects(block: (() => Promise<unknown>) | Promise<unknown>, message?: string | Error): Promise<void>;
860
- function rejects(block: (() => Promise<unknown>) | Promise<unknown>, error: AssertPredicate, message?: string | Error): Promise<void>;
860
+ function rejects(
861
+ block: (() => Promise<unknown>) | Promise<unknown>,
862
+ error: AssertPredicate,
863
+ message?: string | Error,
864
+ ): Promise<void>;
861
865
  /**
862
866
  * Awaits the `asyncFn` promise or, if `asyncFn` is a function, immediately
863
867
  * calls the function and awaits the returned promise to complete. It will then
@@ -900,8 +904,15 @@ declare module 'assert' {
900
904
  * ```
901
905
  * @since v10.0.0
902
906
  */
903
- function doesNotReject(block: (() => Promise<unknown>) | Promise<unknown>, message?: string | Error): Promise<void>;
904
- function doesNotReject(block: (() => Promise<unknown>) | Promise<unknown>, error: AssertPredicate, message?: string | Error): Promise<void>;
907
+ function doesNotReject(
908
+ block: (() => Promise<unknown>) | Promise<unknown>,
909
+ message?: string | Error,
910
+ ): Promise<void>;
911
+ function doesNotReject(
912
+ block: (() => Promise<unknown>) | Promise<unknown>,
913
+ error: AssertPredicate,
914
+ message?: string | Error,
915
+ ): Promise<void>;
905
916
  /**
906
917
  * Expects the `string` input to match the regular expression.
907
918
  *
@@ -948,25 +959,38 @@ declare module 'assert' {
948
959
  * @since v13.6.0, v12.16.0
949
960
  */
950
961
  function doesNotMatch(value: string, regExp: RegExp, message?: string | Error): void;
951
- const strict: Omit<typeof assert, 'equal' | 'notEqual' | 'deepEqual' | 'notDeepEqual' | 'ok' | 'strictEqual' | 'deepStrictEqual' | 'ifError' | 'strict'> & {
952
- (value: unknown, message?: string | Error): asserts value;
953
- equal: typeof strictEqual;
954
- notEqual: typeof notStrictEqual;
955
- deepEqual: typeof deepStrictEqual;
956
- notDeepEqual: typeof notDeepStrictEqual;
957
- // Mapped types and assertion functions are incompatible?
958
- // TS2775: Assertions require every name in the call target
959
- // to be declared with an explicit type annotation.
960
- ok: typeof ok;
961
- strictEqual: typeof strictEqual;
962
- deepStrictEqual: typeof deepStrictEqual;
963
- ifError: typeof ifError;
964
- strict: typeof strict;
965
- };
962
+ const strict:
963
+ & Omit<
964
+ typeof assert,
965
+ | "equal"
966
+ | "notEqual"
967
+ | "deepEqual"
968
+ | "notDeepEqual"
969
+ | "ok"
970
+ | "strictEqual"
971
+ | "deepStrictEqual"
972
+ | "ifError"
973
+ | "strict"
974
+ >
975
+ & {
976
+ (value: unknown, message?: string | Error): asserts value;
977
+ equal: typeof strictEqual;
978
+ notEqual: typeof notStrictEqual;
979
+ deepEqual: typeof deepStrictEqual;
980
+ notDeepEqual: typeof notDeepStrictEqual;
981
+ // Mapped types and assertion functions are incompatible?
982
+ // TS2775: Assertions require every name in the call target
983
+ // to be declared with an explicit type annotation.
984
+ ok: typeof ok;
985
+ strictEqual: typeof strictEqual;
986
+ deepStrictEqual: typeof deepStrictEqual;
987
+ ifError: typeof ifError;
988
+ strict: typeof strict;
989
+ };
966
990
  }
967
991
  export = assert;
968
992
  }
969
- declare module 'node:assert' {
970
- import assert = require('assert');
993
+ declare module "node:assert" {
994
+ import assert = require("assert");
971
995
  export = assert;
972
996
  }
@@ -14,7 +14,7 @@
14
14
  * @experimental
15
15
  * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/async_hooks.js)
16
16
  */
17
- declare module 'async_hooks' {
17
+ declare module "async_hooks" {
18
18
  /**
19
19
  * ```js
20
20
  * import { executionAsyncId } from 'node:async_hooks';
@@ -275,7 +275,11 @@ declare module 'async_hooks' {
275
275
  * @param fn The function to bind to the current execution context.
276
276
  * @param type An optional name to associate with the underlying `AsyncResource`.
277
277
  */
278
- static bind<Func extends (this: ThisArg, ...args: any[]) => any, ThisArg>(fn: Func, type?: string, thisArg?: ThisArg): Func;
278
+ static bind<Func extends (this: ThisArg, ...args: any[]) => any, ThisArg>(
279
+ fn: Func,
280
+ type?: string,
281
+ thisArg?: ThisArg,
282
+ ): Func;
279
283
  /**
280
284
  * Binds the given function to execute to this `AsyncResource`'s scope.
281
285
  * @since v14.8.0, v12.19.0
@@ -292,7 +296,11 @@ declare module 'async_hooks' {
292
296
  * @param thisArg The receiver to be used for the function call.
293
297
  * @param args Optional arguments to pass to the function.
294
298
  */
295
- runInAsyncScope<This, Result>(fn: (this: This, ...args: any[]) => Result, thisArg?: This, ...args: any[]): Result;
299
+ runInAsyncScope<This, Result>(
300
+ fn: (this: This, ...args: any[]) => Result,
301
+ thisArg?: This,
302
+ ...args: any[]
303
+ ): Result;
296
304
  /**
297
305
  * Call all `destroy` hooks. This should only ever be called once. An error will
298
306
  * be thrown if it is called more than once. This **must** be manually called. If
@@ -306,7 +314,6 @@ declare module 'async_hooks' {
306
314
  */
307
315
  asyncId(): number;
308
316
  /**
309
- *
310
317
  * @return The same `triggerAsyncId` that is passed to the `AsyncResource` constructor.
311
318
  */
312
319
  triggerAsyncId(): number;
@@ -527,6 +534,6 @@ declare module 'async_hooks' {
527
534
  enterWith(store: T): void;
528
535
  }
529
536
  }
530
- declare module 'node:async_hooks' {
531
- export * from 'async_hooks';
537
+ declare module "node:async_hooks" {
538
+ export * from "async_hooks";
532
539
  }
@@ -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
  *
@@ -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
  }