@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,506 +0,0 @@
1
- /**
2
- * The `node:os` module provides operating system-related utility methods and
3
- * properties. It can be accessed using:
4
- *
5
- * ```js
6
- * import os from 'node:os';
7
- * ```
8
- * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/os.js)
9
- */
10
- declare module "os" {
11
- import { NonSharedBuffer } from "buffer";
12
- interface CpuInfo {
13
- model: string;
14
- speed: number;
15
- times: {
16
- /** The number of milliseconds the CPU has spent in user mode. */
17
- user: number;
18
- /** The number of milliseconds the CPU has spent in nice mode. */
19
- nice: number;
20
- /** The number of milliseconds the CPU has spent in sys mode. */
21
- sys: number;
22
- /** The number of milliseconds the CPU has spent in idle mode. */
23
- idle: number;
24
- /** The number of milliseconds the CPU has spent in irq mode. */
25
- irq: number;
26
- };
27
- }
28
- interface NetworkInterfaceBase {
29
- address: string;
30
- netmask: string;
31
- mac: string;
32
- internal: boolean;
33
- cidr: string | null;
34
- scopeid?: number;
35
- }
36
- interface NetworkInterfaceInfoIPv4 extends NetworkInterfaceBase {
37
- family: "IPv4";
38
- }
39
- interface NetworkInterfaceInfoIPv6 extends NetworkInterfaceBase {
40
- family: "IPv6";
41
- scopeid: number;
42
- }
43
- interface UserInfo<T> {
44
- username: T;
45
- uid: number;
46
- gid: number;
47
- shell: T | null;
48
- homedir: T;
49
- }
50
- type NetworkInterfaceInfo = NetworkInterfaceInfoIPv4 | NetworkInterfaceInfoIPv6;
51
- /**
52
- * Returns the host name of the operating system as a string.
53
- * @since v0.3.3
54
- */
55
- function hostname(): string;
56
- /**
57
- * Returns an array containing the 1, 5, and 15 minute load averages.
58
- *
59
- * The load average is a measure of system activity calculated by the operating
60
- * system and expressed as a fractional number.
61
- *
62
- * The load average is a Unix-specific concept. On Windows, the return value is
63
- * always `[0, 0, 0]`.
64
- * @since v0.3.3
65
- */
66
- function loadavg(): number[];
67
- /**
68
- * Returns the system uptime in number of seconds.
69
- * @since v0.3.3
70
- */
71
- function uptime(): number;
72
- /**
73
- * Returns the amount of free system memory in bytes as an integer.
74
- * @since v0.3.3
75
- */
76
- function freemem(): number;
77
- /**
78
- * Returns the total amount of system memory in bytes as an integer.
79
- * @since v0.3.3
80
- */
81
- function totalmem(): number;
82
- /**
83
- * Returns an array of objects containing information about each logical CPU core.
84
- * The array will be empty if no CPU information is available, such as if the `/proc` file system is unavailable.
85
- *
86
- * The properties included on each object include:
87
- *
88
- * ```js
89
- * [
90
- * {
91
- * model: 'Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz',
92
- * speed: 2926,
93
- * times: {
94
- * user: 252020,
95
- * nice: 0,
96
- * sys: 30340,
97
- * idle: 1070356870,
98
- * irq: 0,
99
- * },
100
- * },
101
- * {
102
- * model: 'Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz',
103
- * speed: 2926,
104
- * times: {
105
- * user: 306960,
106
- * nice: 0,
107
- * sys: 26980,
108
- * idle: 1071569080,
109
- * irq: 0,
110
- * },
111
- * },
112
- * {
113
- * model: 'Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz',
114
- * speed: 2926,
115
- * times: {
116
- * user: 248450,
117
- * nice: 0,
118
- * sys: 21750,
119
- * idle: 1070919370,
120
- * irq: 0,
121
- * },
122
- * },
123
- * {
124
- * model: 'Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz',
125
- * speed: 2926,
126
- * times: {
127
- * user: 256880,
128
- * nice: 0,
129
- * sys: 19430,
130
- * idle: 1070905480,
131
- * irq: 20,
132
- * },
133
- * },
134
- * ]
135
- * ```
136
- *
137
- * `nice` values are POSIX-only. On Windows, the `nice` values of all processors
138
- * are always 0.
139
- *
140
- * `os.cpus().length` should not be used to calculate the amount of parallelism
141
- * available to an application. Use {@link availableParallelism} for this purpose.
142
- * @since v0.3.3
143
- */
144
- function cpus(): CpuInfo[];
145
- /**
146
- * Returns an estimate of the default amount of parallelism a program should use.
147
- * Always returns a value greater than zero.
148
- *
149
- * This function is a small wrapper about libuv's [`uv_available_parallelism()`](https://docs.libuv.org/en/v1.x/misc.html#c.uv_available_parallelism).
150
- * @since v19.4.0, v18.14.0
151
- */
152
- function availableParallelism(): number;
153
- /**
154
- * Returns the operating system name as returned by [`uname(3)`](https://linux.die.net/man/3/uname). For example, it
155
- * returns `'Linux'` on Linux, `'Darwin'` on macOS, and `'Windows_NT'` on Windows.
156
- *
157
- * See [https://en.wikipedia.org/wiki/Uname#Examples](https://en.wikipedia.org/wiki/Uname#Examples) for additional information
158
- * about the output of running [`uname(3)`](https://linux.die.net/man/3/uname) on various operating systems.
159
- * @since v0.3.3
160
- */
161
- function type(): string;
162
- /**
163
- * Returns the operating system as a string.
164
- *
165
- * On POSIX systems, the operating system release is determined by calling [`uname(3)`](https://linux.die.net/man/3/uname). On Windows, `GetVersionExW()` is used. See
166
- * [https://en.wikipedia.org/wiki/Uname#Examples](https://en.wikipedia.org/wiki/Uname#Examples) for more information.
167
- * @since v0.3.3
168
- */
169
- function release(): string;
170
- /**
171
- * Returns an object containing network interfaces that have been assigned a
172
- * network address.
173
- *
174
- * Each key on the returned object identifies a network interface. The associated
175
- * value is an array of objects that each describe an assigned network address.
176
- *
177
- * The properties available on the assigned network address object include:
178
- *
179
- * ```js
180
- * {
181
- * lo: [
182
- * {
183
- * address: '127.0.0.1',
184
- * netmask: '255.0.0.0',
185
- * family: 'IPv4',
186
- * mac: '00:00:00:00:00:00',
187
- * internal: true,
188
- * cidr: '127.0.0.1/8'
189
- * },
190
- * {
191
- * address: '::1',
192
- * netmask: 'ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff',
193
- * family: 'IPv6',
194
- * mac: '00:00:00:00:00:00',
195
- * scopeid: 0,
196
- * internal: true,
197
- * cidr: '::1/128'
198
- * }
199
- * ],
200
- * eth0: [
201
- * {
202
- * address: '192.168.1.108',
203
- * netmask: '255.255.255.0',
204
- * family: 'IPv4',
205
- * mac: '01:02:03:0a:0b:0c',
206
- * internal: false,
207
- * cidr: '192.168.1.108/24'
208
- * },
209
- * {
210
- * address: 'fe80::a00:27ff:fe4e:66a1',
211
- * netmask: 'ffff:ffff:ffff:ffff::',
212
- * family: 'IPv6',
213
- * mac: '01:02:03:0a:0b:0c',
214
- * scopeid: 1,
215
- * internal: false,
216
- * cidr: 'fe80::a00:27ff:fe4e:66a1/64'
217
- * }
218
- * ]
219
- * }
220
- * ```
221
- * @since v0.6.0
222
- */
223
- function networkInterfaces(): NodeJS.Dict<NetworkInterfaceInfo[]>;
224
- /**
225
- * Returns the string path of the current user's home directory.
226
- *
227
- * On POSIX, it uses the `$HOME` environment variable if defined. Otherwise it
228
- * uses the [effective UID](https://en.wikipedia.org/wiki/User_identifier#Effective_user_ID) to look up the user's home directory.
229
- *
230
- * On Windows, it uses the `USERPROFILE` environment variable if defined.
231
- * Otherwise it uses the path to the profile directory of the current user.
232
- * @since v2.3.0
233
- */
234
- function homedir(): string;
235
- interface UserInfoOptions {
236
- encoding?: BufferEncoding | "buffer" | undefined;
237
- }
238
- interface UserInfoOptionsWithBufferEncoding extends UserInfoOptions {
239
- encoding: "buffer";
240
- }
241
- interface UserInfoOptionsWithStringEncoding extends UserInfoOptions {
242
- encoding?: BufferEncoding | undefined;
243
- }
244
- /**
245
- * Returns information about the currently effective user. On POSIX platforms,
246
- * this is typically a subset of the password file. The returned object includes
247
- * the `username`, `uid`, `gid`, `shell`, and `homedir`. On Windows, the `uid` and `gid` fields are `-1`, and `shell` is `null`.
248
- *
249
- * The value of `homedir` returned by `os.userInfo()` is provided by the operating
250
- * system. This differs from the result of `os.homedir()`, which queries
251
- * environment variables for the home directory before falling back to the
252
- * operating system response.
253
- *
254
- * Throws a [`SystemError`](https://nodejs.org/docs/latest-v20.x/api/errors.html#class-systemerror) if a user has no `username` or `homedir`.
255
- * @since v6.0.0
256
- */
257
- function userInfo(options?: UserInfoOptionsWithStringEncoding): UserInfo<string>;
258
- function userInfo(options: UserInfoOptionsWithBufferEncoding): UserInfo<NonSharedBuffer>;
259
- function userInfo(options: UserInfoOptions): UserInfo<string | NonSharedBuffer>;
260
- type SignalConstants = {
261
- [key in NodeJS.Signals]: number;
262
- };
263
- namespace constants {
264
- const UV_UDP_REUSEADDR: number;
265
- namespace signals {}
266
- const signals: SignalConstants;
267
- namespace errno {
268
- const E2BIG: number;
269
- const EACCES: number;
270
- const EADDRINUSE: number;
271
- const EADDRNOTAVAIL: number;
272
- const EAFNOSUPPORT: number;
273
- const EAGAIN: number;
274
- const EALREADY: number;
275
- const EBADF: number;
276
- const EBADMSG: number;
277
- const EBUSY: number;
278
- const ECANCELED: number;
279
- const ECHILD: number;
280
- const ECONNABORTED: number;
281
- const ECONNREFUSED: number;
282
- const ECONNRESET: number;
283
- const EDEADLK: number;
284
- const EDESTADDRREQ: number;
285
- const EDOM: number;
286
- const EDQUOT: number;
287
- const EEXIST: number;
288
- const EFAULT: number;
289
- const EFBIG: number;
290
- const EHOSTUNREACH: number;
291
- const EIDRM: number;
292
- const EILSEQ: number;
293
- const EINPROGRESS: number;
294
- const EINTR: number;
295
- const EINVAL: number;
296
- const EIO: number;
297
- const EISCONN: number;
298
- const EISDIR: number;
299
- const ELOOP: number;
300
- const EMFILE: number;
301
- const EMLINK: number;
302
- const EMSGSIZE: number;
303
- const EMULTIHOP: number;
304
- const ENAMETOOLONG: number;
305
- const ENETDOWN: number;
306
- const ENETRESET: number;
307
- const ENETUNREACH: number;
308
- const ENFILE: number;
309
- const ENOBUFS: number;
310
- const ENODATA: number;
311
- const ENODEV: number;
312
- const ENOENT: number;
313
- const ENOEXEC: number;
314
- const ENOLCK: number;
315
- const ENOLINK: number;
316
- const ENOMEM: number;
317
- const ENOMSG: number;
318
- const ENOPROTOOPT: number;
319
- const ENOSPC: number;
320
- const ENOSR: number;
321
- const ENOSTR: number;
322
- const ENOSYS: number;
323
- const ENOTCONN: number;
324
- const ENOTDIR: number;
325
- const ENOTEMPTY: number;
326
- const ENOTSOCK: number;
327
- const ENOTSUP: number;
328
- const ENOTTY: number;
329
- const ENXIO: number;
330
- const EOPNOTSUPP: number;
331
- const EOVERFLOW: number;
332
- const EPERM: number;
333
- const EPIPE: number;
334
- const EPROTO: number;
335
- const EPROTONOSUPPORT: number;
336
- const EPROTOTYPE: number;
337
- const ERANGE: number;
338
- const EROFS: number;
339
- const ESPIPE: number;
340
- const ESRCH: number;
341
- const ESTALE: number;
342
- const ETIME: number;
343
- const ETIMEDOUT: number;
344
- const ETXTBSY: number;
345
- const EWOULDBLOCK: number;
346
- const EXDEV: number;
347
- const WSAEINTR: number;
348
- const WSAEBADF: number;
349
- const WSAEACCES: number;
350
- const WSAEFAULT: number;
351
- const WSAEINVAL: number;
352
- const WSAEMFILE: number;
353
- const WSAEWOULDBLOCK: number;
354
- const WSAEINPROGRESS: number;
355
- const WSAEALREADY: number;
356
- const WSAENOTSOCK: number;
357
- const WSAEDESTADDRREQ: number;
358
- const WSAEMSGSIZE: number;
359
- const WSAEPROTOTYPE: number;
360
- const WSAENOPROTOOPT: number;
361
- const WSAEPROTONOSUPPORT: number;
362
- const WSAESOCKTNOSUPPORT: number;
363
- const WSAEOPNOTSUPP: number;
364
- const WSAEPFNOSUPPORT: number;
365
- const WSAEAFNOSUPPORT: number;
366
- const WSAEADDRINUSE: number;
367
- const WSAEADDRNOTAVAIL: number;
368
- const WSAENETDOWN: number;
369
- const WSAENETUNREACH: number;
370
- const WSAENETRESET: number;
371
- const WSAECONNABORTED: number;
372
- const WSAECONNRESET: number;
373
- const WSAENOBUFS: number;
374
- const WSAEISCONN: number;
375
- const WSAENOTCONN: number;
376
- const WSAESHUTDOWN: number;
377
- const WSAETOOMANYREFS: number;
378
- const WSAETIMEDOUT: number;
379
- const WSAECONNREFUSED: number;
380
- const WSAELOOP: number;
381
- const WSAENAMETOOLONG: number;
382
- const WSAEHOSTDOWN: number;
383
- const WSAEHOSTUNREACH: number;
384
- const WSAENOTEMPTY: number;
385
- const WSAEPROCLIM: number;
386
- const WSAEUSERS: number;
387
- const WSAEDQUOT: number;
388
- const WSAESTALE: number;
389
- const WSAEREMOTE: number;
390
- const WSASYSNOTREADY: number;
391
- const WSAVERNOTSUPPORTED: number;
392
- const WSANOTINITIALISED: number;
393
- const WSAEDISCON: number;
394
- const WSAENOMORE: number;
395
- const WSAECANCELLED: number;
396
- const WSAEINVALIDPROCTABLE: number;
397
- const WSAEINVALIDPROVIDER: number;
398
- const WSAEPROVIDERFAILEDINIT: number;
399
- const WSASYSCALLFAILURE: number;
400
- const WSASERVICE_NOT_FOUND: number;
401
- const WSATYPE_NOT_FOUND: number;
402
- const WSA_E_NO_MORE: number;
403
- const WSA_E_CANCELLED: number;
404
- const WSAEREFUSED: number;
405
- }
406
- namespace dlopen {
407
- const RTLD_LAZY: number;
408
- const RTLD_NOW: number;
409
- const RTLD_GLOBAL: number;
410
- const RTLD_LOCAL: number;
411
- const RTLD_DEEPBIND: number;
412
- }
413
- namespace priority {
414
- const PRIORITY_LOW: number;
415
- const PRIORITY_BELOW_NORMAL: number;
416
- const PRIORITY_NORMAL: number;
417
- const PRIORITY_ABOVE_NORMAL: number;
418
- const PRIORITY_HIGH: number;
419
- const PRIORITY_HIGHEST: number;
420
- }
421
- }
422
- const devNull: string;
423
- /**
424
- * The operating system-specific end-of-line marker.
425
- * * `\n` on POSIX
426
- * * `\r\n` on Windows
427
- */
428
- const EOL: string;
429
- /**
430
- * Returns the operating system CPU architecture for which the Node.js binary was
431
- * compiled. Possible values are `'arm'`, `'arm64'`, `'ia32'`, `'loong64'`, `'mips'`, `'mipsel'`, `'ppc'`, `'ppc64'`, `'riscv64'`, `'s390'`, `'s390x'`,
432
- * and `'x64'`.
433
- *
434
- * The return value is equivalent to [process.arch](https://nodejs.org/docs/latest-v20.x/api/process.html#processarch).
435
- * @since v0.5.0
436
- */
437
- function arch(): string;
438
- /**
439
- * Returns a string identifying the kernel version.
440
- *
441
- * On POSIX systems, the operating system release is determined by calling [`uname(3)`](https://linux.die.net/man/3/uname). On Windows, `RtlGetVersion()` is used, and if it is not
442
- * available, `GetVersionExW()` will be used. See [https://en.wikipedia.org/wiki/Uname#Examples](https://en.wikipedia.org/wiki/Uname#Examples) for more information.
443
- * @since v13.11.0, v12.17.0
444
- */
445
- function version(): string;
446
- /**
447
- * Returns a string identifying the operating system platform for which
448
- * the Node.js binary was compiled. The value is set at compile time.
449
- * Possible values are `'aix'`, `'darwin'`, `'freebsd'`, `'linux'`, `'openbsd'`, `'sunos'`, and `'win32'`.
450
- *
451
- * The return value is equivalent to `process.platform`.
452
- *
453
- * The value `'android'` may also be returned if Node.js is built on the Android
454
- * operating system. [Android support is experimental](https://github.com/nodejs/node/blob/HEAD/BUILDING.md#androidandroid-based-devices-eg-firefox-os).
455
- * @since v0.5.0
456
- */
457
- function platform(): NodeJS.Platform;
458
- /**
459
- * Returns the machine type as a string, such as `arm`, `arm64`, `aarch64`, `mips`, `mips64`, `ppc64`, `ppc64le`, `s390`, `s390x`, `i386`, `i686`, `x86_64`.
460
- *
461
- * On POSIX systems, the machine type is determined by calling [`uname(3)`](https://linux.die.net/man/3/uname). On Windows, `RtlGetVersion()` is used, and if it is not
462
- * available, `GetVersionExW()` will be used. See [https://en.wikipedia.org/wiki/Uname#Examples](https://en.wikipedia.org/wiki/Uname#Examples) for more information.
463
- * @since v18.9.0, v16.18.0
464
- */
465
- function machine(): string;
466
- /**
467
- * Returns the operating system's default directory for temporary files as a
468
- * string.
469
- * @since v0.9.9
470
- */
471
- function tmpdir(): string;
472
- /**
473
- * Returns a string identifying the endianness of the CPU for which the Node.js
474
- * binary was compiled.
475
- *
476
- * Possible values are `'BE'` for big endian and `'LE'` for little endian.
477
- * @since v0.9.4
478
- */
479
- function endianness(): "BE" | "LE";
480
- /**
481
- * Returns the scheduling priority for the process specified by `pid`. If `pid` is
482
- * not provided or is `0`, the priority of the current process is returned.
483
- * @since v10.10.0
484
- * @param [pid=0] The process ID to retrieve scheduling priority for.
485
- */
486
- function getPriority(pid?: number): number;
487
- /**
488
- * Attempts to set the scheduling priority for the process specified by `pid`. If `pid` is not provided or is `0`, the process ID of the current process is used.
489
- *
490
- * The `priority` input must be an integer between `-20` (high priority) and `19` (low priority). Due to differences between Unix priority levels and Windows
491
- * priority classes, `priority` is mapped to one of six priority constants in `os.constants.priority`. When retrieving a process priority level, this range
492
- * mapping may cause the return value to be slightly different on Windows. To avoid
493
- * confusion, set `priority` to one of the priority constants.
494
- *
495
- * On Windows, setting priority to `PRIORITY_HIGHEST` requires elevated user
496
- * privileges. Otherwise the set priority will be silently reduced to `PRIORITY_HIGH`.
497
- * @since v10.10.0
498
- * @param [pid=0] The process ID to set scheduling priority for.
499
- * @param priority The scheduling priority to assign to the process.
500
- */
501
- function setPriority(priority: number): void;
502
- function setPriority(pid: number, priority: number): void;
503
- }
504
- declare module "node:os" {
505
- export * from "os";
506
- }
@@ -1,140 +0,0 @@
1
- {
2
- "name": "@types/node",
3
- "version": "20.19.39",
4
- "description": "TypeScript definitions for node",
5
- "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
- "license": "MIT",
7
- "contributors": [
8
- {
9
- "name": "Microsoft TypeScript",
10
- "githubUsername": "Microsoft",
11
- "url": "https://github.com/Microsoft"
12
- },
13
- {
14
- "name": "Alberto Schiabel",
15
- "githubUsername": "jkomyno",
16
- "url": "https://github.com/jkomyno"
17
- },
18
- {
19
- "name": "Andrew Makarov",
20
- "githubUsername": "r3nya",
21
- "url": "https://github.com/r3nya"
22
- },
23
- {
24
- "name": "Benjamin Toueg",
25
- "githubUsername": "btoueg",
26
- "url": "https://github.com/btoueg"
27
- },
28
- {
29
- "name": "David Junger",
30
- "githubUsername": "touffy",
31
- "url": "https://github.com/touffy"
32
- },
33
- {
34
- "name": "Mohsen Azimi",
35
- "githubUsername": "mohsen1",
36
- "url": "https://github.com/mohsen1"
37
- },
38
- {
39
- "name": "Nikita Galkin",
40
- "githubUsername": "galkin",
41
- "url": "https://github.com/galkin"
42
- },
43
- {
44
- "name": "Sebastian Silbermann",
45
- "githubUsername": "eps1lon",
46
- "url": "https://github.com/eps1lon"
47
- },
48
- {
49
- "name": "Wilco Bakker",
50
- "githubUsername": "WilcoBakker",
51
- "url": "https://github.com/WilcoBakker"
52
- },
53
- {
54
- "name": "Marcin Kopacz",
55
- "githubUsername": "chyzwar",
56
- "url": "https://github.com/chyzwar"
57
- },
58
- {
59
- "name": "Trivikram Kamat",
60
- "githubUsername": "trivikr",
61
- "url": "https://github.com/trivikr"
62
- },
63
- {
64
- "name": "Junxiao Shi",
65
- "githubUsername": "yoursunny",
66
- "url": "https://github.com/yoursunny"
67
- },
68
- {
69
- "name": "Ilia Baryshnikov",
70
- "githubUsername": "qwelias",
71
- "url": "https://github.com/qwelias"
72
- },
73
- {
74
- "name": "ExE Boss",
75
- "githubUsername": "ExE-Boss",
76
- "url": "https://github.com/ExE-Boss"
77
- },
78
- {
79
- "name": "Piotr Błażejewicz",
80
- "githubUsername": "peterblazejewicz",
81
- "url": "https://github.com/peterblazejewicz"
82
- },
83
- {
84
- "name": "Anna Henningsen",
85
- "githubUsername": "addaleax",
86
- "url": "https://github.com/addaleax"
87
- },
88
- {
89
- "name": "Victor Perin",
90
- "githubUsername": "victorperin",
91
- "url": "https://github.com/victorperin"
92
- },
93
- {
94
- "name": "NodeJS Contributors",
95
- "githubUsername": "NodeJS",
96
- "url": "https://github.com/NodeJS"
97
- },
98
- {
99
- "name": "Linus Unnebäck",
100
- "githubUsername": "LinusU",
101
- "url": "https://github.com/LinusU"
102
- },
103
- {
104
- "name": "wafuwafu13",
105
- "githubUsername": "wafuwafu13",
106
- "url": "https://github.com/wafuwafu13"
107
- },
108
- {
109
- "name": "Matteo Collina",
110
- "githubUsername": "mcollina",
111
- "url": "https://github.com/mcollina"
112
- },
113
- {
114
- "name": "Dmitry Semigradsky",
115
- "githubUsername": "Semigradsky",
116
- "url": "https://github.com/Semigradsky"
117
- }
118
- ],
119
- "main": "",
120
- "types": "index.d.ts",
121
- "typesVersions": {
122
- "<=5.6": {
123
- "*": [
124
- "ts5.6/*"
125
- ]
126
- }
127
- },
128
- "repository": {
129
- "type": "git",
130
- "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
131
- "directory": "types/node"
132
- },
133
- "scripts": {},
134
- "dependencies": {
135
- "undici-types": "~6.21.0"
136
- },
137
- "peerDependencies": {},
138
- "typesPublisherContentHash": "871323d2249864178e2cf14d45e1136232baed800bb0184748818383371a02fb",
139
- "typeScriptVersion": "5.3"
140
- }