@justjoshn/pi-pstack-v2 0.2.1 → 0.2.3

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 (1886) hide show
  1. package/package.json +4 -3
  2. package/skills/poteto-mode/scripts/node_modules/@types/node/LICENSE +0 -21
  3. package/skills/poteto-mode/scripts/node_modules/@types/node/README.md +0 -15
  4. package/skills/poteto-mode/scripts/node_modules/@types/node/assert/strict.d.ts +0 -68
  5. package/skills/poteto-mode/scripts/node_modules/@types/node/assert.d.ts +0 -1077
  6. package/skills/poteto-mode/scripts/node_modules/@types/node/async_hooks.d.ts +0 -711
  7. package/skills/poteto-mode/scripts/node_modules/@types/node/buffer.buffer.d.ts +0 -466
  8. package/skills/poteto-mode/scripts/node_modules/@types/node/buffer.d.ts +0 -1799
  9. package/skills/poteto-mode/scripts/node_modules/@types/node/child_process.d.ts +0 -1362
  10. package/skills/poteto-mode/scripts/node_modules/@types/node/cluster.d.ts +0 -432
  11. package/skills/poteto-mode/scripts/node_modules/@types/node/console.d.ts +0 -93
  12. package/skills/poteto-mode/scripts/node_modules/@types/node/constants.d.ts +0 -14
  13. package/skills/poteto-mode/scripts/node_modules/@types/node/crypto.d.ts +0 -3954
  14. package/skills/poteto-mode/scripts/node_modules/@types/node/dgram.d.ts +0 -537
  15. package/skills/poteto-mode/scripts/node_modules/@types/node/diagnostics_channel.d.ts +0 -794
  16. package/skills/poteto-mode/scripts/node_modules/@types/node/dns/promises.d.ts +0 -497
  17. package/skills/poteto-mode/scripts/node_modules/@types/node/dns.d.ts +0 -876
  18. package/skills/poteto-mode/scripts/node_modules/@types/node/domain.d.ts +0 -150
  19. package/skills/poteto-mode/scripts/node_modules/@types/node/events.d.ts +0 -1008
  20. package/skills/poteto-mode/scripts/node_modules/@types/node/ffi.d.ts +0 -486
  21. package/skills/poteto-mode/scripts/node_modules/@types/node/fs/promises.d.ts +0 -1481
  22. package/skills/poteto-mode/scripts/node_modules/@types/node/fs.d.ts +0 -4786
  23. package/skills/poteto-mode/scripts/node_modules/@types/node/globals.d.ts +0 -150
  24. package/skills/poteto-mode/scripts/node_modules/@types/node/globals.typedarray.d.ts +0 -101
  25. package/skills/poteto-mode/scripts/node_modules/@types/node/http.d.ts +0 -2172
  26. package/skills/poteto-mode/scripts/node_modules/@types/node/http2.d.ts +0 -2489
  27. package/skills/poteto-mode/scripts/node_modules/@types/node/https.d.ts +0 -400
  28. package/skills/poteto-mode/scripts/node_modules/@types/node/index.d.ts +0 -115
  29. package/skills/poteto-mode/scripts/node_modules/@types/node/inspector/promises.d.ts +0 -35
  30. package/skills/poteto-mode/scripts/node_modules/@types/node/inspector.d.ts +0 -264
  31. package/skills/poteto-mode/scripts/node_modules/@types/node/inspector.generated.d.ts +0 -4406
  32. package/skills/poteto-mode/scripts/node_modules/@types/node/module.d.ts +0 -726
  33. package/skills/poteto-mode/scripts/node_modules/@types/node/net.d.ts +0 -970
  34. package/skills/poteto-mode/scripts/node_modules/@types/node/os.d.ts +0 -498
  35. package/skills/poteto-mode/scripts/node_modules/@types/node/package.json +0 -155
  36. package/skills/poteto-mode/scripts/node_modules/@types/node/path/posix.d.ts +0 -8
  37. package/skills/poteto-mode/scripts/node_modules/@types/node/path/win32.d.ts +0 -8
  38. package/skills/poteto-mode/scripts/node_modules/@types/node/path.d.ts +0 -178
  39. package/skills/poteto-mode/scripts/node_modules/@types/node/perf_hooks.d.ts +0 -604
  40. package/skills/poteto-mode/scripts/node_modules/@types/node/process.d.ts +0 -2217
  41. package/skills/poteto-mode/scripts/node_modules/@types/node/punycode.d.ts +0 -89
  42. package/skills/poteto-mode/scripts/node_modules/@types/node/querystring.d.ts +0 -139
  43. package/skills/poteto-mode/scripts/node_modules/@types/node/quic.d.ts +0 -978
  44. package/skills/poteto-mode/scripts/node_modules/@types/node/readline/promises.d.ts +0 -158
  45. package/skills/poteto-mode/scripts/node_modules/@types/node/readline.d.ts +0 -508
  46. package/skills/poteto-mode/scripts/node_modules/@types/node/repl.d.ts +0 -420
  47. package/skills/poteto-mode/scripts/node_modules/@types/node/sea.d.ts +0 -47
  48. package/skills/poteto-mode/scripts/node_modules/@types/node/sqlite.d.ts +0 -1123
  49. package/skills/poteto-mode/scripts/node_modules/@types/node/stream/consumers.d.ts +0 -114
  50. package/skills/poteto-mode/scripts/node_modules/@types/node/stream/iter.d.ts +0 -451
  51. package/skills/poteto-mode/scripts/node_modules/@types/node/stream/promises.d.ts +0 -211
  52. package/skills/poteto-mode/scripts/node_modules/@types/node/stream/web.d.ts +0 -300
  53. package/skills/poteto-mode/scripts/node_modules/@types/node/stream.d.ts +0 -1806
  54. package/skills/poteto-mode/scripts/node_modules/@types/node/string_decoder.d.ts +0 -27
  55. package/skills/poteto-mode/scripts/node_modules/@types/node/test/reporters.d.ts +0 -59
  56. package/skills/poteto-mode/scripts/node_modules/@types/node/test.d.ts +0 -2389
  57. package/skills/poteto-mode/scripts/node_modules/@types/node/timers/promises.d.ts +0 -93
  58. package/skills/poteto-mode/scripts/node_modules/@types/node/timers.d.ts +0 -149
  59. package/skills/poteto-mode/scripts/node_modules/@types/node/tls.d.ts +0 -1193
  60. package/skills/poteto-mode/scripts/node_modules/@types/node/trace_events.d.ts +0 -103
  61. package/skills/poteto-mode/scripts/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -462
  62. package/skills/poteto-mode/scripts/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +0 -71
  63. package/skills/poteto-mode/scripts/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -36
  64. package/skills/poteto-mode/scripts/node_modules/@types/node/ts5.6/index.d.ts +0 -117
  65. package/skills/poteto-mode/scripts/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +0 -72
  66. package/skills/poteto-mode/scripts/node_modules/@types/node/ts5.7/index.d.ts +0 -117
  67. package/skills/poteto-mode/scripts/node_modules/@types/node/tty.d.ts +0 -225
  68. package/skills/poteto-mode/scripts/node_modules/@types/node/url.d.ts +0 -556
  69. package/skills/poteto-mode/scripts/node_modules/@types/node/util/types.d.ts +0 -558
  70. package/skills/poteto-mode/scripts/node_modules/@types/node/util.d.ts +0 -1677
  71. package/skills/poteto-mode/scripts/node_modules/@types/node/v8.d.ts +0 -1062
  72. package/skills/poteto-mode/scripts/node_modules/@types/node/vm.d.ts +0 -1136
  73. package/skills/poteto-mode/scripts/node_modules/@types/node/wasi.d.ts +0 -131
  74. package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -59
  75. package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/blob.d.ts +0 -23
  76. package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/console.d.ts +0 -9
  77. package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/crypto.d.ts +0 -39
  78. package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/domexception.d.ts +0 -83
  79. package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/encoding.d.ts +0 -11
  80. package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/events.d.ts +0 -106
  81. package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/fetch.d.ts +0 -69
  82. package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/importmeta.d.ts +0 -13
  83. package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/messaging.d.ts +0 -23
  84. package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/navigator.d.ts +0 -25
  85. package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/performance.d.ts +0 -45
  86. package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/storage.d.ts +0 -24
  87. package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/streams.d.ts +0 -115
  88. package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/timers.d.ts +0 -44
  89. package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/url.d.ts +0 -24
  90. package/skills/poteto-mode/scripts/node_modules/@types/node/worker_threads.d.ts +0 -669
  91. package/skills/poteto-mode/scripts/node_modules/@types/node/zlib/iter.d.ts +0 -131
  92. package/skills/poteto-mode/scripts/node_modules/@types/node/zlib.d.ts +0 -589
  93. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/LICENSE +0 -55
  94. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/NOTICE.txt +0 -436
  95. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/README.md +0 -3
  96. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.d.ts +0 -20
  97. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.decorators.d.ts +0 -382
  98. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.decorators.legacy.d.ts +0 -20
  99. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.dom.asynciterable.d.ts +0 -18
  100. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.dom.d.ts +0 -45125
  101. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.dom.iterable.d.ts +0 -18
  102. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2015.collection.d.ts +0 -159
  103. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2015.core.d.ts +0 -595
  104. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2015.d.ts +0 -26
  105. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2015.generator.d.ts +0 -75
  106. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2015.iterable.d.ts +0 -603
  107. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2015.promise.d.ts +0 -79
  108. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2015.proxy.d.ts +0 -126
  109. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2015.reflect.d.ts +0 -142
  110. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2015.symbol.d.ts +0 -44
  111. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2015.symbol.wellknown.d.ts +0 -324
  112. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2016.array.include.d.ts +0 -114
  113. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2016.d.ts +0 -19
  114. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2016.full.d.ts +0 -21
  115. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2016.intl.d.ts +0 -29
  116. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2017.arraybuffer.d.ts +0 -19
  117. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2017.d.ts +0 -24
  118. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2017.date.d.ts +0 -29
  119. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2017.full.d.ts +0 -21
  120. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2017.intl.d.ts +0 -42
  121. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2017.object.d.ts +0 -47
  122. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2017.sharedmemory.d.ts +0 -133
  123. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2017.string.d.ts +0 -47
  124. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2017.typedarrays.d.ts +0 -51
  125. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2018.asyncgenerator.d.ts +0 -75
  126. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2018.asynciterable.d.ts +0 -51
  127. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2018.d.ts +0 -22
  128. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2018.full.d.ts +0 -22
  129. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2018.intl.d.ts +0 -81
  130. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2018.promise.d.ts +0 -28
  131. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2018.regexp.d.ts +0 -35
  132. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2019.array.d.ts +0 -77
  133. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2019.d.ts +0 -22
  134. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2019.full.d.ts +0 -22
  135. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2019.intl.d.ts +0 -21
  136. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2019.object.d.ts +0 -31
  137. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2019.string.d.ts +0 -35
  138. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2019.symbol.d.ts +0 -22
  139. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2020.bigint.d.ts +0 -763
  140. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2020.d.ts +0 -25
  141. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2020.date.d.ts +0 -40
  142. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2020.full.d.ts +0 -22
  143. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2020.intl.d.ts +0 -472
  144. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2020.number.d.ts +0 -26
  145. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2020.promise.d.ts +0 -45
  146. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2020.sharedmemory.d.ts +0 -97
  147. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2020.string.d.ts +0 -42
  148. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2020.symbol.wellknown.d.ts +0 -39
  149. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2021.d.ts +0 -21
  150. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2021.full.d.ts +0 -22
  151. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2021.intl.d.ts +0 -164
  152. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2021.promise.d.ts +0 -46
  153. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2021.string.d.ts +0 -31
  154. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2021.weakref.d.ts +0 -76
  155. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2022.array.d.ts +0 -119
  156. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2022.d.ts +0 -23
  157. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2022.error.d.ts +0 -73
  158. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2022.full.d.ts +0 -22
  159. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2022.intl.d.ts +0 -143
  160. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2022.object.d.ts +0 -24
  161. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2022.regexp.d.ts +0 -37
  162. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2022.string.d.ts +0 -23
  163. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2023.array.d.ts +0 -922
  164. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2023.collection.d.ts +0 -19
  165. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2023.d.ts +0 -20
  166. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2023.full.d.ts +0 -22
  167. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2023.intl.d.ts +0 -62
  168. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2024.arraybuffer.d.ts +0 -63
  169. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2024.collection.d.ts +0 -27
  170. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2024.d.ts +0 -24
  171. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2024.full.d.ts +0 -22
  172. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2024.object.d.ts +0 -27
  173. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2024.promise.d.ts +0 -33
  174. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2024.regexp.d.ts +0 -23
  175. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2024.sharedmemory.d.ts +0 -66
  176. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2024.string.d.ts +0 -27
  177. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2025.collection.d.ts +0 -94
  178. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2025.d.ts +0 -23
  179. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2025.float16.d.ts +0 -443
  180. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2025.full.d.ts +0 -22
  181. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2025.intl.d.ts +0 -200
  182. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2025.iterator.d.ts +0 -146
  183. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2025.promise.d.ts +0 -32
  184. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2025.regexp.d.ts +0 -30
  185. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es5.d.ts +0 -4599
  186. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es6.d.ts +0 -21
  187. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.esnext.array.d.ts +0 -33
  188. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.esnext.collection.d.ts +0 -47
  189. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.esnext.d.ts +0 -27
  190. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.esnext.date.d.ts +0 -21
  191. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.esnext.decorators.d.ts +0 -26
  192. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.esnext.disposable.d.ts +0 -191
  193. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.esnext.error.d.ts +0 -22
  194. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.esnext.full.d.ts +0 -22
  195. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.esnext.intl.d.ts +0 -107
  196. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.esnext.sharedmemory.d.ts +0 -23
  197. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.esnext.temporal.d.ts +0 -485
  198. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.esnext.typedarrays.d.ts +0 -90
  199. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.scripthost.d.ts +0 -320
  200. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.webworker.asynciterable.d.ts +0 -18
  201. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.webworker.d.ts +0 -15606
  202. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.webworker.importscripts.d.ts +0 -21
  203. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.webworker.iterable.d.ts +0 -18
  204. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/tsc +0 -0
  205. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/package.json +0 -45
  206. package/skills/poteto-mode/scripts/node_modules/bun-types/README.md +0 -33
  207. package/skills/poteto-mode/scripts/node_modules/bun-types/bun.d.ts +0 -9749
  208. package/skills/poteto-mode/scripts/node_modules/bun-types/bun.ns.d.ts +0 -5
  209. package/skills/poteto-mode/scripts/node_modules/bun-types/bundle.d.ts +0 -74
  210. package/skills/poteto-mode/scripts/node_modules/bun-types/deprecated.d.ts +0 -184
  211. package/skills/poteto-mode/scripts/node_modules/bun-types/devserver.d.ts +0 -187
  212. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/README.md +0 -28
  213. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/bundler/bytecode.mdx +0 -447
  214. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/bundler/css.mdx +0 -1024
  215. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/bundler/esbuild.mdx +0 -304
  216. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/bundler/executables.mdx +0 -1318
  217. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/bundler/fullstack.mdx +0 -1086
  218. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/bundler/hot-reloading.mdx +0 -229
  219. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/bundler/html-static.mdx +0 -498
  220. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/bundler/index.mdx +0 -1840
  221. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/bundler/loaders.mdx +0 -451
  222. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/bundler/macros.mdx +0 -328
  223. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/bundler/minifier.mdx +0 -1286
  224. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/bundler/plugins.mdx +0 -477
  225. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/bundler/standalone-html.mdx +0 -314
  226. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/feedback.mdx +0 -75
  227. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/arraybuffer-to-array.mdx +0 -29
  228. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/arraybuffer-to-blob.mdx +0 -26
  229. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/arraybuffer-to-buffer.mdx +0 -27
  230. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/arraybuffer-to-string.mdx +0 -17
  231. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/arraybuffer-to-typedarray.mdx +0 -41
  232. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/blob-to-arraybuffer.mdx +0 -16
  233. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/blob-to-dataview.mdx +0 -16
  234. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/blob-to-stream.mdx +0 -16
  235. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/blob-to-string.mdx +0 -17
  236. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/blob-to-typedarray.mdx +0 -16
  237. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/buffer-to-arraybuffer.mdx +0 -16
  238. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/buffer-to-blob.mdx +0 -16
  239. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/buffer-to-readablestream.mdx +0 -43
  240. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/buffer-to-string.mdx +0 -27
  241. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/buffer-to-typedarray.mdx +0 -16
  242. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/dataview-to-string.mdx +0 -17
  243. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/typedarray-to-arraybuffer.mdx +0 -27
  244. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/typedarray-to-blob.mdx +0 -18
  245. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/typedarray-to-buffer.mdx +0 -16
  246. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/typedarray-to-dataview.mdx +0 -16
  247. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/typedarray-to-readablestream.mdx +0 -43
  248. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/typedarray-to-string.mdx +0 -18
  249. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/deployment/aws-lambda.mdx +0 -204
  250. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/deployment/digital-ocean.mdx +0 -161
  251. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/deployment/google-cloud-run.mdx +0 -193
  252. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/deployment/railway.mdx +0 -145
  253. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/deployment/render.mdx +0 -82
  254. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/deployment/vercel.mdx +0 -97
  255. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/astro.mdx +0 -82
  256. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/discordjs.mdx +0 -80
  257. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/docker.mdx +0 -151
  258. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/drizzle.mdx +0 -195
  259. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/elysia.mdx +0 -31
  260. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/express.mdx +0 -43
  261. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/gel.mdx +0 -261
  262. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/hono.mdx +0 -47
  263. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/mongoose.mdx +0 -92
  264. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/neon-drizzle.mdx +0 -234
  265. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/neon-serverless-postgres.mdx +0 -60
  266. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/nextjs.mdx +0 -103
  267. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/nuxt.mdx +0 -96
  268. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/pm2.mdx +0 -55
  269. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/prisma-postgres.mdx +0 -169
  270. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/prisma.mdx +0 -164
  271. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/qwik.mdx +0 -114
  272. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/react.mdx +0 -52
  273. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/remix.mdx +0 -97
  274. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/sentry.mdx +0 -54
  275. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/solidstart.mdx +0 -62
  276. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/ssr-react.mdx +0 -49
  277. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/stric.mdx +0 -54
  278. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/sveltekit.mdx +0 -138
  279. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/systemd.mdx +0 -114
  280. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/tanstack-start.mdx +0 -791
  281. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/upstash.mdx +0 -87
  282. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/vite.mdx +0 -77
  283. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/html-rewriter/extract-links.mdx +0 -71
  284. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/html-rewriter/extract-social-meta.mdx +0 -97
  285. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/http/cluster.mdx +0 -69
  286. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/http/fetch-unix.mdx +0 -35
  287. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/http/fetch.mdx +0 -26
  288. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/http/file-uploads.mdx +0 -97
  289. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/http/hot.mdx +0 -28
  290. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/http/proxy.mdx +0 -50
  291. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/http/server.mdx +0 -48
  292. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/http/simple.mdx +0 -20
  293. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/http/sse.mdx +0 -91
  294. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/http/stream-file.mdx +0 -50
  295. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/http/stream-iterator.mdx +0 -49
  296. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/http/stream-node-streams-in-bun.mdx +0 -22
  297. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/http/tls.mdx +0 -32
  298. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/index.mdx +0 -10
  299. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/add-dev.mdx +0 -28
  300. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/add-git.mdx +0 -40
  301. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/add-optional.mdx +0 -27
  302. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/add-peer.mdx +0 -45
  303. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/add-tarball.mdx +0 -35
  304. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/add.mdx +0 -44
  305. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/azure-artifacts.mdx +0 -76
  306. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/cicd.mdx +0 -43
  307. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/custom-registry.mdx +0 -32
  308. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/from-npm-install-to-bun-install.mdx +0 -230
  309. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/git-diff-bun-lockfile.mdx +0 -48
  310. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/jfrog-artifactory.mdx +0 -28
  311. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/npm-alias.mdx +0 -25
  312. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/registry-scope.mdx +0 -40
  313. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/trusted.mdx +0 -52
  314. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/workspaces.mdx +0 -70
  315. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/yarnlock.mdx +0 -51
  316. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/process/argv.mdx +0 -66
  317. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/process/ctrl-c.mdx +0 -18
  318. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/process/ipc.mdx +0 -69
  319. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/process/nanoseconds.mdx +0 -15
  320. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/process/os-signals.mdx +0 -31
  321. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/process/spawn-stderr.mdx +0 -34
  322. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/process/spawn-stdout.mdx +0 -28
  323. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/process/spawn.mdx +0 -43
  324. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/process/stdin.mdx +0 -62
  325. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/read-file/arraybuffer.mdx +0 -30
  326. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/read-file/buffer.mdx +0 -21
  327. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/read-file/exists.mdx +0 -18
  328. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/read-file/json.mdx +0 -19
  329. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/read-file/mime.mdx +0 -22
  330. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/read-file/stream.mdx +0 -28
  331. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/read-file/string.mdx +0 -24
  332. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/read-file/uint8array.mdx +0 -23
  333. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/read-file/watch.mdx +0 -66
  334. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/build-time-constants.mdx +0 -295
  335. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/cicd.mdx +0 -45
  336. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/codesign-macos-executable.mdx +0 -61
  337. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/define-constant.mdx +0 -151
  338. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/delete-directory.mdx +0 -39
  339. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/delete-file.mdx +0 -21
  340. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/heap-snapshot.mdx +0 -28
  341. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/import-html.mdx +0 -15
  342. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/import-json.mdx +0 -46
  343. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/import-json5.mdx +0 -74
  344. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/import-toml.mdx +0 -32
  345. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/import-yaml.mdx +0 -104
  346. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/read-env.mdx +0 -37
  347. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/set-env.mdx +0 -51
  348. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/shell.mdx +0 -42
  349. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/timezone.mdx +0 -38
  350. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/tsconfig-paths.mdx +0 -31
  351. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/typescript.mdx +0 -56
  352. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/vscode-debugger.mdx +0 -47
  353. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/web-debugger.mdx +0 -103
  354. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/streams/node-readable-to-arraybuffer.mdx +0 -13
  355. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/streams/node-readable-to-blob.mdx +0 -13
  356. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/streams/node-readable-to-json.mdx +0 -14
  357. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/streams/node-readable-to-string.mdx +0 -14
  358. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/streams/node-readable-to-uint8array.mdx +0 -13
  359. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/streams/to-array.mdx +0 -16
  360. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/streams/to-arraybuffer.mdx +0 -16
  361. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/streams/to-blob.mdx +0 -16
  362. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/streams/to-buffer.mdx +0 -17
  363. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/streams/to-json.mdx +0 -16
  364. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/streams/to-string.mdx +0 -16
  365. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/streams/to-typedarray.mdx +0 -24
  366. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/bail.mdx +0 -24
  367. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/concurrent-test-glob.mdx +0 -146
  368. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/coverage-threshold.mdx +0 -67
  369. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/coverage.mdx +0 -49
  370. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/happy-dom.mdx +0 -73
  371. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/migrate-from-jest.mdx +0 -125
  372. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/mock-clock.mdx +0 -50
  373. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/mock-functions.mdx +0 -70
  374. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/rerun-each.mdx +0 -16
  375. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/run-tests.mdx +0 -116
  376. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/skip-tests.mdx +0 -43
  377. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/snapshot.mdx +0 -102
  378. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/spy-on.mdx +0 -49
  379. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/svelte-test.mdx +0 -113
  380. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/testing-library.mdx +0 -93
  381. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/timeout.mdx +0 -17
  382. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/todo-tests.mdx +0 -74
  383. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/update-snapshots.mdx +0 -49
  384. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/watch-mode.mdx +0 -24
  385. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/base64.mdx +0 -17
  386. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/deep-equals.mdx +0 -41
  387. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/deflate.mdx +0 -20
  388. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/detect-bun.mdx +0 -28
  389. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/entrypoint.mdx +0 -19
  390. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/escape-html.mdx +0 -24
  391. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/file-url-to-path.mdx +0 -16
  392. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/gzip.mdx +0 -20
  393. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/hash-a-password.mdx +0 -56
  394. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/import-meta-dir.mdx +0 -15
  395. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/import-meta-file.mdx +0 -15
  396. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/import-meta-path.mdx +0 -15
  397. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/javascript-uuid.mdx +0 -25
  398. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/main.mdx +0 -43
  399. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/path-to-file-url.mdx +0 -16
  400. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/sleep.mdx +0 -24
  401. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/upgrade.mdx +0 -93
  402. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/version.mdx +0 -23
  403. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/which-path-to-executable-bin.mdx +0 -17
  404. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/websocket/compression.mdx +0 -33
  405. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/websocket/context.mdx +0 -79
  406. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/websocket/pubsub.mdx +0 -43
  407. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/websocket/simple.mdx +0 -38
  408. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/write-file/append.mdx +0 -54
  409. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/write-file/basic.mdx +0 -46
  410. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/write-file/blob.mdx +0 -30
  411. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/write-file/cat.mdx +0 -19
  412. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/write-file/file-cp.mdx +0 -18
  413. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/write-file/filesink.mdx +0 -54
  414. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/write-file/response.mdx +0 -19
  415. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/write-file/stdout.mdx +0 -23
  416. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/write-file/stream.mdx +0 -19
  417. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/write-file/unlink.mdx +0 -18
  418. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/index.mdx +0 -133
  419. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/installation.mdx +0 -373
  420. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/bunx.mdx +0 -91
  421. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/catalogs.mdx +0 -292
  422. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/cli/add.mdx +0 -179
  423. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/cli/audit.mdx +0 -60
  424. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/cli/info.mdx +0 -70
  425. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/cli/install.mdx +0 -591
  426. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/cli/link.mdx +0 -61
  427. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/cli/outdated.mdx +0 -197
  428. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/cli/patch.mdx +0 -69
  429. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/cli/pm.mdx +0 -323
  430. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/cli/publish.mdx +0 -131
  431. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/cli/remove.mdx +0 -16
  432. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/cli/update.mdx +0 -140
  433. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/cli/why.mdx +0 -84
  434. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/filter.mdx +0 -127
  435. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/global-cache.mdx +0 -72
  436. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/global-store.mdx +0 -149
  437. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/isolated-installs.mdx +0 -224
  438. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/lifecycle.mdx +0 -77
  439. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/lockfile.mdx +0 -64
  440. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/npmrc.mdx +0 -245
  441. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/overrides.mdx +0 -83
  442. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/scopes-registries.mdx +0 -35
  443. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/security-scanner-api.mdx +0 -95
  444. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/workspaces.mdx +0 -115
  445. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/project/benchmarking.mdx +0 -296
  446. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/project/bindgen.mdx +0 -223
  447. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/project/building-windows.mdx +0 -143
  448. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/project/contributing.mdx +0 -380
  449. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/project/feedback.mdx +0 -20
  450. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/project/license.mdx +0 -78
  451. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/project/roadmap.mdx +0 -8
  452. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/quickstart.mdx +0 -251
  453. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/archive.mdx +0 -452
  454. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/auto-install.mdx +0 -97
  455. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/binary-data.mdx +0 -846
  456. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/bun-apis.mdx +0 -61
  457. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/bunfig.mdx +0 -872
  458. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/c-compiler.mdx +0 -204
  459. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/child-process.mdx +0 -668
  460. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/color.mdx +0 -267
  461. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/console.mdx +0 -67
  462. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/cookies.mdx +0 -454
  463. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/cron.mdx +0 -447
  464. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/csrf.mdx +0 -171
  465. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/debugger.mdx +0 -335
  466. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/environment-variables.mdx +0 -231
  467. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/ffi.mdx +0 -567
  468. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/file-io.mdx +0 -306
  469. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/file-system-router.mdx +0 -118
  470. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/file-types.mdx +0 -482
  471. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/glob.mdx +0 -181
  472. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/globals.mdx +0 -72
  473. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/hashing.mdx +0 -315
  474. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/html-rewriter.mdx +0 -333
  475. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/http/cookies.mdx +0 -79
  476. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/http/error-handling.mdx +0 -40
  477. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/http/metrics.mdx +0 -36
  478. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/http/routing.mdx +0 -289
  479. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/http/server.mdx +0 -716
  480. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/http/tls.mdx +0 -101
  481. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/http/websockets.mdx +0 -414
  482. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/image.mdx +0 -211
  483. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/index.mdx +0 -223
  484. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/json5.mdx +0 -271
  485. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/jsonl.mdx +0 -188
  486. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/jsx.mdx +0 -115
  487. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/markdown.mdx +0 -381
  488. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/module-resolution.mdx +0 -374
  489. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/networking/dns.mdx +0 -111
  490. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/networking/fetch.mdx +0 -484
  491. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/networking/tcp.mdx +0 -239
  492. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/networking/udp.mdx +0 -180
  493. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/node-api.mdx +0 -19
  494. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/nodejs-compat.mdx +0 -468
  495. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/plugins.mdx +0 -419
  496. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/redis.mdx +0 -583
  497. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/repl.mdx +0 -176
  498. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/s3.mdx +0 -881
  499. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/secrets.mdx +0 -340
  500. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/semver.mdx +0 -57
  501. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/shell.mdx +0 -637
  502. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/sql.mdx +0 -1404
  503. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/sqlite.mdx +0 -746
  504. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/streams.mdx +0 -232
  505. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/templating/create.mdx +0 -268
  506. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/templating/init.mdx +0 -58
  507. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/toml.mdx +0 -238
  508. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/transpiler.mdx +0 -288
  509. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/typescript.mdx +0 -59
  510. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/utils.mdx +0 -1010
  511. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/watch-mode.mdx +0 -161
  512. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/web-apis.mdx +0 -29
  513. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/webview.mdx +0 -631
  514. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/workers.mdx +0 -314
  515. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/yaml.mdx +0 -470
  516. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/add.mdx +0 -166
  517. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/build.mdx +0 -197
  518. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/bunx.mdx +0 -49
  519. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/feedback.mdx +0 -17
  520. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/init.mdx +0 -84
  521. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/install.mdx +0 -173
  522. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/link.mdx +0 -163
  523. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/outdated.mdx +0 -140
  524. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/patch.mdx +0 -171
  525. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/publish.mdx +0 -198
  526. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/remove.mdx +0 -146
  527. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/run.mdx +0 -305
  528. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/test.mdx +0 -105
  529. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/update.mdx +0 -144
  530. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/test/code-coverage.mdx +0 -409
  531. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/test/configuration.mdx +0 -574
  532. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/test/dates-times.mdx +0 -129
  533. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/test/discovery.mdx +0 -90
  534. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/test/dom.mdx +0 -226
  535. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/test/index.mdx +0 -409
  536. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/test/lifecycle.mdx +0 -366
  537. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/test/mocks.mdx +0 -637
  538. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/test/reporters.mdx +0 -126
  539. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/test/runtime-behavior.mdx +0 -342
  540. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/test/snapshots.mdx +0 -434
  541. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/test/writing-tests.mdx +0 -672
  542. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/typescript-6.mdx +0 -79
  543. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/typescript.mdx +0 -59
  544. package/skills/poteto-mode/scripts/node_modules/bun-types/extensions.d.ts +0 -40
  545. package/skills/poteto-mode/scripts/node_modules/bun-types/fetch.d.ts +0 -80
  546. package/skills/poteto-mode/scripts/node_modules/bun-types/ffi.d.ts +0 -1136
  547. package/skills/poteto-mode/scripts/node_modules/bun-types/globals.d.ts +0 -2094
  548. package/skills/poteto-mode/scripts/node_modules/bun-types/html-rewriter.d.ts +0 -186
  549. package/skills/poteto-mode/scripts/node_modules/bun-types/index.d.ts +0 -32
  550. package/skills/poteto-mode/scripts/node_modules/bun-types/jsc.d.ts +0 -233
  551. package/skills/poteto-mode/scripts/node_modules/bun-types/jsx.d.ts +0 -11
  552. package/skills/poteto-mode/scripts/node_modules/bun-types/overrides.d.ts +0 -382
  553. package/skills/poteto-mode/scripts/node_modules/bun-types/package.json +0 -37
  554. package/skills/poteto-mode/scripts/node_modules/bun-types/redis.d.ts +0 -3352
  555. package/skills/poteto-mode/scripts/node_modules/bun-types/s3.d.ts +0 -1354
  556. package/skills/poteto-mode/scripts/node_modules/bun-types/security.d.ts +0 -101
  557. package/skills/poteto-mode/scripts/node_modules/bun-types/serve.d.ts +0 -1311
  558. package/skills/poteto-mode/scripts/node_modules/bun-types/shell.d.ts +0 -380
  559. package/skills/poteto-mode/scripts/node_modules/bun-types/sql.d.ts +0 -887
  560. package/skills/poteto-mode/scripts/node_modules/bun-types/sqlite.d.ts +0 -1322
  561. package/skills/poteto-mode/scripts/node_modules/bun-types/test-globals.d.ts +0 -22
  562. package/skills/poteto-mode/scripts/node_modules/bun-types/test.d.ts +0 -2392
  563. package/skills/poteto-mode/scripts/node_modules/bun-types/vendor/expect-type/branding.d.ts +0 -283
  564. package/skills/poteto-mode/scripts/node_modules/bun-types/vendor/expect-type/index.d.ts +0 -1207
  565. package/skills/poteto-mode/scripts/node_modules/bun-types/vendor/expect-type/messages.d.ts +0 -395
  566. package/skills/poteto-mode/scripts/node_modules/bun-types/vendor/expect-type/overloads.d.ts +0 -669
  567. package/skills/poteto-mode/scripts/node_modules/bun-types/vendor/expect-type/utils.d.ts +0 -431
  568. package/skills/poteto-mode/scripts/node_modules/bun-types/wasm.d.ts +0 -198
  569. package/skills/poteto-mode/scripts/node_modules/commander/LICENSE +0 -22
  570. package/skills/poteto-mode/scripts/node_modules/commander/Readme.md +0 -1159
  571. package/skills/poteto-mode/scripts/node_modules/commander/esm.mjs +0 -16
  572. package/skills/poteto-mode/scripts/node_modules/commander/index.js +0 -24
  573. package/skills/poteto-mode/scripts/node_modules/commander/lib/argument.js +0 -149
  574. package/skills/poteto-mode/scripts/node_modules/commander/lib/command.js +0 -2778
  575. package/skills/poteto-mode/scripts/node_modules/commander/lib/error.js +0 -39
  576. package/skills/poteto-mode/scripts/node_modules/commander/lib/help.js +0 -747
  577. package/skills/poteto-mode/scripts/node_modules/commander/lib/option.js +0 -379
  578. package/skills/poteto-mode/scripts/node_modules/commander/lib/suggestSimilar.js +0 -101
  579. package/skills/poteto-mode/scripts/node_modules/commander/package-support.json +0 -16
  580. package/skills/poteto-mode/scripts/node_modules/commander/package.json +0 -82
  581. package/skills/poteto-mode/scripts/node_modules/commander/typings/esm.d.mts +0 -3
  582. package/skills/poteto-mode/scripts/node_modules/commander/typings/index.d.ts +0 -1113
  583. package/skills/poteto-mode/scripts/node_modules/typescript/LICENSE +0 -55
  584. package/skills/poteto-mode/scripts/node_modules/typescript/NOTICE.txt +0 -436
  585. package/skills/poteto-mode/scripts/node_modules/typescript/README.md +0 -49
  586. package/skills/poteto-mode/scripts/node_modules/typescript/bin/tsc +0 -2
  587. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/async/api.d.ts +0 -529
  588. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/async/api.d.ts.map +0 -1
  589. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/async/api.js +0 -1657
  590. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/async/api.js.map +0 -1
  591. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/async/client.d.ts +0 -39
  592. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/async/client.d.ts.map +0 -1
  593. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/async/client.js +0 -211
  594. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/async/client.js.map +0 -1
  595. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/async/types.d.ts +0 -310
  596. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/async/types.d.ts.map +0 -1
  597. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/async/types.js +0 -2
  598. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/async/types.js.map +0 -1
  599. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/compilerOptions.d.ts +0 -109
  600. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/compilerOptions.d.ts.map +0 -1
  601. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/compilerOptions.js +0 -2
  602. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/compilerOptions.js.map +0 -1
  603. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/fs.d.ts +0 -23
  604. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/fs.d.ts.map +0 -1
  605. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/fs.js +0 -109
  606. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/fs.js.map +0 -1
  607. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/encoder.d.ts +0 -15
  608. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/encoder.d.ts.map +0 -1
  609. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/encoder.generated.d.ts +0 -5
  610. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/encoder.generated.d.ts.map +0 -1
  611. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/encoder.generated.js +0 -74
  612. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/encoder.generated.js.map +0 -1
  613. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/encoder.js +0 -287
  614. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/encoder.js.map +0 -1
  615. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/msgpack.d.ts +0 -32
  616. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/msgpack.d.ts.map +0 -1
  617. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/msgpack.js +0 -213
  618. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/msgpack.js.map +0 -1
  619. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/node.d.ts +0 -76
  620. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/node.d.ts.map +0 -1
  621. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/node.generated.d.ts +0 -182
  622. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/node.generated.d.ts.map +0 -1
  623. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/node.generated.js +0 -835
  624. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/node.generated.js.map +0 -1
  625. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/node.infrastructure.d.ts +0 -62
  626. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/node.infrastructure.d.ts.map +0 -1
  627. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/node.infrastructure.js +0 -122
  628. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/node.infrastructure.js.map +0 -1
  629. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/node.js +0 -298
  630. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/node.js.map +0 -1
  631. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/protocol.d.ts +0 -29
  632. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/protocol.d.ts.map +0 -1
  633. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/protocol.generated.d.ts +0 -4
  634. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/protocol.generated.d.ts.map +0 -1
  635. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/protocol.generated.js +0 -241
  636. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/protocol.generated.js.map +0 -1
  637. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/protocol.js +0 -30
  638. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/protocol.js.map +0 -1
  639. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/wtf8.d.ts +0 -6
  640. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/wtf8.d.ts.map +0 -1
  641. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/wtf8.js +0 -61
  642. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/wtf8.js.map +0 -1
  643. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/options.d.ts +0 -32
  644. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/options.d.ts.map +0 -1
  645. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/options.js +0 -11
  646. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/options.js.map +0 -1
  647. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/path.d.ts +0 -110
  648. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/path.d.ts.map +0 -1
  649. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/path.js +0 -508
  650. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/path.js.map +0 -1
  651. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/proto.d.ts +0 -239
  652. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/proto.d.ts.map +0 -1
  653. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/proto.js +0 -37
  654. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/proto.js.map +0 -1
  655. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sourceFileCache.d.ts +0 -79
  656. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sourceFileCache.d.ts.map +0 -1
  657. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sourceFileCache.js +0 -169
  658. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sourceFileCache.js.map +0 -1
  659. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sync/api.d.ts +0 -529
  660. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sync/api.d.ts.map +0 -1
  661. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sync/api.js +0 -1665
  662. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sync/api.js.map +0 -1
  663. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sync/client.d.ts +0 -30
  664. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sync/client.d.ts.map +0 -1
  665. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sync/client.js +0 -124
  666. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sync/client.js.map +0 -1
  667. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sync/types.d.ts +0 -310
  668. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sync/types.d.ts.map +0 -1
  669. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sync/types.js +0 -2
  670. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sync/types.js.map +0 -1
  671. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/syncChannel.d.ts +0 -114
  672. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/syncChannel.d.ts.map +0 -1
  673. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/syncChannel.js +0 -508
  674. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/syncChannel.js.map +0 -1
  675. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/timing.d.ts +0 -175
  676. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/timing.d.ts.map +0 -1
  677. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/timing.js +0 -149
  678. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/timing.js.map +0 -1
  679. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/ast.d.ts +0 -100
  680. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/ast.d.ts.map +0 -1
  681. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/ast.generated.d.ts +0 -1161
  682. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/ast.generated.d.ts.map +0 -1
  683. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/ast.generated.js +0 -4
  684. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/ast.generated.js.map +0 -1
  685. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/ast.js +0 -7
  686. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/ast.js.map +0 -1
  687. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/astnav.d.ts +0 -19
  688. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/astnav.d.ts.map +0 -1
  689. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/astnav.js +0 -596
  690. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/astnav.js.map +0 -1
  691. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/clone.d.ts +0 -16
  692. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/clone.d.ts.map +0 -1
  693. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/clone.js +0 -104
  694. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/clone.js.map +0 -1
  695. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/factory.generated.d.ts +0 -520
  696. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/factory.generated.d.ts.map +0 -1
  697. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/factory.generated.js +0 -3057
  698. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/factory.generated.js.map +0 -1
  699. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/index.d.ts +0 -20
  700. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/index.d.ts.map +0 -1
  701. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/index.js +0 -20
  702. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/index.js.map +0 -1
  703. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/is.d.ts +0 -35
  704. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/is.d.ts.map +0 -1
  705. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/is.generated.d.ts +0 -329
  706. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/is.generated.d.ts.map +0 -1
  707. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/is.generated.js +0 -1103
  708. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/is.generated.js.map +0 -1
  709. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/is.js +0 -233
  710. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/is.js.map +0 -1
  711. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/jsdoc.d.ts +0 -11
  712. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/jsdoc.d.ts.map +0 -1
  713. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/jsdoc.js +0 -202
  714. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/jsdoc.js.map +0 -1
  715. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/scanner.d.ts +0 -97
  716. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/scanner.d.ts.map +0 -1
  717. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/scanner.js +0 -2230
  718. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/scanner.js.map +0 -1
  719. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/utils.d.ts +0 -17
  720. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/utils.d.ts.map +0 -1
  721. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/utils.js +0 -67
  722. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/utils.js.map +0 -1
  723. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/visitor.d.ts +0 -14
  724. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/visitor.d.ts.map +0 -1
  725. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/visitor.generated.d.ts +0 -50
  726. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/visitor.generated.d.ts.map +0 -1
  727. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/visitor.generated.js +0 -978
  728. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/visitor.generated.js.map +0 -1
  729. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/visitor.js +0 -47
  730. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/visitor.js.map +0 -1
  731. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/characterCodes.d.ts +0 -2
  732. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/characterCodes.d.ts.map +0 -1
  733. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/characterCodes.enum.d.ts +0 -129
  734. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/characterCodes.enum.d.ts.map +0 -1
  735. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/characterCodes.enum.js +0 -132
  736. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/characterCodes.enum.js.map +0 -1
  737. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/characterCodes.js +0 -130
  738. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/characterCodes.js.map +0 -1
  739. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/commentDirectiveType.d.ts +0 -2
  740. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/commentDirectiveType.d.ts.map +0 -1
  741. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/commentDirectiveType.enum.d.ts +0 -5
  742. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/commentDirectiveType.enum.d.ts.map +0 -1
  743. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/commentDirectiveType.enum.js +0 -6
  744. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/commentDirectiveType.enum.js.map +0 -1
  745. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/commentDirectiveType.js +0 -6
  746. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/commentDirectiveType.js.map +0 -1
  747. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/completionItemKind.d.ts +0 -2
  748. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/completionItemKind.d.ts.map +0 -1
  749. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/completionItemKind.enum.d.ts +0 -28
  750. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/completionItemKind.enum.d.ts.map +0 -1
  751. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/completionItemKind.enum.js +0 -30
  752. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/completionItemKind.enum.js.map +0 -1
  753. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/completionItemKind.js +0 -30
  754. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/completionItemKind.js.map +0 -1
  755. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/diagnosticCategory.d.ts +0 -2
  756. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/diagnosticCategory.d.ts.map +0 -1
  757. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/diagnosticCategory.enum.d.ts +0 -7
  758. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/diagnosticCategory.enum.d.ts.map +0 -1
  759. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/diagnosticCategory.enum.js +0 -9
  760. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/diagnosticCategory.enum.js.map +0 -1
  761. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/diagnosticCategory.js +0 -9
  762. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/diagnosticCategory.js.map +0 -1
  763. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/elementFlags.d.ts +0 -2
  764. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/elementFlags.d.ts.map +0 -1
  765. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/elementFlags.enum.d.ts +0 -12
  766. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/elementFlags.enum.d.ts.map +0 -1
  767. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/elementFlags.enum.js +0 -14
  768. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/elementFlags.enum.js.map +0 -1
  769. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/elementFlags.js +0 -14
  770. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/elementFlags.js.map +0 -1
  771. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/internalSymbolName.d.ts +0 -2
  772. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/internalSymbolName.d.ts.map +0 -1
  773. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/internalSymbolName.enum.d.ts +0 -23
  774. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/internalSymbolName.enum.d.ts.map +0 -1
  775. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/internalSymbolName.enum.js +0 -25
  776. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/internalSymbolName.enum.js.map +0 -1
  777. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/internalSymbolName.js +0 -25
  778. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/internalSymbolName.js.map +0 -1
  779. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/jsxEmit.d.ts +0 -2
  780. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/jsxEmit.d.ts.map +0 -1
  781. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/jsxEmit.enum.d.ts +0 -9
  782. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/jsxEmit.enum.d.ts.map +0 -1
  783. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/jsxEmit.enum.js +0 -11
  784. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/jsxEmit.enum.js.map +0 -1
  785. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/jsxEmit.js +0 -11
  786. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/jsxEmit.js.map +0 -1
  787. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/languageVariant.d.ts +0 -2
  788. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/languageVariant.d.ts.map +0 -1
  789. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/languageVariant.enum.d.ts +0 -5
  790. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/languageVariant.enum.d.ts.map +0 -1
  791. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/languageVariant.enum.js +0 -6
  792. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/languageVariant.enum.js.map +0 -1
  793. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/languageVariant.js +0 -6
  794. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/languageVariant.js.map +0 -1
  795. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/modifierFlags.d.ts +0 -2
  796. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/modifierFlags.d.ts.map +0 -1
  797. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/modifierFlags.enum.d.ts +0 -42
  798. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/modifierFlags.enum.d.ts.map +0 -1
  799. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/modifierFlags.enum.js +0 -44
  800. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/modifierFlags.enum.js.map +0 -1
  801. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/modifierFlags.js +0 -44
  802. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/modifierFlags.js.map +0 -1
  803. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleDetectionKind.d.ts +0 -2
  804. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleDetectionKind.d.ts.map +0 -1
  805. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleDetectionKind.enum.d.ts +0 -7
  806. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleDetectionKind.enum.d.ts.map +0 -1
  807. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleDetectionKind.enum.js +0 -9
  808. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleDetectionKind.enum.js.map +0 -1
  809. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleDetectionKind.js +0 -9
  810. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleDetectionKind.js.map +0 -1
  811. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleKind.d.ts +0 -2
  812. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleKind.d.ts.map +0 -1
  813. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleKind.enum.d.ts +0 -17
  814. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleKind.enum.d.ts.map +0 -1
  815. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleKind.enum.js +0 -19
  816. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleKind.enum.js.map +0 -1
  817. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleKind.js +0 -19
  818. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleKind.js.map +0 -1
  819. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleResolutionKind.d.ts +0 -2
  820. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleResolutionKind.d.ts.map +0 -1
  821. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleResolutionKind.enum.d.ts +0 -9
  822. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleResolutionKind.enum.d.ts.map +0 -1
  823. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleResolutionKind.enum.js +0 -11
  824. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleResolutionKind.enum.js.map +0 -1
  825. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleResolutionKind.js +0 -11
  826. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleResolutionKind.js.map +0 -1
  827. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/newLineKind.d.ts +0 -2
  828. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/newLineKind.d.ts.map +0 -1
  829. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/newLineKind.enum.d.ts +0 -6
  830. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/newLineKind.enum.d.ts.map +0 -1
  831. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/newLineKind.enum.js +0 -8
  832. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/newLineKind.enum.js.map +0 -1
  833. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/newLineKind.js +0 -8
  834. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/newLineKind.js.map +0 -1
  835. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeBuilderFlags.d.ts +0 -2
  836. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeBuilderFlags.d.ts.map +0 -1
  837. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeBuilderFlags.enum.d.ts +0 -36
  838. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeBuilderFlags.enum.d.ts.map +0 -1
  839. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeBuilderFlags.enum.js +0 -38
  840. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeBuilderFlags.enum.js.map +0 -1
  841. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeBuilderFlags.js +0 -38
  842. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeBuilderFlags.js.map +0 -1
  843. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeFlags.d.ts +0 -2
  844. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeFlags.d.ts.map +0 -1
  845. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeFlags.enum.d.ts +0 -44
  846. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeFlags.enum.d.ts.map +0 -1
  847. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeFlags.enum.js +0 -46
  848. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeFlags.enum.js.map +0 -1
  849. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeFlags.js +0 -46
  850. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeFlags.js.map +0 -1
  851. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/objectFlags.d.ts +0 -2
  852. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/objectFlags.d.ts.map +0 -1
  853. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/objectFlags.enum.d.ts +0 -50
  854. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/objectFlags.enum.d.ts.map +0 -1
  855. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/objectFlags.enum.js +0 -52
  856. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/objectFlags.enum.js.map +0 -1
  857. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/objectFlags.js +0 -52
  858. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/objectFlags.js.map +0 -1
  859. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/outerExpressionKinds.d.ts +0 -2
  860. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/outerExpressionKinds.d.ts.map +0 -1
  861. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/outerExpressionKinds.enum.d.ts +0 -16
  862. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/outerExpressionKinds.enum.d.ts.map +0 -1
  863. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/outerExpressionKinds.enum.js +0 -18
  864. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/outerExpressionKinds.enum.js.map +0 -1
  865. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/outerExpressionKinds.js +0 -18
  866. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/outerExpressionKinds.js.map +0 -1
  867. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/regularExpressionFlags.d.ts +0 -2
  868. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/regularExpressionFlags.d.ts.map +0 -1
  869. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/regularExpressionFlags.enum.d.ts +0 -13
  870. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/regularExpressionFlags.enum.d.ts.map +0 -1
  871. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/regularExpressionFlags.enum.js +0 -14
  872. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/regularExpressionFlags.enum.js.map +0 -1
  873. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/regularExpressionFlags.js +0 -14
  874. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/regularExpressionFlags.js.map +0 -1
  875. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptKind.d.ts +0 -2
  876. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptKind.d.ts.map +0 -1
  877. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptKind.enum.d.ts +0 -11
  878. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptKind.enum.d.ts.map +0 -1
  879. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptKind.enum.js +0 -12
  880. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptKind.enum.js.map +0 -1
  881. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptKind.js +0 -12
  882. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptKind.js.map +0 -1
  883. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptTarget.d.ts +0 -2
  884. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptTarget.d.ts.map +0 -1
  885. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptTarget.enum.d.ts +0 -17
  886. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptTarget.enum.d.ts.map +0 -1
  887. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptTarget.enum.js +0 -18
  888. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptTarget.enum.js.map +0 -1
  889. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptTarget.js +0 -18
  890. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptTarget.js.map +0 -1
  891. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureFlags.d.ts +0 -2
  892. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureFlags.d.ts.map +0 -1
  893. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureFlags.enum.d.ts +0 -15
  894. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureFlags.enum.d.ts.map +0 -1
  895. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureFlags.enum.js +0 -17
  896. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureFlags.enum.js.map +0 -1
  897. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureFlags.js +0 -17
  898. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureFlags.js.map +0 -1
  899. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureKind.d.ts +0 -2
  900. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureKind.d.ts.map +0 -1
  901. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureKind.enum.d.ts +0 -5
  902. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureKind.enum.d.ts.map +0 -1
  903. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureKind.enum.js +0 -7
  904. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureKind.enum.js.map +0 -1
  905. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureKind.js +0 -7
  906. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureKind.js.map +0 -1
  907. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/symbolFlags.d.ts +0 -2
  908. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/symbolFlags.d.ts.map +0 -1
  909. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/symbolFlags.enum.d.ts +0 -71
  910. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/symbolFlags.enum.d.ts.map +0 -1
  911. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/symbolFlags.enum.js +0 -73
  912. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/symbolFlags.enum.js.map +0 -1
  913. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/symbolFlags.js +0 -73
  914. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/symbolFlags.js.map +0 -1
  915. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/syntaxKind.d.ts +0 -2
  916. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/syntaxKind.d.ts.map +0 -1
  917. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/syntaxKind.enum.d.ts +0 -389
  918. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/syntaxKind.enum.d.ts.map +0 -1
  919. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/syntaxKind.enum.js +0 -391
  920. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/syntaxKind.enum.js.map +0 -1
  921. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/syntaxKind.js +0 -391
  922. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/syntaxKind.js.map +0 -1
  923. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/tokenFlags.d.ts +0 -2
  924. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/tokenFlags.d.ts.map +0 -1
  925. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/tokenFlags.enum.d.ts +0 -30
  926. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/tokenFlags.enum.d.ts.map +0 -1
  927. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/tokenFlags.enum.js +0 -32
  928. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/tokenFlags.enum.js.map +0 -1
  929. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/tokenFlags.js +0 -32
  930. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/tokenFlags.js.map +0 -1
  931. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typeFlags.d.ts +0 -2
  932. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typeFlags.d.ts.map +0 -1
  933. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typeFlags.enum.d.ts +0 -76
  934. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typeFlags.enum.d.ts.map +0 -1
  935. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typeFlags.enum.js +0 -78
  936. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typeFlags.enum.js.map +0 -1
  937. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typeFlags.js +0 -78
  938. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typeFlags.js.map +0 -1
  939. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typePredicateKind.d.ts +0 -2
  940. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typePredicateKind.d.ts.map +0 -1
  941. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typePredicateKind.enum.d.ts +0 -7
  942. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typePredicateKind.enum.d.ts.map +0 -1
  943. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typePredicateKind.enum.js +0 -9
  944. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typePredicateKind.enum.js.map +0 -1
  945. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typePredicateKind.js +0 -9
  946. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typePredicateKind.js.map +0 -1
  947. package/skills/poteto-mode/scripts/node_modules/typescript/dist/internal/utils.d.ts +0 -23
  948. package/skills/poteto-mode/scripts/node_modules/typescript/dist/internal/utils.d.ts.map +0 -1
  949. package/skills/poteto-mode/scripts/node_modules/typescript/dist/internal/utils.js +0 -25
  950. package/skills/poteto-mode/scripts/node_modules/typescript/dist/internal/utils.js.map +0 -1
  951. package/skills/poteto-mode/scripts/node_modules/typescript/lib/getExePath.d.ts +0 -2
  952. package/skills/poteto-mode/scripts/node_modules/typescript/lib/getExePath.js +0 -70
  953. package/skills/poteto-mode/scripts/node_modules/typescript/lib/tsc.js +0 -28
  954. package/skills/poteto-mode/scripts/node_modules/typescript/lib/version.cjs +0 -3
  955. package/skills/poteto-mode/scripts/node_modules/typescript/lib/version.d.cts +0 -2
  956. package/skills/poteto-mode/scripts/node_modules/typescript/package.json +0 -87
  957. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/License.txt +0 -11
  958. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/README.md +0 -54
  959. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/browser/main.d.ts +0 -17
  960. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/browser/main.js +0 -83
  961. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/browser/ril.d.ts +0 -22
  962. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/browser/ril.js +0 -210
  963. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/api.d.ts +0 -14
  964. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/api.js +0 -87
  965. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/cancellation.d.ts +0 -32
  966. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/cancellation.js +0 -132
  967. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/connection.d.ts +0 -367
  968. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/connection.js +0 -1271
  969. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/disposable.d.ts +0 -9
  970. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/disposable.js +0 -16
  971. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/encoding.d.ts +0 -52
  972. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/encoding.js +0 -70
  973. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/events.d.ts +0 -39
  974. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/events.js +0 -135
  975. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/is.d.ts +0 -7
  976. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/is.js +0 -34
  977. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/linkedMap.d.ts +0 -55
  978. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/linkedMap.js +0 -412
  979. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageBuffer.d.ts +0 -18
  980. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageBuffer.js +0 -155
  981. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageReader.d.ts +0 -77
  982. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageReader.js +0 -246
  983. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageWriter.d.ts +0 -60
  984. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageWriter.js +0 -157
  985. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messages.d.ts +0 -369
  986. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messages.js +0 -436
  987. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/ral.d.ts +0 -74
  988. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/ral.js +0 -23
  989. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/semaphore.d.ts +0 -10
  990. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/semaphore.js +0 -74
  991. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/sharedArrayCancellation.d.ts +0 -15
  992. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +0 -77
  993. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/node/main.d.ts +0 -58
  994. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/node/main.js +0 -289
  995. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/node/ril.d.ts +0 -12
  996. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/node/ril.js +0 -163
  997. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/package.json +0 -54
  998. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/typings/thenable.d.ts +0 -5
  999. package/skills/poteto-mode/scripts/node_modules/undici-types/LICENSE +0 -21
  1000. package/skills/poteto-mode/scripts/node_modules/undici-types/README.md +0 -6
  1001. package/skills/poteto-mode/scripts/node_modules/undici-types/agent.d.ts +0 -30
  1002. package/skills/poteto-mode/scripts/node_modules/undici-types/api.d.ts +0 -43
  1003. package/skills/poteto-mode/scripts/node_modules/undici-types/balanced-pool.d.ts +0 -30
  1004. package/skills/poteto-mode/scripts/node_modules/undici-types/cache-interceptor.d.ts +0 -179
  1005. package/skills/poteto-mode/scripts/node_modules/undici-types/cache.d.ts +0 -36
  1006. package/skills/poteto-mode/scripts/node_modules/undici-types/client-stats.d.ts +0 -15
  1007. package/skills/poteto-mode/scripts/node_modules/undici-types/client.d.ts +0 -129
  1008. package/skills/poteto-mode/scripts/node_modules/undici-types/connector.d.ts +0 -36
  1009. package/skills/poteto-mode/scripts/node_modules/undici-types/content-type.d.ts +0 -21
  1010. package/skills/poteto-mode/scripts/node_modules/undici-types/cookies.d.ts +0 -30
  1011. package/skills/poteto-mode/scripts/node_modules/undici-types/diagnostics-channel.d.ts +0 -74
  1012. package/skills/poteto-mode/scripts/node_modules/undici-types/dispatcher.d.ts +0 -253
  1013. package/skills/poteto-mode/scripts/node_modules/undici-types/dispatcher1-wrapper.d.ts +0 -7
  1014. package/skills/poteto-mode/scripts/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -22
  1015. package/skills/poteto-mode/scripts/node_modules/undici-types/errors.d.ts +0 -177
  1016. package/skills/poteto-mode/scripts/node_modules/undici-types/eventsource.d.ts +0 -66
  1017. package/skills/poteto-mode/scripts/node_modules/undici-types/fetch.d.ts +0 -231
  1018. package/skills/poteto-mode/scripts/node_modules/undici-types/formdata.d.ts +0 -108
  1019. package/skills/poteto-mode/scripts/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  1020. package/skills/poteto-mode/scripts/node_modules/undici-types/global-origin.d.ts +0 -7
  1021. package/skills/poteto-mode/scripts/node_modules/undici-types/h2c-client.d.ts +0 -73
  1022. package/skills/poteto-mode/scripts/node_modules/undici-types/handlers.d.ts +0 -14
  1023. package/skills/poteto-mode/scripts/node_modules/undici-types/header.d.ts +0 -165
  1024. package/skills/poteto-mode/scripts/node_modules/undici-types/index.d.ts +0 -93
  1025. package/skills/poteto-mode/scripts/node_modules/undici-types/interceptors.d.ts +0 -80
  1026. package/skills/poteto-mode/scripts/node_modules/undici-types/mock-agent.d.ts +0 -68
  1027. package/skills/poteto-mode/scripts/node_modules/undici-types/mock-call-history.d.ts +0 -111
  1028. package/skills/poteto-mode/scripts/node_modules/undici-types/mock-client.d.ts +0 -27
  1029. package/skills/poteto-mode/scripts/node_modules/undici-types/mock-errors.d.ts +0 -12
  1030. package/skills/poteto-mode/scripts/node_modules/undici-types/mock-interceptor.d.ts +0 -94
  1031. package/skills/poteto-mode/scripts/node_modules/undici-types/mock-pool.d.ts +0 -27
  1032. package/skills/poteto-mode/scripts/node_modules/undici-types/package.json +0 -55
  1033. package/skills/poteto-mode/scripts/node_modules/undici-types/patch.d.ts +0 -29
  1034. package/skills/poteto-mode/scripts/node_modules/undici-types/pool-stats.d.ts +0 -19
  1035. package/skills/poteto-mode/scripts/node_modules/undici-types/pool.d.ts +0 -39
  1036. package/skills/poteto-mode/scripts/node_modules/undici-types/proxy-agent.d.ts +0 -29
  1037. package/skills/poteto-mode/scripts/node_modules/undici-types/readable.d.ts +0 -68
  1038. package/skills/poteto-mode/scripts/node_modules/undici-types/retry-agent.d.ts +0 -8
  1039. package/skills/poteto-mode/scripts/node_modules/undici-types/retry-handler.d.ts +0 -125
  1040. package/skills/poteto-mode/scripts/node_modules/undici-types/round-robin-pool.d.ts +0 -39
  1041. package/skills/poteto-mode/scripts/node_modules/undici-types/snapshot-agent.d.ts +0 -113
  1042. package/skills/poteto-mode/scripts/node_modules/undici-types/socks5-proxy-agent.d.ts +0 -25
  1043. package/skills/poteto-mode/scripts/node_modules/undici-types/util.d.ts +0 -18
  1044. package/skills/poteto-mode/scripts/node_modules/undici-types/utility.d.ts +0 -7
  1045. package/skills/poteto-mode/scripts/node_modules/undici-types/webidl.d.ts +0 -346
  1046. package/skills/poteto-mode/scripts/node_modules/undici-types/websocket.d.ts +0 -188
  1047. package/skills/poteto-mode/scripts/node_modules/zod/LICENSE +0 -21
  1048. package/skills/poteto-mode/scripts/node_modules/zod/README.md +0 -218
  1049. package/skills/poteto-mode/scripts/node_modules/zod/compile.cjs +0 -96
  1050. package/skills/poteto-mode/scripts/node_modules/zod/compile.d.cts +0 -1
  1051. package/skills/poteto-mode/scripts/node_modules/zod/compile.d.ts +0 -1
  1052. package/skills/poteto-mode/scripts/node_modules/zod/compile.js +0 -52
  1053. package/skills/poteto-mode/scripts/node_modules/zod/index.cjs +0 -52
  1054. package/skills/poteto-mode/scripts/node_modules/zod/index.d.cts +0 -3
  1055. package/skills/poteto-mode/scripts/node_modules/zod/index.d.ts +0 -3
  1056. package/skills/poteto-mode/scripts/node_modules/zod/index.js +0 -7
  1057. package/skills/poteto-mode/scripts/node_modules/zod/locales/index.cjs +0 -36
  1058. package/skills/poteto-mode/scripts/node_modules/zod/locales/index.d.cts +0 -1
  1059. package/skills/poteto-mode/scripts/node_modules/zod/locales/index.d.ts +0 -1
  1060. package/skills/poteto-mode/scripts/node_modules/zod/locales/index.js +0 -1
  1061. package/skills/poteto-mode/scripts/node_modules/zod/locales/package.json +0 -7
  1062. package/skills/poteto-mode/scripts/node_modules/zod/mini/index.cjs +0 -51
  1063. package/skills/poteto-mode/scripts/node_modules/zod/mini/index.d.cts +0 -3
  1064. package/skills/poteto-mode/scripts/node_modules/zod/mini/index.d.ts +0 -3
  1065. package/skills/poteto-mode/scripts/node_modules/zod/mini/index.js +0 -3
  1066. package/skills/poteto-mode/scripts/node_modules/zod/mini/package.json +0 -7
  1067. package/skills/poteto-mode/scripts/node_modules/zod/package.json +0 -147
  1068. package/skills/poteto-mode/scripts/node_modules/zod/src/compile.ts +0 -56
  1069. package/skills/poteto-mode/scripts/node_modules/zod/src/index.ts +0 -7
  1070. package/skills/poteto-mode/scripts/node_modules/zod/src/locales/index.ts +0 -1
  1071. package/skills/poteto-mode/scripts/node_modules/zod/src/mini/index.ts +0 -3
  1072. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/ZodError.ts +0 -340
  1073. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
  1074. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
  1075. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
  1076. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
  1077. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
  1078. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
  1079. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
  1080. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
  1081. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
  1082. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/errors.ts +0 -13
  1083. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/external.ts +0 -6
  1084. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
  1085. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
  1086. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
  1087. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
  1088. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
  1089. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/helpers/util.ts +0 -224
  1090. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/index.ts +0 -4
  1091. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/locales/en.ts +0 -124
  1092. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/standard-schema.ts +0 -113
  1093. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
  1094. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
  1095. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
  1096. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/array.test.ts +0 -71
  1097. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
  1098. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
  1099. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/base.test.ts +0 -29
  1100. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
  1101. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
  1102. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
  1103. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
  1104. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/complex.test.ts +0 -70
  1105. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
  1106. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/date.test.ts +0 -32
  1107. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
  1108. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/default.test.ts +0 -112
  1109. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/description.test.ts +0 -33
  1110. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
  1111. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
  1112. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/error.test.ts +0 -586
  1113. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
  1114. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
  1115. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/function.test.ts +0 -261
  1116. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
  1117. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
  1118. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/intersection.test.ts +0 -128
  1119. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
  1120. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/language-server.test.ts +0 -206
  1121. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
  1122. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/map.test.ts +0 -110
  1123. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
  1124. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
  1125. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/nan.test.ts +0 -24
  1126. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
  1127. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
  1128. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/number.test.ts +0 -176
  1129. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
  1130. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
  1131. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/object.test.ts +0 -431
  1132. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
  1133. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
  1134. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
  1135. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
  1136. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
  1137. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
  1138. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
  1139. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
  1140. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
  1141. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/readonly.test.ts +0 -114
  1142. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/record.test.ts +0 -171
  1143. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
  1144. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
  1145. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
  1146. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/set.test.ts +0 -142
  1147. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
  1148. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/string.test.ts +0 -922
  1149. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
  1150. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
  1151. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
  1152. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
  1153. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/void.test.ts +0 -15
  1154. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/types.ts +0 -5138
  1155. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/checks.ts +0 -33
  1156. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/coerce.ts +0 -27
  1157. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/compat.ts +0 -78
  1158. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/deep-partial.ts +0 -76
  1159. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/errors.ts +0 -97
  1160. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/external.ts +0 -57
  1161. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/from-json-schema.ts +0 -944
  1162. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/in-out.ts +0 -45
  1163. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/index.ts +0 -5
  1164. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/iso.ts +0 -20
  1165. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/parse.ts +0 -88
  1166. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/schemas.ts +0 -2937
  1167. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
  1168. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/apply.test.ts +0 -86
  1169. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -291
  1170. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -402
  1171. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
  1172. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
  1173. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
  1174. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -89
  1175. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -106
  1176. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -604
  1177. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
  1178. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +0 -572
  1179. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/codec.test.ts +0 -704
  1180. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
  1181. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -374
  1182. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/credit-card.test.ts +0 -76
  1183. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
  1184. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +0 -985
  1185. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -92
  1186. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -316
  1187. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/deep-partial.test.ts +0 -380
  1188. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/default-locale.test.ts +0 -32
  1189. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -455
  1190. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +0 -27
  1191. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
  1192. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +0 -221
  1193. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -942
  1194. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -305
  1195. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -917
  1196. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -1108
  1197. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -96
  1198. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -179
  1199. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +0 -26
  1200. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +0 -1467
  1201. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -391
  1202. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
  1203. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/global-config.test.ts +0 -32
  1204. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/hash.test.ts +0 -67
  1205. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/iban.test.ts +0 -81
  1206. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/in-out.test.ts +0 -159
  1207. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -958
  1208. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +0 -319
  1209. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -127
  1210. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -334
  1211. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/issue-schema.test.ts +0 -215
  1212. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +0 -39
  1213. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -109
  1214. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -262
  1215. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -128
  1216. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +0 -29
  1217. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +0 -24
  1218. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -349
  1219. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
  1220. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
  1221. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -101
  1222. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
  1223. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -401
  1224. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -1006
  1225. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +0 -235
  1226. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -366
  1227. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -497
  1228. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -211
  1229. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -101
  1230. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -144
  1231. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +0 -44
  1232. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -351
  1233. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
  1234. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
  1235. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/properties.test.ts +0 -141
  1236. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
  1237. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -184
  1238. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -885
  1239. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -707
  1240. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/redos.test.ts +0 -68
  1241. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -693
  1242. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -243
  1243. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -196
  1244. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -153
  1245. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -125
  1246. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -1440
  1247. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -124
  1248. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -812
  1249. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +0 -438
  1250. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -4733
  1251. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -378
  1252. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -511
  1253. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -310
  1254. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/url.test.ts +0 -13
  1255. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/validate.test.ts +0 -645
  1256. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
  1257. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
  1258. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/api.ts +0 -1875
  1259. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/checks.ts +0 -1266
  1260. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/compile.ts +0 -2322
  1261. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/core.ts +0 -230
  1262. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/doc.ts +0 -52
  1263. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/errors.ts +0 -543
  1264. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/index.ts +0 -19
  1265. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/json-schema-generator.ts +0 -131
  1266. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/json-schema-processors.ts +0 -934
  1267. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/json-schema.ts +0 -148
  1268. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/memoizer.ts +0 -331
  1269. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/parse.ts +0 -309
  1270. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/regexes.ts +0 -217
  1271. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/registries.ts +0 -105
  1272. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/schemas.ts +0 -5226
  1273. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/standard-schema.ts +0 -159
  1274. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/cached.test.ts +0 -54
  1275. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +0 -1004
  1276. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/compile-generative.test.ts +0 -445
  1277. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/compile-global.test.ts +0 -89
  1278. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/compile-off-by-default.test.ts +0 -26
  1279. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/compile-stats.test.ts +0 -34
  1280. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/compile.test.ts +0 -2036
  1281. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/email-regex.test.ts +0 -140
  1282. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/extend.test.ts +0 -59
  1283. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
  1284. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
  1285. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/el.test.ts +0 -214
  1286. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
  1287. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/es.test.ts +0 -180
  1288. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +0 -72
  1289. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/he.test.ts +0 -379
  1290. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +0 -163
  1291. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +0 -46
  1292. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/parity.test.ts +0 -42
  1293. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
  1294. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/tg.test.ts +0 -85
  1295. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/tk.test.ts +0 -69
  1296. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
  1297. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +0 -105
  1298. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/polyfill-collision.test.ts +0 -46
  1299. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +0 -125
  1300. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +0 -45
  1301. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/treeshake.test.ts +0 -51
  1302. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/url-no-canparse.test.ts +0 -133
  1303. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/to-json-schema.ts +0 -857
  1304. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/util.ts +0 -1293
  1305. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/versions.ts +0 -5
  1306. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/visit.ts +0 -193
  1307. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/zsf.ts +0 -323
  1308. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/index.ts +0 -4
  1309. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ar.ts +0 -120
  1310. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/az.ts +0 -116
  1311. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/be.ts +0 -188
  1312. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/bg.ts +0 -133
  1313. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/bn.ts +0 -123
  1314. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ca.ts +0 -121
  1315. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ckb.ts +0 -140
  1316. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/cs.ts +0 -123
  1317. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/da.ts +0 -128
  1318. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/de.ts +0 -121
  1319. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/el.ts +0 -124
  1320. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/en.ts +0 -136
  1321. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/eo.ts +0 -123
  1322. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/es.ts +0 -145
  1323. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/fa.ts +0 -131
  1324. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/fi.ts +0 -126
  1325. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/fr-CA.ts +0 -121
  1326. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/fr.ts +0 -139
  1327. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/gu.ts +0 -123
  1328. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/he.ts +0 -253
  1329. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/hi.ts +0 -126
  1330. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/hr.ts +0 -135
  1331. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/hu.ts +0 -122
  1332. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/hy.ts +0 -175
  1333. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/id.ts +0 -120
  1334. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/index.ts +0 -63
  1335. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/is.ts +0 -124
  1336. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/it.ts +0 -121
  1337. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ja.ts +0 -119
  1338. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ka.ts +0 -128
  1339. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/kh.ts +0 -7
  1340. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/km.ts +0 -124
  1341. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/kn.ts +0 -126
  1342. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ko.ts +0 -126
  1343. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/lt.ts +0 -243
  1344. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/mk.ts +0 -123
  1345. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ms.ts +0 -120
  1346. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ne.ts +0 -128
  1347. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/nl.ts +0 -126
  1348. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/nn.ts +0 -121
  1349. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/no.ts +0 -121
  1350. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ota.ts +0 -122
  1351. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/pl.ts +0 -123
  1352. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ps.ts +0 -131
  1353. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/pt-BR.ts +0 -161
  1354. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/pt.ts +0 -159
  1355. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ro.ts +0 -132
  1356. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ru.ts +0 -188
  1357. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/sk.ts +0 -123
  1358. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/sl.ts +0 -123
  1359. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/sv.ts +0 -124
  1360. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ta.ts +0 -123
  1361. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/tg.ts +0 -135
  1362. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/th.ts +0 -124
  1363. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/tk.ts +0 -113
  1364. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/tr.ts +0 -116
  1365. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ua.ts +0 -7
  1366. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/uk.ts +0 -122
  1367. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ur.ts +0 -124
  1368. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/uz.ts +0 -120
  1369. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/vi.ts +0 -122
  1370. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/yo.ts +0 -129
  1371. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/zh-CN.ts +0 -121
  1372. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/zh-TW.ts +0 -120
  1373. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/checks.ts +0 -33
  1374. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/coerce.ts +0 -27
  1375. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/deep-partial.ts +0 -73
  1376. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/external.ts +0 -52
  1377. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/in-out.ts +0 -45
  1378. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/index.ts +0 -3
  1379. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/iso.ts +0 -66
  1380. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/parse.ts +0 -16
  1381. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/schemas.ts +0 -2051
  1382. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/apply.test.ts +0 -57
  1383. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -190
  1384. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -94
  1385. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -158
  1386. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/codec.test.ts +0 -582
  1387. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -30
  1388. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/cyclic-data.test.ts +0 -84
  1389. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/deep-partial.test.ts +0 -54
  1390. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -41
  1391. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -14
  1392. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -1146
  1393. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -109
  1394. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -292
  1395. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
  1396. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -341
  1397. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +0 -50
  1398. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -396
  1399. package/skills/poteto-mode/scripts/node_modules/zod/src/v4-mini/index.ts +0 -3
  1400. package/skills/poteto-mode/scripts/node_modules/zod/v3/ZodError.cjs +0 -167
  1401. package/skills/poteto-mode/scripts/node_modules/zod/v3/ZodError.d.cts +0 -164
  1402. package/skills/poteto-mode/scripts/node_modules/zod/v3/ZodError.d.ts +0 -164
  1403. package/skills/poteto-mode/scripts/node_modules/zod/v3/ZodError.js +0 -143
  1404. package/skills/poteto-mode/scripts/node_modules/zod/v3/errors.cjs +0 -36
  1405. package/skills/poteto-mode/scripts/node_modules/zod/v3/errors.d.cts +0 -5
  1406. package/skills/poteto-mode/scripts/node_modules/zod/v3/errors.d.ts +0 -5
  1407. package/skills/poteto-mode/scripts/node_modules/zod/v3/errors.js +0 -9
  1408. package/skills/poteto-mode/scripts/node_modules/zod/v3/external.cjs +0 -41
  1409. package/skills/poteto-mode/scripts/node_modules/zod/v3/external.d.cts +0 -6
  1410. package/skills/poteto-mode/scripts/node_modules/zod/v3/external.d.ts +0 -6
  1411. package/skills/poteto-mode/scripts/node_modules/zod/v3/external.js +0 -6
  1412. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/enumUtil.cjs +0 -21
  1413. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
  1414. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
  1415. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/enumUtil.js +0 -1
  1416. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/errorUtil.cjs +0 -28
  1417. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
  1418. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
  1419. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/errorUtil.js +0 -6
  1420. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/parseUtil.cjs +0 -143
  1421. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
  1422. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
  1423. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/parseUtil.js +0 -109
  1424. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/partialUtil.cjs +0 -21
  1425. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
  1426. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
  1427. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/partialUtil.js +0 -1
  1428. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/typeAliases.cjs +0 -21
  1429. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
  1430. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
  1431. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/typeAliases.js +0 -1
  1432. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/util.cjs +0 -156
  1433. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/util.d.cts +0 -85
  1434. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/util.d.ts +0 -85
  1435. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/util.js +0 -133
  1436. package/skills/poteto-mode/scripts/node_modules/zod/v3/index.cjs +0 -52
  1437. package/skills/poteto-mode/scripts/node_modules/zod/v3/index.d.cts +0 -4
  1438. package/skills/poteto-mode/scripts/node_modules/zod/v3/index.d.ts +0 -4
  1439. package/skills/poteto-mode/scripts/node_modules/zod/v3/index.js +0 -4
  1440. package/skills/poteto-mode/scripts/node_modules/zod/v3/locales/en.cjs +0 -112
  1441. package/skills/poteto-mode/scripts/node_modules/zod/v3/locales/en.d.cts +0 -3
  1442. package/skills/poteto-mode/scripts/node_modules/zod/v3/locales/en.d.ts +0 -3
  1443. package/skills/poteto-mode/scripts/node_modules/zod/v3/locales/en.js +0 -109
  1444. package/skills/poteto-mode/scripts/node_modules/zod/v3/package.json +0 -7
  1445. package/skills/poteto-mode/scripts/node_modules/zod/v3/standard-schema.cjs +0 -21
  1446. package/skills/poteto-mode/scripts/node_modules/zod/v3/standard-schema.d.cts +0 -102
  1447. package/skills/poteto-mode/scripts/node_modules/zod/v3/standard-schema.d.ts +0 -102
  1448. package/skills/poteto-mode/scripts/node_modules/zod/v3/standard-schema.js +0 -1
  1449. package/skills/poteto-mode/scripts/node_modules/zod/v3/types.cjs +0 -3798
  1450. package/skills/poteto-mode/scripts/node_modules/zod/v3/types.d.cts +0 -1034
  1451. package/skills/poteto-mode/scripts/node_modules/zod/v3/types.d.ts +0 -1034
  1452. package/skills/poteto-mode/scripts/node_modules/zod/v3/types.js +0 -3697
  1453. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/checks.cjs +0 -53
  1454. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/checks.d.cts +0 -1
  1455. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/checks.d.ts +0 -1
  1456. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/checks.js +0 -1
  1457. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/coerce.cjs +0 -66
  1458. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/coerce.d.cts +0 -17
  1459. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/coerce.d.ts +0 -17
  1460. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/coerce.js +0 -17
  1461. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/compat.cjs +0 -80
  1462. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/compat.d.cts +0 -48
  1463. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/compat.d.ts +0 -48
  1464. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/compat.js +0 -31
  1465. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/deep-partial.cjs +0 -58
  1466. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/deep-partial.d.cts +0 -14
  1467. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/deep-partial.d.ts +0 -14
  1468. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/deep-partial.js +0 -13
  1469. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/errors.cjs +0 -102
  1470. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/errors.d.cts +0 -29
  1471. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/errors.d.ts +0 -29
  1472. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/errors.js +0 -57
  1473. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/external.cjs +0 -97
  1474. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/external.d.cts +0 -19
  1475. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/external.d.ts +0 -19
  1476. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/external.js +0 -17
  1477. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/from-json-schema.cjs +0 -926
  1478. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/from-json-schema.d.cts +0 -12
  1479. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/from-json-schema.d.ts +0 -12
  1480. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/from-json-schema.js +0 -881
  1481. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/in-out.cjs +0 -82
  1482. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/in-out.d.cts +0 -8
  1483. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/in-out.d.ts +0 -8
  1484. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/in-out.js +0 -36
  1485. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/index.cjs +0 -52
  1486. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/index.d.cts +0 -3
  1487. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/index.d.ts +0 -3
  1488. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/index.js +0 -4
  1489. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/iso.cjs +0 -68
  1490. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/iso.d.cts +0 -7
  1491. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/iso.d.ts +0 -7
  1492. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/iso.js +0 -15
  1493. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/package.json +0 -7
  1494. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/parse.cjs +0 -63
  1495. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/parse.d.cts +0 -44
  1496. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/parse.d.ts +0 -44
  1497. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/parse.js +0 -16
  1498. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/schemas.cjs +0 -1676
  1499. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/schemas.d.cts +0 -816
  1500. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/schemas.d.ts +0 -816
  1501. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/schemas.js +0 -1535
  1502. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/api.cjs +0 -1269
  1503. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/api.d.cts +0 -335
  1504. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/api.d.ts +0 -335
  1505. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/api.js +0 -1107
  1506. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/checks.cjs +0 -561
  1507. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/checks.d.cts +0 -294
  1508. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/checks.d.ts +0 -294
  1509. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/checks.js +0 -516
  1510. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/compile.cjs +0 -1916
  1511. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/compile.d.cts +0 -65
  1512. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/compile.d.ts +0 -65
  1513. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/compile.js +0 -1866
  1514. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/core.cjs +0 -167
  1515. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/core.d.cts +0 -82
  1516. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/core.d.ts +0 -82
  1517. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/core.js +0 -141
  1518. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/doc.cjs +0 -61
  1519. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/doc.d.cts +0 -16
  1520. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/doc.d.ts +0 -16
  1521. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/doc.js +0 -38
  1522. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/errors.cjs +0 -317
  1523. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/errors.d.cts +0 -225
  1524. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/errors.d.ts +0 -225
  1525. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/errors.js +0 -267
  1526. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/index.cjs +0 -70
  1527. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/index.d.cts +0 -19
  1528. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/index.d.ts +0 -19
  1529. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/index.js +0 -19
  1530. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema-generator.cjs +0 -122
  1531. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema-generator.d.cts +0 -65
  1532. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema-generator.d.ts +0 -65
  1533. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema-generator.js +0 -99
  1534. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema-processors.cjs +0 -929
  1535. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema-processors.d.cts +0 -65
  1536. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema-processors.d.ts +0 -65
  1537. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema-processors.js +0 -843
  1538. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema.cjs +0 -21
  1539. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema.d.cts +0 -89
  1540. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema.d.ts +0 -89
  1541. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema.js +0 -1
  1542. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/memoizer.cjs +0 -360
  1543. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/memoizer.d.cts +0 -15
  1544. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/memoizer.d.ts +0 -15
  1545. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/memoizer.js +0 -311
  1546. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/package.json +0 -7
  1547. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/parse.cjs +0 -233
  1548. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/parse.d.cts +0 -52
  1549. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/parse.d.ts +0 -52
  1550. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/parse.js +0 -175
  1551. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/regexes.cjs +0 -209
  1552. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/regexes.d.cts +0 -90
  1553. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/regexes.d.ts +0 -90
  1554. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/regexes.js +0 -156
  1555. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/registries.cjs +0 -75
  1556. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/registries.d.cts +0 -35
  1557. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/registries.d.ts +0 -35
  1558. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/registries.js +0 -51
  1559. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/schemas.cjs +0 -2699
  1560. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/schemas.d.cts +0 -1275
  1561. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/schemas.d.ts +0 -1275
  1562. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/schemas.js +0 -2636
  1563. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/standard-schema.cjs +0 -21
  1564. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/standard-schema.d.cts +0 -126
  1565. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/standard-schema.d.ts +0 -126
  1566. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/standard-schema.js +0 -1
  1567. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/to-json-schema.cjs +0 -681
  1568. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/to-json-schema.d.cts +0 -154
  1569. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/to-json-schema.d.ts +0 -154
  1570. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/to-json-schema.js +0 -651
  1571. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/util.cjs +0 -964
  1572. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/util.d.cts +0 -280
  1573. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/util.d.ts +0 -280
  1574. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/util.js +0 -873
  1575. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/versions.cjs +0 -27
  1576. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/versions.d.cts +0 -5
  1577. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/versions.d.ts +0 -5
  1578. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/versions.js +0 -5
  1579. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/visit.cjs +0 -214
  1580. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/visit.d.cts +0 -30
  1581. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/visit.d.ts +0 -30
  1582. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/visit.js +0 -169
  1583. package/skills/poteto-mode/scripts/node_modules/zod/v4/index.cjs +0 -51
  1584. package/skills/poteto-mode/scripts/node_modules/zod/v4/index.d.cts +0 -3
  1585. package/skills/poteto-mode/scripts/node_modules/zod/v4/index.d.ts +0 -3
  1586. package/skills/poteto-mode/scripts/node_modules/zod/v4/index.js +0 -4
  1587. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ar.cjs +0 -138
  1588. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ar.d.cts +0 -5
  1589. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ar.d.ts +0 -4
  1590. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ar.js +0 -111
  1591. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/az.cjs +0 -137
  1592. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/az.d.cts +0 -5
  1593. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/az.d.ts +0 -4
  1594. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/az.js +0 -110
  1595. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/be.cjs +0 -195
  1596. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/be.d.cts +0 -5
  1597. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/be.d.ts +0 -4
  1598. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/be.js +0 -168
  1599. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/bg.cjs +0 -152
  1600. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/bg.d.cts +0 -5
  1601. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/bg.d.ts +0 -4
  1602. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/bg.js +0 -125
  1603. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/bn.cjs +0 -140
  1604. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/bn.d.cts +0 -5
  1605. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/bn.d.ts +0 -4
  1606. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/bn.js +0 -113
  1607. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ca.cjs +0 -139
  1608. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ca.d.cts +0 -5
  1609. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ca.d.ts +0 -4
  1610. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ca.js +0 -112
  1611. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ckb.cjs +0 -160
  1612. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ckb.d.cts +0 -5
  1613. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ckb.d.ts +0 -4
  1614. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ckb.js +0 -133
  1615. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/cs.cjs +0 -143
  1616. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/cs.d.cts +0 -5
  1617. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/cs.d.ts +0 -4
  1618. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/cs.js +0 -116
  1619. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/da.cjs +0 -147
  1620. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/da.d.cts +0 -5
  1621. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/da.d.ts +0 -4
  1622. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/da.js +0 -120
  1623. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/de.cjs +0 -140
  1624. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/de.d.cts +0 -5
  1625. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/de.d.ts +0 -4
  1626. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/de.js +0 -113
  1627. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/el.cjs +0 -139
  1628. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/el.d.cts +0 -5
  1629. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/el.d.ts +0 -4
  1630. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/el.js +0 -112
  1631. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/en.cjs +0 -152
  1632. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/en.d.cts +0 -5
  1633. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/en.d.ts +0 -4
  1634. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/en.js +0 -125
  1635. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/eo.cjs +0 -141
  1636. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/eo.d.cts +0 -5
  1637. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/eo.d.ts +0 -4
  1638. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/eo.js +0 -114
  1639. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/es.cjs +0 -163
  1640. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/es.d.cts +0 -5
  1641. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/es.d.ts +0 -4
  1642. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/es.js +0 -136
  1643. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fa.cjs +0 -146
  1644. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fa.d.cts +0 -5
  1645. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fa.d.ts +0 -4
  1646. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fa.js +0 -119
  1647. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fi.cjs +0 -144
  1648. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fi.d.cts +0 -5
  1649. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fi.d.ts +0 -4
  1650. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fi.js +0 -117
  1651. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fr-CA.cjs +0 -139
  1652. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fr-CA.d.cts +0 -5
  1653. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
  1654. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fr-CA.js +0 -112
  1655. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fr.cjs +0 -156
  1656. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fr.d.cts +0 -5
  1657. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fr.d.ts +0 -4
  1658. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fr.js +0 -129
  1659. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/gu.cjs +0 -140
  1660. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/gu.d.cts +0 -5
  1661. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/gu.d.ts +0 -4
  1662. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/gu.js +0 -113
  1663. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/he.cjs +0 -248
  1664. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/he.d.cts +0 -5
  1665. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/he.d.ts +0 -4
  1666. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/he.js +0 -221
  1667. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hi.cjs +0 -138
  1668. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hi.d.cts +0 -5
  1669. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hi.d.ts +0 -4
  1670. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hi.js +0 -111
  1671. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hr.cjs +0 -153
  1672. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hr.d.cts +0 -5
  1673. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hr.d.ts +0 -4
  1674. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hr.js +0 -126
  1675. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hu.cjs +0 -140
  1676. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hu.d.cts +0 -5
  1677. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hu.d.ts +0 -4
  1678. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hu.js +0 -113
  1679. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hy.cjs +0 -185
  1680. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hy.d.cts +0 -5
  1681. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hy.d.ts +0 -4
  1682. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hy.js +0 -158
  1683. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/id.cjs +0 -138
  1684. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/id.d.cts +0 -5
  1685. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/id.d.ts +0 -4
  1686. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/id.js +0 -111
  1687. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/index.cjs +0 -152
  1688. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/index.d.cts +0 -63
  1689. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/index.d.ts +0 -63
  1690. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/index.js +0 -63
  1691. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/is.cjs +0 -141
  1692. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/is.d.cts +0 -5
  1693. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/is.d.ts +0 -4
  1694. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/is.js +0 -114
  1695. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/it.cjs +0 -140
  1696. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/it.d.cts +0 -5
  1697. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/it.d.ts +0 -4
  1698. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/it.js +0 -113
  1699. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ja.cjs +0 -139
  1700. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ja.d.cts +0 -5
  1701. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ja.d.ts +0 -4
  1702. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ja.js +0 -112
  1703. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ka.cjs +0 -144
  1704. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ka.d.cts +0 -5
  1705. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ka.d.ts +0 -4
  1706. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ka.js +0 -117
  1707. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/kh.cjs +0 -12
  1708. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/kh.d.cts +0 -5
  1709. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/kh.d.ts +0 -5
  1710. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/kh.js +0 -5
  1711. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/km.cjs +0 -142
  1712. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/km.d.cts +0 -5
  1713. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/km.d.ts +0 -4
  1714. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/km.js +0 -115
  1715. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/kn.cjs +0 -143
  1716. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/kn.d.cts +0 -5
  1717. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/kn.d.ts +0 -4
  1718. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/kn.js +0 -116
  1719. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ko.cjs +0 -143
  1720. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ko.d.cts +0 -5
  1721. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ko.d.ts +0 -4
  1722. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ko.js +0 -116
  1723. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/lt.cjs +0 -234
  1724. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/lt.d.cts +0 -5
  1725. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/lt.d.ts +0 -4
  1726. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/lt.js +0 -207
  1727. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/mk.cjs +0 -141
  1728. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/mk.d.cts +0 -5
  1729. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/mk.d.ts +0 -4
  1730. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/mk.js +0 -114
  1731. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ms.cjs +0 -139
  1732. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ms.d.cts +0 -5
  1733. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ms.d.ts +0 -4
  1734. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ms.js +0 -112
  1735. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ne.cjs +0 -138
  1736. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ne.d.cts +0 -5
  1737. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ne.d.ts +0 -4
  1738. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ne.js +0 -111
  1739. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/nl.cjs +0 -142
  1740. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/nl.d.cts +0 -5
  1741. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/nl.d.ts +0 -4
  1742. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/nl.js +0 -115
  1743. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/nn.cjs +0 -140
  1744. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/nn.d.cts +0 -5
  1745. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/nn.d.ts +0 -4
  1746. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/nn.js +0 -113
  1747. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/no.cjs +0 -140
  1748. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/no.d.cts +0 -5
  1749. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/no.d.ts +0 -4
  1750. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/no.js +0 -113
  1751. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ota.cjs +0 -141
  1752. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ota.d.cts +0 -5
  1753. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ota.d.ts +0 -4
  1754. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ota.js +0 -114
  1755. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/package.json +0 -7
  1756. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pl.cjs +0 -141
  1757. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pl.d.cts +0 -5
  1758. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pl.d.ts +0 -4
  1759. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pl.js +0 -114
  1760. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ps.cjs +0 -146
  1761. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ps.d.cts +0 -5
  1762. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ps.d.ts +0 -4
  1763. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ps.js +0 -119
  1764. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pt-BR.cjs +0 -170
  1765. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pt-BR.d.cts +0 -5
  1766. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pt-BR.d.ts +0 -4
  1767. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pt-BR.js +0 -143
  1768. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pt.cjs +0 -169
  1769. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pt.d.cts +0 -5
  1770. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pt.d.ts +0 -4
  1771. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pt.js +0 -142
  1772. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ro.cjs +0 -149
  1773. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ro.d.cts +0 -5
  1774. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ro.d.ts +0 -4
  1775. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ro.js +0 -122
  1776. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ru.cjs +0 -195
  1777. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ru.d.cts +0 -5
  1778. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ru.d.ts +0 -4
  1779. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ru.js +0 -168
  1780. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sk.cjs +0 -143
  1781. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sk.d.cts +0 -5
  1782. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sk.d.ts +0 -4
  1783. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sk.js +0 -116
  1784. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sl.cjs +0 -141
  1785. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sl.d.cts +0 -5
  1786. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sl.d.ts +0 -4
  1787. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sl.js +0 -114
  1788. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sv.cjs +0 -142
  1789. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sv.d.cts +0 -5
  1790. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sv.d.ts +0 -4
  1791. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sv.js +0 -115
  1792. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ta.cjs +0 -142
  1793. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ta.d.cts +0 -5
  1794. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ta.d.ts +0 -4
  1795. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ta.js +0 -115
  1796. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tg.cjs +0 -144
  1797. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tg.d.cts +0 -5
  1798. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tg.d.ts +0 -4
  1799. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tg.js +0 -117
  1800. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/th.cjs +0 -142
  1801. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/th.d.cts +0 -5
  1802. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/th.d.ts +0 -4
  1803. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/th.js +0 -115
  1804. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tk.cjs +0 -134
  1805. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tk.d.cts +0 -5
  1806. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tk.d.ts +0 -4
  1807. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tk.js +0 -107
  1808. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tr.cjs +0 -137
  1809. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tr.d.cts +0 -5
  1810. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tr.d.ts +0 -4
  1811. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tr.js +0 -110
  1812. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ua.cjs +0 -12
  1813. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ua.d.cts +0 -5
  1814. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ua.d.ts +0 -5
  1815. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ua.js +0 -5
  1816. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/uk.cjs +0 -140
  1817. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/uk.d.cts +0 -5
  1818. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/uk.d.ts +0 -4
  1819. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/uk.js +0 -113
  1820. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ur.cjs +0 -142
  1821. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ur.d.cts +0 -5
  1822. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ur.d.ts +0 -4
  1823. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ur.js +0 -115
  1824. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/uz.cjs +0 -140
  1825. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/uz.d.cts +0 -5
  1826. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/uz.d.ts +0 -4
  1827. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/uz.js +0 -113
  1828. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/vi.cjs +0 -140
  1829. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/vi.d.cts +0 -5
  1830. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/vi.d.ts +0 -4
  1831. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/vi.js +0 -113
  1832. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/yo.cjs +0 -139
  1833. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/yo.d.cts +0 -5
  1834. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/yo.d.ts +0 -4
  1835. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/yo.js +0 -112
  1836. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/zh-CN.cjs +0 -141
  1837. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/zh-CN.d.cts +0 -5
  1838. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
  1839. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/zh-CN.js +0 -114
  1840. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/zh-TW.cjs +0 -139
  1841. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/zh-TW.d.cts +0 -5
  1842. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
  1843. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/zh-TW.js +0 -112
  1844. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/checks.cjs +0 -54
  1845. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/checks.d.cts +0 -1
  1846. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/checks.d.ts +0 -1
  1847. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/checks.js +0 -1
  1848. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/coerce.cjs +0 -71
  1849. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/coerce.d.cts +0 -7
  1850. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/coerce.d.ts +0 -7
  1851. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/coerce.js +0 -22
  1852. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/deep-partial.cjs +0 -58
  1853. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/deep-partial.d.cts +0 -14
  1854. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/deep-partial.d.ts +0 -14
  1855. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/deep-partial.js +0 -13
  1856. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/external.cjs +0 -95
  1857. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/external.d.cts +0 -16
  1858. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/external.d.ts +0 -16
  1859. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/external.js +0 -16
  1860. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/in-out.cjs +0 -82
  1861. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/in-out.d.cts +0 -8
  1862. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/in-out.d.ts +0 -8
  1863. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/in-out.js +0 -36
  1864. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/index.cjs +0 -51
  1865. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/index.d.cts +0 -3
  1866. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/index.d.ts +0 -3
  1867. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/index.js +0 -3
  1868. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/iso.cjs +0 -83
  1869. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/iso.d.cts +0 -22
  1870. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/iso.d.ts +0 -22
  1871. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/iso.js +0 -34
  1872. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/package.json +0 -7
  1873. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/parse.cjs +0 -37
  1874. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/parse.d.cts +0 -1
  1875. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/parse.d.ts +0 -1
  1876. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/parse.js +0 -1
  1877. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/schemas.cjs +0 -1147
  1878. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/schemas.d.cts +0 -480
  1879. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/schemas.d.ts +0 -480
  1880. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/schemas.js +0 -1002
  1881. package/skills/poteto-mode/scripts/node_modules/zod/v4/package.json +0 -7
  1882. package/skills/poteto-mode/scripts/node_modules/zod/v4-mini/index.cjs +0 -51
  1883. package/skills/poteto-mode/scripts/node_modules/zod/v4-mini/index.d.cts +0 -3
  1884. package/skills/poteto-mode/scripts/node_modules/zod/v4-mini/index.d.ts +0 -3
  1885. package/skills/poteto-mode/scripts/node_modules/zod/v4-mini/index.js +0 -3
  1886. package/skills/poteto-mode/scripts/node_modules/zod/v4-mini/package.json +0 -7
