rahad-all-downloader 2.1.15 → 2.1.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (186) hide show
  1. package/.github/workflows/Run.yml +20 -0
  2. package/README.md +0 -1
  3. package/index.js +1 -1
  4. package/package.json +4 -2
  5. package/.cache/nix/binary-cache-v6.sqlite +0 -0
  6. package/.cache/nix/binary-cache-v6.sqlite-journal +0 -0
  7. package/.cache/replit/modules/nix.res +0 -1
  8. package/.cache/replit/modules/nodejs-20.res +0 -1
  9. package/.cache/replit/modules/replit.res +0 -1
  10. package/.cache/replit/modules.stamp +0 -0
  11. package/.cache/replit/nix/env.json +0 -1
  12. package/.cache/typescript/5.4/node_modules/.package-lock.json +0 -137
  13. package/.cache/typescript/5.4/node_modules/@types/caseless/LICENSE +0 -21
  14. package/.cache/typescript/5.4/node_modules/@types/caseless/README.md +0 -48
  15. package/.cache/typescript/5.4/node_modules/@types/caseless/index.d.ts +0 -29
  16. package/.cache/typescript/5.4/node_modules/@types/caseless/package.json +0 -35
  17. package/.cache/typescript/5.4/node_modules/@types/node/LICENSE +0 -21
  18. package/.cache/typescript/5.4/node_modules/@types/node/README.md +0 -15
  19. package/.cache/typescript/5.4/node_modules/@types/node/assert/strict.d.ts +0 -8
  20. package/.cache/typescript/5.4/node_modules/@types/node/assert.d.ts +0 -1040
  21. package/.cache/typescript/5.4/node_modules/@types/node/async_hooks.d.ts +0 -541
  22. package/.cache/typescript/5.4/node_modules/@types/node/buffer.d.ts +0 -2363
  23. package/.cache/typescript/5.4/node_modules/@types/node/child_process.d.ts +0 -1544
  24. package/.cache/typescript/5.4/node_modules/@types/node/cluster.d.ts +0 -578
  25. package/.cache/typescript/5.4/node_modules/@types/node/console.d.ts +0 -452
  26. package/.cache/typescript/5.4/node_modules/@types/node/constants.d.ts +0 -19
  27. package/.cache/typescript/5.4/node_modules/@types/node/crypto.d.ts +0 -4523
  28. package/.cache/typescript/5.4/node_modules/@types/node/dgram.d.ts +0 -596
  29. package/.cache/typescript/5.4/node_modules/@types/node/diagnostics_channel.d.ts +0 -554
  30. package/.cache/typescript/5.4/node_modules/@types/node/dns/promises.d.ts +0 -474
  31. package/.cache/typescript/5.4/node_modules/@types/node/dns.d.ts +0 -864
  32. package/.cache/typescript/5.4/node_modules/@types/node/dom-events.d.ts +0 -124
  33. package/.cache/typescript/5.4/node_modules/@types/node/domain.d.ts +0 -170
  34. package/.cache/typescript/5.4/node_modules/@types/node/events.d.ts +0 -909
  35. package/.cache/typescript/5.4/node_modules/@types/node/fs/promises.d.ts +0 -1245
  36. package/.cache/typescript/5.4/node_modules/@types/node/fs.d.ts +0 -4317
  37. package/.cache/typescript/5.4/node_modules/@types/node/globals.d.ts +0 -411
  38. package/.cache/typescript/5.4/node_modules/@types/node/globals.global.d.ts +0 -1
  39. package/.cache/typescript/5.4/node_modules/@types/node/http.d.ts +0 -1908
  40. package/.cache/typescript/5.4/node_modules/@types/node/http2.d.ts +0 -2418
  41. package/.cache/typescript/5.4/node_modules/@types/node/https.d.ts +0 -550
  42. package/.cache/typescript/5.4/node_modules/@types/node/index.d.ts +0 -89
  43. package/.cache/typescript/5.4/node_modules/@types/node/inspector.d.ts +0 -2746
  44. package/.cache/typescript/5.4/node_modules/@types/node/module.d.ts +0 -315
  45. package/.cache/typescript/5.4/node_modules/@types/node/net.d.ts +0 -999
  46. package/.cache/typescript/5.4/node_modules/@types/node/os.d.ts +0 -495
  47. package/.cache/typescript/5.4/node_modules/@types/node/package.json +0 -217
  48. package/.cache/typescript/5.4/node_modules/@types/node/path.d.ts +0 -191
  49. package/.cache/typescript/5.4/node_modules/@types/node/perf_hooks.d.ts +0 -905
  50. package/.cache/typescript/5.4/node_modules/@types/node/process.d.ts +0 -1754
  51. package/.cache/typescript/5.4/node_modules/@types/node/punycode.d.ts +0 -117
  52. package/.cache/typescript/5.4/node_modules/@types/node/querystring.d.ts +0 -153
  53. package/.cache/typescript/5.4/node_modules/@types/node/readline/promises.d.ts +0 -150
  54. package/.cache/typescript/5.4/node_modules/@types/node/readline.d.ts +0 -540
  55. package/.cache/typescript/5.4/node_modules/@types/node/repl.d.ts +0 -430
  56. package/.cache/typescript/5.4/node_modules/@types/node/sea.d.ts +0 -153
  57. package/.cache/typescript/5.4/node_modules/@types/node/stream/consumers.d.ts +0 -12
  58. package/.cache/typescript/5.4/node_modules/@types/node/stream/promises.d.ts +0 -83
  59. package/.cache/typescript/5.4/node_modules/@types/node/stream/web.d.ts +0 -367
  60. package/.cache/typescript/5.4/node_modules/@types/node/stream.d.ts +0 -1707
  61. package/.cache/typescript/5.4/node_modules/@types/node/string_decoder.d.ts +0 -67
  62. package/.cache/typescript/5.4/node_modules/@types/node/test.d.ts +0 -1718
  63. package/.cache/typescript/5.4/node_modules/@types/node/timers/promises.d.ts +0 -97
  64. package/.cache/typescript/5.4/node_modules/@types/node/timers.d.ts +0 -240
  65. package/.cache/typescript/5.4/node_modules/@types/node/tls.d.ts +0 -1217
  66. package/.cache/typescript/5.4/node_modules/@types/node/trace_events.d.ts +0 -197
  67. package/.cache/typescript/5.4/node_modules/@types/node/tty.d.ts +0 -208
  68. package/.cache/typescript/5.4/node_modules/@types/node/url.d.ts +0 -952
  69. package/.cache/typescript/5.4/node_modules/@types/node/util.d.ts +0 -2292
  70. package/.cache/typescript/5.4/node_modules/@types/node/v8.d.ts +0 -808
  71. package/.cache/typescript/5.4/node_modules/@types/node/vm.d.ts +0 -924
  72. package/.cache/typescript/5.4/node_modules/@types/node/wasi.d.ts +0 -181
  73. package/.cache/typescript/5.4/node_modules/@types/node/worker_threads.d.ts +0 -691
  74. package/.cache/typescript/5.4/node_modules/@types/node/zlib.d.ts +0 -530
  75. package/.cache/typescript/5.4/node_modules/@types/node-fetch/LICENSE +0 -21
  76. package/.cache/typescript/5.4/node_modules/@types/node-fetch/README.md +0 -15
  77. package/.cache/typescript/5.4/node_modules/@types/node-fetch/externals.d.ts +0 -32
  78. package/.cache/typescript/5.4/node_modules/@types/node-fetch/index.d.ts +0 -238
  79. package/.cache/typescript/5.4/node_modules/@types/node-fetch/package.json +0 -83
  80. package/.cache/typescript/5.4/node_modules/@types/request/LICENSE +0 -21
  81. package/.cache/typescript/5.4/node_modules/@types/request/README.md +0 -15
  82. package/.cache/typescript/5.4/node_modules/@types/request/index.d.ts +0 -395
  83. package/.cache/typescript/5.4/node_modules/@types/request/node_modules/form-data/License +0 -19
  84. package/.cache/typescript/5.4/node_modules/@types/request/node_modules/form-data/README.md +0 -350
  85. package/.cache/typescript/5.4/node_modules/@types/request/node_modules/form-data/README.md.bak +0 -350
  86. package/.cache/typescript/5.4/node_modules/@types/request/node_modules/form-data/index.d.ts +0 -51
  87. package/.cache/typescript/5.4/node_modules/@types/request/node_modules/form-data/lib/browser.js +0 -2
  88. package/.cache/typescript/5.4/node_modules/@types/request/node_modules/form-data/lib/form_data.js +0 -483
  89. package/.cache/typescript/5.4/node_modules/@types/request/node_modules/form-data/lib/populate.js +0 -10
  90. package/.cache/typescript/5.4/node_modules/@types/request/node_modules/form-data/package.json +0 -68
  91. package/.cache/typescript/5.4/node_modules/@types/request/package.json +0 -70
  92. package/.cache/typescript/5.4/node_modules/@types/tough-cookie/LICENSE +0 -21
  93. package/.cache/typescript/5.4/node_modules/@types/tough-cookie/README.md +0 -15
  94. package/.cache/typescript/5.4/node_modules/@types/tough-cookie/index.d.ts +0 -321
  95. package/.cache/typescript/5.4/node_modules/@types/tough-cookie/package.json +0 -35
  96. package/.cache/typescript/5.4/node_modules/asynckit/LICENSE +0 -21
  97. package/.cache/typescript/5.4/node_modules/asynckit/README.md +0 -233
  98. package/.cache/typescript/5.4/node_modules/asynckit/bench.js +0 -76
  99. package/.cache/typescript/5.4/node_modules/asynckit/index.js +0 -6
  100. package/.cache/typescript/5.4/node_modules/asynckit/lib/abort.js +0 -29
  101. package/.cache/typescript/5.4/node_modules/asynckit/lib/async.js +0 -34
  102. package/.cache/typescript/5.4/node_modules/asynckit/lib/defer.js +0 -26
  103. package/.cache/typescript/5.4/node_modules/asynckit/lib/iterate.js +0 -75
  104. package/.cache/typescript/5.4/node_modules/asynckit/lib/readable_asynckit.js +0 -91
  105. package/.cache/typescript/5.4/node_modules/asynckit/lib/readable_parallel.js +0 -25
  106. package/.cache/typescript/5.4/node_modules/asynckit/lib/readable_serial.js +0 -25
  107. package/.cache/typescript/5.4/node_modules/asynckit/lib/readable_serial_ordered.js +0 -29
  108. package/.cache/typescript/5.4/node_modules/asynckit/lib/state.js +0 -37
  109. package/.cache/typescript/5.4/node_modules/asynckit/lib/streamify.js +0 -141
  110. package/.cache/typescript/5.4/node_modules/asynckit/lib/terminator.js +0 -29
  111. package/.cache/typescript/5.4/node_modules/asynckit/package.json +0 -63
  112. package/.cache/typescript/5.4/node_modules/asynckit/parallel.js +0 -43
  113. package/.cache/typescript/5.4/node_modules/asynckit/serial.js +0 -17
  114. package/.cache/typescript/5.4/node_modules/asynckit/serialOrdered.js +0 -75
  115. package/.cache/typescript/5.4/node_modules/asynckit/stream.js +0 -21
  116. package/.cache/typescript/5.4/node_modules/combined-stream/License +0 -19
  117. package/.cache/typescript/5.4/node_modules/combined-stream/Readme.md +0 -138
  118. package/.cache/typescript/5.4/node_modules/combined-stream/lib/combined_stream.js +0 -208
  119. package/.cache/typescript/5.4/node_modules/combined-stream/package.json +0 -25
  120. package/.cache/typescript/5.4/node_modules/combined-stream/yarn.lock +0 -17
  121. package/.cache/typescript/5.4/node_modules/delayed-stream/License +0 -19
  122. package/.cache/typescript/5.4/node_modules/delayed-stream/Makefile +0 -7
  123. package/.cache/typescript/5.4/node_modules/delayed-stream/Readme.md +0 -141
  124. package/.cache/typescript/5.4/node_modules/delayed-stream/lib/delayed_stream.js +0 -107
  125. package/.cache/typescript/5.4/node_modules/delayed-stream/package.json +0 -27
  126. package/.cache/typescript/5.4/node_modules/form-data/License +0 -19
  127. package/.cache/typescript/5.4/node_modules/form-data/README.md.bak +0 -358
  128. package/.cache/typescript/5.4/node_modules/form-data/Readme.md +0 -358
  129. package/.cache/typescript/5.4/node_modules/form-data/index.d.ts +0 -62
  130. package/.cache/typescript/5.4/node_modules/form-data/lib/browser.js +0 -2
  131. package/.cache/typescript/5.4/node_modules/form-data/lib/form_data.js +0 -501
  132. package/.cache/typescript/5.4/node_modules/form-data/lib/populate.js +0 -10
  133. package/.cache/typescript/5.4/node_modules/form-data/package.json +0 -68
  134. package/.cache/typescript/5.4/node_modules/mime-db/HISTORY.md +0 -507
  135. package/.cache/typescript/5.4/node_modules/mime-db/LICENSE +0 -23
  136. package/.cache/typescript/5.4/node_modules/mime-db/README.md +0 -100
  137. package/.cache/typescript/5.4/node_modules/mime-db/db.json +0 -8519
  138. package/.cache/typescript/5.4/node_modules/mime-db/index.js +0 -12
  139. package/.cache/typescript/5.4/node_modules/mime-db/package.json +0 -60
  140. package/.cache/typescript/5.4/node_modules/mime-types/HISTORY.md +0 -397
  141. package/.cache/typescript/5.4/node_modules/mime-types/LICENSE +0 -23
  142. package/.cache/typescript/5.4/node_modules/mime-types/README.md +0 -113
  143. package/.cache/typescript/5.4/node_modules/mime-types/index.js +0 -188
  144. package/.cache/typescript/5.4/node_modules/mime-types/package.json +0 -44
  145. package/.cache/typescript/5.4/node_modules/types-registry/README.md +0 -2
  146. package/.cache/typescript/5.4/node_modules/types-registry/index.json +0 -1
  147. package/.cache/typescript/5.4/node_modules/types-registry/package.json +0 -20
  148. package/.cache/typescript/5.4/node_modules/undici-types/README.md +0 -6
  149. package/.cache/typescript/5.4/node_modules/undici-types/agent.d.ts +0 -31
  150. package/.cache/typescript/5.4/node_modules/undici-types/api.d.ts +0 -43
  151. package/.cache/typescript/5.4/node_modules/undici-types/balanced-pool.d.ts +0 -18
  152. package/.cache/typescript/5.4/node_modules/undici-types/cache.d.ts +0 -36
  153. package/.cache/typescript/5.4/node_modules/undici-types/client.d.ts +0 -97
  154. package/.cache/typescript/5.4/node_modules/undici-types/connector.d.ts +0 -34
  155. package/.cache/typescript/5.4/node_modules/undici-types/content-type.d.ts +0 -21
  156. package/.cache/typescript/5.4/node_modules/undici-types/cookies.d.ts +0 -28
  157. package/.cache/typescript/5.4/node_modules/undici-types/diagnostics-channel.d.ts +0 -67
  158. package/.cache/typescript/5.4/node_modules/undici-types/dispatcher.d.ts +0 -241
  159. package/.cache/typescript/5.4/node_modules/undici-types/errors.d.ts +0 -128
  160. package/.cache/typescript/5.4/node_modules/undici-types/fetch.d.ts +0 -209
  161. package/.cache/typescript/5.4/node_modules/undici-types/file.d.ts +0 -39
  162. package/.cache/typescript/5.4/node_modules/undici-types/filereader.d.ts +0 -54
  163. package/.cache/typescript/5.4/node_modules/undici-types/formdata.d.ts +0 -108
  164. package/.cache/typescript/5.4/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  165. package/.cache/typescript/5.4/node_modules/undici-types/global-origin.d.ts +0 -7
  166. package/.cache/typescript/5.4/node_modules/undici-types/handlers.d.ts +0 -9
  167. package/.cache/typescript/5.4/node_modules/undici-types/header.d.ts +0 -4
  168. package/.cache/typescript/5.4/node_modules/undici-types/index.d.ts +0 -63
  169. package/.cache/typescript/5.4/node_modules/undici-types/interceptors.d.ts +0 -5
  170. package/.cache/typescript/5.4/node_modules/undici-types/mock-agent.d.ts +0 -50
  171. package/.cache/typescript/5.4/node_modules/undici-types/mock-client.d.ts +0 -25
  172. package/.cache/typescript/5.4/node_modules/undici-types/mock-errors.d.ts +0 -12
  173. package/.cache/typescript/5.4/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  174. package/.cache/typescript/5.4/node_modules/undici-types/mock-pool.d.ts +0 -25
  175. package/.cache/typescript/5.4/node_modules/undici-types/package.json +0 -55
  176. package/.cache/typescript/5.4/node_modules/undici-types/patch.d.ts +0 -71
  177. package/.cache/typescript/5.4/node_modules/undici-types/pool-stats.d.ts +0 -19
  178. package/.cache/typescript/5.4/node_modules/undici-types/pool.d.ts +0 -28
  179. package/.cache/typescript/5.4/node_modules/undici-types/proxy-agent.d.ts +0 -30
  180. package/.cache/typescript/5.4/node_modules/undici-types/readable.d.ts +0 -61
  181. package/.cache/typescript/5.4/node_modules/undici-types/webidl.d.ts +0 -220
  182. package/.cache/typescript/5.4/node_modules/undici-types/websocket.d.ts +0 -131
  183. package/.cache/typescript/5.4/package-lock.json +0 -146
  184. package/.cache/typescript/5.4/package.json +0 -1
  185. package/.replit +0 -21
  186. package/replit.nix +0 -3
