@nshiab/setup-data-project 1.0.7 → 1.0.8

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 (463) hide show
  1. package/esm/helpers/createFolderStructure.d.ts.map +1 -1
  2. package/esm/helpers/createFolderStructure.js +1 -15
  3. package/esm/helpers/ensureAgents.d.ts.map +1 -1
  4. package/esm/helpers/ensureAgents.js +2 -8
  5. package/esm/helpers/ensureEnvFile.d.ts.map +1 -1
  6. package/esm/helpers/ensureEnvFile.js +1 -7
  7. package/esm/helpers/ensureGitignore.d.ts.map +1 -1
  8. package/esm/helpers/ensureGitignore.js +0 -6
  9. package/esm/helpers/ensureReadme.d.ts.map +1 -1
  10. package/esm/helpers/ensureReadme.js +1 -7
  11. package/esm/main.js +7 -17
  12. package/package.json +5 -2
  13. package/script/helpers/createFolderStructure.d.ts.map +1 -1
  14. package/script/helpers/createFolderStructure.js +1 -15
  15. package/script/helpers/ensureAgents.d.ts.map +1 -1
  16. package/script/helpers/ensureAgents.js +2 -8
  17. package/script/helpers/ensureEnvFile.d.ts.map +1 -1
  18. package/script/helpers/ensureEnvFile.js +1 -7
  19. package/script/helpers/ensureGitignore.d.ts.map +1 -1
  20. package/script/helpers/ensureGitignore.js +0 -6
  21. package/script/helpers/ensureReadme.d.ts.map +1 -1
  22. package/script/helpers/ensureReadme.js +1 -7
  23. package/script/main.js +7 -17
  24. package/npm/LICENSE +0 -21
  25. package/npm/README.md +0 -25
  26. package/npm/esm/_dnt.shims.d.ts +0 -8
  27. package/npm/esm/_dnt.shims.d.ts.map +0 -1
  28. package/npm/esm/_dnt.shims.js +0 -62
  29. package/npm/esm/_dnt_2.shims.d.ts +0 -6
  30. package/npm/esm/_dnt_2.shims.d.ts.map +0 -1
  31. package/npm/esm/_dnt_2.shims.js +0 -61
  32. package/npm/esm/helpers/createFolderStructure.d.ts +0 -2
  33. package/npm/esm/helpers/createFolderStructure.d.ts.map +0 -1
  34. package/npm/esm/helpers/createFolderStructure.js +0 -49
  35. package/npm/esm/helpers/ensureAgents.d.ts +0 -2
  36. package/npm/esm/helpers/ensureAgents.d.ts.map +0 -1
  37. package/npm/esm/helpers/ensureAgents.js +0 -92
  38. package/npm/esm/helpers/ensureEnvFile.d.ts +0 -2
  39. package/npm/esm/helpers/ensureEnvFile.d.ts.map +0 -1
  40. package/npm/esm/helpers/ensureEnvFile.js +0 -14
  41. package/npm/esm/helpers/ensureGitignore.d.ts +0 -2
  42. package/npm/esm/helpers/ensureGitignore.d.ts.map +0 -1
  43. package/npm/esm/helpers/ensureGitignore.js +0 -29
  44. package/npm/esm/helpers/ensureReadme.d.ts +0 -2
  45. package/npm/esm/helpers/ensureReadme.d.ts.map +0 -1
  46. package/npm/esm/helpers/ensureReadme.js +0 -37
  47. package/npm/esm/helpers/getInstalledPackages.d.ts +0 -2
  48. package/npm/esm/helpers/getInstalledPackages.d.ts.map +0 -1
  49. package/npm/esm/helpers/getInstalledPackages.js +0 -29
  50. package/npm/esm/helpers/getProjectTasks.d.ts +0 -5
  51. package/npm/esm/helpers/getProjectTasks.d.ts.map +0 -1
  52. package/npm/esm/helpers/getProjectTasks.js +0 -12
  53. package/npm/esm/helpers/getRuntime.d.ts +0 -5
  54. package/npm/esm/helpers/getRuntime.d.ts.map +0 -1
  55. package/npm/esm/helpers/getRuntime.js +0 -17
  56. package/npm/esm/helpers/gitignoreEntries.d.ts +0 -2
  57. package/npm/esm/helpers/gitignoreEntries.d.ts.map +0 -1
  58. package/npm/esm/helpers/gitignoreEntries.js +0 -9
  59. package/npm/esm/helpers/handleFileConflict.d.ts +0 -5
  60. package/npm/esm/helpers/handleFileConflict.d.ts.map +0 -1
  61. package/npm/esm/helpers/handleFileConflict.js +0 -51
  62. package/npm/esm/helpers/installPackagesAndFetchDocs.d.ts +0 -8
  63. package/npm/esm/helpers/installPackagesAndFetchDocs.d.ts.map +0 -1
  64. package/npm/esm/helpers/installPackagesAndFetchDocs.js +0 -61
  65. package/npm/esm/helpers/packageOptions.d.ts +0 -5
  66. package/npm/esm/helpers/packageOptions.d.ts.map +0 -1
  67. package/npm/esm/helpers/packageOptions.js +0 -5
  68. package/npm/esm/helpers/packageRegistry.d.ts +0 -7
  69. package/npm/esm/helpers/packageRegistry.d.ts.map +0 -1
  70. package/npm/esm/helpers/packageRegistry.js +0 -62
  71. package/npm/esm/helpers/updateProjectConfig.d.ts +0 -2
  72. package/npm/esm/helpers/updateProjectConfig.d.ts.map +0 -1
  73. package/npm/esm/helpers/updateProjectConfig.js +0 -36
  74. package/npm/esm/main.d.ts +0 -3
  75. package/npm/esm/main.d.ts.map +0 -1
  76. package/npm/esm/main.js +0 -93
  77. package/npm/esm/package.json +0 -3
  78. package/npm/node_modules/.package-lock.json +0 -123
  79. package/npm/node_modules/@clack/core/CHANGELOG.md +0 -348
  80. package/npm/node_modules/@clack/core/LICENSE +0 -9
  81. package/npm/node_modules/@clack/core/README.md +0 -22
  82. package/npm/node_modules/@clack/core/dist/index.d.mts +0 -363
  83. package/npm/node_modules/@clack/core/dist/index.mjs +0 -17
  84. package/npm/node_modules/@clack/core/dist/index.mjs.map +0 -1
  85. package/npm/node_modules/@clack/core/package.json +0 -63
  86. package/npm/node_modules/@clack/prompts/CHANGELOG.md +0 -591
  87. package/npm/node_modules/@clack/prompts/LICENSE +0 -9
  88. package/npm/node_modules/@clack/prompts/README.md +0 -375
  89. package/npm/node_modules/@clack/prompts/dist/index.d.mts +0 -396
  90. package/npm/node_modules/@clack/prompts/dist/index.mjs +0 -144
  91. package/npm/node_modules/@clack/prompts/dist/index.mjs.map +0 -1
  92. package/npm/node_modules/@clack/prompts/package.json +0 -68
  93. package/npm/node_modules/@deno/shim-deno/LICENSE +0 -20
  94. package/npm/node_modules/@deno/shim-deno/README.md +0 -30
  95. package/npm/node_modules/@deno/shim-deno/dist/deno/internal/Conn.js +0 -56
  96. package/npm/node_modules/@deno/shim-deno/dist/deno/internal/Listener.js +0 -92
  97. package/npm/node_modules/@deno/shim-deno/dist/deno/internal/consts.js +0 -4
  98. package/npm/node_modules/@deno/shim-deno/dist/deno/internal/errorMap.js +0 -44
  99. package/npm/node_modules/@deno/shim-deno/dist/deno/internal/fs_flags.js +0 -91
  100. package/npm/node_modules/@deno/shim-deno/dist/deno/internal/iterutil.js +0 -37
  101. package/npm/node_modules/@deno/shim-deno/dist/deno/internal/random_id.js +0 -8
  102. package/npm/node_modules/@deno/shim-deno/dist/deno/internal/streams.js +0 -122
  103. package/npm/node_modules/@deno/shim-deno/dist/deno/internal/test.d.ts +0 -1
  104. package/npm/node_modules/@deno/shim-deno/dist/deno/internal/test.js +0 -5
  105. package/npm/node_modules/@deno/shim-deno/dist/deno/internal/version.js +0 -5
  106. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/classes/FsFile.js +0 -143
  107. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/classes/PermissionStatus.js +0 -19
  108. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/classes/Permissions.js +0 -26
  109. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/classes.js +0 -10
  110. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/enums/SeekMode.js +0 -9
  111. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/enums.js +0 -5
  112. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/addSignalListener.js +0 -18
  113. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/chdir.js +0 -22
  114. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/chmod.js +0 -29
  115. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/chmodSync.js +0 -29
  116. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/chown.js +0 -30
  117. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/chownSync.js +0 -30
  118. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/close.js +0 -29
  119. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/connect.js +0 -37
  120. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/connectTls.js +0 -31
  121. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/consoleSize.js +0 -17
  122. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/copy.js +0 -27
  123. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/copyFile.js +0 -45
  124. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/copyFileSync.js +0 -45
  125. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/create.js +0 -9
  126. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/createSync.js +0 -14
  127. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/cwd.js +0 -5
  128. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/execPath.js +0 -10
  129. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/exit.js +0 -8
  130. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/fdatasync.js +0 -8
  131. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/fdatasyncSync.js +0 -6
  132. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/fstat.js +0 -44
  133. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/fstatSync.js +0 -19
  134. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/fsync.js +0 -10
  135. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/fsyncSync.js +0 -9
  136. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/ftruncate.js +0 -8
  137. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/ftruncateSync.js +0 -6
  138. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/gid.js +0 -10
  139. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/hostname.js +0 -32
  140. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/inspect.js +0 -30
  141. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/kill.js +0 -16
  142. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/link.js +0 -29
  143. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/linkSync.js +0 -29
  144. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/listen.js +0 -51
  145. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/listenTls.js +0 -49
  146. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/loadavg.js +0 -32
  147. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/lstat.js +0 -42
  148. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/lstatSync.js +0 -42
  149. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/makeTempDir.js +0 -11
  150. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/makeTempDirSync.js +0 -11
  151. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/makeTempFile.js +0 -14
  152. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/makeTempFileSync.js +0 -14
  153. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/memoryUsage.js +0 -5
  154. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/mkdir.js +0 -22
  155. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/mkdirSync.js +0 -45
  156. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/open.js +0 -33
  157. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/openSync.js +0 -31
  158. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/osRelease.js +0 -9
  159. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/osUptime.js +0 -9
  160. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/read.js +0 -19
  161. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/readDir.js +0 -26
  162. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/readDirSync.js +0 -26
  163. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/readFile.js +0 -19
  164. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/readFileSync.js +0 -19
  165. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/readLink.js +0 -29
  166. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/readLinkSync.js +0 -29
  167. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/readSync.js +0 -34
  168. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/readTextFile.js +0 -18
  169. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/readTextFileSync.js +0 -41
  170. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/realPath.js +0 -29
  171. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/realPathSync.js +0 -29
  172. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/remove.js +0 -22
  173. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/removeSignalListener.js +0 -12
  174. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/removeSync.js +0 -45
  175. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/rename.js +0 -9
  176. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/renameSync.js +0 -29
  177. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/resolveDns.js +0 -41
  178. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/run.js +0 -276
  179. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/shutdown.js +0 -9
  180. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/stat.js +0 -68
  181. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/statSync.js +0 -42
  182. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/symlink.js +0 -30
  183. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/symlinkSync.js +0 -30
  184. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/test.js +0 -5
  185. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/truncate.js +0 -45
  186. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/truncateSync.js +0 -45
  187. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/uid.js +0 -10
  188. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/watchFs.js +0 -27
  189. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/write.js +0 -35
  190. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/writeFile.js +0 -46
  191. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/writeFileSync.js +0 -45
  192. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/writeSync.js +0 -29
  193. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/writeTextFile.js +0 -52
  194. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions/writeTextFileSync.js +0 -44
  195. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/functions.js +0 -234
  196. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/main.js +0 -21
  197. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/types.js +0 -3
  198. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/variables/args.js +0 -5
  199. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/variables/build.js +0 -38
  200. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/variables/customInspect.js +0 -4
  201. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/variables/env.js +0 -47
  202. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/variables/errors.js +0 -63
  203. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/variables/mainModule.js +0 -8
  204. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/variables/metrics.js +0 -21
  205. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/variables/noColor.js +0 -5
  206. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/variables/permissions.js +0 -6
  207. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/variables/pid.js +0 -5
  208. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/variables/ppid.js +0 -5
  209. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/variables/resources.js +0 -12
  210. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/variables/std.js +0 -132
  211. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/variables/version.js +0 -10
  212. package/npm/node_modules/@deno/shim-deno/dist/deno/stable/variables.js +0 -53
  213. package/npm/node_modules/@deno/shim-deno/dist/deno/unstable/main.js +0 -62
  214. package/npm/node_modules/@deno/shim-deno/dist/deno.js +0 -17
  215. package/npm/node_modules/@deno/shim-deno/dist/index.d.ts +0 -4762
  216. package/npm/node_modules/@deno/shim-deno/dist/index.js +0 -27
  217. package/npm/node_modules/@deno/shim-deno/package.json +0 -50
  218. package/npm/node_modules/@deno/shim-deno-test/LICENSE +0 -20
  219. package/npm/node_modules/@deno/shim-deno-test/README.md +0 -28
  220. package/npm/node_modules/@deno/shim-deno-test/dist/definitions.d.ts +0 -3
  221. package/npm/node_modules/@deno/shim-deno-test/dist/definitions.js +0 -5
  222. package/npm/node_modules/@deno/shim-deno-test/dist/deno.types.gen.d.ts +0 -626
  223. package/npm/node_modules/@deno/shim-deno-test/dist/deno.types.gen.js +0 -2
  224. package/npm/node_modules/@deno/shim-deno-test/dist/index.d.ts +0 -3
  225. package/npm/node_modules/@deno/shim-deno-test/dist/index.js +0 -21
  226. package/npm/node_modules/@deno/shim-deno-test/dist/test.d.ts +0 -3
  227. package/npm/node_modules/@deno/shim-deno-test/dist/test.js +0 -87
  228. package/npm/node_modules/@deno/shim-deno-test/package.json +0 -34
  229. package/npm/node_modules/@types/node/LICENSE +0 -21
  230. package/npm/node_modules/@types/node/README.md +0 -15
  231. package/npm/node_modules/@types/node/assert/strict.d.ts +0 -8
  232. package/npm/node_modules/@types/node/assert.d.ts +0 -1062
  233. package/npm/node_modules/@types/node/async_hooks.d.ts +0 -605
  234. package/npm/node_modules/@types/node/buffer.buffer.d.ts +0 -471
  235. package/npm/node_modules/@types/node/buffer.d.ts +0 -1936
  236. package/npm/node_modules/@types/node/child_process.d.ts +0 -1475
  237. package/npm/node_modules/@types/node/cluster.d.ts +0 -577
  238. package/npm/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
  239. package/npm/node_modules/@types/node/compatibility/index.d.ts +0 -9
  240. package/npm/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
  241. package/npm/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  242. package/npm/node_modules/@types/node/console.d.ts +0 -452
  243. package/npm/node_modules/@types/node/constants.d.ts +0 -21
  244. package/npm/node_modules/@types/node/crypto.d.ts +0 -4590
  245. package/npm/node_modules/@types/node/dgram.d.ts +0 -597
  246. package/npm/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
  247. package/npm/node_modules/@types/node/dns/promises.d.ts +0 -479
  248. package/npm/node_modules/@types/node/dns.d.ts +0 -871
  249. package/npm/node_modules/@types/node/domain.d.ts +0 -170
  250. package/npm/node_modules/@types/node/events.d.ts +0 -977
  251. package/npm/node_modules/@types/node/fs/promises.d.ts +0 -1270
  252. package/npm/node_modules/@types/node/fs.d.ts +0 -4375
  253. package/npm/node_modules/@types/node/globals.d.ts +0 -172
  254. package/npm/node_modules/@types/node/globals.typedarray.d.ts +0 -38
  255. package/npm/node_modules/@types/node/http.d.ts +0 -2049
  256. package/npm/node_modules/@types/node/http2.d.ts +0 -2631
  257. package/npm/node_modules/@types/node/https.d.ts +0 -578
  258. package/npm/node_modules/@types/node/index.d.ts +0 -93
  259. package/npm/node_modules/@types/node/inspector.generated.d.ts +0 -3966
  260. package/npm/node_modules/@types/node/module.d.ts +0 -539
  261. package/npm/node_modules/@types/node/net.d.ts +0 -1031
  262. package/npm/node_modules/@types/node/os.d.ts +0 -506
  263. package/npm/node_modules/@types/node/package.json +0 -140
  264. package/npm/node_modules/@types/node/path.d.ts +0 -200
  265. package/npm/node_modules/@types/node/perf_hooks.d.ts +0 -961
  266. package/npm/node_modules/@types/node/process.d.ts +0 -1961
  267. package/npm/node_modules/@types/node/punycode.d.ts +0 -117
  268. package/npm/node_modules/@types/node/querystring.d.ts +0 -152
  269. package/npm/node_modules/@types/node/readline/promises.d.ts +0 -162
  270. package/npm/node_modules/@types/node/readline.d.ts +0 -589
  271. package/npm/node_modules/@types/node/repl.d.ts +0 -430
  272. package/npm/node_modules/@types/node/sea.d.ts +0 -153
  273. package/npm/node_modules/@types/node/stream/consumers.d.ts +0 -38
  274. package/npm/node_modules/@types/node/stream/promises.d.ts +0 -90
  275. package/npm/node_modules/@types/node/stream/web.d.ts +0 -533
  276. package/npm/node_modules/@types/node/stream.d.ts +0 -1698
  277. package/npm/node_modules/@types/node/string_decoder.d.ts +0 -67
  278. package/npm/node_modules/@types/node/test.d.ts +0 -1787
  279. package/npm/node_modules/@types/node/timers/promises.d.ts +0 -108
  280. package/npm/node_modules/@types/node/timers.d.ts +0 -286
  281. package/npm/node_modules/@types/node/tls.d.ts +0 -1259
  282. package/npm/node_modules/@types/node/trace_events.d.ts +0 -197
  283. package/npm/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -468
  284. package/npm/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -34
  285. package/npm/node_modules/@types/node/ts5.6/index.d.ts +0 -93
  286. package/npm/node_modules/@types/node/tty.d.ts +0 -208
  287. package/npm/node_modules/@types/node/url.d.ts +0 -964
  288. package/npm/node_modules/@types/node/util.d.ts +0 -2331
  289. package/npm/node_modules/@types/node/v8.d.ts +0 -809
  290. package/npm/node_modules/@types/node/vm.d.ts +0 -1001
  291. package/npm/node_modules/@types/node/wasi.d.ts +0 -181
  292. package/npm/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -34
  293. package/npm/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
  294. package/npm/node_modules/@types/node/web-globals/events.d.ts +0 -97
  295. package/npm/node_modules/@types/node/web-globals/fetch.d.ts +0 -55
  296. package/npm/node_modules/@types/node/worker_threads.d.ts +0 -715
  297. package/npm/node_modules/@types/node/zlib.d.ts +0 -598
  298. package/npm/node_modules/fast-string-truncated-width/dist/index.d.ts +0 -4
  299. package/npm/node_modules/fast-string-truncated-width/dist/index.js +0 -111
  300. package/npm/node_modules/fast-string-truncated-width/dist/types.d.ts +0 -19
  301. package/npm/node_modules/fast-string-truncated-width/dist/types.js +0 -2
  302. package/npm/node_modules/fast-string-truncated-width/dist/utils.d.ts +0 -4
  303. package/npm/node_modules/fast-string-truncated-width/dist/utils.js +0 -20
  304. package/npm/node_modules/fast-string-truncated-width/license +0 -21
  305. package/npm/node_modules/fast-string-truncated-width/package.json +0 -35
  306. package/npm/node_modules/fast-string-truncated-width/readme.md +0 -59
  307. package/npm/node_modules/fast-string-width/dist/index.d.ts +0 -4
  308. package/npm/node_modules/fast-string-width/dist/index.js +0 -14
  309. package/npm/node_modules/fast-string-width/license +0 -21
  310. package/npm/node_modules/fast-string-width/package.json +0 -34
  311. package/npm/node_modules/fast-string-width/readme.md +0 -42
  312. package/npm/node_modules/fast-wrap-ansi/LICENSE +0 -23
  313. package/npm/node_modules/fast-wrap-ansi/README.md +0 -26
  314. package/npm/node_modules/fast-wrap-ansi/lib/main.d.ts +0 -6
  315. package/npm/node_modules/fast-wrap-ansi/lib/main.js +0 -219
  316. package/npm/node_modules/fast-wrap-ansi/lib/main.js.map +0 -1
  317. package/npm/node_modules/fast-wrap-ansi/package.json +0 -51
  318. package/npm/node_modules/isexe/LICENSE.md +0 -55
  319. package/npm/node_modules/isexe/README.md +0 -80
  320. package/npm/node_modules/isexe/dist/commonjs/index.d.ts +0 -14
  321. package/npm/node_modules/isexe/dist/commonjs/index.d.ts.map +0 -1
  322. package/npm/node_modules/isexe/dist/commonjs/index.js +0 -56
  323. package/npm/node_modules/isexe/dist/commonjs/index.js.map +0 -1
  324. package/npm/node_modules/isexe/dist/commonjs/index.min.js +0 -2
  325. package/npm/node_modules/isexe/dist/commonjs/index.min.js.map +0 -7
  326. package/npm/node_modules/isexe/dist/commonjs/options.d.ts +0 -32
  327. package/npm/node_modules/isexe/dist/commonjs/options.d.ts.map +0 -1
  328. package/npm/node_modules/isexe/dist/commonjs/options.js +0 -3
  329. package/npm/node_modules/isexe/dist/commonjs/options.js.map +0 -1
  330. package/npm/node_modules/isexe/dist/commonjs/package.json +0 -3
  331. package/npm/node_modules/isexe/dist/commonjs/posix.d.ts +0 -18
  332. package/npm/node_modules/isexe/dist/commonjs/posix.d.ts.map +0 -1
  333. package/npm/node_modules/isexe/dist/commonjs/posix.js +0 -67
  334. package/npm/node_modules/isexe/dist/commonjs/posix.js.map +0 -1
  335. package/npm/node_modules/isexe/dist/commonjs/win32.d.ts +0 -18
  336. package/npm/node_modules/isexe/dist/commonjs/win32.d.ts.map +0 -1
  337. package/npm/node_modules/isexe/dist/commonjs/win32.js +0 -63
  338. package/npm/node_modules/isexe/dist/commonjs/win32.js.map +0 -1
  339. package/npm/node_modules/isexe/dist/esm/index.d.ts +0 -14
  340. package/npm/node_modules/isexe/dist/esm/index.d.ts.map +0 -1
  341. package/npm/node_modules/isexe/dist/esm/index.js +0 -16
  342. package/npm/node_modules/isexe/dist/esm/index.js.map +0 -1
  343. package/npm/node_modules/isexe/dist/esm/index.min.js +0 -2
  344. package/npm/node_modules/isexe/dist/esm/index.min.js.map +0 -7
  345. package/npm/node_modules/isexe/dist/esm/options.d.ts +0 -32
  346. package/npm/node_modules/isexe/dist/esm/options.d.ts.map +0 -1
  347. package/npm/node_modules/isexe/dist/esm/options.js +0 -2
  348. package/npm/node_modules/isexe/dist/esm/options.js.map +0 -1
  349. package/npm/node_modules/isexe/dist/esm/package.json +0 -3
  350. package/npm/node_modules/isexe/dist/esm/posix.d.ts +0 -18
  351. package/npm/node_modules/isexe/dist/esm/posix.d.ts.map +0 -1
  352. package/npm/node_modules/isexe/dist/esm/posix.js +0 -62
  353. package/npm/node_modules/isexe/dist/esm/posix.js.map +0 -1
  354. package/npm/node_modules/isexe/dist/esm/win32.d.ts +0 -18
  355. package/npm/node_modules/isexe/dist/esm/win32.d.ts.map +0 -1
  356. package/npm/node_modules/isexe/dist/esm/win32.js +0 -58
  357. package/npm/node_modules/isexe/dist/esm/win32.js.map +0 -1
  358. package/npm/node_modules/isexe/package.json +0 -78
  359. package/npm/node_modules/sisteransi/license +0 -21
  360. package/npm/node_modules/sisteransi/package.json +0 -34
  361. package/npm/node_modules/sisteransi/readme.md +0 -113
  362. package/npm/node_modules/sisteransi/src/index.js +0 -58
  363. package/npm/node_modules/sisteransi/src/sisteransi.d.ts +0 -35
  364. package/npm/node_modules/undici-types/LICENSE +0 -21
  365. package/npm/node_modules/undici-types/README.md +0 -6
  366. package/npm/node_modules/undici-types/agent.d.ts +0 -31
  367. package/npm/node_modules/undici-types/api.d.ts +0 -43
  368. package/npm/node_modules/undici-types/balanced-pool.d.ts +0 -29
  369. package/npm/node_modules/undici-types/cache.d.ts +0 -36
  370. package/npm/node_modules/undici-types/client.d.ts +0 -108
  371. package/npm/node_modules/undici-types/connector.d.ts +0 -34
  372. package/npm/node_modules/undici-types/content-type.d.ts +0 -21
  373. package/npm/node_modules/undici-types/cookies.d.ts +0 -28
  374. package/npm/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  375. package/npm/node_modules/undici-types/dispatcher.d.ts +0 -256
  376. package/npm/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  377. package/npm/node_modules/undici-types/errors.d.ts +0 -149
  378. package/npm/node_modules/undici-types/eventsource.d.ts +0 -61
  379. package/npm/node_modules/undici-types/fetch.d.ts +0 -209
  380. package/npm/node_modules/undici-types/file.d.ts +0 -39
  381. package/npm/node_modules/undici-types/filereader.d.ts +0 -54
  382. package/npm/node_modules/undici-types/formdata.d.ts +0 -108
  383. package/npm/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  384. package/npm/node_modules/undici-types/global-origin.d.ts +0 -7
  385. package/npm/node_modules/undici-types/handlers.d.ts +0 -15
  386. package/npm/node_modules/undici-types/header.d.ts +0 -4
  387. package/npm/node_modules/undici-types/index.d.ts +0 -71
  388. package/npm/node_modules/undici-types/interceptors.d.ts +0 -17
  389. package/npm/node_modules/undici-types/mock-agent.d.ts +0 -50
  390. package/npm/node_modules/undici-types/mock-client.d.ts +0 -25
  391. package/npm/node_modules/undici-types/mock-errors.d.ts +0 -12
  392. package/npm/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  393. package/npm/node_modules/undici-types/mock-pool.d.ts +0 -25
  394. package/npm/node_modules/undici-types/package.json +0 -55
  395. package/npm/node_modules/undici-types/patch.d.ts +0 -33
  396. package/npm/node_modules/undici-types/pool-stats.d.ts +0 -19
  397. package/npm/node_modules/undici-types/pool.d.ts +0 -39
  398. package/npm/node_modules/undici-types/proxy-agent.d.ts +0 -28
  399. package/npm/node_modules/undici-types/readable.d.ts +0 -65
  400. package/npm/node_modules/undici-types/retry-agent.d.ts +0 -8
  401. package/npm/node_modules/undici-types/retry-handler.d.ts +0 -116
  402. package/npm/node_modules/undici-types/util.d.ts +0 -18
  403. package/npm/node_modules/undici-types/webidl.d.ts +0 -228
  404. package/npm/node_modules/undici-types/websocket.d.ts +0 -150
  405. package/npm/node_modules/which/LICENSE +0 -15
  406. package/npm/node_modules/which/README.md +0 -51
  407. package/npm/node_modules/which/bin/which.js +0 -52
  408. package/npm/node_modules/which/lib/index.js +0 -111
  409. package/npm/node_modules/which/package.json +0 -57
  410. package/npm/package-lock.json +0 -135
  411. package/npm/package.json +0 -30
  412. package/npm/script/_dnt.shims.d.ts +0 -8
  413. package/npm/script/_dnt.shims.d.ts.map +0 -1
  414. package/npm/script/_dnt.shims.js +0 -99
  415. package/npm/script/_dnt_2.shims.d.ts +0 -6
  416. package/npm/script/_dnt_2.shims.d.ts.map +0 -1
  417. package/npm/script/_dnt_2.shims.js +0 -65
  418. package/npm/script/helpers/createFolderStructure.d.ts +0 -2
  419. package/npm/script/helpers/createFolderStructure.d.ts.map +0 -1
  420. package/npm/script/helpers/createFolderStructure.js +0 -52
  421. package/npm/script/helpers/ensureAgents.d.ts +0 -2
  422. package/npm/script/helpers/ensureAgents.d.ts.map +0 -1
  423. package/npm/script/helpers/ensureAgents.js +0 -95
  424. package/npm/script/helpers/ensureEnvFile.d.ts +0 -2
  425. package/npm/script/helpers/ensureEnvFile.d.ts.map +0 -1
  426. package/npm/script/helpers/ensureEnvFile.js +0 -17
  427. package/npm/script/helpers/ensureGitignore.d.ts +0 -2
  428. package/npm/script/helpers/ensureGitignore.d.ts.map +0 -1
  429. package/npm/script/helpers/ensureGitignore.js +0 -32
  430. package/npm/script/helpers/ensureReadme.d.ts +0 -2
  431. package/npm/script/helpers/ensureReadme.d.ts.map +0 -1
  432. package/npm/script/helpers/ensureReadme.js +0 -40
  433. package/npm/script/helpers/getInstalledPackages.d.ts +0 -2
  434. package/npm/script/helpers/getInstalledPackages.d.ts.map +0 -1
  435. package/npm/script/helpers/getInstalledPackages.js +0 -32
  436. package/npm/script/helpers/getProjectTasks.d.ts +0 -5
  437. package/npm/script/helpers/getProjectTasks.d.ts.map +0 -1
  438. package/npm/script/helpers/getProjectTasks.js +0 -15
  439. package/npm/script/helpers/getRuntime.d.ts +0 -5
  440. package/npm/script/helpers/getRuntime.d.ts.map +0 -1
  441. package/npm/script/helpers/getRuntime.js +0 -57
  442. package/npm/script/helpers/gitignoreEntries.d.ts +0 -2
  443. package/npm/script/helpers/gitignoreEntries.d.ts.map +0 -1
  444. package/npm/script/helpers/gitignoreEntries.js +0 -12
  445. package/npm/script/helpers/handleFileConflict.d.ts +0 -5
  446. package/npm/script/helpers/handleFileConflict.d.ts.map +0 -1
  447. package/npm/script/helpers/handleFileConflict.js +0 -91
  448. package/npm/script/helpers/installPackagesAndFetchDocs.d.ts +0 -8
  449. package/npm/script/helpers/installPackagesAndFetchDocs.d.ts.map +0 -1
  450. package/npm/script/helpers/installPackagesAndFetchDocs.js +0 -98
  451. package/npm/script/helpers/packageOptions.d.ts +0 -5
  452. package/npm/script/helpers/packageOptions.d.ts.map +0 -1
  453. package/npm/script/helpers/packageOptions.js +0 -8
  454. package/npm/script/helpers/packageRegistry.d.ts +0 -7
  455. package/npm/script/helpers/packageRegistry.d.ts.map +0 -1
  456. package/npm/script/helpers/packageRegistry.js +0 -65
  457. package/npm/script/helpers/updateProjectConfig.d.ts +0 -2
  458. package/npm/script/helpers/updateProjectConfig.d.ts.map +0 -1
  459. package/npm/script/helpers/updateProjectConfig.js +0 -39
  460. package/npm/script/main.d.ts +0 -3
  461. package/npm/script/main.d.ts.map +0 -1
  462. package/npm/script/main.js +0 -98
  463. package/npm/script/package.json +0 -3
