typespeed 2.4.1 → 2.4.2

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 (246) hide show
  1. package/dist/introduction/decorator/example-import.class.js +17 -0
  2. package/dist/introduction/decorator/main-app.js +14 -0
  3. package/dist/introduction/decorator/main-decorator.js +127 -0
  4. package/dist/introduction/decorator/main-import.js +1 -0
  5. package/dist/introduction/decorator/main-reflect.js +38 -0
  6. package/dist/introduction/web-services/db-init.js +33 -0
  7. package/dist/introduction/web-services/db-singleton.js +49 -0
  8. package/dist/introduction/web-services/http-if.js +12 -0
  9. package/dist/introduction/web-services/http-init.js +7 -0
  10. package/dist/introduction/web-services/http-router.js +23 -0
  11. package/dist/{database.decorator.js → src/database.decorator.js} +2 -4
  12. package/package.json +2 -4
  13. package/src/database.decorator.ts +2 -4
  14. package/tsconfig.json +2 -1
  15. package/app/node_modules/.package-lock.json +0 -134
  16. package/app/node_modules/@types/body-parser/LICENSE +0 -21
  17. package/app/node_modules/@types/body-parser/README.md +0 -16
  18. package/app/node_modules/@types/body-parser/index.d.ts +0 -107
  19. package/app/node_modules/@types/body-parser/package.json +0 -58
  20. package/app/node_modules/@types/connect/LICENSE +0 -21
  21. package/app/node_modules/@types/connect/README.md +0 -16
  22. package/app/node_modules/@types/connect/index.d.ts +0 -93
  23. package/app/node_modules/@types/connect/package.json +0 -32
  24. package/app/node_modules/@types/express/LICENSE +0 -21
  25. package/app/node_modules/@types/express/README.md +0 -16
  26. package/app/node_modules/@types/express/index.d.ts +0 -136
  27. package/app/node_modules/@types/express/package.json +0 -45
  28. package/app/node_modules/@types/express-serve-static-core/LICENSE +0 -21
  29. package/app/node_modules/@types/express-serve-static-core/README.md +0 -16
  30. package/app/node_modules/@types/express-serve-static-core/index.d.ts +0 -1281
  31. package/app/node_modules/@types/express-serve-static-core/package.json +0 -55
  32. package/app/node_modules/@types/mime/LICENSE +0 -21
  33. package/app/node_modules/@types/mime/Mime.d.ts +0 -10
  34. package/app/node_modules/@types/mime/README.md +0 -16
  35. package/app/node_modules/@types/mime/index.d.ts +0 -35
  36. package/app/node_modules/@types/mime/lite.d.ts +0 -7
  37. package/app/node_modules/@types/mime/package.json +0 -29
  38. package/app/node_modules/@types/node/LICENSE +0 -21
  39. package/app/node_modules/@types/node/README.md +0 -16
  40. package/app/node_modules/@types/node/assert/strict.d.ts +0 -8
  41. package/app/node_modules/@types/node/assert.d.ts +0 -961
  42. package/app/node_modules/@types/node/async_hooks.d.ts +0 -518
  43. package/app/node_modules/@types/node/buffer.d.ts +0 -2323
  44. package/app/node_modules/@types/node/child_process.d.ts +0 -1399
  45. package/app/node_modules/@types/node/cluster.d.ts +0 -410
  46. package/app/node_modules/@types/node/console.d.ts +0 -412
  47. package/app/node_modules/@types/node/constants.d.ts +0 -18
  48. package/app/node_modules/@types/node/crypto.d.ts +0 -3973
  49. package/app/node_modules/@types/node/dgram.d.ts +0 -545
  50. package/app/node_modules/@types/node/diagnostics_channel.d.ts +0 -192
  51. package/app/node_modules/@types/node/dns/promises.d.ts +0 -370
  52. package/app/node_modules/@types/node/dns.d.ts +0 -660
  53. package/app/node_modules/@types/node/dom-events.d.ts +0 -126
  54. package/app/node_modules/@types/node/domain.d.ts +0 -170
  55. package/app/node_modules/@types/node/events.d.ts +0 -682
  56. package/app/node_modules/@types/node/fs/promises.d.ts +0 -1159
  57. package/app/node_modules/@types/node/fs.d.ts +0 -3976
  58. package/app/node_modules/@types/node/globals.d.ts +0 -303
  59. package/app/node_modules/@types/node/globals.global.d.ts +0 -1
  60. package/app/node_modules/@types/node/http.d.ts +0 -1714
  61. package/app/node_modules/@types/node/http2.d.ts +0 -2133
  62. package/app/node_modules/@types/node/https.d.ts +0 -542
  63. package/app/node_modules/@types/node/index.d.ts +0 -134
  64. package/app/node_modules/@types/node/inspector.d.ts +0 -2741
  65. package/app/node_modules/@types/node/module.d.ts +0 -115
  66. package/app/node_modules/@types/node/net.d.ts +0 -883
  67. package/app/node_modules/@types/node/os.d.ts +0 -473
  68. package/app/node_modules/@types/node/package.json +0 -237
  69. package/app/node_modules/@types/node/path.d.ts +0 -191
  70. package/app/node_modules/@types/node/perf_hooks.d.ts +0 -625
  71. package/app/node_modules/@types/node/process.d.ts +0 -1488
  72. package/app/node_modules/@types/node/punycode.d.ts +0 -117
  73. package/app/node_modules/@types/node/querystring.d.ts +0 -131
  74. package/app/node_modules/@types/node/readline/promises.d.ts +0 -143
  75. package/app/node_modules/@types/node/readline.d.ts +0 -653
  76. package/app/node_modules/@types/node/repl.d.ts +0 -424
  77. package/app/node_modules/@types/node/stream/consumers.d.ts +0 -12
  78. package/app/node_modules/@types/node/stream/promises.d.ts +0 -42
  79. package/app/node_modules/@types/node/stream/web.d.ts +0 -330
  80. package/app/node_modules/@types/node/stream.d.ts +0 -1440
  81. package/app/node_modules/@types/node/string_decoder.d.ts +0 -67
  82. package/app/node_modules/@types/node/test.d.ts +0 -783
  83. package/app/node_modules/@types/node/timers/promises.d.ts +0 -93
  84. package/app/node_modules/@types/node/timers.d.ts +0 -101
  85. package/app/node_modules/@types/node/tls.d.ts +0 -1111
  86. package/app/node_modules/@types/node/trace_events.d.ts +0 -171
  87. package/app/node_modules/@types/node/ts4.8/assert/strict.d.ts +0 -8
  88. package/app/node_modules/@types/node/ts4.8/assert.d.ts +0 -961
  89. package/app/node_modules/@types/node/ts4.8/async_hooks.d.ts +0 -518
  90. package/app/node_modules/@types/node/ts4.8/buffer.d.ts +0 -2323
  91. package/app/node_modules/@types/node/ts4.8/child_process.d.ts +0 -1399
  92. package/app/node_modules/@types/node/ts4.8/cluster.d.ts +0 -410
  93. package/app/node_modules/@types/node/ts4.8/console.d.ts +0 -412
  94. package/app/node_modules/@types/node/ts4.8/constants.d.ts +0 -18
  95. package/app/node_modules/@types/node/ts4.8/crypto.d.ts +0 -3972
  96. package/app/node_modules/@types/node/ts4.8/dgram.d.ts +0 -545
  97. package/app/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +0 -192
  98. package/app/node_modules/@types/node/ts4.8/dns/promises.d.ts +0 -370
  99. package/app/node_modules/@types/node/ts4.8/dns.d.ts +0 -660
  100. package/app/node_modules/@types/node/ts4.8/dom-events.d.ts +0 -126
  101. package/app/node_modules/@types/node/ts4.8/domain.d.ts +0 -170
  102. package/app/node_modules/@types/node/ts4.8/events.d.ts +0 -682
  103. package/app/node_modules/@types/node/ts4.8/fs/promises.d.ts +0 -1138
  104. package/app/node_modules/@types/node/ts4.8/fs.d.ts +0 -3875
  105. package/app/node_modules/@types/node/ts4.8/globals.d.ts +0 -302
  106. package/app/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -1
  107. package/app/node_modules/@types/node/ts4.8/http.d.ts +0 -1651
  108. package/app/node_modules/@types/node/ts4.8/http2.d.ts +0 -2133
  109. package/app/node_modules/@types/node/ts4.8/https.d.ts +0 -542
  110. package/app/node_modules/@types/node/ts4.8/index.d.ts +0 -88
  111. package/app/node_modules/@types/node/ts4.8/inspector.d.ts +0 -2741
  112. package/app/node_modules/@types/node/ts4.8/module.d.ts +0 -115
  113. package/app/node_modules/@types/node/ts4.8/net.d.ts +0 -883
  114. package/app/node_modules/@types/node/ts4.8/os.d.ts +0 -473
  115. package/app/node_modules/@types/node/ts4.8/path.d.ts +0 -191
  116. package/app/node_modules/@types/node/ts4.8/perf_hooks.d.ts +0 -625
  117. package/app/node_modules/@types/node/ts4.8/process.d.ts +0 -1488
  118. package/app/node_modules/@types/node/ts4.8/punycode.d.ts +0 -117
  119. package/app/node_modules/@types/node/ts4.8/querystring.d.ts +0 -131
  120. package/app/node_modules/@types/node/ts4.8/readline/promises.d.ts +0 -143
  121. package/app/node_modules/@types/node/ts4.8/readline.d.ts +0 -653
  122. package/app/node_modules/@types/node/ts4.8/repl.d.ts +0 -424
  123. package/app/node_modules/@types/node/ts4.8/stream/consumers.d.ts +0 -12
  124. package/app/node_modules/@types/node/ts4.8/stream/promises.d.ts +0 -42
  125. package/app/node_modules/@types/node/ts4.8/stream/web.d.ts +0 -330
  126. package/app/node_modules/@types/node/ts4.8/stream.d.ts +0 -1440
  127. package/app/node_modules/@types/node/ts4.8/string_decoder.d.ts +0 -67
  128. package/app/node_modules/@types/node/ts4.8/test.d.ts +0 -784
  129. package/app/node_modules/@types/node/ts4.8/timers/promises.d.ts +0 -93
  130. package/app/node_modules/@types/node/ts4.8/timers.d.ts +0 -94
  131. package/app/node_modules/@types/node/ts4.8/tls.d.ts +0 -1111
  132. package/app/node_modules/@types/node/ts4.8/trace_events.d.ts +0 -171
  133. package/app/node_modules/@types/node/ts4.8/tty.d.ts +0 -206
  134. package/app/node_modules/@types/node/ts4.8/url.d.ts +0 -902
  135. package/app/node_modules/@types/node/ts4.8/util.d.ts +0 -2017
  136. package/app/node_modules/@types/node/ts4.8/v8.d.ts +0 -541
  137. package/app/node_modules/@types/node/ts4.8/vm.d.ts +0 -644
  138. package/app/node_modules/@types/node/ts4.8/wasi.d.ts +0 -158
  139. package/app/node_modules/@types/node/ts4.8/worker_threads.d.ts +0 -695
  140. package/app/node_modules/@types/node/ts4.8/zlib.d.ts +0 -517
  141. package/app/node_modules/@types/node/tty.d.ts +0 -206
  142. package/app/node_modules/@types/node/url.d.ts +0 -902
  143. package/app/node_modules/@types/node/util.d.ts +0 -2017
  144. package/app/node_modules/@types/node/v8.d.ts +0 -541
  145. package/app/node_modules/@types/node/vm.d.ts +0 -644
  146. package/app/node_modules/@types/node/wasi.d.ts +0 -158
  147. package/app/node_modules/@types/node/worker_threads.d.ts +0 -695
  148. package/app/node_modules/@types/node/zlib.d.ts +0 -517
  149. package/app/node_modules/@types/qs/LICENSE +0 -21
  150. package/app/node_modules/@types/qs/README.md +0 -16
  151. package/app/node_modules/@types/qs/index.d.ts +0 -62
  152. package/app/node_modules/@types/qs/package.json +0 -65
  153. package/app/node_modules/@types/range-parser/LICENSE +0 -21
  154. package/app/node_modules/@types/range-parser/README.md +0 -55
  155. package/app/node_modules/@types/range-parser/index.d.ts +0 -35
  156. package/app/node_modules/@types/range-parser/package.json +0 -25
  157. package/app/node_modules/@types/send/LICENSE +0 -21
  158. package/app/node_modules/@types/send/README.md +0 -16
  159. package/app/node_modules/@types/send/index.d.ts +0 -231
  160. package/app/node_modules/@types/send/package.json +0 -33
  161. package/app/node_modules/@types/serve-static/LICENSE +0 -21
  162. package/app/node_modules/@types/serve-static/README.md +0 -16
  163. package/app/node_modules/@types/serve-static/index.d.ts +0 -113
  164. package/app/node_modules/@types/serve-static/package.json +0 -38
  165. package/app/node_modules/colors/LICENSE +0 -25
  166. package/app/node_modules/colors/README.md +0 -221
  167. package/app/node_modules/colors/examples/normal-usage.js +0 -82
  168. package/app/node_modules/colors/examples/safe-string.js +0 -79
  169. package/app/node_modules/colors/index.d.ts +0 -136
  170. package/app/node_modules/colors/lib/colors.js +0 -211
  171. package/app/node_modules/colors/lib/custom/trap.js +0 -46
  172. package/app/node_modules/colors/lib/custom/zalgo.js +0 -110
  173. package/app/node_modules/colors/lib/extendStringPrototype.js +0 -110
  174. package/app/node_modules/colors/lib/index.js +0 -13
  175. package/app/node_modules/colors/lib/maps/america.js +0 -10
  176. package/app/node_modules/colors/lib/maps/rainbow.js +0 -12
  177. package/app/node_modules/colors/lib/maps/random.js +0 -11
  178. package/app/node_modules/colors/lib/maps/zebra.js +0 -5
  179. package/app/node_modules/colors/lib/styles.js +0 -95
  180. package/app/node_modules/colors/lib/system/has-flag.js +0 -35
  181. package/app/node_modules/colors/lib/system/supports-colors.js +0 -151
  182. package/app/node_modules/colors/package.json +0 -45
  183. package/app/node_modules/colors/safe.d.ts +0 -48
  184. package/app/node_modules/colors/safe.js +0 -10
  185. package/app/node_modules/colors/themes/generic-logging.js +0 -12
  186. package/app/node_modules/dateformat/LICENSE +0 -20
  187. package/app/node_modules/dateformat/Readme.md +0 -204
  188. package/app/node_modules/dateformat/lib/dateformat.js +0 -1
  189. package/app/node_modules/dateformat/package.json +0 -38
  190. package/app/node_modules/mkdirp/CHANGELOG.md +0 -15
  191. package/app/node_modules/mkdirp/LICENSE +0 -21
  192. package/app/node_modules/mkdirp/bin/cmd.js +0 -68
  193. package/app/node_modules/mkdirp/index.js +0 -31
  194. package/app/node_modules/mkdirp/lib/find-made.js +0 -29
  195. package/app/node_modules/mkdirp/lib/mkdirp-manual.js +0 -64
  196. package/app/node_modules/mkdirp/lib/mkdirp-native.js +0 -39
  197. package/app/node_modules/mkdirp/lib/opts-arg.js +0 -23
  198. package/app/node_modules/mkdirp/lib/path-arg.js +0 -29
  199. package/app/node_modules/mkdirp/lib/use-native.js +0 -10
  200. package/app/node_modules/mkdirp/package.json +0 -44
  201. package/app/node_modules/mkdirp/readme.markdown +0 -266
  202. package/app/node_modules/tinytim/.travis.yml +0 -5
  203. package/app/node_modules/tinytim/README.md +0 -212
  204. package/app/node_modules/tinytim/index.js +0 -1
  205. package/app/node_modules/tinytim/lib/index.js +0 -55
  206. package/app/node_modules/tinytim/lib/tinytim.js +0 -50
  207. package/app/node_modules/tinytim/package.json +0 -24
  208. package/app/node_modules/tinytim/test/files/html.tim +0 -1
  209. package/app/node_modules/tinytim/test/files/string.tim +0 -1
  210. package/app/node_modules/tinytim/test/files/string2.tim +0 -1
  211. package/app/node_modules/tinytim/test/render-file-replace.js +0 -39
  212. package/app/node_modules/tinytim/test/render-replace.js +0 -94
  213. package/app/node_modules/tinytim/test/tim-replace.js +0 -95
  214. package/app/node_modules/tracer/README.md +0 -747
  215. package/app/node_modules/tracer/lib/color_console.js +0 -15
  216. package/app/node_modules/tracer/lib/console.js +0 -165
  217. package/app/node_modules/tracer/lib/dailyfile.js +0 -92
  218. package/app/node_modules/tracer/lib/index.js +0 -10
  219. package/app/node_modules/tracer/lib/settings.js +0 -25
  220. package/app/node_modules/tracer/lib/utils.js +0 -58
  221. package/app/node_modules/tracer/package.json +0 -53
  222. package/app/node_modules/tracer/types/index.d.ts +0 -189
  223. package/dist/scaffold/templates/front-page.class.ts.tpl +0 -12
  224. package/dist/scaffold/templates/main.ts.tpl +0 -13
  225. package/dist/scaffold/templates/nodemon.json.tpl +0 -7
  226. package/dist/scaffold/templates/package.json.tpl +0 -16
  227. package/dist/scaffold/templates/tsconfig.json.tpl +0 -20
  228. /package/dist/{core.decorator.js → src/core.decorator.js} +0 -0
  229. /package/dist/{default → src/default}/default-authentication.class.js +0 -0
  230. /package/dist/{default → src/default}/express-server.class.js +0 -0
  231. /package/dist/{default → src/default}/log-default.class.js +0 -0
  232. /package/dist/{default → src/default}/node-cache.class.js +0 -0
  233. /package/dist/{default → src/default}/pages/404.html +0 -0
  234. /package/dist/{default → src/default}/pages/500.html +0 -0
  235. /package/dist/{default → src/default}/rabbitmq.class.js +0 -0
  236. /package/dist/{default → src/default}/read-write-db.class.js +0 -0
  237. /package/dist/{default → src/default}/redis.class.js +0 -0
  238. /package/dist/{default → src/default}/socket-io.class.js +0 -0
  239. /package/dist/{factory → src/factory}/authentication-factory.class.js +0 -0
  240. /package/dist/{factory → src/factory}/cache-factory.class.js +0 -0
  241. /package/dist/{factory → src/factory}/data-source-factory.class.js +0 -0
  242. /package/dist/{factory → src/factory}/log-factory.class.js +0 -0
  243. /package/dist/{factory → src/factory}/server-factory.class.js +0 -0
  244. /package/dist/{route.decorator.js → src/route.decorator.js} +0 -0
  245. /package/dist/{scaffold → src/scaffold}/command.js +0 -0
  246. /package/dist/{typespeed.js → src/typespeed.js} +0 -0
