node-red-contrib-tak-registration 0.13.0 → 0.13.1

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 (465) hide show
  1. package/node_modules/@turf/jsts/dist/jsts.min.js +1 -1
  2. package/node_modules/@turf/jsts/dist/jsts.min.js.map +1 -0
  3. package/node_modules/@turf/jsts/package.json +17 -17
  4. package/node_modules/@types/geojson/README.md +1 -1
  5. package/node_modules/@types/geojson/index.d.ts +4 -1
  6. package/node_modules/@types/geojson/package.json +4 -3
  7. package/node_modules/@types/node/README.md +2 -2
  8. package/node_modules/@types/node/assert.d.ts +2 -2
  9. package/node_modules/@types/node/compatibility/disposable.d.ts +16 -0
  10. package/node_modules/@types/node/compatibility/index.d.ts +9 -0
  11. package/node_modules/@types/node/compatibility/indexable.d.ts +23 -0
  12. package/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
  13. package/node_modules/@types/node/crypto.d.ts +33 -9
  14. package/node_modules/@types/node/events.d.ts +2 -2
  15. package/node_modules/@types/node/fs/promises.d.ts +16 -5
  16. package/node_modules/@types/node/fs.d.ts +14 -8
  17. package/node_modules/@types/node/globals.d.ts +17 -48
  18. package/node_modules/@types/node/http.d.ts +38 -1
  19. package/node_modules/@types/node/http2.d.ts +4 -1
  20. package/node_modules/@types/node/https.d.ts +0 -1
  21. package/node_modules/@types/node/index.d.ts +8 -10
  22. package/node_modules/@types/node/module.d.ts +102 -1
  23. package/node_modules/@types/node/package.json +5 -9
  24. package/node_modules/@types/node/perf_hooks.d.ts +24 -0
  25. package/node_modules/@types/node/process.d.ts +61 -10
  26. package/node_modules/@types/node/readline/promises.d.ts +14 -2
  27. package/node_modules/@types/node/readline.d.ts +58 -9
  28. package/node_modules/@types/node/stream/promises.d.ts +8 -1
  29. package/node_modules/@types/node/stream/web.d.ts +5 -2
  30. package/node_modules/@types/node/stream.d.ts +2 -2
  31. package/node_modules/@types/node/test.d.ts +155 -5
  32. package/node_modules/@types/node/timers/promises.d.ts +1 -1
  33. package/node_modules/@types/node/tls.d.ts +6 -0
  34. package/node_modules/@types/node/ts5.6/index.d.ts +8 -10
  35. package/node_modules/@types/node/url.d.ts +7 -4
  36. package/node_modules/@types/node/util.d.ts +80 -10
  37. package/node_modules/@types/node/v8.d.ts +1 -1
  38. package/node_modules/@types/node/vm.d.ts +81 -27
  39. package/node_modules/@types/node/worker_threads.d.ts +34 -1
  40. package/node_modules/axios/CHANGELOG.md +49 -0
  41. package/node_modules/axios/README.md +20 -8
  42. package/node_modules/axios/dist/axios.js +34 -63
  43. package/node_modules/axios/dist/axios.js.map +1 -1
  44. package/node_modules/axios/dist/axios.min.js +1 -1
  45. package/node_modules/axios/dist/axios.min.js.map +1 -1
  46. package/node_modules/axios/dist/browser/axios.cjs +40 -71
  47. package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
  48. package/node_modules/axios/dist/esm/axios.js +40 -71
  49. package/node_modules/axios/dist/esm/axios.js.map +1 -1
  50. package/node_modules/axios/dist/esm/axios.min.js +1 -1
  51. package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  52. package/node_modules/axios/dist/node/axios.cjs +45 -75
  53. package/node_modules/axios/dist/node/axios.cjs.map +1 -1
  54. package/node_modules/axios/index.d.cts +5 -1
  55. package/node_modules/axios/index.d.ts +8 -1
  56. package/node_modules/axios/lib/adapters/http.js +4 -4
  57. package/node_modules/axios/lib/core/Axios.js +7 -2
  58. package/node_modules/axios/lib/core/mergeConfig.js +5 -5
  59. package/node_modules/axios/lib/env/data.js +1 -1
  60. package/node_modules/axios/lib/helpers/buildURL.js +7 -1
  61. package/node_modules/axios/lib/helpers/formDataToStream.js +2 -2
  62. package/node_modules/axios/lib/helpers/isURLSameOrigin.js +12 -65
  63. package/node_modules/axios/lib/helpers/validator.js +8 -0
  64. package/node_modules/axios/package.json +3 -3
  65. package/node_modules/fast-xml-parser/CHANGELOG.md +4 -0
  66. package/node_modules/fast-xml-parser/README.md +3 -2
  67. package/node_modules/fast-xml-parser/package.json +1 -1
  68. package/node_modules/fast-xml-parser/src/v5/XmlPartReader.js +21 -17
  69. package/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +1 -0
  70. package/node_modules/point-in-polygon-hao/README.md +8 -7
  71. package/node_modules/point-in-polygon-hao/dist/cjs/index.cjs +322 -0
  72. package/node_modules/point-in-polygon-hao/dist/esm/index.d.ts +10 -0
  73. package/node_modules/point-in-polygon-hao/dist/esm/index.js +56 -0
  74. package/node_modules/point-in-polygon-hao/dist/pointInPolygon.js +286 -42
  75. package/node_modules/point-in-polygon-hao/dist/pointInPolygon.min.js +1 -1
  76. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/LICENSE +24 -0
  77. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/README.md +82 -0
  78. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/esm/incircle.js +765 -0
  79. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/esm/insphere.js +766 -0
  80. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/esm/orient2d.js +184 -0
  81. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/esm/orient3d.js +462 -0
  82. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/esm/util.js +138 -0
  83. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/index.d.ts +49 -0
  84. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/index.js +5 -0
  85. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/package.json +75 -0
  86. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/incircle.js +908 -0
  87. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/incircle.min.js +1 -0
  88. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/insphere.js +914 -0
  89. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/insphere.min.js +1 -0
  90. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/orient2d.js +280 -0
  91. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/orient2d.min.js +1 -0
  92. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/orient3d.js +601 -0
  93. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/orient3d.min.js +1 -0
  94. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/predicates.js +2328 -0
  95. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/predicates.min.js +1 -0
  96. package/node_modules/point-in-polygon-hao/package.json +24 -20
  97. package/node_modules/tslib/modules/index.d.ts +1 -0
  98. package/node_modules/tslib/modules/index.js +2 -0
  99. package/node_modules/tslib/package.json +1 -1
  100. package/node_modules/tslib/tslib.d.ts +7 -0
  101. package/node_modules/tslib/tslib.es6.js +24 -1
  102. package/node_modules/tslib/tslib.es6.mjs +24 -1
  103. package/node_modules/tslib/tslib.js +56 -1
  104. package/node_modules/undici-types/eventsource.d.ts +0 -2
  105. package/node_modules/undici-types/filereader.d.ts +1 -1
  106. package/node_modules/undici-types/interceptors.d.ts +3 -1
  107. package/node_modules/undici-types/package.json +1 -1
  108. package/node_modules/undici-types/patch.d.ts +0 -38
  109. package/node_modules/undici-types/websocket.d.ts +0 -2
  110. package/node_modules/uuid/CHANGELOG.md +45 -2
  111. package/node_modules/uuid/README.md +71 -158
  112. package/node_modules/uuid/dist/cjs/index.d.ts +15 -0
  113. package/node_modules/uuid/dist/cjs/index.js +31 -0
  114. package/node_modules/uuid/dist/cjs/max.d.ts +2 -0
  115. package/node_modules/uuid/dist/cjs/max.js +3 -0
  116. package/node_modules/uuid/dist/cjs/md5.d.ts +2 -0
  117. package/node_modules/uuid/dist/cjs/md5.js +13 -0
  118. package/node_modules/uuid/dist/cjs/native.d.ts +5 -0
  119. package/node_modules/uuid/dist/cjs/native.js +4 -0
  120. package/node_modules/uuid/dist/cjs/nil.d.ts +2 -0
  121. package/node_modules/uuid/dist/cjs/nil.js +3 -0
  122. package/node_modules/uuid/dist/cjs/package.json +1 -0
  123. package/node_modules/uuid/dist/cjs/parse.d.ts +2 -0
  124. package/node_modules/uuid/dist/cjs/parse.js +11 -0
  125. package/node_modules/uuid/dist/cjs/regex.d.ts +2 -0
  126. package/node_modules/uuid/dist/cjs/regex.js +3 -0
  127. package/node_modules/uuid/dist/cjs/rng.d.ts +1 -0
  128. package/node_modules/uuid/dist/cjs/rng.js +13 -0
  129. package/node_modules/uuid/dist/cjs/sha1.d.ts +2 -0
  130. package/node_modules/uuid/dist/cjs/sha1.js +13 -0
  131. package/node_modules/uuid/dist/cjs/stringify.d.ts +3 -0
  132. package/node_modules/uuid/dist/cjs/stringify.js +38 -0
  133. package/node_modules/uuid/dist/cjs/test/parse.test.d.ts +1 -0
  134. package/node_modules/uuid/dist/cjs/test/parse.test.js +50 -0
  135. package/node_modules/uuid/dist/cjs/test/rng.test.d.ts +1 -0
  136. package/node_modules/uuid/dist/cjs/test/rng.test.js +14 -0
  137. package/node_modules/uuid/dist/cjs/test/stringify.test.d.ts +1 -0
  138. package/node_modules/uuid/dist/cjs/test/stringify.test.js +23 -0
  139. package/node_modules/uuid/dist/cjs/test/test_constants.d.ts +33 -0
  140. package/node_modules/uuid/dist/cjs/test/test_constants.js +91 -0
  141. package/node_modules/uuid/dist/cjs/test/v1.test.d.ts +1 -0
  142. package/node_modules/uuid/dist/cjs/test/v1.test.js +127 -0
  143. package/node_modules/uuid/dist/cjs/test/v35.test.d.ts +1 -0
  144. package/node_modules/uuid/dist/cjs/test/v35.test.js +143 -0
  145. package/node_modules/uuid/dist/cjs/test/v4.test.d.ts +1 -0
  146. package/node_modules/uuid/dist/cjs/test/v4.test.js +60 -0
  147. package/node_modules/uuid/dist/cjs/test/v6.test.d.ts +1 -0
  148. package/node_modules/uuid/dist/cjs/test/v6.test.js +56 -0
  149. package/node_modules/uuid/dist/cjs/test/v7.test.d.ts +1 -0
  150. package/node_modules/uuid/dist/cjs/test/v7.test.js +194 -0
  151. package/node_modules/uuid/dist/cjs/test/validate.test.d.ts +1 -0
  152. package/node_modules/uuid/dist/cjs/test/validate.test.js +13 -0
  153. package/node_modules/uuid/dist/cjs/test/version.test.d.ts +1 -0
  154. package/node_modules/uuid/dist/cjs/test/version.test.js +20 -0
  155. package/node_modules/uuid/dist/cjs/types.d.ts +21 -0
  156. package/node_modules/uuid/dist/cjs/types.js +2 -0
  157. package/node_modules/uuid/dist/cjs/uuid-bin.d.ts +1 -0
  158. package/node_modules/uuid/dist/cjs/uuid-bin.js +72 -0
  159. package/node_modules/uuid/dist/cjs/v1.d.ts +11 -0
  160. package/node_modules/uuid/dist/cjs/v1.js +78 -0
  161. package/node_modules/uuid/dist/cjs/v1ToV6.d.ts +2 -0
  162. package/node_modules/uuid/dist/cjs/v1ToV6.js +13 -0
  163. package/node_modules/uuid/dist/cjs/v3.d.ts +9 -0
  164. package/node_modules/uuid/dist/cjs/v3.js +14 -0
  165. package/node_modules/uuid/dist/cjs/v35.d.ts +7 -0
  166. package/node_modules/uuid/dist/cjs/v35.js +41 -0
  167. package/node_modules/uuid/dist/cjs/v4.d.ts +4 -0
  168. package/node_modules/uuid/dist/cjs/v4.js +23 -0
  169. package/node_modules/uuid/dist/cjs/v5.d.ts +9 -0
  170. package/node_modules/uuid/dist/cjs/v5.js +14 -0
  171. package/node_modules/uuid/dist/cjs/v6.d.ts +4 -0
  172. package/node_modules/uuid/dist/cjs/v6.js +19 -0
  173. package/node_modules/uuid/dist/cjs/v6ToV1.d.ts +2 -0
  174. package/node_modules/uuid/dist/cjs/v6ToV1.js +13 -0
  175. package/node_modules/uuid/dist/cjs/v7.d.ts +9 -0
  176. package/node_modules/uuid/dist/cjs/v7.js +60 -0
  177. package/node_modules/uuid/dist/cjs/validate.d.ts +2 -0
  178. package/node_modules/uuid/dist/cjs/validate.js +7 -0
  179. package/node_modules/uuid/dist/cjs/version.d.ts +2 -0
  180. package/node_modules/uuid/dist/cjs/version.js +10 -0
  181. package/node_modules/uuid/dist/cjs-browser/index.d.ts +15 -0
  182. package/node_modules/uuid/dist/cjs-browser/index.js +31 -0
  183. package/node_modules/uuid/dist/cjs-browser/max.d.ts +2 -0
  184. package/node_modules/uuid/dist/cjs-browser/max.js +3 -0
  185. package/node_modules/uuid/dist/cjs-browser/md5.d.ts +2 -0
  186. package/node_modules/uuid/dist/cjs-browser/md5.js +137 -0
  187. package/node_modules/uuid/dist/cjs-browser/native.d.ts +4 -0
  188. package/node_modules/uuid/dist/cjs-browser/native.js +4 -0
  189. package/node_modules/uuid/dist/cjs-browser/nil.d.ts +2 -0
  190. package/node_modules/uuid/dist/cjs-browser/nil.js +3 -0
  191. package/node_modules/uuid/dist/cjs-browser/package.json +1 -0
  192. package/node_modules/uuid/dist/cjs-browser/parse.d.ts +2 -0
  193. package/node_modules/uuid/dist/cjs-browser/parse.js +11 -0
  194. package/node_modules/uuid/dist/cjs-browser/regex.d.ts +2 -0
  195. package/node_modules/uuid/dist/cjs-browser/regex.js +3 -0
  196. package/node_modules/uuid/dist/cjs-browser/rng.d.ts +1 -0
  197. package/node_modules/uuid/dist/cjs-browser/rng.js +14 -0
  198. package/node_modules/uuid/dist/cjs-browser/sha1.d.ts +2 -0
  199. package/node_modules/uuid/dist/cjs-browser/sha1.js +72 -0
  200. package/node_modules/uuid/dist/cjs-browser/stringify.d.ts +3 -0
  201. package/node_modules/uuid/dist/cjs-browser/stringify.js +38 -0
  202. package/node_modules/uuid/dist/cjs-browser/test/parse.test.d.ts +1 -0
  203. package/node_modules/uuid/dist/cjs-browser/test/parse.test.js +50 -0
  204. package/node_modules/uuid/dist/cjs-browser/test/rng.test.d.ts +1 -0
  205. package/node_modules/uuid/dist/cjs-browser/test/rng.test.js +14 -0
  206. package/node_modules/uuid/dist/cjs-browser/test/stringify.test.d.ts +1 -0
  207. package/node_modules/uuid/dist/cjs-browser/test/stringify.test.js +23 -0
  208. package/node_modules/uuid/dist/cjs-browser/test/test_constants.d.ts +33 -0
  209. package/node_modules/uuid/dist/cjs-browser/test/test_constants.js +91 -0
  210. package/node_modules/uuid/dist/cjs-browser/test/v1.test.d.ts +1 -0
  211. package/node_modules/uuid/dist/cjs-browser/test/v1.test.js +127 -0
  212. package/node_modules/uuid/dist/cjs-browser/test/v35.test.d.ts +1 -0
  213. package/node_modules/uuid/dist/cjs-browser/test/v35.test.js +143 -0
  214. package/node_modules/uuid/dist/cjs-browser/test/v4.test.d.ts +1 -0
  215. package/node_modules/uuid/dist/cjs-browser/test/v4.test.js +60 -0
  216. package/node_modules/uuid/dist/cjs-browser/test/v6.test.d.ts +1 -0
  217. package/node_modules/uuid/dist/cjs-browser/test/v6.test.js +56 -0
  218. package/node_modules/uuid/dist/cjs-browser/test/v7.test.d.ts +1 -0
  219. package/node_modules/uuid/dist/cjs-browser/test/v7.test.js +194 -0
  220. package/node_modules/uuid/dist/cjs-browser/test/validate.test.d.ts +1 -0
  221. package/node_modules/uuid/dist/cjs-browser/test/validate.test.js +13 -0
  222. package/node_modules/uuid/dist/cjs-browser/test/version.test.d.ts +1 -0
  223. package/node_modules/uuid/dist/cjs-browser/test/version.test.js +20 -0
  224. package/node_modules/uuid/dist/cjs-browser/types.d.ts +21 -0
  225. package/node_modules/uuid/dist/cjs-browser/types.js +2 -0
  226. package/node_modules/uuid/dist/cjs-browser/uuid-bin.d.ts +1 -0
  227. package/node_modules/uuid/dist/cjs-browser/uuid-bin.js +72 -0
  228. package/node_modules/uuid/dist/cjs-browser/v1.d.ts +11 -0
  229. package/node_modules/uuid/dist/cjs-browser/v1.js +78 -0
  230. package/node_modules/uuid/dist/cjs-browser/v1ToV6.d.ts +2 -0
  231. package/node_modules/uuid/dist/cjs-browser/v1ToV6.js +13 -0
  232. package/node_modules/uuid/dist/cjs-browser/v3.d.ts +9 -0
  233. package/node_modules/uuid/dist/cjs-browser/v3.js +14 -0
  234. package/node_modules/uuid/dist/cjs-browser/v35.d.ts +7 -0
  235. package/node_modules/uuid/dist/cjs-browser/v35.js +41 -0
  236. package/node_modules/uuid/dist/cjs-browser/v4.d.ts +4 -0
  237. package/node_modules/uuid/dist/cjs-browser/v4.js +23 -0
  238. package/node_modules/uuid/dist/cjs-browser/v5.d.ts +9 -0
  239. package/node_modules/uuid/dist/cjs-browser/v5.js +14 -0
  240. package/node_modules/uuid/dist/cjs-browser/v6.d.ts +4 -0
  241. package/node_modules/uuid/dist/cjs-browser/v6.js +19 -0
  242. package/node_modules/uuid/dist/cjs-browser/v6ToV1.d.ts +2 -0
  243. package/node_modules/uuid/dist/cjs-browser/v6ToV1.js +13 -0
  244. package/node_modules/uuid/dist/cjs-browser/v7.d.ts +9 -0
  245. package/node_modules/uuid/dist/cjs-browser/v7.js +60 -0
  246. package/node_modules/uuid/dist/cjs-browser/validate.d.ts +2 -0
  247. package/node_modules/uuid/dist/cjs-browser/validate.js +7 -0
  248. package/node_modules/uuid/dist/cjs-browser/version.d.ts +2 -0
  249. package/node_modules/uuid/dist/cjs-browser/version.js +10 -0
  250. package/node_modules/uuid/dist/esm/bin/uuid +2 -0
  251. package/node_modules/uuid/dist/esm/index.d.ts +15 -0
  252. package/node_modules/uuid/dist/{esm-node → esm}/index.js +1 -1
  253. package/node_modules/uuid/dist/esm/max.d.ts +2 -0
  254. package/node_modules/uuid/dist/esm/max.js +1 -0
  255. package/node_modules/uuid/dist/esm/md5.d.ts +2 -0
  256. package/node_modules/uuid/dist/esm/md5.js +11 -0
  257. package/node_modules/uuid/dist/esm/native.d.ts +5 -0
  258. package/node_modules/uuid/dist/esm/native.js +2 -0
  259. package/node_modules/uuid/dist/esm/nil.d.ts +2 -0
  260. package/node_modules/uuid/dist/esm/nil.js +1 -0
  261. package/node_modules/uuid/dist/esm/parse.d.ts +2 -0
  262. package/node_modules/uuid/dist/esm/parse.js +9 -0
  263. package/node_modules/uuid/dist/esm/regex.d.ts +2 -0
  264. package/node_modules/uuid/dist/{esm-node → esm}/regex.js +1 -1
  265. package/node_modules/uuid/dist/esm/rng.d.ts +1 -0
  266. package/node_modules/uuid/dist/esm/rng.js +10 -0
  267. package/node_modules/uuid/dist/esm/sha1.d.ts +2 -0
  268. package/node_modules/uuid/dist/esm/sha1.js +11 -0
  269. package/node_modules/uuid/dist/esm/stringify.d.ts +3 -0
  270. package/node_modules/uuid/dist/esm/stringify.js +35 -0
  271. package/node_modules/uuid/dist/esm/test/parse.test.d.ts +1 -0
  272. package/node_modules/uuid/dist/esm/test/parse.test.js +48 -0
  273. package/node_modules/uuid/dist/esm/test/rng.test.d.ts +1 -0
  274. package/node_modules/uuid/dist/esm/test/rng.test.js +12 -0
  275. package/node_modules/uuid/dist/esm/test/stringify.test.d.ts +1 -0
  276. package/node_modules/uuid/dist/esm/test/stringify.test.js +21 -0
  277. package/node_modules/uuid/dist/esm/test/test_constants.d.ts +33 -0
  278. package/node_modules/uuid/dist/esm/test/test_constants.js +88 -0
  279. package/node_modules/uuid/dist/esm/test/v1.test.d.ts +1 -0
  280. package/node_modules/uuid/dist/esm/test/v1.test.js +125 -0
  281. package/node_modules/uuid/dist/esm/test/v35.test.d.ts +1 -0
  282. package/node_modules/uuid/dist/esm/test/v35.test.js +141 -0
  283. package/node_modules/uuid/dist/esm/test/v4.test.d.ts +1 -0
  284. package/node_modules/uuid/dist/esm/test/v4.test.js +58 -0
  285. package/node_modules/uuid/dist/esm/test/v6.test.d.ts +1 -0
  286. package/node_modules/uuid/dist/esm/test/v6.test.js +54 -0
  287. package/node_modules/uuid/dist/esm/test/v7.test.d.ts +1 -0
  288. package/node_modules/uuid/dist/esm/test/v7.test.js +192 -0
  289. package/node_modules/uuid/dist/esm/test/validate.test.d.ts +1 -0
  290. package/node_modules/uuid/dist/esm/test/validate.test.js +11 -0
  291. package/node_modules/uuid/dist/esm/test/version.test.d.ts +1 -0
  292. package/node_modules/uuid/dist/esm/test/version.test.js +18 -0
  293. package/node_modules/uuid/dist/esm/types.d.ts +21 -0
  294. package/node_modules/uuid/dist/esm/types.js +1 -0
  295. package/node_modules/uuid/dist/esm/uuid-bin.d.ts +1 -0
  296. package/node_modules/uuid/dist/esm/uuid-bin.js +70 -0
  297. package/node_modules/uuid/dist/esm/v1.d.ts +11 -0
  298. package/node_modules/uuid/dist/esm/v1.js +75 -0
  299. package/node_modules/uuid/dist/esm/v1ToV6.d.ts +2 -0
  300. package/node_modules/uuid/dist/esm/v1ToV6.js +10 -0
  301. package/node_modules/uuid/dist/esm/v3.d.ts +9 -0
  302. package/node_modules/uuid/dist/esm/v3.js +9 -0
  303. package/node_modules/uuid/dist/esm/v35.d.ts +7 -0
  304. package/node_modules/uuid/dist/esm/v35.js +36 -0
  305. package/node_modules/uuid/dist/esm/v4.d.ts +4 -0
  306. package/node_modules/uuid/dist/esm/v4.js +21 -0
  307. package/node_modules/uuid/dist/esm/v5.d.ts +9 -0
  308. package/node_modules/uuid/dist/esm/v5.js +9 -0
  309. package/node_modules/uuid/dist/esm/v6.d.ts +4 -0
  310. package/node_modules/uuid/dist/esm/v6.js +17 -0
  311. package/node_modules/uuid/dist/esm/v6ToV1.d.ts +2 -0
  312. package/node_modules/uuid/dist/esm/v6ToV1.js +10 -0
  313. package/node_modules/uuid/dist/esm/v7.d.ts +9 -0
  314. package/node_modules/uuid/dist/esm/v7.js +57 -0
  315. package/node_modules/uuid/dist/esm/validate.d.ts +2 -0
  316. package/node_modules/uuid/dist/esm/validate.js +5 -0
  317. package/node_modules/uuid/dist/esm/version.d.ts +2 -0
  318. package/node_modules/uuid/dist/esm/version.js +8 -0
  319. package/node_modules/uuid/dist/esm-browser/index.d.ts +15 -0
  320. package/node_modules/uuid/dist/esm-browser/index.js +1 -1
  321. package/node_modules/uuid/dist/esm-browser/max.d.ts +2 -0
  322. package/node_modules/uuid/dist/esm-browser/max.js +1 -1
  323. package/node_modules/uuid/dist/esm-browser/md5.d.ts +2 -0
  324. package/node_modules/uuid/dist/esm-browser/md5.js +113 -172
  325. package/node_modules/uuid/dist/esm-browser/native.d.ts +4 -0
  326. package/node_modules/uuid/dist/esm-browser/native.js +2 -4
  327. package/node_modules/uuid/dist/esm-browser/nil.d.ts +2 -0
  328. package/node_modules/uuid/dist/esm-browser/nil.js +1 -1
  329. package/node_modules/uuid/dist/esm-browser/parse.d.ts +2 -0
  330. package/node_modules/uuid/dist/esm-browser/parse.js +6 -34
  331. package/node_modules/uuid/dist/esm-browser/regex.d.ts +2 -0
  332. package/node_modules/uuid/dist/esm-browser/regex.js +1 -1
  333. package/node_modules/uuid/dist/esm-browser/rng.d.ts +1 -0
  334. package/node_modules/uuid/dist/esm-browser/rng.js +8 -14
  335. package/node_modules/uuid/dist/esm-browser/sha1.d.ts +2 -0
  336. package/node_modules/uuid/dist/esm-browser/sha1.js +62 -68
  337. package/node_modules/uuid/dist/esm-browser/stringify.d.ts +3 -0
  338. package/node_modules/uuid/dist/esm-browser/stringify.js +29 -25
  339. package/node_modules/uuid/dist/esm-browser/test/parse.test.d.ts +1 -0
  340. package/node_modules/uuid/dist/esm-browser/test/parse.test.js +48 -0
  341. package/node_modules/uuid/dist/esm-browser/test/rng.test.d.ts +1 -0
  342. package/node_modules/uuid/dist/esm-browser/test/rng.test.js +12 -0
  343. package/node_modules/uuid/dist/esm-browser/test/stringify.test.d.ts +1 -0
  344. package/node_modules/uuid/dist/esm-browser/test/stringify.test.js +21 -0
  345. package/node_modules/uuid/dist/esm-browser/test/test_constants.d.ts +33 -0
  346. package/node_modules/uuid/dist/esm-browser/test/test_constants.js +88 -0
  347. package/node_modules/uuid/dist/esm-browser/test/v1.test.d.ts +1 -0
  348. package/node_modules/uuid/dist/esm-browser/test/v1.test.js +125 -0
  349. package/node_modules/uuid/dist/esm-browser/test/v35.test.d.ts +1 -0
  350. package/node_modules/uuid/dist/esm-browser/test/v35.test.js +141 -0
  351. package/node_modules/uuid/dist/esm-browser/test/v4.test.d.ts +1 -0
  352. package/node_modules/uuid/dist/esm-browser/test/v4.test.js +58 -0
  353. package/node_modules/uuid/dist/esm-browser/test/v6.test.d.ts +1 -0
  354. package/node_modules/uuid/dist/esm-browser/test/v6.test.js +54 -0
  355. package/node_modules/uuid/dist/esm-browser/test/v7.test.d.ts +1 -0
  356. package/node_modules/uuid/dist/esm-browser/test/v7.test.js +192 -0
  357. package/node_modules/uuid/dist/esm-browser/test/validate.test.d.ts +1 -0
  358. package/node_modules/uuid/dist/esm-browser/test/validate.test.js +11 -0
  359. package/node_modules/uuid/dist/esm-browser/test/version.test.d.ts +1 -0
  360. package/node_modules/uuid/dist/esm-browser/test/version.test.js +18 -0
  361. package/node_modules/uuid/dist/esm-browser/types.d.ts +21 -0
  362. package/node_modules/uuid/dist/esm-browser/types.js +1 -0
  363. package/node_modules/uuid/dist/esm-browser/uuid-bin.d.ts +1 -0
  364. package/node_modules/uuid/dist/esm-browser/uuid-bin.js +70 -0
  365. package/node_modules/uuid/dist/esm-browser/v1.d.ts +11 -0
  366. package/node_modules/uuid/dist/esm-browser/v1.js +67 -117
  367. package/node_modules/uuid/dist/esm-browser/v1ToV6.d.ts +2 -0
  368. package/node_modules/uuid/dist/esm-browser/v1ToV6.js +6 -16
  369. package/node_modules/uuid/dist/esm-browser/v3.d.ts +9 -0
  370. package/node_modules/uuid/dist/esm-browser/v3.js +8 -3
  371. package/node_modules/uuid/dist/esm-browser/v35.d.ts +7 -0
  372. package/node_modules/uuid/dist/esm-browser/v35.js +28 -47
  373. package/node_modules/uuid/dist/esm-browser/v4.d.ts +4 -0
  374. package/node_modules/uuid/dist/esm-browser/v4.js +15 -19
  375. package/node_modules/uuid/dist/esm-browser/v5.d.ts +9 -0
  376. package/node_modules/uuid/dist/esm-browser/v5.js +8 -3
  377. package/node_modules/uuid/dist/esm-browser/v6.d.ts +4 -0
  378. package/node_modules/uuid/dist/esm-browser/v6.js +13 -32
  379. package/node_modules/uuid/dist/esm-browser/v6ToV1.d.ts +2 -0
  380. package/node_modules/uuid/dist/esm-browser/v6ToV1.js +5 -15
  381. package/node_modules/uuid/dist/esm-browser/v7.d.ts +9 -0
  382. package/node_modules/uuid/dist/esm-browser/v7.js +50 -139
  383. package/node_modules/uuid/dist/esm-browser/validate.d.ts +2 -0
  384. package/node_modules/uuid/dist/esm-browser/validate.js +2 -2
  385. package/node_modules/uuid/dist/esm-browser/version.d.ts +2 -0
  386. package/node_modules/uuid/dist/esm-browser/version.js +5 -5
  387. package/node_modules/uuid/package.json +58 -66
  388. package/package.json +4 -4
  389. package/tak-registration.js +1 -4
  390. package/node_modules/@types/node/globals.global.d.ts +0 -1
  391. package/node_modules/point-in-polygon-hao/.eslintrc +0 -10
  392. package/node_modules/point-in-polygon-hao/CHANGES.md +0 -8
  393. package/node_modules/point-in-polygon-hao/FUNDING.yml +0 -2
  394. package/node_modules/point-in-polygon-hao/dist/pointInPolygon.mjs +0 -76
  395. package/node_modules/point-in-polygon-hao/rollup.config.js +0 -19
  396. package/node_modules/point-in-polygon-hao/src/index.js +0 -74
  397. package/node_modules/uuid/dist/bin/uuid +0 -2
  398. package/node_modules/uuid/dist/commonjs-browser/index.js +0 -104
  399. package/node_modules/uuid/dist/commonjs-browser/max.js +0 -7
  400. package/node_modules/uuid/dist/commonjs-browser/md5.js +0 -200
  401. package/node_modules/uuid/dist/commonjs-browser/native.js +0 -10
  402. package/node_modules/uuid/dist/commonjs-browser/nil.js +0 -7
  403. package/node_modules/uuid/dist/commonjs-browser/parse.js +0 -44
  404. package/node_modules/uuid/dist/commonjs-browser/regex.js +0 -7
  405. package/node_modules/uuid/dist/commonjs-browser/rng.js +0 -23
  406. package/node_modules/uuid/dist/commonjs-browser/sha1.js +0 -82
  407. package/node_modules/uuid/dist/commonjs-browser/stringify.js +0 -38
  408. package/node_modules/uuid/dist/commonjs-browser/v1.js +0 -131
  409. package/node_modules/uuid/dist/commonjs-browser/v1ToV6.js +0 -26
  410. package/node_modules/uuid/dist/commonjs-browser/v3.js +0 -11
  411. package/node_modules/uuid/dist/commonjs-browser/v35.js +0 -63
  412. package/node_modules/uuid/dist/commonjs-browser/v4.js +0 -32
  413. package/node_modules/uuid/dist/commonjs-browser/v5.js +0 -11
  414. package/node_modules/uuid/dist/commonjs-browser/v6.js +0 -42
  415. package/node_modules/uuid/dist/commonjs-browser/v6ToV1.js +0 -26
  416. package/node_modules/uuid/dist/commonjs-browser/v7.js +0 -152
  417. package/node_modules/uuid/dist/commonjs-browser/validate.js +0 -12
  418. package/node_modules/uuid/dist/commonjs-browser/version.js +0 -15
  419. package/node_modules/uuid/dist/esm-node/max.js +0 -1
  420. package/node_modules/uuid/dist/esm-node/md5.js +0 -10
  421. package/node_modules/uuid/dist/esm-node/native.js +0 -4
  422. package/node_modules/uuid/dist/esm-node/nil.js +0 -1
  423. package/node_modules/uuid/dist/esm-node/parse.js +0 -37
  424. package/node_modules/uuid/dist/esm-node/rng.js +0 -10
  425. package/node_modules/uuid/dist/esm-node/sha1.js +0 -10
  426. package/node_modules/uuid/dist/esm-node/stringify.js +0 -31
  427. package/node_modules/uuid/dist/esm-node/v1.js +0 -125
  428. package/node_modules/uuid/dist/esm-node/v1ToV6.js +0 -20
  429. package/node_modules/uuid/dist/esm-node/v3.js +0 -4
  430. package/node_modules/uuid/dist/esm-node/v35.js +0 -55
  431. package/node_modules/uuid/dist/esm-node/v4.js +0 -25
  432. package/node_modules/uuid/dist/esm-node/v5.js +0 -4
  433. package/node_modules/uuid/dist/esm-node/v6.js +0 -32
  434. package/node_modules/uuid/dist/esm-node/v6ToV1.js +0 -20
  435. package/node_modules/uuid/dist/esm-node/v7.js +0 -146
  436. package/node_modules/uuid/dist/esm-node/validate.js +0 -5
  437. package/node_modules/uuid/dist/esm-node/version.js +0 -8
  438. package/node_modules/uuid/dist/index.js +0 -104
  439. package/node_modules/uuid/dist/max.js +0 -7
  440. package/node_modules/uuid/dist/md5-browser.js +0 -200
  441. package/node_modules/uuid/dist/md5.js +0 -17
  442. package/node_modules/uuid/dist/native-browser.js +0 -10
  443. package/node_modules/uuid/dist/native.js +0 -11
  444. package/node_modules/uuid/dist/nil.js +0 -7
  445. package/node_modules/uuid/dist/parse.js +0 -44
  446. package/node_modules/uuid/dist/regex.js +0 -7
  447. package/node_modules/uuid/dist/rng-browser.js +0 -23
  448. package/node_modules/uuid/dist/rng.js +0 -17
  449. package/node_modules/uuid/dist/sha1-browser.js +0 -82
  450. package/node_modules/uuid/dist/sha1.js +0 -17
  451. package/node_modules/uuid/dist/stringify.js +0 -38
  452. package/node_modules/uuid/dist/uuid-bin.js +0 -75
  453. package/node_modules/uuid/dist/v1.js +0 -131
  454. package/node_modules/uuid/dist/v1ToV6.js +0 -26
  455. package/node_modules/uuid/dist/v3.js +0 -11
  456. package/node_modules/uuid/dist/v35.js +0 -63
  457. package/node_modules/uuid/dist/v4.js +0 -32
  458. package/node_modules/uuid/dist/v5.js +0 -11
  459. package/node_modules/uuid/dist/v6.js +0 -38
  460. package/node_modules/uuid/dist/v6ToV1.js +0 -26
  461. package/node_modules/uuid/dist/v7.js +0 -152
  462. package/node_modules/uuid/dist/validate.js +0 -12
  463. package/node_modules/uuid/dist/version.js +0 -15
  464. package/node_modules/uuid/wrapper.mjs +0 -15
  465. /package/node_modules/point-in-polygon-hao/{index.d.ts → dist/cjs/index.d.cts} +0 -0