@@ -1,578 +0,0 @@
1
- /**
2
- * HTTPS is the HTTP protocol over TLS/SSL. In Node.js this is implemented as a
3
- * separate module.
4
- * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/https.js)
5
- */
6
- declare module "https" {
7
- import { NonSharedBuffer } from "node:buffer";
8
- import { Duplex } from "node:stream";
9
- import * as tls from "node:tls";
10
- import * as http from "node:http";
11
- import { URL } from "node:url";
12
- interface ServerOptions<
13
- Request extends typeof http.IncomingMessage = typeof http.IncomingMessage,
14
- Response extends typeof http.ServerResponse<InstanceType<Request>> = typeof http.ServerResponse,
15
- > extends http.ServerOptions<Request, Response>, tls.TlsOptions {}
16
- interface RequestOptions extends http.RequestOptions, tls.SecureContextOptions {
17
- checkServerIdentity?: typeof tls.checkServerIdentity | undefined;
18
- rejectUnauthorized?: boolean | undefined; // Defaults to true
19
- servername?: string | undefined; // SNI TLS Extension
20
- }
21
- interface AgentOptions extends http.AgentOptions, tls.ConnectionOptions {
22
- rejectUnauthorized?: boolean | undefined;
23
- maxCachedSessions?: number | undefined;
24
- }
25
- /**
26
- * An `Agent` object for HTTPS similar to `http.Agent`. See {@link request} for more information.
27
- * @since v0.4.5
28
- */
29
- class Agent extends http.Agent {
30
- constructor(options?: AgentOptions);
31
- options: AgentOptions;
32
- createConnection(
33
- options: RequestOptions,
34
- callback?: (err: Error | null, stream: Duplex) => void,
35
- ): Duplex | null | undefined;
36
- getName(options?: RequestOptions): string;
37
- }
38
- interface Server<
39
- Request extends typeof http.IncomingMessage = typeof http.IncomingMessage,
40
- Response extends typeof http.ServerResponse<InstanceType<Request>> = typeof http.ServerResponse,
41
- > extends http.Server<Request, Response> {}
42
- /**
43
- * See `http.Server` for more information.
44
- * @since v0.3.4
45
- */
46
- class Server<
47
- Request extends typeof http.IncomingMessage = typeof http.IncomingMessage,
48
- Response extends typeof http.ServerResponse<InstanceType<Request>> = typeof http.ServerResponse,
49
- > extends tls.Server {
50
- constructor(requestListener?: http.RequestListener<Request, Response>);
51
- constructor(
52
- options: ServerOptions<Request, Response>,
53
- requestListener?: http.RequestListener<Request, Response>,
54
- );
55
- /**
56
- * Closes all connections connected to this server.
57
- * @since v18.2.0
58
- */
59
- closeAllConnections(): void;
60
- /**
61
- * Closes all connections connected to this server which are not sending a request or waiting for a response.
62
- * @since v18.2.0
63
- */
64
- closeIdleConnections(): void;
65
- addListener(event: string, listener: (...args: any[]) => void): this;
66
- addListener(event: "keylog", listener: (line: NonSharedBuffer, tlsSocket: tls.TLSSocket) => void): this;
67
- addListener(
68
- event: "newSession",
69
- listener: (sessionId: NonSharedBuffer, sessionData: NonSharedBuffer, callback: () => void) => void,
70
- ): this;
71
- addListener(
72
- event: "OCSPRequest",
73
- listener: (
74
- certificate: NonSharedBuffer,
75
- issuer: NonSharedBuffer,
76
- callback: (err: Error | null, resp: Buffer | null) => void,
77
- ) => void,
78
- ): this;
79
- addListener(
80
- event: "resumeSession",
81
- listener: (
82
- sessionId: NonSharedBuffer,
83
- callback: (err: Error | null, sessionData: Buffer | null) => void,
84
- ) => void,
85
- ): this;
86
- addListener(event: "secureConnection", listener: (tlsSocket: tls.TLSSocket) => void): this;
87
- addListener(event: "tlsClientError", listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this;
88
- addListener(event: "close", listener: () => void): this;
89
- addListener(event: "connection", listener: (socket: Duplex) => void): this;
90
- addListener(event: "error", listener: (err: Error) => void): this;
91
- addListener(event: "listening", listener: () => void): this;
92
- addListener(event: "checkContinue", listener: http.RequestListener<Request, Response>): this;
93
- addListener(event: "checkExpectation", listener: http.RequestListener<Request, Response>): this;
94
- addListener(event: "clientError", listener: (err: Error, socket: Duplex) => void): this;
95
- addListener(
96
- event: "connect",
97
- listener: (req: InstanceType<Request>, socket: Duplex, head: NonSharedBuffer) => void,
98
- ): this;
99
- addListener(event: "request", listener: http.RequestListener<Request, Response>): this;
100
- addListener(
101
- event: "upgrade",
102
- listener: (req: InstanceType<Request>, socket: Duplex, head: NonSharedBuffer) => void,
103
- ): this;
104
- emit(event: string, ...args: any[]): boolean;
105
- emit(event: "keylog", line: NonSharedBuffer, tlsSocket: tls.TLSSocket): boolean;
106
- emit(
107
- event: "newSession",
108
- sessionId: NonSharedBuffer,
109
- sessionData: NonSharedBuffer,
110
- callback: () => void,
111
- ): boolean;
112
- emit(
113
- event: "OCSPRequest",
114
- certificate: NonSharedBuffer,
115
- issuer: NonSharedBuffer,
116
- callback: (err: Error | null, resp: Buffer | null) => void,
117
- ): boolean;
118
- emit(
119
- event: "resumeSession",
120
- sessionId: NonSharedBuffer,
121
- callback: (err: Error | null, sessionData: Buffer | null) => void,
122
- ): boolean;
123
- emit(event: "secureConnection", tlsSocket: tls.TLSSocket): boolean;
124
- emit(event: "tlsClientError", err: Error, tlsSocket: tls.TLSSocket): boolean;
125
- emit(event: "close"): boolean;
126
- emit(event: "connection", socket: Duplex): boolean;
127
- emit(event: "error", err: Error): boolean;
128
- emit(event: "listening"): boolean;
129
- emit(
130
- event: "checkContinue",
131
- req: InstanceType<Request>,
132
- res: InstanceType<Response>,
133
- ): boolean;
134
- emit(
135
- event: "checkExpectation",
136
- req: InstanceType<Request>,
137
- res: InstanceType<Response>,
138
- ): boolean;
139
- emit(event: "clientError", err: Error, socket: Duplex): boolean;
140
- emit(event: "connect", req: InstanceType<Request>, socket: Duplex, head: NonSharedBuffer): boolean;
141
- emit(
142
- event: "request",
143
- req: InstanceType<Request>,
144
- res: InstanceType<Response>,
145
- ): boolean;
146
- emit(event: "upgrade", req: InstanceType<Request>, socket: Duplex, head: NonSharedBuffer): boolean;
147
- on(event: string, listener: (...args: any[]) => void): this;
148
- on(event: "keylog", listener: (line: NonSharedBuffer, tlsSocket: tls.TLSSocket) => void): this;
149
- on(
150
- event: "newSession",
151
- listener: (sessionId: NonSharedBuffer, sessionData: NonSharedBuffer, callback: () => void) => void,
152
- ): this;
153
- on(
154
- event: "OCSPRequest",
155
- listener: (
156
- certificate: NonSharedBuffer,
157
- issuer: NonSharedBuffer,
158
- callback: (err: Error | null, resp: Buffer | null) => void,
159
- ) => void,
160
- ): this;
161
- on(
162
- event: "resumeSession",
163
- listener: (
164
- sessionId: NonSharedBuffer,
165
- callback: (err: Error | null, sessionData: Buffer | null) => void,
166
- ) => void,
167
- ): this;
168
- on(event: "secureConnection", listener: (tlsSocket: tls.TLSSocket) => void): this;
169
- on(event: "tlsClientError", listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this;
170
- on(event: "close", listener: () => void): this;
171
- on(event: "connection", listener: (socket: Duplex) => void): this;
172
- on(event: "error", listener: (err: Error) => void): this;
173
- on(event: "listening", listener: () => void): this;
174
- on(event: "checkContinue", listener: http.RequestListener<Request, Response>): this;
175
- on(event: "checkExpectation", listener: http.RequestListener<Request, Response>): this;
176
- on(event: "clientError", listener: (err: Error, socket: Duplex) => void): this;
177
- on(
178
- event: "connect",
179
- listener: (req: InstanceType<Request>, socket: Duplex, head: NonSharedBuffer) => void,
180
- ): this;
181
- on(event: "request", listener: http.RequestListener<Request, Response>): this;
182
- on(
183
- event: "upgrade",
184
- listener: (req: InstanceType<Request>, socket: Duplex, head: NonSharedBuffer) => void,
185
- ): this;
186
- once(event: string, listener: (...args: any[]) => void): this;
187
- once(event: "keylog", listener: (line: NonSharedBuffer, tlsSocket: tls.TLSSocket) => void): this;
188
- once(
189
- event: "newSession",
190
- listener: (sessionId: NonSharedBuffer, sessionData: NonSharedBuffer, callback: () => void) => void,
191
- ): this;
192
- once(
193
- event: "OCSPRequest",
194
- listener: (
195
- certificate: NonSharedBuffer,
196
- issuer: NonSharedBuffer,
197
- callback: (err: Error | null, resp: Buffer | null) => void,
198
- ) => void,
199
- ): this;
200
- once(
201
- event: "resumeSession",
202
- listener: (
203
- sessionId: NonSharedBuffer,
204
- callback: (err: Error | null, sessionData: Buffer | null) => void,
205
- ) => void,
206
- ): this;
207
- once(event: "secureConnection", listener: (tlsSocket: tls.TLSSocket) => void): this;
208
- once(event: "tlsClientError", listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this;
209
- once(event: "close", listener: () => void): this;
210
- once(event: "connection", listener: (socket: Duplex) => void): this;
211
- once(event: "error", listener: (err: Error) => void): this;
212
- once(event: "listening", listener: () => void): this;
213
- once(event: "checkContinue", listener: http.RequestListener<Request, Response>): this;
214
- once(event: "checkExpectation", listener: http.RequestListener<Request, Response>): this;
215
- once(event: "clientError", listener: (err: Error, socket: Duplex) => void): this;
216
- once(
217
- event: "connect",
218
- listener: (req: InstanceType<Request>, socket: Duplex, head: NonSharedBuffer) => void,
219
- ): this;
220
- once(event: "request", listener: http.RequestListener<Request, Response>): this;
221
- once(
222
- event: "upgrade",
223
- listener: (req: InstanceType<Request>, socket: Duplex, head: NonSharedBuffer) => void,
224
- ): this;
225
- prependListener(event: string, listener: (...args: any[]) => void): this;
226
- prependListener(event: "keylog", listener: (line: NonSharedBuffer, tlsSocket: tls.TLSSocket) => void): this;
227
- prependListener(
228
- event: "newSession",
229
- listener: (sessionId: NonSharedBuffer, sessionData: NonSharedBuffer, callback: () => void) => void,
230
- ): this;
231
- prependListener(
232
- event: "OCSPRequest",
233
- listener: (
234
- certificate: NonSharedBuffer,
235
- issuer: NonSharedBuffer,
236
- callback: (err: Error | null, resp: Buffer | null) => void,
237
- ) => void,
238
- ): this;
239
- prependListener(
240
- event: "resumeSession",
241
- listener: (
242
- sessionId: NonSharedBuffer,
243
- callback: (err: Error | null, sessionData: Buffer | null) => void,
244
- ) => void,
245
- ): this;
246
- prependListener(event: "secureConnection", listener: (tlsSocket: tls.TLSSocket) => void): this;
247
- prependListener(event: "tlsClientError", listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this;
248
- prependListener(event: "close", listener: () => void): this;
249
- prependListener(event: "connection", listener: (socket: Duplex) => void): this;
250
- prependListener(event: "error", listener: (err: Error) => void): this;
251
- prependListener(event: "listening", listener: () => void): this;
252
- prependListener(event: "checkContinue", listener: http.RequestListener<Request, Response>): this;
253
- prependListener(event: "checkExpectation", listener: http.RequestListener<Request, Response>): this;
254
- prependListener(event: "clientError", listener: (err: Error, socket: Duplex) => void): this;
255
- prependListener(
256
- event: "connect",
257
- listener: (req: InstanceType<Request>, socket: Duplex, head: NonSharedBuffer) => void,
258
- ): this;
259
- prependListener(event: "request", listener: http.RequestListener<Request, Response>): this;
260
- prependListener(
261
- event: "upgrade",
262
- listener: (req: InstanceType<Request>, socket: Duplex, head: NonSharedBuffer) => void,
263
- ): this;
264
- prependOnceListener(event: string, listener: (...args: any[]) => void): this;
265
- prependOnceListener(event: "keylog", listener: (line: NonSharedBuffer, tlsSocket: tls.TLSSocket) => void): this;
266
- prependOnceListener(
267
- event: "newSession",
268
- listener: (sessionId: NonSharedBuffer, sessionData: NonSharedBuffer, callback: () => void) => void,
269
- ): this;
270
- prependOnceListener(
271
- event: "OCSPRequest",
272
- listener: (
273
- certificate: NonSharedBuffer,
274
- issuer: NonSharedBuffer,
275
- callback: (err: Error | null, resp: Buffer | null) => void,
276
- ) => void,
277
- ): this;
278
- prependOnceListener(
279
- event: "resumeSession",
280
- listener: (
281
- sessionId: NonSharedBuffer,
282
- callback: (err: Error | null, sessionData: Buffer | null) => void,
283
- ) => void,
284
- ): this;
285
- prependOnceListener(event: "secureConnection", listener: (tlsSocket: tls.TLSSocket) => void): this;
286
- prependOnceListener(event: "tlsClientError", listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this;
287
- prependOnceListener(event: "close", listener: () => void): this;
288
- prependOnceListener(event: "connection", listener: (socket: Duplex) => void): this;
289
- prependOnceListener(event: "error", listener: (err: Error) => void): this;
290
- prependOnceListener(event: "listening", listener: () => void): this;
291
- prependOnceListener(event: "checkContinue", listener: http.RequestListener<Request, Response>): this;
292
- prependOnceListener(event: "checkExpectation", listener: http.RequestListener<Request, Response>): this;
293
- prependOnceListener(event: "clientError", listener: (err: Error, socket: Duplex) => void): this;
294
- prependOnceListener(
295
- event: "connect",
296
- listener: (req: InstanceType<Request>, socket: Duplex, head: NonSharedBuffer) => void,
297
- ): this;
298
- prependOnceListener(event: "request", listener: http.RequestListener<Request, Response>): this;
299
- prependOnceListener(
300
- event: "upgrade",
301
- listener: (req: InstanceType<Request>, socket: Duplex, head: NonSharedBuffer) => void,
302
- ): this;
303
- }
304
- /**
305
- * ```js
306
- * // curl -k https://localhost:8000/
307
- * import https from 'node:https';
308
- * import fs from 'node:fs';
309
- *
310
- * const options = {
311
- * key: fs.readFileSync('test/fixtures/keys/agent2-key.pem'),
312
- * cert: fs.readFileSync('test/fixtures/keys/agent2-cert.pem'),
313
- * };
314
- *
315
- * https.createServer(options, (req, res) => {
316
- * res.writeHead(200);
317
- * res.end('hello world\n');
318
- * }).listen(8000);
319
- * ```
320
- *
321
- * Or
322
- *
323
- * ```js
324
- * import https from 'node:https';
325
- * import fs from 'node:fs';
326
- *
327
- * const options = {
328
- * pfx: fs.readFileSync('test/fixtures/test_cert.pfx'),
329
- * passphrase: 'sample',
330
- * };
331
- *
332
- * https.createServer(options, (req, res) => {
333
- * res.writeHead(200);
334
- * res.end('hello world\n');
335
- * }).listen(8000);
336
- * ```
337
- * @since v0.3.4
338
- * @param options Accepts `options` from `createServer`, `createSecureContext` and `createServer`.
339
- * @param requestListener A listener to be added to the `'request'` event.
340
- */
341
- function createServer<
342
- Request extends typeof http.IncomingMessage = typeof http.IncomingMessage,
343
- Response extends typeof http.ServerResponse<InstanceType<Request>> = typeof http.ServerResponse,
344
- >(requestListener?: http.RequestListener<Request, Response>): Server<Request, Response>;
345
- function createServer<
346
- Request extends typeof http.IncomingMessage = typeof http.IncomingMessage,
347
- Response extends typeof http.ServerResponse<InstanceType<Request>> = typeof http.ServerResponse,
348
- >(
349
- options: ServerOptions<Request, Response>,
350
- requestListener?: http.RequestListener<Request, Response>,
351
- ): Server<Request, Response>;
352
- /**
353
- * Makes a request to a secure web server.
354
- *
355
- * The following additional `options` from `tls.connect()` are also accepted: `ca`, `cert`, `ciphers`, `clientCertEngine`, `crl`, `dhparam`, `ecdhCurve`, `honorCipherOrder`, `key`, `passphrase`,
356
- * `pfx`, `rejectUnauthorized`, `secureOptions`, `secureProtocol`, `servername`, `sessionIdContext`, `highWaterMark`.
357
- *
358
- * `options` can be an object, a string, or a `URL` object. If `options` is a
359
- * string, it is automatically parsed with `new URL()`. If it is a `URL` object, it will be automatically converted to an ordinary `options` object.
360
- *
361
- * `https.request()` returns an instance of the `http.ClientRequest` class. The `ClientRequest` instance is a writable stream. If one needs to
362
- * upload a file with a POST request, then write to the `ClientRequest` object.
363
- *
364
- * ```js
365
- * import https from 'node:https';
366
- *
367
- * const options = {
368
- * hostname: 'encrypted.google.com',
369
- * port: 443,
370
- * path: '/',
371
- * method: 'GET',
372
- * };
373
- *
374
- * const req = https.request(options, (res) => {
375
- * console.log('statusCode:', res.statusCode);
376
- * console.log('headers:', res.headers);
377
- *
378
- * res.on('data', (d) => {
379
- * process.stdout.write(d);
380
- * });
381
- * });
382
- *
383
- * req.on('error', (e) => {
384
- * console.error(e);
385
- * });
386
- * req.end();
387
- * ```
388
- *
389
- * Example using options from `tls.connect()`:
390
- *
391
- * ```js
392
- * const options = {
393
- * hostname: 'encrypted.google.com',
394
- * port: 443,
395
- * path: '/',
396
- * method: 'GET',
397
- * key: fs.readFileSync('test/fixtures/keys/agent2-key.pem'),
398
- * cert: fs.readFileSync('test/fixtures/keys/agent2-cert.pem'),
399
- * };
400
- * options.agent = new https.Agent(options);
401
- *
402
- * const req = https.request(options, (res) => {
403
- * // ...
404
- * });
405
- * ```
406
- *
407
- * Alternatively, opt out of connection pooling by not using an `Agent`.
408
- *
409
- * ```js
410
- * const options = {
411
- * hostname: 'encrypted.google.com',
412
- * port: 443,
413
- * path: '/',
414
- * method: 'GET',
415
- * key: fs.readFileSync('test/fixtures/keys/agent2-key.pem'),
416
- * cert: fs.readFileSync('test/fixtures/keys/agent2-cert.pem'),
417
- * agent: false,
418
- * };
419
- *
420
- * const req = https.request(options, (res) => {
421
- * // ...
422
- * });
423
- * ```
424
- *
425
- * Example using a `URL` as `options`:
426
- *
427
- * ```js
428
- * const options = new URL('https://abc:xyz@example.com');
429
- *
430
- * const req = https.request(options, (res) => {
431
- * // ...
432
- * });
433
- * ```
434
- *
435
- * Example pinning on certificate fingerprint, or the public key (similar to`pin-sha256`):
436
- *
437
- * ```js
438
- * import tls from 'node:tls';
439
- * import https from 'node:https';
440
- * import crypto from 'node:crypto';
441
- *
442
- * function sha256(s) {
443
- * return crypto.createHash('sha256').update(s).digest('base64');
444
- * }
445
- * const options = {
446
- * hostname: 'github.com',
447
- * port: 443,
448
- * path: '/',
449
- * method: 'GET',
450
- * checkServerIdentity: function(host, cert) {
451
- * // Make sure the certificate is issued to the host we are connected to
452
- * const err = tls.checkServerIdentity(host, cert);
453
- * if (err) {
454
- * return err;
455
- * }
456
- *
457
- * // Pin the public key, similar to HPKP pin-sha256 pinning
458
- * const pubkey256 = 'pL1+qb9HTMRZJmuC/bB/ZI9d302BYrrqiVuRyW+DGrU=';
459
- * if (sha256(cert.pubkey) !== pubkey256) {
460
- * const msg = 'Certificate verification error: ' +
461
- * `The public key of '${cert.subject.CN}' ` +
462
- * 'does not match our pinned fingerprint';
463
- * return new Error(msg);
464
- * }
465
- *
466
- * // Pin the exact certificate, rather than the pub key
467
- * const cert256 = '25:FE:39:32:D9:63:8C:8A:FC:A1:9A:29:87:' +
468
- * 'D8:3E:4C:1D:98:DB:71:E4:1A:48:03:98:EA:22:6A:BD:8B:93:16';
469
- * if (cert.fingerprint256 !== cert256) {
470
- * const msg = 'Certificate verification error: ' +
471
- * `The certificate of '${cert.subject.CN}' ` +
472
- * 'does not match our pinned fingerprint';
473
- * return new Error(msg);
474
- * }
475
- *
476
- * // This loop is informational only.
477
- * // Print the certificate and public key fingerprints of all certs in the
478
- * // chain. Its common to pin the public key of the issuer on the public
479
- * // internet, while pinning the public key of the service in sensitive
480
- * // environments.
481
- * do {
482
- * console.log('Subject Common Name:', cert.subject.CN);
483
- * console.log(' Certificate SHA256 fingerprint:', cert.fingerprint256);
484
- *
485
- * hash = crypto.createHash('sha256');
486
- * console.log(' Public key ping-sha256:', sha256(cert.pubkey));
487
- *
488
- * lastprint256 = cert.fingerprint256;
489
- * cert = cert.issuerCertificate;
490
- * } while (cert.fingerprint256 !== lastprint256);
491
- *
492
- * },
493
- * };
494
- *
495
- * options.agent = new https.Agent(options);
496
- * const req = https.request(options, (res) => {
497
- * console.log('All OK. Server matched our pinned cert or public key');
498
- * console.log('statusCode:', res.statusCode);
499
- * // Print the HPKP values
500
- * console.log('headers:', res.headers['public-key-pins']);
501
- *
502
- * res.on('data', (d) => {});
503
- * });
504
- *
505
- * req.on('error', (e) => {
506
- * console.error(e.message);
507
- * });
508
- * req.end();
509
- * ```
510
- *
511
- * Outputs for example:
512
- *
513
- * ```text
514
- * Subject Common Name: github.com
515
- * Certificate SHA256 fingerprint: 25:FE:39:32:D9:63:8C:8A:FC:A1:9A:29:87:D8:3E:4C:1D:98:DB:71:E4:1A:48:03:98:EA:22:6A:BD:8B:93:16
516
- * Public key ping-sha256: pL1+qb9HTMRZJmuC/bB/ZI9d302BYrrqiVuRyW+DGrU=
517
- * Subject Common Name: DigiCert SHA2 Extended Validation Server CA
518
- * Certificate SHA256 fingerprint: 40:3E:06:2A:26:53:05:91:13:28:5B:AF:80:A0:D4:AE:42:2C:84:8C:9F:78:FA:D0:1F:C9:4B:C5:B8:7F:EF:1A
519
- * Public key ping-sha256: RRM1dGqnDFsCJXBTHky16vi1obOlCgFFn/yOhI/y+ho=
520
- * Subject Common Name: DigiCert High Assurance EV Root CA
521
- * Certificate SHA256 fingerprint: 74:31:E5:F4:C3:C1:CE:46:90:77:4F:0B:61:E0:54:40:88:3B:A9:A0:1E:D0:0B:A6:AB:D7:80:6E:D3:B1:18:CF
522
- * Public key ping-sha256: WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18=
523
- * All OK. Server matched our pinned cert or public key
524
- * statusCode: 200
525
- * headers: max-age=0; pin-sha256="WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18="; pin-sha256="RRM1dGqnDFsCJXBTHky16vi1obOlCgFFn/yOhI/y+ho=";
526
- * pin-sha256="k2v657xBsOVe1PQRwOsHsw3bsGT2VzIqz5K+59sNQws="; pin-sha256="K87oWBWM9UZfyddvDfoxL+8lpNyoUB2ptGtn0fv6G2Q="; pin-sha256="IQBnNBEiFuhj+8x6X8XLgh01V9Ic5/V3IRQLNFFc7v4=";
527
- * pin-sha256="iie1VXtL7HzAMF+/PVPR9xzT80kQxdZeJ+zduCB3uj0="; pin-sha256="LvRiGEjRqfzurezaWuj8Wie2gyHMrW5Q06LspMnox7A="; includeSubDomains
528
- * ```
529
- * @since v0.3.6
530
- * @param options Accepts all `options` from `request`, with some differences in default values:
531
- */
532
- function request(
533
- options: RequestOptions | string | URL,
534
- callback?: (res: http.IncomingMessage) => void,
535
- ): http.ClientRequest;
536
- function request(
537
- url: string | URL,
538
- options: RequestOptions,
539
- callback?: (res: http.IncomingMessage) => void,
540
- ): http.ClientRequest;
541
- /**
542
- * Like `http.get()` but for HTTPS.
543
- *
544
- * `options` can be an object, a string, or a `URL` object. If `options` is a
545
- * string, it is automatically parsed with `new URL()`. If it is a `URL` object, it will be automatically converted to an ordinary `options` object.
546
- *
547
- * ```js
548
- * import https from 'node:https';
549
- *
550
- * https.get('https://encrypted.google.com/', (res) => {
551
- * console.log('statusCode:', res.statusCode);
552
- * console.log('headers:', res.headers);
553
- *
554
- * res.on('data', (d) => {
555
- * process.stdout.write(d);
556
- * });
557
- *
558
- * }).on('error', (e) => {
559
- * console.error(e);
560
- * });
561
- * ```
562
- * @since v0.3.6
563
- * @param options Accepts the same `options` as {@link request}, with the `method` always set to `GET`.
564
- */
565
- function get(
566
- options: RequestOptions | string | URL,
567
- callback?: (res: http.IncomingMessage) => void,
568
- ): http.ClientRequest;
569
- function get(
570
- url: string | URL,
571
- options: RequestOptions,
572
- callback?: (res: http.IncomingMessage) => void,
573
- ): http.ClientRequest;
574
- let globalAgent: Agent;
575
- }
576
- declare module "node:https" {
577
- export * from "https";
578
- }
@@ -1,93 +0,0 @@
1
- /**
2
- * License for programmatically and manually incorporated
3
- * documentation aka. `JSDoc` from https://github.com/nodejs/node/tree/master/doc
4
- *
5
- * Copyright Node.js contributors. All rights reserved.
6
- * Permission is hereby granted, free of charge, to any person obtaining a copy
7
- * of this software and associated documentation files (the "Software"), to
8
- * deal in the Software without restriction, including without limitation the
9
- * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10
- * sell copies of the Software, and to permit persons to whom the Software is
11
- * furnished to do so, subject to the following conditions:
12
- *
13
- * The above copyright notice and this permission notice shall be included in
14
- * all copies or substantial portions of the Software.
15
- *
16
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
22
- * IN THE SOFTWARE.
23
- */
24
-
25
- // NOTE: These definitions support Node.js and TypeScript 5.7+.
26
-
27
- // Reference required TypeScript libs:
28
- /// <reference lib="es2020" />
29
-
30
- // TypeScript backwards-compatibility definitions:
31
- /// <reference path="compatibility/index.d.ts" />
32
-
33
- // Definitions specific to TypeScript 5.7+:
34
- /// <reference path="globals.typedarray.d.ts" />
35
- /// <reference path="buffer.buffer.d.ts" />
36
-
37
- // Definitions for Node.js modules that are not specific to any version of TypeScript:
38
- /// <reference path="globals.d.ts" />
39
- /// <reference path="web-globals/abortcontroller.d.ts" />
40
- /// <reference path="web-globals/domexception.d.ts" />
41
- /// <reference path="web-globals/events.d.ts" />
42
- /// <reference path="web-globals/fetch.d.ts" />
43
- /// <reference path="assert.d.ts" />
44
- /// <reference path="assert/strict.d.ts" />
45
- /// <reference path="async_hooks.d.ts" />
46
- /// <reference path="buffer.d.ts" />
47
- /// <reference path="child_process.d.ts" />
48
- /// <reference path="cluster.d.ts" />
49
- /// <reference path="console.d.ts" />
50
- /// <reference path="constants.d.ts" />
51
- /// <reference path="crypto.d.ts" />
52
- /// <reference path="dgram.d.ts" />
53
- /// <reference path="diagnostics_channel.d.ts" />
54
- /// <reference path="dns.d.ts" />
55
- /// <reference path="dns/promises.d.ts" />
56
- /// <reference path="domain.d.ts" />
57
- /// <reference path="events.d.ts" />
58
- /// <reference path="fs.d.ts" />
59
- /// <reference path="fs/promises.d.ts" />
60
- /// <reference path="http.d.ts" />
61
- /// <reference path="http2.d.ts" />
62
- /// <reference path="https.d.ts" />
63
- /// <reference path="inspector.generated.d.ts" />
64
- /// <reference path="module.d.ts" />
65
- /// <reference path="net.d.ts" />
66
- /// <reference path="os.d.ts" />
67
- /// <reference path="path.d.ts" />
68
- /// <reference path="perf_hooks.d.ts" />
69
- /// <reference path="process.d.ts" />
70
- /// <reference path="punycode.d.ts" />
71
- /// <reference path="querystring.d.ts" />
72
- /// <reference path="readline.d.ts" />
73
- /// <reference path="readline/promises.d.ts" />
74
- /// <reference path="repl.d.ts" />
75
- /// <reference path="sea.d.ts" />
76
- /// <reference path="stream.d.ts" />
77
- /// <reference path="stream/promises.d.ts" />
78
- /// <reference path="stream/consumers.d.ts" />
79
- /// <reference path="stream/web.d.ts" />
80
- /// <reference path="string_decoder.d.ts" />
81
- /// <reference path="test.d.ts" />
82
- /// <reference path="timers.d.ts" />
83
- /// <reference path="timers/promises.d.ts" />
84
- /// <reference path="tls.d.ts" />
85
- /// <reference path="trace_events.d.ts" />
86
- /// <reference path="tty.d.ts" />
87
- /// <reference path="url.d.ts" />
88
- /// <reference path="util.d.ts" />
89
- /// <reference path="v8.d.ts" />
90
- /// <reference path="vm.d.ts" />
91
- /// <reference path="wasi.d.ts" />
92
- /// <reference path="worker_threads.d.ts" />
93
- /// <reference path="zlib.d.ts" />