@@ -1,237 +0,0 @@
1
- {
2
- "name": "@types/node",
3
- "version": "18.16.14",
4
- "description": "TypeScript definitions for Node.js",
5
- "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
- "license": "MIT",
7
- "contributors": [
8
- {
9
- "name": "Microsoft TypeScript",
10
- "url": "https://github.com/Microsoft",
11
- "githubUsername": "Microsoft"
12
- },
13
- {
14
- "name": "DefinitelyTyped",
15
- "url": "https://github.com/DefinitelyTyped",
16
- "githubUsername": "DefinitelyTyped"
17
- },
18
- {
19
- "name": "Alberto Schiabel",
20
- "url": "https://github.com/jkomyno",
21
- "githubUsername": "jkomyno"
22
- },
23
- {
24
- "name": "Alvis HT Tang",
25
- "url": "https://github.com/alvis",
26
- "githubUsername": "alvis"
27
- },
28
- {
29
- "name": "Andrew Makarov",
30
- "url": "https://github.com/r3nya",
31
- "githubUsername": "r3nya"
32
- },
33
- {
34
- "name": "Benjamin Toueg",
35
- "url": "https://github.com/btoueg",
36
- "githubUsername": "btoueg"
37
- },
38
- {
39
- "name": "Chigozirim C.",
40
- "url": "https://github.com/smac89",
41
- "githubUsername": "smac89"
42
- },
43
- {
44
- "name": "David Junger",
45
- "url": "https://github.com/touffy",
46
- "githubUsername": "touffy"
47
- },
48
- {
49
- "name": "Deividas Bakanas",
50
- "url": "https://github.com/DeividasBakanas",
51
- "githubUsername": "DeividasBakanas"
52
- },
53
- {
54
- "name": "Eugene Y. Q. Shen",
55
- "url": "https://github.com/eyqs",
56
- "githubUsername": "eyqs"
57
- },
58
- {
59
- "name": "Hannes Magnusson",
60
- "url": "https://github.com/Hannes-Magnusson-CK",
61
- "githubUsername": "Hannes-Magnusson-CK"
62
- },
63
- {
64
- "name": "Huw",
65
- "url": "https://github.com/hoo29",
66
- "githubUsername": "hoo29"
67
- },
68
- {
69
- "name": "Kelvin Jin",
70
- "url": "https://github.com/kjin",
71
- "githubUsername": "kjin"
72
- },
73
- {
74
- "name": "Klaus Meinhardt",
75
- "url": "https://github.com/ajafff",
76
- "githubUsername": "ajafff"
77
- },
78
- {
79
- "name": "Lishude",
80
- "url": "https://github.com/islishude",
81
- "githubUsername": "islishude"
82
- },
83
- {
84
- "name": "Mariusz Wiktorczyk",
85
- "url": "https://github.com/mwiktorczyk",
86
- "githubUsername": "mwiktorczyk"
87
- },
88
- {
89
- "name": "Mohsen Azimi",
90
- "url": "https://github.com/mohsen1",
91
- "githubUsername": "mohsen1"
92
- },
93
- {
94
- "name": "Nicolas Even",
95
- "url": "https://github.com/n-e",
96
- "githubUsername": "n-e"
97
- },
98
- {
99
- "name": "Nikita Galkin",
100
- "url": "https://github.com/galkin",
101
- "githubUsername": "galkin"
102
- },
103
- {
104
- "name": "Parambir Singh",
105
- "url": "https://github.com/parambirs",
106
- "githubUsername": "parambirs"
107
- },
108
- {
109
- "name": "Sebastian Silbermann",
110
- "url": "https://github.com/eps1lon",
111
- "githubUsername": "eps1lon"
112
- },
113
- {
114
- "name": "Simon Schick",
115
- "url": "https://github.com/SimonSchick",
116
- "githubUsername": "SimonSchick"
117
- },
118
- {
119
- "name": "Thomas den Hollander",
120
- "url": "https://github.com/ThomasdenH",
121
- "githubUsername": "ThomasdenH"
122
- },
123
- {
124
- "name": "Wilco Bakker",
125
- "url": "https://github.com/WilcoBakker",
126
- "githubUsername": "WilcoBakker"
127
- },
128
- {
129
- "name": "wwwy3y3",
130
- "url": "https://github.com/wwwy3y3",
131
- "githubUsername": "wwwy3y3"
132
- },
133
- {
134
- "name": "Samuel Ainsworth",
135
- "url": "https://github.com/samuela",
136
- "githubUsername": "samuela"
137
- },
138
- {
139
- "name": "Kyle Uehlein",
140
- "url": "https://github.com/kuehlein",
141
- "githubUsername": "kuehlein"
142
- },
143
- {
144
- "name": "Thanik Bhongbhibhat",
145
- "url": "https://github.com/bhongy",
146
- "githubUsername": "bhongy"
147
- },
148
- {
149
- "name": "Marcin Kopacz",
150
- "url": "https://github.com/chyzwar",
151
- "githubUsername": "chyzwar"
152
- },
153
- {
154
- "name": "Trivikram Kamat",
155
- "url": "https://github.com/trivikr",
156
- "githubUsername": "trivikr"
157
- },
158
- {
159
- "name": "Junxiao Shi",
160
- "url": "https://github.com/yoursunny",
161
- "githubUsername": "yoursunny"
162
- },
163
- {
164
- "name": "Ilia Baryshnikov",
165
- "url": "https://github.com/qwelias",
166
- "githubUsername": "qwelias"
167
- },
168
- {
169
- "name": "ExE Boss",
170
- "url": "https://github.com/ExE-Boss",
171
- "githubUsername": "ExE-Boss"
172
- },
173
- {
174
- "name": "Piotr Błażejewicz",
175
- "url": "https://github.com/peterblazejewicz",
176
- "githubUsername": "peterblazejewicz"
177
- },
178
- {
179
- "name": "Anna Henningsen",
180
- "url": "https://github.com/addaleax",
181
- "githubUsername": "addaleax"
182
- },
183
- {
184
- "name": "Victor Perin",
185
- "url": "https://github.com/victorperin",
186
- "githubUsername": "victorperin"
187
- },
188
- {
189
- "name": "Yongsheng Zhang",
190
- "url": "https://github.com/ZYSzys",
191
- "githubUsername": "ZYSzys"
192
- },
193
- {
194
- "name": "NodeJS Contributors",
195
- "url": "https://github.com/NodeJS",
196
- "githubUsername": "NodeJS"
197
- },
198
- {
199
- "name": "Linus Unnebäck",
200
- "url": "https://github.com/LinusU",
201
- "githubUsername": "LinusU"
202
- },
203
- {
204
- "name": "wafuwafu13",
205
- "url": "https://github.com/wafuwafu13",
206
- "githubUsername": "wafuwafu13"
207
- },
208
- {
209
- "name": "Matteo Collina",
210
- "url": "https://github.com/mcollina",
211
- "githubUsername": "mcollina"
212
- },
213
- {
214
- "name": "Dmitry Semigradsky",
215
- "url": "https://github.com/Semigradsky",
216
- "githubUsername": "Semigradsky"
217
- }
218
- ],
219
- "main": "",
220
- "types": "index.d.ts",
221
- "typesVersions": {
222
- "<=4.8": {
223
- "*": [
224
- "ts4.8/*"
225
- ]
226
- }
227
- },
228
- "repository": {
229
- "type": "git",
230
- "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
231
- "directory": "types/node"
232
- },
233
- "scripts": {},
234
- "dependencies": {},
235
- "typesPublisherContentHash": "1ddc18d0b32383ce71e84dee2d8cf940cfad390444fd7248f2435c57f7d2c2b4",
236
- "typeScriptVersion": "4.3"
237
- }
@@ -1,191 +0,0 @@
1
- declare module 'path/posix' {
2
- import path = require('path');
3
- export = path;
4
- }
5
- declare module 'path/win32' {
6
- import path = require('path');
7
- export = path;
8
- }
9
- /**
10
- * The `path` module provides utilities for working with file and directory paths.
11
- * It can be accessed using:
12
- *
13
- * ```js
14
- * const path = require('path');
15
- * ```
16
- * @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/path.js)
17
- */
18
- declare module 'path' {
19
- namespace path {
20
- /**
21
- * A parsed path object generated by path.parse() or consumed by path.format().
22
- */
23
- interface ParsedPath {
24
- /**
25
- * The root of the path such as '/' or 'c:\'
26
- */
27
- root: string;
28
- /**
29
- * The full directory path such as '/home/user/dir' or 'c:\path\dir'
30
- */
31
- dir: string;
32
- /**
33
- * The file name including extension (if any) such as 'index.html'
34
- */
35
- base: string;
36
- /**
37
- * The file extension (if any) such as '.html'
38
- */
39
- ext: string;
40
- /**
41
- * The file name without extension (if any) such as 'index'
42
- */
43
- name: string;
44
- }
45
- interface FormatInputPathObject {
46
- /**
47
- * The root of the path such as '/' or 'c:\'
48
- */
49
- root?: string | undefined;
50
- /**
51
- * The full directory path such as '/home/user/dir' or 'c:\path\dir'
52
- */
53
- dir?: string | undefined;
54
- /**
55
- * The file name including extension (if any) such as 'index.html'
56
- */
57
- base?: string | undefined;
58
- /**
59
- * The file extension (if any) such as '.html'
60
- */
61
- ext?: string | undefined;
62
- /**
63
- * The file name without extension (if any) such as 'index'
64
- */
65
- name?: string | undefined;
66
- }
67
- interface PlatformPath {
68
- /**
69
- * Normalize a string path, reducing '..' and '.' parts.
70
- * When multiple slashes are found, they're replaced by a single one; when the path contains a trailing slash, it is preserved. On Windows backslashes are used.
71
- *
72
- * @param path string path to normalize.
73
- * @throws {TypeError} if `path` is not a string.
74
- */
75
- normalize(path: string): string;
76
- /**
77
- * Join all arguments together and normalize the resulting path.
78
- *
79
- * @param paths paths to join.
80
- * @throws {TypeError} if any of the path segments is not a string.
81
- */
82
- join(...paths: string[]): string;
83
- /**
84
- * The right-most parameter is considered {to}. Other parameters are considered an array of {from}.
85
- *
86
- * Starting from leftmost {from} parameter, resolves {to} to an absolute path.
87
- *
88
- * If {to} isn't already absolute, {from} arguments are prepended in right to left order,
89
- * until an absolute path is found. If after using all {from} paths still no absolute path is found,
90
- * the current working directory is used as well. The resulting path is normalized,
91
- * and trailing slashes are removed unless the path gets resolved to the root directory.
92
- *
93
- * @param paths A sequence of paths or path segments.
94
- * @throws {TypeError} if any of the arguments is not a string.
95
- */
96
- resolve(...paths: string[]): string;
97
- /**
98
- * Determines whether {path} is an absolute path. An absolute path will always resolve to the same location, regardless of the working directory.
99
- *
100
- * If the given {path} is a zero-length string, `false` will be returned.
101
- *
102
- * @param path path to test.
103
- * @throws {TypeError} if `path` is not a string.
104
- */
105
- isAbsolute(path: string): boolean;
106
- /**
107
- * Solve the relative path from {from} to {to} based on the current working directory.
108
- * At times we have two absolute paths, and we need to derive the relative path from one to the other. This is actually the reverse transform of path.resolve.
109
- *
110
- * @throws {TypeError} if either `from` or `to` is not a string.
111
- */
112
- relative(from: string, to: string): string;
113
- /**
114
- * Return the directory name of a path. Similar to the Unix dirname command.
115
- *
116
- * @param path the path to evaluate.
117
- * @throws {TypeError} if `path` is not a string.
118
- */
119
- dirname(path: string): string;
120
- /**
121
- * Return the last portion of a path. Similar to the Unix basename command.
122
- * Often used to extract the file name from a fully qualified path.
123
- *
124
- * @param path the path to evaluate.
125
- * @param suffix optionally, an extension to remove from the result.
126
- * @throws {TypeError} if `path` is not a string or if `ext` is given and is not a string.
127
- */
128
- basename(path: string, suffix?: string): string;
129
- /**
130
- * Return the extension of the path, from the last '.' to end of string in the last portion of the path.
131
- * If there is no '.' in the last portion of the path or the first character of it is '.', then it returns an empty string.
132
- *
133
- * @param path the path to evaluate.
134
- * @throws {TypeError} if `path` is not a string.
135
- */
136
- extname(path: string): string;
137
- /**
138
- * The platform-specific file separator. '\\' or '/'.
139
- */
140
- readonly sep: '\\' | '/';
141
- /**
142
- * The platform-specific file delimiter. ';' or ':'.
143
- */
144
- readonly delimiter: ';' | ':';
145
- /**
146
- * Returns an object from a path string - the opposite of format().
147
- *
148
- * @param path path to evaluate.
149
- * @throws {TypeError} if `path` is not a string.
150
- */
151
- parse(path: string): ParsedPath;
152
- /**
153
- * Returns a path string from an object - the opposite of parse().
154
- *
155
- * @param pathObject path to evaluate.
156
- */
157
- format(pathObject: FormatInputPathObject): string;
158
- /**
159
- * On Windows systems only, returns an equivalent namespace-prefixed path for the given path.
160
- * If path is not a string, path will be returned without modifications.
161
- * This method is meaningful only on Windows system.
162
- * On POSIX systems, the method is non-operational and always returns path without modifications.
163
- */
164
- toNamespacedPath(path: string): string;
165
- /**
166
- * Posix specific pathing.
167
- * Same as parent object on posix.
168
- */
169
- readonly posix: PlatformPath;
170
- /**
171
- * Windows specific pathing.
172
- * Same as parent object on windows
173
- */
174
- readonly win32: PlatformPath;
175
- }
176
- }
177
- const path: path.PlatformPath;
178
- export = path;
179
- }
180
- declare module 'node:path' {
181
- import path = require('path');
182
- export = path;
183
- }
184
- declare module 'node:path/posix' {
185
- import path = require('path/posix');
186
- export = path;
187
- }
188
- declare module 'node:path/win32' {
189
- import path = require('path/win32');
190
- export = path;
191
- }