@@ -48,7 +48,7 @@ declare module "module" {
48
48
  * @since v13.7.0, v12.17.0
49
49
  * @return Returns `module.SourceMap` if a source map is found, `undefined` otherwise.
50
50
  */
51
- function findSourceMap(path: string, error?: Error): SourceMap;
51
+ function findSourceMap(path: string, error?: Error): SourceMap | undefined;
52
52
  interface SourceMapPayload {
53
53
  file: string;
54
54
  version: number;
@@ -238,12 +238,66 @@ declare module "module" {
238
238
  context: LoadHookContext,
239
239
  nextLoad: (url: string, context?: LoadHookContext) => LoadFnOutput | Promise<LoadFnOutput>,
240
240
  ) => LoadFnOutput | Promise<LoadFnOutput>;
241
+ namespace constants {
242
+ /**
243
+ * The following constants are returned as the `status` field in the object returned by
244
+ * {@link enableCompileCache} to indicate the result of the attempt to enable the
245
+ * [module compile cache](https://nodejs.org/docs/latest-v22.x/api/module.html#module-compile-cache).
246
+ * @since v22.8.0
247
+ */
248
+ namespace compileCacheStatus {
249
+ /**
250
+ * Node.js has enabled the compile cache successfully. The directory used to store the
251
+ * compile cache will be returned in the `directory` field in the
252
+ * returned object.
253
+ */
254
+ const ENABLED: number;
255
+ /**
256
+ * The compile cache has already been enabled before, either by a previous call to
257
+ * {@link enableCompileCache}, or by the `NODE_COMPILE_CACHE=dir`
258
+ * environment variable. The directory used to store the
259
+ * compile cache will be returned in the `directory` field in the
260
+ * returned object.
261
+ */
262
+ const ALREADY_ENABLED: number;
263
+ /**
264
+ * Node.js fails to enable the compile cache. This can be caused by the lack of
265
+ * permission to use the specified directory, or various kinds of file system errors.
266
+ * The detail of the failure will be returned in the `message` field in the
267
+ * returned object.
268
+ */
269
+ const FAILED: number;
270
+ /**
271
+ * Node.js cannot enable the compile cache because the environment variable
272
+ * `NODE_DISABLE_COMPILE_CACHE=1` has been set.
273
+ */
274
+ const DISABLED: number;
275
+ }
276
+ }
241
277
  }
242
278
  interface RegisterOptions<Data> {
243
279
  parentURL: string | URL;
244
280
  data?: Data | undefined;
245
281
  transferList?: any[] | undefined;
246
282
  }
283
+ interface EnableCompileCacheResult {
284
+ /**
285
+ * One of the {@link constants.compileCacheStatus}
286
+ */
287
+ status: number;
288
+ /**
289
+ * If Node.js cannot enable the compile cache, this contains
290
+ * the error message. Only set if `status` is `module.constants.compileCacheStatus.FAILED`.
291
+ */
292
+ message?: string;
293
+ /**
294
+ * If the compile cache is enabled, this contains the directory
295
+ * where the compile cache is stored. Only set if `status` is
296
+ * `module.constants.compileCacheStatus.ENABLED` or
297
+ * `module.constants.compileCacheStatus.ALREADY_ENABLED`.
298
+ */
299
+ directory?: string;
300
+ }
247
301
  interface Module extends NodeModule {}
248
302
  class Module {
249
303
  static runMain(): void;
@@ -258,6 +312,53 @@ declare module "module" {
258
312
  options?: RegisterOptions<Data>,
259
313
  ): void;
260
314
  static register<Data = any>(specifier: string | URL, options?: RegisterOptions<Data>): void;
315
+ /**
316
+ * Enable [module compile cache](https://nodejs.org/docs/latest-v22.x/api/module.html#module-compile-cache)
317
+ * in the current Node.js instance.
318
+ *
319
+ * If `cacheDir` is not specified, Node.js will either use the directory specified by the
320
+ * `NODE_COMPILE_CACHE=dir` environment variable if it's set, or use
321
+ * `path.join(os.tmpdir(), 'node-compile-cache')` otherwise. For general use cases, it's
322
+ * recommended to call `module.enableCompileCache()` without specifying the `cacheDir`,
323
+ * so that the directory can be overridden by the `NODE_COMPILE_CACHE` environment
324
+ * variable when necessary.
325
+ *
326
+ * Since compile cache is supposed to be a quiet optimization that is not required for the
327
+ * application to be functional, this method is designed to not throw any exception when the
328
+ * compile cache cannot be enabled. Instead, it will return an object containing an error
329
+ * message in the `message` field to aid debugging.
330
+ * If compile cache is enabled successfully, the `directory` field in the returned object
331
+ * contains the path to the directory where the compile cache is stored. The `status`
332
+ * field in the returned object would be one of the `module.constants.compileCacheStatus`
333
+ * values to indicate the result of the attempt to enable the
334
+ * [module compile cache](https://nodejs.org/docs/latest-v22.x/api/module.html#module-compile-cache).
335
+ *
336
+ * This method only affects the current Node.js instance. To enable it in child worker threads,
337
+ * either call this method in child worker threads too, or set the
338
+ * `process.env.NODE_COMPILE_CACHE` value to compile cache directory so the behavior can
339
+ * be inherited into the child workers. The directory can be obtained either from the
340
+ * `directory` field returned by this method, or with {@link getCompileCacheDir}.
341
+ * @since v22.8.0
342
+ * @param cacheDir Optional path to specify the directory where the compile cache
343
+ * will be stored/retrieved.
344
+ */
345
+ static enableCompileCache(cacheDir?: string): EnableCompileCacheResult;
346
+ /**
347
+ * @since v22.8.0
348
+ * @return Path to the [module compile cache](https://nodejs.org/docs/latest-v22.x/api/module.html#module-compile-cache)
349
+ * directory if it is enabled, or `undefined` otherwise.
350
+ */
351
+ static getCompileCacheDir(): string | undefined;
352
+ /**
353
+ * Flush the [module compile cache](https://nodejs.org/docs/latest-v22.x/api/module.html#module-compile-cache)
354
+ * accumulated from modules already loaded
355
+ * in the current Node.js instance to disk. This returns after all the flushing
356
+ * file system operations come to an end, no matter they succeed or not. If there
357
+ * are any errors, this will fail silently, since compile cache misses should not
358
+ * interfere with the actual operation of the application.
359
+ * @since v22.10.0
360
+ */
361
+ static flushCompileCache(): void;
261
362
  constructor(id: string, parent?: Module);
262
363
  }
263
364
  global {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "22.7.5",
3
+ "version": "22.10.2",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -170,11 +170,6 @@
170
170
  "githubUsername": "victorperin",
171
171
  "url": "https://github.com/victorperin"
172
172
  },
173
- {
174
- "name": "Yongsheng Zhang",
175
- "githubUsername": "ZYSzys",
176
- "url": "https://github.com/ZYSzys"
177
- },
178
173
  {
179
174
  "name": "NodeJS Contributors",
180
175
  "githubUsername": "NodeJS",
@@ -217,8 +212,9 @@
217
212
  },
218
213
  "scripts": {},
219
214
  "dependencies": {
220
- "undici-types": "~6.19.2"
215
+ "undici-types": "~6.20.0"
221
216
  },
222
- "typesPublisherContentHash": "09f00b18839b10dc7208a5ca277bf956cc26a57727a134678112fc8fc609127b",
223
- "typeScriptVersion": "4.8"
217
+ "peerDependencies": {},
218
+ "typesPublisherContentHash": "1c1003be2fa8d4f16936ac129ec72142249d4a14af58831bef4147ca7035833b",
219
+ "typeScriptVersion": "5.0"
224
220
  }
