@tomorrowos/sdk 0.3.1 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (329) hide show
  1. package/dist/cli.js +27 -2
  2. package/dist/playlist-catalog.d.ts +9 -4
  3. package/dist/playlist-catalog.d.ts.map +1 -1
  4. package/dist/playlist-catalog.js +54 -14
  5. package/dist/tomorrowos.d.ts.map +1 -1
  6. package/dist/tomorrowos.js +6 -2
  7. package/package.json +1 -1
  8. package/templates/cms-starter/package.json +2 -2
  9. package/templates/cms-starter/public/index.html +2 -1
  10. package/templates/cms-starter/public/methods.js +73 -12
  11. package/templates/cms-starter/node_modules/.bin/esbuild +0 -16
  12. package/templates/cms-starter/node_modules/.bin/esbuild.cmd +0 -17
  13. package/templates/cms-starter/node_modules/.bin/esbuild.ps1 +0 -28
  14. package/templates/cms-starter/node_modules/.bin/tomorrowos +0 -16
  15. package/templates/cms-starter/node_modules/.bin/tomorrowos.cmd +0 -17
  16. package/templates/cms-starter/node_modules/.bin/tomorrowos.ps1 +0 -28
  17. package/templates/cms-starter/node_modules/.bin/tsc +0 -16
  18. package/templates/cms-starter/node_modules/.bin/tsc.cmd +0 -17
  19. package/templates/cms-starter/node_modules/.bin/tsc.ps1 +0 -28
  20. package/templates/cms-starter/node_modules/.bin/tsserver +0 -16
  21. package/templates/cms-starter/node_modules/.bin/tsserver.cmd +0 -17
  22. package/templates/cms-starter/node_modules/.bin/tsserver.ps1 +0 -28
  23. package/templates/cms-starter/node_modules/.bin/tsx +0 -16
  24. package/templates/cms-starter/node_modules/.bin/tsx.cmd +0 -17
  25. package/templates/cms-starter/node_modules/.bin/tsx.ps1 +0 -28
  26. package/templates/cms-starter/node_modules/.package-lock.json +0 -140
  27. package/templates/cms-starter/node_modules/@esbuild/win32-x64/README.md +0 -3
  28. package/templates/cms-starter/node_modules/@esbuild/win32-x64/esbuild.exe +0 -0
  29. package/templates/cms-starter/node_modules/@esbuild/win32-x64/package.json +0 -20
  30. package/templates/cms-starter/node_modules/@types/node/LICENSE +0 -21
  31. package/templates/cms-starter/node_modules/@types/node/README.md +0 -15
  32. package/templates/cms-starter/node_modules/@types/node/assert/strict.d.ts +0 -8
  33. package/templates/cms-starter/node_modules/@types/node/assert.d.ts +0 -1062
  34. package/templates/cms-starter/node_modules/@types/node/async_hooks.d.ts +0 -605
  35. package/templates/cms-starter/node_modules/@types/node/buffer.buffer.d.ts +0 -471
  36. package/templates/cms-starter/node_modules/@types/node/buffer.d.ts +0 -1936
  37. package/templates/cms-starter/node_modules/@types/node/child_process.d.ts +0 -1475
  38. package/templates/cms-starter/node_modules/@types/node/cluster.d.ts +0 -577
  39. package/templates/cms-starter/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
  40. package/templates/cms-starter/node_modules/@types/node/compatibility/index.d.ts +0 -9
  41. package/templates/cms-starter/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
  42. package/templates/cms-starter/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  43. package/templates/cms-starter/node_modules/@types/node/console.d.ts +0 -452
  44. package/templates/cms-starter/node_modules/@types/node/constants.d.ts +0 -21
  45. package/templates/cms-starter/node_modules/@types/node/crypto.d.ts +0 -4590
  46. package/templates/cms-starter/node_modules/@types/node/dgram.d.ts +0 -597
  47. package/templates/cms-starter/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
  48. package/templates/cms-starter/node_modules/@types/node/dns/promises.d.ts +0 -479
  49. package/templates/cms-starter/node_modules/@types/node/dns.d.ts +0 -871
  50. package/templates/cms-starter/node_modules/@types/node/domain.d.ts +0 -170
  51. package/templates/cms-starter/node_modules/@types/node/events.d.ts +0 -977
  52. package/templates/cms-starter/node_modules/@types/node/fs/promises.d.ts +0 -1270
  53. package/templates/cms-starter/node_modules/@types/node/fs.d.ts +0 -4375
  54. package/templates/cms-starter/node_modules/@types/node/globals.d.ts +0 -172
  55. package/templates/cms-starter/node_modules/@types/node/globals.typedarray.d.ts +0 -38
  56. package/templates/cms-starter/node_modules/@types/node/http.d.ts +0 -2049
  57. package/templates/cms-starter/node_modules/@types/node/http2.d.ts +0 -2708
  58. package/templates/cms-starter/node_modules/@types/node/https.d.ts +0 -578
  59. package/templates/cms-starter/node_modules/@types/node/index.d.ts +0 -93
  60. package/templates/cms-starter/node_modules/@types/node/inspector.generated.d.ts +0 -3966
  61. package/templates/cms-starter/node_modules/@types/node/module.d.ts +0 -539
  62. package/templates/cms-starter/node_modules/@types/node/net.d.ts +0 -1031
  63. package/templates/cms-starter/node_modules/@types/node/os.d.ts +0 -506
  64. package/templates/cms-starter/node_modules/@types/node/package.json +0 -140
  65. package/templates/cms-starter/node_modules/@types/node/path.d.ts +0 -200
  66. package/templates/cms-starter/node_modules/@types/node/perf_hooks.d.ts +0 -961
  67. package/templates/cms-starter/node_modules/@types/node/process.d.ts +0 -1961
  68. package/templates/cms-starter/node_modules/@types/node/punycode.d.ts +0 -117
  69. package/templates/cms-starter/node_modules/@types/node/querystring.d.ts +0 -152
  70. package/templates/cms-starter/node_modules/@types/node/readline/promises.d.ts +0 -162
  71. package/templates/cms-starter/node_modules/@types/node/readline.d.ts +0 -589
  72. package/templates/cms-starter/node_modules/@types/node/repl.d.ts +0 -430
  73. package/templates/cms-starter/node_modules/@types/node/sea.d.ts +0 -153
  74. package/templates/cms-starter/node_modules/@types/node/stream/consumers.d.ts +0 -38
  75. package/templates/cms-starter/node_modules/@types/node/stream/promises.d.ts +0 -90
  76. package/templates/cms-starter/node_modules/@types/node/stream/web.d.ts +0 -533
  77. package/templates/cms-starter/node_modules/@types/node/stream.d.ts +0 -1698
  78. package/templates/cms-starter/node_modules/@types/node/string_decoder.d.ts +0 -67
  79. package/templates/cms-starter/node_modules/@types/node/test.d.ts +0 -1787
  80. package/templates/cms-starter/node_modules/@types/node/timers/promises.d.ts +0 -108
  81. package/templates/cms-starter/node_modules/@types/node/timers.d.ts +0 -286
  82. package/templates/cms-starter/node_modules/@types/node/tls.d.ts +0 -1259
  83. package/templates/cms-starter/node_modules/@types/node/trace_events.d.ts +0 -197
  84. package/templates/cms-starter/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -468
  85. package/templates/cms-starter/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -34
  86. package/templates/cms-starter/node_modules/@types/node/ts5.6/index.d.ts +0 -93
  87. package/templates/cms-starter/node_modules/@types/node/tty.d.ts +0 -208
  88. package/templates/cms-starter/node_modules/@types/node/url.d.ts +0 -964
  89. package/templates/cms-starter/node_modules/@types/node/util.d.ts +0 -2331
  90. package/templates/cms-starter/node_modules/@types/node/v8.d.ts +0 -809
  91. package/templates/cms-starter/node_modules/@types/node/vm.d.ts +0 -1001
  92. package/templates/cms-starter/node_modules/@types/node/wasi.d.ts +0 -181
  93. package/templates/cms-starter/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -34
  94. package/templates/cms-starter/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
  95. package/templates/cms-starter/node_modules/@types/node/web-globals/events.d.ts +0 -97
  96. package/templates/cms-starter/node_modules/@types/node/web-globals/fetch.d.ts +0 -55
  97. package/templates/cms-starter/node_modules/@types/node/worker_threads.d.ts +0 -715
  98. package/templates/cms-starter/node_modules/@types/node/zlib.d.ts +0 -598
  99. package/templates/cms-starter/node_modules/esbuild/LICENSE.md +0 -21
  100. package/templates/cms-starter/node_modules/esbuild/README.md +0 -3
  101. package/templates/cms-starter/node_modules/esbuild/bin/esbuild +0 -223
  102. package/templates/cms-starter/node_modules/esbuild/install.js +0 -300
  103. package/templates/cms-starter/node_modules/esbuild/lib/main.d.ts +0 -716
  104. package/templates/cms-starter/node_modules/esbuild/lib/main.js +0 -2532
  105. package/templates/cms-starter/node_modules/esbuild/package.json +0 -74
  106. package/templates/cms-starter/node_modules/tsx/LICENSE +0 -21
  107. package/templates/cms-starter/node_modules/tsx/README.md +0 -32
  108. package/templates/cms-starter/node_modules/tsx/dist/cjs/api/index.cjs +0 -1
  109. package/templates/cms-starter/node_modules/tsx/dist/cjs/api/index.d.cts +0 -35
  110. package/templates/cms-starter/node_modules/tsx/dist/cjs/api/index.d.mts +0 -35
  111. package/templates/cms-starter/node_modules/tsx/dist/cjs/api/index.mjs +0 -1
  112. package/templates/cms-starter/node_modules/tsx/dist/cjs/index.cjs +0 -1
  113. package/templates/cms-starter/node_modules/tsx/dist/cjs/index.mjs +0 -1
  114. package/templates/cms-starter/node_modules/tsx/dist/cli.cjs +0 -54
  115. package/templates/cms-starter/node_modules/tsx/dist/cli.mjs +0 -55
  116. package/templates/cms-starter/node_modules/tsx/dist/client-D3mGB526.cjs +0 -1
  117. package/templates/cms-starter/node_modules/tsx/dist/client-D_mPDF5S.mjs +0 -1
  118. package/templates/cms-starter/node_modules/tsx/dist/esm/api/index.cjs +0 -1
  119. package/templates/cms-starter/node_modules/tsx/dist/esm/api/index.d.cts +0 -35
  120. package/templates/cms-starter/node_modules/tsx/dist/esm/api/index.d.mts +0 -35
  121. package/templates/cms-starter/node_modules/tsx/dist/esm/api/index.mjs +0 -1
  122. package/templates/cms-starter/node_modules/tsx/dist/esm/index.cjs +0 -1
  123. package/templates/cms-starter/node_modules/tsx/dist/esm/index.mjs +0 -1
  124. package/templates/cms-starter/node_modules/tsx/dist/get-pipe-path-D4YM6rQt.cjs +0 -1
  125. package/templates/cms-starter/node_modules/tsx/dist/get-pipe-path-_tAJyU_v.mjs +0 -1
  126. package/templates/cms-starter/node_modules/tsx/dist/index-BWFBUo6r.cjs +0 -1
  127. package/templates/cms-starter/node_modules/tsx/dist/index-D9F1FXzN.cjs +0 -14
  128. package/templates/cms-starter/node_modules/tsx/dist/index-XurvG3JN.mjs +0 -14
  129. package/templates/cms-starter/node_modules/tsx/dist/index-gbaejti9.mjs +0 -1
  130. package/templates/cms-starter/node_modules/tsx/dist/lexer-DQCqS3nf.mjs +0 -3
  131. package/templates/cms-starter/node_modules/tsx/dist/lexer-DgIbo0BU.cjs +0 -3
  132. package/templates/cms-starter/node_modules/tsx/dist/loader.cjs +0 -1
  133. package/templates/cms-starter/node_modules/tsx/dist/loader.mjs +0 -1
  134. package/templates/cms-starter/node_modules/tsx/dist/node-features-B9BBLzwu.mjs +0 -1
  135. package/templates/cms-starter/node_modules/tsx/dist/node-features-CQLdkVE6.cjs +0 -1
  136. package/templates/cms-starter/node_modules/tsx/dist/package-CGdS2_oX.cjs +0 -1
  137. package/templates/cms-starter/node_modules/tsx/dist/package-DyJMwVU5.mjs +0 -1
  138. package/templates/cms-starter/node_modules/tsx/dist/patch-repl.cjs +0 -1
  139. package/templates/cms-starter/node_modules/tsx/dist/patch-repl.mjs +0 -1
  140. package/templates/cms-starter/node_modules/tsx/dist/preflight.cjs +0 -1
  141. package/templates/cms-starter/node_modules/tsx/dist/preflight.mjs +0 -1
  142. package/templates/cms-starter/node_modules/tsx/dist/register-BOkp8V6j.cjs +0 -10
  143. package/templates/cms-starter/node_modules/tsx/dist/register-BnTWPeIB.mjs +0 -10
  144. package/templates/cms-starter/node_modules/tsx/dist/register-CHVGxKtC.cjs +0 -2
  145. package/templates/cms-starter/node_modules/tsx/dist/register-D_B8UL5H.mjs +0 -2
  146. package/templates/cms-starter/node_modules/tsx/dist/repl.cjs +0 -3
  147. package/templates/cms-starter/node_modules/tsx/dist/repl.mjs +0 -3
  148. package/templates/cms-starter/node_modules/tsx/dist/require-CjvaJWEr.cjs +0 -1
  149. package/templates/cms-starter/node_modules/tsx/dist/require-DzmC1hVr.mjs +0 -1
  150. package/templates/cms-starter/node_modules/tsx/dist/suppress-warnings.cjs +0 -1
  151. package/templates/cms-starter/node_modules/tsx/dist/suppress-warnings.mjs +0 -1
  152. package/templates/cms-starter/node_modules/tsx/dist/temporary-directory-B83uKxJF.cjs +0 -1
  153. package/templates/cms-starter/node_modules/tsx/dist/temporary-directory-BDDVQOvU.mjs +0 -1
  154. package/templates/cms-starter/node_modules/tsx/dist/types-Cxp8y2TL.d.ts +0 -5
  155. package/templates/cms-starter/node_modules/tsx/package.json +0 -67
  156. package/templates/cms-starter/node_modules/typescript/LICENSE.txt +0 -55
  157. package/templates/cms-starter/node_modules/typescript/README.md +0 -50
  158. package/templates/cms-starter/node_modules/typescript/SECURITY.md +0 -41
  159. package/templates/cms-starter/node_modules/typescript/ThirdPartyNoticeText.txt +0 -193
  160. package/templates/cms-starter/node_modules/typescript/bin/tsc +0 -2
  161. package/templates/cms-starter/node_modules/typescript/bin/tsserver +0 -2
  162. package/templates/cms-starter/node_modules/typescript/lib/_tsc.js +0 -133818
  163. package/templates/cms-starter/node_modules/typescript/lib/_tsserver.js +0 -659
  164. package/templates/cms-starter/node_modules/typescript/lib/_typingsInstaller.js +0 -222
  165. package/templates/cms-starter/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +0 -2122
  166. package/templates/cms-starter/node_modules/typescript/lib/de/diagnosticMessages.generated.json +0 -2122
  167. package/templates/cms-starter/node_modules/typescript/lib/es/diagnosticMessages.generated.json +0 -2122
  168. package/templates/cms-starter/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +0 -2122
  169. package/templates/cms-starter/node_modules/typescript/lib/it/diagnosticMessages.generated.json +0 -2122
  170. package/templates/cms-starter/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +0 -2122
  171. package/templates/cms-starter/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +0 -2122
  172. package/templates/cms-starter/node_modules/typescript/lib/lib.d.ts +0 -22
  173. package/templates/cms-starter/node_modules/typescript/lib/lib.decorators.d.ts +0 -384
  174. package/templates/cms-starter/node_modules/typescript/lib/lib.decorators.legacy.d.ts +0 -22
  175. package/templates/cms-starter/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +0 -41
  176. package/templates/cms-starter/node_modules/typescript/lib/lib.dom.d.ts +0 -39429
  177. package/templates/cms-starter/node_modules/typescript/lib/lib.dom.iterable.d.ts +0 -571
  178. package/templates/cms-starter/node_modules/typescript/lib/lib.es2015.collection.d.ts +0 -147
  179. package/templates/cms-starter/node_modules/typescript/lib/lib.es2015.core.d.ts +0 -597
  180. package/templates/cms-starter/node_modules/typescript/lib/lib.es2015.d.ts +0 -28
  181. package/templates/cms-starter/node_modules/typescript/lib/lib.es2015.generator.d.ts +0 -77
  182. package/templates/cms-starter/node_modules/typescript/lib/lib.es2015.iterable.d.ts +0 -605
  183. package/templates/cms-starter/node_modules/typescript/lib/lib.es2015.promise.d.ts +0 -81
  184. package/templates/cms-starter/node_modules/typescript/lib/lib.es2015.proxy.d.ts +0 -128
  185. package/templates/cms-starter/node_modules/typescript/lib/lib.es2015.reflect.d.ts +0 -144
  186. package/templates/cms-starter/node_modules/typescript/lib/lib.es2015.symbol.d.ts +0 -46
  187. package/templates/cms-starter/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +0 -326
  188. package/templates/cms-starter/node_modules/typescript/lib/lib.es2016.array.include.d.ts +0 -116
  189. package/templates/cms-starter/node_modules/typescript/lib/lib.es2016.d.ts +0 -21
  190. package/templates/cms-starter/node_modules/typescript/lib/lib.es2016.full.d.ts +0 -23
  191. package/templates/cms-starter/node_modules/typescript/lib/lib.es2016.intl.d.ts +0 -31
  192. package/templates/cms-starter/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +0 -21
  193. package/templates/cms-starter/node_modules/typescript/lib/lib.es2017.d.ts +0 -26
  194. package/templates/cms-starter/node_modules/typescript/lib/lib.es2017.date.d.ts +0 -31
  195. package/templates/cms-starter/node_modules/typescript/lib/lib.es2017.full.d.ts +0 -23
  196. package/templates/cms-starter/node_modules/typescript/lib/lib.es2017.intl.d.ts +0 -44
  197. package/templates/cms-starter/node_modules/typescript/lib/lib.es2017.object.d.ts +0 -49
  198. package/templates/cms-starter/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +0 -135
  199. package/templates/cms-starter/node_modules/typescript/lib/lib.es2017.string.d.ts +0 -45
  200. package/templates/cms-starter/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +0 -53
  201. package/templates/cms-starter/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +0 -77
  202. package/templates/cms-starter/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +0 -53
  203. package/templates/cms-starter/node_modules/typescript/lib/lib.es2018.d.ts +0 -24
  204. package/templates/cms-starter/node_modules/typescript/lib/lib.es2018.full.d.ts +0 -24
  205. package/templates/cms-starter/node_modules/typescript/lib/lib.es2018.intl.d.ts +0 -83
  206. package/templates/cms-starter/node_modules/typescript/lib/lib.es2018.promise.d.ts +0 -30
  207. package/templates/cms-starter/node_modules/typescript/lib/lib.es2018.regexp.d.ts +0 -37
  208. package/templates/cms-starter/node_modules/typescript/lib/lib.es2019.array.d.ts +0 -79
  209. package/templates/cms-starter/node_modules/typescript/lib/lib.es2019.d.ts +0 -24
  210. package/templates/cms-starter/node_modules/typescript/lib/lib.es2019.full.d.ts +0 -24
  211. package/templates/cms-starter/node_modules/typescript/lib/lib.es2019.intl.d.ts +0 -23
  212. package/templates/cms-starter/node_modules/typescript/lib/lib.es2019.object.d.ts +0 -33
  213. package/templates/cms-starter/node_modules/typescript/lib/lib.es2019.string.d.ts +0 -37
  214. package/templates/cms-starter/node_modules/typescript/lib/lib.es2019.symbol.d.ts +0 -24
  215. package/templates/cms-starter/node_modules/typescript/lib/lib.es2020.bigint.d.ts +0 -765
  216. package/templates/cms-starter/node_modules/typescript/lib/lib.es2020.d.ts +0 -27
  217. package/templates/cms-starter/node_modules/typescript/lib/lib.es2020.date.d.ts +0 -42
  218. package/templates/cms-starter/node_modules/typescript/lib/lib.es2020.full.d.ts +0 -24
  219. package/templates/cms-starter/node_modules/typescript/lib/lib.es2020.intl.d.ts +0 -474
  220. package/templates/cms-starter/node_modules/typescript/lib/lib.es2020.number.d.ts +0 -28
  221. package/templates/cms-starter/node_modules/typescript/lib/lib.es2020.promise.d.ts +0 -47
  222. package/templates/cms-starter/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +0 -99
  223. package/templates/cms-starter/node_modules/typescript/lib/lib.es2020.string.d.ts +0 -44
  224. package/templates/cms-starter/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +0 -41
  225. package/templates/cms-starter/node_modules/typescript/lib/lib.es2021.d.ts +0 -23
  226. package/templates/cms-starter/node_modules/typescript/lib/lib.es2021.full.d.ts +0 -24
  227. package/templates/cms-starter/node_modules/typescript/lib/lib.es2021.intl.d.ts +0 -166
  228. package/templates/cms-starter/node_modules/typescript/lib/lib.es2021.promise.d.ts +0 -48
  229. package/templates/cms-starter/node_modules/typescript/lib/lib.es2021.string.d.ts +0 -33
  230. package/templates/cms-starter/node_modules/typescript/lib/lib.es2021.weakref.d.ts +0 -78
  231. package/templates/cms-starter/node_modules/typescript/lib/lib.es2022.array.d.ts +0 -121
  232. package/templates/cms-starter/node_modules/typescript/lib/lib.es2022.d.ts +0 -25
  233. package/templates/cms-starter/node_modules/typescript/lib/lib.es2022.error.d.ts +0 -75
  234. package/templates/cms-starter/node_modules/typescript/lib/lib.es2022.full.d.ts +0 -24
  235. package/templates/cms-starter/node_modules/typescript/lib/lib.es2022.intl.d.ts +0 -145
  236. package/templates/cms-starter/node_modules/typescript/lib/lib.es2022.object.d.ts +0 -26
  237. package/templates/cms-starter/node_modules/typescript/lib/lib.es2022.regexp.d.ts +0 -39
  238. package/templates/cms-starter/node_modules/typescript/lib/lib.es2022.string.d.ts +0 -25
  239. package/templates/cms-starter/node_modules/typescript/lib/lib.es2023.array.d.ts +0 -924
  240. package/templates/cms-starter/node_modules/typescript/lib/lib.es2023.collection.d.ts +0 -21
  241. package/templates/cms-starter/node_modules/typescript/lib/lib.es2023.d.ts +0 -22
  242. package/templates/cms-starter/node_modules/typescript/lib/lib.es2023.full.d.ts +0 -24
  243. package/templates/cms-starter/node_modules/typescript/lib/lib.es2023.intl.d.ts +0 -56
  244. package/templates/cms-starter/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +0 -65
  245. package/templates/cms-starter/node_modules/typescript/lib/lib.es2024.collection.d.ts +0 -29
  246. package/templates/cms-starter/node_modules/typescript/lib/lib.es2024.d.ts +0 -26
  247. package/templates/cms-starter/node_modules/typescript/lib/lib.es2024.full.d.ts +0 -24
  248. package/templates/cms-starter/node_modules/typescript/lib/lib.es2024.object.d.ts +0 -29
  249. package/templates/cms-starter/node_modules/typescript/lib/lib.es2024.promise.d.ts +0 -35
  250. package/templates/cms-starter/node_modules/typescript/lib/lib.es2024.regexp.d.ts +0 -25
  251. package/templates/cms-starter/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +0 -68
  252. package/templates/cms-starter/node_modules/typescript/lib/lib.es2024.string.d.ts +0 -29
  253. package/templates/cms-starter/node_modules/typescript/lib/lib.es5.d.ts +0 -4601
  254. package/templates/cms-starter/node_modules/typescript/lib/lib.es6.d.ts +0 -23
  255. package/templates/cms-starter/node_modules/typescript/lib/lib.esnext.array.d.ts +0 -35
  256. package/templates/cms-starter/node_modules/typescript/lib/lib.esnext.collection.d.ts +0 -96
  257. package/templates/cms-starter/node_modules/typescript/lib/lib.esnext.d.ts +0 -29
  258. package/templates/cms-starter/node_modules/typescript/lib/lib.esnext.decorators.d.ts +0 -28
  259. package/templates/cms-starter/node_modules/typescript/lib/lib.esnext.disposable.d.ts +0 -193
  260. package/templates/cms-starter/node_modules/typescript/lib/lib.esnext.error.d.ts +0 -24
  261. package/templates/cms-starter/node_modules/typescript/lib/lib.esnext.float16.d.ts +0 -445
  262. package/templates/cms-starter/node_modules/typescript/lib/lib.esnext.full.d.ts +0 -24
  263. package/templates/cms-starter/node_modules/typescript/lib/lib.esnext.intl.d.ts +0 -21
  264. package/templates/cms-starter/node_modules/typescript/lib/lib.esnext.iterator.d.ts +0 -148
  265. package/templates/cms-starter/node_modules/typescript/lib/lib.esnext.promise.d.ts +0 -34
  266. package/templates/cms-starter/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts +0 -25
  267. package/templates/cms-starter/node_modules/typescript/lib/lib.scripthost.d.ts +0 -322
  268. package/templates/cms-starter/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +0 -41
  269. package/templates/cms-starter/node_modules/typescript/lib/lib.webworker.d.ts +0 -13150
  270. package/templates/cms-starter/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +0 -23
  271. package/templates/cms-starter/node_modules/typescript/lib/lib.webworker.iterable.d.ts +0 -340
  272. package/templates/cms-starter/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +0 -2122
  273. package/templates/cms-starter/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +0 -2122
  274. package/templates/cms-starter/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +0 -2122
  275. package/templates/cms-starter/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +0 -2122
  276. package/templates/cms-starter/node_modules/typescript/lib/tsc.js +0 -8
  277. package/templates/cms-starter/node_modules/typescript/lib/tsserver.js +0 -8
  278. package/templates/cms-starter/node_modules/typescript/lib/tsserverlibrary.d.ts +0 -17
  279. package/templates/cms-starter/node_modules/typescript/lib/tsserverlibrary.js +0 -21
  280. package/templates/cms-starter/node_modules/typescript/lib/typesMap.json +0 -497
  281. package/templates/cms-starter/node_modules/typescript/lib/typescript.d.ts +0 -11437
  282. package/templates/cms-starter/node_modules/typescript/lib/typescript.js +0 -200276
  283. package/templates/cms-starter/node_modules/typescript/lib/typingsInstaller.js +0 -8
  284. package/templates/cms-starter/node_modules/typescript/lib/watchGuard.js +0 -53
  285. package/templates/cms-starter/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +0 -2122
  286. package/templates/cms-starter/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +0 -2122
  287. package/templates/cms-starter/node_modules/typescript/package.json +0 -120
  288. package/templates/cms-starter/node_modules/undici-types/LICENSE +0 -21
  289. package/templates/cms-starter/node_modules/undici-types/README.md +0 -6
  290. package/templates/cms-starter/node_modules/undici-types/agent.d.ts +0 -31
  291. package/templates/cms-starter/node_modules/undici-types/api.d.ts +0 -43
  292. package/templates/cms-starter/node_modules/undici-types/balanced-pool.d.ts +0 -29
  293. package/templates/cms-starter/node_modules/undici-types/cache.d.ts +0 -36
  294. package/templates/cms-starter/node_modules/undici-types/client.d.ts +0 -108
  295. package/templates/cms-starter/node_modules/undici-types/connector.d.ts +0 -34
  296. package/templates/cms-starter/node_modules/undici-types/content-type.d.ts +0 -21
  297. package/templates/cms-starter/node_modules/undici-types/cookies.d.ts +0 -28
  298. package/templates/cms-starter/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  299. package/templates/cms-starter/node_modules/undici-types/dispatcher.d.ts +0 -256
  300. package/templates/cms-starter/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  301. package/templates/cms-starter/node_modules/undici-types/errors.d.ts +0 -149
  302. package/templates/cms-starter/node_modules/undici-types/eventsource.d.ts +0 -61
  303. package/templates/cms-starter/node_modules/undici-types/fetch.d.ts +0 -209
  304. package/templates/cms-starter/node_modules/undici-types/file.d.ts +0 -39
  305. package/templates/cms-starter/node_modules/undici-types/filereader.d.ts +0 -54
  306. package/templates/cms-starter/node_modules/undici-types/formdata.d.ts +0 -108
  307. package/templates/cms-starter/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  308. package/templates/cms-starter/node_modules/undici-types/global-origin.d.ts +0 -7
  309. package/templates/cms-starter/node_modules/undici-types/handlers.d.ts +0 -15
  310. package/templates/cms-starter/node_modules/undici-types/header.d.ts +0 -4
  311. package/templates/cms-starter/node_modules/undici-types/index.d.ts +0 -71
  312. package/templates/cms-starter/node_modules/undici-types/interceptors.d.ts +0 -17
  313. package/templates/cms-starter/node_modules/undici-types/mock-agent.d.ts +0 -50
  314. package/templates/cms-starter/node_modules/undici-types/mock-client.d.ts +0 -25
  315. package/templates/cms-starter/node_modules/undici-types/mock-errors.d.ts +0 -12
  316. package/templates/cms-starter/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  317. package/templates/cms-starter/node_modules/undici-types/mock-pool.d.ts +0 -25
  318. package/templates/cms-starter/node_modules/undici-types/package.json +0 -55
  319. package/templates/cms-starter/node_modules/undici-types/patch.d.ts +0 -33
  320. package/templates/cms-starter/node_modules/undici-types/pool-stats.d.ts +0 -19
  321. package/templates/cms-starter/node_modules/undici-types/pool.d.ts +0 -39
  322. package/templates/cms-starter/node_modules/undici-types/proxy-agent.d.ts +0 -28
  323. package/templates/cms-starter/node_modules/undici-types/readable.d.ts +0 -65
  324. package/templates/cms-starter/node_modules/undici-types/retry-agent.d.ts +0 -8
  325. package/templates/cms-starter/node_modules/undici-types/retry-handler.d.ts +0 -116
  326. package/templates/cms-starter/node_modules/undici-types/util.d.ts +0 -18
  327. package/templates/cms-starter/node_modules/undici-types/webidl.d.ts +0 -228
  328. package/templates/cms-starter/node_modules/undici-types/websocket.d.ts +0 -150
  329. package/templates/cms-starter/package-lock.json +0 -592
