@rio-cloud/cdk-v2-constructs 8.2.0-alpha.0 → 8.2.1-alpha.0

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 (179) hide show
  1. package/.jsii +2 -2
  2. package/node_modules/@types/node/README.md +3 -3
  3. package/node_modules/@types/node/assert/strict.d.ts +105 -2
  4. package/node_modules/@types/node/assert.d.ts +211 -92
  5. package/node_modules/@types/node/async_hooks.d.ts +103 -19
  6. package/node_modules/@types/node/buffer.buffer.d.ts +472 -0
  7. package/node_modules/@types/node/buffer.d.ts +88 -516
  8. package/node_modules/@types/node/child_process.d.ts +167 -231
  9. package/node_modules/@types/node/cluster.d.ts +172 -26
  10. package/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
  11. package/node_modules/@types/node/console.d.ts +66 -28
  12. package/node_modules/@types/node/constants.d.ts +14 -12
  13. package/node_modules/@types/node/crypto.d.ts +1458 -497
  14. package/node_modules/@types/node/dgram.d.ts +44 -30
  15. package/node_modules/@types/node/diagnostics_channel.d.ts +389 -4
  16. package/node_modules/@types/node/dns/promises.d.ts +120 -42
  17. package/node_modules/@types/node/dns.d.ts +209 -95
  18. package/node_modules/@types/node/domain.d.ts +14 -18
  19. package/node_modules/@types/node/events.d.ts +245 -113
  20. package/node_modules/@types/node/fs/promises.d.ts +194 -96
  21. package/node_modules/@types/node/fs.d.ts +695 -270
  22. package/node_modules/@types/node/globals.d.ts +97 -308
  23. package/node_modules/@types/node/globals.typedarray.d.ts +41 -0
  24. package/node_modules/@types/node/http.d.ts +363 -97
  25. package/node_modules/@types/node/http2.d.ts +684 -231
  26. package/node_modules/@types/node/https.d.ts +122 -87
  27. package/node_modules/@types/node/index.d.ts +24 -11
  28. package/node_modules/@types/node/inspector.d.ts +220 -2690
  29. package/node_modules/@types/node/inspector.generated.d.ts +4239 -0
  30. package/node_modules/@types/node/module.d.ts +705 -149
  31. package/node_modules/@types/node/net.d.ts +178 -54
  32. package/node_modules/@types/node/os.d.ts +47 -17
  33. package/node_modules/@types/node/package.json +22 -97
  34. package/node_modules/@types/node/path.d.ts +12 -3
  35. package/node_modules/@types/node/perf_hooks.d.ts +500 -97
  36. package/node_modules/@types/node/process.d.ts +657 -87
  37. package/node_modules/@types/node/punycode.d.ts +5 -5
  38. package/node_modules/@types/node/querystring.d.ts +24 -13
  39. package/node_modules/@types/node/readline/promises.d.ts +25 -14
  40. package/node_modules/@types/node/readline.d.ts +102 -41
  41. package/node_modules/@types/node/repl.d.ts +38 -30
  42. package/node_modules/@types/node/sea.d.ts +162 -0
  43. package/node_modules/@types/node/sqlite.d.ts +1040 -0
  44. package/node_modules/@types/node/stream/consumers.d.ts +33 -7
  45. package/node_modules/@types/node/stream/promises.d.ts +8 -1
  46. package/node_modules/@types/node/stream/web.d.ts +251 -28
  47. package/node_modules/@types/node/stream.d.ts +1060 -1055
  48. package/node_modules/@types/node/string_decoder.d.ts +8 -8
  49. package/node_modules/@types/node/test.d.ts +2133 -1166
  50. package/node_modules/@types/node/timers/promises.d.ts +31 -16
  51. package/node_modules/@types/node/timers.d.ts +159 -114
  52. package/node_modules/@types/node/tls.d.ts +232 -163
  53. package/node_modules/@types/node/trace_events.d.ts +43 -28
  54. package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +468 -0
  55. package/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
  56. package/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +36 -0
  57. package/node_modules/@types/node/ts5.6/index.d.ts +103 -0
  58. package/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
  59. package/node_modules/@types/node/ts5.7/index.d.ts +103 -0
  60. package/node_modules/@types/node/tty.d.ts +9 -9
  61. package/node_modules/@types/node/url.d.ts +236 -84
  62. package/node_modules/@types/node/util.d.ts +562 -412
  63. package/node_modules/@types/node/v8.d.ts +368 -21
  64. package/node_modules/@types/node/vm.d.ts +443 -149
  65. package/node_modules/@types/node/wasi.d.ts +62 -18
  66. package/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
  67. package/node_modules/@types/node/web-globals/crypto.d.ts +32 -0
  68. package/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
  69. package/node_modules/@types/node/web-globals/events.d.ts +97 -0
  70. package/node_modules/@types/node/web-globals/fetch.d.ts +62 -0
  71. package/node_modules/@types/node/web-globals/navigator.d.ts +25 -0
  72. package/node_modules/@types/node/web-globals/storage.d.ts +24 -0
  73. package/node_modules/@types/node/web-globals/streams.d.ts +22 -0
  74. package/node_modules/@types/node/worker_threads.d.ts +310 -107
  75. package/node_modules/@types/node/zlib.d.ts +301 -73
  76. package/node_modules/undici-types/LICENSE +21 -0
  77. package/node_modules/undici-types/agent.d.ts +13 -12
  78. package/node_modules/undici-types/api.d.ts +26 -26
  79. package/node_modules/undici-types/balanced-pool.d.ts +19 -7
  80. package/node_modules/undici-types/cache-interceptor.d.ts +173 -0
  81. package/node_modules/undici-types/client-stats.d.ts +15 -0
  82. package/node_modules/undici-types/client.d.ts +26 -15
  83. package/node_modules/undici-types/connector.d.ts +2 -2
  84. package/node_modules/undici-types/cookies.d.ts +2 -0
  85. package/node_modules/undici-types/diagnostics-channel.d.ts +19 -12
  86. package/node_modules/undici-types/dispatcher.d.ts +148 -113
  87. package/node_modules/undici-types/env-http-proxy-agent.d.ts +22 -0
  88. package/node_modules/undici-types/errors.d.ts +79 -46
  89. package/node_modules/undici-types/eventsource.d.ts +66 -0
  90. package/node_modules/undici-types/fetch.d.ts +41 -39
  91. package/node_modules/undici-types/formdata.d.ts +8 -8
  92. package/node_modules/undici-types/global-dispatcher.d.ts +4 -4
  93. package/node_modules/undici-types/global-origin.d.ts +5 -5
  94. package/node_modules/undici-types/h2c-client.d.ts +73 -0
  95. package/node_modules/undici-types/handlers.d.ts +11 -5
  96. package/node_modules/undici-types/header.d.ts +157 -1
  97. package/node_modules/undici-types/index.d.ts +68 -43
  98. package/node_modules/undici-types/interceptors.d.ts +71 -3
  99. package/node_modules/undici-types/mock-agent.d.ts +36 -18
  100. package/node_modules/undici-types/mock-call-history.d.ts +111 -0
  101. package/node_modules/undici-types/mock-client.d.ts +6 -4
  102. package/node_modules/undici-types/mock-errors.d.ts +3 -3
  103. package/node_modules/undici-types/mock-interceptor.d.ts +24 -23
  104. package/node_modules/undici-types/mock-pool.d.ts +6 -4
  105. package/node_modules/undici-types/package.json +1 -1
  106. package/node_modules/undici-types/patch.d.ts +0 -42
  107. package/node_modules/undici-types/pool-stats.d.ts +8 -8
  108. package/node_modules/undici-types/pool.d.ts +21 -8
  109. package/node_modules/undici-types/proxy-agent.d.ts +5 -6
  110. package/node_modules/undici-types/readable.d.ts +24 -17
  111. package/node_modules/undici-types/retry-agent.d.ts +8 -0
  112. package/node_modules/undici-types/retry-handler.d.ts +125 -0
  113. package/node_modules/undici-types/round-robin-pool.d.ts +41 -0
  114. package/node_modules/undici-types/snapshot-agent.d.ts +109 -0
  115. package/node_modules/undici-types/util.d.ts +18 -0
  116. package/node_modules/undici-types/utility.d.ts +7 -0
  117. package/node_modules/undici-types/webidl.d.ts +157 -36
  118. package/node_modules/undici-types/websocket.d.ts +67 -12
  119. package/package.json +9 -60
  120. package/version.json +1 -1
  121. package/node_modules/@types/node/dom-events.d.ts +0 -122
  122. package/node_modules/@types/node/globals.global.d.ts +0 -1
  123. package/node_modules/@types/node/ts4.8/assert/strict.d.ts +0 -8
  124. package/node_modules/@types/node/ts4.8/assert.d.ts +0 -996
  125. package/node_modules/@types/node/ts4.8/async_hooks.d.ts +0 -539
  126. package/node_modules/@types/node/ts4.8/buffer.d.ts +0 -2362
  127. package/node_modules/@types/node/ts4.8/child_process.d.ts +0 -1540
  128. package/node_modules/@types/node/ts4.8/cluster.d.ts +0 -432
  129. package/node_modules/@types/node/ts4.8/console.d.ts +0 -415
  130. package/node_modules/@types/node/ts4.8/constants.d.ts +0 -19
  131. package/node_modules/@types/node/ts4.8/crypto.d.ts +0 -4455
  132. package/node_modules/@types/node/ts4.8/dgram.d.ts +0 -586
  133. package/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +0 -191
  134. package/node_modules/@types/node/ts4.8/dns/promises.d.ts +0 -425
  135. package/node_modules/@types/node/ts4.8/dns.d.ts +0 -809
  136. package/node_modules/@types/node/ts4.8/dom-events.d.ts +0 -122
  137. package/node_modules/@types/node/ts4.8/domain.d.ts +0 -170
  138. package/node_modules/@types/node/ts4.8/events.d.ts +0 -796
  139. package/node_modules/@types/node/ts4.8/fs/promises.d.ts +0 -1232
  140. package/node_modules/@types/node/ts4.8/fs.d.ts +0 -4289
  141. package/node_modules/@types/node/ts4.8/globals.d.ts +0 -381
  142. package/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -1
  143. package/node_modules/@types/node/ts4.8/http.d.ts +0 -1888
  144. package/node_modules/@types/node/ts4.8/http2.d.ts +0 -2382
  145. package/node_modules/@types/node/ts4.8/https.d.ts +0 -550
  146. package/node_modules/@types/node/ts4.8/index.d.ts +0 -88
  147. package/node_modules/@types/node/ts4.8/inspector.d.ts +0 -2747
  148. package/node_modules/@types/node/ts4.8/module.d.ts +0 -287
  149. package/node_modules/@types/node/ts4.8/net.d.ts +0 -949
  150. package/node_modules/@types/node/ts4.8/os.d.ts +0 -477
  151. package/node_modules/@types/node/ts4.8/path.d.ts +0 -191
  152. package/node_modules/@types/node/ts4.8/perf_hooks.d.ts +0 -639
  153. package/node_modules/@types/node/ts4.8/process.d.ts +0 -1532
  154. package/node_modules/@types/node/ts4.8/punycode.d.ts +0 -117
  155. package/node_modules/@types/node/ts4.8/querystring.d.ts +0 -141
  156. package/node_modules/@types/node/ts4.8/readline/promises.d.ts +0 -150
  157. package/node_modules/@types/node/ts4.8/readline.d.ts +0 -539
  158. package/node_modules/@types/node/ts4.8/repl.d.ts +0 -430
  159. package/node_modules/@types/node/ts4.8/stream/consumers.d.ts +0 -12
  160. package/node_modules/@types/node/ts4.8/stream/promises.d.ts +0 -83
  161. package/node_modules/@types/node/ts4.8/stream/web.d.ts +0 -350
  162. package/node_modules/@types/node/ts4.8/stream.d.ts +0 -1701
  163. package/node_modules/@types/node/ts4.8/string_decoder.d.ts +0 -67
  164. package/node_modules/@types/node/ts4.8/test.d.ts +0 -1382
  165. package/node_modules/@types/node/ts4.8/timers/promises.d.ts +0 -93
  166. package/node_modules/@types/node/ts4.8/timers.d.ts +0 -240
  167. package/node_modules/@types/node/ts4.8/tls.d.ts +0 -1210
  168. package/node_modules/@types/node/ts4.8/trace_events.d.ts +0 -182
  169. package/node_modules/@types/node/ts4.8/tty.d.ts +0 -208
  170. package/node_modules/@types/node/ts4.8/url.d.ts +0 -927
  171. package/node_modules/@types/node/ts4.8/util.d.ts +0 -2186
  172. package/node_modules/@types/node/ts4.8/v8.d.ts +0 -635
  173. package/node_modules/@types/node/ts4.8/vm.d.ts +0 -901
  174. package/node_modules/@types/node/ts4.8/wasi.d.ts +0 -158
  175. package/node_modules/@types/node/ts4.8/worker_threads.d.ts +0 -691
  176. package/node_modules/@types/node/ts4.8/zlib.d.ts +0 -517
  177. package/node_modules/argparse/CHANGELOG.md +0 -216
  178. package/node_modules/undici-types/file.d.ts +0 -39
  179. package/node_modules/undici-types/filereader.d.ts +0 -54
