cloudstructs 0.6.32 → 0.6.34
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.
- package/.gitattributes +1 -0
- package/.jsii +3 -3
- package/lib/codecommit-mirror/index.js +2 -2
- package/lib/dmarc/index.js +1 -1
- package/lib/ecs-service-roller/index.js +2 -2
- package/lib/email-receiver/receiver.js +1 -1
- package/lib/saml-identity-provider/index.js +2 -2
- package/lib/slack-app/manifest.js +1 -1
- package/lib/slack-app/slack-app.js +2 -2
- package/lib/slack-events/index.js +1 -1
- package/lib/slack-textract/index.js +1 -1
- package/lib/ssl-server-test/index.js +1 -1
- package/lib/state-machine-cr-provider/index.js +1 -1
- package/lib/static-website/index.js +1 -1
- package/lib/toolkit-cleaner/index.js +1 -1
- package/lib/url-shortener/index.js +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/assert.d.ts +86 -75
- package/node_modules/@slack/logger/node_modules/@types/node/async_hooks.d.ts +66 -49
- package/node_modules/@slack/logger/node_modules/@types/node/buffer.d.ts +136 -97
- package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +81 -55
- package/node_modules/@slack/logger/node_modules/@types/node/cluster.d.ts +12 -12
- package/node_modules/@slack/logger/node_modules/@types/node/console.d.ts +5 -5
- package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +210 -221
- package/node_modules/@slack/logger/node_modules/@types/node/dgram.d.ts +15 -15
- package/node_modules/@slack/logger/node_modules/@types/node/diagnostics_channel.d.ts +25 -26
- package/node_modules/@slack/logger/node_modules/@types/node/dns/promises.d.ts +50 -6
- package/node_modules/@slack/logger/node_modules/@types/node/dns.d.ts +25 -16
- package/node_modules/@slack/logger/node_modules/@types/node/domain.d.ts +4 -4
- package/node_modules/@slack/logger/node_modules/@types/node/events.d.ts +111 -65
- package/node_modules/@slack/logger/node_modules/@types/node/fs/promises.d.ts +80 -49
- package/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +162 -91
- package/node_modules/@slack/logger/node_modules/@types/node/globals.d.ts +3 -1
- package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +195 -129
- package/node_modules/@slack/logger/node_modules/@types/node/http2.d.ts +42 -46
- package/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +52 -153
- package/node_modules/@slack/logger/node_modules/@types/node/index.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/inspector.d.ts +10 -3
- package/node_modules/@slack/logger/node_modules/@types/node/module.d.ts +5 -4
- package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +21 -18
- package/node_modules/@slack/logger/node_modules/@types/node/os.d.ts +22 -18
- package/node_modules/@slack/logger/node_modules/@types/node/package.json +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/path.d.ts +4 -4
- package/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +28 -15
- package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +43 -46
- package/node_modules/@slack/logger/node_modules/@types/node/punycode.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/querystring.d.ts +5 -5
- package/node_modules/@slack/logger/node_modules/@types/node/readline/promises.d.ts +65 -63
- package/node_modules/@slack/logger/node_modules/@types/node/readline.d.ts +32 -159
- package/node_modules/@slack/logger/node_modules/@types/node/repl.d.ts +20 -20
- package/node_modules/@slack/logger/node_modules/@types/node/stream/consumers.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/stream.d.ts +839 -857
- package/node_modules/@slack/logger/node_modules/@types/node/string_decoder.d.ts +6 -6
- package/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +498 -206
- package/node_modules/@slack/logger/node_modules/@types/node/timers/promises.d.ts +3 -3
- package/node_modules/@slack/logger/node_modules/@types/node/timers.d.ts +122 -8
- package/node_modules/@slack/logger/node_modules/@types/node/tls.d.ts +34 -22
- package/node_modules/@slack/logger/node_modules/@types/node/trace_events.d.ts +20 -9
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/assert.d.ts +86 -75
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/async_hooks.d.ts +66 -49
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/buffer.d.ts +137 -99
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/child_process.d.ts +81 -55
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/cluster.d.ts +12 -12
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/console.d.ts +5 -5
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/crypto.d.ts +210 -221
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/dgram.d.ts +15 -15
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +25 -26
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/dns/promises.d.ts +50 -6
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/dns.d.ts +25 -16
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/domain.d.ts +4 -4
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/events.d.ts +111 -65
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/fs/promises.d.ts +96 -45
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/fs.d.ts +243 -72
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/globals.d.ts +20 -11
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/http.d.ts +202 -129
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/http2.d.ts +42 -46
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/https.d.ts +52 -153
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/inspector.d.ts +10 -3
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/module.d.ts +5 -4
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/net.d.ts +24 -21
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/os.d.ts +22 -18
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/path.d.ts +4 -4
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/perf_hooks.d.ts +28 -15
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/process.d.ts +43 -46
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/punycode.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/querystring.d.ts +5 -5
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/readline/promises.d.ts +65 -63
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/readline.d.ts +32 -159
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/repl.d.ts +20 -20
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/stream/consumers.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/stream.d.ts +93 -140
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/string_decoder.d.ts +6 -6
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/test.d.ts +498 -206
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/timers/promises.d.ts +3 -3
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/timers.d.ts +125 -4
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/tls.d.ts +34 -22
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/trace_events.d.ts +20 -9
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/tty.d.ts +4 -5
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/url.d.ts +46 -42
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/util.d.ts +150 -109
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/v8.d.ts +204 -16
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/vm.d.ts +292 -42
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/wasi.d.ts +13 -19
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/worker_threads.d.ts +38 -34
- package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/zlib.d.ts +11 -11
- package/node_modules/@slack/logger/node_modules/@types/node/tty.d.ts +4 -5
- package/node_modules/@slack/logger/node_modules/@types/node/url.d.ts +46 -42
- package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +150 -109
- package/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +204 -16
- package/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +292 -42
- package/node_modules/@slack/logger/node_modules/@types/node/wasi.d.ts +13 -19
- package/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +38 -34
- package/node_modules/@slack/logger/node_modules/@types/node/zlib.d.ts +11 -11
- package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/assert.d.ts +86 -75
- package/node_modules/@slack/web-api/node_modules/@types/node/async_hooks.d.ts +66 -49
- package/node_modules/@slack/web-api/node_modules/@types/node/buffer.d.ts +136 -97
- package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +81 -55
- package/node_modules/@slack/web-api/node_modules/@types/node/cluster.d.ts +12 -12
- package/node_modules/@slack/web-api/node_modules/@types/node/console.d.ts +5 -5
- package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +210 -221
- package/node_modules/@slack/web-api/node_modules/@types/node/dgram.d.ts +15 -15
- package/node_modules/@slack/web-api/node_modules/@types/node/diagnostics_channel.d.ts +25 -26
- package/node_modules/@slack/web-api/node_modules/@types/node/dns/promises.d.ts +50 -6
- package/node_modules/@slack/web-api/node_modules/@types/node/dns.d.ts +25 -16
- package/node_modules/@slack/web-api/node_modules/@types/node/domain.d.ts +4 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/events.d.ts +111 -65
- package/node_modules/@slack/web-api/node_modules/@types/node/fs/promises.d.ts +80 -49
- package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +162 -91
- package/node_modules/@slack/web-api/node_modules/@types/node/globals.d.ts +3 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +195 -129
- package/node_modules/@slack/web-api/node_modules/@types/node/http2.d.ts +42 -46
- package/node_modules/@slack/web-api/node_modules/@types/node/https.d.ts +52 -153
- package/node_modules/@slack/web-api/node_modules/@types/node/index.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/inspector.d.ts +10 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/module.d.ts +5 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +21 -18
- package/node_modules/@slack/web-api/node_modules/@types/node/os.d.ts +22 -18
- package/node_modules/@slack/web-api/node_modules/@types/node/package.json +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/path.d.ts +4 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/perf_hooks.d.ts +28 -15
- package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +43 -46
- package/node_modules/@slack/web-api/node_modules/@types/node/punycode.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/querystring.d.ts +5 -5
- package/node_modules/@slack/web-api/node_modules/@types/node/readline/promises.d.ts +65 -63
- package/node_modules/@slack/web-api/node_modules/@types/node/readline.d.ts +32 -159
- package/node_modules/@slack/web-api/node_modules/@types/node/repl.d.ts +20 -20
- package/node_modules/@slack/web-api/node_modules/@types/node/stream/consumers.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/stream.d.ts +839 -857
- package/node_modules/@slack/web-api/node_modules/@types/node/string_decoder.d.ts +6 -6
- package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +498 -206
- package/node_modules/@slack/web-api/node_modules/@types/node/timers/promises.d.ts +3 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/timers.d.ts +122 -8
- package/node_modules/@slack/web-api/node_modules/@types/node/tls.d.ts +34 -22
- package/node_modules/@slack/web-api/node_modules/@types/node/trace_events.d.ts +20 -9
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/assert.d.ts +86 -75
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/async_hooks.d.ts +66 -49
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/buffer.d.ts +137 -99
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/child_process.d.ts +81 -55
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/cluster.d.ts +12 -12
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/console.d.ts +5 -5
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/crypto.d.ts +210 -221
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/dgram.d.ts +15 -15
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +25 -26
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/dns/promises.d.ts +50 -6
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/dns.d.ts +25 -16
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/domain.d.ts +4 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/events.d.ts +111 -65
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/fs/promises.d.ts +96 -45
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/fs.d.ts +243 -72
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/globals.d.ts +20 -11
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/http.d.ts +202 -129
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/http2.d.ts +42 -46
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/https.d.ts +52 -153
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/inspector.d.ts +10 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/module.d.ts +5 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/net.d.ts +24 -21
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/os.d.ts +22 -18
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/path.d.ts +4 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/perf_hooks.d.ts +28 -15
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/process.d.ts +43 -46
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/punycode.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/querystring.d.ts +5 -5
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/readline/promises.d.ts +65 -63
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/readline.d.ts +32 -159
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/repl.d.ts +20 -20
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/stream/consumers.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/stream.d.ts +93 -140
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/string_decoder.d.ts +6 -6
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/test.d.ts +498 -206
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/timers/promises.d.ts +3 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/timers.d.ts +125 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/tls.d.ts +34 -22
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/trace_events.d.ts +20 -9
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/tty.d.ts +4 -5
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/url.d.ts +46 -42
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/util.d.ts +150 -109
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/v8.d.ts +204 -16
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/vm.d.ts +292 -42
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/wasi.d.ts +13 -19
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/worker_threads.d.ts +38 -34
- package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/zlib.d.ts +11 -11
- package/node_modules/@slack/web-api/node_modules/@types/node/tty.d.ts +4 -5
- package/node_modules/@slack/web-api/node_modules/@types/node/url.d.ts +46 -42
- package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +150 -109
- package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +204 -16
- package/node_modules/@slack/web-api/node_modules/@types/node/vm.d.ts +292 -42
- package/node_modules/@slack/web-api/node_modules/@types/node/wasi.d.ts +13 -19
- package/node_modules/@slack/web-api/node_modules/@types/node/worker_threads.d.ts +38 -34
- package/node_modules/@slack/web-api/node_modules/@types/node/zlib.d.ts +11 -11
- package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +86 -75
- package/node_modules/@types/cacheable-request/node_modules/@types/node/async_hooks.d.ts +66 -49
- package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +136 -97
- package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +81 -55
- package/node_modules/@types/cacheable-request/node_modules/@types/node/cluster.d.ts +12 -12
- package/node_modules/@types/cacheable-request/node_modules/@types/node/console.d.ts +5 -5
- package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +210 -221
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dgram.d.ts +15 -15
- package/node_modules/@types/cacheable-request/node_modules/@types/node/diagnostics_channel.d.ts +25 -26
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dns/promises.d.ts +50 -6
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +25 -16
- package/node_modules/@types/cacheable-request/node_modules/@types/node/domain.d.ts +4 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +111 -65
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +80 -49
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +162 -91
- package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.d.ts +3 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +195 -129
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +42 -46
- package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +52 -153
- package/node_modules/@types/cacheable-request/node_modules/@types/node/index.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +10 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/module.d.ts +5 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +21 -18
- package/node_modules/@types/cacheable-request/node_modules/@types/node/os.d.ts +22 -18
- package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/path.d.ts +4 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +28 -15
- package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +43 -46
- package/node_modules/@types/cacheable-request/node_modules/@types/node/punycode.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/querystring.d.ts +5 -5
- package/node_modules/@types/cacheable-request/node_modules/@types/node/readline/promises.d.ts +65 -63
- package/node_modules/@types/cacheable-request/node_modules/@types/node/readline.d.ts +32 -159
- package/node_modules/@types/cacheable-request/node_modules/@types/node/repl.d.ts +20 -20
- package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/consumers.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +839 -857
- package/node_modules/@types/cacheable-request/node_modules/@types/node/string_decoder.d.ts +6 -6
- package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +498 -206
- package/node_modules/@types/cacheable-request/node_modules/@types/node/timers/promises.d.ts +3 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/timers.d.ts +122 -8
- package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +34 -22
- package/node_modules/@types/cacheable-request/node_modules/@types/node/trace_events.d.ts +20 -9
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/assert.d.ts +86 -75
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/async_hooks.d.ts +66 -49
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/buffer.d.ts +137 -99
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/child_process.d.ts +81 -55
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/cluster.d.ts +12 -12
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/console.d.ts +5 -5
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/crypto.d.ts +210 -221
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/dgram.d.ts +15 -15
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +25 -26
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/dns/promises.d.ts +50 -6
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/dns.d.ts +25 -16
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/domain.d.ts +4 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/events.d.ts +111 -65
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/fs/promises.d.ts +96 -45
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/fs.d.ts +243 -72
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/globals.d.ts +20 -11
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/http.d.ts +202 -129
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/http2.d.ts +42 -46
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/https.d.ts +52 -153
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/inspector.d.ts +10 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/module.d.ts +5 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/net.d.ts +24 -21
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/os.d.ts +22 -18
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/path.d.ts +4 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/perf_hooks.d.ts +28 -15
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/process.d.ts +43 -46
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/punycode.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/querystring.d.ts +5 -5
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/readline/promises.d.ts +65 -63
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/readline.d.ts +32 -159
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/repl.d.ts +20 -20
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/stream/consumers.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/stream.d.ts +93 -140
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/string_decoder.d.ts +6 -6
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/test.d.ts +498 -206
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/timers/promises.d.ts +3 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/timers.d.ts +125 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/tls.d.ts +34 -22
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/trace_events.d.ts +20 -9
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/tty.d.ts +4 -5
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/url.d.ts +46 -42
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/util.d.ts +150 -109
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/v8.d.ts +204 -16
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/vm.d.ts +292 -42
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/wasi.d.ts +13 -19
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/worker_threads.d.ts +38 -34
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/zlib.d.ts +11 -11
- package/node_modules/@types/cacheable-request/node_modules/@types/node/tty.d.ts +4 -5
- package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +46 -42
- package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +150 -109
- package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +204 -16
- package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +292 -42
- package/node_modules/@types/cacheable-request/node_modules/@types/node/wasi.d.ts +13 -19
- package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +38 -34
- package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +11 -11
- package/node_modules/@types/is-stream/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/assert.d.ts +86 -75
- package/node_modules/@types/is-stream/node_modules/@types/node/async_hooks.d.ts +66 -49
- package/node_modules/@types/is-stream/node_modules/@types/node/buffer.d.ts +136 -97
- package/node_modules/@types/is-stream/node_modules/@types/node/child_process.d.ts +81 -55
- package/node_modules/@types/is-stream/node_modules/@types/node/cluster.d.ts +12 -12
- package/node_modules/@types/is-stream/node_modules/@types/node/console.d.ts +5 -5
- package/node_modules/@types/is-stream/node_modules/@types/node/crypto.d.ts +210 -221
- package/node_modules/@types/is-stream/node_modules/@types/node/dgram.d.ts +15 -15
- package/node_modules/@types/is-stream/node_modules/@types/node/diagnostics_channel.d.ts +25 -26
- package/node_modules/@types/is-stream/node_modules/@types/node/dns/promises.d.ts +50 -6
- package/node_modules/@types/is-stream/node_modules/@types/node/dns.d.ts +25 -16
- package/node_modules/@types/is-stream/node_modules/@types/node/domain.d.ts +4 -4
- package/node_modules/@types/is-stream/node_modules/@types/node/events.d.ts +111 -65
- package/node_modules/@types/is-stream/node_modules/@types/node/fs/promises.d.ts +80 -49
- package/node_modules/@types/is-stream/node_modules/@types/node/fs.d.ts +162 -91
- package/node_modules/@types/is-stream/node_modules/@types/node/globals.d.ts +3 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/http.d.ts +195 -129
- package/node_modules/@types/is-stream/node_modules/@types/node/http2.d.ts +42 -46
- package/node_modules/@types/is-stream/node_modules/@types/node/https.d.ts +52 -153
- package/node_modules/@types/is-stream/node_modules/@types/node/index.d.ts +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/inspector.d.ts +10 -3
- package/node_modules/@types/is-stream/node_modules/@types/node/module.d.ts +5 -4
- package/node_modules/@types/is-stream/node_modules/@types/node/net.d.ts +21 -18
- package/node_modules/@types/is-stream/node_modules/@types/node/os.d.ts +22 -18
- package/node_modules/@types/is-stream/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/is-stream/node_modules/@types/node/path.d.ts +4 -4
- package/node_modules/@types/is-stream/node_modules/@types/node/perf_hooks.d.ts +28 -15
- package/node_modules/@types/is-stream/node_modules/@types/node/process.d.ts +43 -46
- package/node_modules/@types/is-stream/node_modules/@types/node/punycode.d.ts +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/querystring.d.ts +5 -5
- package/node_modules/@types/is-stream/node_modules/@types/node/readline/promises.d.ts +65 -63
- package/node_modules/@types/is-stream/node_modules/@types/node/readline.d.ts +32 -159
- package/node_modules/@types/is-stream/node_modules/@types/node/repl.d.ts +20 -20
- package/node_modules/@types/is-stream/node_modules/@types/node/stream/consumers.d.ts +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/stream.d.ts +839 -857
- package/node_modules/@types/is-stream/node_modules/@types/node/string_decoder.d.ts +6 -6
- package/node_modules/@types/is-stream/node_modules/@types/node/test.d.ts +498 -206
- package/node_modules/@types/is-stream/node_modules/@types/node/timers/promises.d.ts +3 -3
- package/node_modules/@types/is-stream/node_modules/@types/node/timers.d.ts +122 -8
- package/node_modules/@types/is-stream/node_modules/@types/node/tls.d.ts +34 -22
- package/node_modules/@types/is-stream/node_modules/@types/node/trace_events.d.ts +20 -9
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/assert.d.ts +86 -75
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/async_hooks.d.ts +66 -49
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/buffer.d.ts +137 -99
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/child_process.d.ts +81 -55
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/cluster.d.ts +12 -12
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/console.d.ts +5 -5
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/crypto.d.ts +210 -221
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/dgram.d.ts +15 -15
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +25 -26
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/dns/promises.d.ts +50 -6
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/dns.d.ts +25 -16
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/domain.d.ts +4 -4
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/events.d.ts +111 -65
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/fs/promises.d.ts +96 -45
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/fs.d.ts +243 -72
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/globals.d.ts +20 -11
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/http.d.ts +202 -129
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/http2.d.ts +42 -46
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/https.d.ts +52 -153
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/inspector.d.ts +10 -3
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/module.d.ts +5 -4
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/net.d.ts +24 -21
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/os.d.ts +22 -18
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/path.d.ts +4 -4
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/perf_hooks.d.ts +28 -15
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/process.d.ts +43 -46
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/punycode.d.ts +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/querystring.d.ts +5 -5
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/readline/promises.d.ts +65 -63
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/readline.d.ts +32 -159
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/repl.d.ts +20 -20
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/stream/consumers.d.ts +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/stream.d.ts +93 -140
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/string_decoder.d.ts +6 -6
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/test.d.ts +498 -206
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/timers/promises.d.ts +3 -3
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/timers.d.ts +125 -4
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/tls.d.ts +34 -22
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/trace_events.d.ts +20 -9
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/tty.d.ts +4 -5
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/url.d.ts +46 -42
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/util.d.ts +150 -109
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/v8.d.ts +204 -16
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/vm.d.ts +292 -42
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/wasi.d.ts +13 -19
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/worker_threads.d.ts +38 -34
- package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/zlib.d.ts +11 -11
- package/node_modules/@types/is-stream/node_modules/@types/node/tty.d.ts +4 -5
- package/node_modules/@types/is-stream/node_modules/@types/node/url.d.ts +46 -42
- package/node_modules/@types/is-stream/node_modules/@types/node/util.d.ts +150 -109
- package/node_modules/@types/is-stream/node_modules/@types/node/v8.d.ts +204 -16
- package/node_modules/@types/is-stream/node_modules/@types/node/vm.d.ts +292 -42
- package/node_modules/@types/is-stream/node_modules/@types/node/wasi.d.ts +13 -19
- package/node_modules/@types/is-stream/node_modules/@types/node/worker_threads.d.ts +38 -34
- package/node_modules/@types/is-stream/node_modules/@types/node/zlib.d.ts +11 -11
- package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +86 -75
- package/node_modules/@types/keyv/node_modules/@types/node/async_hooks.d.ts +66 -49
- package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +136 -97
- package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +81 -55
- package/node_modules/@types/keyv/node_modules/@types/node/cluster.d.ts +12 -12
- package/node_modules/@types/keyv/node_modules/@types/node/console.d.ts +5 -5
- package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +210 -221
- package/node_modules/@types/keyv/node_modules/@types/node/dgram.d.ts +15 -15
- package/node_modules/@types/keyv/node_modules/@types/node/diagnostics_channel.d.ts +25 -26
- package/node_modules/@types/keyv/node_modules/@types/node/dns/promises.d.ts +50 -6
- package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +25 -16
- package/node_modules/@types/keyv/node_modules/@types/node/domain.d.ts +4 -4
- package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +111 -65
- package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +80 -49
- package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +162 -91
- package/node_modules/@types/keyv/node_modules/@types/node/globals.d.ts +3 -1
- package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +195 -129
- package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +42 -46
- package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +52 -153
- package/node_modules/@types/keyv/node_modules/@types/node/index.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +10 -3
- package/node_modules/@types/keyv/node_modules/@types/node/module.d.ts +5 -4
- package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +21 -18
- package/node_modules/@types/keyv/node_modules/@types/node/os.d.ts +22 -18
- package/node_modules/@types/keyv/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/path.d.ts +4 -4
- package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +28 -15
- package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +43 -46
- package/node_modules/@types/keyv/node_modules/@types/node/punycode.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/querystring.d.ts +5 -5
- package/node_modules/@types/keyv/node_modules/@types/node/readline/promises.d.ts +65 -63
- package/node_modules/@types/keyv/node_modules/@types/node/readline.d.ts +32 -159
- package/node_modules/@types/keyv/node_modules/@types/node/repl.d.ts +20 -20
- package/node_modules/@types/keyv/node_modules/@types/node/stream/consumers.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +839 -857
- package/node_modules/@types/keyv/node_modules/@types/node/string_decoder.d.ts +6 -6
- package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +498 -206
- package/node_modules/@types/keyv/node_modules/@types/node/timers/promises.d.ts +3 -3
- package/node_modules/@types/keyv/node_modules/@types/node/timers.d.ts +122 -8
- package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +34 -22
- package/node_modules/@types/keyv/node_modules/@types/node/trace_events.d.ts +20 -9
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/assert.d.ts +86 -75
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/async_hooks.d.ts +66 -49
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/buffer.d.ts +137 -99
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/child_process.d.ts +81 -55
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/cluster.d.ts +12 -12
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/console.d.ts +5 -5
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/crypto.d.ts +210 -221
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/dgram.d.ts +15 -15
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +25 -26
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/dns/promises.d.ts +50 -6
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/dns.d.ts +25 -16
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/domain.d.ts +4 -4
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/events.d.ts +111 -65
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/fs/promises.d.ts +96 -45
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/fs.d.ts +243 -72
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/globals.d.ts +20 -11
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/http.d.ts +202 -129
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/http2.d.ts +42 -46
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/https.d.ts +52 -153
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/inspector.d.ts +10 -3
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/module.d.ts +5 -4
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/net.d.ts +24 -21
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/os.d.ts +22 -18
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/path.d.ts +4 -4
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/perf_hooks.d.ts +28 -15
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/process.d.ts +43 -46
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/punycode.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/querystring.d.ts +5 -5
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/readline/promises.d.ts +65 -63
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/readline.d.ts +32 -159
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/repl.d.ts +20 -20
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/stream/consumers.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/stream.d.ts +93 -140
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/string_decoder.d.ts +6 -6
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/test.d.ts +498 -206
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/timers/promises.d.ts +3 -3
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/timers.d.ts +125 -4
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/tls.d.ts +34 -22
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/trace_events.d.ts +20 -9
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/tty.d.ts +4 -5
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/url.d.ts +46 -42
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/util.d.ts +150 -109
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/v8.d.ts +204 -16
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/vm.d.ts +292 -42
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/wasi.d.ts +13 -19
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/worker_threads.d.ts +38 -34
- package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/zlib.d.ts +11 -11
- package/node_modules/@types/keyv/node_modules/@types/node/tty.d.ts +4 -5
- package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +46 -42
- package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +150 -109
- package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +204 -16
- package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +292 -42
- package/node_modules/@types/keyv/node_modules/@types/node/wasi.d.ts +13 -19
- package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +38 -34
- package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +11 -11
- package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +86 -75
- package/node_modules/@types/responselike/node_modules/@types/node/async_hooks.d.ts +66 -49
- package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +136 -97
- package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +81 -55
- package/node_modules/@types/responselike/node_modules/@types/node/cluster.d.ts +12 -12
- package/node_modules/@types/responselike/node_modules/@types/node/console.d.ts +5 -5
- package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +210 -221
- package/node_modules/@types/responselike/node_modules/@types/node/dgram.d.ts +15 -15
- package/node_modules/@types/responselike/node_modules/@types/node/diagnostics_channel.d.ts +25 -26
- package/node_modules/@types/responselike/node_modules/@types/node/dns/promises.d.ts +50 -6
- package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +25 -16
- package/node_modules/@types/responselike/node_modules/@types/node/domain.d.ts +4 -4
- package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +111 -65
- package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +80 -49
- package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +162 -91
- package/node_modules/@types/responselike/node_modules/@types/node/globals.d.ts +3 -1
- package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +195 -129
- package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +42 -46
- package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +52 -153
- package/node_modules/@types/responselike/node_modules/@types/node/index.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +10 -3
- package/node_modules/@types/responselike/node_modules/@types/node/module.d.ts +5 -4
- package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +21 -18
- package/node_modules/@types/responselike/node_modules/@types/node/os.d.ts +22 -18
- package/node_modules/@types/responselike/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/path.d.ts +4 -4
- package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +28 -15
- package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +43 -46
- package/node_modules/@types/responselike/node_modules/@types/node/punycode.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/querystring.d.ts +5 -5
- package/node_modules/@types/responselike/node_modules/@types/node/readline/promises.d.ts +65 -63
- package/node_modules/@types/responselike/node_modules/@types/node/readline.d.ts +32 -159
- package/node_modules/@types/responselike/node_modules/@types/node/repl.d.ts +20 -20
- package/node_modules/@types/responselike/node_modules/@types/node/stream/consumers.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +839 -857
- package/node_modules/@types/responselike/node_modules/@types/node/string_decoder.d.ts +6 -6
- package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +498 -206
- package/node_modules/@types/responselike/node_modules/@types/node/timers/promises.d.ts +3 -3
- package/node_modules/@types/responselike/node_modules/@types/node/timers.d.ts +122 -8
- package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +34 -22
- package/node_modules/@types/responselike/node_modules/@types/node/trace_events.d.ts +20 -9
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/assert.d.ts +86 -75
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/async_hooks.d.ts +66 -49
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/buffer.d.ts +137 -99
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/child_process.d.ts +81 -55
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/cluster.d.ts +12 -12
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/console.d.ts +5 -5
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/crypto.d.ts +210 -221
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/dgram.d.ts +15 -15
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +25 -26
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/dns/promises.d.ts +50 -6
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/dns.d.ts +25 -16
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/domain.d.ts +4 -4
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/events.d.ts +111 -65
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/fs/promises.d.ts +96 -45
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/fs.d.ts +243 -72
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/globals.d.ts +20 -11
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/http.d.ts +202 -129
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/http2.d.ts +42 -46
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/https.d.ts +52 -153
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/inspector.d.ts +10 -3
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/module.d.ts +5 -4
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/net.d.ts +24 -21
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/os.d.ts +22 -18
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/path.d.ts +4 -4
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/perf_hooks.d.ts +28 -15
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/process.d.ts +43 -46
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/punycode.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/querystring.d.ts +5 -5
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/readline/promises.d.ts +65 -63
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/readline.d.ts +32 -159
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/repl.d.ts +20 -20
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/stream/consumers.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/stream.d.ts +93 -140
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/string_decoder.d.ts +6 -6
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/test.d.ts +498 -206
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/timers/promises.d.ts +3 -3
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/timers.d.ts +125 -4
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/tls.d.ts +34 -22
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/trace_events.d.ts +20 -9
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/tty.d.ts +4 -5
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/url.d.ts +46 -42
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/util.d.ts +150 -109
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/v8.d.ts +204 -16
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/vm.d.ts +292 -42
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/wasi.d.ts +13 -19
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/worker_threads.d.ts +38 -34
- package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/zlib.d.ts +11 -11
- package/node_modules/@types/responselike/node_modules/@types/node/tty.d.ts +4 -5
- package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +46 -42
- package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +150 -109
- package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +204 -16
- package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +292 -42
- package/node_modules/@types/responselike/node_modules/@types/node/wasi.d.ts +13 -19
- package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +38 -34
- package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +11 -11
- package/package.json +20 -20
|
@@ -41,7 +41,6 @@ declare module 'fs/promises' {
|
|
|
41
41
|
WriteVResult,
|
|
42
42
|
} from 'node:fs';
|
|
43
43
|
import { Interface as ReadlineInterface } from 'node:readline';
|
|
44
|
-
|
|
45
44
|
interface FileChangeInfo<T extends string | Buffer> {
|
|
46
45
|
eventType: WatchEventType;
|
|
47
46
|
filename: T;
|
|
@@ -115,8 +114,8 @@ declare module 'fs/promises' {
|
|
|
115
114
|
*/
|
|
116
115
|
chmod(mode: Mode): Promise<void>;
|
|
117
116
|
/**
|
|
118
|
-
* Unlike the 16
|
|
119
|
-
* returned by this method has a default `highWaterMark` of 64
|
|
117
|
+
* Unlike the 16 KiB default `highWaterMark` for a `stream.Readable`, the stream
|
|
118
|
+
* returned by this method has a default `highWaterMark` of 64 KiB.
|
|
120
119
|
*
|
|
121
120
|
* `options` can include `start` and `end` values to read a range of bytes from
|
|
122
121
|
* the file instead of the entire file. Both `start` and `end` are inclusive and
|
|
@@ -134,7 +133,7 @@ declare module 'fs/promises' {
|
|
|
134
133
|
* destroyed. Set the `emitClose` option to `false` to change this behavior.
|
|
135
134
|
*
|
|
136
135
|
* ```js
|
|
137
|
-
* import { open } from 'fs/promises';
|
|
136
|
+
* import { open } from 'node:fs/promises';
|
|
138
137
|
*
|
|
139
138
|
* const fd = await open('/dev/input/event0');
|
|
140
139
|
* // Create a stream from some character device.
|
|
@@ -160,7 +159,7 @@ declare module 'fs/promises' {
|
|
|
160
159
|
* An example to read the last 10 bytes of a file which is 100 bytes long:
|
|
161
160
|
*
|
|
162
161
|
* ```js
|
|
163
|
-
* import { open } from 'fs/promises';
|
|
162
|
+
* import { open } from 'node:fs/promises';
|
|
164
163
|
*
|
|
165
164
|
* const fd = await open('sample.txt');
|
|
166
165
|
* fd.createReadStream({ start: 90, end: 99 });
|
|
@@ -199,7 +198,7 @@ declare module 'fs/promises' {
|
|
|
199
198
|
* device. The specific implementation is operating system and device specific.
|
|
200
199
|
* Refer to the POSIX [`fsync(2)`](http://man7.org/linux/man-pages/man2/fsync.2.html) documentation for more detail.
|
|
201
200
|
* @since v10.0.0
|
|
202
|
-
* @return
|
|
201
|
+
* @return Fulfills with `undefined` upon success.
|
|
203
202
|
*/
|
|
204
203
|
sync(): Promise<void>;
|
|
205
204
|
/**
|
|
@@ -220,11 +219,13 @@ declare module 'fs/promises' {
|
|
|
220
219
|
/**
|
|
221
220
|
* Returns a `ReadableStream` that may be used to read the files data.
|
|
222
221
|
*
|
|
223
|
-
* An error will be thrown if this method is called more than once or is called
|
|
224
|
-
* or closing.
|
|
222
|
+
* An error will be thrown if this method is called more than once or is called
|
|
223
|
+
* after the `FileHandle` is closed or closing.
|
|
225
224
|
*
|
|
226
225
|
* ```js
|
|
227
|
-
* import {
|
|
226
|
+
* import {
|
|
227
|
+
* open,
|
|
228
|
+
* } from 'node:fs/promises';
|
|
228
229
|
*
|
|
229
230
|
* const file = await open('./some/file/to/read');
|
|
230
231
|
*
|
|
@@ -234,8 +235,8 @@ declare module 'fs/promises' {
|
|
|
234
235
|
* await file.close();
|
|
235
236
|
* ```
|
|
236
237
|
*
|
|
237
|
-
* While the `ReadableStream` will read the file to completion, it will not
|
|
238
|
-
*
|
|
238
|
+
* While the `ReadableStream` will read the file to completion, it will not
|
|
239
|
+
* close the `FileHandle` automatically. User code must still call the`fileHandle.close()` method.
|
|
239
240
|
* @since v17.0.0
|
|
240
241
|
* @experimental
|
|
241
242
|
*/
|
|
@@ -289,7 +290,8 @@ declare module 'fs/promises' {
|
|
|
289
290
|
| null
|
|
290
291
|
): Promise<string | Buffer>;
|
|
291
292
|
/**
|
|
292
|
-
* Convenience method to create a `readline` interface and stream over the file.
|
|
293
|
+
* Convenience method to create a `readline` interface and stream over the file.
|
|
294
|
+
* See `filehandle.createReadStream()` for the options.
|
|
293
295
|
*
|
|
294
296
|
* ```js
|
|
295
297
|
* import { open } from 'node:fs/promises';
|
|
@@ -300,9 +302,7 @@ declare module 'fs/promises' {
|
|
|
300
302
|
* console.log(line);
|
|
301
303
|
* }
|
|
302
304
|
* ```
|
|
303
|
-
*
|
|
304
305
|
* @since v18.11.0
|
|
305
|
-
* @param options See `filehandle.createReadStream()` for the options.
|
|
306
306
|
*/
|
|
307
307
|
readLines(options?: CreateReadStreamOptions): ReadlineInterface;
|
|
308
308
|
/**
|
|
@@ -329,7 +329,7 @@ declare module 'fs/promises' {
|
|
|
329
329
|
* The following example retains only the first four bytes of the file:
|
|
330
330
|
*
|
|
331
331
|
* ```js
|
|
332
|
-
* import { open } from 'fs/promises';
|
|
332
|
+
* import { open } from 'node:fs/promises';
|
|
333
333
|
*
|
|
334
334
|
* let filehandle = null;
|
|
335
335
|
* try {
|
|
@@ -356,7 +356,7 @@ declare module 'fs/promises' {
|
|
|
356
356
|
utimes(atime: TimeLike, mtime: TimeLike): Promise<void>;
|
|
357
357
|
/**
|
|
358
358
|
* Asynchronously writes data to a file, replacing the file if it already exists.`data` can be a string, a buffer, an
|
|
359
|
-
* [AsyncIterable](https://tc39.github.io/ecma262/#sec-asynciterable-interface) or
|
|
359
|
+
* [AsyncIterable](https://tc39.github.io/ecma262/#sec-asynciterable-interface), or an
|
|
360
360
|
* [Iterable](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#The_iterable_protocol) object.
|
|
361
361
|
* The promise is resolved with no arguments upon success.
|
|
362
362
|
*
|
|
@@ -386,10 +386,10 @@ declare module 'fs/promises' {
|
|
|
386
386
|
* The kernel ignores the position argument and always appends the data to
|
|
387
387
|
* the end of the file.
|
|
388
388
|
* @since v10.0.0
|
|
389
|
-
* @param
|
|
389
|
+
* @param offset The start position from within `buffer` where the data to write begins.
|
|
390
390
|
* @param [length=buffer.byteLength - offset] The number of bytes from `buffer` to write.
|
|
391
|
-
* @param position The offset from the beginning of the file where the data from `buffer` should be written. If `position` is not a `number`, the data will be written at the current
|
|
392
|
-
* See the POSIX pwrite(2) documentation for more detail.
|
|
391
|
+
* @param [position='null'] The offset from the beginning of the file where the data from `buffer` should be written. If `position` is not a `number`, the data will be written at the current
|
|
392
|
+
* position. See the POSIX pwrite(2) documentation for more detail.
|
|
393
393
|
*/
|
|
394
394
|
write<TBuffer extends Uint8Array>(
|
|
395
395
|
buffer: TBuffer,
|
|
@@ -420,14 +420,14 @@ declare module 'fs/promises' {
|
|
|
420
420
|
* The kernel ignores the position argument and always appends the data to
|
|
421
421
|
* the end of the file.
|
|
422
422
|
* @since v12.9.0
|
|
423
|
-
* @param position The offset from the beginning of the file where the data from `buffers` should be written. If `position` is not a `number`, the data will be written at the current
|
|
423
|
+
* @param [position='null'] The offset from the beginning of the file where the data from `buffers` should be written. If `position` is not a `number`, the data will be written at the current
|
|
424
424
|
* position.
|
|
425
425
|
*/
|
|
426
426
|
writev(buffers: ReadonlyArray<NodeJS.ArrayBufferView>, position?: number): Promise<WriteVResult>;
|
|
427
427
|
/**
|
|
428
428
|
* Read from a file and write to an array of [ArrayBufferView](https://developer.mozilla.org/en-US/docs/Web/API/ArrayBufferView) s
|
|
429
429
|
* @since v13.13.0, v12.17.0
|
|
430
|
-
* @param position The offset from the beginning of the file where the data should be read from. If `position` is not a `number`, the data will be read from the current position.
|
|
430
|
+
* @param [position='null'] The offset from the beginning of the file where the data should be read from. If `position` is not a `number`, the data will be read from the current position.
|
|
431
431
|
* @return Fulfills upon success an object containing two properties:
|
|
432
432
|
*/
|
|
433
433
|
readv(buffers: ReadonlyArray<NodeJS.ArrayBufferView>, position?: number): Promise<ReadVResult>;
|
|
@@ -436,7 +436,7 @@ declare module 'fs/promises' {
|
|
|
436
436
|
* complete.
|
|
437
437
|
*
|
|
438
438
|
* ```js
|
|
439
|
-
* import { open } from 'fs/promises';
|
|
439
|
+
* import { open } from 'node:fs/promises';
|
|
440
440
|
*
|
|
441
441
|
* let filehandle;
|
|
442
442
|
* try {
|
|
@@ -450,9 +450,7 @@ declare module 'fs/promises' {
|
|
|
450
450
|
*/
|
|
451
451
|
close(): Promise<void>;
|
|
452
452
|
}
|
|
453
|
-
|
|
454
453
|
const constants: typeof fsConstants;
|
|
455
|
-
|
|
456
454
|
/**
|
|
457
455
|
* Tests a user's permissions for the file or directory specified by `path`.
|
|
458
456
|
* The `mode` argument is an optional integer that specifies the accessibility
|
|
@@ -466,8 +464,7 @@ declare module 'fs/promises' {
|
|
|
466
464
|
* written by the current process.
|
|
467
465
|
*
|
|
468
466
|
* ```js
|
|
469
|
-
* import { access } from 'fs/promises';
|
|
470
|
-
* import { constants } from 'fs';
|
|
467
|
+
* import { access, constants } from 'node:fs/promises';
|
|
471
468
|
*
|
|
472
469
|
* try {
|
|
473
470
|
* await access('/etc/passwd', constants.R_OK | constants.W_OK);
|
|
@@ -496,14 +493,13 @@ declare module 'fs/promises' {
|
|
|
496
493
|
* will be made to remove the destination.
|
|
497
494
|
*
|
|
498
495
|
* ```js
|
|
499
|
-
* import { constants } from 'fs';
|
|
500
|
-
* import { copyFile } from 'fs/promises';
|
|
496
|
+
* import { copyFile, constants } from 'node:fs/promises';
|
|
501
497
|
*
|
|
502
498
|
* try {
|
|
503
499
|
* await copyFile('source.txt', 'destination.txt');
|
|
504
500
|
* console.log('source.txt was copied to destination.txt');
|
|
505
501
|
* } catch {
|
|
506
|
-
* console.
|
|
502
|
+
* console.error('The file could not be copied');
|
|
507
503
|
* }
|
|
508
504
|
*
|
|
509
505
|
* // By using COPYFILE_EXCL, the operation will fail if destination.txt exists.
|
|
@@ -511,7 +507,7 @@ declare module 'fs/promises' {
|
|
|
511
507
|
* await copyFile('source.txt', 'destination.txt', constants.COPYFILE_EXCL);
|
|
512
508
|
* console.log('source.txt was copied to destination.txt');
|
|
513
509
|
* } catch {
|
|
514
|
-
* console.
|
|
510
|
+
* console.error('The file could not be copied');
|
|
515
511
|
* }
|
|
516
512
|
* ```
|
|
517
513
|
* @since v10.0.0
|
|
@@ -573,6 +569,19 @@ declare module 'fs/promises' {
|
|
|
573
569
|
* and sticky bits), or an object with a `mode` property and a `recursive`property indicating whether parent directories should be created. Calling`fsPromises.mkdir()` when `path` is a directory
|
|
574
570
|
* that exists results in a
|
|
575
571
|
* rejection only when `recursive` is false.
|
|
572
|
+
*
|
|
573
|
+
* ```js
|
|
574
|
+
* import { mkdir } from 'node:fs/promises';
|
|
575
|
+
*
|
|
576
|
+
* try {
|
|
577
|
+
* const projectFolder = new URL('./test/project/', import.meta.url);
|
|
578
|
+
* const createDir = await mkdir(projectFolder, { recursive: true });
|
|
579
|
+
*
|
|
580
|
+
* console.log(`created ${createDir}`);
|
|
581
|
+
* } catch (err) {
|
|
582
|
+
* console.error(err.message);
|
|
583
|
+
* }
|
|
584
|
+
* ```
|
|
576
585
|
* @since v10.0.0
|
|
577
586
|
* @return Upon success, fulfills with `undefined` if `recursive` is `false`, or the first directory path created if `recursive` is `true`.
|
|
578
587
|
*/
|
|
@@ -615,7 +624,7 @@ declare module 'fs/promises' {
|
|
|
615
624
|
* If `options.withFileTypes` is set to `true`, the resolved array will contain `fs.Dirent` objects.
|
|
616
625
|
*
|
|
617
626
|
* ```js
|
|
618
|
-
* import { readdir } from 'fs/promises';
|
|
627
|
+
* import { readdir } from 'node:fs/promises';
|
|
619
628
|
*
|
|
620
629
|
* try {
|
|
621
630
|
* const files = await readdir(path);
|
|
@@ -633,6 +642,7 @@ declare module 'fs/promises' {
|
|
|
633
642
|
options?:
|
|
634
643
|
| (ObjectEncodingOptions & {
|
|
635
644
|
withFileTypes?: false | undefined;
|
|
645
|
+
recursive?: boolean | undefined;
|
|
636
646
|
})
|
|
637
647
|
| BufferEncoding
|
|
638
648
|
| null
|
|
@@ -648,6 +658,7 @@ declare module 'fs/promises' {
|
|
|
648
658
|
| {
|
|
649
659
|
encoding: 'buffer';
|
|
650
660
|
withFileTypes?: false | undefined;
|
|
661
|
+
recursive?: boolean | undefined;
|
|
651
662
|
}
|
|
652
663
|
| 'buffer'
|
|
653
664
|
): Promise<Buffer[]>;
|
|
@@ -661,6 +672,7 @@ declare module 'fs/promises' {
|
|
|
661
672
|
options?:
|
|
662
673
|
| (ObjectEncodingOptions & {
|
|
663
674
|
withFileTypes?: false | undefined;
|
|
675
|
+
recursive?: boolean | undefined;
|
|
664
676
|
})
|
|
665
677
|
| BufferEncoding
|
|
666
678
|
| null
|
|
@@ -674,6 +686,7 @@ declare module 'fs/promises' {
|
|
|
674
686
|
path: PathLike,
|
|
675
687
|
options: ObjectEncodingOptions & {
|
|
676
688
|
withFileTypes: true;
|
|
689
|
+
recursive?: boolean | undefined;
|
|
677
690
|
}
|
|
678
691
|
): Promise<Dirent[]>;
|
|
679
692
|
/**
|
|
@@ -703,11 +716,14 @@ declare module 'fs/promises' {
|
|
|
703
716
|
/**
|
|
704
717
|
* Creates a symbolic link.
|
|
705
718
|
*
|
|
706
|
-
* The `type` argument is only used on Windows platforms and can be one of `'dir'`,`'file'`, or `'junction'`.
|
|
707
|
-
*
|
|
708
|
-
*
|
|
719
|
+
* The `type` argument is only used on Windows platforms and can be one of `'dir'`,`'file'`, or `'junction'`. If the `type` argument is not a string, Node.js will
|
|
720
|
+
* autodetect `target` type and use `'file'` or `'dir'`. If the `target` does not
|
|
721
|
+
* exist, `'file'` will be used. Windows junction points require the destination
|
|
722
|
+
* path to be absolute. When using `'junction'`, the `target` argument will
|
|
723
|
+
* automatically be normalized to absolute path. Junction points on NTFS volumes
|
|
724
|
+
* can only point to directories.
|
|
709
725
|
* @since v10.0.0
|
|
710
|
-
* @param [type='
|
|
726
|
+
* @param [type='null']
|
|
711
727
|
* @return Fulfills with `undefined` upon success.
|
|
712
728
|
*/
|
|
713
729
|
function symlink(target: PathLike, path: PathLike, type?: string | null): Promise<void>;
|
|
@@ -749,8 +765,8 @@ declare module 'fs/promises' {
|
|
|
749
765
|
): Promise<BigIntStats>;
|
|
750
766
|
function stat(path: PathLike, opts?: StatOptions): Promise<Stats | BigIntStats>;
|
|
751
767
|
/**
|
|
752
|
-
* @since v18.15.0
|
|
753
|
-
* @return Fulfills with
|
|
768
|
+
* @since v19.6.0, v18.15.0
|
|
769
|
+
* @return Fulfills with the {fs.StatFs} object for the given `path`.
|
|
754
770
|
*/
|
|
755
771
|
function statfs(
|
|
756
772
|
path: PathLike,
|
|
@@ -765,7 +781,6 @@ declare module 'fs/promises' {
|
|
|
765
781
|
}
|
|
766
782
|
): Promise<BigIntStatsFs>;
|
|
767
783
|
function statfs(path: PathLike, opts?: StatFsOptions): Promise<StatsFs | BigIntStatsFs>;
|
|
768
|
-
|
|
769
784
|
/**
|
|
770
785
|
* Creates a new link from the `existingPath` to the `newPath`. See the POSIX [`link(2)`](http://man7.org/linux/man-pages/man2/link.2.html) documentation for more detail.
|
|
771
786
|
* @since v10.0.0
|
|
@@ -821,7 +836,7 @@ declare module 'fs/promises' {
|
|
|
821
836
|
*
|
|
822
837
|
* * Values can be either numbers representing Unix epoch time, `Date`s, or a
|
|
823
838
|
* numeric string like `'123456789.0'`.
|
|
824
|
-
* * If the value can not be converted to a number, or is `NaN`, `Infinity
|
|
839
|
+
* * If the value can not be converted to a number, or is `NaN`, `Infinity`, or`-Infinity`, an `Error` will be thrown.
|
|
825
840
|
* @since v10.0.0
|
|
826
841
|
* @return Fulfills with `undefined` upon success.
|
|
827
842
|
*/
|
|
@@ -866,10 +881,12 @@ declare module 'fs/promises' {
|
|
|
866
881
|
* object with an `encoding` property specifying the character encoding to use.
|
|
867
882
|
*
|
|
868
883
|
* ```js
|
|
869
|
-
* import { mkdtemp } from 'fs/promises';
|
|
884
|
+
* import { mkdtemp } from 'node:fs/promises';
|
|
885
|
+
* import { join } from 'node:path';
|
|
886
|
+
* import { tmpdir } from 'node:os';
|
|
870
887
|
*
|
|
871
888
|
* try {
|
|
872
|
-
* await mkdtemp(
|
|
889
|
+
* await mkdtemp(join(tmpdir(), 'foo-'));
|
|
873
890
|
* } catch (err) {
|
|
874
891
|
* console.error(err);
|
|
875
892
|
* }
|
|
@@ -878,9 +895,9 @@ declare module 'fs/promises' {
|
|
|
878
895
|
* The `fsPromises.mkdtemp()` method will append the six randomly selected
|
|
879
896
|
* characters directly to the `prefix` string. For instance, given a directory`/tmp`, if the intention is to create a temporary directory _within_`/tmp`, the`prefix` must end with a trailing
|
|
880
897
|
* platform-specific path separator
|
|
881
|
-
* (`require('path').sep`).
|
|
898
|
+
* (`require('node:path').sep`).
|
|
882
899
|
* @since v10.0.0
|
|
883
|
-
* @return Fulfills with a string containing the
|
|
900
|
+
* @return Fulfills with a string containing the file system path of the newly created temporary directory.
|
|
884
901
|
*/
|
|
885
902
|
function mkdtemp(prefix: string, options?: ObjectEncodingOptions | BufferEncoding | null): Promise<string>;
|
|
886
903
|
/**
|
|
@@ -897,7 +914,7 @@ declare module 'fs/promises' {
|
|
|
897
914
|
function mkdtemp(prefix: string, options?: ObjectEncodingOptions | BufferEncoding | null): Promise<string | Buffer>;
|
|
898
915
|
/**
|
|
899
916
|
* Asynchronously writes data to a file, replacing the file if it already exists.`data` can be a string, a buffer, an
|
|
900
|
-
* [AsyncIterable](https://tc39.github.io/ecma262/#sec-asynciterable-interface) or
|
|
917
|
+
* [AsyncIterable](https://tc39.github.io/ecma262/#sec-asynciterable-interface), or an
|
|
901
918
|
* [Iterable](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#The_iterable_protocol) object.
|
|
902
919
|
*
|
|
903
920
|
* The `encoding` option is ignored if `data` is a buffer.
|
|
@@ -920,8 +937,8 @@ declare module 'fs/promises' {
|
|
|
920
937
|
* to be written.
|
|
921
938
|
*
|
|
922
939
|
* ```js
|
|
923
|
-
* import { writeFile } from 'fs/promises';
|
|
924
|
-
* import { Buffer } from 'buffer';
|
|
940
|
+
* import { writeFile } from 'node:fs/promises';
|
|
941
|
+
* import { Buffer } from 'node:buffer';
|
|
925
942
|
*
|
|
926
943
|
* try {
|
|
927
944
|
* const controller = new AbortController();
|
|
@@ -984,11 +1001,25 @@ declare module 'fs/promises' {
|
|
|
984
1001
|
* with an error. On FreeBSD, a representation of the directory's contents will be
|
|
985
1002
|
* returned.
|
|
986
1003
|
*
|
|
1004
|
+
* An example of reading a `package.json` file located in the same directory of the
|
|
1005
|
+
* running code:
|
|
1006
|
+
*
|
|
1007
|
+
* ```js
|
|
1008
|
+
* import { readFile } from 'node:fs/promises';
|
|
1009
|
+
* try {
|
|
1010
|
+
* const filePath = new URL('./package.json', import.meta.url);
|
|
1011
|
+
* const contents = await readFile(filePath, { encoding: 'utf8' });
|
|
1012
|
+
* console.log(contents);
|
|
1013
|
+
* } catch (err) {
|
|
1014
|
+
* console.error(err.message);
|
|
1015
|
+
* }
|
|
1016
|
+
* ```
|
|
1017
|
+
*
|
|
987
1018
|
* It is possible to abort an ongoing `readFile` using an `AbortSignal`. If a
|
|
988
1019
|
* request is aborted the promise returned is rejected with an `AbortError`:
|
|
989
1020
|
*
|
|
990
1021
|
* ```js
|
|
991
|
-
* import { readFile } from 'fs/promises';
|
|
1022
|
+
* import { readFile } from 'node:fs/promises';
|
|
992
1023
|
*
|
|
993
1024
|
* try {
|
|
994
1025
|
* const controller = new AbortController();
|
|
@@ -1067,7 +1098,7 @@ declare module 'fs/promises' {
|
|
|
1067
1098
|
* Example using async iteration:
|
|
1068
1099
|
*
|
|
1069
1100
|
* ```js
|
|
1070
|
-
* import { opendir } from 'fs/promises';
|
|
1101
|
+
* import { opendir } from 'node:fs/promises';
|
|
1071
1102
|
*
|
|
1072
1103
|
* try {
|
|
1073
1104
|
* const dir = await opendir('./');
|
|
@@ -1088,7 +1119,7 @@ declare module 'fs/promises' {
|
|
|
1088
1119
|
* Returns an async iterator that watches for changes on `filename`, where `filename`is either a file or a directory.
|
|
1089
1120
|
*
|
|
1090
1121
|
* ```js
|
|
1091
|
-
* const { watch } = require('fs/promises');
|
|
1122
|
+
* const { watch } = require('node:fs/promises');
|
|
1092
1123
|
*
|
|
1093
1124
|
* const ac = new AbortController();
|
|
1094
1125
|
* const { signal } = ac;
|