@@ -1,217 +0,0 @@
1
- {
2
- "name": "@types/node",
3
- "version": "20.14.2",
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": "Alvis HT Tang",
20
- "githubUsername": "alvis",
21
- "url": "https://github.com/alvis"
22
- },
23
- {
24
- "name": "Andrew Makarov",
25
- "githubUsername": "r3nya",
26
- "url": "https://github.com/r3nya"
27
- },
28
- {
29
- "name": "Benjamin Toueg",
30
- "githubUsername": "btoueg",
31
- "url": "https://github.com/btoueg"
32
- },
33
- {
34
- "name": "Chigozirim C.",
35
- "githubUsername": "smac89",
36
- "url": "https://github.com/smac89"
37
- },
38
- {
39
- "name": "David Junger",
40
- "githubUsername": "touffy",
41
- "url": "https://github.com/touffy"
42
- },
43
- {
44
- "name": "Deividas Bakanas",
45
- "githubUsername": "DeividasBakanas",
46
- "url": "https://github.com/DeividasBakanas"
47
- },
48
- {
49
- "name": "Eugene Y. Q. Shen",
50
- "githubUsername": "eyqs",
51
- "url": "https://github.com/eyqs"
52
- },
53
- {
54
- "name": "Hannes Magnusson",
55
- "githubUsername": "Hannes-Magnusson-CK",
56
- "url": "https://github.com/Hannes-Magnusson-CK"
57
- },
58
- {
59
- "name": "Huw",
60
- "githubUsername": "hoo29",
61
- "url": "https://github.com/hoo29"
62
- },
63
- {
64
- "name": "Kelvin Jin",
65
- "githubUsername": "kjin",
66
- "url": "https://github.com/kjin"
67
- },
68
- {
69
- "name": "Klaus Meinhardt",
70
- "githubUsername": "ajafff",
71
- "url": "https://github.com/ajafff"
72
- },
73
- {
74
- "name": "Lishude",
75
- "githubUsername": "islishude",
76
- "url": "https://github.com/islishude"
77
- },
78
- {
79
- "name": "Mariusz Wiktorczyk",
80
- "githubUsername": "mwiktorczyk",
81
- "url": "https://github.com/mwiktorczyk"
82
- },
83
- {
84
- "name": "Mohsen Azimi",
85
- "githubUsername": "mohsen1",
86
- "url": "https://github.com/mohsen1"
87
- },
88
- {
89
- "name": "Nikita Galkin",
90
- "githubUsername": "galkin",
91
- "url": "https://github.com/galkin"
92
- },
93
- {
94
- "name": "Parambir Singh",
95
- "githubUsername": "parambirs",
96
- "url": "https://github.com/parambirs"
97
- },
98
- {
99
- "name": "Sebastian Silbermann",
100
- "githubUsername": "eps1lon",
101
- "url": "https://github.com/eps1lon"
102
- },
103
- {
104
- "name": "Thomas den Hollander",
105
- "githubUsername": "ThomasdenH",
106
- "url": "https://github.com/ThomasdenH"
107
- },
108
- {
109
- "name": "Wilco Bakker",
110
- "githubUsername": "WilcoBakker",
111
- "url": "https://github.com/WilcoBakker"
112
- },
113
- {
114
- "name": "wwwy3y3",
115
- "githubUsername": "wwwy3y3",
116
- "url": "https://github.com/wwwy3y3"
117
- },
118
- {
119
- "name": "Samuel Ainsworth",
120
- "githubUsername": "samuela",
121
- "url": "https://github.com/samuela"
122
- },
123
- {
124
- "name": "Kyle Uehlein",
125
- "githubUsername": "kuehlein",
126
- "url": "https://github.com/kuehlein"
127
- },
128
- {
129
- "name": "Thanik Bhongbhibhat",
130
- "githubUsername": "bhongy",
131
- "url": "https://github.com/bhongy"
132
- },
133
- {
134
- "name": "Marcin Kopacz",
135
- "githubUsername": "chyzwar",
136
- "url": "https://github.com/chyzwar"
137
- },
138
- {
139
- "name": "Trivikram Kamat",
140
- "githubUsername": "trivikr",
141
- "url": "https://github.com/trivikr"
142
- },
143
- {
144
- "name": "Junxiao Shi",
145
- "githubUsername": "yoursunny",
146
- "url": "https://github.com/yoursunny"
147
- },
148
- {
149
- "name": "Ilia Baryshnikov",
150
- "githubUsername": "qwelias",
151
- "url": "https://github.com/qwelias"
152
- },
153
- {
154
- "name": "ExE Boss",
155
- "githubUsername": "ExE-Boss",
156
- "url": "https://github.com/ExE-Boss"
157
- },
158
- {
159
- "name": "Piotr Błażejewicz",
160
- "githubUsername": "peterblazejewicz",
161
- "url": "https://github.com/peterblazejewicz"
162
- },
163
- {
164
- "name": "Anna Henningsen",
165
- "githubUsername": "addaleax",
166
- "url": "https://github.com/addaleax"
167
- },
168
- {
169
- "name": "Victor Perin",
170
- "githubUsername": "victorperin",
171
- "url": "https://github.com/victorperin"
172
- },
173
- {
174
- "name": "Yongsheng Zhang",
175
- "githubUsername": "ZYSzys",
176
- "url": "https://github.com/ZYSzys"
177
- },
178
- {
179
- "name": "NodeJS Contributors",
180
- "githubUsername": "NodeJS",
181
- "url": "https://github.com/NodeJS"
182
- },
183
- {
184
- "name": "Linus Unnebäck",
185
- "githubUsername": "LinusU",
186
- "url": "https://github.com/LinusU"
187
- },
188
- {
189
- "name": "wafuwafu13",
190
- "githubUsername": "wafuwafu13",
191
- "url": "https://github.com/wafuwafu13"
192
- },
193
- {
194
- "name": "Matteo Collina",
195
- "githubUsername": "mcollina",
196
- "url": "https://github.com/mcollina"
197
- },
198
- {
199
- "name": "Dmitry Semigradsky",
200
- "githubUsername": "Semigradsky",
201
- "url": "https://github.com/Semigradsky"
202
- }
203
- ],
204
- "main": "",
205
- "types": "index.d.ts",
206
- "repository": {
207
- "type": "git",
208
- "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
209
- "directory": "types/node"
210
- },
211
- "scripts": {},
212
- "dependencies": {
213
- "undici-types": "~5.26.4"
214
- },
215
- "typesPublisherContentHash": "43d05c87d286b3893e501b24310b8f43081bf151b225e4d88d87af1cf32fb63d",
216
- "typeScriptVersion": "4.7"
217
- }
@@ -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 `node:path` module provides utilities for working with file and directory
11
- * paths. It can be accessed using:
12
- *
13
- * ```js
14
- * const path = require('node:path');
15
- * ```
16
- * @see [source](https://github.com/nodejs/node/blob/v20.13.1/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
- }