@@ -1,216 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file.
4
-
5
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
- and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
-
8
-
9
- ## [2.0.1] - 2020-08-29
10
- ### Fixed
11
- - Fix issue with `process.argv` when used with interpreters (`coffee`, `ts-node`, etc.), #150.
12
-
13
-
14
- ## [2.0.0] - 2020-08-14
15
- ### Changed
16
- - Full rewrite. Now port from python 3.9.0 & more precise following.
17
- See [doc](./doc) for difference and migration info.
18
- - node.js 10+ required
19
- - Removed most of local docs in favour of original ones.
20
-
21
-
22
- ## [1.0.10] - 2018-02-15
23
- ### Fixed
24
- - Use .concat instead of + for arrays, #122.
25
-
26
-
27
- ## [1.0.9] - 2016-09-29
28
- ### Changed
29
- - Rerelease after 1.0.8 - deps cleanup.
30
-
31
-
32
- ## [1.0.8] - 2016-09-29
33
- ### Changed
34
- - Maintenance (deps bump, fix node 6.5+ tests, coverage report).
35
-
36
-
37
- ## [1.0.7] - 2016-03-17
38
- ### Changed
39
- - Teach `addArgument` to accept string arg names. #97, @tomxtobin.
40
-
41
-
42
- ## [1.0.6] - 2016-02-06
43
- ### Changed
44
- - Maintenance: moved to eslint & updated CS.
45
-
46
-
47
- ## [1.0.5] - 2016-02-05
48
- ### Changed
49
- - Removed lodash dependency to significantly reduce install size.
50
- Thanks to @mourner.
51
-
52
-
53
- ## [1.0.4] - 2016-01-17
54
- ### Changed
55
- - Maintenance: lodash update to 4.0.0.
56
-
57
-
58
- ## [1.0.3] - 2015-10-27
59
- ### Fixed
60
- - Fix parse `=` in args: `--examplepath="C:\myfolder\env=x64"`. #84, @CatWithApple.
61
-
62
-
63
- ## [1.0.2] - 2015-03-22
64
- ### Changed
65
- - Relaxed lodash version dependency.
66
-
67
-
68
- ## [1.0.1] - 2015-02-20
69
- ### Changed
70
- - Changed dependencies to be compatible with ancient nodejs.
71
-
72
-
73
- ## [1.0.0] - 2015-02-19
74
- ### Changed
75
- - Maintenance release.
76
- - Replaced `underscore` with `lodash`.
77
- - Bumped version to 1.0.0 to better reflect semver meaning.
78
- - HISTORY.md -> CHANGELOG.md
79
-
80
-
81
- ## [0.1.16] - 2013-12-01
82
- ### Changed
83
- - Maintenance release. Updated dependencies and docs.
84
-
85
-
86
- ## [0.1.15] - 2013-05-13
87
- ### Fixed
88
- - Fixed #55, @trebor89
89
-
90
-
91
- ## [0.1.14] - 2013-05-12
92
- ### Fixed
93
- - Fixed #62, @maxtaco
94
-
95
-
96
- ## [0.1.13] - 2013-04-08
97
- ### Changed
98
- - Added `.npmignore` to reduce package size
99
-
100
-
101
- ## [0.1.12] - 2013-02-10
102
- ### Fixed
103
- - Fixed conflictHandler (#46), @hpaulj
104
-
105
-
106
- ## [0.1.11] - 2013-02-07
107
- ### Added
108
- - Added 70+ tests (ported from python), @hpaulj
109
- - Added conflictHandler, @applepicke
110
- - Added fromfilePrefixChar, @hpaulj
111
-
112
- ### Fixed
113
- - Multiple bugfixes, @hpaulj
114
-
115
-
116
- ## [0.1.10] - 2012-12-30
117
- ### Added
118
- - Added [mutual exclusion](http://docs.python.org/dev/library/argparse.html#mutual-exclusion)
119
- support, thanks to @hpaulj
120
-
121
- ### Fixed
122
- - Fixed options check for `storeConst` & `appendConst` actions, thanks to @hpaulj
123
-
124
-
125
- ## [0.1.9] - 2012-12-27
126
- ### Fixed
127
- - Fixed option dest interferens with other options (issue #23), thanks to @hpaulj
128
- - Fixed default value behavior with `*` positionals, thanks to @hpaulj
129
- - Improve `getDefault()` behavior, thanks to @hpaulj
130
- - Improve negative argument parsing, thanks to @hpaulj
131
-
132
-
133
- ## [0.1.8] - 2012-12-01
134
- ### Fixed
135
- - Fixed parser parents (issue #19), thanks to @hpaulj
136
- - Fixed negative argument parse (issue #20), thanks to @hpaulj
137
-
138
-
139
- ## [0.1.7] - 2012-10-14
140
- ### Fixed
141
- - Fixed 'choices' argument parse (issue #16)
142
- - Fixed stderr output (issue #15)
143
-
144
-
145
- ## [0.1.6] - 2012-09-09
146
- ### Fixed
147
- - Fixed check for conflict of options (thanks to @tomxtobin)
148
-
149
-
150
- ## [0.1.5] - 2012-09-03
151
- ### Fixed
152
- - Fix parser #setDefaults method (thanks to @tomxtobin)
153
-
154
-
155
- ## [0.1.4] - 2012-07-30
156
- ### Fixed
157
- - Fixed pseudo-argument support (thanks to @CGamesPlay)
158
- - Fixed addHelp default (should be true), if not set (thanks to @benblank)
159
-
160
-
161
- ## [0.1.3] - 2012-06-27
162
- ### Fixed
163
- - Fixed formatter api name: Formatter -> HelpFormatter
164
-
165
-
166
- ## [0.1.2] - 2012-05-29
167
- ### Fixed
168
- - Removed excess whitespace in help
169
- - Fixed error reporting, when parcer with subcommands
170
- called with empty arguments
171
-
172
- ### Added
173
- - Added basic tests
174
-
175
-
176
- ## [0.1.1] - 2012-05-23
177
- ### Fixed
178
- - Fixed line wrapping in help formatter
179
- - Added better error reporting on invalid arguments
180
-
181
-
182
- ## [0.1.0] - 2012-05-16
183
- ### Added
184
- - First release.
185
-
186
-
187
- [2.0.1]: https://github.com/nodeca/argparse/compare/2.0.0...2.0.1
188
- [2.0.0]: https://github.com/nodeca/argparse/compare/1.0.10...2.0.0
189
- [1.0.10]: https://github.com/nodeca/argparse/compare/1.0.9...1.0.10
190
- [1.0.9]: https://github.com/nodeca/argparse/compare/1.0.8...1.0.9
191
- [1.0.8]: https://github.com/nodeca/argparse/compare/1.0.7...1.0.8
192
- [1.0.7]: https://github.com/nodeca/argparse/compare/1.0.6...1.0.7
193
- [1.0.6]: https://github.com/nodeca/argparse/compare/1.0.5...1.0.6
194
- [1.0.5]: https://github.com/nodeca/argparse/compare/1.0.4...1.0.5
195
- [1.0.4]: https://github.com/nodeca/argparse/compare/1.0.3...1.0.4
196
- [1.0.3]: https://github.com/nodeca/argparse/compare/1.0.2...1.0.3
197
- [1.0.2]: https://github.com/nodeca/argparse/compare/1.0.1...1.0.2
198
- [1.0.1]: https://github.com/nodeca/argparse/compare/1.0.0...1.0.1
199
- [1.0.0]: https://github.com/nodeca/argparse/compare/0.1.16...1.0.0
200
- [0.1.16]: https://github.com/nodeca/argparse/compare/0.1.15...0.1.16
201
- [0.1.15]: https://github.com/nodeca/argparse/compare/0.1.14...0.1.15
202
- [0.1.14]: https://github.com/nodeca/argparse/compare/0.1.13...0.1.14
203
- [0.1.13]: https://github.com/nodeca/argparse/compare/0.1.12...0.1.13
204
- [0.1.12]: https://github.com/nodeca/argparse/compare/0.1.11...0.1.12
205
- [0.1.11]: https://github.com/nodeca/argparse/compare/0.1.10...0.1.11
206
- [0.1.10]: https://github.com/nodeca/argparse/compare/0.1.9...0.1.10
207
- [0.1.9]: https://github.com/nodeca/argparse/compare/0.1.8...0.1.9
208
- [0.1.8]: https://github.com/nodeca/argparse/compare/0.1.7...0.1.8
209
- [0.1.7]: https://github.com/nodeca/argparse/compare/0.1.6...0.1.7
210
- [0.1.6]: https://github.com/nodeca/argparse/compare/0.1.5...0.1.6
211
- [0.1.5]: https://github.com/nodeca/argparse/compare/0.1.4...0.1.5
212
- [0.1.4]: https://github.com/nodeca/argparse/compare/0.1.3...0.1.4
213
- [0.1.3]: https://github.com/nodeca/argparse/compare/0.1.2...0.1.3
214
- [0.1.2]: https://github.com/nodeca/argparse/compare/0.1.1...0.1.2
215
- [0.1.1]: https://github.com/nodeca/argparse/compare/0.1.0...0.1.1
216
- [0.1.0]: https://github.com/nodeca/argparse/releases/tag/0.1.0
@@ -1,39 +0,0 @@
1
- // Based on https://github.com/octet-stream/form-data/blob/2d0f0dc371517444ce1f22cdde13f51995d0953a/lib/File.ts (MIT)
2
- /// <reference types="node" />
3
-
4
- import { Blob } from 'buffer'
5
-
6
- export interface BlobPropertyBag {
7
- type?: string
8
- endings?: 'native' | 'transparent'
9
- }
10
-
11
- export interface FilePropertyBag extends BlobPropertyBag {
12
- /**
13
- * The last modified date of the file as the number of milliseconds since the Unix epoch (January 1, 1970 at midnight). Files without a known last modified date return the current date.
14
- */
15
- lastModified?: number
16
- }
17
-
18
- export declare class File extends Blob {
19
- /**
20
- * Creates a new File instance.
21
- *
22
- * @param fileBits An `Array` strings, or [`ArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer), [`ArrayBufferView`](https://developer.mozilla.org/en-US/docs/Web/API/ArrayBufferView), [`Blob`](https://developer.mozilla.org/en-US/docs/Web/API/Blob) objects, or a mix of any of such objects, that will be put inside the [`File`](https://developer.mozilla.org/en-US/docs/Web/API/File).
23
- * @param fileName The name of the file.
24
- * @param options An options object containing optional attributes for the file.
25
- */
26
- constructor(fileBits: ReadonlyArray<string | NodeJS.ArrayBufferView | Blob>, fileName: string, options?: FilePropertyBag)
27
-
28
- /**
29
- * Name of the file referenced by the File object.
30
- */
31
- readonly name: string
32
-
33
- /**
34
- * The last modified date of the file as the number of milliseconds since the Unix epoch (January 1, 1970 at midnight). Files without a known last modified date return the current date.
35
- */
36
- readonly lastModified: number
37
-
38
- readonly [Symbol.toStringTag]: string
39
- }
@@ -1,54 +0,0 @@
1
- /// <reference types="node" />
2
-
3
- import { Blob } from 'buffer'
4
- import { DOMException, Event, EventInit, EventTarget } from './patch'
5
-
6
- export declare class FileReader {
7
- __proto__: EventTarget & FileReader
8
-
9
- constructor ()
10
-
11
- readAsArrayBuffer (blob: Blob): void
12
- readAsBinaryString (blob: Blob): void
13
- readAsText (blob: Blob, encoding?: string): void
14
- readAsDataURL (blob: Blob): void
15
-
16
- abort (): void
17
-
18
- static readonly EMPTY = 0
19
- static readonly LOADING = 1
20
- static readonly DONE = 2
21
-
22
- readonly EMPTY = 0
23
- readonly LOADING = 1
24
- readonly DONE = 2
25
-
26
- readonly readyState: number
27
-
28
- readonly result: string | ArrayBuffer | null
29
-
30
- readonly error: DOMException | null
31
-
32
- onloadstart: null | ((this: FileReader, event: ProgressEvent) => void)
33
- onprogress: null | ((this: FileReader, event: ProgressEvent) => void)
34
- onload: null | ((this: FileReader, event: ProgressEvent) => void)
35
- onabort: null | ((this: FileReader, event: ProgressEvent) => void)
36
- onerror: null | ((this: FileReader, event: ProgressEvent) => void)
37
- onloadend: null | ((this: FileReader, event: ProgressEvent) => void)
38
- }
39
-
40
- export interface ProgressEventInit extends EventInit {
41
- lengthComputable?: boolean
42
- loaded?: number
43
- total?: number
44
- }
45
-
46
- export declare class ProgressEvent {
47
- __proto__: Event & ProgressEvent
48
-
49
- constructor (type: string, eventInitDict?: ProgressEventInit)
50
-
51
- readonly lengthComputable: boolean
52
- readonly loaded: number
53
- readonly total: number
54
- }