@@ -1,120 +0,0 @@
1
- {
2
- "name": "typescript",
3
- "author": "Microsoft Corp.",
4
- "homepage": "https://www.typescriptlang.org/",
5
- "version": "5.9.3",
6
- "license": "Apache-2.0",
7
- "description": "TypeScript is a language for application scale JavaScript development",
8
- "keywords": [
9
- "TypeScript",
10
- "Microsoft",
11
- "compiler",
12
- "language",
13
- "javascript"
14
- ],
15
- "bugs": {
16
- "url": "https://github.com/microsoft/TypeScript/issues"
17
- },
18
- "repository": {
19
- "type": "git",
20
- "url": "https://github.com/microsoft/TypeScript.git"
21
- },
22
- "main": "./lib/typescript.js",
23
- "typings": "./lib/typescript.d.ts",
24
- "bin": {
25
- "tsc": "./bin/tsc",
26
- "tsserver": "./bin/tsserver"
27
- },
28
- "engines": {
29
- "node": ">=14.17"
30
- },
31
- "files": [
32
- "bin",
33
- "lib",
34
- "!lib/enu",
35
- "LICENSE.txt",
36
- "README.md",
37
- "SECURITY.md",
38
- "ThirdPartyNoticeText.txt",
39
- "!**/.gitattributes"
40
- ],
41
- "devDependencies": {
42
- "@dprint/formatter": "^0.4.1",
43
- "@dprint/typescript": "0.93.4",
44
- "@esfx/canceltoken": "^1.0.0",
45
- "@eslint/js": "^9.20.0",
46
- "@octokit/rest": "^21.1.1",
47
- "@types/chai": "^4.3.20",
48
- "@types/diff": "^7.0.1",
49
- "@types/minimist": "^1.2.5",
50
- "@types/mocha": "^10.0.10",
51
- "@types/ms": "^0.7.34",
52
- "@types/node": "latest",
53
- "@types/source-map-support": "^0.5.10",
54
- "@types/which": "^3.0.4",
55
- "@typescript-eslint/rule-tester": "^8.24.1",
56
- "@typescript-eslint/type-utils": "^8.24.1",
57
- "@typescript-eslint/utils": "^8.24.1",
58
- "azure-devops-node-api": "^14.1.0",
59
- "c8": "^10.1.3",
60
- "chai": "^4.5.0",
61
- "chokidar": "^4.0.3",
62
- "diff": "^7.0.0",
63
- "dprint": "^0.49.0",
64
- "esbuild": "^0.25.0",
65
- "eslint": "^9.20.1",
66
- "eslint-formatter-autolinkable-stylish": "^1.4.0",
67
- "eslint-plugin-regexp": "^2.7.0",
68
- "fast-xml-parser": "^4.5.2",
69
- "glob": "^10.4.5",
70
- "globals": "^15.15.0",
71
- "hereby": "^1.10.0",
72
- "jsonc-parser": "^3.3.1",
73
- "knip": "^5.44.4",
74
- "minimist": "^1.2.8",
75
- "mocha": "^10.8.2",
76
- "mocha-fivemat-progress-reporter": "^0.1.0",
77
- "monocart-coverage-reports": "^2.12.1",
78
- "ms": "^2.1.3",
79
- "picocolors": "^1.1.1",
80
- "playwright": "^1.50.1",
81
- "source-map-support": "^0.5.21",
82
- "tslib": "^2.8.1",
83
- "typescript": "^5.7.3",
84
- "typescript-eslint": "^8.24.1",
85
- "which": "^3.0.1"
86
- },
87
- "overrides": {
88
- "typescript@*": "$typescript"
89
- },
90
- "scripts": {
91
- "test": "hereby runtests-parallel --light=false",
92
- "test:eslint-rules": "hereby run-eslint-rules-tests",
93
- "build": "npm run build:compiler && npm run build:tests",
94
- "build:compiler": "hereby local",
95
- "build:tests": "hereby tests",
96
- "build:tests:notypecheck": "hereby tests --no-typecheck",
97
- "clean": "hereby clean",
98
- "gulp": "hereby",
99
- "lint": "hereby lint",
100
- "knip": "hereby knip",
101
- "format": "dprint fmt",
102
- "setup-hooks": "node scripts/link-hooks.mjs"
103
- },
104
- "browser": {
105
- "fs": false,
106
- "os": false,
107
- "path": false,
108
- "crypto": false,
109
- "buffer": false,
110
- "source-map-support": false,
111
- "inspector": false,
112
- "perf_hooks": false
113
- },
114
- "packageManager": "npm@8.19.4",
115
- "volta": {
116
- "node": "20.1.0",
117
- "npm": "8.19.4"
118
- },
119
- "gitHead": "c63de15a992d37f0d6cec03ac7631872838602cb"
120
- }
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) Matteo Collina and Undici contributors
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
@@ -1,6 +0,0 @@
1
- # undici-types
2
-
3
- This package is a dual-publish of the [undici](https://www.npmjs.com/package/undici) library types. The `undici` package **still contains types**. This package is for users who _only_ need undici types (such as for `@types/node`). It is published alongside every release of `undici`, so you can always use the same version.
4
-
5
- - [GitHub nodejs/undici](https://github.com/nodejs/undici)
6
- - [Undici Documentation](https://undici.nodejs.org/#/)
@@ -1,31 +0,0 @@
1
- import { URL } from 'url'
2
- import Pool from './pool'
3
- import Dispatcher from "./dispatcher";
4
-
5
- export default Agent
6
-
7
- declare class Agent extends Dispatcher{
8
- constructor(opts?: Agent.Options)
9
- /** `true` after `dispatcher.close()` has been called. */
10
- closed: boolean;
11
- /** `true` after `dispatcher.destroyed()` has been called or `dispatcher.close()` has been called and the dispatcher shutdown has completed. */
12
- destroyed: boolean;
13
- /** Dispatches a request. */
14
- dispatch(options: Agent.DispatchOptions, handler: Dispatcher.DispatchHandlers): boolean;
15
- }
16
-
17
- declare namespace Agent {
18
- export interface Options extends Pool.Options {
19
- /** Default: `(origin, opts) => new Pool(origin, opts)`. */
20
- factory?(origin: string | URL, opts: Object): Dispatcher;
21
- /** Integer. Default: `0` */
22
- maxRedirections?: number;
23
-
24
- interceptors?: { Agent?: readonly Dispatcher.DispatchInterceptor[] } & Pool.Options["interceptors"]
25
- }
26
-
27
- export interface DispatchOptions extends Dispatcher.DispatchOptions {
28
- /** Integer. */
29
- maxRedirections?: number;
30
- }
31
- }
@@ -1,43 +0,0 @@
1
- import { URL, UrlObject } from 'url'
2
- import { Duplex } from 'stream'
3
- import Dispatcher from './dispatcher'
4
-
5
- export {
6
- request,
7
- stream,
8
- pipeline,
9
- connect,
10
- upgrade,
11
- }
12
-
13
- /** Performs an HTTP request. */
14
- declare function request(
15
- url: string | URL | UrlObject,
16
- options?: { dispatcher?: Dispatcher } & Omit<Dispatcher.RequestOptions, 'origin' | 'path' | 'method'> & Partial<Pick<Dispatcher.RequestOptions, 'method'>>,
17
- ): Promise<Dispatcher.ResponseData>;
18
-
19
- /** A faster version of `request`. */
20
- declare function stream(
21
- url: string | URL | UrlObject,
22
- options: { dispatcher?: Dispatcher } & Omit<Dispatcher.RequestOptions, 'origin' | 'path'>,
23
- factory: Dispatcher.StreamFactory
24
- ): Promise<Dispatcher.StreamData>;
25
-
26
- /** For easy use with `stream.pipeline`. */
27
- declare function pipeline(
28
- url: string | URL | UrlObject,
29
- options: { dispatcher?: Dispatcher } & Omit<Dispatcher.PipelineOptions, 'origin' | 'path'>,
30
- handler: Dispatcher.PipelineHandler
31
- ): Duplex;
32
-
33
- /** Starts two-way communications with the requested resource. */
34
- declare function connect(
35
- url: string | URL | UrlObject,
36
- options?: { dispatcher?: Dispatcher } & Omit<Dispatcher.ConnectOptions, 'origin' | 'path'>
37
- ): Promise<Dispatcher.ConnectData>;
38
-
39
- /** Upgrade to a different protocol. */
40
- declare function upgrade(
41
- url: string | URL | UrlObject,
42
- options?: { dispatcher?: Dispatcher } & Omit<Dispatcher.UpgradeOptions, 'origin' | 'path'>
43
- ): Promise<Dispatcher.UpgradeData>;
@@ -1,29 +0,0 @@
1
- import Pool from './pool'
2
- import Dispatcher from './dispatcher'
3
- import { URL } from 'url'
4
-
5
- export default BalancedPool
6
-
7
- type BalancedPoolConnectOptions = Omit<Dispatcher.ConnectOptions, "origin">;
8
-
9
- declare class BalancedPool extends Dispatcher {
10
- constructor(url: string | string[] | URL | URL[], options?: Pool.Options);
11
-
12
- addUpstream(upstream: string | URL): BalancedPool;
13
- removeUpstream(upstream: string | URL): BalancedPool;
14
- upstreams: Array<string>;
15
-
16
- /** `true` after `pool.close()` has been called. */
17
- closed: boolean;
18
- /** `true` after `pool.destroyed()` has been called or `pool.close()` has been called and the pool shutdown has completed. */
19
- destroyed: boolean;
20
-
21
- // Override dispatcher APIs.
22
- override connect(
23
- options: BalancedPoolConnectOptions
24
- ): Promise<Dispatcher.ConnectData>;
25
- override connect(
26
- options: BalancedPoolConnectOptions,
27
- callback: (err: Error | null, data: Dispatcher.ConnectData) => void
28
- ): void;
29
- }
@@ -1,36 +0,0 @@
1
- import type { RequestInfo, Response, Request } from './fetch'
2
-
3
- export interface CacheStorage {
4
- match (request: RequestInfo, options?: MultiCacheQueryOptions): Promise<Response | undefined>,
5
- has (cacheName: string): Promise<boolean>,
6
- open (cacheName: string): Promise<Cache>,
7
- delete (cacheName: string): Promise<boolean>,
8
- keys (): Promise<string[]>
9
- }
10
-
11
- declare const CacheStorage: {
12
- prototype: CacheStorage
13
- new(): CacheStorage
14
- }
15
-
16
- export interface Cache {
17
- match (request: RequestInfo, options?: CacheQueryOptions): Promise<Response | undefined>,
18
- matchAll (request?: RequestInfo, options?: CacheQueryOptions): Promise<readonly Response[]>,
19
- add (request: RequestInfo): Promise<undefined>,
20
- addAll (requests: RequestInfo[]): Promise<undefined>,
21
- put (request: RequestInfo, response: Response): Promise<undefined>,
22
- delete (request: RequestInfo, options?: CacheQueryOptions): Promise<boolean>,
23
- keys (request?: RequestInfo, options?: CacheQueryOptions): Promise<readonly Request[]>
24
- }
25
-
26
- export interface CacheQueryOptions {
27
- ignoreSearch?: boolean,
28
- ignoreMethod?: boolean,
29
- ignoreVary?: boolean
30
- }
31
-
32
- export interface MultiCacheQueryOptions extends CacheQueryOptions {
33
- cacheName?: string
34
- }
35
-
36
- export declare const caches: CacheStorage
@@ -1,108 +0,0 @@
1
- import { URL } from 'url'
2
- import { TlsOptions } from 'tls'
3
- import Dispatcher from './dispatcher'
4
- import buildConnector from "./connector";
5
-
6
- type ClientConnectOptions = Omit<Dispatcher.ConnectOptions, "origin">;
7
-
8
- /**
9
- * A basic HTTP/1.1 client, mapped on top a single TCP/TLS connection. Pipelining is disabled by default.
10
- */
11
- export class Client extends Dispatcher {
12
- constructor(url: string | URL, options?: Client.Options);
13
- /** Property to get and set the pipelining factor. */
14
- pipelining: number;
15
- /** `true` after `client.close()` has been called. */
16
- closed: boolean;
17
- /** `true` after `client.destroyed()` has been called or `client.close()` has been called and the client shutdown has completed. */
18
- destroyed: boolean;
19
-
20
- // Override dispatcher APIs.
21
- override connect(
22
- options: ClientConnectOptions
23
- ): Promise<Dispatcher.ConnectData>;
24
- override connect(
25
- options: ClientConnectOptions,
26
- callback: (err: Error | null, data: Dispatcher.ConnectData) => void
27
- ): void;
28
- }
29
-
30
- export declare namespace Client {
31
- export interface OptionsInterceptors {
32
- Client: readonly Dispatcher.DispatchInterceptor[];
33
- }
34
- export interface Options {
35
- /** TODO */
36
- interceptors?: OptionsInterceptors;
37
- /** The maximum length of request headers in bytes. Default: Node.js' `--max-http-header-size` or `16384` (16KiB). */
38
- maxHeaderSize?: number;
39
- /** The amount of time, in milliseconds, the parser will wait to receive the complete HTTP headers (Node 14 and above only). Default: `300e3` milliseconds (300s). */
40
- headersTimeout?: number;
41
- /** @deprecated unsupported socketTimeout, use headersTimeout & bodyTimeout instead */
42
- socketTimeout?: never;
43
- /** @deprecated unsupported requestTimeout, use headersTimeout & bodyTimeout instead */
44
- requestTimeout?: never;
45
- /** TODO */
46
- connectTimeout?: number;
47
- /** The timeout after which a request will time out, in milliseconds. Monitors time between receiving body data. Use `0` to disable it entirely. Default: `300e3` milliseconds (300s). */
48
- bodyTimeout?: number;
49
- /** @deprecated unsupported idleTimeout, use keepAliveTimeout instead */
50
- idleTimeout?: never;
51
- /** @deprecated unsupported keepAlive, use pipelining=0 instead */
52
- keepAlive?: never;
53
- /** the timeout, in milliseconds, after which a socket without active requests will time out. Monitors time between activity on a connected socket. This value may be overridden by *keep-alive* hints from the server. Default: `4e3` milliseconds (4s). */
54
- keepAliveTimeout?: number;
55
- /** @deprecated unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead */
56
- maxKeepAliveTimeout?: never;
57
- /** the maximum allowed `idleTimeout`, in milliseconds, when overridden by *keep-alive* hints from the server. Default: `600e3` milliseconds (10min). */
58
- keepAliveMaxTimeout?: number;
59
- /** A number of milliseconds subtracted from server *keep-alive* hints when overriding `idleTimeout` to account for timing inaccuracies caused by e.g. transport latency. Default: `1e3` milliseconds (1s). */
60
- keepAliveTimeoutThreshold?: number;
61
- /** TODO */
62
- socketPath?: string;
63
- /** The amount of concurrent requests to be sent over the single TCP/TLS connection according to [RFC7230](https://tools.ietf.org/html/rfc7230#section-6.3.2). Default: `1`. */
64
- pipelining?: number;
65
- /** @deprecated use the connect option instead */
66
- tls?: never;
67
- /** If `true`, an error is thrown when the request content-length header doesn't match the length of the request body. Default: `true`. */
68
- strictContentLength?: boolean;
69
- /** TODO */
70
- maxCachedSessions?: number;
71
- /** TODO */
72
- maxRedirections?: number;
73
- /** TODO */
74
- connect?: buildConnector.BuildOptions | buildConnector.connector;
75
- /** TODO */
76
- maxRequestsPerClient?: number;
77
- /** TODO */
78
- localAddress?: string;
79
- /** Max response body size in bytes, -1 is disabled */
80
- maxResponseSize?: number;
81
- /** Enables a family autodetection algorithm that loosely implements section 5 of RFC 8305. */
82
- autoSelectFamily?: boolean;
83
- /** The amount of time in milliseconds to wait for a connection attempt to finish before trying the next address when using the `autoSelectFamily` option. */
84
- autoSelectFamilyAttemptTimeout?: number;
85
- /**
86
- * @description Enables support for H2 if the server has assigned bigger priority to it through ALPN negotiation.
87
- * @default false
88
- */
89
- allowH2?: boolean;
90
- /**
91
- * @description Dictates the maximum number of concurrent streams for a single H2 session. It can be overridden by a SETTINGS remote frame.
92
- * @default 100
93
- */
94
- maxConcurrentStreams?: number
95
- }
96
- export interface SocketInfo {
97
- localAddress?: string
98
- localPort?: number
99
- remoteAddress?: string
100
- remotePort?: number
101
- remoteFamily?: string
102
- timeout?: number
103
- bytesWritten?: number
104
- bytesRead?: number
105
- }
106
- }
107
-
108
- export default Client;
@@ -1,34 +0,0 @@
1
- import { TLSSocket, ConnectionOptions } from 'tls'
2
- import { IpcNetConnectOpts, Socket, TcpNetConnectOpts } from 'net'
3
-
4
- export default buildConnector
5
- declare function buildConnector (options?: buildConnector.BuildOptions): buildConnector.connector
6
-
7
- declare namespace buildConnector {
8
- export type BuildOptions = (ConnectionOptions | TcpNetConnectOpts | IpcNetConnectOpts) & {
9
- allowH2?: boolean;
10
- maxCachedSessions?: number | null;
11
- socketPath?: string | null;
12
- timeout?: number | null;
13
- port?: number;
14
- keepAlive?: boolean | null;
15
- keepAliveInitialDelay?: number | null;
16
- }
17
-
18
- export interface Options {
19
- hostname: string
20
- host?: string
21
- protocol: string
22
- port: string
23
- servername?: string
24
- localAddress?: string | null
25
- httpSocket?: Socket
26
- }
27
-
28
- export type Callback = (...args: CallbackArgs) => void
29
- type CallbackArgs = [null, Socket | TLSSocket] | [Error, null]
30
-
31
- export interface connector {
32
- (options: buildConnector.Options, callback: buildConnector.Callback): void
33
- }
34
- }
@@ -1,21 +0,0 @@
1
- /// <reference types="node" />
2
-
3
- interface MIMEType {
4
- type: string
5
- subtype: string
6
- parameters: Map<string, string>
7
- essence: string
8
- }
9
-
10
- /**
11
- * Parse a string to a {@link MIMEType} object. Returns `failure` if the string
12
- * couldn't be parsed.
13
- * @see https://mimesniff.spec.whatwg.org/#parse-a-mime-type
14
- */
15
- export function parseMIMEType (input: string): 'failure' | MIMEType
16
-
17
- /**
18
- * Convert a MIMEType object to a string.
19
- * @see https://mimesniff.spec.whatwg.org/#serialize-a-mime-type
20
- */
21
- export function serializeAMimeType (mimeType: MIMEType): string
@@ -1,28 +0,0 @@
1
- /// <reference types="node" />
2
-
3
- import type { Headers } from './fetch'
4
-
5
- export interface Cookie {
6
- name: string
7
- value: string
8
- expires?: Date | number
9
- maxAge?: number
10
- domain?: string
11
- path?: string
12
- secure?: boolean
13
- httpOnly?: boolean
14
- sameSite?: 'Strict' | 'Lax' | 'None'
15
- unparsed?: string[]
16
- }
17
-
18
- export function deleteCookie (
19
- headers: Headers,
20
- name: string,
21
- attributes?: { name?: string, domain?: string }
22
- ): void
23
-
24
- export function getCookies (headers: Headers): Record<string, string>
25
-
26
- export function getSetCookies (headers: Headers): Cookie[]
27
-
28
- export function setCookie (headers: Headers, cookie: Cookie): void
@@ -1,66 +0,0 @@
1
- import { Socket } from "net";
2
- import { URL } from "url";
3
- import Connector from "./connector";
4
- import Dispatcher from "./dispatcher";
5
-
6
- declare namespace DiagnosticsChannel {
7
- interface Request {
8
- origin?: string | URL;
9
- completed: boolean;
10
- method?: Dispatcher.HttpMethod;
11
- path: string;
12
- headers: any;
13
- }
14
- interface Response {
15
- statusCode: number;
16
- statusText: string;
17
- headers: Array<Buffer>;
18
- }
19
- type Error = unknown;
20
- interface ConnectParams {
21
- host: URL["host"];
22
- hostname: URL["hostname"];
23
- protocol: URL["protocol"];
24
- port: URL["port"];
25
- servername: string | null;
26
- }
27
- type Connector = Connector.connector;
28
- export interface RequestCreateMessage {
29
- request: Request;
30
- }
31
- export interface RequestBodySentMessage {
32
- request: Request;
33
- }
34
- export interface RequestHeadersMessage {
35
- request: Request;
36
- response: Response;
37
- }
38
- export interface RequestTrailersMessage {
39
- request: Request;
40
- trailers: Array<Buffer>;
41
- }
42
- export interface RequestErrorMessage {
43
- request: Request;
44
- error: Error;
45
- }
46
- export interface ClientSendHeadersMessage {
47
- request: Request;
48
- headers: string;
49
- socket: Socket;
50
- }
51
- export interface ClientBeforeConnectMessage {
52
- connectParams: ConnectParams;
53
- connector: Connector;
54
- }
55
- export interface ClientConnectedMessage {
56
- socket: Socket;
57
- connectParams: ConnectParams;
58
- connector: Connector;
59
- }
60
- export interface ClientConnectErrorMessage {
61
- error: Error;
62
- socket: Socket;
63
- connectParams: ConnectParams;
64
- connector: Connector;
65
- }
66
- }