create-leo-app 0.7.3 → 0.8.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (280) hide show
  1. package/README.md +3 -3
  2. package/dist/index.mjs +38 -38
  3. package/package.json +5 -7
  4. package/template-extension/package.json +4 -4
  5. package/template-nextjs-ts/package.json +9 -9
  6. package/template-node/package.json +2 -2
  7. package/template-node-ts/package.json +5 -5
  8. package/template-offline-public-transaction-ts/package.json +5 -5
  9. package/template-react-leo/README.md +3 -8
  10. package/template-react-leo/package.json +23 -23
  11. package/template-react-leo/vite.config.js +2 -1
  12. package/template-react-managed-worker/README.md +1 -3
  13. package/template-react-managed-worker/package.json +22 -22
  14. package/template-react-managed-worker/vite.config.js +2 -1
  15. package/template-react-ts/README.md +3 -8
  16. package/template-react-ts/package.json +28 -28
  17. package/template-react-ts/vite.config.ts +2 -1
  18. package/template-vanilla/main.js +1 -1
  19. package/template-vanilla/package.json +3 -3
  20. package/template-vanilla/vite.config.js +3 -1
  21. package/template-nextjs-ts/node_modules/@types/node/LICENSE +0 -21
  22. package/template-nextjs-ts/node_modules/@types/node/README.md +0 -15
  23. package/template-nextjs-ts/node_modules/@types/node/assert/strict.d.ts +0 -8
  24. package/template-nextjs-ts/node_modules/@types/node/assert.d.ts +0 -1040
  25. package/template-nextjs-ts/node_modules/@types/node/async_hooks.d.ts +0 -541
  26. package/template-nextjs-ts/node_modules/@types/node/buffer.d.ts +0 -2301
  27. package/template-nextjs-ts/node_modules/@types/node/child_process.d.ts +0 -1544
  28. package/template-nextjs-ts/node_modules/@types/node/cluster.d.ts +0 -578
  29. package/template-nextjs-ts/node_modules/@types/node/console.d.ts +0 -452
  30. package/template-nextjs-ts/node_modules/@types/node/constants.d.ts +0 -19
  31. package/template-nextjs-ts/node_modules/@types/node/crypto.d.ts +0 -4524
  32. package/template-nextjs-ts/node_modules/@types/node/dgram.d.ts +0 -596
  33. package/template-nextjs-ts/node_modules/@types/node/diagnostics_channel.d.ts +0 -554
  34. package/template-nextjs-ts/node_modules/@types/node/dns/promises.d.ts +0 -476
  35. package/template-nextjs-ts/node_modules/@types/node/dns.d.ts +0 -864
  36. package/template-nextjs-ts/node_modules/@types/node/dom-events.d.ts +0 -124
  37. package/template-nextjs-ts/node_modules/@types/node/domain.d.ts +0 -170
  38. package/template-nextjs-ts/node_modules/@types/node/events.d.ts +0 -931
  39. package/template-nextjs-ts/node_modules/@types/node/fs/promises.d.ts +0 -1245
  40. package/template-nextjs-ts/node_modules/@types/node/fs.d.ts +0 -4317
  41. package/template-nextjs-ts/node_modules/@types/node/globals.d.ts +0 -503
  42. package/template-nextjs-ts/node_modules/@types/node/globals.global.d.ts +0 -1
  43. package/template-nextjs-ts/node_modules/@types/node/http.d.ts +0 -1908
  44. package/template-nextjs-ts/node_modules/@types/node/http2.d.ts +0 -2418
  45. package/template-nextjs-ts/node_modules/@types/node/https.d.ts +0 -550
  46. package/template-nextjs-ts/node_modules/@types/node/index.d.ts +0 -89
  47. package/template-nextjs-ts/node_modules/@types/node/inspector.d.ts +0 -3696
  48. package/template-nextjs-ts/node_modules/@types/node/module.d.ts +0 -315
  49. package/template-nextjs-ts/node_modules/@types/node/net.d.ts +0 -999
  50. package/template-nextjs-ts/node_modules/@types/node/os.d.ts +0 -495
  51. package/template-nextjs-ts/node_modules/@types/node/package.json +0 -217
  52. package/template-nextjs-ts/node_modules/@types/node/path.d.ts +0 -191
  53. package/template-nextjs-ts/node_modules/@types/node/perf_hooks.d.ts +0 -934
  54. package/template-nextjs-ts/node_modules/@types/node/process.d.ts +0 -1879
  55. package/template-nextjs-ts/node_modules/@types/node/punycode.d.ts +0 -117
  56. package/template-nextjs-ts/node_modules/@types/node/querystring.d.ts +0 -153
  57. package/template-nextjs-ts/node_modules/@types/node/readline/promises.d.ts +0 -150
  58. package/template-nextjs-ts/node_modules/@types/node/readline.d.ts +0 -540
  59. package/template-nextjs-ts/node_modules/@types/node/repl.d.ts +0 -430
  60. package/template-nextjs-ts/node_modules/@types/node/sea.d.ts +0 -153
  61. package/template-nextjs-ts/node_modules/@types/node/stream/consumers.d.ts +0 -12
  62. package/template-nextjs-ts/node_modules/@types/node/stream/promises.d.ts +0 -83
  63. package/template-nextjs-ts/node_modules/@types/node/stream/web.d.ts +0 -521
  64. package/template-nextjs-ts/node_modules/@types/node/stream.d.ts +0 -1707
  65. package/template-nextjs-ts/node_modules/@types/node/string_decoder.d.ts +0 -67
  66. package/template-nextjs-ts/node_modules/@types/node/test.d.ts +0 -1874
  67. package/template-nextjs-ts/node_modules/@types/node/timers/promises.d.ts +0 -97
  68. package/template-nextjs-ts/node_modules/@types/node/timers.d.ts +0 -240
  69. package/template-nextjs-ts/node_modules/@types/node/tls.d.ts +0 -1217
  70. package/template-nextjs-ts/node_modules/@types/node/trace_events.d.ts +0 -197
  71. package/template-nextjs-ts/node_modules/@types/node/tty.d.ts +0 -208
  72. package/template-nextjs-ts/node_modules/@types/node/url.d.ts +0 -952
  73. package/template-nextjs-ts/node_modules/@types/node/util.d.ts +0 -2298
  74. package/template-nextjs-ts/node_modules/@types/node/v8.d.ts +0 -808
  75. package/template-nextjs-ts/node_modules/@types/node/vm.d.ts +0 -924
  76. package/template-nextjs-ts/node_modules/@types/node/wasi.d.ts +0 -181
  77. package/template-nextjs-ts/node_modules/@types/node/worker_threads.d.ts +0 -694
  78. package/template-nextjs-ts/node_modules/@types/node/zlib.d.ts +0 -539
  79. package/template-react-ts/node_modules/@types/node/LICENSE +0 -21
  80. package/template-react-ts/node_modules/@types/node/README.md +0 -15
  81. package/template-react-ts/node_modules/@types/node/assert/strict.d.ts +0 -8
  82. package/template-react-ts/node_modules/@types/node/assert.d.ts +0 -1040
  83. package/template-react-ts/node_modules/@types/node/async_hooks.d.ts +0 -541
  84. package/template-react-ts/node_modules/@types/node/buffer.d.ts +0 -2301
  85. package/template-react-ts/node_modules/@types/node/child_process.d.ts +0 -1544
  86. package/template-react-ts/node_modules/@types/node/cluster.d.ts +0 -578
  87. package/template-react-ts/node_modules/@types/node/console.d.ts +0 -452
  88. package/template-react-ts/node_modules/@types/node/constants.d.ts +0 -19
  89. package/template-react-ts/node_modules/@types/node/crypto.d.ts +0 -4524
  90. package/template-react-ts/node_modules/@types/node/dgram.d.ts +0 -596
  91. package/template-react-ts/node_modules/@types/node/diagnostics_channel.d.ts +0 -554
  92. package/template-react-ts/node_modules/@types/node/dns/promises.d.ts +0 -476
  93. package/template-react-ts/node_modules/@types/node/dns.d.ts +0 -864
  94. package/template-react-ts/node_modules/@types/node/dom-events.d.ts +0 -124
  95. package/template-react-ts/node_modules/@types/node/domain.d.ts +0 -170
  96. package/template-react-ts/node_modules/@types/node/events.d.ts +0 -931
  97. package/template-react-ts/node_modules/@types/node/fs/promises.d.ts +0 -1245
  98. package/template-react-ts/node_modules/@types/node/fs.d.ts +0 -4317
  99. package/template-react-ts/node_modules/@types/node/globals.d.ts +0 -503
  100. package/template-react-ts/node_modules/@types/node/globals.global.d.ts +0 -1
  101. package/template-react-ts/node_modules/@types/node/http.d.ts +0 -1908
  102. package/template-react-ts/node_modules/@types/node/http2.d.ts +0 -2418
  103. package/template-react-ts/node_modules/@types/node/https.d.ts +0 -550
  104. package/template-react-ts/node_modules/@types/node/index.d.ts +0 -89
  105. package/template-react-ts/node_modules/@types/node/inspector.d.ts +0 -3696
  106. package/template-react-ts/node_modules/@types/node/module.d.ts +0 -315
  107. package/template-react-ts/node_modules/@types/node/net.d.ts +0 -999
  108. package/template-react-ts/node_modules/@types/node/os.d.ts +0 -495
  109. package/template-react-ts/node_modules/@types/node/package.json +0 -217
  110. package/template-react-ts/node_modules/@types/node/path.d.ts +0 -191
  111. package/template-react-ts/node_modules/@types/node/perf_hooks.d.ts +0 -934
  112. package/template-react-ts/node_modules/@types/node/process.d.ts +0 -1879
  113. package/template-react-ts/node_modules/@types/node/punycode.d.ts +0 -117
  114. package/template-react-ts/node_modules/@types/node/querystring.d.ts +0 -153
  115. package/template-react-ts/node_modules/@types/node/readline/promises.d.ts +0 -150
  116. package/template-react-ts/node_modules/@types/node/readline.d.ts +0 -540
  117. package/template-react-ts/node_modules/@types/node/repl.d.ts +0 -430
  118. package/template-react-ts/node_modules/@types/node/sea.d.ts +0 -153
  119. package/template-react-ts/node_modules/@types/node/stream/consumers.d.ts +0 -12
  120. package/template-react-ts/node_modules/@types/node/stream/promises.d.ts +0 -83
  121. package/template-react-ts/node_modules/@types/node/stream/web.d.ts +0 -521
  122. package/template-react-ts/node_modules/@types/node/stream.d.ts +0 -1707
  123. package/template-react-ts/node_modules/@types/node/string_decoder.d.ts +0 -67
  124. package/template-react-ts/node_modules/@types/node/test.d.ts +0 -1874
  125. package/template-react-ts/node_modules/@types/node/timers/promises.d.ts +0 -97
  126. package/template-react-ts/node_modules/@types/node/timers.d.ts +0 -240
  127. package/template-react-ts/node_modules/@types/node/tls.d.ts +0 -1217
  128. package/template-react-ts/node_modules/@types/node/trace_events.d.ts +0 -197
  129. package/template-react-ts/node_modules/@types/node/tty.d.ts +0 -208
  130. package/template-react-ts/node_modules/@types/node/url.d.ts +0 -952
  131. package/template-react-ts/node_modules/@types/node/util.d.ts +0 -2298
  132. package/template-react-ts/node_modules/@types/node/v8.d.ts +0 -808
  133. package/template-react-ts/node_modules/@types/node/vm.d.ts +0 -924
  134. package/template-react-ts/node_modules/@types/node/wasi.d.ts +0 -181
  135. package/template-react-ts/node_modules/@types/node/worker_threads.d.ts +0 -694
  136. package/template-react-ts/node_modules/@types/node/zlib.d.ts +0 -539
  137. package/template-react-ts/node_modules/diff/CONTRIBUTING.md +0 -39
  138. package/template-react-ts/node_modules/diff/LICENSE +0 -31
  139. package/template-react-ts/node_modules/diff/README.md +0 -207
  140. package/template-react-ts/node_modules/diff/dist/diff.js +0 -1585
  141. package/template-react-ts/node_modules/diff/dist/diff.min.js +0 -38
  142. package/template-react-ts/node_modules/diff/lib/convert/dmp.js +0 -32
  143. package/template-react-ts/node_modules/diff/lib/convert/xml.js +0 -42
  144. package/template-react-ts/node_modules/diff/lib/diff/array.js +0 -45
  145. package/template-react-ts/node_modules/diff/lib/diff/base.js +0 -304
  146. package/template-react-ts/node_modules/diff/lib/diff/character.js +0 -37
  147. package/template-react-ts/node_modules/diff/lib/diff/css.js +0 -41
  148. package/template-react-ts/node_modules/diff/lib/diff/json.js +0 -163
  149. package/template-react-ts/node_modules/diff/lib/diff/line.js +0 -89
  150. package/template-react-ts/node_modules/diff/lib/diff/sentence.js +0 -41
  151. package/template-react-ts/node_modules/diff/lib/diff/word.js +0 -107
  152. package/template-react-ts/node_modules/diff/lib/index.es6.js +0 -1519
  153. package/template-react-ts/node_modules/diff/lib/index.js +0 -216
  154. package/template-react-ts/node_modules/diff/lib/patch/apply.js +0 -243
  155. package/template-react-ts/node_modules/diff/lib/patch/create.js +0 -247
  156. package/template-react-ts/node_modules/diff/lib/patch/merge.js +0 -609
  157. package/template-react-ts/node_modules/diff/lib/patch/parse.js +0 -156
  158. package/template-react-ts/node_modules/diff/lib/util/array.js +0 -32
  159. package/template-react-ts/node_modules/diff/lib/util/distance-iterator.js +0 -57
  160. package/template-react-ts/node_modules/diff/lib/util/params.js +0 -24
  161. package/template-react-ts/node_modules/diff/package.json +0 -73
  162. package/template-react-ts/node_modules/diff/release-notes.md +0 -261
  163. package/template-react-ts/node_modules/diff/runtime.js +0 -3
  164. package/template-react-ts/node_modules/ts-node/LICENSE +0 -21
  165. package/template-react-ts/node_modules/ts-node/README.md +0 -1442
  166. package/template-react-ts/node_modules/ts-node/child-loader.mjs +0 -8
  167. package/template-react-ts/node_modules/ts-node/dist/bin-cwd.d.ts +0 -2
  168. package/template-react-ts/node_modules/ts-node/dist/bin-cwd.js +0 -6
  169. package/template-react-ts/node_modules/ts-node/dist/bin-cwd.js.map +0 -1
  170. package/template-react-ts/node_modules/ts-node/dist/bin-esm.d.ts +0 -2
  171. package/template-react-ts/node_modules/ts-node/dist/bin-esm.js +0 -6
  172. package/template-react-ts/node_modules/ts-node/dist/bin-esm.js.map +0 -1
  173. package/template-react-ts/node_modules/ts-node/dist/bin-script-deprecated.d.ts +0 -2
  174. package/template-react-ts/node_modules/ts-node/dist/bin-script-deprecated.js +0 -7
  175. package/template-react-ts/node_modules/ts-node/dist/bin-script-deprecated.js.map +0 -1
  176. package/template-react-ts/node_modules/ts-node/dist/bin-script.d.ts +0 -2
  177. package/template-react-ts/node_modules/ts-node/dist/bin-script.js +0 -6
  178. package/template-react-ts/node_modules/ts-node/dist/bin-script.js.map +0 -1
  179. package/template-react-ts/node_modules/ts-node/dist/bin-transpile.d.ts +0 -2
  180. package/template-react-ts/node_modules/ts-node/dist/bin-transpile.js +0 -6
  181. package/template-react-ts/node_modules/ts-node/dist/bin-transpile.js.map +0 -1
  182. package/template-react-ts/node_modules/ts-node/dist/bin.d.ts +0 -11
  183. package/template-react-ts/node_modules/ts-node/dist/bin.js +0 -581
  184. package/template-react-ts/node_modules/ts-node/dist/bin.js.map +0 -1
  185. package/template-react-ts/node_modules/ts-node/dist/child/argv-payload.d.ts +0 -1
  186. package/template-react-ts/node_modules/ts-node/dist/child/argv-payload.js +0 -19
  187. package/template-react-ts/node_modules/ts-node/dist/child/argv-payload.js.map +0 -1
  188. package/template-react-ts/node_modules/ts-node/dist/child/child-entrypoint.d.ts +0 -1
  189. package/template-react-ts/node_modules/ts-node/dist/child/child-entrypoint.js +0 -24
  190. package/template-react-ts/node_modules/ts-node/dist/child/child-entrypoint.js.map +0 -1
  191. package/template-react-ts/node_modules/ts-node/dist/child/child-loader.d.ts +0 -1
  192. package/template-react-ts/node_modules/ts-node/dist/child/child-loader.js +0 -32
  193. package/template-react-ts/node_modules/ts-node/dist/child/child-loader.js.map +0 -1
  194. package/template-react-ts/node_modules/ts-node/dist/child/child-require.d.ts +0 -7
  195. package/template-react-ts/node_modules/ts-node/dist/child/child-require.js +0 -22
  196. package/template-react-ts/node_modules/ts-node/dist/child/child-require.js.map +0 -1
  197. package/template-react-ts/node_modules/ts-node/dist/child/spawn-child.d.ts +0 -1
  198. package/template-react-ts/node_modules/ts-node/dist/child/spawn-child.js +0 -49
  199. package/template-react-ts/node_modules/ts-node/dist/child/spawn-child.js.map +0 -1
  200. package/template-react-ts/node_modules/ts-node/dist/cjs-resolve-hooks.d.ts +0 -1
  201. package/template-react-ts/node_modules/ts-node/dist/cjs-resolve-hooks.js +0 -29
  202. package/template-react-ts/node_modules/ts-node/dist/cjs-resolve-hooks.js.map +0 -1
  203. package/template-react-ts/node_modules/ts-node/dist/configuration.d.ts +0 -1
  204. package/template-react-ts/node_modules/ts-node/dist/configuration.js +0 -308
  205. package/template-react-ts/node_modules/ts-node/dist/configuration.js.map +0 -1
  206. package/template-react-ts/node_modules/ts-node/dist/esm.d.ts +0 -53
  207. package/template-react-ts/node_modules/ts-node/dist/esm.js +0 -228
  208. package/template-react-ts/node_modules/ts-node/dist/esm.js.map +0 -1
  209. package/template-react-ts/node_modules/ts-node/dist/file-extensions.d.ts +0 -1
  210. package/template-react-ts/node_modules/ts-node/dist/file-extensions.js +0 -133
  211. package/template-react-ts/node_modules/ts-node/dist/file-extensions.js.map +0 -1
  212. package/template-react-ts/node_modules/ts-node/dist/index.d.ts +0 -332
  213. package/template-react-ts/node_modules/ts-node/dist/index.js +0 -953
  214. package/template-react-ts/node_modules/ts-node/dist/index.js.map +0 -1
  215. package/template-react-ts/node_modules/ts-node/dist/module-type-classifier.d.ts +0 -1
  216. package/template-react-ts/node_modules/ts-node/dist/module-type-classifier.js +0 -64
  217. package/template-react-ts/node_modules/ts-node/dist/module-type-classifier.js.map +0 -1
  218. package/template-react-ts/node_modules/ts-node/dist/node-module-type-classifier.d.ts +0 -1
  219. package/template-react-ts/node_modules/ts-node/dist/node-module-type-classifier.js +0 -39
  220. package/template-react-ts/node_modules/ts-node/dist/node-module-type-classifier.js.map +0 -1
  221. package/template-react-ts/node_modules/ts-node/dist/repl.d.ts +0 -78
  222. package/template-react-ts/node_modules/ts-node/dist/repl.js +0 -561
  223. package/template-react-ts/node_modules/ts-node/dist/repl.js.map +0 -1
  224. package/template-react-ts/node_modules/ts-node/dist/resolver-functions.d.ts +0 -1
  225. package/template-react-ts/node_modules/ts-node/dist/resolver-functions.js +0 -143
  226. package/template-react-ts/node_modules/ts-node/dist/resolver-functions.js.map +0 -1
  227. package/template-react-ts/node_modules/ts-node/dist/transpilers/swc.d.ts +0 -11
  228. package/template-react-ts/node_modules/ts-node/dist/transpilers/swc.js +0 -218
  229. package/template-react-ts/node_modules/ts-node/dist/transpilers/swc.js.map +0 -1
  230. package/template-react-ts/node_modules/ts-node/dist/transpilers/types.d.ts +0 -35
  231. package/template-react-ts/node_modules/ts-node/dist/transpilers/types.js +0 -3
  232. package/template-react-ts/node_modules/ts-node/dist/transpilers/types.js.map +0 -1
  233. package/template-react-ts/node_modules/ts-node/dist/ts-compiler-types.d.ts +0 -63
  234. package/template-react-ts/node_modules/ts-node/dist/ts-compiler-types.js +0 -3
  235. package/template-react-ts/node_modules/ts-node/dist/ts-compiler-types.js.map +0 -1
  236. package/template-react-ts/node_modules/ts-node/dist/ts-internals.d.ts +0 -6
  237. package/template-react-ts/node_modules/ts-node/dist/ts-internals.js +0 -321
  238. package/template-react-ts/node_modules/ts-node/dist/ts-internals.js.map +0 -1
  239. package/template-react-ts/node_modules/ts-node/dist/ts-transpile-module.d.ts +0 -1
  240. package/template-react-ts/node_modules/ts-node/dist/ts-transpile-module.js +0 -100
  241. package/template-react-ts/node_modules/ts-node/dist/ts-transpile-module.js.map +0 -1
  242. package/template-react-ts/node_modules/ts-node/dist/tsconfig-schema.d.ts +0 -13
  243. package/template-react-ts/node_modules/ts-node/dist/tsconfig-schema.js +0 -3
  244. package/template-react-ts/node_modules/ts-node/dist/tsconfig-schema.js.map +0 -1
  245. package/template-react-ts/node_modules/ts-node/dist/tsconfigs.d.ts +0 -1
  246. package/template-react-ts/node_modules/ts-node/dist/tsconfigs.js +0 -36
  247. package/template-react-ts/node_modules/ts-node/dist/tsconfigs.js.map +0 -1
  248. package/template-react-ts/node_modules/ts-node/dist/util.d.ts +0 -4
  249. package/template-react-ts/node_modules/ts-node/dist/util.js +0 -175
  250. package/template-react-ts/node_modules/ts-node/dist/util.js.map +0 -1
  251. package/template-react-ts/node_modules/ts-node/dist-raw/NODE-LICENSE.md +0 -24
  252. package/template-react-ts/node_modules/ts-node/dist-raw/README.md +0 -36
  253. package/template-react-ts/node_modules/ts-node/dist-raw/node-internal-constants.js +0 -4
  254. package/template-react-ts/node_modules/ts-node/dist-raw/node-internal-errors.js +0 -82
  255. package/template-react-ts/node_modules/ts-node/dist-raw/node-internal-modules-cjs-helpers.js +0 -89
  256. package/template-react-ts/node_modules/ts-node/dist-raw/node-internal-modules-cjs-loader.js +0 -593
  257. package/template-react-ts/node_modules/ts-node/dist-raw/node-internal-modules-esm-get_format.js +0 -106
  258. package/template-react-ts/node_modules/ts-node/dist-raw/node-internal-modules-esm-resolve.js +0 -962
  259. package/template-react-ts/node_modules/ts-node/dist-raw/node-internal-modules-package_json_reader.js +0 -44
  260. package/template-react-ts/node_modules/ts-node/dist-raw/node-internal-repl-await.js +0 -254
  261. package/template-react-ts/node_modules/ts-node/dist-raw/node-internalBinding-fs.js +0 -58
  262. package/template-react-ts/node_modules/ts-node/dist-raw/node-nativemodule.js +0 -9
  263. package/template-react-ts/node_modules/ts-node/dist-raw/node-options.js +0 -103
  264. package/template-react-ts/node_modules/ts-node/dist-raw/node-primordials.js +0 -37
  265. package/template-react-ts/node_modules/ts-node/dist-raw/runmain-hack.js +0 -9
  266. package/template-react-ts/node_modules/ts-node/esm/transpile-only.mjs +0 -8
  267. package/template-react-ts/node_modules/ts-node/esm.mjs +0 -8
  268. package/template-react-ts/node_modules/ts-node/node10/tsconfig.json +0 -3
  269. package/template-react-ts/node_modules/ts-node/node12/tsconfig.json +0 -3
  270. package/template-react-ts/node_modules/ts-node/node14/tsconfig.json +0 -3
  271. package/template-react-ts/node_modules/ts-node/node16/tsconfig.json +0 -3
  272. package/template-react-ts/node_modules/ts-node/package.json +0 -182
  273. package/template-react-ts/node_modules/ts-node/register/files.js +0 -3
  274. package/template-react-ts/node_modules/ts-node/register/index.js +0 -1
  275. package/template-react-ts/node_modules/ts-node/register/transpile-only.js +0 -3
  276. package/template-react-ts/node_modules/ts-node/register/type-check.js +0 -3
  277. package/template-react-ts/node_modules/ts-node/transpilers/swc-experimental.js +0 -1
  278. package/template-react-ts/node_modules/ts-node/transpilers/swc.js +0 -1
  279. package/template-react-ts/node_modules/ts-node/tsconfig.schema.json +0 -183
  280. package/template-react-ts/node_modules/ts-node/tsconfig.schemastore-schema.json +0 -1326
