From 05336dc36584e58f8c88aa04636521b8ba00a660 Mon Sep 17 00:00:00 2001
From: PureCloud Jenkins
Date: Mon, 11 Dec 2023 07:24:26 +0000
Subject: [PATCH] 13.8.0
---
README.md | 4 +-
build/README.md | 4 +-
.../dist/node/purecloud-guest-chat-client.js | 6 +-
.../web-amd/purecloud-guest-chat-client.js | 6 +-
build/dist/web-cjs/bundle.js | 6 +-
.../web-cjs/purecloud-guest-chat-client.js | 6 +-
build/docs/index.md | 4 +-
build/docs/releaseNotes.md | 8 +-
build/node_modules/.package-lock.json | 119 +-
build/node_modules/@types/node/README.md | 9 +-
build/node_modules/@types/node/assert.d.ts | 4 +-
build/node_modules/@types/node/buffer.d.ts | 10 +-
.../@types/node/child_process.d.ts | 66 +-
build/node_modules/@types/node/console.d.ts | 2 +-
build/node_modules/@types/node/crypto.d.ts | 8 +-
build/node_modules/@types/node/dgram.d.ts | 8 +-
build/node_modules/@types/node/dns.d.ts | 2 +-
.../@types/node/dns/promises.d.ts | 10 +-
build/node_modules/@types/node/events.d.ts | 61 +-
build/node_modules/@types/node/fs.d.ts | 18 +-
.../node_modules/@types/node/fs/promises.d.ts | 37 +-
build/node_modules/@types/node/globals.d.ts | 688 ++++-----
build/node_modules/@types/node/http.d.ts | 4 +-
build/node_modules/@types/node/http2.d.ts | 19 +-
build/node_modules/@types/node/index.d.ts | 45 -
build/node_modules/@types/node/inspector.d.ts | 1 -
build/node_modules/@types/node/module.d.ts | 38 +-
build/node_modules/@types/node/net.d.ts | 6 +
build/node_modules/@types/node/os.d.ts | 5 +-
build/node_modules/@types/node/package.json | 176 ++-
.../node_modules/@types/node/perf_hooks.d.ts | 4 +-
build/node_modules/@types/node/process.d.ts | 9 +-
build/node_modules/@types/node/punycode.d.ts | 2 +-
.../node_modules/@types/node/querystring.d.ts | 6 +-
build/node_modules/@types/node/stream.d.ts | 8 +-
build/node_modules/@types/node/test.d.ts | 10 +-
build/node_modules/@types/node/timers.d.ts | 6 +-
build/node_modules/@types/node/tls.d.ts | 2 +-
.../@types/node/ts4.8/assert.d.ts | 4 +-
.../@types/node/ts4.8/buffer.d.ts | 10 +-
.../@types/node/ts4.8/child_process.d.ts | 66 +-
.../@types/node/ts4.8/console.d.ts | 2 +-
.../@types/node/ts4.8/crypto.d.ts | 8 +-
.../node_modules/@types/node/ts4.8/dgram.d.ts | 8 +-
build/node_modules/@types/node/ts4.8/dns.d.ts | 2 +-
.../@types/node/ts4.8/dns/promises.d.ts | 10 +-
.../@types/node/ts4.8/events.d.ts | 85 +-
build/node_modules/@types/node/ts4.8/fs.d.ts | 18 +-
.../@types/node/ts4.8/fs/promises.d.ts | 37 +-
.../@types/node/ts4.8/globals.d.ts | 688 ++++-----
.../node_modules/@types/node/ts4.8/http.d.ts | 4 +-
.../node_modules/@types/node/ts4.8/http2.d.ts | 19 +-
.../@types/node/ts4.8/inspector.d.ts | 1 -
.../@types/node/ts4.8/module.d.ts | 38 +-
build/node_modules/@types/node/ts4.8/net.d.ts | 6 +
build/node_modules/@types/node/ts4.8/os.d.ts | 5 +-
.../@types/node/ts4.8/perf_hooks.d.ts | 2 +-
.../@types/node/ts4.8/process.d.ts | 9 +-
.../@types/node/ts4.8/punycode.d.ts | 2 +-
.../@types/node/ts4.8/querystring.d.ts | 6 +-
.../@types/node/ts4.8/stream.d.ts | 8 +-
.../node_modules/@types/node/ts4.8/test.d.ts | 10 +-
.../@types/node/ts4.8/timers.d.ts | 6 +-
build/node_modules/@types/node/ts4.8/tls.d.ts | 2 +-
build/node_modules/@types/node/ts4.8/url.d.ts | 2 +-
.../node_modules/@types/node/ts4.8/util.d.ts | 3 -
build/node_modules/@types/node/ts4.8/vm.d.ts | 14 +-
.../node_modules/@types/node/ts4.8/wasi.d.ts | 8 +-
.../@types/node/ts4.8/worker_threads.d.ts | 4 +-
build/node_modules/@types/node/url.d.ts | 2 +-
build/node_modules/@types/node/util.d.ts | 3 -
build/node_modules/@types/node/vm.d.ts | 14 +-
build/node_modules/@types/node/wasi.d.ts | 8 +-
.../@types/node/worker_threads.d.ts | 4 +-
build/node_modules/@types/triple-beam/LICENSE | 0
.../node_modules/@types/triple-beam/README.md | 8 +-
.../@types/triple-beam/index.d.ts | 5 -
.../@types/triple-beam/package.json | 10 +-
build/node_modules/async/all.js | 6 +-
build/node_modules/async/allLimit.js | 6 +-
build/node_modules/async/allSeries.js | 6 +-
build/node_modules/async/any.js | 6 +-
build/node_modules/async/anyLimit.js | 6 +-
build/node_modules/async/anySeries.js | 6 +-
build/node_modules/async/apply.js | 50 +-
build/node_modules/async/applyEach.js | 4 +-
build/node_modules/async/applyEachSeries.js | 4 +-
build/node_modules/async/asyncify.js | 4 +-
build/node_modules/async/auto.js | 2 +-
build/node_modules/async/autoInject.js | 2 +-
build/node_modules/async/cargo.js | 6 +-
build/node_modules/async/cargoQueue.js | 6 +-
build/node_modules/async/compose.js | 6 +-
build/node_modules/async/concat.js | 6 +-
build/node_modules/async/concatLimit.js | 2 +-
build/node_modules/async/concatSeries.js | 6 +-
build/node_modules/async/constant.js | 43 +-
build/node_modules/async/detect.js | 6 +-
build/node_modules/async/detectLimit.js | 6 +-
build/node_modules/async/detectSeries.js | 6 +-
build/node_modules/async/dir.js | 4 +-
build/node_modules/async/dist/async.js | 229 +--
build/node_modules/async/dist/async.min.js | 2 +-
build/node_modules/async/dist/async.mjs | 154 +-
build/node_modules/async/doDuring.js | 2 +-
build/node_modules/async/doUntil.js | 2 +-
build/node_modules/async/doWhilst.js | 2 +-
build/node_modules/async/during.js | 4 +-
build/node_modules/async/each.js | 6 +-
build/node_modules/async/eachLimit.js | 6 +-
build/node_modules/async/eachOf.js | 2 +-
build/node_modules/async/eachOfLimit.js | 6 +-
build/node_modules/async/eachOfSeries.js | 6 +-
build/node_modules/async/eachSeries.js | 6 +-
build/node_modules/async/ensureAsync.js | 2 +-
build/node_modules/async/every.js | 6 +-
build/node_modules/async/everyLimit.js | 6 +-
build/node_modules/async/everySeries.js | 6 +-
build/node_modules/async/filter.js | 6 +-
build/node_modules/async/filterLimit.js | 6 +-
build/node_modules/async/filterSeries.js | 6 +-
build/node_modules/async/find.js | 6 +-
build/node_modules/async/findLimit.js | 6 +-
build/node_modules/async/findSeries.js | 6 +-
build/node_modules/async/flatMap.js | 6 +-
build/node_modules/async/flatMapLimit.js | 2 +-
build/node_modules/async/flatMapSeries.js | 6 +-
build/node_modules/async/foldl.js | 2 +-
build/node_modules/async/foldr.js | 8 +-
build/node_modules/async/forEach.js | 6 +-
build/node_modules/async/forEachLimit.js | 6 +-
build/node_modules/async/forEachOf.js | 2 +-
build/node_modules/async/forEachOfLimit.js | 6 +-
build/node_modules/async/forEachOfSeries.js | 6 +-
build/node_modules/async/forEachSeries.js | 6 +-
build/node_modules/async/forever.js | 2 +-
build/node_modules/async/groupBy.js | 6 +-
build/node_modules/async/groupByLimit.js | 2 +-
build/node_modules/async/groupBySeries.js | 6 +-
build/node_modules/async/index.js | 212 +--
build/node_modules/async/inject.js | 2 +-
.../async/internal/DoublyLinkedList.js | 2 +-
build/node_modules/async/internal/Heap.js | 2 +-
.../node_modules/async/internal/applyEach.js | 2 +-
.../async/internal/asyncEachOfLimit.js | 2 +-
build/node_modules/async/internal/awaitify.js | 5 +-
.../node_modules/async/internal/breakLoop.js | 4 +-
.../async/internal/consoleFunc.js | 2 +-
.../async/internal/createTester.js | 2 +-
.../async/internal/eachOfLimit.js | 2 +-
build/node_modules/async/internal/filter.js | 2 +-
.../async/internal/getIterator.js | 2 +-
.../async/internal/initialParams.js | 2 +-
.../async/internal/isArrayLike.js | 2 +-
build/node_modules/async/internal/iterator.js | 2 +-
build/node_modules/async/internal/map.js | 2 +-
build/node_modules/async/internal/once.js | 2 +-
build/node_modules/async/internal/onlyOnce.js | 2 +-
build/node_modules/async/internal/parallel.js | 2 +-
build/node_modules/async/internal/queue.js | 2 +-
build/node_modules/async/internal/range.js | 2 +-
build/node_modules/async/internal/reject.js | 2 +-
.../async/internal/withoutIndex.js | 2 +-
build/node_modules/async/log.js | 4 +-
build/node_modules/async/map.js | 6 +-
build/node_modules/async/mapLimit.js | 6 +-
build/node_modules/async/mapSeries.js | 6 +-
build/node_modules/async/mapValues.js | 6 +-
build/node_modules/async/mapValuesLimit.js | 2 +-
build/node_modules/async/mapValuesSeries.js | 6 +-
build/node_modules/async/memoize.js | 2 +-
build/node_modules/async/nextTick.js | 2 +-
build/node_modules/async/package.json | 8 +-
build/node_modules/async/parallel.js | 6 +-
build/node_modules/async/parallelLimit.js | 6 +-
build/node_modules/async/priorityQueue.js | 28 +-
build/node_modules/async/queue.js | 155 +-
build/node_modules/async/race.js | 2 +-
build/node_modules/async/reduce.js | 2 +-
build/node_modules/async/reduceRight.js | 8 +-
build/node_modules/async/reflect.js | 2 +-
build/node_modules/async/reflectAll.js | 2 +-
build/node_modules/async/reject.js | 6 +-
build/node_modules/async/rejectLimit.js | 6 +-
build/node_modules/async/rejectSeries.js | 6 +-
build/node_modules/async/retry.js | 2 +-
build/node_modules/async/retryable.js | 2 +-
build/node_modules/async/select.js | 6 +-
build/node_modules/async/selectLimit.js | 6 +-
build/node_modules/async/selectSeries.js | 6 +-
build/node_modules/async/seq.js | 2 +-
build/node_modules/async/series.js | 6 +-
build/node_modules/async/setImmediate.js | 4 +-
build/node_modules/async/some.js | 6 +-
build/node_modules/async/someLimit.js | 6 +-
build/node_modules/async/someSeries.js | 6 +-
build/node_modules/async/sortBy.js | 2 +-
build/node_modules/async/timeout.js | 2 +-
build/node_modules/async/times.js | 6 +-
build/node_modules/async/timesLimit.js | 8 +-
build/node_modules/async/timesSeries.js | 6 +-
build/node_modules/async/transform.js | 2 +-
build/node_modules/async/tryEach.js | 2 +-
build/node_modules/async/unmemoize.js | 2 +-
build/node_modules/async/until.js | 8 +-
build/node_modules/async/waterfall.js | 2 +-
build/node_modules/async/whilst.js | 4 +-
build/node_modules/async/wrapSync.js | 4 +-
build/node_modules/browserify-sign/algos.js | 4 +-
.../browserify-sign/browser/index.js | 126 +-
.../browserify-sign/browser/sign.js | 209 +--
.../browserify-sign/browser/verify.js | 116 +-
build/node_modules/browserify-sign/index.js | 12 +-
.../node_modules/browserify-sign/package.json | 109 +-
build/node_modules/function-bind/.eslintrc | 21 +
.../function-bind/.github/FUNDING.yml | 12 +
.../function-bind/.github/SECURITY.md | 3 +
build/node_modules/function-bind/.nycrc | 13 +
build/node_modules/function-bind/CHANGELOG.md | 136 ++
.../@colors/colors => function-bind}/LICENSE | 10 +-
build/node_modules/function-bind/README.md | 46 +
.../function-bind/implementation.js | 84 ++
build/node_modules/function-bind/index.js | 5 +
build/node_modules/function-bind/package.json | 87 ++
.../node_modules/function-bind/test/.eslintrc | 9 +
.../node_modules/function-bind/test/index.js | 252 ++++
build/node_modules/has/LICENSE-MIT | 22 -
build/node_modules/has/README.md | 18 -
build/node_modules/has/package.json | 45 -
build/node_modules/has/src/index.js | 8 -
build/node_modules/has/test/index.js | 16 -
build/node_modules/hasown/.eslintrc | 5 +
build/node_modules/hasown/.github/FUNDING.yml | 12 +
build/node_modules/hasown/.nycrc | 13 +
build/node_modules/hasown/CHANGELOG.md | 20 +
build/node_modules/hasown/LICENSE | 21 +
build/node_modules/hasown/README.md | 40 +
build/node_modules/hasown/index.d.ts | 3 +
build/node_modules/hasown/index.d.ts.map | 1 +
build/node_modules/hasown/index.js | 8 +
build/node_modules/hasown/package.json | 91 ++
build/node_modules/hasown/tsconfig.json | 49 +
.../node_modules/is-core-module/CHANGELOG.md | 7 +
build/node_modules/is-core-module/index.js | 4 +-
.../node_modules/is-core-module/package.json | 8 +-
build/node_modules/logform/.babelrc | 6 +-
build/node_modules/logform/.gitattributes | 2 +-
build/node_modules/logform/CHANGELOG.md | 3 +
build/node_modules/logform/LICENSE | 42 +-
build/node_modules/logform/README.md | 1306 ++++++++---------
build/node_modules/logform/dist/align.js | 3 +-
build/node_modules/logform/dist/browser.js | 8 +-
build/node_modules/logform/dist/cli.js | 36 +-
build/node_modules/logform/dist/colorize.js | 56 +-
build/node_modules/logform/dist/combine.js | 21 +-
build/node_modules/logform/dist/errors.js | 25 +-
build/node_modules/logform/dist/format.js | 44 +-
build/node_modules/logform/dist/index.js | 13 +-
build/node_modules/logform/dist/json.js | 10 +-
build/node_modules/logform/dist/label.js | 4 +-
build/node_modules/logform/dist/levels.js | 5 +-
build/node_modules/logform/dist/logstash.js | 10 +-
build/node_modules/logform/dist/metadata.js | 18 +-
build/node_modules/logform/dist/ms.js | 5 +-
build/node_modules/logform/dist/pad-levels.js | 38 +-
.../node_modules/logform/dist/pretty-print.js | 16 +-
build/node_modules/logform/dist/printf.js | 17 +-
build/node_modules/logform/dist/simple.js | 9 +-
build/node_modules/logform/dist/splat.js | 67 +-
build/node_modules/logform/dist/timestamp.js | 8 +-
build/node_modules/logform/dist/uncolorize.js | 10 +-
.../node_modules/@colors/colors/README.md | 219 ---
.../@colors/colors/examples/normal-usage.js | 83 --
.../@colors/colors/examples/safe-string.js | 80 -
.../node_modules/@colors/colors/index.d.ts | 136 --
.../node_modules/@colors/colors/lib/colors.js | 211 ---
.../@colors/colors/lib/custom/trap.js | 46 -
.../@colors/colors/lib/custom/zalgo.js | 110 --
.../colors/lib/extendStringPrototype.js | 110 --
.../node_modules/@colors/colors/lib/index.js | 13 -
.../@colors/colors/lib/maps/america.js | 10 -
.../@colors/colors/lib/maps/rainbow.js | 12 -
.../@colors/colors/lib/maps/random.js | 11 -
.../@colors/colors/lib/maps/zebra.js | 5 -
.../node_modules/@colors/colors/lib/styles.js | 95 --
.../@colors/colors/lib/system/has-flag.js | 35 -
.../colors/lib/system/supports-colors.js | 151 --
.../node_modules/@colors/colors/package.json | 45 -
.../node_modules/@colors/colors/safe.d.ts | 48 -
.../node_modules/@colors/colors/safe.js | 10 -
.../@colors/colors/themes/generic-logging.js | 12 -
build/node_modules/logform/package.json | 11 +-
build/node_modules/logform/tsconfig.json | 44 +-
build/node_modules/nise/package.json | 4 +-
build/node_modules/undici-types/agent.d.ts | 2 +-
build/node_modules/undici-types/client.d.ts | 2 +-
.../node_modules/undici-types/connector.d.ts | 1 +
build/node_modules/undici-types/index.d.ts | 6 +
build/node_modules/undici-types/package.json | 2 +-
.../9e733014-aac3-4cf5-9497-11d76de6f671.json | 1 +
.../c3d7ddb9-cc26-466b-a4f6-993ad69e86f6.json | 1 -
.../9e733014-aac3-4cf5-9497-11d76de6f671.json | 1 +
.../c3d7ddb9-cc26-466b-a4f6-993ad69e86f6.json | 1 -
.../.nyc_output/processinfo/index.json | 2 +-
.../winston-transport/package.json | 8 +-
build/package-lock.json | 121 +-
build/package.json | 2 +-
.../purecloud-guest-chat-client/ApiClient.js | 2 +-
.../api/WebChatApi.js | 2 +-
.../src/purecloud-guest-chat-client/index.js | 2 +-
releaseNotes.md | 8 +-
swagger.json | 2 +-
version.json | 6 +-
313 files changed, 4149 insertions(+), 4913 deletions(-)
mode change 100755 => 100644 build/node_modules/@types/triple-beam/LICENSE
mode change 100755 => 100644 build/node_modules/@types/triple-beam/README.md
mode change 100755 => 100644 build/node_modules/@types/triple-beam/index.d.ts
mode change 100755 => 100644 build/node_modules/@types/triple-beam/package.json
create mode 100644 build/node_modules/function-bind/.eslintrc
create mode 100644 build/node_modules/function-bind/.github/FUNDING.yml
create mode 100644 build/node_modules/function-bind/.github/SECURITY.md
create mode 100644 build/node_modules/function-bind/.nycrc
create mode 100644 build/node_modules/function-bind/CHANGELOG.md
rename build/node_modules/{logform/node_modules/@colors/colors => function-bind}/LICENSE (82%)
create mode 100644 build/node_modules/function-bind/README.md
create mode 100644 build/node_modules/function-bind/implementation.js
create mode 100644 build/node_modules/function-bind/index.js
create mode 100644 build/node_modules/function-bind/package.json
create mode 100644 build/node_modules/function-bind/test/.eslintrc
create mode 100644 build/node_modules/function-bind/test/index.js
delete mode 100644 build/node_modules/has/LICENSE-MIT
delete mode 100644 build/node_modules/has/README.md
delete mode 100644 build/node_modules/has/package.json
delete mode 100644 build/node_modules/has/src/index.js
delete mode 100644 build/node_modules/has/test/index.js
create mode 100644 build/node_modules/hasown/.eslintrc
create mode 100644 build/node_modules/hasown/.github/FUNDING.yml
create mode 100644 build/node_modules/hasown/.nycrc
create mode 100644 build/node_modules/hasown/CHANGELOG.md
create mode 100644 build/node_modules/hasown/LICENSE
create mode 100644 build/node_modules/hasown/README.md
create mode 100644 build/node_modules/hasown/index.d.ts
create mode 100644 build/node_modules/hasown/index.d.ts.map
create mode 100644 build/node_modules/hasown/index.js
create mode 100644 build/node_modules/hasown/package.json
create mode 100644 build/node_modules/hasown/tsconfig.json
delete mode 100644 build/node_modules/logform/node_modules/@colors/colors/README.md
delete mode 100644 build/node_modules/logform/node_modules/@colors/colors/examples/normal-usage.js
delete mode 100644 build/node_modules/logform/node_modules/@colors/colors/examples/safe-string.js
delete mode 100644 build/node_modules/logform/node_modules/@colors/colors/index.d.ts
delete mode 100644 build/node_modules/logform/node_modules/@colors/colors/lib/colors.js
delete mode 100644 build/node_modules/logform/node_modules/@colors/colors/lib/custom/trap.js
delete mode 100644 build/node_modules/logform/node_modules/@colors/colors/lib/custom/zalgo.js
delete mode 100644 build/node_modules/logform/node_modules/@colors/colors/lib/extendStringPrototype.js
delete mode 100644 build/node_modules/logform/node_modules/@colors/colors/lib/index.js
delete mode 100644 build/node_modules/logform/node_modules/@colors/colors/lib/maps/america.js
delete mode 100644 build/node_modules/logform/node_modules/@colors/colors/lib/maps/rainbow.js
delete mode 100644 build/node_modules/logform/node_modules/@colors/colors/lib/maps/random.js
delete mode 100644 build/node_modules/logform/node_modules/@colors/colors/lib/maps/zebra.js
delete mode 100644 build/node_modules/logform/node_modules/@colors/colors/lib/styles.js
delete mode 100644 build/node_modules/logform/node_modules/@colors/colors/lib/system/has-flag.js
delete mode 100644 build/node_modules/logform/node_modules/@colors/colors/lib/system/supports-colors.js
delete mode 100644 build/node_modules/logform/node_modules/@colors/colors/package.json
delete mode 100644 build/node_modules/logform/node_modules/@colors/colors/safe.d.ts
delete mode 100644 build/node_modules/logform/node_modules/@colors/colors/safe.js
delete mode 100644 build/node_modules/logform/node_modules/@colors/colors/themes/generic-logging.js
create mode 100644 build/node_modules/winston-transport/.nyc_output/9e733014-aac3-4cf5-9497-11d76de6f671.json
delete mode 100644 build/node_modules/winston-transport/.nyc_output/c3d7ddb9-cc26-466b-a4f6-993ad69e86f6.json
create mode 100644 build/node_modules/winston-transport/.nyc_output/processinfo/9e733014-aac3-4cf5-9497-11d76de6f671.json
delete mode 100644 build/node_modules/winston-transport/.nyc_output/processinfo/c3d7ddb9-cc26-466b-a4f6-993ad69e86f6.json
diff --git a/README.md b/README.md
index 03418875..679b501a 100644
--- a/README.md
+++ b/README.md
@@ -31,7 +31,7 @@ For direct use in a browser script:
```html
-
+
diff --git a/build/README.md b/build/README.md
index 03418875..679b501a 100644
--- a/build/README.md
+++ b/build/README.md
@@ -31,7 +31,7 @@ For direct use in a browser script:
```html
-
+
diff --git a/build/dist/node/purecloud-guest-chat-client.js b/build/dist/node/purecloud-guest-chat-client.js
index 79903d5d..c5c6723d 100644
--- a/build/dist/node/purecloud-guest-chat-client.js
+++ b/build/dist/node/purecloud-guest-chat-client.js
@@ -378,7 +378,7 @@ class Configuration {
/**
* @module purecloud-guest-chat-client/ApiClient
- * @version 13.7.0
+ * @version 13.8.0
*/
class ApiClient {
/**
@@ -972,7 +972,7 @@ class WebChatApi {
/**
* WebChat service.
* @module purecloud-guest-chat-client/api/WebChatApi
- * @version 13.7.0
+ * @version 13.8.0
*/
/**
@@ -1341,7 +1341,7 @@ class WebChatApi {
*
*
* @module purecloud-guest-chat-client/index
- * @version 13.7.0
+ * @version 13.8.0
*/
class platformClient {
constructor() {
diff --git a/build/dist/web-amd/purecloud-guest-chat-client.js b/build/dist/web-amd/purecloud-guest-chat-client.js
index 694326b7..925ec890 100644
--- a/build/dist/web-amd/purecloud-guest-chat-client.js
+++ b/build/dist/web-amd/purecloud-guest-chat-client.js
@@ -376,7 +376,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
/**
* @module purecloud-guest-chat-client/ApiClient
- * @version 13.7.0
+ * @version 13.8.0
*/
class ApiClient {
/**
@@ -970,7 +970,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
/**
* WebChat service.
* @module purecloud-guest-chat-client/api/WebChatApi
- * @version 13.7.0
+ * @version 13.8.0
*/
/**
@@ -1339,7 +1339,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
*
*
* @module purecloud-guest-chat-client/index
- * @version 13.7.0
+ * @version 13.8.0
*/
class platformClient {
constructor() {
diff --git a/build/dist/web-cjs/bundle.js b/build/dist/web-cjs/bundle.js
index b7a2eaa8..e4f10a2f 100644
--- a/build/dist/web-cjs/bundle.js
+++ b/build/dist/web-cjs/bundle.js
@@ -2255,7 +2255,7 @@ class Configuration {
/**
* @module purecloud-guest-chat-client/ApiClient
- * @version 13.7.0
+ * @version 13.8.0
*/
class ApiClient {
/**
@@ -2842,7 +2842,7 @@ class WebChatApi {
/**
* WebChat service.
* @module purecloud-guest-chat-client/api/WebChatApi
- * @version 13.7.0
+ * @version 13.8.0
*/
/**
@@ -3211,7 +3211,7 @@ class WebChatApi {
*
*
* @module purecloud-guest-chat-client/index
- * @version 13.7.0
+ * @version 13.8.0
*/
class platformClient {
constructor() {
diff --git a/build/dist/web-cjs/purecloud-guest-chat-client.js b/build/dist/web-cjs/purecloud-guest-chat-client.js
index 6325201c..dd7ddb25 100644
--- a/build/dist/web-cjs/purecloud-guest-chat-client.js
+++ b/build/dist/web-cjs/purecloud-guest-chat-client.js
@@ -7227,7 +7227,7 @@ class Configuration {
/**
* @module purecloud-guest-chat-client/ApiClient
- * @version 13.7.0
+ * @version 13.8.0
*/
class ApiClient {
/**
@@ -7814,7 +7814,7 @@ class WebChatApi {
/**
* WebChat service.
* @module purecloud-guest-chat-client/api/WebChatApi
- * @version 13.7.0
+ * @version 13.8.0
*/
/**
@@ -8183,7 +8183,7 @@ class WebChatApi {
*
*
* @module purecloud-guest-chat-client/index
- * @version 13.7.0
+ * @version 13.8.0
*/
class platformClient {
constructor() {
diff --git a/build/docs/index.md b/build/docs/index.md
index 03418875..679b501a 100644
--- a/build/docs/index.md
+++ b/build/docs/index.md
@@ -31,7 +31,7 @@ For direct use in a browser script:
```html
-
+
diff --git a/build/docs/releaseNotes.md b/build/docs/releaseNotes.md
index 84b48ac3..98039436 100644
--- a/build/docs/releaseNotes.md
+++ b/build/docs/releaseNotes.md
@@ -1,4 +1,4 @@
-Platform API version: 7379
+Platform API version: 7567
@@ -6,7 +6,11 @@ Platform API version: 7379
# Major Changes (0 changes)
-# Minor Changes (0 changes)
+# Minor Changes (1 change)
+
+**Limit** (1 change)
+
+* Enum value employee.engagement was added to property namespace
# Point Changes (0 changes)
diff --git a/build/node_modules/.package-lock.json b/build/node_modules/.package-lock.json
index 62f42ca7..14915ada 100644
--- a/build/node_modules/.package-lock.json
+++ b/build/node_modules/.package-lock.json
@@ -1,6 +1,6 @@
{
"name": "purecloud-guest-chat-client",
- "version": "13.7.0",
+ "version": "13.8.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
@@ -140,12 +140,12 @@
"dev": true
},
"node_modules/@types/node": {
- "version": "20.8.4",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.4.tgz",
- "integrity": "sha512-ZVPnqU58giiCjSxjVUESDtdPk4QR5WQhhINbc9UBrKLU68MX5BF6kbQzTrkwbolyr0X8ChBpXfavr5mZFKZQ5A==",
+ "version": "20.10.4",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-20.10.4.tgz",
+ "integrity": "sha512-D08YG6rr8X90YB56tSIuBaddy/UXAA9RKJoFvrsnogAum/0pmjkgi4+2nx96A330FmioegBWmEYQ+syqCFaveg==",
"dev": true,
"dependencies": {
- "undici-types": "~5.25.1"
+ "undici-types": "~5.26.4"
}
},
"node_modules/@types/resolve": {
@@ -158,9 +158,9 @@
}
},
"node_modules/@types/triple-beam": {
- "version": "1.3.3",
- "resolved": "https://registry.npmjs.org/@types/triple-beam/-/triple-beam-1.3.3.tgz",
- "integrity": "sha512-6tOUG+nVHn0cJbVp25JFayS5UE6+xlbcNF9Lo9mU7U0zk3zeUShZied4YEQZjy1JBF043FSkdXw8YkUJuVtB5g=="
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/@types/triple-beam/-/triple-beam-1.3.5.tgz",
+ "integrity": "sha512-6WaYesThRMCl19iryMYP7/x2OVgCtbIVflDGFpWnb9irXI3UjYE4AzmYuiUKY1AJstGijoY+MgUszMgRxIYTYw=="
},
"node_modules/@ungap/promise-all-settled": {
"version": "1.1.2",
@@ -269,9 +269,9 @@
"dev": true
},
"node_modules/async": {
- "version": "3.2.4",
- "resolved": "https://registry.npmjs.org/async/-/async-3.2.4.tgz",
- "integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ=="
+ "version": "3.2.5",
+ "resolved": "https://registry.npmjs.org/async/-/async-3.2.5.tgz",
+ "integrity": "sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg=="
},
"node_modules/asynckit": {
"version": "0.4.0",
@@ -428,20 +428,23 @@
}
},
"node_modules/browserify-sign": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.1.tgz",
- "integrity": "sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg==",
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.2.tgz",
+ "integrity": "sha512-1rudGyeYY42Dk6texmv7c4VcQ0EsvVbLwZkA+AQB7SxvXxmcD93jcHie8bzecJ+ChDlmAm2Qyu0+Ccg5uhZXCg==",
"dev": true,
"dependencies": {
- "bn.js": "^5.1.1",
- "browserify-rsa": "^4.0.1",
+ "bn.js": "^5.2.1",
+ "browserify-rsa": "^4.1.0",
"create-hash": "^1.2.0",
"create-hmac": "^1.1.7",
- "elliptic": "^6.5.3",
+ "elliptic": "^6.5.4",
"inherits": "^2.0.4",
- "parse-asn1": "^5.1.5",
- "readable-stream": "^3.6.0",
- "safe-buffer": "^5.2.0"
+ "parse-asn1": "^5.1.6",
+ "readable-stream": "^3.6.2",
+ "safe-buffer": "^5.2.1"
+ },
+ "engines": {
+ "node": ">= 4"
}
},
"node_modules/buffer-es6": {
@@ -1056,6 +1059,15 @@
"integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==",
"dev": true
},
+ "node_modules/function-bind": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
+ "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
+ "dev": true,
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"node_modules/fwd-stream": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/fwd-stream/-/fwd-stream-1.0.4.tgz",
@@ -1133,15 +1145,6 @@
"node": ">=4.x"
}
},
- "node_modules/has": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/has/-/has-1.0.4.tgz",
- "integrity": "sha512-qdSAmqLF6209RFj4VVItywPMbm3vWylknmB3nvNiUIs72xAimcM8nVYxYr7ncvZq5qzk9MKIZR8ijqD/1QuYjQ==",
- "dev": true,
- "engines": {
- "node": ">= 0.4.0"
- }
- },
"node_modules/has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
@@ -1175,6 +1178,18 @@
"minimalistic-assert": "^1.0.1"
}
},
+ "node_modules/hasown": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz",
+ "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==",
+ "dev": true,
+ "dependencies": {
+ "function-bind": "^1.1.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
"node_modules/he": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz",
@@ -1264,12 +1279,12 @@
}
},
"node_modules/is-core-module": {
- "version": "2.13.0",
- "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.0.tgz",
- "integrity": "sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ==",
+ "version": "2.13.1",
+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz",
+ "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==",
"dev": true,
"dependencies": {
- "has": "^1.0.3"
+ "hasown": "^2.0.0"
},
"funding": {
"url": "https://github.com/sponsors/ljharb"
@@ -1636,24 +1651,19 @@
}
},
"node_modules/logform": {
- "version": "2.5.1",
- "resolved": "https://registry.npmjs.org/logform/-/logform-2.5.1.tgz",
- "integrity": "sha512-9FyqAm9o9NKKfiAKfZoYo9bGXXuwMkxQiQttkT4YjjVtQVIQtK6LmVtlxmCaFswo6N4AfEkHqZTV0taDtPotNg==",
+ "version": "2.6.0",
+ "resolved": "https://registry.npmjs.org/logform/-/logform-2.6.0.tgz",
+ "integrity": "sha512-1ulHeNPp6k/LD8H91o7VYFBng5i1BDE7HoKxVbZiGFidS1Rj65qcywLxX+pVfAPoQJEjRdvKcusKwOupHCVOVQ==",
"dependencies": {
- "@colors/colors": "1.5.0",
+ "@colors/colors": "1.6.0",
"@types/triple-beam": "^1.3.2",
"fecha": "^4.2.0",
"ms": "^2.1.1",
"safe-stable-stringify": "^2.3.1",
"triple-beam": "^1.3.0"
- }
- },
- "node_modules/logform/node_modules/@colors/colors": {
- "version": "1.5.0",
- "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz",
- "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==",
+ },
"engines": {
- "node": ">=0.1.90"
+ "node": ">= 12.0.0"
}
},
"node_modules/ltgt": {
@@ -1868,9 +1878,9 @@
}
},
"node_modules/nise": {
- "version": "5.1.4",
- "resolved": "https://registry.npmjs.org/nise/-/nise-5.1.4.tgz",
- "integrity": "sha512-8+Ib8rRJ4L0o3kfmyVCL7gzrohyDe0cMFTBa2d364yIrEGMEoetznKJx899YxjybU6bL9SQkYPSBBs1gyYs8Xg==",
+ "version": "5.1.5",
+ "resolved": "https://registry.npmjs.org/nise/-/nise-5.1.5.tgz",
+ "integrity": "sha512-VJuPIfUFaXNRzETTQEEItTOP8Y171ijr+JLq42wHes3DiryR8vT+1TXQW/Rx8JNUhyYYWyIvjXTU6dOhJcs9Nw==",
"dev": true,
"dependencies": {
"@sinonjs/commons": "^2.0.0",
@@ -2334,6 +2344,7 @@
"version": "13.0.1",
"resolved": "https://registry.npmjs.org/sinon/-/sinon-13.0.1.tgz",
"integrity": "sha512-8yx2wIvkBjIq/MGY1D9h1LMraYW+z1X0mb648KZnKSdvLasvDu7maa0dFaNYdTDczFgbjNw2tOmWdTk9saVfwQ==",
+ "deprecated": "16.1.1",
"dev": true,
"dependencies": {
"@sinonjs/commons": "^1.8.3",
@@ -2501,9 +2512,9 @@
"dev": true
},
"node_modules/undici-types": {
- "version": "5.25.3",
- "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.25.3.tgz",
- "integrity": "sha512-Ga1jfYwRn7+cP9v8auvEXN1rX3sWqlayd4HP7OKk4mZWylEmu3KzXDUGrQUN6Ol7qo1gPvB2e5gX6udnyEPgdA==",
+ "version": "5.26.5",
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",
+ "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==",
"dev": true
},
"node_modules/util-deprecate": {
@@ -2554,16 +2565,16 @@
}
},
"node_modules/winston-transport": {
- "version": "4.5.0",
- "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.5.0.tgz",
- "integrity": "sha512-YpZzcUzBedhlTAfJg6vJDlyEai/IFMIVcaEZZyl3UXIl4gmqRpU7AE89AHLkbzLUsv0NVmw7ts+iztqKxxPW1Q==",
+ "version": "4.6.0",
+ "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.6.0.tgz",
+ "integrity": "sha512-wbBA9PbPAHxKiygo7ub7BYRiKxms0tpfU2ljtWzb3SjRjv5yl6Ozuy/TkXf00HTAt+Uylo3gSkNwzc4ME0wiIg==",
"dependencies": {
"logform": "^2.3.2",
"readable-stream": "^3.6.0",
"triple-beam": "^1.3.0"
},
"engines": {
- "node": ">= 6.4.0"
+ "node": ">= 12.0.0"
}
},
"node_modules/workerpool": {
diff --git a/build/node_modules/@types/node/README.md b/build/node_modules/@types/node/README.md
index 473443da..0a22e008 100644
--- a/build/node_modules/@types/node/README.md
+++ b/build/node_modules/@types/node/README.md
@@ -2,15 +2,14 @@
> `npm install --save @types/node`
# Summary
-This package contains type definitions for Node.js (https://nodejs.org/).
+This package contains type definitions for node (https://nodejs.org/).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
### Additional Details
- * Last updated: Mon, 09 Oct 2023 17:35:36 GMT
- * Dependencies: [@types/undici-types](https://npmjs.com/package/@types/undici-types)
- * Global values: `AbortController`, `AbortSignal`, `FormData`, `Headers`, `Request`, `Response`, `__dirname`, `__filename`, `console`, `exports`, `fetch`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
+ * Last updated: Thu, 07 Dec 2023 07:07:09 GMT
+ * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
# Credits
-These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), [wafuwafu13](https://github.com/wafuwafu13), [Matteo Collina](https://github.com/mcollina), and [Dmitry Semigradsky](https://github.com/Semigradsky).
+These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), [wafuwafu13](https://github.com/wafuwafu13), [Matteo Collina](https://github.com/mcollina), and [Dmitry Semigradsky](https://github.com/Semigradsky).
diff --git a/build/node_modules/@types/node/assert.d.ts b/build/node_modules/@types/node/assert.d.ts
index e237c56c..cd821433 100644
--- a/build/node_modules/@types/node/assert.d.ts
+++ b/build/node_modules/@types/node/assert.d.ts
@@ -45,7 +45,7 @@ declare module "assert" {
/** The `operator` property on the error instance. */
operator?: string | undefined;
/** If provided, the generated stack trace omits frames before this function. */
- // tslint:disable-next-line:ban-types
+ // eslint-disable-next-line @typescript-eslint/ban-types
stackStartFn?: Function | undefined;
});
}
@@ -228,7 +228,7 @@ declare module "assert" {
expected: unknown,
message?: string | Error,
operator?: string,
- // tslint:disable-next-line:ban-types
+ // eslint-disable-next-line @typescript-eslint/ban-types
stackStartFn?: Function,
): never;
/**
diff --git a/build/node_modules/@types/node/buffer.d.ts b/build/node_modules/@types/node/buffer.d.ts
index 7c6a001d..1ee5c013 100644
--- a/build/node_modules/@types/node/buffer.d.ts
+++ b/build/node_modules/@types/node/buffer.d.ts
@@ -223,7 +223,7 @@ declare module "buffer" {
import { Blob as NodeBlob } from "buffer";
// This conditional type will be the existing global Blob in a browser, or
// the copy below in a Node environment.
- type __Blob = typeof globalThis extends { onmessage: any; Blob: infer T } ? T : NodeBlob;
+ type __Blob = typeof globalThis extends { onmessage: any; Blob: any } ? {} : NodeBlob;
global {
namespace NodeJS {
export { BufferEncoding };
@@ -289,7 +289,7 @@ declare module "buffer" {
* @param array The octets to store.
* @deprecated since v10.0.0 - Use `Buffer.from(array)` instead.
*/
- new(array: ReadonlyArray): Buffer;
+ new(array: readonly any[]): Buffer;
/**
* Copies the passed {buffer} data onto a new {Buffer} instance.
*
@@ -327,8 +327,8 @@ declare module "buffer" {
* Creates a new Buffer using the passed {data}
* @param data data to create a new Buffer
*/
- from(data: Uint8Array | ReadonlyArray): Buffer;
- from(data: WithImplicitCoercion | string>): Buffer;
+ from(data: Uint8Array | readonly number[]): Buffer;
+ from(data: WithImplicitCoercion): Buffer;
/**
* Creates a new Buffer containing the given JavaScript string {str}.
* If provided, the {encoding} parameter identifies the character encoding.
@@ -456,7 +456,7 @@ declare module "buffer" {
* @param list List of `Buffer` or {@link Uint8Array} instances to concatenate.
* @param totalLength Total length of the `Buffer` instances in `list` when concatenated.
*/
- concat(list: ReadonlyArray, totalLength?: number): Buffer;
+ concat(list: readonly Uint8Array[], totalLength?: number): Buffer;
/**
* Copies the underlying memory of `view` into a new `Buffer`.
*
diff --git a/build/node_modules/@types/node/child_process.d.ts b/build/node_modules/@types/node/child_process.d.ts
index 9f1a38a7..a97532b4 100644
--- a/build/node_modules/@types/node/child_process.d.ts
+++ b/build/node_modules/@types/node/child_process.d.ts
@@ -833,50 +833,50 @@ declare module "child_process" {
// overloads of spawn with 'args'
function spawn(
command: string,
- args?: ReadonlyArray,
+ args?: readonly string[],
options?: SpawnOptionsWithoutStdio,
): ChildProcessWithoutNullStreams;
function spawn(
command: string,
- args: ReadonlyArray,
+ args: readonly string[],
options: SpawnOptionsWithStdioTuple,
): ChildProcessByStdio;
function spawn(
command: string,
- args: ReadonlyArray,
+ args: readonly string[],
options: SpawnOptionsWithStdioTuple,
): ChildProcessByStdio;
function spawn(
command: string,
- args: ReadonlyArray,
+ args: readonly string[],
options: SpawnOptionsWithStdioTuple,
): ChildProcessByStdio;
function spawn(
command: string,
- args: ReadonlyArray,
+ args: readonly string[],
options: SpawnOptionsWithStdioTuple,
): ChildProcessByStdio;
function spawn(
command: string,
- args: ReadonlyArray,
+ args: readonly string[],
options: SpawnOptionsWithStdioTuple,
): ChildProcessByStdio;
function spawn(
command: string,
- args: ReadonlyArray,
+ args: readonly string[],
options: SpawnOptionsWithStdioTuple,
): ChildProcessByStdio;
function spawn(
command: string,
- args: ReadonlyArray,
+ args: readonly string[],
options: SpawnOptionsWithStdioTuple,
): ChildProcessByStdio;
function spawn(
command: string,
- args: ReadonlyArray,
+ args: readonly string[],
options: SpawnOptionsWithStdioTuple,
): ChildProcessByStdio;
- function spawn(command: string, args: ReadonlyArray, options: SpawnOptions): ChildProcess;
+ function spawn(command: string, args: readonly string[], options: SpawnOptions): ChildProcess;
interface ExecOptions extends CommonOptions {
shell?: string | undefined;
signal?: AbortSignal | undefined;
@@ -1150,10 +1150,10 @@ declare module "child_process" {
file: string,
options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null,
): ChildProcess;
- function execFile(file: string, args?: ReadonlyArray | null): ChildProcess;
+ function execFile(file: string, args?: readonly string[] | null): ChildProcess;
function execFile(
file: string,
- args: ReadonlyArray | undefined | null,
+ args: readonly string[] | undefined | null,
options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null,
): ChildProcess;
// no `options` definitely means stdout/stderr are `string`.
@@ -1163,7 +1163,7 @@ declare module "child_process" {
): ChildProcess;
function execFile(
file: string,
- args: ReadonlyArray | undefined | null,
+ args: readonly string[] | undefined | null,
callback: (error: ExecFileException | null, stdout: string, stderr: string) => void,
): ChildProcess;
// `options` with `"buffer"` or `null` for `encoding` means stdout/stderr are definitely `Buffer`.
@@ -1174,7 +1174,7 @@ declare module "child_process" {
): ChildProcess;
function execFile(
file: string,
- args: ReadonlyArray | undefined | null,
+ args: readonly string[] | undefined | null,
options: ExecFileOptionsWithBufferEncoding,
callback: (error: ExecFileException | null, stdout: Buffer, stderr: Buffer) => void,
): ChildProcess;
@@ -1186,7 +1186,7 @@ declare module "child_process" {
): ChildProcess;
function execFile(
file: string,
- args: ReadonlyArray | undefined | null,
+ args: readonly string[] | undefined | null,
options: ExecFileOptionsWithStringEncoding,
callback: (error: ExecFileException | null, stdout: string, stderr: string) => void,
): ChildProcess;
@@ -1199,7 +1199,7 @@ declare module "child_process" {
): ChildProcess;
function execFile(
file: string,
- args: ReadonlyArray | undefined | null,
+ args: readonly string[] | undefined | null,
options: ExecFileOptionsWithOtherEncoding,
callback: (error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void,
): ChildProcess;
@@ -1211,7 +1211,7 @@ declare module "child_process" {
): ChildProcess;
function execFile(
file: string,
- args: ReadonlyArray | undefined | null,
+ args: readonly string[] | undefined | null,
options: ExecFileOptions,
callback: (error: ExecFileException | null, stdout: string, stderr: string) => void,
): ChildProcess;
@@ -1226,7 +1226,7 @@ declare module "child_process" {
): ChildProcess;
function execFile(
file: string,
- args: ReadonlyArray | undefined | null,
+ args: readonly string[] | undefined | null,
options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null,
callback:
| ((error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void)
@@ -1240,7 +1240,7 @@ declare module "child_process" {
}>;
function __promisify__(
file: string,
- args: ReadonlyArray | undefined | null,
+ args: readonly string[] | undefined | null,
): PromiseWithChild<{
stdout: string;
stderr: string;
@@ -1254,7 +1254,7 @@ declare module "child_process" {
}>;
function __promisify__(
file: string,
- args: ReadonlyArray | undefined | null,
+ args: readonly string[] | undefined | null,
options: ExecFileOptionsWithBufferEncoding,
): PromiseWithChild<{
stdout: Buffer;
@@ -1269,7 +1269,7 @@ declare module "child_process" {
}>;
function __promisify__(
file: string,
- args: ReadonlyArray | undefined | null,
+ args: readonly string[] | undefined | null,
options: ExecFileOptionsWithStringEncoding,
): PromiseWithChild<{
stdout: string;
@@ -1284,7 +1284,7 @@ declare module "child_process" {
}>;
function __promisify__(
file: string,
- args: ReadonlyArray | undefined | null,
+ args: readonly string[] | undefined | null,
options: ExecFileOptionsWithOtherEncoding,
): PromiseWithChild<{
stdout: string | Buffer;
@@ -1299,7 +1299,7 @@ declare module "child_process" {
}>;
function __promisify__(
file: string,
- args: ReadonlyArray | undefined | null,
+ args: readonly string[] | undefined | null,
options: ExecFileOptions,
): PromiseWithChild<{
stdout: string;
@@ -1314,7 +1314,7 @@ declare module "child_process" {
}>;
function __promisify__(
file: string,
- args: ReadonlyArray | undefined | null,
+ args: readonly string[] | undefined | null,
options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null,
): PromiseWithChild<{
stdout: string | Buffer;
@@ -1388,7 +1388,7 @@ declare module "child_process" {
* @param args List of string arguments.
*/
function fork(modulePath: string, options?: ForkOptions): ChildProcess;
- function fork(modulePath: string, args?: ReadonlyArray, options?: ForkOptions): ChildProcess;
+ function fork(modulePath: string, args?: readonly string[], options?: ForkOptions): ChildProcess;
interface SpawnSyncOptions extends CommonSpawnOptions {
input?: string | NodeJS.ArrayBufferView | undefined;
maxBuffer?: number | undefined;
@@ -1428,20 +1428,20 @@ declare module "child_process" {
function spawnSync(command: string, options: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns;
function spawnSync(command: string, options: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns;
function spawnSync(command: string, options?: SpawnSyncOptions): SpawnSyncReturns;
- function spawnSync(command: string, args: ReadonlyArray): SpawnSyncReturns;
+ function spawnSync(command: string, args: readonly string[]): SpawnSyncReturns;
function spawnSync(
command: string,
- args: ReadonlyArray,
+ args: readonly string[],
options: SpawnSyncOptionsWithStringEncoding,
): SpawnSyncReturns;
function spawnSync(
command: string,
- args: ReadonlyArray,
+ args: readonly string[],
options: SpawnSyncOptionsWithBufferEncoding,
): SpawnSyncReturns;
function spawnSync(
command: string,
- args?: ReadonlyArray,
+ args?: readonly string[],
options?: SpawnSyncOptions,
): SpawnSyncReturns;
interface CommonExecOptions extends CommonOptions {
@@ -1522,18 +1522,18 @@ declare module "child_process" {
function execFileSync(file: string, options: ExecFileSyncOptionsWithStringEncoding): string;
function execFileSync(file: string, options: ExecFileSyncOptionsWithBufferEncoding): Buffer;
function execFileSync(file: string, options?: ExecFileSyncOptions): string | Buffer;
- function execFileSync(file: string, args: ReadonlyArray): Buffer;
+ function execFileSync(file: string, args: readonly string[]): Buffer;
function execFileSync(
file: string,
- args: ReadonlyArray,
+ args: readonly string[],
options: ExecFileSyncOptionsWithStringEncoding,
): string;
function execFileSync(
file: string,
- args: ReadonlyArray,
+ args: readonly string[],
options: ExecFileSyncOptionsWithBufferEncoding,
): Buffer;
- function execFileSync(file: string, args?: ReadonlyArray, options?: ExecFileSyncOptions): string | Buffer;
+ function execFileSync(file: string, args?: readonly string[], options?: ExecFileSyncOptions): string | Buffer;
}
declare module "node:child_process" {
export * from "child_process";
diff --git a/build/node_modules/@types/node/console.d.ts b/build/node_modules/@types/node/console.d.ts
index 8ea5e17b..bcc34504 100644
--- a/build/node_modules/@types/node/console.d.ts
+++ b/build/node_modules/@types/node/console.d.ts
@@ -250,7 +250,7 @@ declare module "node:console" {
* @since v10.0.0
* @param properties Alternate properties for constructing the table.
*/
- table(tabularData: any, properties?: ReadonlyArray): void;
+ table(tabularData: any, properties?: readonly string[]): void;
/**
* Starts a timer that can be used to compute the duration of an operation. Timers
* are identified by a unique `label`. Use the same `label` when calling {@link timeEnd} to stop the timer and output the elapsed time in
diff --git a/build/node_modules/@types/node/crypto.d.ts b/build/node_modules/@types/node/crypto.d.ts
index bd04bf7b..2f2038e0 100644
--- a/build/node_modules/@types/node/crypto.d.ts
+++ b/build/node_modules/@types/node/crypto.d.ts
@@ -4208,7 +4208,7 @@ declare module "crypto" {
| HkdfParams
| Pbkdf2Params,
extractable: boolean,
- keyUsages: ReadonlyArray,
+ keyUsages: readonly KeyUsage[],
): Promise;
/**
* Using the method identified by `algorithm`, `subtle.digest()` attempts to generate a digest of `data`.
@@ -4288,12 +4288,12 @@ declare module "crypto" {
generateKey(
algorithm: RsaHashedKeyGenParams | EcKeyGenParams,
extractable: boolean,
- keyUsages: ReadonlyArray,
+ keyUsages: readonly KeyUsage[],
): Promise;
generateKey(
algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params,
extractable: boolean,
- keyUsages: ReadonlyArray,
+ keyUsages: readonly KeyUsage[],
): Promise;
generateKey(
algorithm: AlgorithmIdentifier,
@@ -4320,7 +4320,7 @@ declare module "crypto" {
| HmacImportParams
| AesKeyAlgorithm,
extractable: boolean,
- keyUsages: ReadonlyArray,
+ keyUsages: readonly KeyUsage[],
): Promise;
importKey(
format: Exclude,
diff --git a/build/node_modules/@types/node/dgram.d.ts b/build/node_modules/@types/node/dgram.d.ts
index 79cfcd45..692e547f 100644
--- a/build/node_modules/@types/node/dgram.d.ts
+++ b/build/node_modules/@types/node/dgram.d.ts
@@ -342,18 +342,18 @@ declare module "dgram" {
* @param callback Called when the message has been sent.
*/
send(
- msg: string | Uint8Array | ReadonlyArray,
+ msg: string | Uint8Array | readonly any[],
port?: number,
address?: string,
callback?: (error: Error | null, bytes: number) => void,
): void;
send(
- msg: string | Uint8Array | ReadonlyArray,
+ msg: string | Uint8Array | readonly any[],
port?: number,
callback?: (error: Error | null, bytes: number) => void,
): void;
send(
- msg: string | Uint8Array | ReadonlyArray,
+ msg: string | Uint8Array | readonly any[],
callback?: (error: Error | null, bytes: number) => void,
): void;
send(
@@ -501,7 +501,7 @@ declare module "dgram" {
* process active, allowing the process to exit even if the socket is still
* listening.
*
- * Calling `socket.unref()` multiple times will have no addition effect.
+ * Calling `socket.unref()` multiple times will have no additional effect.
*
* The `socket.unref()` method returns a reference to the socket so calls can be
* chained.
diff --git a/build/node_modules/@types/node/dns.d.ts b/build/node_modules/@types/node/dns.d.ts
index bef32b17..380cf7d7 100644
--- a/build/node_modules/@types/node/dns.d.ts
+++ b/build/node_modules/@types/node/dns.d.ts
@@ -661,7 +661,7 @@ declare module "dns" {
* @since v0.11.3
* @param servers array of `RFC 5952` formatted addresses
*/
- export function setServers(servers: ReadonlyArray): void;
+ export function setServers(servers: readonly string[]): void;
/**
* Returns an array of IP address strings, formatted according to [RFC 5952](https://tools.ietf.org/html/rfc5952#section-6),
* that are currently configured for DNS resolution. A string will include a port
diff --git a/build/node_modules/@types/node/dns/promises.d.ts b/build/node_modules/@types/node/dns/promises.d.ts
index 79d8b075..ef9b2228 100644
--- a/build/node_modules/@types/node/dns/promises.d.ts
+++ b/build/node_modules/@types/node/dns/promises.d.ts
@@ -307,6 +307,14 @@ declare module "dns/promises" {
* @since v10.6.0
*/
function reverse(ip: string): Promise;
+ /**
+ * Get the default value for `verbatim` in {@link lookup} and `dnsPromises.lookup()`. The value could be:
+ *
+ * * `ipv4first`: for `verbatim` defaulting to `false`.
+ * * `verbatim`: for `verbatim` defaulting to `true`.
+ * @since v20.1.0
+ */
+ function getDefaultResultOrder(): "ipv4first" | "verbatim";
/**
* Sets the IP address and port of servers to be used when performing DNS
* resolution. The `servers` argument is an array of [RFC 5952](https://tools.ietf.org/html/rfc5952#section-6) formatted
@@ -333,7 +341,7 @@ declare module "dns/promises" {
* @since v10.6.0
* @param servers array of `RFC 5952` formatted addresses
*/
- function setServers(servers: ReadonlyArray): void;
+ function setServers(servers: readonly string[]): void;
/**
* Set the default value of `verbatim` in `dns.lookup()` and `dnsPromises.lookup()`. The value could be:
*
diff --git a/build/node_modules/@types/node/events.d.ts b/build/node_modules/@types/node/events.d.ts
index 113410c7..6ed47c53 100644
--- a/build/node_modules/@types/node/events.d.ts
+++ b/build/node_modules/@types/node/events.d.ts
@@ -470,13 +470,41 @@ declare module "events" {
}
/**
- * Integrates `EventEmitter` with `AsyncResource` for `EventEmitter`s that require
- * manual async tracking. Specifically, all events emitted by instances of
- * `EventEmitterAsyncResource` will run within its async context.
+ * Integrates `EventEmitter` with `AsyncResource` for `EventEmitter`s that
+ * require manual async tracking. Specifically, all events emitted by instances
+ * of `events.EventEmitterAsyncResource` will run within its `async context`.
*
- * The EventEmitterAsyncResource class has the same methods and takes the
- * same options as EventEmitter and AsyncResource themselves.
- * @throws if `options.name` is not provided when instantiated directly.
+ * ```js
+ * import { EventEmitterAsyncResource, EventEmitter } from 'node:events';
+ * import { notStrictEqual, strictEqual } from 'node:assert';
+ * import { executionAsyncId, triggerAsyncId } from 'node:async_hooks';
+ *
+ * // Async tracking tooling will identify this as 'Q'.
+ * const ee1 = new EventEmitterAsyncResource({ name: 'Q' });
+ *
+ * // 'foo' listeners will run in the EventEmitters async context.
+ * ee1.on('foo', () => {
+ * strictEqual(executionAsyncId(), ee1.asyncId);
+ * strictEqual(triggerAsyncId(), ee1.triggerAsyncId);
+ * });
+ *
+ * const ee2 = new EventEmitter();
+ *
+ * // 'foo' listeners on ordinary EventEmitters that do not track async
+ * // context, however, run in the same async context as the emit().
+ * ee2.on('foo', () => {
+ * notStrictEqual(executionAsyncId(), ee2.asyncId);
+ * notStrictEqual(triggerAsyncId(), ee2.triggerAsyncId);
+ * });
+ *
+ * Promise.resolve().then(() => {
+ * ee1.emit('foo');
+ * ee2.emit('foo');
+ * });
+ * ```
+ *
+ * The `EventEmitterAsyncResource` class has the same methods and takes the
+ * same options as `EventEmitter` and `AsyncResource` themselves.
* @since v17.4.0, v16.14.0
*/
export class EventEmitterAsyncResource extends EventEmitter {
@@ -485,17 +513,24 @@ declare module "events" {
*/
constructor(options?: EventEmitterAsyncResourceOptions);
/**
- * Call all destroy hooks. This should only ever be called once. An
- * error will be thrown if it is called more than once. This must be
- * manually called. If the resource is left to be collected by the GC then
- * the destroy hooks will never be called.
+ * Call all `destroy` hooks. This should only ever be called once. An error will
+ * be thrown if it is called more than once. This **must** be manually called. If
+ * the resource is left to be collected by the GC then the `destroy` hooks will
+ * never be called.
*/
emitDestroy(): void;
- /** The unique asyncId assigned to the resource. */
+ /**
+ * The unique `asyncId` assigned to the resource.
+ */
readonly asyncId: number;
- /** The same triggerAsyncId that is passed to the AsyncResource constructor. */
+ /**
+ * The same triggerAsyncId that is passed to the AsyncResource constructor.
+ */
readonly triggerAsyncId: number;
- /** The underlying AsyncResource */
+ /**
+ * The returned `AsyncResource` object has an additional `eventEmitter` property
+ * that provides a reference to this `EventEmitterAsyncResource`.
+ */
readonly asyncResource: EventEmitterReferencingAsyncResource;
}
}
diff --git a/build/node_modules/@types/node/fs.d.ts b/build/node_modules/@types/node/fs.d.ts
index 3f5d9a1c..f98453a5 100644
--- a/build/node_modules/@types/node/fs.d.ts
+++ b/build/node_modules/@types/node/fs.d.ts
@@ -2861,6 +2861,7 @@ declare module "fs" {
& {
mode?: Mode | undefined;
flag?: string | undefined;
+ flush?: boolean | undefined;
}
)
| BufferEncoding
@@ -3813,6 +3814,7 @@ declare module "fs" {
}
interface WriteStreamOptions extends StreamOptions {
fs?: CreateWriteStreamFSImplementation | null | undefined;
+ flush?: boolean | undefined;
}
/**
* Unlike the 16 KiB default `highWaterMark` for a `stream.Readable`, the stream
@@ -4029,12 +4031,12 @@ declare module "fs" {
*/
export function writev(
fd: number,
- buffers: ReadonlyArray,
+ buffers: readonly NodeJS.ArrayBufferView[],
cb: (err: NodeJS.ErrnoException | null, bytesWritten: number, buffers: NodeJS.ArrayBufferView[]) => void,
): void;
export function writev(
fd: number,
- buffers: ReadonlyArray,
+ buffers: readonly NodeJS.ArrayBufferView[],
position: number,
cb: (err: NodeJS.ErrnoException | null, bytesWritten: number, buffers: NodeJS.ArrayBufferView[]) => void,
): void;
@@ -4045,7 +4047,7 @@ declare module "fs" {
export namespace writev {
function __promisify__(
fd: number,
- buffers: ReadonlyArray,
+ buffers: readonly NodeJS.ArrayBufferView[],
position?: number,
): Promise;
}
@@ -4056,7 +4058,7 @@ declare module "fs" {
* @param [position='null']
* @return The number of bytes written.
*/
- export function writevSync(fd: number, buffers: ReadonlyArray, position?: number): number;
+ export function writevSync(fd: number, buffers: readonly NodeJS.ArrayBufferView[], position?: number): number;
/**
* Read from a file specified by `fd` and write to an array of `ArrayBufferView`s
* using `readv()`.
@@ -4074,12 +4076,12 @@ declare module "fs" {
*/
export function readv(
fd: number,
- buffers: ReadonlyArray,
+ buffers: readonly NodeJS.ArrayBufferView[],
cb: (err: NodeJS.ErrnoException | null, bytesRead: number, buffers: NodeJS.ArrayBufferView[]) => void,
): void;
export function readv(
fd: number,
- buffers: ReadonlyArray,
+ buffers: readonly NodeJS.ArrayBufferView[],
position: number,
cb: (err: NodeJS.ErrnoException | null, bytesRead: number, buffers: NodeJS.ArrayBufferView[]) => void,
): void;
@@ -4090,7 +4092,7 @@ declare module "fs" {
export namespace readv {
function __promisify__(
fd: number,
- buffers: ReadonlyArray,
+ buffers: readonly NodeJS.ArrayBufferView[],
position?: number,
): Promise;
}
@@ -4101,7 +4103,7 @@ declare module "fs" {
* @param [position='null']
* @return The number of bytes read.
*/
- export function readvSync(fd: number, buffers: ReadonlyArray, position?: number): number;
+ export function readvSync(fd: number, buffers: readonly NodeJS.ArrayBufferView[], position?: number): number;
export interface OpenAsBlobOptions {
/**
diff --git a/build/node_modules/@types/node/fs/promises.d.ts b/build/node_modules/@types/node/fs/promises.d.ts
index 084ee6ef..88a9fc33 100644
--- a/build/node_modules/@types/node/fs/promises.d.ts
+++ b/build/node_modules/@types/node/fs/promises.d.ts
@@ -82,6 +82,7 @@ declare module "fs/promises" {
emitClose?: boolean | undefined;
start?: number | undefined;
highWaterMark?: number | undefined;
+ flush?: boolean | undefined;
}
interface ReadableWebStreamOptions {
/**
@@ -107,7 +108,10 @@ declare module "fs/promises" {
*/
appendFile(
data: string | Uint8Array,
- options?: (ObjectEncodingOptions & FlagAndOpenMode) | BufferEncoding | null,
+ options?:
+ | (ObjectEncodingOptions & FlagAndOpenMode & { flush?: boolean | undefined })
+ | BufferEncoding
+ | null,
): Promise;
/**
* Changes the ownership of the file. A wrapper for [`chown(2)`](http://man7.org/linux/man-pages/man2/chown.2.html).
@@ -366,7 +370,7 @@ declare module "fs/promises" {
*/
truncate(len?: number): Promise;
/**
- * Change the file system timestamps of the object referenced by the `FileHandle` then resolves the promise with no arguments upon success.
+ * Change the file system timestamps of the object referenced by the `FileHandle` then fulfills the promise with no arguments upon success.
* @since v10.0.0
*/
utimes(atime: TimeLike, mtime: TimeLike): Promise;
@@ -374,14 +378,14 @@ declare module "fs/promises" {
* Asynchronously writes data to a file, replacing the file if it already exists.`data` can be a string, a buffer, an
* [AsyncIterable](https://tc39.github.io/ecma262/#sec-asynciterable-interface), or an
* [Iterable](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#The_iterable_protocol) object.
- * The promise is resolved with no arguments upon success.
+ * The promise is fulfilled with no arguments upon success.
*
* If `options` is a string, then it specifies the `encoding`.
*
* The `FileHandle` has to support writing.
*
* It is unsafe to use `filehandle.writeFile()` multiple times on the same file
- * without waiting for the promise to be resolved (or rejected).
+ * without waiting for the promise to be fulfilled (or rejected).
*
* If one or more `filehandle.write()` calls are made on a file handle and then a`filehandle.writeFile()` call is made, the data will be written from the
* current position till the end of the file. It doesn't always write from the
@@ -390,15 +394,18 @@ declare module "fs/promises" {
*/
writeFile(
data: string | Uint8Array,
- options?: (ObjectEncodingOptions & FlagAndOpenMode & Abortable) | BufferEncoding | null,
+ options?:
+ | (ObjectEncodingOptions & FlagAndOpenMode & Abortable & { flush?: boolean | undefined })
+ | BufferEncoding
+ | null,
): Promise;
/**
* Write `buffer` to the file.
*
- * The promise is resolved with an object containing two properties:
+ * The promise is fulfilled with an object containing two properties:
*
* It is unsafe to use `filehandle.write()` multiple times on the same file
- * without waiting for the promise to be resolved (or rejected). For this
+ * without waiting for the promise to be fulfilled (or rejected). For this
* scenario, use `filehandle.createWriteStream()`.
*
* On Linux, positional writes do not work when the file is opened in append mode.
@@ -430,10 +437,10 @@ declare module "fs/promises" {
/**
* Write an array of [ArrayBufferView](https://developer.mozilla.org/en-US/docs/Web/API/ArrayBufferView) s to the file.
*
- * The promise is resolved with an object containing a two properties:
+ * The promise is fulfilled with an object containing a two properties:
*
* It is unsafe to call `writev()` multiple times on the same file without waiting
- * for the promise to be resolved (or rejected).
+ * for the promise to be fulfilled (or rejected).
*
* On Linux, positional writes don't work when the file is opened in append mode.
* The kernel ignores the position argument and always appends the data to
@@ -442,14 +449,14 @@ declare module "fs/promises" {
* @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
* position.
*/
- writev(buffers: ReadonlyArray, position?: number): Promise;
+ writev(buffers: readonly NodeJS.ArrayBufferView[], position?: number): Promise;
/**
* Read from a file and write to an array of [ArrayBufferView](https://developer.mozilla.org/en-US/docs/Web/API/ArrayBufferView) s
* @since v13.13.0, v12.17.0
* @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.
* @return Fulfills upon success an object containing two properties:
*/
- readv(buffers: ReadonlyArray, position?: number): Promise;
+ readv(buffers: readonly NodeJS.ArrayBufferView[], position?: number): Promise;
/**
* Closes the file handle after waiting for any pending operation on the handle to
* complete.
@@ -482,7 +489,7 @@ declare module "fs/promises" {
* (e.g.`fs.constants.W_OK | fs.constants.R_OK`). Check `File access constants` for
* possible values of `mode`.
*
- * If the accessibility check is successful, the promise is resolved with no
+ * If the accessibility check is successful, the promise is fulfilled with no
* value. If any of the accessibility checks fail, the promise is rejected
* with an [Error](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error) object. The following example checks if the file`/etc/passwd` can be read and
* written by the current process.
@@ -645,7 +652,7 @@ declare module "fs/promises" {
* the filenames. If the `encoding` is set to `'buffer'`, the filenames returned
* will be passed as `Buffer` objects.
*
- * If `options.withFileTypes` is set to `true`, the resolved array will contain `fs.Dirent` objects.
+ * If `options.withFileTypes` is set to `true`, the returned array will contain `fs.Dirent` objects.
*
* ```js
* import { readdir } from 'node:fs/promises';
@@ -715,7 +722,7 @@ declare module "fs/promises" {
): Promise;
/**
* Reads the contents of the symbolic link referred to by `path`. See the POSIX [`readlink(2)`](http://man7.org/linux/man-pages/man2/readlink.2.html) documentation for more detail. The promise is
- * resolved with the`linkString` upon success.
+ * fulfilled with the`linkString` upon success.
*
* The optional `options` argument can be a string specifying an encoding, or an
* object with an `encoding` property specifying the character encoding to use for
@@ -1022,7 +1029,7 @@ declare module "fs/promises" {
function appendFile(
path: PathLike | FileHandle,
data: string | Uint8Array,
- options?: (ObjectEncodingOptions & FlagAndOpenMode) | BufferEncoding | null,
+ options?: (ObjectEncodingOptions & FlagAndOpenMode & { flush?: boolean | undefined }) | BufferEncoding | null,
): Promise;
/**
* Asynchronously reads the entire contents of a file.
diff --git a/build/node_modules/@types/node/globals.d.ts b/build/node_modules/@types/node/globals.d.ts
index 3a449e4c..72d1860f 100644
--- a/build/node_modules/@types/node/globals.d.ts
+++ b/build/node_modules/@types/node/globals.d.ts
@@ -1,381 +1,385 @@
-// Declare "static" methods in Error
-interface ErrorConstructor {
- /** Create .stack property on a target object */
- captureStackTrace(targetObject: object, constructorOpt?: Function): void;
+export {}; // Make this a module
+
+// #region Fetch and friends
+// Conditional type aliases, used at the end of this file.
+// Will either be empty if lib-dom is included, or the undici version otherwise.
+type _Request = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Request;
+type _Response = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Response;
+type _FormData = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").FormData;
+type _Headers = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Headers;
+type _RequestInit = typeof globalThis extends { onmessage: any } ? {}
+ : import("undici-types").RequestInit;
+type _ResponseInit = typeof globalThis extends { onmessage: any } ? {}
+ : import("undici-types").ResponseInit;
+type _File = typeof globalThis extends { onmessage: any } ? {} : import("node:buffer").File;
+// #endregion Fetch and friends
+
+declare global {
+ // Declare "static" methods in Error
+ interface ErrorConstructor {
+ /** Create .stack property on a target object */
+ captureStackTrace(targetObject: object, constructorOpt?: Function): void;
- /**
- * Optional override for formatting stack traces
- *
- * @see https://v8.dev/docs/stack-trace-api#customizing-stack-traces
- */
- prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
-
- stackTraceLimit: number;
-}
-
-/*-----------------------------------------------*
- * *
- * GLOBAL *
- * *
- ------------------------------------------------*/
-
-// For backwards compability
-interface NodeRequire extends NodeJS.Require {}
-interface RequireResolve extends NodeJS.RequireResolve {}
-interface NodeModule extends NodeJS.Module {}
-
-declare var process: NodeJS.Process;
-declare var console: Console;
-
-declare var __filename: string;
-declare var __dirname: string;
-
-declare var require: NodeRequire;
-declare var module: NodeModule;
-
-// Same as module.exports
-declare var exports: any;
-
-/**
- * Only available if `--expose-gc` is passed to the process.
- */
-declare var gc: undefined | (() => void);
+ /**
+ * Optional override for formatting stack traces
+ *
+ * @see https://v8.dev/docs/stack-trace-api#customizing-stack-traces
+ */
+ prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
-// #region borrowed
-// from https://github.com/microsoft/TypeScript/blob/38da7c600c83e7b31193a62495239a0fe478cb67/lib/lib.webworker.d.ts#L633 until moved to separate lib
-/** A controller object that allows you to abort one or more DOM requests as and when desired. */
-interface AbortController {
- /**
- * Returns the AbortSignal object associated with this object.
- */
+ stackTraceLimit: number;
+ }
- readonly signal: AbortSignal;
- /**
- * Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted.
- */
- abort(reason?: any): void;
-}
+ /*-----------------------------------------------*
+ * *
+ * GLOBAL *
+ * *
+ ------------------------------------------------*/
-/** A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object. */
-interface AbortSignal extends EventTarget {
- /**
- * Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise.
- */
- readonly aborted: boolean;
- readonly reason: any;
- onabort: null | ((this: AbortSignal, event: Event) => any);
- throwIfAborted(): void;
-}
+ // For backwards compability
+ interface NodeRequire extends NodeJS.Require {}
+ interface RequireResolve extends NodeJS.RequireResolve {}
+ interface NodeModule extends NodeJS.Module {}
-declare var AbortController: typeof globalThis extends { onmessage: any; AbortController: infer T } ? T
- : {
- prototype: AbortController;
- new(): AbortController;
- };
-
-declare var AbortSignal: typeof globalThis extends { onmessage: any; AbortSignal: infer T } ? T
- : {
- prototype: AbortSignal;
- new(): AbortSignal;
- abort(reason?: any): AbortSignal;
- timeout(milliseconds: number): AbortSignal;
- };
-// #endregion borrowed
-
-// #region Disposable
-interface SymbolConstructor {
- /**
- * A method that is used to release resources held by an object. Called by the semantics of the `using` statement.
- */
- readonly dispose: unique symbol;
+ var process: NodeJS.Process;
+ var console: Console;
- /**
- * A method that is used to asynchronously release resources held by an object. Called by the semantics of the `await using` statement.
- */
- readonly asyncDispose: unique symbol;
-}
+ var __filename: string;
+ var __dirname: string;
-interface Disposable {
- [Symbol.dispose](): void;
-}
+ var require: NodeRequire;
+ var module: NodeModule;
-interface AsyncDisposable {
- [Symbol.asyncDispose](): PromiseLike;
-}
-// #endregion Disposable
+ // Same as module.exports
+ var exports: any;
-// #region ArrayLike.at()
-interface RelativeIndexable {
/**
- * Takes an integer value and returns the item at that index,
- * allowing for positive and negative integers.
- * Negative integers count back from the last item in the array.
+ * Only available if `--expose-gc` is passed to the process.
*/
- at(index: number): T | undefined;
-}
-interface String extends RelativeIndexable {}
-interface Array extends RelativeIndexable {}
-interface ReadonlyArray extends RelativeIndexable {}
-interface Int8Array extends RelativeIndexable {}
-interface Uint8Array extends RelativeIndexable {}
-interface Uint8ClampedArray extends RelativeIndexable {}
-interface Int16Array extends RelativeIndexable {}
-interface Uint16Array extends RelativeIndexable {}
-interface Int32Array extends RelativeIndexable {}
-interface Uint32Array extends RelativeIndexable {}
-interface Float32Array extends RelativeIndexable {}
-interface Float64Array extends RelativeIndexable {}
-interface BigInt64Array extends RelativeIndexable {}
-interface BigUint64Array extends RelativeIndexable {}
-// #endregion ArrayLike.at() end
-
-/**
- * @since v17.0.0
- *
- * Creates a deep clone of an object.
- */
-declare function structuredClone(
- value: T,
- transfer?: { transfer: ReadonlyArray },
-): T;
-
-/*----------------------------------------------*
-* *
-* GLOBAL INTERFACES *
-* *
-*-----------------------------------------------*/
-declare namespace NodeJS {
- interface CallSite {
- /**
- * Value of "this"
- */
- getThis(): unknown;
-
- /**
- * Type of "this" as a string.
- * This is the name of the function stored in the constructor field of
- * "this", if available. Otherwise the object's [[Class]] internal
- * property.
- */
- getTypeName(): string | null;
-
- /**
- * Current function
- */
- getFunction(): Function | undefined;
+ var gc: undefined | (() => void);
+ // #region borrowed
+ // from https://github.com/microsoft/TypeScript/blob/38da7c600c83e7b31193a62495239a0fe478cb67/lib/lib.webworker.d.ts#L633 until moved to separate lib
+ /** A controller object that allows you to abort one or more DOM requests as and when desired. */
+ interface AbortController {
/**
- * Name of the current function, typically its name property.
- * If a name property is not available an attempt will be made to try
- * to infer a name from the function's context.
+ * Returns the AbortSignal object associated with this object.
*/
- getFunctionName(): string | null;
+ readonly signal: AbortSignal;
/**
- * Name of the property [of "this" or one of its prototypes] that holds
- * the current function
+ * Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted.
*/
- getMethodName(): string | null;
-
- /**
- * Name of the script [if this function was defined in a script]
- */
- getFileName(): string | undefined;
-
- /**
- * Current line number [if this function was defined in a script]
- */
- getLineNumber(): number | null;
-
- /**
- * Current column number [if this function was defined in a script]
- */
- getColumnNumber(): number | null;
-
- /**
- * A call site object representing the location where eval was called
- * [if this function was created using a call to eval]
- */
- getEvalOrigin(): string | undefined;
-
- /**
- * Is this a toplevel invocation, that is, is "this" the global object?
- */
- isToplevel(): boolean;
+ abort(reason?: any): void;
+ }
+ /** A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object. */
+ interface AbortSignal extends EventTarget {
/**
- * Does this call take place in code defined by a call to eval?
+ * Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise.
*/
- isEval(): boolean;
+ readonly aborted: boolean;
+ readonly reason: any;
+ onabort: null | ((this: AbortSignal, event: Event) => any);
+ throwIfAborted(): void;
+ }
+ var AbortController: typeof globalThis extends { onmessage: any; AbortController: infer T } ? T
+ : {
+ prototype: AbortController;
+ new(): AbortController;
+ };
+
+ var AbortSignal: typeof globalThis extends { onmessage: any; AbortSignal: infer T } ? T
+ : {
+ prototype: AbortSignal;
+ new(): AbortSignal;
+ abort(reason?: any): AbortSignal;
+ timeout(milliseconds: number): AbortSignal;
+ };
+ // #endregion borrowed
+
+ // #region Disposable
+ interface SymbolConstructor {
/**
- * Is this call in native V8 code?
+ * A method that is used to release resources held by an object. Called by the semantics of the `using` statement.
*/
- isNative(): boolean;
+ readonly dispose: unique symbol;
/**
- * Is this a constructor call?
+ * A method that is used to asynchronously release resources held by an object. Called by the semantics of the `await using` statement.
*/
- isConstructor(): boolean;
+ readonly asyncDispose: unique symbol;
}
- interface ErrnoException extends Error {
- errno?: number | undefined;
- code?: string | undefined;
- path?: string | undefined;
- syscall?: string | undefined;
+ interface Disposable {
+ [Symbol.dispose](): void;
}
- interface ReadableStream extends EventEmitter {
- readable: boolean;
- read(size?: number): string | Buffer;
- setEncoding(encoding: BufferEncoding): this;
- pause(): this;
- resume(): this;
- isPaused(): boolean;
- pipe(destination: T, options?: { end?: boolean | undefined }): T;
- unpipe(destination?: WritableStream): this;
- unshift(chunk: string | Uint8Array, encoding?: BufferEncoding): void;
- wrap(oldStream: ReadableStream): this;
- [Symbol.asyncIterator](): AsyncIterableIterator;
+ interface AsyncDisposable {
+ [Symbol.asyncDispose](): PromiseLike;
}
+ // #endregion Disposable
- interface WritableStream extends EventEmitter {
- writable: boolean;
- write(buffer: Uint8Array | string, cb?: (err?: Error | null) => void): boolean;
- write(str: string, encoding?: BufferEncoding, cb?: (err?: Error | null) => void): boolean;
- end(cb?: () => void): this;
- end(data: string | Uint8Array, cb?: () => void): this;
- end(str: string, encoding?: BufferEncoding, cb?: () => void): this;
- }
-
- interface ReadWriteStream extends ReadableStream, WritableStream {}
-
- interface RefCounted {
- ref(): this;
- unref(): this;
- }
-
- type TypedArray =
- | Uint8Array
- | Uint8ClampedArray
- | Uint16Array
- | Uint32Array
- | Int8Array
- | Int16Array
- | Int32Array
- | BigUint64Array
- | BigInt64Array
- | Float32Array
- | Float64Array;
- type ArrayBufferView = TypedArray | DataView;
-
- interface Require {
- (id: string): any;
- resolve: RequireResolve;
- cache: Dict;
+ // #region ArrayLike.at()
+ interface RelativeIndexable {
/**
- * @deprecated
+ * Takes an integer value and returns the item at that index,
+ * allowing for positive and negative integers.
+ * Negative integers count back from the last item in the array.
*/
- extensions: RequireExtensions;
- main: Module | undefined;
+ at(index: number): T | undefined;
}
+ interface String extends RelativeIndexable {}
+ interface Array extends RelativeIndexable {}
+ interface ReadonlyArray extends RelativeIndexable {}
+ interface Int8Array extends RelativeIndexable {}
+ interface Uint8Array extends RelativeIndexable {}
+ interface Uint8ClampedArray extends RelativeIndexable {}
+ interface Int16Array extends RelativeIndexable {}
+ interface Uint16Array extends RelativeIndexable {}
+ interface Int32Array extends RelativeIndexable {}
+ interface Uint32Array extends RelativeIndexable {}
+ interface Float32Array extends RelativeIndexable {}
+ interface Float64Array extends RelativeIndexable {}
+ interface BigInt64Array extends RelativeIndexable {}
+ interface BigUint64Array extends RelativeIndexable {}
+ // #endregion ArrayLike.at() end
- interface RequireResolve {
- (id: string, options?: { paths?: string[] | undefined }): string;
- paths(request: string): string[] | null;
- }
-
- interface RequireExtensions extends Dict<(m: Module, filename: string) => any> {
- ".js": (m: Module, filename: string) => any;
- ".json": (m: Module, filename: string) => any;
- ".node": (m: Module, filename: string) => any;
- }
- interface Module {
- /**
- * `true` if the module is running during the Node.js preload
- */
- isPreloading: boolean;
- exports: any;
- require: Require;
- id: string;
- filename: string;
- loaded: boolean;
- /** @deprecated since v14.6.0 Please use `require.main` and `module.children` instead. */
- parent: Module | null | undefined;
- children: Module[];
- /**
- * @since v11.14.0
- *
- * The directory name of the module. This is usually the same as the path.dirname() of the module.id.
- */
- path: string;
- paths: string[];
- }
-
- interface Dict {
- [key: string]: T | undefined;
- }
-
- interface ReadOnlyDict {
- readonly [key: string]: T | undefined;
+ /**
+ * @since v17.0.0
+ *
+ * Creates a deep clone of an object.
+ */
+ function structuredClone(
+ value: T,
+ transfer?: { transfer: ReadonlyArray },
+ ): T;
+
+ /*----------------------------------------------*
+ * *
+ * GLOBAL INTERFACES *
+ * *
+ *-----------------------------------------------*/
+ namespace NodeJS {
+ interface CallSite {
+ /**
+ * Value of "this"
+ */
+ getThis(): unknown;
+
+ /**
+ * Type of "this" as a string.
+ * This is the name of the function stored in the constructor field of
+ * "this", if available. Otherwise the object's [[Class]] internal
+ * property.
+ */
+ getTypeName(): string | null;
+
+ /**
+ * Current function
+ */
+ getFunction(): Function | undefined;
+
+ /**
+ * Name of the current function, typically its name property.
+ * If a name property is not available an attempt will be made to try
+ * to infer a name from the function's context.
+ */
+ getFunctionName(): string | null;
+
+ /**
+ * Name of the property [of "this" or one of its prototypes] that holds
+ * the current function
+ */
+ getMethodName(): string | null;
+
+ /**
+ * Name of the script [if this function was defined in a script]
+ */
+ getFileName(): string | undefined;
+
+ /**
+ * Current line number [if this function was defined in a script]
+ */
+ getLineNumber(): number | null;
+
+ /**
+ * Current column number [if this function was defined in a script]
+ */
+ getColumnNumber(): number | null;
+
+ /**
+ * A call site object representing the location where eval was called
+ * [if this function was created using a call to eval]
+ */
+ getEvalOrigin(): string | undefined;
+
+ /**
+ * Is this a toplevel invocation, that is, is "this" the global object?
+ */
+ isToplevel(): boolean;
+
+ /**
+ * Does this call take place in code defined by a call to eval?
+ */
+ isEval(): boolean;
+
+ /**
+ * Is this call in native V8 code?
+ */
+ isNative(): boolean;
+
+ /**
+ * Is this a constructor call?
+ */
+ isConstructor(): boolean;
+ }
+
+ interface ErrnoException extends Error {
+ errno?: number | undefined;
+ code?: string | undefined;
+ path?: string | undefined;
+ syscall?: string | undefined;
+ }
+
+ interface ReadableStream extends EventEmitter {
+ readable: boolean;
+ read(size?: number): string | Buffer;
+ setEncoding(encoding: BufferEncoding): this;
+ pause(): this;
+ resume(): this;
+ isPaused(): boolean;
+ pipe(destination: T, options?: { end?: boolean | undefined }): T;
+ unpipe(destination?: WritableStream): this;
+ unshift(chunk: string | Uint8Array, encoding?: BufferEncoding): void;
+ wrap(oldStream: ReadableStream): this;
+ [Symbol.asyncIterator](): AsyncIterableIterator;
+ }
+
+ interface WritableStream extends EventEmitter {
+ writable: boolean;
+ write(buffer: Uint8Array | string, cb?: (err?: Error | null) => void): boolean;
+ write(str: string, encoding?: BufferEncoding, cb?: (err?: Error | null) => void): boolean;
+ end(cb?: () => void): this;
+ end(data: string | Uint8Array, cb?: () => void): this;
+ end(str: string, encoding?: BufferEncoding, cb?: () => void): this;
+ }
+
+ interface ReadWriteStream extends ReadableStream, WritableStream {}
+
+ interface RefCounted {
+ ref(): this;
+ unref(): this;
+ }
+
+ type TypedArray =
+ | Uint8Array
+ | Uint8ClampedArray
+ | Uint16Array
+ | Uint32Array
+ | Int8Array
+ | Int16Array
+ | Int32Array
+ | BigUint64Array
+ | BigInt64Array
+ | Float32Array
+ | Float64Array;
+ type ArrayBufferView = TypedArray | DataView;
+
+ interface Require {
+ (id: string): any;
+ resolve: RequireResolve;
+ cache: Dict;
+ /**
+ * @deprecated
+ */
+ extensions: RequireExtensions;
+ main: Module | undefined;
+ }
+
+ interface RequireResolve {
+ (id: string, options?: { paths?: string[] | undefined }): string;
+ paths(request: string): string[] | null;
+ }
+
+ interface RequireExtensions extends Dict<(m: Module, filename: string) => any> {
+ ".js": (m: Module, filename: string) => any;
+ ".json": (m: Module, filename: string) => any;
+ ".node": (m: Module, filename: string) => any;
+ }
+ interface Module {
+ /**
+ * `true` if the module is running during the Node.js preload
+ */
+ isPreloading: boolean;
+ exports: any;
+ require: Require;
+ id: string;
+ filename: string;
+ loaded: boolean;
+ /** @deprecated since v14.6.0 Please use `require.main` and `module.children` instead. */
+ parent: Module | null | undefined;
+ children: Module[];
+ /**
+ * @since v11.14.0
+ *
+ * The directory name of the module. This is usually the same as the path.dirname() of the module.id.
+ */
+ path: string;
+ paths: string[];
+ }
+
+ interface Dict {
+ [key: string]: T | undefined;
+ }
+
+ interface ReadOnlyDict {
+ readonly [key: string]: T | undefined;
+ }
}
- namespace fetch {
- type _Request = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Request;
- type _Response = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Response;
- type _FormData = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").FormData;
- type _Headers = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Headers;
- type _RequestInit = typeof globalThis extends { onmessage: any } ? {}
- : import("undici-types").RequestInit;
- type Request = globalThis.Request;
- type Response = globalThis.Response;
- type Headers = globalThis.Headers;
- type FormData = globalThis.FormData;
- type RequestInit = globalThis.RequestInit;
- type RequestInfo = import("undici-types").RequestInfo;
- type HeadersInit = import("undici-types").HeadersInit;
- type BodyInit = import("undici-types").BodyInit;
- type RequestRedirect = import("undici-types").RequestRedirect;
- type RequestCredentials = import("undici-types").RequestCredentials;
- type RequestMode = import("undici-types").RequestMode;
- type ReferrerPolicy = import("undici-types").ReferrerPolicy;
- type Dispatcher = import("undici-types").Dispatcher;
- type RequestDuplex = import("undici-types").RequestDuplex;
- }
+ interface RequestInit extends _RequestInit {}
+
+ function fetch(
+ input: string | URL | globalThis.Request,
+ init?: RequestInit,
+ ): Promise;
+
+ interface Request extends _Request {}
+ var Request: typeof globalThis extends {
+ onmessage: any;
+ Request: infer T;
+ } ? T
+ : typeof import("undici-types").Request;
+
+ interface ResponseInit extends _ResponseInit {}
+
+ interface Response extends _Response {}
+ var Response: typeof globalThis extends {
+ onmessage: any;
+ Response: infer T;
+ } ? T
+ : typeof import("undici-types").Response;
+
+ interface FormData extends _FormData {}
+ var FormData: typeof globalThis extends {
+ onmessage: any;
+ FormData: infer T;
+ } ? T
+ : typeof import("undici-types").FormData;
+
+ interface Headers extends _Headers {}
+ var Headers: typeof globalThis extends {
+ onmessage: any;
+ Headers: infer T;
+ } ? T
+ : typeof import("undici-types").Headers;
+
+ interface File extends _File {}
+ var File: typeof globalThis extends {
+ onmessage: any;
+ File: infer T;
+ } ? T
+ : typeof import("node:buffer").File;
}
-
-interface RequestInit extends NodeJS.fetch._RequestInit {}
-
-declare function fetch(
- input: NodeJS.fetch.RequestInfo,
- init?: RequestInit,
-): Promise;
-
-interface Request extends NodeJS.fetch._Request {}
-declare var Request: typeof globalThis extends {
- onmessage: any;
- Request: infer T;
-} ? T
- : typeof import("undici-types").Request;
-
-interface Response extends NodeJS.fetch._Response {}
-declare var Response: typeof globalThis extends {
- onmessage: any;
- Response: infer T;
-} ? T
- : typeof import("undici-types").Response;
-
-interface FormData extends NodeJS.fetch._FormData {}
-declare var FormData: typeof globalThis extends {
- onmessage: any;
- FormData: infer T;
-} ? T
- : typeof import("undici-types").FormData;
-
-interface Headers extends NodeJS.fetch._Headers {}
-declare var Headers: typeof globalThis extends {
- onmessage: any;
- Headers: infer T;
-} ? T
- : typeof import("undici-types").Headers;
diff --git a/build/node_modules/@types/node/http.d.ts b/build/node_modules/@types/node/http.d.ts
index b06f5419..9b2c3c2c 100644
--- a/build/node_modules/@types/node/http.d.ts
+++ b/build/node_modules/@types/node/http.d.ts
@@ -586,7 +586,7 @@ declare module "http" {
* @param name Header name
* @param value Header value
*/
- setHeader(name: string, value: number | string | ReadonlyArray): this;
+ setHeader(name: string, value: number | string | readonly string[]): this;
/**
* Append a single header value for the header object.
*
@@ -602,7 +602,7 @@ declare module "http" {
* @param name Header name
* @param value Header value
*/
- appendHeader(name: string, value: string | ReadonlyArray): this;
+ appendHeader(name: string, value: string | readonly string[]): this;
/**
* Gets the value of the HTTP header with the given name. If that header is not
* set, the returned value will be `undefined`.
diff --git a/build/node_modules/@types/node/http2.d.ts b/build/node_modules/@types/node/http2.d.ts
index 7f0dd575..c3b3e8ec 100644
--- a/build/node_modules/@types/node/http2.d.ts
+++ b/build/node_modules/@types/node/http2.d.ts
@@ -55,6 +55,7 @@ declare module "http2" {
length: number;
}
export interface ServerStreamFileResponseOptions {
+ // eslint-disable-next-line @typescript-eslint/no-invalid-void-type
statCheck?(stats: fs.Stats, headers: OutgoingHttpHeaders, statOptions: StatOptions): void | boolean;
waitForTrailers?: boolean | undefined;
offset?: number | undefined;
@@ -849,7 +850,7 @@ declare module "http2" {
): this;
addListener(
event: "goaway",
- listener: (errorCode: number, lastStreamID: number, opaqueData: Buffer) => void,
+ listener: (errorCode: number, lastStreamID: number, opaqueData?: Buffer) => void,
): this;
addListener(event: "localSettings", listener: (settings: Settings) => void): this;
addListener(event: "ping", listener: () => void): this;
@@ -859,7 +860,7 @@ declare module "http2" {
emit(event: "close"): boolean;
emit(event: "error", err: Error): boolean;
emit(event: "frameError", frameType: number, errorCode: number, streamID: number): boolean;
- emit(event: "goaway", errorCode: number, lastStreamID: number, opaqueData: Buffer): boolean;
+ emit(event: "goaway", errorCode: number, lastStreamID: number, opaqueData?: Buffer): boolean;
emit(event: "localSettings", settings: Settings): boolean;
emit(event: "ping"): boolean;
emit(event: "remoteSettings", settings: Settings): boolean;
@@ -868,7 +869,7 @@ declare module "http2" {
on(event: "close", listener: () => void): this;
on(event: "error", listener: (err: Error) => void): this;
on(event: "frameError", listener: (frameType: number, errorCode: number, streamID: number) => void): this;
- on(event: "goaway", listener: (errorCode: number, lastStreamID: number, opaqueData: Buffer) => void): this;
+ on(event: "goaway", listener: (errorCode: number, lastStreamID: number, opaqueData?: Buffer) => void): this;
on(event: "localSettings", listener: (settings: Settings) => void): this;
on(event: "ping", listener: () => void): this;
on(event: "remoteSettings", listener: (settings: Settings) => void): this;
@@ -877,7 +878,7 @@ declare module "http2" {
once(event: "close", listener: () => void): this;
once(event: "error", listener: (err: Error) => void): this;
once(event: "frameError", listener: (frameType: number, errorCode: number, streamID: number) => void): this;
- once(event: "goaway", listener: (errorCode: number, lastStreamID: number, opaqueData: Buffer) => void): this;
+ once(event: "goaway", listener: (errorCode: number, lastStreamID: number, opaqueData?: Buffer) => void): this;
once(event: "localSettings", listener: (settings: Settings) => void): this;
once(event: "ping", listener: () => void): this;
once(event: "remoteSettings", listener: (settings: Settings) => void): this;
@@ -891,7 +892,7 @@ declare module "http2" {
): this;
prependListener(
event: "goaway",
- listener: (errorCode: number, lastStreamID: number, opaqueData: Buffer) => void,
+ listener: (errorCode: number, lastStreamID: number, opaqueData?: Buffer) => void,
): this;
prependListener(event: "localSettings", listener: (settings: Settings) => void): this;
prependListener(event: "ping", listener: () => void): this;
@@ -906,7 +907,7 @@ declare module "http2" {
): this;
prependOnceListener(
event: "goaway",
- listener: (errorCode: number, lastStreamID: number, opaqueData: Buffer) => void,
+ listener: (errorCode: number, lastStreamID: number, opaqueData?: Buffer) => void,
): this;
prependOnceListener(event: "localSettings", listener: (settings: Settings) => void): this;
prependOnceListener(event: "ping", listener: () => void): this;
@@ -977,7 +978,7 @@ declare module "http2" {
): this;
addListener(event: string | symbol, listener: (...args: any[]) => void): this;
emit(event: "altsvc", alt: string, origin: string, stream: number): boolean;
- emit(event: "origin", origins: ReadonlyArray): boolean;
+ emit(event: "origin", origins: readonly string[]): boolean;
emit(event: "connect", session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket): boolean;
emit(
event: "stream",
@@ -1415,7 +1416,7 @@ declare module "http2" {
stream: ServerHttp2Stream,
headers: IncomingHttpHeaders,
options: stream.ReadableOptions,
- rawHeaders: ReadonlyArray,
+ rawHeaders: readonly string[],
);
/**
* The `request.aborted` property will be `true` if the request has
@@ -1856,7 +1857,7 @@ declare module "http2" {
* ```
* @since v8.4.0
*/
- setHeader(name: string, value: number | string | ReadonlyArray): void;
+ setHeader(name: string, value: number | string | readonly string[]): void;
/**
* Sets the `Http2Stream`'s timeout value to `msecs`. If a callback is
* provided, then it is added as a listener on the `'timeout'` event on
diff --git a/build/node_modules/@types/node/index.d.ts b/build/node_modules/@types/node/index.d.ts
index a69a8ce0..a596cad0 100644
--- a/build/node_modules/@types/node/index.d.ts
+++ b/build/node_modules/@types/node/index.d.ts
@@ -1,48 +1,3 @@
-// Type definitions for non-npm package Node.js 20.8
-// Project: https://nodejs.org/
-// Definitions by: Microsoft TypeScript
-// DefinitelyTyped
-// Alberto Schiabel
-// Alvis HT Tang
-// Andrew Makarov
-// Benjamin Toueg
-// Chigozirim C.
-// David Junger
-// Deividas Bakanas
-// Eugene Y. Q. Shen
-// Hannes Magnusson
-// Huw
-// Kelvin Jin
-// Klaus Meinhardt
-// Lishude
-// Mariusz Wiktorczyk
-// Mohsen Azimi
-// Nicolas Even
-// Nikita Galkin
-// Parambir Singh
-// Sebastian Silbermann
-// Thomas den Hollander
-// Wilco Bakker
-// wwwy3y3
-// Samuel Ainsworth
-// Kyle Uehlein
-// Thanik Bhongbhibhat
-// Marcin Kopacz
-// Trivikram Kamat
-// Junxiao Shi
-// Ilia Baryshnikov
-// ExE Boss
-// Piotr Błażejewicz
-// Anna Henningsen
-// Victor Perin
-// Yongsheng Zhang
-// NodeJS Contributors
-// Linus Unnebäck
-// wafuwafu13
-// Matteo Collina
-// Dmitry Semigradsky
-// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
-
/**
* License for programmatically and manually incorporated
* documentation aka. `JSDoc` from https://github.com/nodejs/node/tree/master/doc
diff --git a/build/node_modules/@types/node/inspector.d.ts b/build/node_modules/@types/node/inspector.d.ts
index 0e976e5d..3927b816 100644
--- a/build/node_modules/@types/node/inspector.d.ts
+++ b/build/node_modules/@types/node/inspector.d.ts
@@ -1,4 +1,3 @@
-// eslint-disable-next-line @definitelytyped/dt-header
// Type definitions for inspector
// These definitions are auto-generated.
diff --git a/build/node_modules/@types/node/module.d.ts b/build/node_modules/@types/node/module.d.ts
index 33dc9e8c..68d59c77 100644
--- a/build/node_modules/@types/node/module.d.ts
+++ b/build/node_modules/@types/node/module.d.ts
@@ -122,7 +122,9 @@ declare module "module" {
*/
findOrigin(lineNumber: number, columnNumber: number): SourceOrigin | {};
}
- interface ImportAssertions extends NodeJS.Dict {
+ /** @deprecated Use `ImportAttributes` instead */
+ interface ImportAssertions extends ImportAttributes {}
+ interface ImportAttributes extends NodeJS.Dict {
type?: string | undefined;
}
type ModuleFormat = "builtin" | "commonjs" | "json" | "module" | "wasm";
@@ -154,10 +156,14 @@ declare module "module" {
* Export conditions of the relevant `package.json`
*/
conditions: string[];
+ /**
+ * @deprecated Use `importAttributes` instead
+ */
+ importAssertions: ImportAttributes;
/**
* An object whose key-value pairs represent the assertions for the module to import
*/
- importAssertions: ImportAssertions;
+ importAttributes: ImportAttributes;
/**
* The module importing this one, or undefined if this is the Node.js entry point
*/
@@ -169,9 +175,13 @@ declare module "module" {
*/
format?: ModuleFormat | null | undefined;
/**
- * The import assertions to use when caching the module (optional; if excluded the input will be used)
+ * @deprecated Use `importAttributes` instead
+ */
+ importAssertions?: ImportAttributes | undefined;
+ /**
+ * The import attributes to use when caching the module (optional; if excluded the input will be used)
*/
- importAssertions?: ImportAssertions | undefined;
+ importAttributes?: ImportAttributes | undefined;
/**
* A signal that this hook intends to terminate the chain of `resolve` hooks.
* @default false
@@ -208,10 +218,14 @@ declare module "module" {
* The format optionally supplied by the `resolve` hook chain
*/
format: ModuleFormat;
+ /**
+ * @deprecated Use `importAttributes` instead
+ */
+ importAssertions: ImportAttributes;
/**
* An object whose key-value pairs represent the assertions for the module to import
*/
- importAssertions: ImportAssertions;
+ importAttributes: ImportAttributes;
}
interface LoadFnOutput {
format: ModuleFormat;
@@ -267,22 +281,16 @@ declare module "module" {
* Provides a module-relative resolution function scoped to each module, returning
* the URL string.
*
- * @param specified The module specifier to resolve relative to the current module.
- * @returns The absolute (`file:`) URL string for the resolved module.
- */
- resolve(specified: string): string;
- /**
- * This feature is only available with the `--experimental-import-meta-resolve`
+ * Second `parent` parameter is only used when the `--experimental-import-meta-resolve`
* command flag enabled.
*
- * Provides a module-relative resolution function scoped to each module, returning
- * the URL string.
+ * @since v20.6.0
*
- * @param specified The module specifier to resolve relative to `parent`.
+ * @param specifier The module specifier to resolve relative to `parent`.
* @param parent The absolute parent module URL to resolve from.
* @returns The absolute (`file:`) URL string for the resolved module.
*/
- resolve(specified: string, parent: string | URL): string;
+ resolve(specifier: string, parent?: string | URL | undefined): string;
}
}
export = Module;
diff --git a/build/node_modules/@types/node/net.d.ts b/build/node_modules/@types/node/net.d.ts
index a4a5b3e2..70789e1b 100644
--- a/build/node_modules/@types/node/net.d.ts
+++ b/build/node_modules/@types/node/net.d.ts
@@ -91,6 +91,12 @@ declare module "net" {
*/
class Socket extends stream.Duplex {
constructor(options?: SocketConstructorOpts);
+ /**
+ * Destroys the socket after all data is written. If the `finish` event was already emitted the socket is destroyed immediately.
+ * If the socket is still writable it implicitly calls `socket.end()`.
+ * @since v0.3.4
+ */
+ destroySoon(): void;
/**
* Sends data on the socket. The second parameter specifies the encoding in the
* case of a string. It defaults to UTF8 encoding.
diff --git a/build/node_modules/@types/node/os.d.ts b/build/node_modules/@types/node/os.d.ts
index b0d4e353..39a33f7f 100644
--- a/build/node_modules/@types/node/os.d.ts
+++ b/build/node_modules/@types/node/os.d.ts
@@ -38,7 +38,7 @@ declare module "os" {
username: T;
uid: number;
gid: number;
- shell: T;
+ shell: T | null;
homedir: T;
}
type NetworkInterfaceInfo = NetworkInterfaceInfoIPv4 | NetworkInterfaceInfoIPv6;
@@ -400,7 +400,8 @@ declare module "os" {
const EOL: string;
/**
* Returns the operating system CPU architecture for which the Node.js binary was
- * compiled. Possible values are `'arm'`, `'arm64'`, `'ia32'`, `'mips'`,`'mipsel'`, `'ppc'`, `'ppc64'`, `'riscv64'`, `'s390'`, `'s390x'`, and `'x64'`.
+ * compiled. Possible values are `'arm'`, `'arm64'`, `'ia32'`, `'loong64'`,`'mips'`, `'mipsel'`, `'ppc'`, `'ppc64'`, `'riscv64'`, `'s390'`, `'s390x'`,
+ * and `'x64'`.
*
* The return value is equivalent to `process.arch`.
* @since v0.5.0
diff --git a/build/node_modules/@types/node/package.json b/build/node_modules/@types/node/package.json
index 12649501..35f7a4a0 100644
--- a/build/node_modules/@types/node/package.json
+++ b/build/node_modules/@types/node/package.json
@@ -1,214 +1,209 @@
{
"name": "@types/node",
- "version": "20.8.4",
- "description": "TypeScript definitions for Node.js",
+ "version": "20.10.4",
+ "description": "TypeScript definitions for node",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
"license": "MIT",
"contributors": [
{
"name": "Microsoft TypeScript",
- "url": "https://github.com/Microsoft",
- "githubUsername": "Microsoft"
- },
- {
- "name": "DefinitelyTyped",
- "url": "https://github.com/DefinitelyTyped",
- "githubUsername": "DefinitelyTyped"
+ "githubUsername": "Microsoft",
+ "url": "https://github.com/Microsoft"
},
{
"name": "Alberto Schiabel",
- "url": "https://github.com/jkomyno",
- "githubUsername": "jkomyno"
+ "githubUsername": "jkomyno",
+ "url": "https://github.com/jkomyno"
},
{
"name": "Alvis HT Tang",
- "url": "https://github.com/alvis",
- "githubUsername": "alvis"
+ "githubUsername": "alvis",
+ "url": "https://github.com/alvis"
},
{
"name": "Andrew Makarov",
- "url": "https://github.com/r3nya",
- "githubUsername": "r3nya"
+ "githubUsername": "r3nya",
+ "url": "https://github.com/r3nya"
},
{
"name": "Benjamin Toueg",
- "url": "https://github.com/btoueg",
- "githubUsername": "btoueg"
+ "githubUsername": "btoueg",
+ "url": "https://github.com/btoueg"
},
{
"name": "Chigozirim C.",
- "url": "https://github.com/smac89",
- "githubUsername": "smac89"
+ "githubUsername": "smac89",
+ "url": "https://github.com/smac89"
},
{
"name": "David Junger",
- "url": "https://github.com/touffy",
- "githubUsername": "touffy"
+ "githubUsername": "touffy",
+ "url": "https://github.com/touffy"
},
{
"name": "Deividas Bakanas",
- "url": "https://github.com/DeividasBakanas",
- "githubUsername": "DeividasBakanas"
+ "githubUsername": "DeividasBakanas",
+ "url": "https://github.com/DeividasBakanas"
},
{
"name": "Eugene Y. Q. Shen",
- "url": "https://github.com/eyqs",
- "githubUsername": "eyqs"
+ "githubUsername": "eyqs",
+ "url": "https://github.com/eyqs"
},
{
"name": "Hannes Magnusson",
- "url": "https://github.com/Hannes-Magnusson-CK",
- "githubUsername": "Hannes-Magnusson-CK"
+ "githubUsername": "Hannes-Magnusson-CK",
+ "url": "https://github.com/Hannes-Magnusson-CK"
},
{
"name": "Huw",
- "url": "https://github.com/hoo29",
- "githubUsername": "hoo29"
+ "githubUsername": "hoo29",
+ "url": "https://github.com/hoo29"
},
{
"name": "Kelvin Jin",
- "url": "https://github.com/kjin",
- "githubUsername": "kjin"
+ "githubUsername": "kjin",
+ "url": "https://github.com/kjin"
},
{
"name": "Klaus Meinhardt",
- "url": "https://github.com/ajafff",
- "githubUsername": "ajafff"
+ "githubUsername": "ajafff",
+ "url": "https://github.com/ajafff"
},
{
"name": "Lishude",
- "url": "https://github.com/islishude",
- "githubUsername": "islishude"
+ "githubUsername": "islishude",
+ "url": "https://github.com/islishude"
},
{
"name": "Mariusz Wiktorczyk",
- "url": "https://github.com/mwiktorczyk",
- "githubUsername": "mwiktorczyk"
+ "githubUsername": "mwiktorczyk",
+ "url": "https://github.com/mwiktorczyk"
},
{
"name": "Mohsen Azimi",
- "url": "https://github.com/mohsen1",
- "githubUsername": "mohsen1"
+ "githubUsername": "mohsen1",
+ "url": "https://github.com/mohsen1"
},
{
"name": "Nicolas Even",
- "url": "https://github.com/n-e",
- "githubUsername": "n-e"
+ "githubUsername": "n-e",
+ "url": "https://github.com/n-e"
},
{
"name": "Nikita Galkin",
- "url": "https://github.com/galkin",
- "githubUsername": "galkin"
+ "githubUsername": "galkin",
+ "url": "https://github.com/galkin"
},
{
"name": "Parambir Singh",
- "url": "https://github.com/parambirs",
- "githubUsername": "parambirs"
+ "githubUsername": "parambirs",
+ "url": "https://github.com/parambirs"
},
{
"name": "Sebastian Silbermann",
- "url": "https://github.com/eps1lon",
- "githubUsername": "eps1lon"
+ "githubUsername": "eps1lon",
+ "url": "https://github.com/eps1lon"
},
{
"name": "Thomas den Hollander",
- "url": "https://github.com/ThomasdenH",
- "githubUsername": "ThomasdenH"
+ "githubUsername": "ThomasdenH",
+ "url": "https://github.com/ThomasdenH"
},
{
"name": "Wilco Bakker",
- "url": "https://github.com/WilcoBakker",
- "githubUsername": "WilcoBakker"
+ "githubUsername": "WilcoBakker",
+ "url": "https://github.com/WilcoBakker"
},
{
"name": "wwwy3y3",
- "url": "https://github.com/wwwy3y3",
- "githubUsername": "wwwy3y3"
+ "githubUsername": "wwwy3y3",
+ "url": "https://github.com/wwwy3y3"
},
{
"name": "Samuel Ainsworth",
- "url": "https://github.com/samuela",
- "githubUsername": "samuela"
+ "githubUsername": "samuela",
+ "url": "https://github.com/samuela"
},
{
"name": "Kyle Uehlein",
- "url": "https://github.com/kuehlein",
- "githubUsername": "kuehlein"
+ "githubUsername": "kuehlein",
+ "url": "https://github.com/kuehlein"
},
{
"name": "Thanik Bhongbhibhat",
- "url": "https://github.com/bhongy",
- "githubUsername": "bhongy"
+ "githubUsername": "bhongy",
+ "url": "https://github.com/bhongy"
},
{
"name": "Marcin Kopacz",
- "url": "https://github.com/chyzwar",
- "githubUsername": "chyzwar"
+ "githubUsername": "chyzwar",
+ "url": "https://github.com/chyzwar"
},
{
"name": "Trivikram Kamat",
- "url": "https://github.com/trivikr",
- "githubUsername": "trivikr"
+ "githubUsername": "trivikr",
+ "url": "https://github.com/trivikr"
},
{
"name": "Junxiao Shi",
- "url": "https://github.com/yoursunny",
- "githubUsername": "yoursunny"
+ "githubUsername": "yoursunny",
+ "url": "https://github.com/yoursunny"
},
{
"name": "Ilia Baryshnikov",
- "url": "https://github.com/qwelias",
- "githubUsername": "qwelias"
+ "githubUsername": "qwelias",
+ "url": "https://github.com/qwelias"
},
{
"name": "ExE Boss",
- "url": "https://github.com/ExE-Boss",
- "githubUsername": "ExE-Boss"
+ "githubUsername": "ExE-Boss",
+ "url": "https://github.com/ExE-Boss"
},
{
"name": "Piotr Błażejewicz",
- "url": "https://github.com/peterblazejewicz",
- "githubUsername": "peterblazejewicz"
+ "githubUsername": "peterblazejewicz",
+ "url": "https://github.com/peterblazejewicz"
},
{
"name": "Anna Henningsen",
- "url": "https://github.com/addaleax",
- "githubUsername": "addaleax"
+ "githubUsername": "addaleax",
+ "url": "https://github.com/addaleax"
},
{
"name": "Victor Perin",
- "url": "https://github.com/victorperin",
- "githubUsername": "victorperin"
+ "githubUsername": "victorperin",
+ "url": "https://github.com/victorperin"
},
{
"name": "Yongsheng Zhang",
- "url": "https://github.com/ZYSzys",
- "githubUsername": "ZYSzys"
+ "githubUsername": "ZYSzys",
+ "url": "https://github.com/ZYSzys"
},
{
"name": "NodeJS Contributors",
- "url": "https://github.com/NodeJS",
- "githubUsername": "NodeJS"
+ "githubUsername": "NodeJS",
+ "url": "https://github.com/NodeJS"
},
{
"name": "Linus Unnebäck",
- "url": "https://github.com/LinusU",
- "githubUsername": "LinusU"
+ "githubUsername": "LinusU",
+ "url": "https://github.com/LinusU"
},
{
"name": "wafuwafu13",
- "url": "https://github.com/wafuwafu13",
- "githubUsername": "wafuwafu13"
+ "githubUsername": "wafuwafu13",
+ "url": "https://github.com/wafuwafu13"
},
{
"name": "Matteo Collina",
- "url": "https://github.com/mcollina",
- "githubUsername": "mcollina"
+ "githubUsername": "mcollina",
+ "url": "https://github.com/mcollina"
},
{
"name": "Dmitry Semigradsky",
- "url": "https://github.com/Semigradsky",
- "githubUsername": "Semigradsky"
+ "githubUsername": "Semigradsky",
+ "url": "https://github.com/Semigradsky"
}
],
"main": "",
@@ -227,8 +222,9 @@
},
"scripts": {},
"dependencies": {
- "undici-types": "~5.25.1"
+ "undici-types": "~5.26.4"
},
- "typesPublisherContentHash": "2838dc399a85e9b85a3a405ba23ca1871738adf3d0908db1877a2e5c39a9f7a6",
- "typeScriptVersion": "4.5"
+ "typesPublisherContentHash": "70306276c79ea3801d82ca605703455f07ca61a9ef7d05f547ee2671f6bc5712",
+ "typeScriptVersion": "4.6",
+ "nonNpm": true
}
\ No newline at end of file
diff --git a/build/node_modules/@types/node/perf_hooks.d.ts b/build/node_modules/@types/node/perf_hooks.d.ts
index 5f89981f..b369bb69 100644
--- a/build/node_modules/@types/node/perf_hooks.d.ts
+++ b/build/node_modules/@types/node/perf_hooks.d.ts
@@ -31,7 +31,7 @@
*/
declare module "perf_hooks" {
import { AsyncResource } from "node:async_hooks";
- type EntryType = "node" | "mark" | "measure" | "gc" | "function" | "http2" | "http" | "dns";
+ type EntryType = "node" | "mark" | "measure" | "gc" | "function" | "http2" | "http" | "dns" | "net";
interface NodeGCPerformanceDetail {
/**
* When `performanceEntry.entryType` is equal to 'gc', `the performance.kind` property identifies
@@ -460,7 +460,7 @@ declare module "perf_hooks" {
observe(
options:
| {
- entryTypes: ReadonlyArray;
+ entryTypes: readonly EntryType[];
buffered?: boolean | undefined;
}
| {
diff --git a/build/node_modules/@types/node/process.d.ts b/build/node_modules/@types/node/process.d.ts
index 1ec9e83b..0e274737 100644
--- a/build/node_modules/@types/node/process.d.ts
+++ b/build/node_modules/@types/node/process.d.ts
@@ -902,6 +902,13 @@ declare module "process" {
* @experimental
*/
readonly sourceMapsEnabled: boolean;
+ /**
+ * This function enables or disables the Source Map v3 support for stack traces.
+ * It provides same features as launching Node.js process with commandline options --enable-source-maps.
+ * @since v16.6.0
+ * @experimental
+ */
+ setSourceMapsEnabled(value: boolean): void;
/**
* The `process.version` property contains the Node.js version string.
*
@@ -1075,7 +1082,7 @@ declare module "process" {
title: string;
/**
* The operating system CPU architecture for which the Node.js binary was compiled.
- * Possible values are: `'arm'`, `'arm64'`, `'ia32'`, `'mips'`,`'mipsel'`, `'ppc'`,`'ppc64'`, `'riscv64'`, `'s390'`, `'s390x'`, and `'x64'`.
+ * Possible values are: `'arm'`, `'arm64'`, `'ia32'`, `'loong64'`, `'mips'`,`'mipsel'`, `'ppc'`, `'ppc64'`, `'riscv64'`, `'s390'`, `'s390x'`, and `'x64'`.
*
* ```js
* import { arch } from 'node:process';
diff --git a/build/node_modules/@types/node/punycode.d.ts b/build/node_modules/@types/node/punycode.d.ts
index 64ddd3e6..d2fc9f9a 100644
--- a/build/node_modules/@types/node/punycode.d.ts
+++ b/build/node_modules/@types/node/punycode.d.ts
@@ -101,7 +101,7 @@ declare module "punycode" {
* Users currently depending on the punycode module should switch to using
* the userland-provided Punycode.js module instead.
*/
- encode(codePoints: ReadonlyArray): string;
+ encode(codePoints: readonly number[]): string;
}
/**
* @deprecated since v7.0.0
diff --git a/build/node_modules/@types/node/querystring.d.ts b/build/node_modules/@types/node/querystring.d.ts
index 388ebc33..54ecc967 100644
--- a/build/node_modules/@types/node/querystring.d.ts
+++ b/build/node_modules/@types/node/querystring.d.ts
@@ -25,9 +25,9 @@ declare module "querystring" {
| string
| number
| boolean
- | ReadonlyArray
- | ReadonlyArray
- | ReadonlyArray
+ | readonly string[]
+ | readonly number[]
+ | readonly boolean[]
| null
>
{}
diff --git a/build/node_modules/@types/node/stream.d.ts b/build/node_modules/@types/node/stream.d.ts
index 15c633fc..947a0193 100644
--- a/build/node_modules/@types/node/stream.d.ts
+++ b/build/node_modules/@types/node/stream.d.ts
@@ -948,7 +948,7 @@ declare module "stream" {
highWaterMark?: number | undefined;
objectMode?: boolean | undefined;
construct?(this: T, callback: (error?: Error | null) => void): void;
- destroy?(this: T, error: Error | null, callback: (error: Error | null) => void): void;
+ destroy?(this: T, error: Error | null, callback: (error?: Error | null) => void): void;
autoDestroy?: boolean | undefined;
}
interface ReadableOptions extends StreamOptions {
@@ -1033,7 +1033,7 @@ declare module "stream" {
callback: (error?: Error | null) => void,
): void;
final?(this: Duplex, callback: (error?: Error | null) => void): void;
- destroy?(this: Duplex, error: Error | null, callback: (error: Error | null) => void): void;
+ destroy?(this: Duplex, error: Error | null, callback: (error?: Error | null) => void): void;
}
/**
* Duplex streams are streams that implement both the `Readable` and `Writable` interfaces.
@@ -1108,7 +1108,7 @@ declare module "stream" {
}>,
callback: (error?: Error | null) => void,
): void;
- _destroy(error: Error | null, callback: (error: Error | null) => void): void;
+ _destroy(error: Error | null, callback: (error?: Error | null) => void): void;
_final(callback: (error?: Error | null) => void): void;
write(chunk: any, encoding?: BufferEncoding, cb?: (error: Error | null | undefined) => void): boolean;
write(chunk: any, cb?: (error: Error | null | undefined) => void): boolean;
@@ -1261,7 +1261,7 @@ declare module "stream" {
callback: (error?: Error | null) => void,
): void;
final?(this: Transform, callback: (error?: Error | null) => void): void;
- destroy?(this: Transform, error: Error | null, callback: (error: Error | null) => void): void;
+ destroy?(this: Transform, error: Error | null, callback: (error?: Error | null) => void): void;
transform?(this: Transform, chunk: any, encoding: BufferEncoding, callback: TransformCallback): void;
flush?(this: Transform, callback: TransformCallback): void;
}
diff --git a/build/node_modules/@types/node/test.d.ts b/build/node_modules/@types/node/test.d.ts
index 04504fdf..44b6a964 100644
--- a/build/node_modules/@types/node/test.d.ts
+++ b/build/node_modules/@types/node/test.d.ts
@@ -18,7 +18,7 @@
*
* 1. A synchronous function that is considered failing if it throws an exception,
* and is considered passing otherwise.
- * 2. A function that returns a `Promise` that is considered failing if the`Promise` rejects, and is considered passing if the `Promise` resolves.
+ * 2. A function that returns a `Promise` that is considered failing if the`Promise` rejects, and is considered passing if the `Promise` fulfills.
* 3. A function that receives a callback function. If the callback receives any
* truthy value as its first argument, the test is considered failing. If a
* falsy value is passed as the first argument to the callback, the test is
@@ -40,7 +40,7 @@
*
* test('asynchronous passing test', async (t) => {
* // This test passes because the Promise returned by the async
- * // function is not rejected.
+ * // function is settled and not rejected.
* assert.strictEqual(1, 1);
* });
*
@@ -104,8 +104,8 @@ declare module "node:test" {
* actions related to the current test. Examples include skipping the test, adding
* additional diagnostic information, or creating subtests.
*
- * `test()` returns a `Promise` that resolves once the test completes.
- * if `test()` is called within a `describe()` block, it resolve immediately.
+ * `test()` returns a `Promise` that fulfills once the test completes.
+ * if `test()` is called within a `describe()` block, it fulfills immediately.
* The return value can usually be discarded for top level tests.
* However, the return value from subtests should be used to prevent the parent
* test from finishing first and cancelling the subtest
@@ -132,7 +132,7 @@ declare module "node:test" {
* @param options Configuration options for the test. The following properties are supported:
* @param [fn='A no-op function'] The function under test. The first argument to this function is a {@link TestContext} object. If the test uses callbacks, the callback function is passed as the
* second argument.
- * @return Resolved with `undefined` once the test completes, or immediately if the test runs within {@link describe}.
+ * @return Fulfilled with `undefined` once the test completes, or immediately if the test runs within {@link describe}.
*/
function test(name?: string, fn?: TestFn): Promise;
function test(name?: string, options?: TestOptions, fn?: TestFn): Promise;
diff --git a/build/node_modules/@types/node/timers.d.ts b/build/node_modules/@types/node/timers.d.ts
index 1434e7dd..039f31f7 100644
--- a/build/node_modules/@types/node/timers.d.ts
+++ b/build/node_modules/@types/node/timers.d.ts
@@ -155,7 +155,7 @@ declare module "timers" {
...args: TArgs
): NodeJS.Timeout;
// util.promisify no rest args compability
- // tslint:disable-next-line void-return
+ // eslint-disable-next-line @typescript-eslint/no-invalid-void-type
function setTimeout(callback: (args: void) => void, ms?: number): NodeJS.Timeout;
namespace setTimeout {
const __promisify__: typeof setTimeoutPromise;
@@ -187,7 +187,7 @@ declare module "timers" {
...args: TArgs
): NodeJS.Timeout;
// util.promisify no rest args compability
- // tslint:disable-next-line void-return
+ // eslint-disable-next-line @typescript-eslint/no-invalid-void-type
function setInterval(callback: (args: void) => void, ms?: number): NodeJS.Timeout;
namespace setInterval {
const __promisify__: typeof setIntervalPromise;
@@ -221,7 +221,7 @@ declare module "timers" {
...args: TArgs
): NodeJS.Immediate;
// util.promisify no rest args compability
- // tslint:disable-next-line void-return
+ // eslint-disable-next-line @typescript-eslint/no-invalid-void-type
function setImmediate(callback: (args: void) => void): NodeJS.Immediate;
namespace setImmediate {
const __promisify__: typeof setImmediatePromise;
diff --git a/build/node_modules/@types/node/tls.d.ts b/build/node_modules/@types/node/tls.d.ts
index 141af8e1..b289e841 100644
--- a/build/node_modules/@types/node/tls.d.ts
+++ b/build/node_modules/@types/node/tls.d.ts
@@ -1203,7 +1203,7 @@ declare module "tls" {
* format) used for verifying peer certificates. This is the default value
* of the ca option to tls.createSecureContext().
*/
- const rootCertificates: ReadonlyArray;
+ const rootCertificates: readonly string[];
}
declare module "node:tls" {
export * from "tls";
diff --git a/build/node_modules/@types/node/ts4.8/assert.d.ts b/build/node_modules/@types/node/ts4.8/assert.d.ts
index e237c56c..cd821433 100644
--- a/build/node_modules/@types/node/ts4.8/assert.d.ts
+++ b/build/node_modules/@types/node/ts4.8/assert.d.ts
@@ -45,7 +45,7 @@ declare module "assert" {
/** The `operator` property on the error instance. */
operator?: string | undefined;
/** If provided, the generated stack trace omits frames before this function. */
- // tslint:disable-next-line:ban-types
+ // eslint-disable-next-line @typescript-eslint/ban-types
stackStartFn?: Function | undefined;
});
}
@@ -228,7 +228,7 @@ declare module "assert" {
expected: unknown,
message?: string | Error,
operator?: string,
- // tslint:disable-next-line:ban-types
+ // eslint-disable-next-line @typescript-eslint/ban-types
stackStartFn?: Function,
): never;
/**
diff --git a/build/node_modules/@types/node/ts4.8/buffer.d.ts b/build/node_modules/@types/node/ts4.8/buffer.d.ts
index 7c6a001d..1ee5c013 100644
--- a/build/node_modules/@types/node/ts4.8/buffer.d.ts
+++ b/build/node_modules/@types/node/ts4.8/buffer.d.ts
@@ -223,7 +223,7 @@ declare module "buffer" {
import { Blob as NodeBlob } from "buffer";
// This conditional type will be the existing global Blob in a browser, or
// the copy below in a Node environment.
- type __Blob = typeof globalThis extends { onmessage: any; Blob: infer T } ? T : NodeBlob;
+ type __Blob = typeof globalThis extends { onmessage: any; Blob: any } ? {} : NodeBlob;
global {
namespace NodeJS {
export { BufferEncoding };
@@ -289,7 +289,7 @@ declare module "buffer" {
* @param array The octets to store.
* @deprecated since v10.0.0 - Use `Buffer.from(array)` instead.
*/
- new(array: ReadonlyArray): Buffer;
+ new(array: readonly any[]): Buffer;
/**
* Copies the passed {buffer} data onto a new {Buffer} instance.
*
@@ -327,8 +327,8 @@ declare module "buffer" {
* Creates a new Buffer using the passed {data}
* @param data data to create a new Buffer
*/
- from(data: Uint8Array | ReadonlyArray): Buffer;
- from(data: WithImplicitCoercion | string>): Buffer;
+ from(data: Uint8Array | readonly number[]): Buffer;
+ from(data: WithImplicitCoercion): Buffer;
/**
* Creates a new Buffer containing the given JavaScript string {str}.
* If provided, the {encoding} parameter identifies the character encoding.
@@ -456,7 +456,7 @@ declare module "buffer" {
* @param list List of `Buffer` or {@link Uint8Array} instances to concatenate.
* @param totalLength Total length of the `Buffer` instances in `list` when concatenated.
*/
- concat(list: ReadonlyArray, totalLength?: number): Buffer;
+ concat(list: readonly Uint8Array[], totalLength?: number): Buffer;
/**
* Copies the underlying memory of `view` into a new `Buffer`.
*
diff --git a/build/node_modules/@types/node/ts4.8/child_process.d.ts b/build/node_modules/@types/node/ts4.8/child_process.d.ts
index 9f1a38a7..a97532b4 100644
--- a/build/node_modules/@types/node/ts4.8/child_process.d.ts
+++ b/build/node_modules/@types/node/ts4.8/child_process.d.ts
@@ -833,50 +833,50 @@ declare module "child_process" {
// overloads of spawn with 'args'
function spawn(
command: string,
- args?: ReadonlyArray,
+ args?: readonly string[],
options?: SpawnOptionsWithoutStdio,
): ChildProcessWithoutNullStreams;
function spawn(
command: string,
- args: ReadonlyArray,
+ args: readonly string[],
options: SpawnOptionsWithStdioTuple,
): ChildProcessByStdio;
function spawn(
command: string,
- args: ReadonlyArray,
+ args: readonly string[],
options: SpawnOptionsWithStdioTuple,
): ChildProcessByStdio;
function spawn(
command: string,
- args: ReadonlyArray,
+ args: readonly string[],
options: SpawnOptionsWithStdioTuple,
): ChildProcessByStdio;
function spawn(
command: string,
- args: ReadonlyArray,
+ args: readonly string[],
options: SpawnOptionsWithStdioTuple,
): ChildProcessByStdio;
function spawn(
command: string,
- args: ReadonlyArray,
+ args: readonly string[],
options: SpawnOptionsWithStdioTuple,
): ChildProcessByStdio;
function spawn(
command: string,
- args: ReadonlyArray,
+ args: readonly string[],
options: SpawnOptionsWithStdioTuple,
): ChildProcessByStdio;
function spawn(
command: string,
- args: ReadonlyArray,
+ args: readonly string[],
options: SpawnOptionsWithStdioTuple,
): ChildProcessByStdio;
function spawn(
command: string,
- args: ReadonlyArray,
+ args: readonly string[],
options: SpawnOptionsWithStdioTuple,
): ChildProcessByStdio;
- function spawn(command: string, args: ReadonlyArray, options: SpawnOptions): ChildProcess;
+ function spawn(command: string, args: readonly string[], options: SpawnOptions): ChildProcess;
interface ExecOptions extends CommonOptions {
shell?: string | undefined;
signal?: AbortSignal | undefined;
@@ -1150,10 +1150,10 @@ declare module "child_process" {
file: string,
options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null,
): ChildProcess;
- function execFile(file: string, args?: ReadonlyArray | null): ChildProcess;
+ function execFile(file: string, args?: readonly string[] | null): ChildProcess;
function execFile(
file: string,
- args: ReadonlyArray | undefined | null,
+ args: readonly string[] | undefined | null,
options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null,
): ChildProcess;
// no `options` definitely means stdout/stderr are `string`.
@@ -1163,7 +1163,7 @@ declare module "child_process" {
): ChildProcess;
function execFile(
file: string,
- args: ReadonlyArray | undefined | null,
+ args: readonly string[] | undefined | null,
callback: (error: ExecFileException | null, stdout: string, stderr: string) => void,
): ChildProcess;
// `options` with `"buffer"` or `null` for `encoding` means stdout/stderr are definitely `Buffer`.
@@ -1174,7 +1174,7 @@ declare module "child_process" {
): ChildProcess;
function execFile(
file: string,
- args: ReadonlyArray | undefined | null,
+ args: readonly string[] | undefined | null,
options: ExecFileOptionsWithBufferEncoding,
callback: (error: ExecFileException | null, stdout: Buffer, stderr: Buffer) => void,
): ChildProcess;
@@ -1186,7 +1186,7 @@ declare module "child_process" {
): ChildProcess;
function execFile(
file: string,
- args: ReadonlyArray | undefined | null,
+ args: readonly string[] | undefined | null,
options: ExecFileOptionsWithStringEncoding,
callback: (error: ExecFileException | null, stdout: string, stderr: string) => void,
): ChildProcess;
@@ -1199,7 +1199,7 @@ declare module "child_process" {
): ChildProcess;
function execFile(
file: string,
- args: ReadonlyArray | undefined | null,
+ args: readonly string[] | undefined | null,
options: ExecFileOptionsWithOtherEncoding,
callback: (error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void,
): ChildProcess;
@@ -1211,7 +1211,7 @@ declare module "child_process" {
): ChildProcess;
function execFile(
file: string,
- args: ReadonlyArray | undefined | null,
+ args: readonly string[] | undefined | null,
options: ExecFileOptions,
callback: (error: ExecFileException | null, stdout: string, stderr: string) => void,
): ChildProcess;
@@ -1226,7 +1226,7 @@ declare module "child_process" {
): ChildProcess;
function execFile(
file: string,
- args: ReadonlyArray | undefined | null,
+ args: readonly string[] | undefined | null,
options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null,
callback:
| ((error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void)
@@ -1240,7 +1240,7 @@ declare module "child_process" {
}>;
function __promisify__(
file: string,
- args: ReadonlyArray | undefined | null,
+ args: readonly string[] | undefined | null,
): PromiseWithChild<{
stdout: string;
stderr: string;
@@ -1254,7 +1254,7 @@ declare module "child_process" {
}>;
function __promisify__(
file: string,
- args: ReadonlyArray | undefined | null,
+ args: readonly string[] | undefined | null,
options: ExecFileOptionsWithBufferEncoding,
): PromiseWithChild<{
stdout: Buffer;
@@ -1269,7 +1269,7 @@ declare module "child_process" {
}>;
function __promisify__(
file: string,
- args: ReadonlyArray | undefined | null,
+ args: readonly string[] | undefined | null,
options: ExecFileOptionsWithStringEncoding,
): PromiseWithChild<{
stdout: string;
@@ -1284,7 +1284,7 @@ declare module "child_process" {
}>;
function __promisify__(
file: string,
- args: ReadonlyArray | undefined | null,
+ args: readonly string[] | undefined | null,
options: ExecFileOptionsWithOtherEncoding,
): PromiseWithChild<{
stdout: string | Buffer;
@@ -1299,7 +1299,7 @@ declare module "child_process" {
}>;
function __promisify__(
file: string,
- args: ReadonlyArray | undefined | null,
+ args: readonly string[] | undefined | null,
options: ExecFileOptions,
): PromiseWithChild<{
stdout: string;
@@ -1314,7 +1314,7 @@ declare module "child_process" {
}>;
function __promisify__(
file: string,
- args: ReadonlyArray