@@ -116,6 +116,20 @@ declare module "perf_hooks" {
116
116
  class PerformanceMeasure extends PerformanceEntry {
117
117
  readonly entryType: "measure";
118
118
  }
119
+ interface UVMetrics {
120
+ /**
121
+ * Number of event loop iterations.
122
+ */
123
+ readonly loopCount: number;
124
+ /**
125
+ * Number of events that have been processed by the event handler.
126
+ */
127
+ readonly events: number;
128
+ /**
129
+ * Number of events that were waiting to be processed when the event provider was called.
130
+ */
131
+ readonly eventsWaiting: number;
132
+ }
119
133
  /**
120
134
  * _This property is an extension by Node.js. It is not available in Web browsers._
121
135
  *
@@ -166,6 +180,16 @@ declare module "perf_hooks" {
166
180
  * @since v8.5.0
167
181
  */
168
182
  readonly nodeStart: number;
183
+ /**
184
+ * This is a wrapper to the `uv_metrics_info` function.
185
+ * It returns the current set of event loop metrics.
186
+ *
187
+ * It is recommended to use this property inside a function whose execution was
188
+ * scheduled using `setImmediate` to avoid collecting metrics before finishing all
189
+ * operations scheduled during the current loop iteration.
190
+ * @since v22.8.0, v20.18.0
191
+ */
192
+ readonly uvMetricsInfo: UVMetrics;
169
193
  /**
170
194
  * The high resolution millisecond timestamp at which the V8 platform was
171
195
  * initialized.
@@ -168,6 +168,66 @@ declare module "process" {
168
168
  libUrl?: string | undefined;
169
169
  lts?: string | undefined;
170
170
  }
171
+ interface ProcessFeatures {
172
+ /**
173
+ * A boolean value that is `true` if the current Node.js build is caching builtin modules.
174
+ * @since v12.0.0
175
+ */
176
+ readonly cached_builtins: boolean;
177
+ /**
178
+ * A boolean value that is `true` if the current Node.js build is a debug build.
179
+ * @since v0.5.5
180
+ */
181
+ readonly debug: boolean;
182
+ /**
183
+ * A boolean value that is `true` if the current Node.js build includes the inspector.
184
+ * @since v11.10.0
185
+ */
186
+ readonly inspector: boolean;
187
+ /**
188
+ * A boolean value that is `true` if the current Node.js build includes support for IPv6.
189
+ * @since v0.5.3
190
+ */
191
+ readonly ipv6: boolean;
192
+ /**
193
+ * A boolean value that is `true` if the current Node.js build supports
194
+ * [loading ECMAScript modules using `require()`](https://nodejs.org/docs/latest-v22.x/api/modules.md#loading-ecmascript-modules-using-require).
195
+ * @since v22.10.0
196
+ */
197
+ readonly require_module: boolean;
198
+ /**
199
+ * A boolean value that is `true` if the current Node.js build includes support for TLS.
200
+ * @since v0.5.3
201
+ */
202
+ readonly tls: boolean;
203
+ /**
204
+ * A boolean value that is `true` if the current Node.js build includes support for ALPN in TLS.
205
+ * @since v4.8.0
206
+ */
207
+ readonly tls_alpn: boolean;
208
+ /**
209
+ * A boolean value that is `true` if the current Node.js build includes support for OCSP in TLS.
210
+ * @since v0.11.13
211
+ */
212
+ readonly tls_ocsp: boolean;
213
+ /**
214
+ * A boolean value that is `true` if the current Node.js build includes support for SNI in TLS.
215
+ * @since v0.5.3
216
+ */
217
+ readonly tls_sni: boolean;
218
+ /**
219
+ * A value that is `"strip"` if Node.js is run with `--experimental-strip-types`,
220
+ * `"transform"` if Node.js is run with `--experimental-transform-types`, and `false` otherwise.
221
+ * @since v22.10.0
222
+ */
223
+ readonly typescript: "strip" | "transform" | false;
224
+ /**
225
+ * A boolean value that is `true` if the current Node.js build includes support for libuv.
226
+ * Since it's currently not possible to build Node.js without libuv, this value is always `true`.
227
+ * @since v0.5.3
228
+ */
229
+ readonly uv: boolean;
230
+ }
171
231
  interface ProcessVersions extends Dict<string> {
172
232
  http_parser: string;
173
233
  node: string;
@@ -1612,16 +1672,7 @@ declare module "process" {
1612
1672
  * @since v3.0.0
1613
1673
  */
1614
1674
  readonly release: ProcessRelease;
1615
- features: {
1616
- inspector: boolean;
1617
- debug: boolean;
1618
- uv: boolean;
1619
- ipv6: boolean;
1620
- tls_alpn: boolean;
1621
- tls_sni: boolean;
1622
- tls_ocsp: boolean;
1623
- tls: boolean;
1624
- };
1675
+ readonly features: ProcessFeatures;
1625
1676
  /**
1626
1677
  * `process.umask()` returns the Node.js process's file mode creation mask. Child
1627
1678
  * processes inherit the mask from the parent process.
@@ -3,8 +3,13 @@
3
3
  * @experimental
4
4
  */
5
5
  declare module "readline/promises" {
6
- import { AsyncCompleter, Completer, Direction, Interface as _Interface, ReadLineOptions } from "node:readline";
7
6
  import { Abortable } from "node:events";
7
+ import {
8
+ CompleterResult,
9
+ Direction,
10
+ Interface as _Interface,
11
+ ReadLineOptions as _ReadLineOptions,
12
+ } from "node:readline";
8
13
  /**
9
14
  * Instances of the `readlinePromises.Interface` class are constructed using the `readlinePromises.createInterface()` method. Every instance is associated with a
10
15
  * single `input` `Readable` stream and a single `output` `Writable` stream.
@@ -111,6 +116,13 @@ declare module "readline/promises" {
111
116
  */
112
117
  rollback(): this;
113
118
  }
119
+ type Completer = (line: string) => CompleterResult | Promise<CompleterResult>;
120
+ interface ReadLineOptions extends Omit<_ReadLineOptions, "completer"> {
121
+ /**
122
+ * An optional function used for Tab autocompletion.
123
+ */
124
+ completer?: Completer | undefined;
125
+ }
114
126
  /**
115
127
  * The `readlinePromises.createInterface()` method creates a new `readlinePromises.Interface` instance.
116
128
  *
@@ -140,7 +152,7 @@ declare module "readline/promises" {
140
152
  function createInterface(
141
153
  input: NodeJS.ReadableStream,
142
154
  output?: NodeJS.WritableStream,
143
- completer?: Completer | AsyncCompleter,
155
+ completer?: Completer,
144
156
  terminal?: boolean,
145
157
  ): Interface;
146
158
  function createInterface(options: ReadLineOptions): Interface;
@@ -304,7 +304,7 @@ declare module "readline" {
304
304
  prependOnceListener(event: "SIGINT", listener: () => void): this;
305
305
  prependOnceListener(event: "SIGTSTP", listener: () => void): this;
306
306
  prependOnceListener(event: "history", listener: (history: string[]) => void): this;
307
- [Symbol.asyncIterator](): AsyncIterableIterator<string>;
307
+ [Symbol.asyncIterator](): NodeJS.AsyncIterator<string>;
308
308
  }
309
309
  export type ReadLine = Interface; // type forwarded for backwards compatibility
310
310
  export type Completer = (line: string) => CompleterResult;
@@ -314,29 +314,78 @@ declare module "readline" {
314
314
  ) => void;
315
315
  export type CompleterResult = [string[], string];
316
316
  export interface ReadLineOptions {
317
+ /**
318
+ * The [`Readable`](https://nodejs.org/docs/latest-v22.x/api/stream.html#readable-streams) stream to listen to
319
+ */
317
320
  input: NodeJS.ReadableStream;
321
+ /**
322
+ * The [`Writable`](https://nodejs.org/docs/latest-v22.x/api/stream.html#writable-streams) stream to write readline data to.
323
+ */
318
324
  output?: NodeJS.WritableStream | undefined;
325
+ /**
326
+ * An optional function used for Tab autocompletion.
327
+ */
319
328
  completer?: Completer | AsyncCompleter | undefined;
329
+ /**
330
+ * `true` if the `input` and `output` streams should be treated like a TTY,
331
+ * and have ANSI/VT100 escape codes written to it.
332
+ * Default: checking `isTTY` on the `output` stream upon instantiation.
333
+ */
320
334
  terminal?: boolean | undefined;
321
335
  /**
322
- * Initial list of history lines. This option makes sense
323
- * only if `terminal` is set to `true` by the user or by an internal `output`
324
- * check, otherwise the history caching mechanism is not initialized at all.
336
+ * Initial list of history lines.
337
+ * This option makes sense only if `terminal` is set to `true` by the user or by an internal `output` check,
338
+ * otherwise the history caching mechanism is not initialized at all.
325
339
  * @default []
326
340
  */
327
341
  history?: string[] | undefined;
342
+ /**
343
+ * Maximum number of history lines retained.
344
+ * To disable the history set this value to `0`.
345
+ * This option makes sense only if `terminal` is set to `true` by the user or by an internal `output` check,
346
+ * otherwise the history caching mechanism is not initialized at all.
347
+ * @default 30
348
+ */
328
349
  historySize?: number | undefined;
329
- prompt?: string | undefined;
330
- crlfDelay?: number | undefined;
331
350
  /**
332
- * If `true`, when a new input line added
333
- * to the history list duplicates an older one, this removes the older line
334
- * from the list.
351
+ * If `true`, when a new input line added to the history list duplicates an older one,
352
+ * this removes the older line from the list.
335
353
  * @default false
336
354
  */
337
355
  removeHistoryDuplicates?: boolean | undefined;
356
+ /**
357
+ * The prompt string to use.
358
+ * @default "> "
359
+ */
360
+ prompt?: string | undefined;
361
+ /**
362
+ * If the delay between `\r` and `\n` exceeds `crlfDelay` milliseconds,
363
+ * both `\r` and `\n` will be treated as separate end-of-line input.
364
+ * `crlfDelay` will be coerced to a number no less than `100`.
365
+ * It can be set to `Infinity`, in which case
366
+ * `\r` followed by `\n` will always be considered a single newline
367
+ * (which may be reasonable for [reading files](https://nodejs.org/docs/latest-v22.x/api/readline.html#example-read-file-stream-line-by-line) with `\r\n` line delimiter).
368
+ * @default 100
369
+ */
370
+ crlfDelay?: number | undefined;
371
+ /**
372
+ * The duration `readline` will wait for a character
373
+ * (when reading an ambiguous key sequence in milliseconds
374
+ * one that can both form a complete key sequence using the input read so far
375
+ * and can take additional input to complete a longer key sequence).
376
+ * @default 500
377
+ */
338
378
  escapeCodeTimeout?: number | undefined;
379
+ /**
380
+ * The number of spaces a tab is equal to (minimum 1).
381
+ * @default 8
382
+ */
339
383
  tabSize?: number | undefined;
384
+ /**
385
+ * Allows closing the interface using an AbortSignal.
386
+ * Aborting the signal will internally call `close` on the interface.
387
+ */
388
+ signal?: AbortSignal | undefined;
340
389
  }
341
390
  /**
342
391
  * The `readline.createInterface()` method creates a new `readline.Interface` instance.
@@ -1,12 +1,19 @@
1
1
  declare module "stream/promises" {
2
2
  import {
3
- FinishedOptions,
3
+ FinishedOptions as _FinishedOptions,
4
4
  PipelineDestination,
5
5
  PipelineOptions,
6
6
  PipelinePromise,
7
7
  PipelineSource,
8
8
  PipelineTransform,
9
9
  } from "node:stream";
10
+ interface FinishedOptions extends _FinishedOptions {
11
+ /**
12
+ * If true, removes the listeners registered by this function before the promise is fulfilled.
13
+ * @default false
14
+ */
15
+ cleanup?: boolean | undefined;
16
+ }
10
17
  function finished(
11
18
  stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream,
12
19
  options?: FinishedOptions,
@@ -166,6 +166,9 @@ declare module "stream/web" {
166
166
  interface ReadableStreamErrorCallback {
167
167
  (reason: any): void | PromiseLike<void>;
168
168
  }
169
+ interface ReadableStreamAsyncIterator<T> extends NodeJS.AsyncIterator<T, NodeJS.BuiltinIteratorReturn, unknown> {
170
+ [Symbol.asyncIterator](): ReadableStreamAsyncIterator<T>;
171
+ }
169
172
  /** This Streams API interface represents a readable stream of byte data. */
170
173
  interface ReadableStream<R = any> {
171
174
  readonly locked: boolean;
@@ -176,8 +179,8 @@ declare module "stream/web" {
176
179
  pipeThrough<T>(transform: ReadableWritablePair<T, R>, options?: StreamPipeOptions): ReadableStream<T>;
177
180
  pipeTo(destination: WritableStream<R>, options?: StreamPipeOptions): Promise<void>;
178
181
  tee(): [ReadableStream<R>, ReadableStream<R>];
179
- values(options?: { preventCancel?: boolean }): AsyncIterableIterator<R>;
180
- [Symbol.asyncIterator](): AsyncIterableIterator<R>;
182
+ values(options?: { preventCancel?: boolean }): ReadableStreamAsyncIterator<R>;
183
+ [Symbol.asyncIterator](): ReadableStreamAsyncIterator<R>;
181
184
  }
182
185
  const ReadableStream: {
183
186
  prototype: ReadableStream;
@@ -422,7 +422,7 @@ declare module "stream" {
422
422
  * or exiting a `for await...of` iteration using a `break`, `return`, or `throw` will not destroy the stream.
423
423
  * **Default: `true`**.
424
424
  */
425
- iterator(options?: { destroyOnReturn?: boolean }): AsyncIterableIterator<any>;
425
+ iterator(options?: { destroyOnReturn?: boolean }): NodeJS.AsyncIterator<any>;
426
426
  /**
427
427
  * This method allows mapping over the stream. The *fn* function will be called for every chunk in the stream.
428
428
  * If the *fn* function returns a promise - that promise will be `await`ed before being passed to the result stream.
@@ -651,7 +651,7 @@ declare module "stream" {
651
651
  removeListener(event: "readable", listener: () => void): this;
652
652
  removeListener(event: "resume", listener: () => void): this;
653
653
  removeListener(event: string | symbol, listener: (...args: any[]) => void): this;
654
- [Symbol.asyncIterator](): AsyncIterableIterator<any>;
654
+ [Symbol.asyncIterator](): NodeJS.AsyncIterator<any>;
655
655
  /**
656
656
  * Calls `readable.destroy()` with an `AbortError` and returns a promise that fulfills when the stream is finished.
657
657
  * @since v20.4.0