@@ -1,476 +0,0 @@
1
- /**
2
- * The `dns.promises` API provides an alternative set of asynchronous DNS methods
3
- * that return `Promise` objects rather than using callbacks. The API is accessible
4
- * via `require('node:dns').promises` or `require('node:dns/promises')`.
5
- * @since v10.6.0
6
- */
7
- declare module "dns/promises" {
8
- import {
9
- AnyRecord,
10
- CaaRecord,
11
- LookupAddress,
12
- LookupAllOptions,
13
- LookupOneOptions,
14
- LookupOptions,
15
- MxRecord,
16
- NaptrRecord,
17
- RecordWithTtl,
18
- ResolveOptions,
19
- ResolverOptions,
20
- ResolveWithTtlOptions,
21
- SoaRecord,
22
- SrvRecord,
23
- } from "node:dns";
24
- /**
25
- * Returns an array of IP address strings, formatted according to [RFC 5952](https://tools.ietf.org/html/rfc5952#section-6),
26
- * that are currently configured for DNS resolution. A string will include a port
27
- * section if a custom port is used.
28
- *
29
- * ```js
30
- * [
31
- * '4.4.4.4',
32
- * '2001:4860:4860::8888',
33
- * '4.4.4.4:1053',
34
- * '[2001:4860:4860::8888]:1053',
35
- * ]
36
- * ```
37
- * @since v10.6.0
38
- */
39
- function getServers(): string[];
40
- /**
41
- * Resolves a host name (e.g. `'nodejs.org'`) into the first found A (IPv4) or
42
- * AAAA (IPv6) record. All `option` properties are optional. If `options` is an
43
- * integer, then it must be `4` or `6` – if `options` is not provided, then IPv4
44
- * and IPv6 addresses are both returned if found.
45
- *
46
- * With the `all` option set to `true`, the `Promise` is resolved with `addresses` being an array of objects with the properties `address` and `family`.
47
- *
48
- * On error, the `Promise` is rejected with an [`Error`](https://nodejs.org/docs/latest-v20.x/api/errors.html#class-error) object, where `err.code` is the error code.
49
- * Keep in mind that `err.code` will be set to `'ENOTFOUND'` not only when
50
- * the host name does not exist but also when the lookup fails in other ways
51
- * such as no available file descriptors.
52
- *
53
- * [`dnsPromises.lookup()`](https://nodejs.org/docs/latest-v20.x/api/dns.html#dnspromiseslookuphostname-options) does not necessarily have anything to do with the DNS
54
- * protocol. The implementation uses an operating system facility that can
55
- * associate names with addresses and vice versa. This implementation can have
56
- * subtle but important consequences on the behavior of any Node.js program. Please
57
- * take some time to consult the [Implementation considerations section](https://nodejs.org/docs/latest-v20.x/api/dns.html#implementation-considerations) before
58
- * using `dnsPromises.lookup()`.
59
- *
60
- * Example usage:
61
- *
62
- * ```js
63
- * const dns = require('node:dns');
64
- * const dnsPromises = dns.promises;
65
- * const options = {
66
- * family: 6,
67
- * hints: dns.ADDRCONFIG | dns.V4MAPPED,
68
- * };
69
- *
70
- * dnsPromises.lookup('example.com', options).then((result) => {
71
- * console.log('address: %j family: IPv%s', result.address, result.family);
72
- * // address: "2606:2800:220:1:248:1893:25c8:1946" family: IPv6
73
- * });
74
- *
75
- * // When options.all is true, the result will be an Array.
76
- * options.all = true;
77
- * dnsPromises.lookup('example.com', options).then((result) => {
78
- * console.log('addresses: %j', result);
79
- * // addresses: [{"address":"2606:2800:220:1:248:1893:25c8:1946","family":6}]
80
- * });
81
- * ```
82
- * @since v10.6.0
83
- */
84
- function lookup(hostname: string, family: number): Promise<LookupAddress>;
85
- function lookup(hostname: string, options: LookupOneOptions): Promise<LookupAddress>;
86
- function lookup(hostname: string, options: LookupAllOptions): Promise<LookupAddress[]>;
87
- function lookup(hostname: string, options: LookupOptions): Promise<LookupAddress | LookupAddress[]>;
88
- function lookup(hostname: string): Promise<LookupAddress>;
89
- /**
90
- * Resolves the given `address` and `port` into a host name and service using
91
- * the operating system's underlying `getnameinfo` implementation.
92
- *
93
- * If `address` is not a valid IP address, a `TypeError` will be thrown.
94
- * The `port` will be coerced to a number. If it is not a legal port, a `TypeError` will be thrown.
95
- *
96
- * On error, the `Promise` is rejected with an [`Error`](https://nodejs.org/docs/latest-v20.x/api/errors.html#class-error) object, where `err.code` is the error code.
97
- *
98
- * ```js
99
- * const dnsPromises = require('node:dns').promises;
100
- * dnsPromises.lookupService('127.0.0.1', 22).then((result) => {
101
- * console.log(result.hostname, result.service);
102
- * // Prints: localhost ssh
103
- * });
104
- * ```
105
- * @since v10.6.0
106
- */
107
- function lookupService(
108
- address: string,
109
- port: number,
110
- ): Promise<{
111
- hostname: string;
112
- service: string;
113
- }>;
114
- /**
115
- * Uses the DNS protocol to resolve a host name (e.g. `'nodejs.org'`) into an array
116
- * of the resource records. When successful, the `Promise` is resolved with an
117
- * array of resource records. The type and structure of individual results vary
118
- * based on `rrtype`:
119
- *
120
- * <omitted>
121
- *
122
- * On error, the `Promise` is rejected with an [`Error`](https://nodejs.org/docs/latest-v20.x/api/errors.html#class-error) object, where `err.code`
123
- * is one of the [DNS error codes](https://nodejs.org/docs/latest-v20.x/api/dns.html#error-codes).
124
- * @since v10.6.0
125
- * @param hostname Host name to resolve.
126
- * @param [rrtype='A'] Resource record type.
127
- */
128
- function resolve(hostname: string): Promise<string[]>;
129
- function resolve(hostname: string, rrtype: "A"): Promise<string[]>;
130
- function resolve(hostname: string, rrtype: "AAAA"): Promise<string[]>;
131
- function resolve(hostname: string, rrtype: "ANY"): Promise<AnyRecord[]>;
132
- function resolve(hostname: string, rrtype: "CAA"): Promise<CaaRecord[]>;
133
- function resolve(hostname: string, rrtype: "CNAME"): Promise<string[]>;
134
- function resolve(hostname: string, rrtype: "MX"): Promise<MxRecord[]>;
135
- function resolve(hostname: string, rrtype: "NAPTR"): Promise<NaptrRecord[]>;
136
- function resolve(hostname: string, rrtype: "NS"): Promise<string[]>;
137
- function resolve(hostname: string, rrtype: "PTR"): Promise<string[]>;
138
- function resolve(hostname: string, rrtype: "SOA"): Promise<SoaRecord>;
139
- function resolve(hostname: string, rrtype: "SRV"): Promise<SrvRecord[]>;
140
- function resolve(hostname: string, rrtype: "TXT"): Promise<string[][]>;
141
- function resolve(
142
- hostname: string,
143
- rrtype: string,
144
- ): Promise<string[] | MxRecord[] | NaptrRecord[] | SoaRecord | SrvRecord[] | string[][] | AnyRecord[]>;
145
- /**
146
- * Uses the DNS protocol to resolve IPv4 addresses (`A` records) for the `hostname`. On success, the `Promise` is resolved with an array of IPv4
147
- * addresses (e.g. `['74.125.79.104', '74.125.79.105', '74.125.79.106']`).
148
- * @since v10.6.0
149
- * @param hostname Host name to resolve.
150
- */
151
- function resolve4(hostname: string): Promise<string[]>;
152
- function resolve4(hostname: string, options: ResolveWithTtlOptions): Promise<RecordWithTtl[]>;
153
- function resolve4(hostname: string, options: ResolveOptions): Promise<string[] | RecordWithTtl[]>;
154
- /**
155
- * Uses the DNS protocol to resolve IPv6 addresses (`AAAA` records) for the `hostname`. On success, the `Promise` is resolved with an array of IPv6
156
- * addresses.
157
- * @since v10.6.0
158
- * @param hostname Host name to resolve.
159
- */
160
- function resolve6(hostname: string): Promise<string[]>;
161
- function resolve6(hostname: string, options: ResolveWithTtlOptions): Promise<RecordWithTtl[]>;
162
- function resolve6(hostname: string, options: ResolveOptions): Promise<string[] | RecordWithTtl[]>;
163
- /**
164
- * Uses the DNS protocol to resolve all records (also known as `ANY` or `*` query).
165
- * On success, the `Promise` is resolved with an array containing various types of
166
- * records. Each object has a property `type` that indicates the type of the
167
- * current record. And depending on the `type`, additional properties will be
168
- * present on the object:
169
- *
170
- * <omitted>
171
- *
172
- * Here is an example of the result object:
173
- *
174
- * ```js
175
- * [ { type: 'A', address: '127.0.0.1', ttl: 299 },
176
- * { type: 'CNAME', value: 'example.com' },
177
- * { type: 'MX', exchange: 'alt4.aspmx.l.example.com', priority: 50 },
178
- * { type: 'NS', value: 'ns1.example.com' },
179
- * { type: 'TXT', entries: [ 'v=spf1 include:_spf.example.com ~all' ] },
180
- * { type: 'SOA',
181
- * nsname: 'ns1.example.com',
182
- * hostmaster: 'admin.example.com',
183
- * serial: 156696742,
184
- * refresh: 900,
185
- * retry: 900,
186
- * expire: 1800,
187
- * minttl: 60 } ]
188
- * ```
189
- * @since v10.6.0
190
- */
191
- function resolveAny(hostname: string): Promise<AnyRecord[]>;
192
- /**
193
- * Uses the DNS protocol to resolve `CAA` records for the `hostname`. On success,
194
- * the `Promise` is resolved with an array of objects containing available
195
- * certification authority authorization records available for the `hostname` (e.g. `[{critical: 0, iodef: 'mailto:pki@example.com'},{critical: 128, issue: 'pki.example.com'}]`).
196
- * @since v15.0.0, v14.17.0
197
- */
198
- function resolveCaa(hostname: string): Promise<CaaRecord[]>;
199
- /**
200
- * Uses the DNS protocol to resolve `CNAME` records for the `hostname`. On success,
201
- * the `Promise` is resolved with an array of canonical name records available for
202
- * the `hostname` (e.g. `['bar.example.com']`).
203
- * @since v10.6.0
204
- */
205
- function resolveCname(hostname: string): Promise<string[]>;
206
- /**
207
- * Uses the DNS protocol to resolve mail exchange records (`MX` records) for the `hostname`. On success, the `Promise` is resolved with an array of objects
208
- * containing both a `priority` and `exchange` property (e.g.`[{priority: 10, exchange: 'mx.example.com'}, ...]`).
209
- * @since v10.6.0
210
- */
211
- function resolveMx(hostname: string): Promise<MxRecord[]>;
212
- /**
213
- * Uses the DNS protocol to resolve regular expression-based records (`NAPTR` records) for the `hostname`. On success, the `Promise` is resolved with an array
214
- * of objects with the following properties:
215
- *
216
- * * `flags`
217
- * * `service`
218
- * * `regexp`
219
- * * `replacement`
220
- * * `order`
221
- * * `preference`
222
- *
223
- * ```js
224
- * {
225
- * flags: 's',
226
- * service: 'SIP+D2U',
227
- * regexp: '',
228
- * replacement: '_sip._udp.example.com',
229
- * order: 30,
230
- * preference: 100
231
- * }
232
- * ```
233
- * @since v10.6.0
234
- */
235
- function resolveNaptr(hostname: string): Promise<NaptrRecord[]>;
236
- /**
237
- * Uses the DNS protocol to resolve name server records (`NS` records) for the `hostname`. On success, the `Promise` is resolved with an array of name server
238
- * records available for `hostname` (e.g.`['ns1.example.com', 'ns2.example.com']`).
239
- * @since v10.6.0
240
- */
241
- function resolveNs(hostname: string): Promise<string[]>;
242
- /**
243
- * Uses the DNS protocol to resolve pointer records (`PTR` records) for the `hostname`. On success, the `Promise` is resolved with an array of strings
244
- * containing the reply records.
245
- * @since v10.6.0
246
- */
247
- function resolvePtr(hostname: string): Promise<string[]>;
248
- /**
249
- * Uses the DNS protocol to resolve a start of authority record (`SOA` record) for
250
- * the `hostname`. On success, the `Promise` is resolved with an object with the
251
- * following properties:
252
- *
253
- * * `nsname`
254
- * * `hostmaster`
255
- * * `serial`
256
- * * `refresh`
257
- * * `retry`
258
- * * `expire`
259
- * * `minttl`
260
- *
261
- * ```js
262
- * {
263
- * nsname: 'ns.example.com',
264
- * hostmaster: 'root.example.com',
265
- * serial: 2013101809,
266
- * refresh: 10000,
267
- * retry: 2400,
268
- * expire: 604800,
269
- * minttl: 3600
270
- * }
271
- * ```
272
- * @since v10.6.0
273
- */
274
- function resolveSoa(hostname: string): Promise<SoaRecord>;
275
- /**
276
- * Uses the DNS protocol to resolve service records (`SRV` records) for the `hostname`. On success, the `Promise` is resolved with an array of objects with
277
- * the following properties:
278
- *
279
- * * `priority`
280
- * * `weight`
281
- * * `port`
282
- * * `name`
283
- *
284
- * ```js
285
- * {
286
- * priority: 10,
287
- * weight: 5,
288
- * port: 21223,
289
- * name: 'service.example.com'
290
- * }
291
- * ```
292
- * @since v10.6.0
293
- */
294
- function resolveSrv(hostname: string): Promise<SrvRecord[]>;
295
- /**
296
- * Uses the DNS protocol to resolve text queries (`TXT` records) for the `hostname`. On success, the `Promise` is resolved with a two-dimensional array
297
- * of the text records available for `hostname` (e.g.`[ ['v=spf1 ip4:0.0.0.0 ', '~all' ] ]`). Each sub-array contains TXT chunks of
298
- * one record. Depending on the use case, these could be either joined together or
299
- * treated separately.
300
- * @since v10.6.0
301
- */
302
- function resolveTxt(hostname: string): Promise<string[][]>;
303
- /**
304
- * Performs a reverse DNS query that resolves an IPv4 or IPv6 address to an
305
- * array of host names.
306
- *
307
- * On error, the `Promise` is rejected with an [`Error`](https://nodejs.org/docs/latest-v20.x/api/errors.html#class-error) object, where `err.code`
308
- * is one of the [DNS error codes](https://nodejs.org/docs/latest-v20.x/api/dns.html#error-codes).
309
- * @since v10.6.0
310
- */
311
- function reverse(ip: string): Promise<string[]>;
312
- /**
313
- * Get the default value for `verbatim` in {@link lookup} and [dnsPromises.lookup()](https://nodejs.org/docs/latest-v20.x/api/dns.html#dnspromiseslookuphostname-options).
314
- * The value could be:
315
- *
316
- * * `ipv4first`: for `verbatim` defaulting to `false`.
317
- * * `verbatim`: for `verbatim` defaulting to `true`.
318
- * @since v20.1.0
319
- */
320
- function getDefaultResultOrder(): "ipv4first" | "verbatim";
321
- /**
322
- * Sets the IP address and port of servers to be used when performing DNS
323
- * resolution. The `servers` argument is an array of [RFC 5952](https://tools.ietf.org/html/rfc5952#section-6) formatted
324
- * addresses. If the port is the IANA default DNS port (53) it can be omitted.
325
- *
326
- * ```js
327
- * dnsPromises.setServers([
328
- * '4.4.4.4',
329
- * '[2001:4860:4860::8888]',
330
- * '4.4.4.4:1053',
331
- * '[2001:4860:4860::8888]:1053',
332
- * ]);
333
- * ```
334
- *
335
- * An error will be thrown if an invalid address is provided.
336
- *
337
- * The `dnsPromises.setServers()` method must not be called while a DNS query is in
338
- * progress.
339
- *
340
- * This method works much like [resolve.conf](https://man7.org/linux/man-pages/man5/resolv.conf.5.html).
341
- * That is, if attempting to resolve with the first server provided results in a `NOTFOUND` error, the `resolve()` method will _not_ attempt to resolve with
342
- * subsequent servers provided. Fallback DNS servers will only be used if the
343
- * earlier ones time out or result in some other error.
344
- * @since v10.6.0
345
- * @param servers array of `RFC 5952` formatted addresses
346
- */
347
- function setServers(servers: readonly string[]): void;
348
- /**
349
- * Set the default value of `order` in `dns.lookup()` and `{@link lookup}`. The value could be:
350
- *
351
- * * `ipv4first`: sets default `order` to `ipv4first`.
352
- * * `ipv6first`: sets default `order` to `ipv6first`.
353
- * * `verbatim`: sets default `order` to `verbatim`.
354
- *
355
- * The default is `verbatim` and [dnsPromises.setDefaultResultOrder()](https://nodejs.org/docs/latest-v20.x/api/dns.html#dnspromisessetdefaultresultorderorder)
356
- * have higher priority than [`--dns-result-order`](https://nodejs.org/docs/latest-v20.x/api/cli.html#--dns-result-orderorder).
357
- * When using [worker threads](https://nodejs.org/docs/latest-v20.x/api/worker_threads.html), [`dnsPromises.setDefaultResultOrder()`](https://nodejs.org/docs/latest-v20.x/api/dns.html#dnspromisessetdefaultresultorderorder)
358
- * from the main thread won't affect the default dns orders in workers.
359
- * @since v16.4.0, v14.18.0
360
- * @param order must be `'ipv4first'`, `'ipv6first'` or `'verbatim'`.
361
- */
362
- function setDefaultResultOrder(order: "ipv4first" | "ipv6first" | "verbatim"): void;
363
- // Error codes
364
- const NODATA: "ENODATA";
365
- const FORMERR: "EFORMERR";
366
- const SERVFAIL: "ESERVFAIL";
367
- const NOTFOUND: "ENOTFOUND";
368
- const NOTIMP: "ENOTIMP";
369
- const REFUSED: "EREFUSED";
370
- const BADQUERY: "EBADQUERY";
371
- const BADNAME: "EBADNAME";
372
- const BADFAMILY: "EBADFAMILY";
373
- const BADRESP: "EBADRESP";
374
- const CONNREFUSED: "ECONNREFUSED";
375
- const TIMEOUT: "ETIMEOUT";
376
- const EOF: "EOF";
377
- const FILE: "EFILE";
378
- const NOMEM: "ENOMEM";
379
- const DESTRUCTION: "EDESTRUCTION";
380
- const BADSTR: "EBADSTR";
381
- const BADFLAGS: "EBADFLAGS";
382
- const NONAME: "ENONAME";
383
- const BADHINTS: "EBADHINTS";
384
- const NOTINITIALIZED: "ENOTINITIALIZED";
385
- const LOADIPHLPAPI: "ELOADIPHLPAPI";
386
- const ADDRGETNETWORKPARAMS: "EADDRGETNETWORKPARAMS";
387
- const CANCELLED: "ECANCELLED";
388
-
389
- /**
390
- * An independent resolver for DNS requests.
391
- *
392
- * Creating a new resolver uses the default server settings. Setting
393
- * the servers used for a resolver using [`resolver.setServers()`](https://nodejs.org/docs/latest-v20.x/api/dns.html#dnspromisessetserversservers) does not affect
394
- * other resolvers:
395
- *
396
- * ```js
397
- * const { Resolver } = require('node:dns').promises;
398
- * const resolver = new Resolver();
399
- * resolver.setServers(['4.4.4.4']);
400
- *
401
- * // This request will use the server at 4.4.4.4, independent of global settings.
402
- * resolver.resolve4('example.org').then((addresses) => {
403
- * // ...
404
- * });
405
- *
406
- * // Alternatively, the same code can be written using async-await style.
407
- * (async function() {
408
- * const addresses = await resolver.resolve4('example.org');
409
- * })();
410
- * ```
411
- *
412
- * The following methods from the `dnsPromises` API are available:
413
- *
414
- * * `resolver.getServers()`
415
- * * `resolver.resolve()`
416
- * * `resolver.resolve4()`
417
- * * `resolver.resolve6()`
418
- * * `resolver.resolveAny()`
419
- * * `resolver.resolveCaa()`
420
- * * `resolver.resolveCname()`
421
- * * `resolver.resolveMx()`
422
- * * `resolver.resolveNaptr()`
423
- * * `resolver.resolveNs()`
424
- * * `resolver.resolvePtr()`
425
- * * `resolver.resolveSoa()`
426
- * * `resolver.resolveSrv()`
427
- * * `resolver.resolveTxt()`
428
- * * `resolver.reverse()`
429
- * * `resolver.setServers()`
430
- * @since v10.6.0
431
- */
432
- class Resolver {
433
- constructor(options?: ResolverOptions);
434
- /**
435
- * Cancel all outstanding DNS queries made by this resolver. The corresponding
436
- * callbacks will be called with an error with code `ECANCELLED`.
437
- * @since v8.3.0
438
- */
439
- cancel(): void;
440
- getServers: typeof getServers;
441
- resolve: typeof resolve;
442
- resolve4: typeof resolve4;
443
- resolve6: typeof resolve6;
444
- resolveAny: typeof resolveAny;
445
- resolveCaa: typeof resolveCaa;
446
- resolveCname: typeof resolveCname;
447
- resolveMx: typeof resolveMx;
448
- resolveNaptr: typeof resolveNaptr;
449
- resolveNs: typeof resolveNs;
450
- resolvePtr: typeof resolvePtr;
451
- resolveSoa: typeof resolveSoa;
452
- resolveSrv: typeof resolveSrv;
453
- resolveTxt: typeof resolveTxt;
454
- reverse: typeof reverse;
455
- /**
456
- * The resolver instance will send its requests from the specified IP address.
457
- * This allows programs to specify outbound interfaces when used on multi-homed
458
- * systems.
459
- *
460
- * If a v4 or v6 address is not specified, it is set to the default and the
461
- * operating system will choose a local address automatically.
462
- *
463
- * The resolver will use the v4 local address when making requests to IPv4 DNS
464
- * servers, and the v6 local address when making requests to IPv6 DNS servers.
465
- * The `rrtype` of resolution requests has no impact on the local address used.
466
- * @since v15.1.0, v14.17.0
467
- * @param [ipv4='0.0.0.0'] A string representation of an IPv4 address.
468
- * @param [ipv6='::0'] A string representation of an IPv6 address.
469
- */
470
- setLocalAddress(ipv4?: string, ipv6?: string): void;
471
- setServers: typeof setServers;
472
- }
473
- }
474
- declare module "node:dns/promises" {
475
- export * from "dns/promises";
476
- }