@@ -1,4786 +0,0 @@
1
- declare module "node:fs" {
2
- import { NonSharedBuffer } from "node:buffer";
3
- import { Abortable, EventEmitter, InternalEventEmitter } from "node:events";
4
- import { FileHandle } from "node:fs/promises";
5
- import * as stream from "node:stream";
6
- import { URL } from "node:url";
7
- /**
8
- * Valid types for path values in "fs".
9
- */
10
- type PathLike = string | Buffer | URL;
11
- type PathOrFileDescriptor = PathLike | number;
12
- type TimeLike = string | number | Date;
13
- type NoParamCallback = (err: NodeJS.ErrnoException | null) => void;
14
- type BufferEncodingOption =
15
- | "buffer"
16
- | {
17
- encoding: "buffer";
18
- };
19
- interface ObjectEncodingOptions {
20
- encoding?: BufferEncoding | null | undefined;
21
- }
22
- type EncodingOption = ObjectEncodingOptions | BufferEncoding | undefined | null;
23
- type OpenMode = number | string;
24
- type Mode = number | string;
25
- interface StatsBase<T> {
26
- isFile(): boolean;
27
- isDirectory(): boolean;
28
- isBlockDevice(): boolean;
29
- isCharacterDevice(): boolean;
30
- isSymbolicLink(): boolean;
31
- isFIFO(): boolean;
32
- isSocket(): boolean;
33
- dev: T;
34
- ino: T;
35
- mode: T;
36
- nlink: T;
37
- uid: T;
38
- gid: T;
39
- rdev: T;
40
- size: T;
41
- blksize: T;
42
- blocks: T;
43
- atimeMs: T;
44
- mtimeMs: T;
45
- ctimeMs: T;
46
- birthtimeMs: T;
47
- atime: Date;
48
- mtime: Date;
49
- ctime: Date;
50
- birthtime: Date;
51
- }
52
- interface Stats extends StatsBase<number> {}
53
- /**
54
- * A `fs.Stats` object provides information about a file.
55
- *
56
- * Objects returned from {@link stat}, {@link lstat}, {@link fstat}, and
57
- * their synchronous counterparts are of this type.
58
- * If `bigint` in the `options` passed to those methods is true, the numeric values
59
- * will be `bigint` instead of `number`, and the object will contain additional
60
- * nanosecond-precision properties suffixed with `Ns`. `Stat` objects are not to be created directly using the `new` keyword.
61
- *
62
- * ```console
63
- * Stats {
64
- * dev: 2114,
65
- * ino: 48064969,
66
- * mode: 33188,
67
- * nlink: 1,
68
- * uid: 85,
69
- * gid: 100,
70
- * rdev: 0,
71
- * size: 527,
72
- * blksize: 4096,
73
- * blocks: 8,
74
- * atimeMs: 1318289051000.1,
75
- * mtimeMs: 1318289051000.1,
76
- * ctimeMs: 1318289051000.1,
77
- * birthtimeMs: 1318289051000.1,
78
- * atime: Mon, 10 Oct 2011 23:24:11 GMT,
79
- * mtime: Mon, 10 Oct 2011 23:24:11 GMT,
80
- * ctime: Mon, 10 Oct 2011 23:24:11 GMT,
81
- * birthtime: Mon, 10 Oct 2011 23:24:11 GMT }
82
- * ```
83
- *
84
- * `bigint` version:
85
- *
86
- * ```console
87
- * BigIntStats {
88
- * dev: 2114n,
89
- * ino: 48064969n,
90
- * mode: 33188n,
91
- * nlink: 1n,
92
- * uid: 85n,
93
- * gid: 100n,
94
- * rdev: 0n,
95
- * size: 527n,
96
- * blksize: 4096n,
97
- * blocks: 8n,
98
- * atimeMs: 1318289051000n,
99
- * mtimeMs: 1318289051000n,
100
- * ctimeMs: 1318289051000n,
101
- * birthtimeMs: 1318289051000n,
102
- * atimeNs: 1318289051000000000n,
103
- * mtimeNs: 1318289051000000000n,
104
- * ctimeNs: 1318289051000000000n,
105
- * birthtimeNs: 1318289051000000000n,
106
- * atime: Mon, 10 Oct 2011 23:24:11 GMT,
107
- * mtime: Mon, 10 Oct 2011 23:24:11 GMT,
108
- * ctime: Mon, 10 Oct 2011 23:24:11 GMT,
109
- * birthtime: Mon, 10 Oct 2011 23:24:11 GMT }
110
- * ```
111
- * @since v0.1.21
112
- */
113
- class Stats {
114
- private constructor();
115
- }
116
- interface StatsFsBase<T> {
117
- /** Type of file system. */
118
- type: T;
119
- /** Optimal transfer block size. */
120
- bsize: T;
121
- /** Total data blocks in file system. */
122
- blocks: T;
123
- /** Free blocks in file system. */
124
- bfree: T;
125
- /** Available blocks for unprivileged users */
126
- bavail: T;
127
- /** Total file nodes in file system. */
128
- files: T;
129
- /** Fundamental file system block size. */
130
- frsize: T;
131
- /** Free file nodes in file system. */
132
- ffree: T;
133
- }
134
- interface StatsFs extends StatsFsBase<number> {}
135
- /**
136
- * Provides information about a mounted file system.
137
- *
138
- * Objects returned from {@link statfs} and its synchronous counterpart are of
139
- * this type. If `bigint` in the `options` passed to those methods is `true`, the
140
- * numeric values will be `bigint` instead of `number`.
141
- *
142
- * ```console
143
- * StatFs {
144
- * type: 1397114950,
145
- * bsize: 4096,
146
- * blocks: 121938943,
147
- * bfree: 61058895,
148
- * bavail: 61058895,
149
- * files: 999,
150
- * ffree: 1000000
151
- * }
152
- * ```
153
- *
154
- * `bigint` version:
155
- *
156
- * ```console
157
- * StatFs {
158
- * type: 1397114950n,
159
- * bsize: 4096n,
160
- * blocks: 121938943n,
161
- * bfree: 61058895n,
162
- * bavail: 61058895n,
163
- * files: 999n,
164
- * ffree: 1000000n
165
- * }
166
- * ```
167
- * @since v19.6.0, v18.15.0
168
- */
169
- class StatsFs {}
170
- interface BigIntStatsFs extends StatsFsBase<bigint> {}
171
- interface StatFsOptions {
172
- bigint?: boolean | undefined;
173
- }
174
- /**
175
- * A representation of a directory entry, which can be a file or a subdirectory
176
- * within the directory, as returned by reading from an `fs.Dir`. The
177
- * directory entry is a combination of the file name and file type pairs.
178
- *
179
- * Additionally, when {@link readdir} or {@link readdirSync} is called with
180
- * the `withFileTypes` option set to `true`, the resulting array is filled with `fs.Dirent` objects, rather than strings or `Buffer` s.
181
- * @since v10.10.0
182
- */
183
- class Dirent<Name extends string | Buffer = string> {
184
- /**
185
- * Returns `true` if the `fs.Dirent` object describes a regular file.
186
- * @since v10.10.0
187
- */
188
- isFile(): boolean;
189
- /**
190
- * Returns `true` if the `fs.Dirent` object describes a file system
191
- * directory.
192
- * @since v10.10.0
193
- */
194
- isDirectory(): boolean;
195
- /**
196
- * Returns `true` if the `fs.Dirent` object describes a block device.
197
- * @since v10.10.0
198
- */
199
- isBlockDevice(): boolean;
200
- /**
201
- * Returns `true` if the `fs.Dirent` object describes a character device.
202
- * @since v10.10.0
203
- */
204
- isCharacterDevice(): boolean;
205
- /**
206
- * Returns `true` if the `fs.Dirent` object describes a symbolic link.
207
- * @since v10.10.0
208
- */
209
- isSymbolicLink(): boolean;
210
- /**
211
- * Returns `true` if the `fs.Dirent` object describes a first-in-first-out
212
- * (FIFO) pipe.
213
- * @since v10.10.0
214
- */
215
- isFIFO(): boolean;
216
- /**
217
- * Returns `true` if the `fs.Dirent` object describes a socket.
218
- * @since v10.10.0
219
- */
220
- isSocket(): boolean;
221
- /**
222
- * The file name that this `fs.Dirent` object refers to. The type of this
223
- * value is determined by the `options.encoding` passed to {@link readdir} or {@link readdirSync}.
224
- * @since v10.10.0
225
- */
226
- name: Name;
227
- /**
228
- * The path to the parent directory of the file this `fs.Dirent` object refers to.
229
- * @since v20.12.0, v18.20.0
230
- */
231
- parentPath: string;
232
- }
233
- /**
234
- * A class representing a directory stream.
235
- *
236
- * Created by {@link opendir}, {@link opendirSync}, or `fsPromises.opendir()`.
237
- *
238
- * ```js
239
- * import { opendir } from 'node:fs/promises';
240
- *
241
- * try {
242
- * const dir = await opendir('./');
243
- * for await (const dirent of dir)
244
- * console.log(dirent.name);
245
- * } catch (err) {
246
- * console.error(err);
247
- * }
248
- * ```
249
- *
250
- * When using the async iterator, the `fs.Dir` object will be automatically
251
- * closed after the iterator exits.
252
- * @since v12.12.0
253
- */
254
- class Dir implements AsyncIterable<Dirent> {
255
- /**
256
- * The read-only path of this directory as was provided to {@link opendir},{@link opendirSync}, or `fsPromises.opendir()`.
257
- * @since v12.12.0
258
- */
259
- readonly path: string;
260
- /**
261
- * Asynchronously iterates over the directory via `readdir(3)` until all entries have been read.
262
- */
263
- [Symbol.asyncIterator](): NodeJS.AsyncIterator<Dirent>;
264
- /**
265
- * Asynchronously close the directory's underlying resource handle.
266
- * Subsequent reads will result in errors.
267
- *
268
- * A promise is returned that will be fulfilled after the resource has been
269
- * closed.
270
- * @since v12.12.0
271
- */
272
- close(): Promise<void>;
273
- close(cb: NoParamCallback): void;
274
- /**
275
- * Synchronously close the directory's underlying resource handle.
276
- * Subsequent reads will result in errors.
277
- * @since v12.12.0
278
- */
279
- closeSync(): void;
280
- /**
281
- * Asynchronously read the next directory entry via [`readdir(3)`](http://man7.org/linux/man-pages/man3/readdir.3.html) as an `fs.Dirent`.
282
- *
283
- * A promise is returned that will be fulfilled with an `fs.Dirent`, or `null` if there are no more directory entries to read.
284
- *
285
- * Directory entries returned by this function are in no particular order as
286
- * provided by the operating system's underlying directory mechanisms.
287
- * Entries added or removed while iterating over the directory might not be
288
- * included in the iteration results.
289
- * @since v12.12.0
290
- * @return containing {fs.Dirent|null}
291
- */
292
- read(): Promise<Dirent | null>;
293
- read(cb: (err: NodeJS.ErrnoException | null, dirEnt: Dirent | null) => void): void;
294
- /**
295
- * Synchronously read the next directory entry as an `fs.Dirent`. See the
296
- * POSIX [`readdir(3)`](http://man7.org/linux/man-pages/man3/readdir.3.html) documentation for more detail.
297
- *
298
- * If there are no more directory entries to read, `null` will be returned.
299
- *
300
- * Directory entries returned by this function are in no particular order as
301
- * provided by the operating system's underlying directory mechanisms.
302
- * Entries added or removed while iterating over the directory might not be
303
- * included in the iteration results.
304
- * @since v12.12.0
305
- */
306
- readSync(): Dirent | null;
307
- /**
308
- * Calls `dir.close()` if the directory handle is open, and returns a promise that
309
- * fulfills when disposal is complete.
310
- * @since v24.1.0
311
- */
312
- [Symbol.asyncDispose](): Promise<void>;
313
- /**
314
- * Calls `dir.closeSync()` if the directory handle is open, and returns
315
- * `undefined`.
316
- * @since v24.1.0
317
- */
318
- [Symbol.dispose](): void;
319
- }
320
- /**
321
- * Class: fs.StatWatcher
322
- * @since v14.3.0, v12.20.0
323
- * Extends `EventEmitter`
324
- * A successful call to {@link watchFile} method will return a new fs.StatWatcher object.
325
- */
326
- interface StatWatcher extends EventEmitter {
327
- /**
328
- * When called, requests that the Node.js event loop _not_ exit so long as the `fs.StatWatcher` is active. Calling `watcher.ref()` multiple times will have
329
- * no effect.
330
- *
331
- * By default, all `fs.StatWatcher` objects are "ref'ed", making it normally
332
- * unnecessary to call `watcher.ref()` unless `watcher.unref()` had been
333
- * called previously.
334
- * @since v14.3.0, v12.20.0
335
- */
336
- ref(): this;
337
- /**
338
- * When called, the active `fs.StatWatcher` object will not require the Node.js
339
- * event loop to remain active. If there is no other activity keeping the
340
- * event loop running, the process may exit before the `fs.StatWatcher` object's
341
- * callback is invoked. Calling `watcher.unref()` multiple times will have
342
- * no effect.
343
- * @since v14.3.0, v12.20.0
344
- */
345
- unref(): this;
346
- }
347
- interface FSWatcherEventMap {
348
- "change": [eventType: string, filename: string | NonSharedBuffer];
349
- "close": [];
350
- "error": [error: Error];
351
- }
352
- interface FSWatcher extends InternalEventEmitter<FSWatcherEventMap> {
353
- /**
354
- * Stop watching for changes on the given `fs.FSWatcher`. Once stopped, the `fs.FSWatcher` object is no longer usable.
355
- * @since v0.5.8
356
- */
357
- close(): void;
358
- /**
359
- * When called, requests that the Node.js event loop _not_ exit so long as the `fs.FSWatcher` is active. Calling `watcher.ref()` multiple times will have
360
- * no effect.
361
- *
362
- * By default, all `fs.FSWatcher` objects are "ref'ed", making it normally
363
- * unnecessary to call `watcher.ref()` unless `watcher.unref()` had been
364
- * called previously.
365
- * @since v14.3.0, v12.20.0
366
- */
367
- ref(): this;
368
- /**
369
- * When called, the active `fs.FSWatcher` object will not require the Node.js
370
- * event loop to remain active. If there is no other activity keeping the
371
- * event loop running, the process may exit before the `fs.FSWatcher` object's
372
- * callback is invoked. Calling `watcher.unref()` multiple times will have
373
- * no effect.
374
- * @since v14.3.0, v12.20.0
375
- */
376
- unref(): this;
377
- }
378
- interface ReadStreamEventMap extends stream.ReadableEventMap {
379
- "close": [];
380
- "data": [chunk: string | NonSharedBuffer];
381
- "open": [fd: number];
382
- "ready": [];
383
- }
384
- /**
385
- * Instances of `fs.ReadStream` cannot be constructed directly. They are created and
386
- * returned using the `fs.createReadStream()` function.
387
- * @since v0.1.93
388
- */
389
- class ReadStream extends stream.Readable {
390
- close(callback?: (err?: NodeJS.ErrnoException | null) => void): void;
391
- /**
392
- * The number of bytes that have been read so far.
393
- * @since v6.4.0
394
- */
395
- bytesRead: number;
396
- /**
397
- * The path to the file the stream is reading from as specified in the first
398
- * argument to `fs.createReadStream()`. If `path` is passed as a string, then`readStream.path` will be a string. If `path` is passed as a `Buffer`, then`readStream.path` will be a
399
- * `Buffer`. If `fd` is specified, then`readStream.path` will be `undefined`.
400
- * @since v0.1.93
401
- */
402
- path: string | Buffer;
403
- /**
404
- * This property is `true` if the underlying file has not been opened yet,
405
- * i.e. before the `'ready'` event is emitted.
406
- * @since v11.2.0, v10.16.0
407
- */
408
- pending: boolean;
409
- // #region InternalEventEmitter
410
- addListener<E extends keyof ReadStreamEventMap>(
411
- eventName: E,
412
- listener: (...args: ReadStreamEventMap[E]) => void,
413
- ): this;
414
- addListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
415
- emit<E extends keyof ReadStreamEventMap>(eventName: E, ...args: ReadStreamEventMap[E]): boolean;
416
- emit(eventName: string | symbol, ...args: any[]): boolean;
417
- listenerCount<E extends keyof ReadStreamEventMap>(
418
- eventName: E,
419
- listener?: (...args: ReadStreamEventMap[E]) => void,
420
- ): number;
421
- listenerCount(eventName: string | symbol, listener?: (...args: any[]) => void): number;
422
- listeners<E extends keyof ReadStreamEventMap>(eventName: E): ((...args: ReadStreamEventMap[E]) => void)[];
423
- listeners(eventName: string | symbol): ((...args: any[]) => void)[];
424
- off<E extends keyof ReadStreamEventMap>(eventName: E, listener: (...args: ReadStreamEventMap[E]) => void): this;
425
- off(eventName: string | symbol, listener: (...args: any[]) => void): this;
426
- on<E extends keyof ReadStreamEventMap>(eventName: E, listener: (...args: ReadStreamEventMap[E]) => void): this;
427
- on(eventName: string | symbol, listener: (...args: any[]) => void): this;
428
- once<E extends keyof ReadStreamEventMap>(
429
- eventName: E,
430
- listener: (...args: ReadStreamEventMap[E]) => void,
431
- ): this;
432
- once(eventName: string | symbol, listener: (...args: any[]) => void): this;
433
- prependListener<E extends keyof ReadStreamEventMap>(
434
- eventName: E,
435
- listener: (...args: ReadStreamEventMap[E]) => void,
436
- ): this;
437
- prependListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
438
- prependOnceListener<E extends keyof ReadStreamEventMap>(
439
- eventName: E,
440
- listener: (...args: ReadStreamEventMap[E]) => void,
441
- ): this;
442
- prependOnceListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
443
- rawListeners<E extends keyof ReadStreamEventMap>(eventName: E): ((...args: ReadStreamEventMap[E]) => void)[];
444
- rawListeners(eventName: string | symbol): ((...args: any[]) => void)[];
445
- // eslint-disable-next-line @definitelytyped/no-unnecessary-generics
446
- removeAllListeners<E extends keyof ReadStreamEventMap>(eventName?: E): this;
447
- removeAllListeners(eventName?: string | symbol): this;
448
- removeListener<E extends keyof ReadStreamEventMap>(
449
- eventName: E,
450
- listener: (...args: ReadStreamEventMap[E]) => void,
451
- ): this;
452
- removeListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
453
- // #endregion
454
- }
455
- interface Utf8StreamOptions {
456
- /**
457
- * Appends writes to dest file instead of truncating it.
458
- * @default true
459
- */
460
- append?: boolean | undefined;
461
- /**
462
- * Which type of data you can send to the write
463
- * function, supported values are `'utf8'` or `'buffer'`.
464
- * @default 'utf8'
465
- */
466
- contentMode?: "utf8" | "buffer" | undefined;
467
- /**
468
- * A path to a file to be written to (mode controlled by the
469
- * append option).
470
- */
471
- dest?: string | undefined;
472
- /**
473
- * A file descriptor, something that is returned by `fs.open()`
474
- * or `fs.openSync()`.
475
- */
476
- fd?: number | undefined;
477
- /**
478
- * An object that has the same API as the `fs` module, useful
479
- * for mocking, testing, or customizing the behavior of the stream.
480
- */
481
- fs?: object | undefined;
482
- /**
483
- * Perform a `fs.fsyncSync()` every time a write is
484
- * completed.
485
- */
486
- fsync?: boolean | undefined;
487
- /**
488
- * The maximum length of the internal buffer. If a write
489
- * operation would cause the buffer to exceed `maxLength`, the data written is
490
- * dropped and a drop event is emitted with the dropped data
491
- */
492
- maxLength?: number | undefined;
493
- /**
494
- * The maximum number of bytes that can be written;
495
- * @default 16384
496
- */
497
- maxWrite?: number | undefined;
498
- /**
499
- * The minimum length of the internal buffer that is
500
- * required to be full before flushing.
501
- */
502
- minLength?: number | undefined;
503
- /**
504
- * Ensure directory for `dest` file exists when true.
505
- * @default false
506
- */
507
- mkdir?: boolean | undefined;
508
- /**
509
- * Specify the creating file mode (see `fs.open()`).
510
- */
511
- mode?: number | string | undefined;
512
- /**
513
- * Calls flush every `periodicFlush` milliseconds.
514
- */
515
- periodicFlush?: number | undefined;
516
- /**
517
- * A function that will be called when `write()`,
518
- * `writeSync()`, or `flushSync()` encounters an `EAGAIN` or `EBUSY` error.
519
- * If the return value is `true` the operation will be retried, otherwise it
520
- * will bubble the error. The `err` is the error that caused this function to
521
- * be called, `writeBufferLen` is the length of the buffer that was written,
522
- * and `remainingBufferLen` is the length of the remaining buffer that the
523
- * stream did not try to write.
524
- */
525
- retryEAGAIN?: ((err: Error | null, writeBufferLen: number, remainingBufferLen: number) => boolean) | undefined;
526
- /**
527
- * Perform writes synchronously.
528
- */
529
- sync?: boolean | undefined;
530
- }
531
- interface Utf8StreamEventMap {
532
- "close": [];
533
- "drain": [];
534
- "drop": [data: string | Buffer];
535
- "error": [error: Error];
536
- "finish": [];
537
- "ready": [];
538
- "write": [n: number];
539
- }
540
- /**
541
- * An optimized UTF-8 stream writer that allows for flushing all the internal
542
- * buffering on demand. It handles `EAGAIN` errors correctly, allowing for
543
- * customization, for example, by dropping content if the disk is busy.
544
- * @since v24.6.0
545
- * @experimental
546
- */
547
- class Utf8Stream implements EventEmitter {
548
- constructor(options: Utf8StreamOptions);
549
- /**
550
- * Whether the stream is appending to the file or truncating it.
551
- */
552
- readonly append: boolean;
553
- /**
554
- * The type of data that can be written to the stream. Supported
555
- * values are `'utf8'` or `'buffer'`.
556
- * @default 'utf8'
557
- */
558
- readonly contentMode: "utf8" | "buffer";
559
- /**
560
- * Close the stream immediately, without flushing the internal buffer.
561
- */
562
- destroy(): void;
563
- /**
564
- * Close the stream gracefully, flushing the internal buffer before closing.
565
- */
566
- end(): void;
567
- /**
568
- * The file descriptor that is being written to.
569
- */
570
- readonly fd: number;
571
- /**
572
- * The file that is being written to.
573
- */
574
- readonly file: string;
575
- /**
576
- * Writes the current buffer to the file if a write was not in progress. Do
577
- * nothing if `minLength` is zero or if it is already writing.
578
- */
579
- flush(callback: (err: Error | null) => void): void;
580
- /**
581
- * Flushes the buffered data synchronously. This is a costly operation.
582
- */
583
- flushSync(): void;
584
- /**
585
- * Whether the stream is performing a `fs.fsyncSync()` after every
586
- * write operation.
587
- */
588
- readonly fsync: boolean;
589
- /**
590
- * The maximum length of the internal buffer. If a write
591
- * operation would cause the buffer to exceed `maxLength`, the data written is
592
- * dropped and a drop event is emitted with the dropped data.
593
- */
594
- readonly maxLength: number;
595
- /**
596
- * The minimum length of the internal buffer that is required to be
597
- * full before flushing.
598
- */
599
- readonly minLength: number;
600
- /**
601
- * Whether the stream should ensure that the directory for the
602
- * `dest` file exists. If `true`, it will create the directory if it does not
603
- * exist.
604
- * @default false
605
- */
606
- readonly mkdir: boolean;
607
- /**
608
- * The mode of the file that is being written to.
609
- */
610
- readonly mode: number | string;
611
- /**
612
- * The number of milliseconds between flushes. If set to `0`, no
613
- * periodic flushes will be performed.
614
- */
615
- readonly periodicFlush: number;
616
- /**
617
- * Reopen the file in place, useful for log rotation.
618
- * @param file A path to a file to be written to (mode
619
- * controlled by the append option).
620
- */
621
- reopen(file: PathLike): void;
622
- /**
623
- * Whether the stream is writing synchronously or asynchronously.
624
- */
625
- readonly sync: boolean;
626
- /**
627
- * When the `options.contentMode` is set to `'utf8'` when the stream is created,
628
- * the `data` argument must be a string. If the `contentMode` is set to `'buffer'`,
629
- * the `data` argument must be a `Buffer`.
630
- * @param data The data to write.
631
- */
632
- write(data: string | Buffer): boolean;
633
- /**
634
- * Whether the stream is currently writing data to the file.
635
- */
636
- readonly writing: boolean;
637
- /**
638
- * Calls `utf8Stream.destroy()`.
639
- */
640
- [Symbol.dispose](): void;
641
- }
642
- interface Utf8Stream extends InternalEventEmitter<Utf8StreamEventMap> {}
643
- interface WriteStreamEventMap extends stream.WritableEventMap {
644
- "close": [];
645
- "open": [fd: number];
646
- "ready": [];
647
- }
648
- /**
649
- * Instances of `fs.WriteStream` cannot be constructed directly. They are created and
650
- * returned using the `fs.createWriteStream()` function.
651
- * @since v0.1.93
652
- */
653
- class WriteStream extends stream.Writable {
654
- /**
655
- * Closes `writeStream`. Optionally accepts a
656
- * callback that will be executed once the `writeStream`is closed.
657
- * @since v0.9.4
658
- */
659
- close(callback?: (err?: NodeJS.ErrnoException | null) => void): void;
660
- /**
661
- * The number of bytes written so far. Does not include data that is still queued
662
- * for writing.
663
- * @since v0.4.7
664
- */
665
- bytesWritten: number;
666
- /**
667
- * The path to the file the stream is writing to as specified in the first
668
- * argument to {@link createWriteStream}. If `path` is passed as a string, then`writeStream.path` will be a string. If `path` is passed as a `Buffer`, then`writeStream.path` will be a
669
- * `Buffer`.
670
- * @since v0.1.93
671
- */
672
- path: string | Buffer;
673
- /**
674
- * This property is `true` if the underlying file has not been opened yet,
675
- * i.e. before the `'ready'` event is emitted.
676
- * @since v11.2.0
677
- */
678
- pending: boolean;
679
- // #region InternalEventEmitter
680
- addListener<E extends keyof WriteStreamEventMap>(
681
- eventName: E,
682
- listener: (...args: WriteStreamEventMap[E]) => void,
683
- ): this;
684
- addListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
685
- emit<E extends keyof WriteStreamEventMap>(eventName: E, ...args: WriteStreamEventMap[E]): boolean;
686
- emit(eventName: string | symbol, ...args: any[]): boolean;
687
- listenerCount<E extends keyof WriteStreamEventMap>(
688
- eventName: E,
689
- listener?: (...args: WriteStreamEventMap[E]) => void,
690
- ): number;
691
- listenerCount(eventName: string | symbol, listener?: (...args: any[]) => void): number;
692
- listeners<E extends keyof WriteStreamEventMap>(eventName: E): ((...args: WriteStreamEventMap[E]) => void)[];
693
- listeners(eventName: string | symbol): ((...args: any[]) => void)[];
694
- off<E extends keyof WriteStreamEventMap>(
695
- eventName: E,
696
- listener: (...args: WriteStreamEventMap[E]) => void,
697
- ): this;
698
- off(eventName: string | symbol, listener: (...args: any[]) => void): this;
699
- on<E extends keyof WriteStreamEventMap>(
700
- eventName: E,
701
- listener: (...args: WriteStreamEventMap[E]) => void,
702
- ): this;
703
- on(eventName: string | symbol, listener: (...args: any[]) => void): this;
704
- once<E extends keyof WriteStreamEventMap>(
705
- eventName: E,
706
- listener: (...args: WriteStreamEventMap[E]) => void,
707
- ): this;
708
- once(eventName: string | symbol, listener: (...args: any[]) => void): this;
709
- prependListener<E extends keyof WriteStreamEventMap>(
710
- eventName: E,
711
- listener: (...args: WriteStreamEventMap[E]) => void,
712
- ): this;
713
- prependListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
714
- prependOnceListener<E extends keyof WriteStreamEventMap>(
715
- eventName: E,
716
- listener: (...args: WriteStreamEventMap[E]) => void,
717
- ): this;
718
- prependOnceListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
719
- rawListeners<E extends keyof WriteStreamEventMap>(eventName: E): ((...args: WriteStreamEventMap[E]) => void)[];
720
- rawListeners(eventName: string | symbol): ((...args: any[]) => void)[];
721
- // eslint-disable-next-line @definitelytyped/no-unnecessary-generics
722
- removeAllListeners<E extends keyof WriteStreamEventMap>(eventName?: E): this;
723
- removeAllListeners(eventName?: string | symbol): this;
724
- removeListener<E extends keyof WriteStreamEventMap>(
725
- eventName: E,
726
- listener: (...args: WriteStreamEventMap[E]) => void,
727
- ): this;
728
- removeListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
729
- // #endregion
730
- }
731
- /**
732
- * Asynchronously rename file at `oldPath` to the pathname provided
733
- * as `newPath`. In the case that `newPath` already exists, it will
734
- * be overwritten. If there is a directory at `newPath`, an error will
735
- * be raised instead. No arguments other than a possible exception are
736
- * given to the completion callback.
737
- *
738
- * See also: [`rename(2)`](http://man7.org/linux/man-pages/man2/rename.2.html).
739
- *
740
- * ```js
741
- * import { rename } from 'node:fs';
742
- *
743
- * rename('oldFile.txt', 'newFile.txt', (err) => {
744
- * if (err) throw err;
745
- * console.log('Rename complete!');
746
- * });
747
- * ```
748
- * @since v0.0.2
749
- */
750
- function rename(oldPath: PathLike, newPath: PathLike, callback: NoParamCallback): void;
751
- namespace rename {
752
- /**
753
- * Asynchronous rename(2) - Change the name or location of a file or directory.
754
- * @param oldPath A path to a file. If a URL is provided, it must use the `file:` protocol.
755
- * URL support is _experimental_.
756
- * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol.
757
- * URL support is _experimental_.
758
- */
759
- function __promisify__(oldPath: PathLike, newPath: PathLike): Promise<void>;
760
- }
761
- /**
762
- * Renames the file from `oldPath` to `newPath`. Returns `undefined`.
763
- *
764
- * See the POSIX [`rename(2)`](http://man7.org/linux/man-pages/man2/rename.2.html) documentation for more details.
765
- * @since v0.1.21
766
- */
767
- function renameSync(oldPath: PathLike, newPath: PathLike): void;
768
- /**
769
- * Truncates the file. No arguments other than a possible exception are
770
- * given to the completion callback. A file descriptor can also be passed as the
771
- * first argument. In this case, `fs.ftruncate()` is called.
772
- *
773
- * ```js
774
- * import { truncate } from 'node:fs';
775
- * // Assuming that 'path/file.txt' is a regular file.
776
- * truncate('path/file.txt', (err) => {
777
- * if (err) throw err;
778
- * console.log('path/file.txt was truncated');
779
- * });
780
- * ```
781
- *
782
- * Passing a file descriptor is deprecated and may result in an error being thrown
783
- * in the future.
784
- *
785
- * See the POSIX [`truncate(2)`](http://man7.org/linux/man-pages/man2/truncate.2.html) documentation for more details.
786
- * @since v0.8.6
787
- * @param [len=0]
788
- */
789
- function truncate(path: PathLike, len: number | undefined, callback: NoParamCallback): void;
790
- /**
791
- * Asynchronous truncate(2) - Truncate a file to a specified length.
792
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
793
- */
794
- function truncate(path: PathLike, callback: NoParamCallback): void;
795
- namespace truncate {
796
- /**
797
- * Asynchronous truncate(2) - Truncate a file to a specified length.
798
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
799
- * @param len If not specified, defaults to `0`.
800
- */
801
- function __promisify__(path: PathLike, len?: number): Promise<void>;
802
- }
803
- /**
804
- * Truncates the file. Returns `undefined`. A file descriptor can also be
805
- * passed as the first argument. In this case, `fs.ftruncateSync()` is called.
806
- *
807
- * Passing a file descriptor is deprecated and may result in an error being thrown
808
- * in the future.
809
- * @since v0.8.6
810
- * @param [len=0]
811
- */
812
- function truncateSync(path: PathLike, len?: number): void;
813
- /**
814
- * Truncates the file descriptor. No arguments other than a possible exception are
815
- * given to the completion callback.
816
- *
817
- * See the POSIX [`ftruncate(2)`](http://man7.org/linux/man-pages/man2/ftruncate.2.html) documentation for more detail.
818
- *
819
- * If the file referred to by the file descriptor was larger than `len` bytes, only
820
- * the first `len` bytes will be retained in the file.
821
- *
822
- * For example, the following program retains only the first four bytes of the
823
- * file:
824
- *
825
- * ```js
826
- * import { open, close, ftruncate } from 'node:fs';
827
- *
828
- * function closeFd(fd) {
829
- * close(fd, (err) => {
830
- * if (err) throw err;
831
- * });
832
- * }
833
- *
834
- * open('temp.txt', 'r+', (err, fd) => {
835
- * if (err) throw err;
836
- *
837
- * try {
838
- * ftruncate(fd, 4, (err) => {
839
- * closeFd(fd);
840
- * if (err) throw err;
841
- * });
842
- * } catch (err) {
843
- * closeFd(fd);
844
- * if (err) throw err;
845
- * }
846
- * });
847
- * ```
848
- *
849
- * If the file previously was shorter than `len` bytes, it is extended, and the
850
- * extended part is filled with null bytes (`'\0'`):
851
- *
852
- * If `len` is negative then `0` will be used.
853
- * @since v0.8.6
854
- * @param [len=0]
855
- */
856
- function ftruncate(fd: number, len: number | undefined, callback: NoParamCallback): void;
857
- /**
858
- * Asynchronous ftruncate(2) - Truncate a file to a specified length.
859
- * @param fd A file descriptor.
860
- */
861
- function ftruncate(fd: number, callback: NoParamCallback): void;
862
- namespace ftruncate {
863
- /**
864
- * Asynchronous ftruncate(2) - Truncate a file to a specified length.
865
- * @param fd A file descriptor.
866
- * @param len If not specified, defaults to `0`.
867
- */
868
- function __promisify__(fd: number, len?: number): Promise<void>;
869
- }
870
- /**
871
- * Truncates the file descriptor. Returns `undefined`.
872
- *
873
- * For detailed information, see the documentation of the asynchronous version of
874
- * this API: {@link ftruncate}.
875
- * @since v0.8.6
876
- * @param [len=0]
877
- */
878
- function ftruncateSync(fd: number, len?: number): void;
879
- /**
880
- * Asynchronously changes owner and group of a file. No arguments other than a
881
- * possible exception are given to the completion callback.
882
- *
883
- * See the POSIX [`chown(2)`](http://man7.org/linux/man-pages/man2/chown.2.html) documentation for more detail.
884
- * @since v0.1.97
885
- */
886
- function chown(path: PathLike, uid: number, gid: number, callback: NoParamCallback): void;
887
- namespace chown {
888
- /**
889
- * Asynchronous chown(2) - Change ownership of a file.
890
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
891
- */
892
- function __promisify__(path: PathLike, uid: number, gid: number): Promise<void>;
893
- }
894
- /**
895
- * Synchronously changes owner and group of a file. Returns `undefined`.
896
- * This is the synchronous version of {@link chown}.
897
- *
898
- * See the POSIX [`chown(2)`](http://man7.org/linux/man-pages/man2/chown.2.html) documentation for more detail.
899
- * @since v0.1.97
900
- */
901
- function chownSync(path: PathLike, uid: number, gid: number): void;
902
- /**
903
- * Sets the owner of the file. No arguments other than a possible exception are
904
- * given to the completion callback.
905
- *
906
- * See the POSIX [`fchown(2)`](http://man7.org/linux/man-pages/man2/fchown.2.html) documentation for more detail.
907
- * @since v0.4.7
908
- */
909
- function fchown(fd: number, uid: number, gid: number, callback: NoParamCallback): void;
910
- namespace fchown {
911
- /**
912
- * Asynchronous fchown(2) - Change ownership of a file.
913
- * @param fd A file descriptor.
914
- */
915
- function __promisify__(fd: number, uid: number, gid: number): Promise<void>;
916
- }
917
- /**
918
- * Sets the owner of the file. Returns `undefined`.
919
- *
920
- * See the POSIX [`fchown(2)`](http://man7.org/linux/man-pages/man2/fchown.2.html) documentation for more detail.
921
- * @since v0.4.7
922
- * @param uid The file's new owner's user id.
923
- * @param gid The file's new group's group id.
924
- */
925
- function fchownSync(fd: number, uid: number, gid: number): void;
926
- /**
927
- * Set the owner of the symbolic link. No arguments other than a possible
928
- * exception are given to the completion callback.
929
- *
930
- * See the POSIX [`lchown(2)`](http://man7.org/linux/man-pages/man2/lchown.2.html) documentation for more detail.
931
- */
932
- function lchown(path: PathLike, uid: number, gid: number, callback: NoParamCallback): void;
933
- namespace lchown {
934
- /**
935
- * Asynchronous lchown(2) - Change ownership of a file. Does not dereference symbolic links.
936
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
937
- */
938
- function __promisify__(path: PathLike, uid: number, gid: number): Promise<void>;
939
- }
940
- /**
941
- * Set the owner for the path. Returns `undefined`.
942
- *
943
- * See the POSIX [`lchown(2)`](http://man7.org/linux/man-pages/man2/lchown.2.html) documentation for more details.
944
- * @param uid The file's new owner's user id.
945
- * @param gid The file's new group's group id.
946
- */
947
- function lchownSync(path: PathLike, uid: number, gid: number): void;
948
- /**
949
- * Changes the access and modification times of a file in the same way as {@link utimes}, with the difference that if the path refers to a symbolic
950
- * link, then the link is not dereferenced: instead, the timestamps of the
951
- * symbolic link itself are changed.
952
- *
953
- * No arguments other than a possible exception are given to the completion
954
- * callback.
955
- * @since v14.5.0, v12.19.0
956
- */
957
- function lutimes(path: PathLike, atime: TimeLike, mtime: TimeLike, callback: NoParamCallback): void;
958
- namespace lutimes {
959
- /**
960
- * Changes the access and modification times of a file in the same way as `fsPromises.utimes()`,
961
- * with the difference that if the path refers to a symbolic link, then the link is not
962
- * dereferenced: instead, the timestamps of the symbolic link itself are changed.
963
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
964
- * @param atime The last access time. If a string is provided, it will be coerced to number.
965
- * @param mtime The last modified time. If a string is provided, it will be coerced to number.
966
- */
967
- function __promisify__(path: PathLike, atime: TimeLike, mtime: TimeLike): Promise<void>;
968
- }
969
- /**
970
- * Change the file system timestamps of the symbolic link referenced by `path`.
971
- * Returns `undefined`, or throws an exception when parameters are incorrect or
972
- * the operation fails. This is the synchronous version of {@link lutimes}.
973
- * @since v14.5.0, v12.19.0
974
- */
975
- function lutimesSync(path: PathLike, atime: TimeLike, mtime: TimeLike): void;
976
- /**
977
- * Asynchronously changes the permissions of a file. No arguments other than a
978
- * possible exception are given to the completion callback.
979
- *
980
- * See the POSIX [`chmod(2)`](http://man7.org/linux/man-pages/man2/chmod.2.html) documentation for more detail.
981
- *
982
- * ```js
983
- * import { chmod } from 'node:fs';
984
- *
985
- * chmod('my_file.txt', 0o775, (err) => {
986
- * if (err) throw err;
987
- * console.log('The permissions for file "my_file.txt" have been changed!');
988
- * });
989
- * ```
990
- * @since v0.1.30
991
- */
992
- function chmod(path: PathLike, mode: Mode, callback: NoParamCallback): void;
993
- namespace chmod {
994
- /**
995
- * Asynchronous chmod(2) - Change permissions of a file.
996
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
997
- * @param mode A file mode. If a string is passed, it is parsed as an octal integer.
998
- */
999
- function __promisify__(path: PathLike, mode: Mode): Promise<void>;
1000
- }
1001
- /**
1002
- * For detailed information, see the documentation of the asynchronous version of
1003
- * this API: {@link chmod}.
1004
- *
1005
- * See the POSIX [`chmod(2)`](http://man7.org/linux/man-pages/man2/chmod.2.html) documentation for more detail.
1006
- * @since v0.6.7
1007
- */
1008
- function chmodSync(path: PathLike, mode: Mode): void;
1009
- /**
1010
- * Sets the permissions on the file. No arguments other than a possible exception
1011
- * are given to the completion callback.
1012
- *
1013
- * See the POSIX [`fchmod(2)`](http://man7.org/linux/man-pages/man2/fchmod.2.html) documentation for more detail.
1014
- * @since v0.4.7
1015
- */
1016
- function fchmod(fd: number, mode: Mode, callback: NoParamCallback): void;
1017
- namespace fchmod {
1018
- /**
1019
- * Asynchronous fchmod(2) - Change permissions of a file.
1020
- * @param fd A file descriptor.
1021
- * @param mode A file mode. If a string is passed, it is parsed as an octal integer.
1022
- */
1023
- function __promisify__(fd: number, mode: Mode): Promise<void>;
1024
- }
1025
- /**
1026
- * Sets the permissions on the file. Returns `undefined`.
1027
- *
1028
- * See the POSIX [`fchmod(2)`](http://man7.org/linux/man-pages/man2/fchmod.2.html) documentation for more detail.
1029
- * @since v0.4.7
1030
- */
1031
- function fchmodSync(fd: number, mode: Mode): void;
1032
- /**
1033
- * Changes the permissions on a symbolic link. No arguments other than a possible
1034
- * exception are given to the completion callback.
1035
- *
1036
- * This method is only implemented on macOS.
1037
- *
1038
- * See the POSIX [`lchmod(2)`](https://www.freebsd.org/cgi/man.cgi?query=lchmod&sektion=2) documentation for more detail.
1039
- * @deprecated Since v0.4.7
1040
- */
1041
- function lchmod(path: PathLike, mode: Mode, callback: NoParamCallback): void;
1042
- /** @deprecated */
1043
- namespace lchmod {
1044
- /**
1045
- * Asynchronous lchmod(2) - Change permissions of a file. Does not dereference symbolic links.
1046
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1047
- * @param mode A file mode. If a string is passed, it is parsed as an octal integer.
1048
- */
1049
- function __promisify__(path: PathLike, mode: Mode): Promise<void>;
1050
- }
1051
- /**
1052
- * Changes the permissions on a symbolic link. Returns `undefined`.
1053
- *
1054
- * This method is only implemented on macOS.
1055
- *
1056
- * See the POSIX [`lchmod(2)`](https://www.freebsd.org/cgi/man.cgi?query=lchmod&sektion=2) documentation for more detail.
1057
- * @deprecated Since v0.4.7
1058
- */
1059
- function lchmodSync(path: PathLike, mode: Mode): void;
1060
- /**
1061
- * Asynchronous [`stat(2)`](http://man7.org/linux/man-pages/man2/stat.2.html). The callback gets two arguments `(err, stats)` where`stats` is an `fs.Stats` object.
1062
- *
1063
- * In case of an error, the `err.code` will be one of `Common System Errors`.
1064
- *
1065
- * {@link stat} follows symbolic links. Use {@link lstat} to look at the
1066
- * links themselves.
1067
- *
1068
- * Using `fs.stat()` to check for the existence of a file before calling`fs.open()`, `fs.readFile()`, or `fs.writeFile()` is not recommended.
1069
- * Instead, user code should open/read/write the file directly and handle the
1070
- * error raised if the file is not available.
1071
- *
1072
- * To check if a file exists without manipulating it afterwards, {@link access} is recommended.
1073
- *
1074
- * For example, given the following directory structure:
1075
- *
1076
- * ```text
1077
- * - txtDir
1078
- * -- file.txt
1079
- * - app.js
1080
- * ```
1081
- *
1082
- * The next program will check for the stats of the given paths:
1083
- *
1084
- * ```js
1085
- * import { stat } from 'node:fs';
1086
- *
1087
- * const pathsToCheck = ['./txtDir', './txtDir/file.txt'];
1088
- *
1089
- * for (let i = 0; i < pathsToCheck.length; i++) {
1090
- * stat(pathsToCheck[i], (err, stats) => {
1091
- * console.log(stats.isDirectory());
1092
- * console.log(stats);
1093
- * });
1094
- * }
1095
- * ```
1096
- *
1097
- * The resulting output will resemble:
1098
- *
1099
- * ```console
1100
- * true
1101
- * Stats {
1102
- * dev: 16777220,
1103
- * mode: 16877,
1104
- * nlink: 3,
1105
- * uid: 501,
1106
- * gid: 20,
1107
- * rdev: 0,
1108
- * blksize: 4096,
1109
- * ino: 14214262,
1110
- * size: 96,
1111
- * blocks: 0,
1112
- * atimeMs: 1561174653071.963,
1113
- * mtimeMs: 1561174614583.3518,
1114
- * ctimeMs: 1561174626623.5366,
1115
- * birthtimeMs: 1561174126937.2893,
1116
- * atime: 2019-06-22T03:37:33.072Z,
1117
- * mtime: 2019-06-22T03:36:54.583Z,
1118
- * ctime: 2019-06-22T03:37:06.624Z,
1119
- * birthtime: 2019-06-22T03:28:46.937Z
1120
- * }
1121
- * false
1122
- * Stats {
1123
- * dev: 16777220,
1124
- * mode: 33188,
1125
- * nlink: 1,
1126
- * uid: 501,
1127
- * gid: 20,
1128
- * rdev: 0,
1129
- * blksize: 4096,
1130
- * ino: 14214074,
1131
- * size: 8,
1132
- * blocks: 8,
1133
- * atimeMs: 1561174616618.8555,
1134
- * mtimeMs: 1561174614584,
1135
- * ctimeMs: 1561174614583.8145,
1136
- * birthtimeMs: 1561174007710.7478,
1137
- * atime: 2019-06-22T03:36:56.619Z,
1138
- * mtime: 2019-06-22T03:36:54.584Z,
1139
- * ctime: 2019-06-22T03:36:54.584Z,
1140
- * birthtime: 2019-06-22T03:26:47.711Z
1141
- * }
1142
- * ```
1143
- * @since v0.0.2
1144
- */
1145
- function stat(path: PathLike, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void;
1146
- function stat(
1147
- path: PathLike,
1148
- options:
1149
- | (StatOptions & {
1150
- bigint?: false | undefined;
1151
- throwIfNoEntry?: true | undefined;
1152
- })
1153
- | undefined,
1154
- callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void,
1155
- ): void;
1156
- function stat(
1157
- path: PathLike,
1158
- options: StatOptions & {
1159
- bigint: true;
1160
- throwIfNoEntry?: true | undefined;
1161
- },
1162
- callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void,
1163
- ): void;
1164
- function stat(
1165
- path: PathLike,
1166
- options: StatOptions & {
1167
- bigint?: false | undefined;
1168
- throwIfNoEntry: false;
1169
- },
1170
- callback: (err: NodeJS.ErrnoException | null, stats: Stats | undefined) => void,
1171
- ): void;
1172
- function stat(
1173
- path: PathLike,
1174
- options: StatOptions & {
1175
- bigint: true;
1176
- throwIfNoEntry: false;
1177
- },
1178
- callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats | undefined) => void,
1179
- ): void;
1180
- function stat(
1181
- path: PathLike,
1182
- options: StatOptions & {
1183
- throwIfNoEntry?: true | undefined;
1184
- },
1185
- callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void,
1186
- ): void;
1187
- function stat(
1188
- path: PathLike,
1189
- options: StatOptions | undefined,
1190
- callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats | undefined) => void,
1191
- ): void;
1192
- namespace stat {
1193
- // TODO: aliased promisify signatures
1194
- /**
1195
- * Asynchronous stat(2) - Get file status.
1196
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1197
- */
1198
- function __promisify__(path: PathLike): Promise<Stats>;
1199
- function __promisify__(
1200
- path: PathLike,
1201
- options?: StatOptions & {
1202
- bigint?: false | undefined;
1203
- throwIfNoEntry?: true | undefined;
1204
- },
1205
- ): Promise<Stats>;
1206
- function __promisify__(
1207
- path: PathLike,
1208
- options: StatOptions & {
1209
- bigint: true;
1210
- throwIfNoEntry?: true | undefined;
1211
- },
1212
- ): Promise<BigIntStats>;
1213
- function __promisify__(
1214
- path: PathLike,
1215
- options: StatOptions & {
1216
- bigint?: false | undefined;
1217
- throwIfNoEntry: false;
1218
- },
1219
- ): Promise<Stats | undefined>;
1220
- function __promisify__(
1221
- path: PathLike,
1222
- options: StatOptions & {
1223
- bigint: true;
1224
- throwIfNoEntry: false;
1225
- },
1226
- ): Promise<BigIntStats | undefined>;
1227
- function __promisify__(
1228
- path: PathLike,
1229
- options: StatOptions & {
1230
- throwIfNoEntry?: true | undefined;
1231
- },
1232
- ): Promise<Stats | BigIntStats>;
1233
- function __promisify__(path: PathLike, options?: StatOptions): Promise<Stats | BigIntStats | undefined>;
1234
- }
1235
- /** @deprecated This orphaned interface will be removed in a future version. */
1236
- interface StatSyncFn extends Function {
1237
- (path: PathLike, options?: undefined): Stats;
1238
- (
1239
- path: PathLike,
1240
- options?: StatSyncOptions & {
1241
- bigint?: false | undefined;
1242
- throwIfNoEntry: false;
1243
- },
1244
- ): Stats | undefined;
1245
- (
1246
- path: PathLike,
1247
- options: StatSyncOptions & {
1248
- bigint: true;
1249
- throwIfNoEntry: false;
1250
- },
1251
- ): BigIntStats | undefined;
1252
- (
1253
- path: PathLike,
1254
- options?: StatSyncOptions & {
1255
- bigint?: false | undefined;
1256
- },
1257
- ): Stats;
1258
- (
1259
- path: PathLike,
1260
- options: StatSyncOptions & {
1261
- bigint: true;
1262
- },
1263
- ): BigIntStats;
1264
- (
1265
- path: PathLike,
1266
- options: StatSyncOptions & {
1267
- bigint: boolean;
1268
- throwIfNoEntry?: false | undefined;
1269
- },
1270
- ): Stats | BigIntStats;
1271
- (path: PathLike, options?: StatSyncOptions): Stats | BigIntStats | undefined;
1272
- }
1273
- /**
1274
- * Synchronous stat(2) - Get file status.
1275
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1276
- */
1277
- function statSync(path: PathLike): Stats;
1278
- function statSync(
1279
- path: PathLike,
1280
- options?: StatOptions & {
1281
- bigint?: false | undefined;
1282
- throwIfNoEntry?: true | undefined;
1283
- },
1284
- ): Stats;
1285
- function statSync(
1286
- path: PathLike,
1287
- options: StatOptions & {
1288
- bigint: true;
1289
- throwIfNoEntry?: true | undefined;
1290
- },
1291
- ): BigIntStats;
1292
- function statSync(
1293
- path: PathLike,
1294
- options: StatOptions & {
1295
- bigint?: false | undefined;
1296
- throwIfNoEntry: false;
1297
- },
1298
- ): Stats | undefined;
1299
- function statSync(
1300
- path: PathLike,
1301
- options: StatOptions & {
1302
- bigint: true;
1303
- throwIfNoEntry: false;
1304
- },
1305
- ): BigIntStats | undefined;
1306
- function statSync(
1307
- path: PathLike,
1308
- options: StatOptions & {
1309
- throwIfNoEntry?: true | undefined;
1310
- },
1311
- ): Stats | BigIntStats;
1312
- function statSync(path: PathLike, options?: StatOptions): Stats | BigIntStats | undefined;
1313
- /**
1314
- * Invokes the callback with the `fs.Stats` for the file descriptor.
1315
- *
1316
- * See the POSIX [`fstat(2)`](http://man7.org/linux/man-pages/man2/fstat.2.html) documentation for more detail.
1317
- * @since v0.1.95
1318
- */
1319
- function fstat(fd: number, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void;
1320
- function fstat(
1321
- fd: number,
1322
- options:
1323
- | (StatOptions & {
1324
- bigint?: false | undefined;
1325
- })
1326
- | undefined,
1327
- callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void,
1328
- ): void;
1329
- function fstat(
1330
- fd: number,
1331
- options: StatOptions & {
1332
- bigint: true;
1333
- },
1334
- callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void,
1335
- ): void;
1336
- function fstat(
1337
- fd: number,
1338
- options: StatOptions | undefined,
1339
- callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void,
1340
- ): void;
1341
- namespace fstat {
1342
- /**
1343
- * Asynchronous fstat(2) - Get file status.
1344
- * @param fd A file descriptor.
1345
- */
1346
- function __promisify__(
1347
- fd: number,
1348
- options?: StatOptions & {
1349
- bigint?: false | undefined;
1350
- },
1351
- ): Promise<Stats>;
1352
- function __promisify__(
1353
- fd: number,
1354
- options: StatOptions & {
1355
- bigint: true;
1356
- },
1357
- ): Promise<BigIntStats>;
1358
- function __promisify__(fd: number, options?: StatOptions): Promise<Stats | BigIntStats>;
1359
- }
1360
- /**
1361
- * Retrieves the `fs.Stats` for the file descriptor.
1362
- *
1363
- * See the POSIX [`fstat(2)`](http://man7.org/linux/man-pages/man2/fstat.2.html) documentation for more detail.
1364
- * @since v0.1.95
1365
- */
1366
- function fstatSync(
1367
- fd: number,
1368
- options?: StatOptions & {
1369
- bigint?: false | undefined;
1370
- },
1371
- ): Stats;
1372
- function fstatSync(
1373
- fd: number,
1374
- options: StatOptions & {
1375
- bigint: true;
1376
- },
1377
- ): BigIntStats;
1378
- function fstatSync(fd: number, options?: StatOptions): Stats | BigIntStats;
1379
- /**
1380
- * Retrieves the `fs.Stats` for the symbolic link referred to by the path.
1381
- * The callback gets two arguments `(err, stats)` where `stats` is a `fs.Stats` object. `lstat()` is identical to `stat()`, except that if `path` is a symbolic
1382
- * link, then the link itself is stat-ed, not the file that it refers to.
1383
- *
1384
- * See the POSIX [`lstat(2)`](http://man7.org/linux/man-pages/man2/lstat.2.html) documentation for more details.
1385
- * @since v0.1.30
1386
- */
1387
- function lstat(path: PathLike, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void;
1388
- function lstat(
1389
- path: PathLike,
1390
- options:
1391
- | (StatOptions & {
1392
- bigint?: false | undefined;
1393
- })
1394
- | undefined,
1395
- callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void,
1396
- ): void;
1397
- function lstat(
1398
- path: PathLike,
1399
- options: StatOptions & {
1400
- bigint: true;
1401
- },
1402
- callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void,
1403
- ): void;
1404
- function lstat(
1405
- path: PathLike,
1406
- options: StatOptions | undefined,
1407
- callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void,
1408
- ): void;
1409
- namespace lstat {
1410
- /**
1411
- * Asynchronous lstat(2) - Get file status. Does not dereference symbolic links.
1412
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1413
- */
1414
- function __promisify__(
1415
- path: PathLike,
1416
- options?: StatOptions & {
1417
- bigint?: false | undefined;
1418
- },
1419
- ): Promise<Stats>;
1420
- function __promisify__(
1421
- path: PathLike,
1422
- options: StatOptions & {
1423
- bigint: true;
1424
- },
1425
- ): Promise<BigIntStats>;
1426
- function __promisify__(path: PathLike, options?: StatOptions): Promise<Stats | BigIntStats>;
1427
- }
1428
- /**
1429
- * Asynchronous [`statfs(2)`](http://man7.org/linux/man-pages/man2/statfs.2.html). Returns information about the mounted file system which
1430
- * contains `path`. The callback gets two arguments `(err, stats)` where `stats`is an `fs.StatFs` object.
1431
- *
1432
- * In case of an error, the `err.code` will be one of `Common System Errors`.
1433
- * @since v19.6.0, v18.15.0
1434
- * @param path A path to an existing file or directory on the file system to be queried.
1435
- */
1436
- function statfs(path: PathLike, callback: (err: NodeJS.ErrnoException | null, stats: StatsFs) => void): void;
1437
- function statfs(
1438
- path: PathLike,
1439
- options:
1440
- | (StatFsOptions & {
1441
- bigint?: false | undefined;
1442
- })
1443
- | undefined,
1444
- callback: (err: NodeJS.ErrnoException | null, stats: StatsFs) => void,
1445
- ): void;
1446
- function statfs(
1447
- path: PathLike,
1448
- options: StatFsOptions & {
1449
- bigint: true;
1450
- },
1451
- callback: (err: NodeJS.ErrnoException | null, stats: BigIntStatsFs) => void,
1452
- ): void;
1453
- function statfs(
1454
- path: PathLike,
1455
- options: StatFsOptions | undefined,
1456
- callback: (err: NodeJS.ErrnoException | null, stats: StatsFs | BigIntStatsFs) => void,
1457
- ): void;
1458
- namespace statfs {
1459
- /**
1460
- * Asynchronous statfs(2) - Returns information about the mounted file system which contains path. The callback gets two arguments (err, stats) where stats is an <fs.StatFs> object.
1461
- * @param path A path to an existing file or directory on the file system to be queried.
1462
- */
1463
- function __promisify__(
1464
- path: PathLike,
1465
- options?: StatFsOptions & {
1466
- bigint?: false | undefined;
1467
- },
1468
- ): Promise<StatsFs>;
1469
- function __promisify__(
1470
- path: PathLike,
1471
- options: StatFsOptions & {
1472
- bigint: true;
1473
- },
1474
- ): Promise<BigIntStatsFs>;
1475
- function __promisify__(path: PathLike, options?: StatFsOptions): Promise<StatsFs | BigIntStatsFs>;
1476
- }
1477
- /**
1478
- * Synchronous [`statfs(2)`](http://man7.org/linux/man-pages/man2/statfs.2.html). Returns information about the mounted file system which
1479
- * contains `path`.
1480
- *
1481
- * In case of an error, the `err.code` will be one of `Common System Errors`.
1482
- * @since v19.6.0, v18.15.0
1483
- * @param path A path to an existing file or directory on the file system to be queried.
1484
- */
1485
- function statfsSync(
1486
- path: PathLike,
1487
- options?: StatFsOptions & {
1488
- bigint?: false | undefined;
1489
- },
1490
- ): StatsFs;
1491
- function statfsSync(
1492
- path: PathLike,
1493
- options: StatFsOptions & {
1494
- bigint: true;
1495
- },
1496
- ): BigIntStatsFs;
1497
- function statfsSync(path: PathLike, options?: StatFsOptions): StatsFs | BigIntStatsFs;
1498
- /**
1499
- * Synchronous lstat(2) - Get file status. Does not dereference symbolic links.
1500
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1501
- */
1502
- function lstatSync(path: PathLike): Stats;
1503
- function lstatSync(
1504
- path: PathLike,
1505
- options?: StatOptions & {
1506
- bigint?: false | undefined;
1507
- throwIfNoEntry?: true | undefined;
1508
- },
1509
- ): Stats;
1510
- function lstatSync(
1511
- path: PathLike,
1512
- options: StatOptions & {
1513
- bigint: true;
1514
- throwIfNoEntry?: true | undefined;
1515
- },
1516
- ): BigIntStats;
1517
- function lstatSync(
1518
- path: PathLike,
1519
- options: StatOptions & {
1520
- bigint?: false | undefined;
1521
- throwIfNoEntry: false;
1522
- },
1523
- ): Stats | undefined;
1524
- function lstatSync(
1525
- path: PathLike,
1526
- options: StatOptions & {
1527
- bigint: true;
1528
- throwIfNoEntry: false;
1529
- },
1530
- ): BigIntStats | undefined;
1531
- function lstatSync(
1532
- path: PathLike,
1533
- options: StatOptions & {
1534
- throwIfNoEntry?: true | undefined;
1535
- },
1536
- ): Stats | BigIntStats;
1537
- function lstatSync(path: PathLike, options?: StatOptions): Stats | BigIntStats | undefined;
1538
- /**
1539
- * Creates a new link from the `existingPath` to the `newPath`. See the POSIX [`link(2)`](http://man7.org/linux/man-pages/man2/link.2.html) documentation for more detail. No arguments other than
1540
- * a possible
1541
- * exception are given to the completion callback.
1542
- * @since v0.1.31
1543
- */
1544
- function link(existingPath: PathLike, newPath: PathLike, callback: NoParamCallback): void;
1545
- namespace link {
1546
- /**
1547
- * Asynchronous link(2) - Create a new link (also known as a hard link) to an existing file.
1548
- * @param existingPath A path to a file. If a URL is provided, it must use the `file:` protocol.
1549
- * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol.
1550
- */
1551
- function __promisify__(existingPath: PathLike, newPath: PathLike): Promise<void>;
1552
- }
1553
- /**
1554
- * Creates a new link from the `existingPath` to the `newPath`. See the POSIX [`link(2)`](http://man7.org/linux/man-pages/man2/link.2.html) documentation for more detail. Returns `undefined`.
1555
- * @since v0.1.31
1556
- */
1557
- function linkSync(existingPath: PathLike, newPath: PathLike): void;
1558
- /**
1559
- * Creates the link called `path` pointing to `target`. No arguments other than a
1560
- * possible exception are given to the completion callback.
1561
- *
1562
- * See the POSIX [`symlink(2)`](http://man7.org/linux/man-pages/man2/symlink.2.html) documentation for more details.
1563
- *
1564
- * The `type` argument is only available on Windows and ignored on other platforms.
1565
- * It can be set to `'dir'`, `'file'`, or `'junction'`. If the `type` argument is
1566
- * not a string, Node.js will autodetect `target` type and use `'file'` or `'dir'`.
1567
- * If the `target` does not exist, `'file'` will be used. Windows junction points
1568
- * require the destination path to be absolute. When using `'junction'`, the`target` argument will automatically be normalized to absolute path. Junction
1569
- * points on NTFS volumes can only point to directories.
1570
- *
1571
- * Relative targets are relative to the link's parent directory.
1572
- *
1573
- * ```js
1574
- * import { symlink } from 'node:fs';
1575
- *
1576
- * symlink('./mew', './mewtwo', callback);
1577
- * ```
1578
- *
1579
- * The above example creates a symbolic link `mewtwo` which points to `mew` in the
1580
- * same directory:
1581
- *
1582
- * ```bash
1583
- * $ tree .
1584
- * .
1585
- * ├── mew
1586
- * └── mewtwo -> ./mew
1587
- * ```
1588
- * @since v0.1.31
1589
- * @param [type='null']
1590
- */
1591
- function symlink(
1592
- target: PathLike,
1593
- path: PathLike,
1594
- type: symlink.Type | undefined | null,
1595
- callback: NoParamCallback,
1596
- ): void;
1597
- /**
1598
- * Asynchronous symlink(2) - Create a new symbolic link to an existing file.
1599
- * @param target A path to an existing file. If a URL is provided, it must use the `file:` protocol.
1600
- * @param path A path to the new symlink. If a URL is provided, it must use the `file:` protocol.
1601
- */
1602
- function symlink(target: PathLike, path: PathLike, callback: NoParamCallback): void;
1603
- namespace symlink {
1604
- /**
1605
- * Asynchronous symlink(2) - Create a new symbolic link to an existing file.
1606
- * @param target A path to an existing file. If a URL is provided, it must use the `file:` protocol.
1607
- * @param path A path to the new symlink. If a URL is provided, it must use the `file:` protocol.
1608
- * @param type May be set to `'dir'`, `'file'`, or `'junction'` (default is `'file'`) and is only available on Windows (ignored on other platforms).
1609
- * When using `'junction'`, the `target` argument will automatically be normalized to an absolute path.
1610
- */
1611
- function __promisify__(target: PathLike, path: PathLike, type?: string | null): Promise<void>;
1612
- type Type = "dir" | "file" | "junction";
1613
- }
1614
- /**
1615
- * Returns `undefined`.
1616
- *
1617
- * For detailed information, see the documentation of the asynchronous version of
1618
- * this API: {@link symlink}.
1619
- * @since v0.1.31
1620
- * @param [type='null']
1621
- */
1622
- function symlinkSync(target: PathLike, path: PathLike, type?: symlink.Type | null): void;
1623
- /**
1624
- * Reads the contents of the symbolic link referred to by `path`. The callback gets
1625
- * two arguments `(err, linkString)`.
1626
- *
1627
- * See the POSIX [`readlink(2)`](http://man7.org/linux/man-pages/man2/readlink.2.html) documentation for more details.
1628
- *
1629
- * The optional `options` argument can be a string specifying an encoding, or an
1630
- * object with an `encoding` property specifying the character encoding to use for
1631
- * the link path passed to the callback. If the `encoding` is set to `'buffer'`,
1632
- * the link path returned will be passed as a `Buffer` object.
1633
- * @since v0.1.31
1634
- */
1635
- function readlink(
1636
- path: PathLike,
1637
- options: EncodingOption,
1638
- callback: (err: NodeJS.ErrnoException | null, linkString: string) => void,
1639
- ): void;
1640
- /**
1641
- * Asynchronous readlink(2) - read value of a symbolic link.
1642
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1643
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1644
- */
1645
- function readlink(
1646
- path: PathLike,
1647
- options: BufferEncodingOption,
1648
- callback: (err: NodeJS.ErrnoException | null, linkString: NonSharedBuffer) => void,
1649
- ): void;
1650
- /**
1651
- * Asynchronous readlink(2) - read value of a symbolic link.
1652
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1653
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1654
- */
1655
- function readlink(
1656
- path: PathLike,
1657
- options: EncodingOption,
1658
- callback: (err: NodeJS.ErrnoException | null, linkString: string | NonSharedBuffer) => void,
1659
- ): void;
1660
- /**
1661
- * Asynchronous readlink(2) - read value of a symbolic link.
1662
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1663
- */
1664
- function readlink(
1665
- path: PathLike,
1666
- callback: (err: NodeJS.ErrnoException | null, linkString: string) => void,
1667
- ): void;
1668
- namespace readlink {
1669
- /**
1670
- * Asynchronous readlink(2) - read value of a symbolic link.
1671
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1672
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1673
- */
1674
- function __promisify__(path: PathLike, options?: EncodingOption): Promise<string>;
1675
- /**
1676
- * Asynchronous readlink(2) - read value of a symbolic link.
1677
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1678
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1679
- */
1680
- function __promisify__(path: PathLike, options: BufferEncodingOption): Promise<NonSharedBuffer>;
1681
- /**
1682
- * Asynchronous readlink(2) - read value of a symbolic link.
1683
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1684
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1685
- */
1686
- function __promisify__(path: PathLike, options?: EncodingOption): Promise<string | NonSharedBuffer>;
1687
- }
1688
- /**
1689
- * Returns the symbolic link's string value.
1690
- *
1691
- * See the POSIX [`readlink(2)`](http://man7.org/linux/man-pages/man2/readlink.2.html) documentation for more details.
1692
- *
1693
- * The optional `options` argument can be a string specifying an encoding, or an
1694
- * object with an `encoding` property specifying the character encoding to use for
1695
- * the link path returned. If the `encoding` is set to `'buffer'`,
1696
- * the link path returned will be passed as a `Buffer` object.
1697
- * @since v0.1.31
1698
- */
1699
- function readlinkSync(path: PathLike, options?: EncodingOption): string;
1700
- /**
1701
- * Synchronous readlink(2) - read value of a symbolic link.
1702
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1703
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1704
- */
1705
- function readlinkSync(path: PathLike, options: BufferEncodingOption): NonSharedBuffer;
1706
- /**
1707
- * Synchronous readlink(2) - read value of a symbolic link.
1708
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1709
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1710
- */
1711
- function readlinkSync(path: PathLike, options?: EncodingOption): string | NonSharedBuffer;
1712
- /**
1713
- * Asynchronously computes the canonical pathname by resolving `.`, `..`, and
1714
- * symbolic links.
1715
- *
1716
- * A canonical pathname is not necessarily unique. Hard links and bind mounts can
1717
- * expose a file system entity through many pathnames.
1718
- *
1719
- * This function behaves like [`realpath(3)`](http://man7.org/linux/man-pages/man3/realpath.3.html), with some exceptions:
1720
- *
1721
- * 1. No case conversion is performed on case-insensitive file systems.
1722
- * 2. The maximum number of symbolic links is platform-independent and generally
1723
- * (much) higher than what the native [`realpath(3)`](http://man7.org/linux/man-pages/man3/realpath.3.html) implementation supports.
1724
- *
1725
- * The `callback` gets two arguments `(err, resolvedPath)`. May use `process.cwd` to resolve relative paths.
1726
- *
1727
- * Only paths that can be converted to UTF8 strings are supported.
1728
- *
1729
- * The optional `options` argument can be a string specifying an encoding, or an
1730
- * object with an `encoding` property specifying the character encoding to use for
1731
- * the path passed to the callback. If the `encoding` is set to `'buffer'`,
1732
- * the path returned will be passed as a `Buffer` object.
1733
- *
1734
- * If `path` resolves to a socket or a pipe, the function will return a system
1735
- * dependent name for that object.
1736
- * @since v0.1.31
1737
- */
1738
- function realpath(
1739
- path: PathLike,
1740
- options: EncodingOption,
1741
- callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void,
1742
- ): void;
1743
- /**
1744
- * Asynchronous realpath(3) - return the canonicalized absolute pathname.
1745
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1746
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1747
- */
1748
- function realpath(
1749
- path: PathLike,
1750
- options: BufferEncodingOption,
1751
- callback: (err: NodeJS.ErrnoException | null, resolvedPath: NonSharedBuffer) => void,
1752
- ): void;
1753
- /**
1754
- * Asynchronous realpath(3) - return the canonicalized absolute pathname.
1755
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1756
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1757
- */
1758
- function realpath(
1759
- path: PathLike,
1760
- options: EncodingOption,
1761
- callback: (err: NodeJS.ErrnoException | null, resolvedPath: string | NonSharedBuffer) => void,
1762
- ): void;
1763
- /**
1764
- * Asynchronous realpath(3) - return the canonicalized absolute pathname.
1765
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1766
- */
1767
- function realpath(
1768
- path: PathLike,
1769
- callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void,
1770
- ): void;
1771
- namespace realpath {
1772
- /**
1773
- * Asynchronous realpath(3) - return the canonicalized absolute pathname.
1774
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1775
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1776
- */
1777
- function __promisify__(path: PathLike, options?: EncodingOption): Promise<string>;
1778
- /**
1779
- * Asynchronous realpath(3) - return the canonicalized absolute pathname.
1780
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1781
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1782
- */
1783
- function __promisify__(path: PathLike, options: BufferEncodingOption): Promise<NonSharedBuffer>;
1784
- /**
1785
- * Asynchronous realpath(3) - return the canonicalized absolute pathname.
1786
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1787
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1788
- */
1789
- function __promisify__(path: PathLike, options?: EncodingOption): Promise<string | NonSharedBuffer>;
1790
- /**
1791
- * Asynchronous [`realpath(3)`](http://man7.org/linux/man-pages/man3/realpath.3.html).
1792
- *
1793
- * The `callback` gets two arguments `(err, resolvedPath)`.
1794
- *
1795
- * Only paths that can be converted to UTF8 strings are supported.
1796
- *
1797
- * The optional `options` argument can be a string specifying an encoding, or an
1798
- * object with an `encoding` property specifying the character encoding to use for
1799
- * the path passed to the callback. If the `encoding` is set to `'buffer'`,
1800
- * the path returned will be passed as a `Buffer` object.
1801
- *
1802
- * On Linux, when Node.js is linked against musl libc, the procfs file system must
1803
- * be mounted on `/proc` in order for this function to work. Glibc does not have
1804
- * this restriction.
1805
- * @since v9.2.0
1806
- */
1807
- function native(
1808
- path: PathLike,
1809
- options: EncodingOption,
1810
- callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void,
1811
- ): void;
1812
- function native(
1813
- path: PathLike,
1814
- options: BufferEncodingOption,
1815
- callback: (err: NodeJS.ErrnoException | null, resolvedPath: NonSharedBuffer) => void,
1816
- ): void;
1817
- function native(
1818
- path: PathLike,
1819
- options: EncodingOption,
1820
- callback: (err: NodeJS.ErrnoException | null, resolvedPath: string | NonSharedBuffer) => void,
1821
- ): void;
1822
- function native(
1823
- path: PathLike,
1824
- callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void,
1825
- ): void;
1826
- }
1827
- /**
1828
- * Returns the resolved pathname.
1829
- *
1830
- * For detailed information, see the documentation of the asynchronous version of
1831
- * this API: {@link realpath}.
1832
- * @since v0.1.31
1833
- */
1834
- function realpathSync(path: PathLike, options?: EncodingOption): string;
1835
- /**
1836
- * Synchronous realpath(3) - return the canonicalized absolute pathname.
1837
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1838
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1839
- */
1840
- function realpathSync(path: PathLike, options: BufferEncodingOption): NonSharedBuffer;
1841
- /**
1842
- * Synchronous realpath(3) - return the canonicalized absolute pathname.
1843
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1844
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
1845
- */
1846
- function realpathSync(path: PathLike, options?: EncodingOption): string | NonSharedBuffer;
1847
- namespace realpathSync {
1848
- function native(path: PathLike, options?: EncodingOption): string;
1849
- function native(path: PathLike, options: BufferEncodingOption): NonSharedBuffer;
1850
- function native(path: PathLike, options?: EncodingOption): string | NonSharedBuffer;
1851
- }
1852
- /**
1853
- * Asynchronously removes a file or symbolic link. No arguments other than a
1854
- * possible exception are given to the completion callback.
1855
- *
1856
- * ```js
1857
- * import { unlink } from 'node:fs';
1858
- * // Assuming that 'path/file.txt' is a regular file.
1859
- * unlink('path/file.txt', (err) => {
1860
- * if (err) throw err;
1861
- * console.log('path/file.txt was deleted');
1862
- * });
1863
- * ```
1864
- *
1865
- * `fs.unlink()` will not work on a directory, empty or otherwise. To remove a
1866
- * directory, use {@link rmdir}.
1867
- *
1868
- * See the POSIX [`unlink(2)`](http://man7.org/linux/man-pages/man2/unlink.2.html) documentation for more details.
1869
- * @since v0.0.2
1870
- */
1871
- function unlink(path: PathLike, callback: NoParamCallback): void;
1872
- namespace unlink {
1873
- /**
1874
- * Asynchronous unlink(2) - delete a name and possibly the file it refers to.
1875
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1876
- */
1877
- function __promisify__(path: PathLike): Promise<void>;
1878
- }
1879
- /**
1880
- * Synchronous [`unlink(2)`](http://man7.org/linux/man-pages/man2/unlink.2.html). Returns `undefined`.
1881
- * @since v0.1.21
1882
- */
1883
- function unlinkSync(path: PathLike): void;
1884
- /** @deprecated `rmdir()` no longer provides any options. This interface will be removed in a future version. */
1885
- // TODO: remove in future major
1886
- interface RmDirOptions {}
1887
- /**
1888
- * Asynchronous [`rmdir(2)`](http://man7.org/linux/man-pages/man2/rmdir.2.html). No arguments other than a possible exception are given
1889
- * to the completion callback.
1890
- *
1891
- * Using `fs.rmdir()` on a file (not a directory) results in an `ENOENT` error on
1892
- * Windows and an `ENOTDIR` error on POSIX.
1893
- *
1894
- * To get a behavior similar to the `rm -rf` Unix command, use {@link rm} with options `{ recursive: true, force: true }`.
1895
- * @since v0.0.2
1896
- */
1897
- function rmdir(path: PathLike, callback: NoParamCallback): void;
1898
- namespace rmdir {
1899
- /**
1900
- * Asynchronous rmdir(2) - delete a directory.
1901
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1902
- */
1903
- function __promisify__(path: PathLike): Promise<void>;
1904
- }
1905
- /**
1906
- * Synchronous [`rmdir(2)`](http://man7.org/linux/man-pages/man2/rmdir.2.html). Returns `undefined`.
1907
- *
1908
- * Using `fs.rmdirSync()` on a file (not a directory) results in an `ENOENT` error
1909
- * on Windows and an `ENOTDIR` error on POSIX.
1910
- *
1911
- * To get a behavior similar to the `rm -rf` Unix command, use {@link rmSync} with options `{ recursive: true, force: true }`.
1912
- * @since v0.1.21
1913
- */
1914
- function rmdirSync(path: PathLike): void;
1915
- interface RmOptions {
1916
- /**
1917
- * When `true`, exceptions will be ignored if `path` does not exist.
1918
- * @default false
1919
- */
1920
- force?: boolean | undefined;
1921
- /**
1922
- * If an `EBUSY`, `EMFILE`, `ENFILE`, `ENOTEMPTY`, or
1923
- * `EPERM` error is encountered, Node.js will retry the operation with a linear
1924
- * backoff wait of `retryDelay` ms longer on each try. This option represents the
1925
- * number of retries. This option is ignored if the `recursive` option is not
1926
- * `true`.
1927
- * @default 0
1928
- */
1929
- maxRetries?: number | undefined;
1930
- /**
1931
- * If `true`, perform a recursive directory removal. In
1932
- * recursive mode, operations are retried on failure.
1933
- * @default false
1934
- */
1935
- recursive?: boolean | undefined;
1936
- /**
1937
- * The amount of time in milliseconds to wait between retries.
1938
- * This option is ignored if the `recursive` option is not `true`.
1939
- * @default 100
1940
- */
1941
- retryDelay?: number | undefined;
1942
- }
1943
- /**
1944
- * Asynchronously removes files and directories (modeled on the standard POSIX `rm` utility). No arguments other than a possible exception are given to the
1945
- * completion callback.
1946
- * @since v14.14.0
1947
- */
1948
- function rm(path: PathLike, callback: NoParamCallback): void;
1949
- function rm(path: PathLike, options: RmOptions, callback: NoParamCallback): void;
1950
- namespace rm {
1951
- /**
1952
- * Asynchronously removes files and directories (modeled on the standard POSIX `rm` utility).
1953
- */
1954
- function __promisify__(path: PathLike, options?: RmOptions): Promise<void>;
1955
- }
1956
- /**
1957
- * Synchronously removes files and directories (modeled on the standard POSIX `rm` utility). Returns `undefined`.
1958
- * @since v14.14.0
1959
- */
1960
- function rmSync(path: PathLike, options?: RmOptions): void;
1961
- interface MakeDirectoryOptions {
1962
- /**
1963
- * Indicates whether parent folders should be created.
1964
- * If a folder was created, the path to the first created folder will be returned.
1965
- * @default false
1966
- */
1967
- recursive?: boolean | undefined;
1968
- /**
1969
- * A file mode. If a string is passed, it is parsed as an octal integer. If not specified
1970
- * @default 0o777
1971
- */
1972
- mode?: Mode | undefined;
1973
- }
1974
- /**
1975
- * Asynchronously creates a directory.
1976
- *
1977
- * The callback is given a possible exception and, if `recursive` is `true`, the
1978
- * first directory path created, `(err[, path])`.`path` can still be `undefined` when `recursive` is `true`, if no directory was
1979
- * created (for instance, if it was previously created).
1980
- *
1981
- * The optional `options` argument can be an integer specifying `mode` (permission
1982
- * and sticky bits), or an object with a `mode` property and a `recursive` property indicating whether parent directories should be created. Calling `fs.mkdir()` when `path` is a directory that
1983
- * exists results in an error only
1984
- * when `recursive` is false. If `recursive` is false and the directory exists,
1985
- * an `EEXIST` error occurs.
1986
- *
1987
- * ```js
1988
- * import { mkdir } from 'node:fs';
1989
- *
1990
- * // Create ./tmp/a/apple, regardless of whether ./tmp and ./tmp/a exist.
1991
- * mkdir('./tmp/a/apple', { recursive: true }, (err) => {
1992
- * if (err) throw err;
1993
- * });
1994
- * ```
1995
- *
1996
- * On Windows, using `fs.mkdir()` on the root directory even with recursion will
1997
- * result in an error:
1998
- *
1999
- * ```js
2000
- * import { mkdir } from 'node:fs';
2001
- *
2002
- * mkdir('/', { recursive: true }, (err) => {
2003
- * // => [Error: EPERM: operation not permitted, mkdir 'C:\']
2004
- * });
2005
- * ```
2006
- *
2007
- * See the POSIX [`mkdir(2)`](http://man7.org/linux/man-pages/man2/mkdir.2.html) documentation for more details.
2008
- * @since v0.1.8
2009
- */
2010
- function mkdir(
2011
- path: PathLike,
2012
- options: MakeDirectoryOptions & {
2013
- recursive: true;
2014
- },
2015
- callback: (err: NodeJS.ErrnoException | null, path?: string) => void,
2016
- ): void;
2017
- /**
2018
- * Asynchronous mkdir(2) - create a directory.
2019
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2020
- * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
2021
- * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
2022
- */
2023
- function mkdir(
2024
- path: PathLike,
2025
- options:
2026
- | Mode
2027
- | (MakeDirectoryOptions & {
2028
- recursive?: false | undefined;
2029
- })
2030
- | null
2031
- | undefined,
2032
- callback: NoParamCallback,
2033
- ): void;
2034
- /**
2035
- * Asynchronous mkdir(2) - create a directory.
2036
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2037
- * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
2038
- * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
2039
- */
2040
- function mkdir(
2041
- path: PathLike,
2042
- options: Mode | MakeDirectoryOptions | null | undefined,
2043
- callback: (err: NodeJS.ErrnoException | null, path?: string) => void,
2044
- ): void;
2045
- /**
2046
- * Asynchronous mkdir(2) - create a directory with a mode of `0o777`.
2047
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2048
- */
2049
- function mkdir(path: PathLike, callback: NoParamCallback): void;
2050
- namespace mkdir {
2051
- /**
2052
- * Asynchronous mkdir(2) - create a directory.
2053
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2054
- * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
2055
- * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
2056
- */
2057
- function __promisify__(
2058
- path: PathLike,
2059
- options: MakeDirectoryOptions & {
2060
- recursive: true;
2061
- },
2062
- ): Promise<string | undefined>;
2063
- /**
2064
- * Asynchronous mkdir(2) - create a directory.
2065
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2066
- * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
2067
- * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
2068
- */
2069
- function __promisify__(
2070
- path: PathLike,
2071
- options?:
2072
- | Mode
2073
- | (MakeDirectoryOptions & {
2074
- recursive?: false | undefined;
2075
- })
2076
- | null,
2077
- ): Promise<void>;
2078
- /**
2079
- * Asynchronous mkdir(2) - create a directory.
2080
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2081
- * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
2082
- * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
2083
- */
2084
- function __promisify__(
2085
- path: PathLike,
2086
- options?: Mode | MakeDirectoryOptions | null,
2087
- ): Promise<string | undefined>;
2088
- }
2089
- /**
2090
- * Synchronously creates a directory. Returns `undefined`, or if `recursive` is `true`, the first directory path created.
2091
- * This is the synchronous version of {@link mkdir}.
2092
- *
2093
- * See the POSIX [`mkdir(2)`](http://man7.org/linux/man-pages/man2/mkdir.2.html) documentation for more details.
2094
- * @since v0.1.21
2095
- */
2096
- function mkdirSync(
2097
- path: PathLike,
2098
- options: MakeDirectoryOptions & {
2099
- recursive: true;
2100
- },
2101
- ): string | undefined;
2102
- /**
2103
- * Synchronous mkdir(2) - create a directory.
2104
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2105
- * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
2106
- * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
2107
- */
2108
- function mkdirSync(
2109
- path: PathLike,
2110
- options?:
2111
- | Mode
2112
- | (MakeDirectoryOptions & {
2113
- recursive?: false | undefined;
2114
- })
2115
- | null,
2116
- ): void;
2117
- /**
2118
- * Synchronous mkdir(2) - create a directory.
2119
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2120
- * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
2121
- * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
2122
- */
2123
- function mkdirSync(path: PathLike, options?: Mode | MakeDirectoryOptions | null): string | undefined;
2124
- /**
2125
- * Creates a unique temporary directory.
2126
- *
2127
- * Generates six random characters to be appended behind a required `prefix` to create a unique temporary directory. Due to platform
2128
- * inconsistencies, avoid trailing `X` characters in `prefix`. Some platforms,
2129
- * notably the BSDs, can return more than six random characters, and replace
2130
- * trailing `X` characters in `prefix` with random characters.
2131
- *
2132
- * The created directory path is passed as a string to the callback's second
2133
- * parameter.
2134
- *
2135
- * The optional `options` argument can be a string specifying an encoding, or an
2136
- * object with an `encoding` property specifying the character encoding to use.
2137
- *
2138
- * ```js
2139
- * import { mkdtemp } from 'node:fs';
2140
- * import { join } from 'node:path';
2141
- * import { tmpdir } from 'node:os';
2142
- *
2143
- * mkdtemp(join(tmpdir(), 'foo-'), (err, directory) => {
2144
- * if (err) throw err;
2145
- * console.log(directory);
2146
- * // Prints: /tmp/foo-itXde2 or C:\Users\...\AppData\Local\Temp\foo-itXde2
2147
- * });
2148
- * ```
2149
- *
2150
- * The `fs.mkdtemp()` method will append the six randomly selected characters
2151
- * directly to the `prefix` string. For instance, given a directory `/tmp`, if the
2152
- * intention is to create a temporary directory _within_`/tmp`, the `prefix`must end with a trailing platform-specific path separator
2153
- * (`import { sep } from 'node:path'`).
2154
- *
2155
- * ```js
2156
- * import { tmpdir } from 'node:os';
2157
- * import { mkdtemp } from 'node:fs';
2158
- *
2159
- * // The parent directory for the new temporary directory
2160
- * const tmpDir = tmpdir();
2161
- *
2162
- * // This method is *INCORRECT*:
2163
- * mkdtemp(tmpDir, (err, directory) => {
2164
- * if (err) throw err;
2165
- * console.log(directory);
2166
- * // Will print something similar to `/tmpabc123`.
2167
- * // A new temporary directory is created at the file system root
2168
- * // rather than *within* the /tmp directory.
2169
- * });
2170
- *
2171
- * // This method is *CORRECT*:
2172
- * import { sep } from 'node:path';
2173
- * mkdtemp(`${tmpDir}${sep}`, (err, directory) => {
2174
- * if (err) throw err;
2175
- * console.log(directory);
2176
- * // Will print something similar to `/tmp/abc123`.
2177
- * // A new temporary directory is created within
2178
- * // the /tmp directory.
2179
- * });
2180
- * ```
2181
- * @since v5.10.0
2182
- */
2183
- function mkdtemp(
2184
- prefix: string,
2185
- options: EncodingOption,
2186
- callback: (err: NodeJS.ErrnoException | null, folder: string) => void,
2187
- ): void;
2188
- /**
2189
- * Asynchronously creates a unique temporary directory.
2190
- * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
2191
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
2192
- */
2193
- function mkdtemp(
2194
- prefix: string,
2195
- options: BufferEncodingOption,
2196
- callback: (err: NodeJS.ErrnoException | null, folder: NonSharedBuffer) => void,
2197
- ): void;
2198
- /**
2199
- * Asynchronously creates a unique temporary directory.
2200
- * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
2201
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
2202
- */
2203
- function mkdtemp(
2204
- prefix: string,
2205
- options: EncodingOption,
2206
- callback: (err: NodeJS.ErrnoException | null, folder: string | NonSharedBuffer) => void,
2207
- ): void;
2208
- /**
2209
- * Asynchronously creates a unique temporary directory.
2210
- * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
2211
- */
2212
- function mkdtemp(
2213
- prefix: string,
2214
- callback: (err: NodeJS.ErrnoException | null, folder: string) => void,
2215
- ): void;
2216
- namespace mkdtemp {
2217
- /**
2218
- * Asynchronously creates a unique temporary directory.
2219
- * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
2220
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
2221
- */
2222
- function __promisify__(prefix: string, options?: EncodingOption): Promise<string>;
2223
- /**
2224
- * Asynchronously creates a unique temporary directory.
2225
- * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
2226
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
2227
- */
2228
- function __promisify__(prefix: string, options: BufferEncodingOption): Promise<NonSharedBuffer>;
2229
- /**
2230
- * Asynchronously creates a unique temporary directory.
2231
- * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
2232
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
2233
- */
2234
- function __promisify__(prefix: string, options?: EncodingOption): Promise<string | NonSharedBuffer>;
2235
- }
2236
- /**
2237
- * Returns the created directory path.
2238
- *
2239
- * For detailed information, see the documentation of the asynchronous version of
2240
- * this API: {@link mkdtemp}.
2241
- *
2242
- * The optional `options` argument can be a string specifying an encoding, or an
2243
- * object with an `encoding` property specifying the character encoding to use.
2244
- * @since v5.10.0
2245
- */
2246
- function mkdtempSync(prefix: string, options?: EncodingOption): string;
2247
- /**
2248
- * Synchronously creates a unique temporary directory.
2249
- * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
2250
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
2251
- */
2252
- function mkdtempSync(prefix: string, options: BufferEncodingOption): NonSharedBuffer;
2253
- /**
2254
- * Synchronously creates a unique temporary directory.
2255
- * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
2256
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
2257
- */
2258
- function mkdtempSync(prefix: string, options?: EncodingOption): string | NonSharedBuffer;
2259
- interface DisposableTempDir extends Disposable {
2260
- /**
2261
- * The path of the created directory.
2262
- */
2263
- path: string;
2264
- /**
2265
- * A function which removes the created directory.
2266
- */
2267
- remove(): void;
2268
- /**
2269
- * The same as `remove`.
2270
- */
2271
- [Symbol.dispose](): void;
2272
- }
2273
- /**
2274
- * Returns a disposable object whose `path` property holds the created directory
2275
- * path. When the object is disposed, the directory and its contents will be
2276
- * removed if it still exists. If the directory cannot be deleted, disposal will
2277
- * throw an error. The object has a `remove()` method which will perform the same
2278
- * task.
2279
- *
2280
- * <!-- TODO: link MDN docs for disposables once https://github.com/mdn/content/pull/38027 lands -->
2281
- *
2282
- * For detailed information, see the documentation of `fs.mkdtemp()`.
2283
- *
2284
- * There is no callback-based version of this API because it is designed for use
2285
- * with the `using` syntax.
2286
- *
2287
- * The optional `options` argument can be a string specifying an encoding, or an
2288
- * object with an `encoding` property specifying the character encoding to use.
2289
- * @since v24.4.0
2290
- */
2291
- function mkdtempDisposableSync(prefix: string, options?: EncodingOption): DisposableTempDir;
2292
- /**
2293
- * Reads the contents of a directory. The callback gets two arguments `(err, files)` where `files` is an array of the names of the files in the directory excluding `'.'` and `'..'`.
2294
- *
2295
- * See the POSIX [`readdir(3)`](http://man7.org/linux/man-pages/man3/readdir.3.html) documentation for more details.
2296
- *
2297
- * The optional `options` argument can be a string specifying an encoding, or an
2298
- * object with an `encoding` property specifying the character encoding to use for
2299
- * the filenames passed to the callback. If the `encoding` is set to `'buffer'`,
2300
- * the filenames returned will be passed as `Buffer` objects.
2301
- *
2302
- * If `options.withFileTypes` is set to `true`, the `files` array will contain `fs.Dirent` objects.
2303
- * @since v0.1.8
2304
- */
2305
- function readdir(
2306
- path: PathLike,
2307
- options:
2308
- | {
2309
- encoding: BufferEncoding | null;
2310
- withFileTypes?: false | undefined;
2311
- recursive?: boolean | undefined;
2312
- }
2313
- | BufferEncoding
2314
- | undefined
2315
- | null,
2316
- callback: (err: NodeJS.ErrnoException | null, files: string[]) => void,
2317
- ): void;
2318
- /**
2319
- * Asynchronous readdir(3) - read a directory.
2320
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2321
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
2322
- */
2323
- function readdir(
2324
- path: PathLike,
2325
- options:
2326
- | {
2327
- encoding: "buffer";
2328
- withFileTypes?: false | undefined;
2329
- recursive?: boolean | undefined;
2330
- }
2331
- | "buffer",
2332
- callback: (err: NodeJS.ErrnoException | null, files: NonSharedBuffer[]) => void,
2333
- ): void;
2334
- /**
2335
- * Asynchronous readdir(3) - read a directory.
2336
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2337
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
2338
- */
2339
- function readdir(
2340
- path: PathLike,
2341
- options:
2342
- | (ObjectEncodingOptions & {
2343
- withFileTypes?: false | undefined;
2344
- recursive?: boolean | undefined;
2345
- })
2346
- | BufferEncoding
2347
- | undefined
2348
- | null,
2349
- callback: (err: NodeJS.ErrnoException | null, files: string[] | NonSharedBuffer[]) => void,
2350
- ): void;
2351
- /**
2352
- * Asynchronous readdir(3) - read a directory.
2353
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2354
- */
2355
- function readdir(
2356
- path: PathLike,
2357
- callback: (err: NodeJS.ErrnoException | null, files: string[]) => void,
2358
- ): void;
2359
- /**
2360
- * Asynchronous readdir(3) - read a directory.
2361
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2362
- * @param options If called with `withFileTypes: true` the result data will be an array of Dirent.
2363
- */
2364
- function readdir(
2365
- path: PathLike,
2366
- options: ObjectEncodingOptions & {
2367
- withFileTypes: true;
2368
- recursive?: boolean | undefined;
2369
- },
2370
- callback: (err: NodeJS.ErrnoException | null, files: Dirent[]) => void,
2371
- ): void;
2372
- /**
2373
- * Asynchronous readdir(3) - read a directory.
2374
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2375
- * @param options Must include `withFileTypes: true` and `encoding: 'buffer'`.
2376
- */
2377
- function readdir(
2378
- path: PathLike,
2379
- options: {
2380
- encoding: "buffer";
2381
- withFileTypes: true;
2382
- recursive?: boolean | undefined;
2383
- },
2384
- callback: (err: NodeJS.ErrnoException | null, files: Dirent<NonSharedBuffer>[]) => void,
2385
- ): void;
2386
- namespace readdir {
2387
- /**
2388
- * Asynchronous readdir(3) - read a directory.
2389
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2390
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
2391
- */
2392
- function __promisify__(
2393
- path: PathLike,
2394
- options?:
2395
- | {
2396
- encoding: BufferEncoding | null;
2397
- withFileTypes?: false | undefined;
2398
- recursive?: boolean | undefined;
2399
- }
2400
- | BufferEncoding
2401
- | null,
2402
- ): Promise<string[]>;
2403
- /**
2404
- * Asynchronous readdir(3) - read a directory.
2405
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2406
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
2407
- */
2408
- function __promisify__(
2409
- path: PathLike,
2410
- options:
2411
- | "buffer"
2412
- | {
2413
- encoding: "buffer";
2414
- withFileTypes?: false | undefined;
2415
- recursive?: boolean | undefined;
2416
- },
2417
- ): Promise<NonSharedBuffer[]>;
2418
- /**
2419
- * Asynchronous readdir(3) - read a directory.
2420
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2421
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
2422
- */
2423
- function __promisify__(
2424
- path: PathLike,
2425
- options?:
2426
- | (ObjectEncodingOptions & {
2427
- withFileTypes?: false | undefined;
2428
- recursive?: boolean | undefined;
2429
- })
2430
- | BufferEncoding
2431
- | null,
2432
- ): Promise<string[] | NonSharedBuffer[]>;
2433
- /**
2434
- * Asynchronous readdir(3) - read a directory.
2435
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2436
- * @param options If called with `withFileTypes: true` the result data will be an array of Dirent
2437
- */
2438
- function __promisify__(
2439
- path: PathLike,
2440
- options: ObjectEncodingOptions & {
2441
- withFileTypes: true;
2442
- recursive?: boolean | undefined;
2443
- },
2444
- ): Promise<Dirent[]>;
2445
- /**
2446
- * Asynchronous readdir(3) - read a directory.
2447
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2448
- * @param options Must include `withFileTypes: true` and `encoding: 'buffer'`.
2449
- */
2450
- function __promisify__(
2451
- path: PathLike,
2452
- options: {
2453
- encoding: "buffer";
2454
- withFileTypes: true;
2455
- recursive?: boolean | undefined;
2456
- },
2457
- ): Promise<Dirent<NonSharedBuffer>[]>;
2458
- }
2459
- /**
2460
- * Reads the contents of the directory.
2461
- *
2462
- * See the POSIX [`readdir(3)`](http://man7.org/linux/man-pages/man3/readdir.3.html) documentation for more details.
2463
- *
2464
- * The optional `options` argument can be a string specifying an encoding, or an
2465
- * object with an `encoding` property specifying the character encoding to use for
2466
- * the filenames returned. If the `encoding` is set to `'buffer'`,
2467
- * the filenames returned will be passed as `Buffer` objects.
2468
- *
2469
- * If `options.withFileTypes` is set to `true`, the result will contain `fs.Dirent` objects.
2470
- * @since v0.1.21
2471
- */
2472
- function readdirSync(
2473
- path: PathLike,
2474
- options?:
2475
- | {
2476
- encoding: BufferEncoding | null;
2477
- withFileTypes?: false | undefined;
2478
- recursive?: boolean | undefined;
2479
- }
2480
- | BufferEncoding
2481
- | null,
2482
- ): string[];
2483
- /**
2484
- * Synchronous readdir(3) - read a directory.
2485
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2486
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
2487
- */
2488
- function readdirSync(
2489
- path: PathLike,
2490
- options:
2491
- | {
2492
- encoding: "buffer";
2493
- withFileTypes?: false | undefined;
2494
- recursive?: boolean | undefined;
2495
- }
2496
- | "buffer",
2497
- ): NonSharedBuffer[];
2498
- /**
2499
- * Synchronous readdir(3) - read a directory.
2500
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2501
- * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
2502
- */
2503
- function readdirSync(
2504
- path: PathLike,
2505
- options?:
2506
- | (ObjectEncodingOptions & {
2507
- withFileTypes?: false | undefined;
2508
- recursive?: boolean | undefined;
2509
- })
2510
- | BufferEncoding
2511
- | null,
2512
- ): string[] | NonSharedBuffer[];
2513
- /**
2514
- * Synchronous readdir(3) - read a directory.
2515
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2516
- * @param options If called with `withFileTypes: true` the result data will be an array of Dirent.
2517
- */
2518
- function readdirSync(
2519
- path: PathLike,
2520
- options: ObjectEncodingOptions & {
2521
- withFileTypes: true;
2522
- recursive?: boolean | undefined;
2523
- },
2524
- ): Dirent[];
2525
- /**
2526
- * Synchronous readdir(3) - read a directory.
2527
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2528
- * @param options Must include `withFileTypes: true` and `encoding: 'buffer'`.
2529
- */
2530
- function readdirSync(
2531
- path: PathLike,
2532
- options: {
2533
- encoding: "buffer";
2534
- withFileTypes: true;
2535
- recursive?: boolean | undefined;
2536
- },
2537
- ): Dirent<NonSharedBuffer>[];
2538
- /**
2539
- * Closes the file descriptor. No arguments other than a possible exception are
2540
- * given to the completion callback.
2541
- *
2542
- * Calling `fs.close()` on any file descriptor (`fd`) that is currently in use
2543
- * through any other `fs` operation may lead to undefined behavior.
2544
- *
2545
- * See the POSIX [`close(2)`](http://man7.org/linux/man-pages/man2/close.2.html) documentation for more detail.
2546
- * @since v0.0.2
2547
- */
2548
- function close(fd: number, callback?: NoParamCallback): void;
2549
- namespace close {
2550
- /**
2551
- * Asynchronous close(2) - close a file descriptor.
2552
- * @param fd A file descriptor.
2553
- */
2554
- function __promisify__(fd: number): Promise<void>;
2555
- }
2556
- /**
2557
- * Closes the file descriptor. Returns `undefined`.
2558
- *
2559
- * Calling `fs.closeSync()` on any file descriptor (`fd`) that is currently in use
2560
- * through any other `fs` operation may lead to undefined behavior.
2561
- *
2562
- * See the POSIX [`close(2)`](http://man7.org/linux/man-pages/man2/close.2.html) documentation for more detail.
2563
- * @since v0.1.21
2564
- */
2565
- function closeSync(fd: number): void;
2566
- /**
2567
- * Asynchronous file open. See the POSIX [`open(2)`](http://man7.org/linux/man-pages/man2/open.2.html) documentation for more details.
2568
- *
2569
- * `mode` sets the file mode (permission and sticky bits), but only if the file was
2570
- * created. On Windows, only the write permission can be manipulated; see {@link chmod}.
2571
- *
2572
- * The callback gets two arguments `(err, fd)`.
2573
- *
2574
- * Some characters (`< > : " / \ | ? *`) are reserved under Windows as documented
2575
- * by [Naming Files, Paths, and Namespaces](https://docs.microsoft.com/en-us/windows/desktop/FileIO/naming-a-file). Under NTFS, if the filename contains
2576
- * a colon, Node.js will open a file system stream, as described by [this MSDN page](https://docs.microsoft.com/en-us/windows/desktop/FileIO/using-streams).
2577
- *
2578
- * Functions based on `fs.open()` exhibit this behavior as well:`fs.writeFile()`, `fs.readFile()`, etc.
2579
- * @since v0.0.2
2580
- * @param [flags='r'] See `support of file system `flags``.
2581
- * @param [mode=0o666]
2582
- */
2583
- function open(
2584
- path: PathLike,
2585
- flags: OpenMode | undefined,
2586
- mode: Mode | undefined | null,
2587
- callback: (err: NodeJS.ErrnoException | null, fd: number) => void,
2588
- ): void;
2589
- /**
2590
- * Asynchronous open(2) - open and possibly create a file. If the file is created, its mode will be `0o666`.
2591
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2592
- * @param [flags='r'] See `support of file system `flags``.
2593
- */
2594
- function open(
2595
- path: PathLike,
2596
- flags: OpenMode | undefined,
2597
- callback: (err: NodeJS.ErrnoException | null, fd: number) => void,
2598
- ): void;
2599
- /**
2600
- * Asynchronous open(2) - open and possibly create a file. If the file is created, its mode will be `0o666`.
2601
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2602
- */
2603
- function open(path: PathLike, callback: (err: NodeJS.ErrnoException | null, fd: number) => void): void;
2604
- namespace open {
2605
- /**
2606
- * Asynchronous open(2) - open and possibly create a file.
2607
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2608
- * @param mode A file mode. If a string is passed, it is parsed as an octal integer. If not supplied, defaults to `0o666`.
2609
- */
2610
- function __promisify__(path: PathLike, flags: OpenMode, mode?: Mode | null): Promise<number>;
2611
- }
2612
- /**
2613
- * Returns an integer representing the file descriptor.
2614
- *
2615
- * For detailed information, see the documentation of the asynchronous version of
2616
- * this API: {@link open}.
2617
- * @since v0.1.21
2618
- * @param [flags='r']
2619
- * @param [mode=0o666]
2620
- */
2621
- function openSync(path: PathLike, flags: OpenMode, mode?: Mode | null): number;
2622
- /**
2623
- * Change the file system timestamps of the object referenced by `path`.
2624
- *
2625
- * The `atime` and `mtime` arguments follow these rules:
2626
- *
2627
- * * Values can be either numbers representing Unix epoch time in seconds, `Date`s, or a numeric string like `'123456789.0'`.
2628
- * * If the value can not be converted to a number, or is `NaN`, `Infinity`, or `-Infinity`, an `Error` will be thrown.
2629
- * @since v0.4.2
2630
- */
2631
- function utimes(path: PathLike, atime: TimeLike, mtime: TimeLike, callback: NoParamCallback): void;
2632
- namespace utimes {
2633
- /**
2634
- * Asynchronously change file timestamps of the file referenced by the supplied path.
2635
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2636
- * @param atime The last access time. If a string is provided, it will be coerced to number.
2637
- * @param mtime The last modified time. If a string is provided, it will be coerced to number.
2638
- */
2639
- function __promisify__(path: PathLike, atime: TimeLike, mtime: TimeLike): Promise<void>;
2640
- }
2641
- /**
2642
- * Returns `undefined`.
2643
- *
2644
- * For detailed information, see the documentation of the asynchronous version of
2645
- * this API: {@link utimes}.
2646
- * @since v0.4.2
2647
- */
2648
- function utimesSync(path: PathLike, atime: TimeLike, mtime: TimeLike): void;
2649
- /**
2650
- * Change the file system timestamps of the object referenced by the supplied file
2651
- * descriptor. See {@link utimes}.
2652
- * @since v0.4.2
2653
- */
2654
- function futimes(fd: number, atime: TimeLike, mtime: TimeLike, callback: NoParamCallback): void;
2655
- namespace futimes {
2656
- /**
2657
- * Asynchronously change file timestamps of the file referenced by the supplied file descriptor.
2658
- * @param fd A file descriptor.
2659
- * @param atime The last access time. If a string is provided, it will be coerced to number.
2660
- * @param mtime The last modified time. If a string is provided, it will be coerced to number.
2661
- */
2662
- function __promisify__(fd: number, atime: TimeLike, mtime: TimeLike): Promise<void>;
2663
- }
2664
- /**
2665
- * Synchronous version of {@link futimes}. Returns `undefined`.
2666
- * @since v0.4.2
2667
- */
2668
- function futimesSync(fd: number, atime: TimeLike, mtime: TimeLike): void;
2669
- /**
2670
- * Request that all data for the open file descriptor is flushed to the storage
2671
- * device. The specific implementation is operating system and device specific.
2672
- * Refer to the POSIX [`fsync(2)`](http://man7.org/linux/man-pages/man2/fsync.2.html) documentation for more detail. No arguments other
2673
- * than a possible exception are given to the completion callback.
2674
- * @since v0.1.96
2675
- */
2676
- function fsync(fd: number, callback: NoParamCallback): void;
2677
- namespace fsync {
2678
- /**
2679
- * Asynchronous fsync(2) - synchronize a file's in-core state with the underlying storage device.
2680
- * @param fd A file descriptor.
2681
- */
2682
- function __promisify__(fd: number): Promise<void>;
2683
- }
2684
- /**
2685
- * Request that all data for the open file descriptor is flushed to the storage
2686
- * device. The specific implementation is operating system and device specific.
2687
- * Refer to the POSIX [`fsync(2)`](http://man7.org/linux/man-pages/man2/fsync.2.html) documentation for more detail. Returns `undefined`.
2688
- * @since v0.1.96
2689
- */
2690
- function fsyncSync(fd: number): void;
2691
- interface WriteOptions {
2692
- /**
2693
- * @default 0
2694
- */
2695
- offset?: number | undefined;
2696
- /**
2697
- * @default `buffer.byteLength - offset`
2698
- */
2699
- length?: number | undefined;
2700
- /**
2701
- * @default null
2702
- */
2703
- position?: number | null | undefined;
2704
- }
2705
- /**
2706
- * Write `buffer` to the file specified by `fd`.
2707
- *
2708
- * `offset` determines the part of the buffer to be written, and `length` is
2709
- * an integer specifying the number of bytes to write.
2710
- *
2711
- * `position` refers to the offset from the beginning of the file where this data
2712
- * should be written. If `typeof position !== 'number'`, the data will be written
2713
- * at the current position. See [`pwrite(2)`](http://man7.org/linux/man-pages/man2/pwrite.2.html).
2714
- *
2715
- * The callback will be given three arguments `(err, bytesWritten, buffer)` where `bytesWritten` specifies how many _bytes_ were written from `buffer`.
2716
- *
2717
- * If this method is invoked as its `util.promisify()` ed version, it returns
2718
- * a promise for an `Object` with `bytesWritten` and `buffer` properties.
2719
- *
2720
- * It is unsafe to use `fs.write()` multiple times on the same file without waiting
2721
- * for the callback. For this scenario, {@link createWriteStream} is
2722
- * recommended.
2723
- *
2724
- * On Linux, positional writes don't work when the file is opened in append mode.
2725
- * The kernel ignores the position argument and always appends the data to
2726
- * the end of the file.
2727
- * @since v0.0.2
2728
- * @param [offset=0]
2729
- * @param [length=buffer.byteLength - offset]
2730
- * @param [position='null']
2731
- */
2732
- function write<TBuffer extends NodeJS.ArrayBufferView>(
2733
- fd: number,
2734
- buffer: TBuffer,
2735
- offset: number | undefined | null,
2736
- length: number | undefined | null,
2737
- position: number | undefined | null,
2738
- callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void,
2739
- ): void;
2740
- /**
2741
- * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor.
2742
- * @param fd A file descriptor.
2743
- * @param offset The part of the buffer to be written. If not supplied, defaults to `0`.
2744
- * @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`.
2745
- */
2746
- function write<TBuffer extends NodeJS.ArrayBufferView>(
2747
- fd: number,
2748
- buffer: TBuffer,
2749
- offset: number | undefined | null,
2750
- length: number | undefined | null,
2751
- callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void,
2752
- ): void;
2753
- /**
2754
- * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor.
2755
- * @param fd A file descriptor.
2756
- * @param offset The part of the buffer to be written. If not supplied, defaults to `0`.
2757
- */
2758
- function write<TBuffer extends NodeJS.ArrayBufferView>(
2759
- fd: number,
2760
- buffer: TBuffer,
2761
- offset: number | undefined | null,
2762
- callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void,
2763
- ): void;
2764
- /**
2765
- * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor.
2766
- * @param fd A file descriptor.
2767
- */
2768
- function write<TBuffer extends NodeJS.ArrayBufferView>(
2769
- fd: number,
2770
- buffer: TBuffer,
2771
- callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void,
2772
- ): void;
2773
- /**
2774
- * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor.
2775
- * @param fd A file descriptor.
2776
- * @param options An object with the following properties:
2777
- * * `offset` The part of the buffer to be written. If not supplied, defaults to `0`.
2778
- * * `length` The number of bytes to write. If not supplied, defaults to `buffer.length - offset`.
2779
- * * `position` The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
2780
- */
2781
- function write<TBuffer extends NodeJS.ArrayBufferView>(
2782
- fd: number,
2783
- buffer: TBuffer,
2784
- options: WriteOptions,
2785
- callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void,
2786
- ): void;
2787
- /**
2788
- * Asynchronously writes `string` to the file referenced by the supplied file descriptor.
2789
- * @param fd A file descriptor.
2790
- * @param string A string to write.
2791
- * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
2792
- * @param encoding The expected string encoding.
2793
- */
2794
- function write(
2795
- fd: number,
2796
- string: string,
2797
- position: number | undefined | null,
2798
- encoding: BufferEncoding | undefined | null,
2799
- callback: (err: NodeJS.ErrnoException | null, written: number, str: string) => void,
2800
- ): void;
2801
- /**
2802
- * Asynchronously writes `string` to the file referenced by the supplied file descriptor.
2803
- * @param fd A file descriptor.
2804
- * @param string A string to write.
2805
- * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
2806
- */
2807
- function write(
2808
- fd: number,
2809
- string: string,
2810
- position: number | undefined | null,
2811
- callback: (err: NodeJS.ErrnoException | null, written: number, str: string) => void,
2812
- ): void;
2813
- /**
2814
- * Asynchronously writes `string` to the file referenced by the supplied file descriptor.
2815
- * @param fd A file descriptor.
2816
- * @param string A string to write.
2817
- */
2818
- function write(
2819
- fd: number,
2820
- string: string,
2821
- callback: (err: NodeJS.ErrnoException | null, written: number, str: string) => void,
2822
- ): void;
2823
- namespace write {
2824
- /**
2825
- * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor.
2826
- * @param fd A file descriptor.
2827
- * @param offset The part of the buffer to be written. If not supplied, defaults to `0`.
2828
- * @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`.
2829
- * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
2830
- */
2831
- function __promisify__<TBuffer extends NodeJS.ArrayBufferView>(
2832
- fd: number,
2833
- buffer?: TBuffer,
2834
- offset?: number,
2835
- length?: number,
2836
- position?: number | null,
2837
- ): Promise<{
2838
- bytesWritten: number;
2839
- buffer: TBuffer;
2840
- }>;
2841
- /**
2842
- * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor.
2843
- * @param fd A file descriptor.
2844
- * @param options An object with the following properties:
2845
- * * `offset` The part of the buffer to be written. If not supplied, defaults to `0`.
2846
- * * `length` The number of bytes to write. If not supplied, defaults to `buffer.length - offset`.
2847
- * * `position` The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
2848
- */
2849
- function __promisify__<TBuffer extends NodeJS.ArrayBufferView>(
2850
- fd: number,
2851
- buffer?: TBuffer,
2852
- options?: WriteOptions,
2853
- ): Promise<{
2854
- bytesWritten: number;
2855
- buffer: TBuffer;
2856
- }>;
2857
- /**
2858
- * Asynchronously writes `string` to the file referenced by the supplied file descriptor.
2859
- * @param fd A file descriptor.
2860
- * @param string A string to write.
2861
- * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
2862
- * @param encoding The expected string encoding.
2863
- */
2864
- function __promisify__(
2865
- fd: number,
2866
- string: string,
2867
- position?: number | null,
2868
- encoding?: BufferEncoding | null,
2869
- ): Promise<{
2870
- bytesWritten: number;
2871
- buffer: string;
2872
- }>;
2873
- }
2874
- /**
2875
- * For detailed information, see the documentation of the asynchronous version of
2876
- * this API: {@link write}.
2877
- * @since v0.1.21
2878
- * @param [offset=0]
2879
- * @param [length=buffer.byteLength - offset]
2880
- * @param [position='null']
2881
- * @return The number of bytes written.
2882
- */
2883
- function writeSync(
2884
- fd: number,
2885
- buffer: NodeJS.ArrayBufferView,
2886
- offset?: number | null,
2887
- length?: number | null,
2888
- position?: number | null,
2889
- ): number;
2890
- /**
2891
- * Synchronously writes `string` to the file referenced by the supplied file descriptor, returning the number of bytes written.
2892
- * @param fd A file descriptor.
2893
- * @param string A string to write.
2894
- * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
2895
- * @param encoding The expected string encoding.
2896
- */
2897
- function writeSync(
2898
- fd: number,
2899
- string: string,
2900
- position?: number | null,
2901
- encoding?: BufferEncoding | null,
2902
- ): number;
2903
- type ReadPosition = number | bigint;
2904
- interface ReadOptions {
2905
- /**
2906
- * @default 0
2907
- */
2908
- offset?: number | undefined;
2909
- /**
2910
- * @default `length of buffer`
2911
- */
2912
- length?: number | undefined;
2913
- /**
2914
- * @default null
2915
- */
2916
- position?: ReadPosition | null | undefined;
2917
- }
2918
- interface ReadOptionsWithBuffer<T extends NodeJS.ArrayBufferView> extends ReadOptions {
2919
- buffer?: T | undefined;
2920
- }
2921
- /**
2922
- * Read data from the file specified by `fd`.
2923
- *
2924
- * The callback is given the three arguments, `(err, bytesRead, buffer)`.
2925
- *
2926
- * If the file is not modified concurrently, the end-of-file is reached when the
2927
- * number of bytes read is zero.
2928
- *
2929
- * If this method is invoked as its `util.promisify()` ed version, it returns
2930
- * a promise for an `Object` with `bytesRead` and `buffer` properties.
2931
- * @since v0.0.2
2932
- * @param buffer The buffer that the data will be written to.
2933
- * @param offset The position in `buffer` to write the data to.
2934
- * @param length The number of bytes to read.
2935
- * @param position Specifies where to begin reading from in the file. If `position` is `null` or `-1 `, data will be read from the current file position, and the file position will be updated. If
2936
- * `position` is an integer, the file position will be unchanged.
2937
- */
2938
- function read<TBuffer extends NodeJS.ArrayBufferView>(
2939
- fd: number,
2940
- buffer: TBuffer,
2941
- offset: number,
2942
- length: number,
2943
- position: ReadPosition | null,
2944
- callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: TBuffer) => void,
2945
- ): void;
2946
- /**
2947
- * Similar to the above `fs.read` function, this version takes an optional `options` object.
2948
- * If not otherwise specified in an `options` object,
2949
- * `buffer` defaults to `Buffer.alloc(16384)`,
2950
- * `offset` defaults to `0`,
2951
- * `length` defaults to `buffer.byteLength`, `- offset` as of Node 17.6.0
2952
- * `position` defaults to `null`
2953
- * @since v12.17.0, 13.11.0
2954
- */
2955
- function read<TBuffer extends NodeJS.ArrayBufferView = NonSharedBuffer>(
2956
- fd: number,
2957
- options: ReadOptionsWithBuffer<TBuffer>,
2958
- callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: TBuffer) => void,
2959
- ): void;
2960
- function read<TBuffer extends NodeJS.ArrayBufferView>(
2961
- fd: number,
2962
- buffer: TBuffer,
2963
- options: ReadOptions,
2964
- callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: TBuffer) => void,
2965
- ): void;
2966
- function read<TBuffer extends NodeJS.ArrayBufferView>(
2967
- fd: number,
2968
- buffer: TBuffer,
2969
- callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: TBuffer) => void,
2970
- ): void;
2971
- function read(
2972
- fd: number,
2973
- callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: NonSharedBuffer) => void,
2974
- ): void;
2975
- namespace read {
2976
- /**
2977
- * @param fd A file descriptor.
2978
- * @param buffer The buffer that the data will be written to.
2979
- * @param offset The offset in the buffer at which to start writing.
2980
- * @param length The number of bytes to read.
2981
- * @param position The offset from the beginning of the file from which data should be read. If `null`, data will be read from the current position.
2982
- */
2983
- function __promisify__<TBuffer extends NodeJS.ArrayBufferView>(
2984
- fd: number,
2985
- buffer: TBuffer,
2986
- offset: number,
2987
- length: number,
2988
- position: ReadPosition | null,
2989
- ): Promise<{
2990
- bytesRead: number;
2991
- buffer: TBuffer;
2992
- }>;
2993
- function __promisify__<TBuffer extends NodeJS.ArrayBufferView = NonSharedBuffer>(
2994
- fd: number,
2995
- options: ReadOptionsWithBuffer<TBuffer>,
2996
- ): Promise<{
2997
- bytesRead: number;
2998
- buffer: TBuffer;
2999
- }>;
3000
- function __promisify__(fd: number): Promise<{
3001
- bytesRead: number;
3002
- buffer: NonSharedBuffer;
3003
- }>;
3004
- }
3005
- /**
3006
- * Returns the number of `bytesRead`.
3007
- *
3008
- * For detailed information, see the documentation of the asynchronous version of
3009
- * this API: {@link read}.
3010
- * @since v0.1.21
3011
- * @param [position='null']
3012
- */
3013
- function readSync(
3014
- fd: number,
3015
- buffer: NodeJS.ArrayBufferView,
3016
- offset: number,
3017
- length: number,
3018
- position: ReadPosition | null,
3019
- ): number;
3020
- /**
3021
- * Similar to the above `fs.readSync` function, this version takes an optional `options` object.
3022
- * If no `options` object is specified, it will default with the above values.
3023
- */
3024
- function readSync(fd: number, buffer: NodeJS.ArrayBufferView, opts?: ReadOptions): number;
3025
- /**
3026
- * Asynchronously reads the entire contents of a file.
3027
- *
3028
- * ```js
3029
- * import { readFile } from 'node:fs';
3030
- *
3031
- * readFile('/etc/passwd', (err, data) => {
3032
- * if (err) throw err;
3033
- * console.log(data);
3034
- * });
3035
- * ```
3036
- *
3037
- * The callback is passed two arguments `(err, data)`, where `data` is the
3038
- * contents of the file.
3039
- *
3040
- * If no encoding is specified, then the raw buffer is returned.
3041
- *
3042
- * If `options` is a string, then it specifies the encoding:
3043
- *
3044
- * ```js
3045
- * import { readFile } from 'node:fs';
3046
- *
3047
- * readFile('/etc/passwd', 'utf8', callback);
3048
- * ```
3049
- *
3050
- * When the path is a directory, the behavior of `fs.readFile()` and {@link readFileSync} is platform-specific. On macOS, Linux, and Windows, an
3051
- * error will be returned. On FreeBSD, a representation of the directory's contents
3052
- * will be returned.
3053
- *
3054
- * ```js
3055
- * import { readFile } from 'node:fs';
3056
- *
3057
- * // macOS, Linux, and Windows
3058
- * readFile('<directory>', (err, data) => {
3059
- * // => [Error: EISDIR: illegal operation on a directory, read <directory>]
3060
- * });
3061
- *
3062
- * // FreeBSD
3063
- * readFile('<directory>', (err, data) => {
3064
- * // => null, <data>
3065
- * });
3066
- * ```
3067
- *
3068
- * It is possible to abort an ongoing request using an `AbortSignal`. If a
3069
- * request is aborted the callback is called with an `AbortError`:
3070
- *
3071
- * ```js
3072
- * import { readFile } from 'node:fs';
3073
- *
3074
- * const controller = new AbortController();
3075
- * const signal = controller.signal;
3076
- * readFile(fileInfo[0].name, { signal }, (err, buf) => {
3077
- * // ...
3078
- * });
3079
- * // When you want to abort the request
3080
- * controller.abort();
3081
- * ```
3082
- *
3083
- * The `fs.readFile()` function buffers the entire file. To minimize memory costs,
3084
- * when possible prefer streaming via `fs.createReadStream()`.
3085
- *
3086
- * Aborting an ongoing request does not abort individual operating
3087
- * system requests but rather the internal buffering `fs.readFile` performs.
3088
- * @since v0.1.29
3089
- * @param path filename or file descriptor
3090
- */
3091
- function readFile(
3092
- path: PathOrFileDescriptor,
3093
- options:
3094
- | ({
3095
- encoding?: null | undefined;
3096
- flag?: string | undefined;
3097
- } & Abortable)
3098
- | undefined
3099
- | null,
3100
- callback: (err: NodeJS.ErrnoException | null, data: NonSharedBuffer) => void,
3101
- ): void;
3102
- /**
3103
- * Asynchronously reads the entire contents of a file.
3104
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
3105
- * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
3106
- * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
3107
- * If a flag is not provided, it defaults to `'r'`.
3108
- */
3109
- function readFile(
3110
- path: PathOrFileDescriptor,
3111
- options:
3112
- | ({
3113
- encoding: BufferEncoding;
3114
- flag?: string | undefined;
3115
- } & Abortable)
3116
- | BufferEncoding,
3117
- callback: (err: NodeJS.ErrnoException | null, data: string) => void,
3118
- ): void;
3119
- /**
3120
- * Asynchronously reads the entire contents of a file.
3121
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
3122
- * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
3123
- * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
3124
- * If a flag is not provided, it defaults to `'r'`.
3125
- */
3126
- function readFile(
3127
- path: PathOrFileDescriptor,
3128
- options:
3129
- | (ObjectEncodingOptions & {
3130
- flag?: string | undefined;
3131
- } & Abortable)
3132
- | BufferEncoding
3133
- | undefined
3134
- | null,
3135
- callback: (err: NodeJS.ErrnoException | null, data: string | NonSharedBuffer) => void,
3136
- ): void;
3137
- /**
3138
- * Asynchronously reads the entire contents of a file.
3139
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
3140
- * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
3141
- */
3142
- function readFile(
3143
- path: PathOrFileDescriptor,
3144
- callback: (err: NodeJS.ErrnoException | null, data: NonSharedBuffer) => void,
3145
- ): void;
3146
- namespace readFile {
3147
- /**
3148
- * Asynchronously reads the entire contents of a file.
3149
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
3150
- * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
3151
- * @param options An object that may contain an optional flag.
3152
- * If a flag is not provided, it defaults to `'r'`.
3153
- */
3154
- function __promisify__(
3155
- path: PathOrFileDescriptor,
3156
- options?: {
3157
- encoding?: null | undefined;
3158
- flag?: string | undefined;
3159
- } | null,
3160
- ): Promise<NonSharedBuffer>;
3161
- /**
3162
- * Asynchronously reads the entire contents of a file.
3163
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
3164
- * URL support is _experimental_.
3165
- * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
3166
- * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
3167
- * If a flag is not provided, it defaults to `'r'`.
3168
- */
3169
- function __promisify__(
3170
- path: PathOrFileDescriptor,
3171
- options:
3172
- | {
3173
- encoding: BufferEncoding;
3174
- flag?: string | undefined;
3175
- }
3176
- | BufferEncoding,
3177
- ): Promise<string>;
3178
- /**
3179
- * Asynchronously reads the entire contents of a file.
3180
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
3181
- * URL support is _experimental_.
3182
- * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
3183
- * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
3184
- * If a flag is not provided, it defaults to `'r'`.
3185
- */
3186
- function __promisify__(
3187
- path: PathOrFileDescriptor,
3188
- options?:
3189
- | (ObjectEncodingOptions & {
3190
- flag?: string | undefined;
3191
- })
3192
- | BufferEncoding
3193
- | null,
3194
- ): Promise<string | NonSharedBuffer>;
3195
- }
3196
- /**
3197
- * Returns the contents of the `path`.
3198
- *
3199
- * For detailed information, see the documentation of the asynchronous version of
3200
- * this API: {@link readFile}.
3201
- *
3202
- * If the `encoding` option is specified then this function returns a
3203
- * string. Otherwise it returns a buffer.
3204
- *
3205
- * Similar to {@link readFile}, when the path is a directory, the behavior of `fs.readFileSync()` is platform-specific.
3206
- *
3207
- * ```js
3208
- * import { readFileSync } from 'node:fs';
3209
- *
3210
- * // macOS, Linux, and Windows
3211
- * readFileSync('<directory>');
3212
- * // => [Error: EISDIR: illegal operation on a directory, read <directory>]
3213
- *
3214
- * // FreeBSD
3215
- * readFileSync('<directory>'); // => <data>
3216
- * ```
3217
- * @since v0.1.8
3218
- * @param path filename or file descriptor
3219
- */
3220
- function readFileSync(
3221
- path: PathOrFileDescriptor,
3222
- options?: {
3223
- encoding?: null | undefined;
3224
- flag?: string | undefined;
3225
- } | null,
3226
- ): NonSharedBuffer;
3227
- /**
3228
- * Synchronously reads the entire contents of a file.
3229
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
3230
- * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
3231
- * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
3232
- * If a flag is not provided, it defaults to `'r'`.
3233
- */
3234
- function readFileSync(
3235
- path: PathOrFileDescriptor,
3236
- options:
3237
- | {
3238
- encoding: BufferEncoding;
3239
- flag?: string | undefined;
3240
- }
3241
- | BufferEncoding,
3242
- ): string;
3243
- /**
3244
- * Synchronously reads the entire contents of a file.
3245
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
3246
- * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
3247
- * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
3248
- * If a flag is not provided, it defaults to `'r'`.
3249
- */
3250
- function readFileSync(
3251
- path: PathOrFileDescriptor,
3252
- options?:
3253
- | (ObjectEncodingOptions & {
3254
- flag?: string | undefined;
3255
- })
3256
- | BufferEncoding
3257
- | null,
3258
- ): string | NonSharedBuffer;
3259
- type WriteFileOptions =
3260
- | (
3261
- & ObjectEncodingOptions
3262
- & Abortable
3263
- & {
3264
- mode?: Mode | undefined;
3265
- flag?: string | undefined;
3266
- flush?: boolean | undefined;
3267
- }
3268
- )
3269
- | BufferEncoding
3270
- | null;
3271
- /**
3272
- * When `file` is a filename, asynchronously writes data to the file, replacing the
3273
- * file if it already exists. `data` can be a string or a buffer.
3274
- *
3275
- * When `file` is a file descriptor, the behavior is similar to calling `fs.write()` directly (which is recommended). See the notes below on using
3276
- * a file descriptor.
3277
- *
3278
- * The `encoding` option is ignored if `data` is a buffer.
3279
- *
3280
- * The `mode` option only affects the newly created file. See {@link open} for more details.
3281
- *
3282
- * ```js
3283
- * import { writeFile } from 'node:fs';
3284
- * import { Buffer } from 'node:buffer';
3285
- *
3286
- * const data = new Uint8Array(Buffer.from('Hello Node.js'));
3287
- * writeFile('message.txt', data, (err) => {
3288
- * if (err) throw err;
3289
- * console.log('The file has been saved!');
3290
- * });
3291
- * ```
3292
- *
3293
- * If `options` is a string, then it specifies the encoding:
3294
- *
3295
- * ```js
3296
- * import { writeFile } from 'node:fs';
3297
- *
3298
- * writeFile('message.txt', 'Hello Node.js', 'utf8', callback);
3299
- * ```
3300
- *
3301
- * It is unsafe to use `fs.writeFile()` multiple times on the same file without
3302
- * waiting for the callback. For this scenario, {@link createWriteStream} is
3303
- * recommended.
3304
- *
3305
- * Similarly to `fs.readFile` \- `fs.writeFile` is a convenience method that
3306
- * performs multiple `write` calls internally to write the buffer passed to it.
3307
- * For performance sensitive code consider using {@link createWriteStream}.
3308
- *
3309
- * It is possible to use an `AbortSignal` to cancel an `fs.writeFile()`.
3310
- * Cancelation is "best effort", and some amount of data is likely still
3311
- * to be written.
3312
- *
3313
- * ```js
3314
- * import { writeFile } from 'node:fs';
3315
- * import { Buffer } from 'node:buffer';
3316
- *
3317
- * const controller = new AbortController();
3318
- * const { signal } = controller;
3319
- * const data = new Uint8Array(Buffer.from('Hello Node.js'));
3320
- * writeFile('message.txt', data, { signal }, (err) => {
3321
- * // When a request is aborted - the callback is called with an AbortError
3322
- * });
3323
- * // When the request should be aborted
3324
- * controller.abort();
3325
- * ```
3326
- *
3327
- * Aborting an ongoing request does not abort individual operating
3328
- * system requests but rather the internal buffering `fs.writeFile` performs.
3329
- * @since v0.1.29
3330
- * @param file filename or file descriptor
3331
- */
3332
- function writeFile(
3333
- file: PathOrFileDescriptor,
3334
- data: string | NodeJS.ArrayBufferView,
3335
- options: WriteFileOptions,
3336
- callback: NoParamCallback,
3337
- ): void;
3338
- /**
3339
- * Asynchronously writes data to a file, replacing the file if it already exists.
3340
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
3341
- * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
3342
- * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string.
3343
- */
3344
- function writeFile(
3345
- path: PathOrFileDescriptor,
3346
- data: string | NodeJS.ArrayBufferView,
3347
- callback: NoParamCallback,
3348
- ): void;
3349
- namespace writeFile {
3350
- /**
3351
- * Asynchronously writes data to a file, replacing the file if it already exists.
3352
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
3353
- * URL support is _experimental_.
3354
- * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
3355
- * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string.
3356
- * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag.
3357
- * If `encoding` is not supplied, the default of `'utf8'` is used.
3358
- * If `mode` is not supplied, the default of `0o666` is used.
3359
- * If `mode` is a string, it is parsed as an octal integer.
3360
- * If `flag` is not supplied, the default of `'w'` is used.
3361
- */
3362
- function __promisify__(
3363
- path: PathOrFileDescriptor,
3364
- data: string | NodeJS.ArrayBufferView,
3365
- options?: WriteFileOptions,
3366
- ): Promise<void>;
3367
- }
3368
- /**
3369
- * Returns `undefined`.
3370
- *
3371
- * The `mode` option only affects the newly created file. See {@link open} for more details.
3372
- *
3373
- * For detailed information, see the documentation of the asynchronous version of
3374
- * this API: {@link writeFile}.
3375
- * @since v0.1.29
3376
- * @param file filename or file descriptor
3377
- */
3378
- function writeFileSync(
3379
- file: PathOrFileDescriptor,
3380
- data: string | NodeJS.ArrayBufferView,
3381
- options?: WriteFileOptions,
3382
- ): void;
3383
- /**
3384
- * Asynchronously append data to a file, creating the file if it does not yet
3385
- * exist. `data` can be a string or a `Buffer`.
3386
- *
3387
- * The `mode` option only affects the newly created file. See {@link open} for more details.
3388
- *
3389
- * ```js
3390
- * import { appendFile } from 'node:fs';
3391
- *
3392
- * appendFile('message.txt', 'data to append', (err) => {
3393
- * if (err) throw err;
3394
- * console.log('The "data to append" was appended to file!');
3395
- * });
3396
- * ```
3397
- *
3398
- * If `options` is a string, then it specifies the encoding:
3399
- *
3400
- * ```js
3401
- * import { appendFile } from 'node:fs';
3402
- *
3403
- * appendFile('message.txt', 'data to append', 'utf8', callback);
3404
- * ```
3405
- *
3406
- * The `path` may be specified as a numeric file descriptor that has been opened
3407
- * for appending (using `fs.open()` or `fs.openSync()`). The file descriptor will
3408
- * not be closed automatically.
3409
- *
3410
- * ```js
3411
- * import { open, close, appendFile } from 'node:fs';
3412
- *
3413
- * function closeFd(fd) {
3414
- * close(fd, (err) => {
3415
- * if (err) throw err;
3416
- * });
3417
- * }
3418
- *
3419
- * open('message.txt', 'a', (err, fd) => {
3420
- * if (err) throw err;
3421
- *
3422
- * try {
3423
- * appendFile(fd, 'data to append', 'utf8', (err) => {
3424
- * closeFd(fd);
3425
- * if (err) throw err;
3426
- * });
3427
- * } catch (err) {
3428
- * closeFd(fd);
3429
- * throw err;
3430
- * }
3431
- * });
3432
- * ```
3433
- * @since v0.6.7
3434
- * @param path filename or file descriptor
3435
- */
3436
- function appendFile(
3437
- path: PathOrFileDescriptor,
3438
- data: string | Uint8Array,
3439
- options: WriteFileOptions,
3440
- callback: NoParamCallback,
3441
- ): void;
3442
- /**
3443
- * Asynchronously append data to a file, creating the file if it does not exist.
3444
- * @param file A path to a file. If a URL is provided, it must use the `file:` protocol.
3445
- * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
3446
- * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string.
3447
- */
3448
- function appendFile(file: PathOrFileDescriptor, data: string | Uint8Array, callback: NoParamCallback): void;
3449
- namespace appendFile {
3450
- /**
3451
- * Asynchronously append data to a file, creating the file if it does not exist.
3452
- * @param file A path to a file. If a URL is provided, it must use the `file:` protocol.
3453
- * URL support is _experimental_.
3454
- * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
3455
- * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string.
3456
- * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag.
3457
- * If `encoding` is not supplied, the default of `'utf8'` is used.
3458
- * If `mode` is not supplied, the default of `0o666` is used.
3459
- * If `mode` is a string, it is parsed as an octal integer.
3460
- * If `flag` is not supplied, the default of `'a'` is used.
3461
- */
3462
- function __promisify__(
3463
- file: PathOrFileDescriptor,
3464
- data: string | Uint8Array,
3465
- options?: WriteFileOptions,
3466
- ): Promise<void>;
3467
- }
3468
- /**
3469
- * Synchronously append data to a file, creating the file if it does not yet
3470
- * exist. `data` can be a string or a `Buffer`.
3471
- *
3472
- * The `mode` option only affects the newly created file. See {@link open} for more details.
3473
- *
3474
- * ```js
3475
- * import { appendFileSync } from 'node:fs';
3476
- *
3477
- * try {
3478
- * appendFileSync('message.txt', 'data to append');
3479
- * console.log('The "data to append" was appended to file!');
3480
- * } catch (err) {
3481
- * // Handle the error
3482
- * }
3483
- * ```
3484
- *
3485
- * If `options` is a string, then it specifies the encoding:
3486
- *
3487
- * ```js
3488
- * import { appendFileSync } from 'node:fs';
3489
- *
3490
- * appendFileSync('message.txt', 'data to append', 'utf8');
3491
- * ```
3492
- *
3493
- * The `path` may be specified as a numeric file descriptor that has been opened
3494
- * for appending (using `fs.open()` or `fs.openSync()`). The file descriptor will
3495
- * not be closed automatically.
3496
- *
3497
- * ```js
3498
- * import { openSync, closeSync, appendFileSync } from 'node:fs';
3499
- *
3500
- * let fd;
3501
- *
3502
- * try {
3503
- * fd = openSync('message.txt', 'a');
3504
- * appendFileSync(fd, 'data to append', 'utf8');
3505
- * } catch (err) {
3506
- * // Handle the error
3507
- * } finally {
3508
- * if (fd !== undefined)
3509
- * closeSync(fd);
3510
- * }
3511
- * ```
3512
- * @since v0.6.7
3513
- * @param path filename or file descriptor
3514
- */
3515
- function appendFileSync(
3516
- path: PathOrFileDescriptor,
3517
- data: string | Uint8Array,
3518
- options?: WriteFileOptions,
3519
- ): void;
3520
- /**
3521
- * Watch for changes on `filename`. The callback `listener` will be called each
3522
- * time the file is accessed.
3523
- *
3524
- * The `options` argument may be omitted. If provided, it should be an object. The `options` object may contain a boolean named `persistent` that indicates
3525
- * whether the process should continue to run as long as files are being watched.
3526
- * The `options` object may specify an `interval` property indicating how often the
3527
- * target should be polled in milliseconds.
3528
- *
3529
- * The `listener` gets two arguments the current stat object and the previous
3530
- * stat object:
3531
- *
3532
- * ```js
3533
- * import { watchFile } from 'node:fs';
3534
- *
3535
- * watchFile('message.text', (curr, prev) => {
3536
- * console.log(`the current mtime is: ${curr.mtime}`);
3537
- * console.log(`the previous mtime was: ${prev.mtime}`);
3538
- * });
3539
- * ```
3540
- *
3541
- * These stat objects are instances of `fs.Stat`. If the `bigint` option is `true`,
3542
- * the numeric values in these objects are specified as `BigInt`s.
3543
- *
3544
- * To be notified when the file was modified, not just accessed, it is necessary
3545
- * to compare `curr.mtimeMs` and `prev.mtimeMs`.
3546
- *
3547
- * When an `fs.watchFile` operation results in an `ENOENT` error, it
3548
- * will invoke the listener once, with all the fields zeroed (or, for dates, the
3549
- * Unix Epoch). If the file is created later on, the listener will be called
3550
- * again, with the latest stat objects. This is a change in functionality since
3551
- * v0.10.
3552
- *
3553
- * Using {@link watch} is more efficient than `fs.watchFile` and `fs.unwatchFile`. `fs.watch` should be used instead of `fs.watchFile` and `fs.unwatchFile` when possible.
3554
- *
3555
- * When a file being watched by `fs.watchFile()` disappears and reappears,
3556
- * then the contents of `previous` in the second callback event (the file's
3557
- * reappearance) will be the same as the contents of `previous` in the first
3558
- * callback event (its disappearance).
3559
- *
3560
- * This happens when:
3561
- *
3562
- * * the file is deleted, followed by a restore
3563
- * * the file is renamed and then renamed a second time back to its original name
3564
- * @since v0.1.31
3565
- */
3566
- interface WatchFileOptions {
3567
- bigint?: boolean | undefined;
3568
- persistent?: boolean | undefined;
3569
- interval?: number | undefined;
3570
- }
3571
- /**
3572
- * Watch for changes on `filename`. The callback `listener` will be called each
3573
- * time the file is accessed.
3574
- *
3575
- * The `options` argument may be omitted. If provided, it should be an object. The `options` object may contain a boolean named `persistent` that indicates
3576
- * whether the process should continue to run as long as files are being watched.
3577
- * The `options` object may specify an `interval` property indicating how often the
3578
- * target should be polled in milliseconds.
3579
- *
3580
- * The `listener` gets two arguments the current stat object and the previous
3581
- * stat object:
3582
- *
3583
- * ```js
3584
- * import { watchFile } from 'node:fs';
3585
- *
3586
- * watchFile('message.text', (curr, prev) => {
3587
- * console.log(`the current mtime is: ${curr.mtime}`);
3588
- * console.log(`the previous mtime was: ${prev.mtime}`);
3589
- * });
3590
- * ```
3591
- *
3592
- * These stat objects are instances of `fs.Stat`. If the `bigint` option is `true`,
3593
- * the numeric values in these objects are specified as `BigInt`s.
3594
- *
3595
- * To be notified when the file was modified, not just accessed, it is necessary
3596
- * to compare `curr.mtimeMs` and `prev.mtimeMs`.
3597
- *
3598
- * When an `fs.watchFile` operation results in an `ENOENT` error, it
3599
- * will invoke the listener once, with all the fields zeroed (or, for dates, the
3600
- * Unix Epoch). If the file is created later on, the listener will be called
3601
- * again, with the latest stat objects. This is a change in functionality since
3602
- * v0.10.
3603
- *
3604
- * Using {@link watch} is more efficient than `fs.watchFile` and `fs.unwatchFile`. `fs.watch` should be used instead of `fs.watchFile` and `fs.unwatchFile` when possible.
3605
- *
3606
- * When a file being watched by `fs.watchFile()` disappears and reappears,
3607
- * then the contents of `previous` in the second callback event (the file's
3608
- * reappearance) will be the same as the contents of `previous` in the first
3609
- * callback event (its disappearance).
3610
- *
3611
- * This happens when:
3612
- *
3613
- * * the file is deleted, followed by a restore
3614
- * * the file is renamed and then renamed a second time back to its original name
3615
- * @since v0.1.31
3616
- */
3617
- function watchFile(
3618
- filename: PathLike,
3619
- options:
3620
- | (WatchFileOptions & {
3621
- bigint?: false | undefined;
3622
- })
3623
- | undefined,
3624
- listener: StatsListener,
3625
- ): StatWatcher;
3626
- function watchFile(
3627
- filename: PathLike,
3628
- options:
3629
- | (WatchFileOptions & {
3630
- bigint: true;
3631
- })
3632
- | undefined,
3633
- listener: BigIntStatsListener,
3634
- ): StatWatcher;
3635
- /**
3636
- * Watch for changes on `filename`. The callback `listener` will be called each time the file is accessed.
3637
- * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
3638
- */
3639
- function watchFile(filename: PathLike, listener: StatsListener): StatWatcher;
3640
- /**
3641
- * Stop watching for changes on `filename`. If `listener` is specified, only that
3642
- * particular listener is removed. Otherwise, _all_ listeners are removed,
3643
- * effectively stopping watching of `filename`.
3644
- *
3645
- * Calling `fs.unwatchFile()` with a filename that is not being watched is a
3646
- * no-op, not an error.
3647
- *
3648
- * Using {@link watch} is more efficient than `fs.watchFile()` and `fs.unwatchFile()`. `fs.watch()` should be used instead of `fs.watchFile()` and `fs.unwatchFile()` when possible.
3649
- * @since v0.1.31
3650
- * @param listener Optional, a listener previously attached using `fs.watchFile()`
3651
- */
3652
- function unwatchFile(filename: PathLike, listener?: StatsListener): void;
3653
- function unwatchFile(filename: PathLike, listener?: BigIntStatsListener): void;
3654
- type WatchIgnorePredicate = string | RegExp | ((filename: string) => boolean);
3655
- interface WatchOptions extends Abortable {
3656
- encoding?: BufferEncoding | "buffer" | undefined;
3657
- persistent?: boolean | undefined;
3658
- recursive?: boolean | undefined;
3659
- ignore?: WatchIgnorePredicate | readonly WatchIgnorePredicate[] | undefined;
3660
- }
3661
- interface WatchOptionsWithBufferEncoding extends WatchOptions {
3662
- encoding: "buffer";
3663
- }
3664
- interface WatchOptionsWithStringEncoding extends WatchOptions {
3665
- encoding?: BufferEncoding | undefined;
3666
- }
3667
- type WatchEventType = "rename" | "change";
3668
- type WatchListener<T> = (event: WatchEventType, filename: T | null) => void;
3669
- type StatsListener = (curr: Stats, prev: Stats) => void;
3670
- type BigIntStatsListener = (curr: BigIntStats, prev: BigIntStats) => void;
3671
- /**
3672
- * Watch for changes on `filename`, where `filename` is either a file or a
3673
- * directory.
3674
- *
3675
- * The second argument is optional. If `options` is provided as a string, it
3676
- * specifies the `encoding`. Otherwise `options` should be passed as an object.
3677
- *
3678
- * The listener callback gets two arguments `(eventType, filename)`. `eventType`is either `'rename'` or `'change'`, and `filename` is the name of the file
3679
- * which triggered the event.
3680
- *
3681
- * On most platforms, `'rename'` is emitted whenever a filename appears or
3682
- * disappears in the directory.
3683
- *
3684
- * The listener callback is attached to the `'change'` event fired by `fs.FSWatcher`, but it is not the same thing as the `'change'` value of `eventType`.
3685
- *
3686
- * If a `signal` is passed, aborting the corresponding AbortController will close
3687
- * the returned `fs.FSWatcher`.
3688
- * @since v0.5.10
3689
- * @param listener
3690
- */
3691
- function watch(
3692
- filename: PathLike,
3693
- options?: WatchOptionsWithStringEncoding | BufferEncoding | null,
3694
- listener?: WatchListener<string>,
3695
- ): FSWatcher;
3696
- function watch(
3697
- filename: PathLike,
3698
- options: WatchOptionsWithBufferEncoding | "buffer",
3699
- listener: WatchListener<NonSharedBuffer>,
3700
- ): FSWatcher;
3701
- function watch(
3702
- filename: PathLike,
3703
- options: WatchOptions | BufferEncoding | "buffer" | null,
3704
- listener: WatchListener<string | NonSharedBuffer>,
3705
- ): FSWatcher;
3706
- function watch(filename: PathLike, listener: WatchListener<string>): FSWatcher;
3707
- /**
3708
- * Test whether or not the given path exists by checking with the file system.
3709
- * Then call the `callback` argument with either true or false:
3710
- *
3711
- * ```js
3712
- * import { exists } from 'node:fs';
3713
- *
3714
- * exists('/etc/passwd', (e) => {
3715
- * console.log(e ? 'it exists' : 'no passwd!');
3716
- * });
3717
- * ```
3718
- *
3719
- * **The parameters for this callback are not consistent with other Node.js**
3720
- * **callbacks.** Normally, the first parameter to a Node.js callback is an `err` parameter, optionally followed by other parameters. The `fs.exists()` callback
3721
- * has only one boolean parameter. This is one reason `fs.access()` is recommended
3722
- * instead of `fs.exists()`.
3723
- *
3724
- * Using `fs.exists()` to check for the existence of a file before calling `fs.open()`, `fs.readFile()`, or `fs.writeFile()` is not recommended. Doing
3725
- * so introduces a race condition, since other processes may change the file's
3726
- * state between the two calls. Instead, user code should open/read/write the
3727
- * file directly and handle the error raised if the file does not exist.
3728
- *
3729
- * **write (NOT RECOMMENDED)**
3730
- *
3731
- * ```js
3732
- * import { exists, open, close } from 'node:fs';
3733
- *
3734
- * exists('myfile', (e) => {
3735
- * if (e) {
3736
- * console.error('myfile already exists');
3737
- * } else {
3738
- * open('myfile', 'wx', (err, fd) => {
3739
- * if (err) throw err;
3740
- *
3741
- * try {
3742
- * writeMyData(fd);
3743
- * } finally {
3744
- * close(fd, (err) => {
3745
- * if (err) throw err;
3746
- * });
3747
- * }
3748
- * });
3749
- * }
3750
- * });
3751
- * ```
3752
- *
3753
- * **write (RECOMMENDED)**
3754
- *
3755
- * ```js
3756
- * import { open, close } from 'node:fs';
3757
- * open('myfile', 'wx', (err, fd) => {
3758
- * if (err) {
3759
- * if (err.code === 'EEXIST') {
3760
- * console.error('myfile already exists');
3761
- * return;
3762
- * }
3763
- *
3764
- * throw err;
3765
- * }
3766
- *
3767
- * try {
3768
- * writeMyData(fd);
3769
- * } finally {
3770
- * close(fd, (err) => {
3771
- * if (err) throw err;
3772
- * });
3773
- * }
3774
- * });
3775
- * ```
3776
- *
3777
- * **read (NOT RECOMMENDED)**
3778
- *
3779
- * ```js
3780
- * import { open, close, exists } from 'node:fs';
3781
- *
3782
- * exists('myfile', (e) => {
3783
- * if (e) {
3784
- * open('myfile', 'r', (err, fd) => {
3785
- * if (err) throw err;
3786
- *
3787
- * try {
3788
- * readMyData(fd);
3789
- * } finally {
3790
- * close(fd, (err) => {
3791
- * if (err) throw err;
3792
- * });
3793
- * }
3794
- * });
3795
- * } else {
3796
- * console.error('myfile does not exist');
3797
- * }
3798
- * });
3799
- * ```
3800
- *
3801
- * **read (RECOMMENDED)**
3802
- *
3803
- * ```js
3804
- * import { open, close } from 'node:fs';
3805
- *
3806
- * open('myfile', 'r', (err, fd) => {
3807
- * if (err) {
3808
- * if (err.code === 'ENOENT') {
3809
- * console.error('myfile does not exist');
3810
- * return;
3811
- * }
3812
- *
3813
- * throw err;
3814
- * }
3815
- *
3816
- * try {
3817
- * readMyData(fd);
3818
- * } finally {
3819
- * close(fd, (err) => {
3820
- * if (err) throw err;
3821
- * });
3822
- * }
3823
- * });
3824
- * ```
3825
- *
3826
- * The "not recommended" examples above check for existence and then use the
3827
- * file; the "recommended" examples are better because they use the file directly
3828
- * and handle the error, if any.
3829
- *
3830
- * In general, check for the existence of a file only if the file won't be
3831
- * used directly, for example when its existence is a signal from another
3832
- * process.
3833
- * @since v0.0.2
3834
- * @deprecated Since v1.0.0 - Use {@link stat} or {@link access} instead.
3835
- */
3836
- function exists(path: PathLike, callback: (exists: boolean) => void): void;
3837
- /** @deprecated */
3838
- namespace exists {
3839
- /**
3840
- * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
3841
- * URL support is _experimental_.
3842
- */
3843
- function __promisify__(path: PathLike): Promise<boolean>;
3844
- }
3845
- /**
3846
- * Returns `true` if the path exists, `false` otherwise.
3847
- *
3848
- * For detailed information, see the documentation of the asynchronous version of
3849
- * this API: {@link exists}.
3850
- *
3851
- * `fs.exists()` is deprecated, but `fs.existsSync()` is not. The `callback` parameter to `fs.exists()` accepts parameters that are inconsistent with other
3852
- * Node.js callbacks. `fs.existsSync()` does not use a callback.
3853
- *
3854
- * ```js
3855
- * import { existsSync } from 'node:fs';
3856
- *
3857
- * if (existsSync('/etc/passwd'))
3858
- * console.log('The path exists.');
3859
- * ```
3860
- * @since v0.1.21
3861
- */
3862
- function existsSync(path: PathLike): boolean;
3863
- namespace constants {
3864
- // File Access Constants
3865
- /** Constant for fs.access(). File is visible to the calling process. */
3866
- const F_OK: number;
3867
- /** Constant for fs.access(). File can be read by the calling process. */
3868
- const R_OK: number;
3869
- /** Constant for fs.access(). File can be written by the calling process. */
3870
- const W_OK: number;
3871
- /** Constant for fs.access(). File can be executed by the calling process. */
3872
- const X_OK: number;
3873
- // File Copy Constants
3874
- /** Constant for fs.copyFile. Flag indicating the destination file should not be overwritten if it already exists. */
3875
- const COPYFILE_EXCL: number;
3876
- /**
3877
- * Constant for fs.copyFile. copy operation will attempt to create a copy-on-write reflink.
3878
- * If the underlying platform does not support copy-on-write, then a fallback copy mechanism is used.
3879
- */
3880
- const COPYFILE_FICLONE: number;
3881
- /**
3882
- * Constant for fs.copyFile. Copy operation will attempt to create a copy-on-write reflink.
3883
- * If the underlying platform does not support copy-on-write, then the operation will fail with an error.
3884
- */
3885
- const COPYFILE_FICLONE_FORCE: number;
3886
- // File Open Constants
3887
- /** Constant for fs.open(). Flag indicating to open a file for read-only access. */
3888
- const O_RDONLY: number;
3889
- /** Constant for fs.open(). Flag indicating to open a file for write-only access. */
3890
- const O_WRONLY: number;
3891
- /** Constant for fs.open(). Flag indicating to open a file for read-write access. */
3892
- const O_RDWR: number;
3893
- /** Constant for fs.open(). Flag indicating to create the file if it does not already exist. */
3894
- const O_CREAT: number;
3895
- /** Constant for fs.open(). Flag indicating that opening a file should fail if the O_CREAT flag is set and the file already exists. */
3896
- const O_EXCL: number;
3897
- /**
3898
- * Constant for fs.open(). Flag indicating that if path identifies a terminal device,
3899
- * opening the path shall not cause that terminal to become the controlling terminal for the process
3900
- * (if the process does not already have one).
3901
- */
3902
- const O_NOCTTY: number;
3903
- /** Constant for fs.open(). Flag indicating that if the file exists and is a regular file, and the file is opened successfully for write access, its length shall be truncated to zero. */
3904
- const O_TRUNC: number;
3905
- /** Constant for fs.open(). Flag indicating that data will be appended to the end of the file. */
3906
- const O_APPEND: number;
3907
- /** Constant for fs.open(). Flag indicating that the open should fail if the path is not a directory. */
3908
- const O_DIRECTORY: number;
3909
- /**
3910
- * constant for fs.open().
3911
- * Flag indicating reading accesses to the file system will no longer result in
3912
- * an update to the atime information associated with the file.
3913
- * This flag is available on Linux operating systems only.
3914
- */
3915
- const O_NOATIME: number;
3916
- /** Constant for fs.open(). Flag indicating that the open should fail if the path is a symbolic link. */
3917
- const O_NOFOLLOW: number;
3918
- /** Constant for fs.open(). Flag indicating that the file is opened for synchronous I/O. */
3919
- const O_SYNC: number;
3920
- /** Constant for fs.open(). Flag indicating that the file is opened for synchronous I/O with write operations waiting for data integrity. */
3921
- const O_DSYNC: number;
3922
- /** Constant for fs.open(). Flag indicating to open the symbolic link itself rather than the resource it is pointing to. */
3923
- const O_SYMLINK: number;
3924
- /** Constant for fs.open(). When set, an attempt will be made to minimize caching effects of file I/O. */
3925
- const O_DIRECT: number;
3926
- /** Constant for fs.open(). Flag indicating to open the file in nonblocking mode when possible. */
3927
- const O_NONBLOCK: number;
3928
- // File Type Constants
3929
- /** Constant for fs.Stats mode property for determining a file's type. Bit mask used to extract the file type code. */
3930
- const S_IFMT: number;
3931
- /** Constant for fs.Stats mode property for determining a file's type. File type constant for a regular file. */
3932
- const S_IFREG: number;
3933
- /** Constant for fs.Stats mode property for determining a file's type. File type constant for a directory. */
3934
- const S_IFDIR: number;
3935
- /** Constant for fs.Stats mode property for determining a file's type. File type constant for a character-oriented device file. */
3936
- const S_IFCHR: number;
3937
- /** Constant for fs.Stats mode property for determining a file's type. File type constant for a block-oriented device file. */
3938
- const S_IFBLK: number;
3939
- /** Constant for fs.Stats mode property for determining a file's type. File type constant for a FIFO/pipe. */
3940
- const S_IFIFO: number;
3941
- /** Constant for fs.Stats mode property for determining a file's type. File type constant for a symbolic link. */
3942
- const S_IFLNK: number;
3943
- /** Constant for fs.Stats mode property for determining a file's type. File type constant for a socket. */
3944
- const S_IFSOCK: number;
3945
- // File Mode Constants
3946
- /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by owner. */
3947
- const S_IRWXU: number;
3948
- /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by owner. */
3949
- const S_IRUSR: number;
3950
- /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by owner. */
3951
- const S_IWUSR: number;
3952
- /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by owner. */
3953
- const S_IXUSR: number;
3954
- /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by group. */
3955
- const S_IRWXG: number;
3956
- /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by group. */
3957
- const S_IRGRP: number;
3958
- /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by group. */
3959
- const S_IWGRP: number;
3960
- /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by group. */
3961
- const S_IXGRP: number;
3962
- /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by others. */
3963
- const S_IRWXO: number;
3964
- /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by others. */
3965
- const S_IROTH: number;
3966
- /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by others. */
3967
- const S_IWOTH: number;
3968
- /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by others. */
3969
- const S_IXOTH: number;
3970
- /**
3971
- * When set, a memory file mapping is used to access the file. This flag
3972
- * is available on Windows operating systems only. On other operating systems,
3973
- * this flag is ignored.
3974
- */
3975
- const UV_FS_O_FILEMAP: number;
3976
- }
3977
- /**
3978
- * Tests a user's permissions for the file or directory specified by `path`.
3979
- * The `mode` argument is an optional integer that specifies the accessibility
3980
- * checks to be performed. `mode` should be either the value `fs.constants.F_OK` or a mask consisting of the bitwise OR of any of `fs.constants.R_OK`, `fs.constants.W_OK`, and `fs.constants.X_OK`
3981
- * (e.g.`fs.constants.W_OK | fs.constants.R_OK`). Check `File access constants` for
3982
- * possible values of `mode`.
3983
- *
3984
- * The final argument, `callback`, is a callback function that is invoked with
3985
- * a possible error argument. If any of the accessibility checks fail, the error
3986
- * argument will be an `Error` object. The following examples check if `package.json` exists, and if it is readable or writable.
3987
- *
3988
- * ```js
3989
- * import { access, constants } from 'node:fs';
3990
- *
3991
- * const file = 'package.json';
3992
- *
3993
- * // Check if the file exists in the current directory.
3994
- * access(file, constants.F_OK, (err) => {
3995
- * console.log(`${file} ${err ? 'does not exist' : 'exists'}`);
3996
- * });
3997
- *
3998
- * // Check if the file is readable.
3999
- * access(file, constants.R_OK, (err) => {
4000
- * console.log(`${file} ${err ? 'is not readable' : 'is readable'}`);
4001
- * });
4002
- *
4003
- * // Check if the file is writable.
4004
- * access(file, constants.W_OK, (err) => {
4005
- * console.log(`${file} ${err ? 'is not writable' : 'is writable'}`);
4006
- * });
4007
- *
4008
- * // Check if the file is readable and writable.
4009
- * access(file, constants.R_OK | constants.W_OK, (err) => {
4010
- * console.log(`${file} ${err ? 'is not' : 'is'} readable and writable`);
4011
- * });
4012
- * ```
4013
- *
4014
- * Do not use `fs.access()` to check for the accessibility of a file before calling `fs.open()`, `fs.readFile()`, or `fs.writeFile()`. Doing
4015
- * so introduces a race condition, since other processes may change the file's
4016
- * state between the two calls. Instead, user code should open/read/write the
4017
- * file directly and handle the error raised if the file is not accessible.
4018
- *
4019
- * **write (NOT RECOMMENDED)**
4020
- *
4021
- * ```js
4022
- * import { access, open, close } from 'node:fs';
4023
- *
4024
- * access('myfile', (err) => {
4025
- * if (!err) {
4026
- * console.error('myfile already exists');
4027
- * return;
4028
- * }
4029
- *
4030
- * open('myfile', 'wx', (err, fd) => {
4031
- * if (err) throw err;
4032
- *
4033
- * try {
4034
- * writeMyData(fd);
4035
- * } finally {
4036
- * close(fd, (err) => {
4037
- * if (err) throw err;
4038
- * });
4039
- * }
4040
- * });
4041
- * });
4042
- * ```
4043
- *
4044
- * **write (RECOMMENDED)**
4045
- *
4046
- * ```js
4047
- * import { open, close } from 'node:fs';
4048
- *
4049
- * open('myfile', 'wx', (err, fd) => {
4050
- * if (err) {
4051
- * if (err.code === 'EEXIST') {
4052
- * console.error('myfile already exists');
4053
- * return;
4054
- * }
4055
- *
4056
- * throw err;
4057
- * }
4058
- *
4059
- * try {
4060
- * writeMyData(fd);
4061
- * } finally {
4062
- * close(fd, (err) => {
4063
- * if (err) throw err;
4064
- * });
4065
- * }
4066
- * });
4067
- * ```
4068
- *
4069
- * **read (NOT RECOMMENDED)**
4070
- *
4071
- * ```js
4072
- * import { access, open, close } from 'node:fs';
4073
- * access('myfile', (err) => {
4074
- * if (err) {
4075
- * if (err.code === 'ENOENT') {
4076
- * console.error('myfile does not exist');
4077
- * return;
4078
- * }
4079
- *
4080
- * throw err;
4081
- * }
4082
- *
4083
- * open('myfile', 'r', (err, fd) => {
4084
- * if (err) throw err;
4085
- *
4086
- * try {
4087
- * readMyData(fd);
4088
- * } finally {
4089
- * close(fd, (err) => {
4090
- * if (err) throw err;
4091
- * });
4092
- * }
4093
- * });
4094
- * });
4095
- * ```
4096
- *
4097
- * **read (RECOMMENDED)**
4098
- *
4099
- * ```js
4100
- * import { open, close } from 'node:fs';
4101
- *
4102
- * open('myfile', 'r', (err, fd) => {
4103
- * if (err) {
4104
- * if (err.code === 'ENOENT') {
4105
- * console.error('myfile does not exist');
4106
- * return;
4107
- * }
4108
- *
4109
- * throw err;
4110
- * }
4111
- *
4112
- * try {
4113
- * readMyData(fd);
4114
- * } finally {
4115
- * close(fd, (err) => {
4116
- * if (err) throw err;
4117
- * });
4118
- * }
4119
- * });
4120
- * ```
4121
- *
4122
- * The "not recommended" examples above check for accessibility and then use the
4123
- * file; the "recommended" examples are better because they use the file directly
4124
- * and handle the error, if any.
4125
- *
4126
- * In general, check for the accessibility of a file only if the file will not be
4127
- * used directly, for example when its accessibility is a signal from another
4128
- * process.
4129
- *
4130
- * On Windows, access-control policies (ACLs) on a directory may limit access to
4131
- * a file or directory. The `fs.access()` function, however, does not check the
4132
- * ACL and therefore may report that a path is accessible even if the ACL restricts
4133
- * the user from reading or writing to it.
4134
- * @since v0.11.15
4135
- * @param [mode=fs.constants.F_OK]
4136
- */
4137
- function access(path: PathLike, mode: number | undefined, callback: NoParamCallback): void;
4138
- /**
4139
- * Asynchronously tests a user's permissions for the file specified by path.
4140
- * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
4141
- */
4142
- function access(path: PathLike, callback: NoParamCallback): void;
4143
- namespace access {
4144
- /**
4145
- * Asynchronously tests a user's permissions for the file specified by path.
4146
- * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
4147
- * URL support is _experimental_.
4148
- */
4149
- function __promisify__(path: PathLike, mode?: number): Promise<void>;
4150
- }
4151
- /**
4152
- * Synchronously tests a user's permissions for the file or directory specified
4153
- * by `path`. The `mode` argument is an optional integer that specifies the
4154
- * accessibility checks to be performed. `mode` should be either the value `fs.constants.F_OK` or a mask consisting of the bitwise OR of any of `fs.constants.R_OK`, `fs.constants.W_OK`, and
4155
- * `fs.constants.X_OK` (e.g.`fs.constants.W_OK | fs.constants.R_OK`). Check `File access constants` for
4156
- * possible values of `mode`.
4157
- *
4158
- * If any of the accessibility checks fail, an `Error` will be thrown. Otherwise,
4159
- * the method will return `undefined`.
4160
- *
4161
- * ```js
4162
- * import { accessSync, constants } from 'node:fs';
4163
- *
4164
- * try {
4165
- * accessSync('etc/passwd', constants.R_OK | constants.W_OK);
4166
- * console.log('can read/write');
4167
- * } catch (err) {
4168
- * console.error('no access!');
4169
- * }
4170
- * ```
4171
- * @since v0.11.15
4172
- * @param [mode=fs.constants.F_OK]
4173
- */
4174
- function accessSync(path: PathLike, mode?: number): void;
4175
- interface StreamOptions {
4176
- flags?: string | undefined;
4177
- encoding?: BufferEncoding | undefined;
4178
- fd?: number | FileHandle | undefined;
4179
- mode?: number | undefined;
4180
- autoClose?: boolean | undefined;
4181
- emitClose?: boolean | undefined;
4182
- start?: number | undefined;
4183
- signal?: AbortSignal | null | undefined;
4184
- highWaterMark?: number | undefined;
4185
- }
4186
- interface FSImplementation {
4187
- open?: (...args: any[]) => any;
4188
- close?: (...args: any[]) => any;
4189
- }
4190
- interface CreateReadStreamFSImplementation extends FSImplementation {
4191
- read: (...args: any[]) => any;
4192
- }
4193
- interface CreateWriteStreamFSImplementation extends FSImplementation {
4194
- write: (...args: any[]) => any;
4195
- writev?: (...args: any[]) => any;
4196
- }
4197
- interface ReadStreamOptions extends StreamOptions {
4198
- fs?: CreateReadStreamFSImplementation | null | undefined;
4199
- end?: number | undefined;
4200
- }
4201
- interface WriteStreamOptions extends StreamOptions {
4202
- fs?: CreateWriteStreamFSImplementation | null | undefined;
4203
- flush?: boolean | undefined;
4204
- }
4205
- /**
4206
- * `options` can include `start` and `end` values to read a range of bytes from
4207
- * the file instead of the entire file. Both `start` and `end` are inclusive and
4208
- * start counting at 0, allowed values are in the
4209
- * \[0, [`Number.MAX_SAFE_INTEGER`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER)\] range. If `fd` is specified and `start` is
4210
- * omitted or `undefined`, `fs.createReadStream()` reads sequentially from the
4211
- * current file position. The `encoding` can be any one of those accepted by `Buffer`.
4212
- *
4213
- * If `fd` is specified, `ReadStream` will ignore the `path` argument and will use
4214
- * the specified file descriptor. This means that no `'open'` event will be
4215
- * emitted. `fd` should be blocking; non-blocking `fd`s should be passed to `net.Socket`.
4216
- *
4217
- * If `fd` points to a character device that only supports blocking reads
4218
- * (such as keyboard or sound card), read operations do not finish until data is
4219
- * available. This can prevent the process from exiting and the stream from
4220
- * closing naturally.
4221
- *
4222
- * By default, the stream will emit a `'close'` event after it has been
4223
- * destroyed. Set the `emitClose` option to `false` to change this behavior.
4224
- *
4225
- * By providing the `fs` option, it is possible to override the corresponding `fs` implementations for `open`, `read`, and `close`. When providing the `fs` option,
4226
- * an override for `read` is required. If no `fd` is provided, an override for `open` is also required. If `autoClose` is `true`, an override for `close` is
4227
- * also required.
4228
- *
4229
- * ```js
4230
- * import { createReadStream } from 'node:fs';
4231
- *
4232
- * // Create a stream from some character device.
4233
- * const stream = createReadStream('/dev/input/event0');
4234
- * setTimeout(() => {
4235
- * stream.close(); // This may not close the stream.
4236
- * // Artificially marking end-of-stream, as if the underlying resource had
4237
- * // indicated end-of-file by itself, allows the stream to close.
4238
- * // This does not cancel pending read operations, and if there is such an
4239
- * // operation, the process may still not be able to exit successfully
4240
- * // until it finishes.
4241
- * stream.push(null);
4242
- * stream.read(0);
4243
- * }, 100);
4244
- * ```
4245
- *
4246
- * If `autoClose` is false, then the file descriptor won't be closed, even if
4247
- * there's an error. It is the application's responsibility to close it and make
4248
- * sure there's no file descriptor leak. If `autoClose` is set to true (default
4249
- * behavior), on `'error'` or `'end'` the file descriptor will be closed
4250
- * automatically.
4251
- *
4252
- * `mode` sets the file mode (permission and sticky bits), but only if the
4253
- * file was created.
4254
- *
4255
- * An example to read the last 10 bytes of a file which is 100 bytes long:
4256
- *
4257
- * ```js
4258
- * import { createReadStream } from 'node:fs';
4259
- *
4260
- * createReadStream('sample.txt', { start: 90, end: 99 });
4261
- * ```
4262
- *
4263
- * If `options` is a string, then it specifies the encoding.
4264
- * @since v0.1.31
4265
- */
4266
- function createReadStream(path: PathLike, options?: BufferEncoding | ReadStreamOptions): ReadStream;
4267
- /**
4268
- * `options` may also include a `start` option to allow writing data at some
4269
- * position past the beginning of the file, allowed values are in the
4270
- * \[0, [`Number.MAX_SAFE_INTEGER`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER)\] range. Modifying a file rather than
4271
- * replacing it may require the `flags` option to be set to `r+` rather than the
4272
- * default `w`. The `encoding` can be any one of those accepted by `Buffer`.
4273
- *
4274
- * If `autoClose` is set to true (default behavior) on `'error'` or `'finish'` the file descriptor will be closed automatically. If `autoClose` is false,
4275
- * then the file descriptor won't be closed, even if there's an error.
4276
- * It is the application's responsibility to close it and make sure there's no
4277
- * file descriptor leak.
4278
- *
4279
- * By default, the stream will emit a `'close'` event after it has been
4280
- * destroyed. Set the `emitClose` option to `false` to change this behavior.
4281
- *
4282
- * By providing the `fs` option it is possible to override the corresponding `fs` implementations for `open`, `write`, `writev`, and `close`. Overriding `write()` without `writev()` can reduce
4283
- * performance as some optimizations (`_writev()`)
4284
- * will be disabled. When providing the `fs` option, overrides for at least one of `write` and `writev` are required. If no `fd` option is supplied, an override
4285
- * for `open` is also required. If `autoClose` is `true`, an override for `close` is also required.
4286
- *
4287
- * Like `fs.ReadStream`, if `fd` is specified, `fs.WriteStream` will ignore the `path` argument and will use the specified file descriptor. This means that no `'open'` event will be
4288
- * emitted. `fd` should be blocking; non-blocking `fd`s
4289
- * should be passed to `net.Socket`.
4290
- *
4291
- * If `options` is a string, then it specifies the encoding.
4292
- * @since v0.1.31
4293
- */
4294
- function createWriteStream(path: PathLike, options?: BufferEncoding | WriteStreamOptions): WriteStream;
4295
- /**
4296
- * Forces all currently queued I/O operations associated with the file to the
4297
- * operating system's synchronized I/O completion state. Refer to the POSIX [`fdatasync(2)`](http://man7.org/linux/man-pages/man2/fdatasync.2.html) documentation for details. No arguments other
4298
- * than a possible
4299
- * exception are given to the completion callback.
4300
- * @since v0.1.96
4301
- */
4302
- function fdatasync(fd: number, callback: NoParamCallback): void;
4303
- namespace fdatasync {
4304
- /**
4305
- * Asynchronous fdatasync(2) - synchronize a file's in-core state with storage device.
4306
- * @param fd A file descriptor.
4307
- */
4308
- function __promisify__(fd: number): Promise<void>;
4309
- }
4310
- /**
4311
- * Forces all currently queued I/O operations associated with the file to the
4312
- * operating system's synchronized I/O completion state. Refer to the POSIX [`fdatasync(2)`](http://man7.org/linux/man-pages/man2/fdatasync.2.html) documentation for details. Returns `undefined`.
4313
- * @since v0.1.96
4314
- */
4315
- function fdatasyncSync(fd: number): void;
4316
- /**
4317
- * Asynchronously copies `src` to `dest`. By default, `dest` is overwritten if it
4318
- * already exists. No arguments other than a possible exception are given to the
4319
- * callback function. Node.js makes no guarantees about the atomicity of the copy
4320
- * operation. If an error occurs after the destination file has been opened for
4321
- * writing, Node.js will attempt to remove the destination.
4322
- *
4323
- * `mode` is an optional integer that specifies the behavior
4324
- * of the copy operation. It is possible to create a mask consisting of the bitwise
4325
- * OR of two or more values (e.g.`fs.constants.COPYFILE_EXCL | fs.constants.COPYFILE_FICLONE`).
4326
- *
4327
- * * `fs.constants.COPYFILE_EXCL`: The copy operation will fail if `dest` already
4328
- * exists.
4329
- * * `fs.constants.COPYFILE_FICLONE`: The copy operation will attempt to create a
4330
- * copy-on-write reflink. If the platform does not support copy-on-write, then a
4331
- * fallback copy mechanism is used.
4332
- * * `fs.constants.COPYFILE_FICLONE_FORCE`: The copy operation will attempt to
4333
- * create a copy-on-write reflink. If the platform does not support
4334
- * copy-on-write, then the operation will fail.
4335
- *
4336
- * ```js
4337
- * import { copyFile, constants } from 'node:fs';
4338
- *
4339
- * function callback(err) {
4340
- * if (err) throw err;
4341
- * console.log('source.txt was copied to destination.txt');
4342
- * }
4343
- *
4344
- * // destination.txt will be created or overwritten by default.
4345
- * copyFile('source.txt', 'destination.txt', callback);
4346
- *
4347
- * // By using COPYFILE_EXCL, the operation will fail if destination.txt exists.
4348
- * copyFile('source.txt', 'destination.txt', constants.COPYFILE_EXCL, callback);
4349
- * ```
4350
- * @since v8.5.0
4351
- * @param src source filename to copy
4352
- * @param dest destination filename of the copy operation
4353
- * @param [mode=0] modifiers for copy operation.
4354
- */
4355
- function copyFile(src: PathLike, dest: PathLike, callback: NoParamCallback): void;
4356
- function copyFile(src: PathLike, dest: PathLike, mode: number, callback: NoParamCallback): void;
4357
- namespace copyFile {
4358
- function __promisify__(src: PathLike, dst: PathLike, mode?: number): Promise<void>;
4359
- }
4360
- /**
4361
- * Synchronously copies `src` to `dest`. By default, `dest` is overwritten if it
4362
- * already exists. Returns `undefined`. Node.js makes no guarantees about the
4363
- * atomicity of the copy operation. If an error occurs after the destination file
4364
- * has been opened for writing, Node.js will attempt to remove the destination.
4365
- *
4366
- * `mode` is an optional integer that specifies the behavior
4367
- * of the copy operation. It is possible to create a mask consisting of the bitwise
4368
- * OR of two or more values (e.g.`fs.constants.COPYFILE_EXCL | fs.constants.COPYFILE_FICLONE`).
4369
- *
4370
- * * `fs.constants.COPYFILE_EXCL`: The copy operation will fail if `dest` already
4371
- * exists.
4372
- * * `fs.constants.COPYFILE_FICLONE`: The copy operation will attempt to create a
4373
- * copy-on-write reflink. If the platform does not support copy-on-write, then a
4374
- * fallback copy mechanism is used.
4375
- * * `fs.constants.COPYFILE_FICLONE_FORCE`: The copy operation will attempt to
4376
- * create a copy-on-write reflink. If the platform does not support
4377
- * copy-on-write, then the operation will fail.
4378
- *
4379
- * ```js
4380
- * import { copyFileSync, constants } from 'node:fs';
4381
- *
4382
- * // destination.txt will be created or overwritten by default.
4383
- * copyFileSync('source.txt', 'destination.txt');
4384
- * console.log('source.txt was copied to destination.txt');
4385
- *
4386
- * // By using COPYFILE_EXCL, the operation will fail if destination.txt exists.
4387
- * copyFileSync('source.txt', 'destination.txt', constants.COPYFILE_EXCL);
4388
- * ```
4389
- * @since v8.5.0
4390
- * @param src source filename to copy
4391
- * @param dest destination filename of the copy operation
4392
- * @param [mode=0] modifiers for copy operation.
4393
- */
4394
- function copyFileSync(src: PathLike, dest: PathLike, mode?: number): void;
4395
- /**
4396
- * Write an array of `ArrayBufferView`s to the file specified by `fd` using `writev()`.
4397
- *
4398
- * `position` is the offset from the beginning of the file where this data
4399
- * should be written. If `typeof position !== 'number'`, the data will be written
4400
- * at the current position.
4401
- *
4402
- * The callback will be given three arguments: `err`, `bytesWritten`, and `buffers`. `bytesWritten` is how many bytes were written from `buffers`.
4403
- *
4404
- * If this method is `util.promisify()` ed, it returns a promise for an `Object` with `bytesWritten` and `buffers` properties.
4405
- *
4406
- * It is unsafe to use `fs.writev()` multiple times on the same file without
4407
- * waiting for the callback. For this scenario, use {@link createWriteStream}.
4408
- *
4409
- * On Linux, positional writes don't work when the file is opened in append mode.
4410
- * The kernel ignores the position argument and always appends the data to
4411
- * the end of the file.
4412
- * @since v12.9.0
4413
- * @param [position='null']
4414
- */
4415
- function writev<TBuffers extends readonly NodeJS.ArrayBufferView[]>(
4416
- fd: number,
4417
- buffers: TBuffers,
4418
- cb: (err: NodeJS.ErrnoException | null, bytesWritten: number, buffers: TBuffers) => void,
4419
- ): void;
4420
- function writev<TBuffers extends readonly NodeJS.ArrayBufferView[]>(
4421
- fd: number,
4422
- buffers: TBuffers,
4423
- position: number | null,
4424
- cb: (err: NodeJS.ErrnoException | null, bytesWritten: number, buffers: TBuffers) => void,
4425
- ): void;
4426
- // Providing a default type parameter doesn't provide true BC for userland consumers, but at least suppresses TS2314
4427
- // TODO: remove default in future major version
4428
- interface WriteVResult<T extends readonly NodeJS.ArrayBufferView[] = NodeJS.ArrayBufferView[]> {
4429
- bytesWritten: number;
4430
- buffers: T;
4431
- }
4432
- namespace writev {
4433
- function __promisify__<TBuffers extends readonly NodeJS.ArrayBufferView[]>(
4434
- fd: number,
4435
- buffers: TBuffers,
4436
- position?: number,
4437
- ): Promise<WriteVResult<TBuffers>>;
4438
- }
4439
- /**
4440
- * For detailed information, see the documentation of the asynchronous version of
4441
- * this API: {@link writev}.
4442
- * @since v12.9.0
4443
- * @param [position='null']
4444
- * @return The number of bytes written.
4445
- */
4446
- function writevSync(fd: number, buffers: readonly NodeJS.ArrayBufferView[], position?: number): number;
4447
- /**
4448
- * Read from a file specified by `fd` and write to an array of `ArrayBufferView`s
4449
- * using `readv()`.
4450
- *
4451
- * `position` is the offset from the beginning of the file from where data
4452
- * should be read. If `typeof position !== 'number'`, the data will be read
4453
- * from the current position.
4454
- *
4455
- * The callback will be given three arguments: `err`, `bytesRead`, and `buffers`. `bytesRead` is how many bytes were read from the file.
4456
- *
4457
- * If this method is invoked as its `util.promisify()` ed version, it returns
4458
- * a promise for an `Object` with `bytesRead` and `buffers` properties.
4459
- * @since v13.13.0, v12.17.0
4460
- * @param [position='null']
4461
- */
4462
- function readv<TBuffers extends readonly NodeJS.ArrayBufferView[]>(
4463
- fd: number,
4464
- buffers: TBuffers,
4465
- cb: (err: NodeJS.ErrnoException | null, bytesRead: number, buffers: TBuffers) => void,
4466
- ): void;
4467
- function readv<TBuffers extends readonly NodeJS.ArrayBufferView[]>(
4468
- fd: number,
4469
- buffers: TBuffers,
4470
- position: number | null,
4471
- cb: (err: NodeJS.ErrnoException | null, bytesRead: number, buffers: TBuffers) => void,
4472
- ): void;
4473
- // Providing a default type parameter doesn't provide true BC for userland consumers, but at least suppresses TS2314
4474
- // TODO: remove default in future major version
4475
- interface ReadVResult<T extends readonly NodeJS.ArrayBufferView[] = NodeJS.ArrayBufferView[]> {
4476
- bytesRead: number;
4477
- buffers: T;
4478
- }
4479
- namespace readv {
4480
- function __promisify__<TBuffers extends readonly NodeJS.ArrayBufferView[]>(
4481
- fd: number,
4482
- buffers: TBuffers,
4483
- position?: number,
4484
- ): Promise<ReadVResult<TBuffers>>;
4485
- }
4486
- /**
4487
- * For detailed information, see the documentation of the asynchronous version of
4488
- * this API: {@link readv}.
4489
- * @since v13.13.0, v12.17.0
4490
- * @param [position='null']
4491
- * @return The number of bytes read.
4492
- */
4493
- function readvSync(fd: number, buffers: readonly NodeJS.ArrayBufferView[], position?: number): number;
4494
-
4495
- interface OpenAsBlobOptions {
4496
- /**
4497
- * An optional mime type for the blob.
4498
- *
4499
- * @default 'undefined'
4500
- */
4501
- type?: string | undefined;
4502
- }
4503
-
4504
- /**
4505
- * Returns a `Blob` whose data is backed by the given file.
4506
- *
4507
- * The file must not be modified after the `Blob` is created. Any modifications
4508
- * will cause reading the `Blob` data to fail with a `DOMException` error.
4509
- * Synchronous stat operations on the file when the `Blob` is created, and before
4510
- * each read in order to detect whether the file data has been modified on disk.
4511
- *
4512
- * ```js
4513
- * import { openAsBlob } from 'node:fs';
4514
- *
4515
- * const blob = await openAsBlob('the.file.txt');
4516
- * const ab = await blob.arrayBuffer();
4517
- * blob.stream();
4518
- * ```
4519
- * @since v19.8.0
4520
- */
4521
- function openAsBlob(path: PathLike, options?: OpenAsBlobOptions): Promise<Blob>;
4522
-
4523
- interface OpenDirOptions {
4524
- /**
4525
- * @default 'utf8'
4526
- */
4527
- encoding?: BufferEncoding | undefined;
4528
- /**
4529
- * Number of directory entries that are buffered
4530
- * internally when reading from the directory. Higher values lead to better
4531
- * performance but higher memory usage.
4532
- * @default 32
4533
- */
4534
- bufferSize?: number | undefined;
4535
- /**
4536
- * @default false
4537
- */
4538
- recursive?: boolean | undefined;
4539
- }
4540
- /**
4541
- * Synchronously open a directory. See [`opendir(3)`](http://man7.org/linux/man-pages/man3/opendir.3.html).
4542
- *
4543
- * Creates an `fs.Dir`, which contains all further functions for reading from
4544
- * and cleaning up the directory.
4545
- *
4546
- * The `encoding` option sets the encoding for the `path` while opening the
4547
- * directory and subsequent read operations.
4548
- * @since v12.12.0
4549
- */
4550
- function opendirSync(path: PathLike, options?: OpenDirOptions): Dir;
4551
- /**
4552
- * Asynchronously open a directory. See the POSIX [`opendir(3)`](http://man7.org/linux/man-pages/man3/opendir.3.html) documentation for
4553
- * more details.
4554
- *
4555
- * Creates an `fs.Dir`, which contains all further functions for reading from
4556
- * and cleaning up the directory.
4557
- *
4558
- * The `encoding` option sets the encoding for the `path` while opening the
4559
- * directory and subsequent read operations.
4560
- * @since v12.12.0
4561
- */
4562
- function opendir(path: PathLike, cb: (err: NodeJS.ErrnoException | null, dir: Dir) => void): void;
4563
- function opendir(
4564
- path: PathLike,
4565
- options: OpenDirOptions,
4566
- cb: (err: NodeJS.ErrnoException | null, dir: Dir) => void,
4567
- ): void;
4568
- namespace opendir {
4569
- function __promisify__(path: PathLike, options?: OpenDirOptions): Promise<Dir>;
4570
- }
4571
- interface BigIntStats extends StatsBase<bigint> {
4572
- atimeNs: bigint;
4573
- mtimeNs: bigint;
4574
- ctimeNs: bigint;
4575
- birthtimeNs: bigint;
4576
- }
4577
- interface BigIntOptions {
4578
- bigint: true;
4579
- }
4580
- interface StatOptions {
4581
- // TODO: add signal option once we sort its behavior out upstream
4582
- bigint?: boolean | undefined;
4583
- throwIfNoEntry?: boolean | undefined;
4584
- }
4585
- /** @deprecated This orphaned interface will be removed in a future version. Use `StatOptions` instead. */
4586
- interface StatSyncOptions extends StatOptions {}
4587
- interface CopyOptionsBase {
4588
- /**
4589
- * Dereference symlinks
4590
- * @default false
4591
- */
4592
- dereference?: boolean | undefined;
4593
- /**
4594
- * When `force` is `false`, and the destination
4595
- * exists, throw an error.
4596
- * @default false
4597
- */
4598
- errorOnExist?: boolean | undefined;
4599
- /**
4600
- * Overwrite existing file or directory. _The copy
4601
- * operation will ignore errors if you set this to false and the destination
4602
- * exists. Use the `errorOnExist` option to change this behavior.
4603
- * @default true
4604
- */
4605
- force?: boolean | undefined;
4606
- /**
4607
- * Modifiers for copy operation. See `mode` flag of {@link copyFileSync()}
4608
- */
4609
- mode?: number | undefined;
4610
- /**
4611
- * When `true` timestamps from `src` will
4612
- * be preserved.
4613
- * @default false
4614
- */
4615
- preserveTimestamps?: boolean | undefined;
4616
- /**
4617
- * Copy directories recursively.
4618
- * @default false
4619
- */
4620
- recursive?: boolean | undefined;
4621
- /**
4622
- * When true, path resolution for symlinks will be skipped
4623
- * @default false
4624
- */
4625
- verbatimSymlinks?: boolean | undefined;
4626
- }
4627
- interface CopyOptions extends CopyOptionsBase {
4628
- /**
4629
- * Function to filter copied files/directories. Return
4630
- * `true` to copy the item, `false` to ignore it.
4631
- */
4632
- filter?: ((source: string, destination: string) => boolean | Promise<boolean>) | undefined;
4633
- }
4634
- interface CopySyncOptions extends CopyOptionsBase {
4635
- /**
4636
- * Function to filter copied files/directories. Return
4637
- * `true` to copy the item, `false` to ignore it.
4638
- */
4639
- filter?: ((source: string, destination: string) => boolean) | undefined;
4640
- }
4641
- /**
4642
- * Asynchronously copies the entire directory structure from `src` to `dest`,
4643
- * including subdirectories and files.
4644
- *
4645
- * When copying a directory to another directory, globs are not supported and
4646
- * behavior is similar to `cp dir1/ dir2/`.
4647
- * @since v16.7.0
4648
- * @experimental
4649
- * @param src source path to copy.
4650
- * @param dest destination path to copy to.
4651
- */
4652
- function cp(
4653
- source: string | URL,
4654
- destination: string | URL,
4655
- callback: (err: NodeJS.ErrnoException | null) => void,
4656
- ): void;
4657
- function cp(
4658
- source: string | URL,
4659
- destination: string | URL,
4660
- opts: CopyOptions,
4661
- callback: (err: NodeJS.ErrnoException | null) => void,
4662
- ): void;
4663
- /**
4664
- * Synchronously copies the entire directory structure from `src` to `dest`,
4665
- * including subdirectories and files.
4666
- *
4667
- * When copying a directory to another directory, globs are not supported and
4668
- * behavior is similar to `cp dir1/ dir2/`.
4669
- * @since v16.7.0
4670
- * @experimental
4671
- * @param src source path to copy.
4672
- * @param dest destination path to copy to.
4673
- */
4674
- function cpSync(source: string | URL, destination: string | URL, opts?: CopySyncOptions): void;
4675
- interface GlobOptions<T extends Dirent | string = Dirent | string> {
4676
- /**
4677
- * Current working directory.
4678
- * @default process.cwd()
4679
- */
4680
- cwd?: string | URL | undefined;
4681
- /**
4682
- * Function to filter out files/directories or a
4683
- * list of glob patterns to be excluded. If a function is provided, return
4684
- * `true` to exclude the item, `false` to include it.
4685
- * If a string array is provided, each string should be a glob pattern that
4686
- * specifies paths to exclude. Note: Negation patterns (e.g., '!foo.js') are
4687
- * not supported.
4688
- * @default undefined
4689
- */
4690
- exclude?: ((fileName: T) => boolean) | readonly string[] | undefined;
4691
- /**
4692
- * When `true`, symbolic links to directories are
4693
- * followed while expanding `**` patterns.
4694
- * @default false
4695
- */
4696
- followSymlinks?: boolean | undefined;
4697
- /**
4698
- * `true` if the glob should return paths as `Dirent`s, `false` otherwise.
4699
- * @default false
4700
- * @since v22.2.0
4701
- */
4702
- withFileTypes?: boolean | undefined;
4703
- }
4704
- interface GlobOptionsWithFileTypes extends GlobOptions<Dirent> {
4705
- withFileTypes: true;
4706
- }
4707
- interface GlobOptionsWithoutFileTypes extends GlobOptions<string> {
4708
- withFileTypes?: false | undefined;
4709
- }
4710
-
4711
- /**
4712
- * Retrieves the files matching the specified pattern.
4713
- *
4714
- * When `followSymlinks` is enabled, detected symbolic link cycles are not
4715
- * traversed recursively.
4716
- *
4717
- * ```js
4718
- * import { glob } from 'node:fs';
4719
- *
4720
- * glob('*.js', (err, matches) => {
4721
- * if (err) throw err;
4722
- * console.log(matches);
4723
- * });
4724
- * ```
4725
- * @since v22.0.0
4726
- */
4727
- function glob(
4728
- pattern: string | readonly string[],
4729
- callback: (err: NodeJS.ErrnoException | null, matches: string[]) => void,
4730
- ): void;
4731
- function glob(
4732
- pattern: string | readonly string[],
4733
- options: GlobOptionsWithFileTypes,
4734
- callback: (
4735
- err: NodeJS.ErrnoException | null,
4736
- matches: Dirent[],
4737
- ) => void,
4738
- ): void;
4739
- function glob(
4740
- pattern: string | readonly string[],
4741
- options: GlobOptionsWithoutFileTypes,
4742
- callback: (
4743
- err: NodeJS.ErrnoException | null,
4744
- matches: string[],
4745
- ) => void,
4746
- ): void;
4747
- function glob(
4748
- pattern: string | readonly string[],
4749
- options: GlobOptions,
4750
- callback: (
4751
- err: NodeJS.ErrnoException | null,
4752
- matches: Dirent[] | string[],
4753
- ) => void,
4754
- ): void;
4755
- /**
4756
- * When `followSymlinks` is enabled, detected symbolic link cycles are not
4757
- * traversed recursively.
4758
- *
4759
- * ```js
4760
- * import { globSync } from 'node:fs';
4761
- *
4762
- * console.log(globSync('*.js'));
4763
- * ```
4764
- * @since v22.0.0
4765
- * @returns paths of files that match the pattern.
4766
- */
4767
- function globSync(pattern: string | readonly string[]): string[];
4768
- function globSync(
4769
- pattern: string | readonly string[],
4770
- options: GlobOptionsWithFileTypes,
4771
- ): Dirent[];
4772
- function globSync(
4773
- pattern: string | readonly string[],
4774
- options: GlobOptionsWithoutFileTypes,
4775
- ): string[];
4776
- function globSync(
4777
- pattern: string | readonly string[],
4778
- options: GlobOptions,
4779
- ): Dirent[] | string[];
4780
- }
4781
- declare module "node:fs" {
4782
- export * as promises from "node:fs/promises";
4783
- }
4784
- declare module "fs" {
4785
- export * from "node:fs";
4786
- }