@vibedeckx/win32-x64 0.1.12 → 0.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ui/404/index.html +1 -1
- package/dist/ui/404.html +1 -1
- package/dist/ui/__next.__PAGE__.txt +1 -1
- package/dist/ui/__next._full.txt +1 -1
- package/dist/ui/__next._head.txt +1 -1
- package/dist/ui/__next._index.txt +1 -1
- package/dist/ui/__next._tree.txt +1 -1
- package/dist/ui/_not-found/__next._full.txt +1 -1
- package/dist/ui/_not-found/__next._head.txt +1 -1
- package/dist/ui/_not-found/__next._index.txt +1 -1
- package/dist/ui/_not-found/__next._not-found/__PAGE__.txt +1 -1
- package/dist/ui/_not-found/__next._not-found.txt +1 -1
- package/dist/ui/_not-found/__next._tree.txt +1 -1
- package/dist/ui/_not-found/index.html +1 -1
- package/dist/ui/_not-found/index.txt +1 -1
- package/dist/ui/index.html +1 -1
- package/dist/ui/index.txt +1 -1
- package/node_modules/better-sqlite3/build/Release/better_sqlite3.node +0 -0
- package/node_modules/better-sqlite3/package.json +2 -13
- package/node_modules/node-pty/package.json +3 -15
- package/package.json +1 -7
- package/node_modules/@ai-sdk/deepseek/CHANGELOG.md +0 -1602
- package/node_modules/@ai-sdk/deepseek/LICENSE +0 -13
- package/node_modules/@ai-sdk/deepseek/README.md +0 -43
- package/node_modules/@ai-sdk/deepseek/docs/30-deepseek.mdx +0 -183
- package/node_modules/@ai-sdk/gateway/CHANGELOG.md +0 -1768
- package/node_modules/@ai-sdk/gateway/LICENSE +0 -13
- package/node_modules/@ai-sdk/gateway/README.md +0 -44
- package/node_modules/@ai-sdk/gateway/docs/00-ai-gateway.mdx +0 -937
- package/node_modules/@ai-sdk/provider/CHANGELOG.md +0 -979
- package/node_modules/@ai-sdk/provider/LICENSE +0 -13
- package/node_modules/@ai-sdk/provider/README.md +0 -1
- package/node_modules/@ai-sdk/provider-utils/CHANGELOG.md +0 -1580
- package/node_modules/@ai-sdk/provider-utils/README.md +0 -1
- package/node_modules/@ai-sdk/provider-utils/dist/test/index.d.mts +0 -17
- package/node_modules/@ai-sdk/provider-utils/dist/test/index.d.ts +0 -17
- package/node_modules/@ai-sdk/provider-utils/dist/test/index.js +0 -110
- package/node_modules/@ai-sdk/provider-utils/dist/test/index.js.map +0 -1
- package/node_modules/@ai-sdk/provider-utils/dist/test/index.mjs +0 -77
- package/node_modules/@ai-sdk/provider-utils/dist/test/index.mjs.map +0 -1
- package/node_modules/@ai-sdk/provider-utils/src/test/convert-array-to-async-iterable.ts +0 -9
- package/node_modules/@ai-sdk/provider-utils/src/test/convert-array-to-readable-stream.ts +0 -15
- package/node_modules/@ai-sdk/provider-utils/src/test/convert-async-iterable-to-array.ts +0 -9
- package/node_modules/@ai-sdk/provider-utils/src/test/convert-readable-stream-to-array.ts +0 -14
- package/node_modules/@ai-sdk/provider-utils/src/test/convert-response-stream-to-array.ts +0 -9
- package/node_modules/@ai-sdk/provider-utils/src/test/index.ts +0 -7
- package/node_modules/@ai-sdk/provider-utils/src/test/is-node-version.ts +0 -4
- package/node_modules/@ai-sdk/provider-utils/src/test/mock-id.ts +0 -8
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/LICENSE +0 -16
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/README.md +0 -24
- package/node_modules/@ai-sdk/provider-utils/test.d.ts +0 -1
- package/node_modules/@clerk/backend/LICENSE +0 -21
- package/node_modules/@clerk/backend/README.md +0 -76
- package/node_modules/@clerk/backend/dist/tokens/__tests__/getAuth.test-d.d.ts +0 -2
- package/node_modules/@clerk/backend/dist/tokens/__tests__/getAuth.test-d.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/tokens/__tests__/request.test-d.d.ts +0 -2
- package/node_modules/@clerk/backend/dist/tokens/__tests__/request.test-d.d.ts.map +0 -1
- package/node_modules/@clerk/fastify/LICENSE +0 -21
- package/node_modules/@clerk/fastify/README.md +0 -67
- package/node_modules/@clerk/shared/LICENSE +0 -21
- package/node_modules/@clerk/shared/README.md +0 -3
- package/node_modules/@fastify/accept-negotiator/LICENSE +0 -22
- package/node_modules/@fastify/accept-negotiator/README.md +0 -52
- package/node_modules/@fastify/accept-negotiator/types/index.d.ts +0 -17
- package/node_modules/@fastify/ajv-compiler/LICENSE +0 -23
- package/node_modules/@fastify/ajv-compiler/README.md +0 -237
- package/node_modules/@fastify/ajv-compiler/benchmark/small-object.mjs +0 -37
- package/node_modules/@fastify/ajv-compiler/test/duplicated-id-compile.test.js +0 -55
- package/node_modules/@fastify/ajv-compiler/test/index.test.js +0 -307
- package/node_modules/@fastify/ajv-compiler/test/plugins.test.js +0 -246
- package/node_modules/@fastify/ajv-compiler/test/serialization.test.js +0 -279
- package/node_modules/@fastify/ajv-compiler/test/standalone.test.js +0 -203
- package/node_modules/@fastify/ajv-compiler/types/index.d.ts +0 -87
- package/node_modules/@fastify/error/LICENSE +0 -21
- package/node_modules/@fastify/error/README.md +0 -140
- package/node_modules/@fastify/error/benchmarks/create.js +0 -9
- package/node_modules/@fastify/error/benchmarks/instantiate.js +0 -18
- package/node_modules/@fastify/error/benchmarks/no-stack.js +0 -13
- package/node_modules/@fastify/error/benchmarks/toString.js +0 -11
- package/node_modules/@fastify/error/test/index.test.js +0 -232
- package/node_modules/@fastify/error/test/instanceof.test.js +0 -263
- package/node_modules/@fastify/error/types/index.d.ts +0 -49
- package/node_modules/@fastify/fast-json-stringify-compiler/LICENSE +0 -21
- package/node_modules/@fastify/fast-json-stringify-compiler/README.md +0 -128
- package/node_modules/@fastify/fast-json-stringify-compiler/test/duplicate-schema.test.js +0 -26
- package/node_modules/@fastify/fast-json-stringify-compiler/test/plugin.test.js +0 -78
- package/node_modules/@fastify/fast-json-stringify-compiler/test/standalone.test.js +0 -230
- package/node_modules/@fastify/fast-json-stringify-compiler/types/index.d.ts +0 -41
- package/node_modules/@fastify/forwarded/LICENSE +0 -24
- package/node_modules/@fastify/forwarded/README.md +0 -43
- package/node_modules/@fastify/forwarded/types/index.d.ts +0 -14
- package/node_modules/@fastify/merge-json-schemas/LICENSE +0 -21
- package/node_modules/@fastify/merge-json-schemas/README.md +0 -119
- package/node_modules/@fastify/merge-json-schemas/test/additional-items.test.js +0 -164
- package/node_modules/@fastify/merge-json-schemas/test/additional-properties.test.js +0 -129
- package/node_modules/@fastify/merge-json-schemas/test/all-of.test.js +0 -43
- package/node_modules/@fastify/merge-json-schemas/test/any-of.test.js +0 -81
- package/node_modules/@fastify/merge-json-schemas/test/const.test.js +0 -58
- package/node_modules/@fastify/merge-json-schemas/test/contains.test.js +0 -55
- package/node_modules/@fastify/merge-json-schemas/test/custom-resolvers.test.js +0 -50
- package/node_modules/@fastify/merge-json-schemas/test/default-resolver.test.js +0 -111
- package/node_modules/@fastify/merge-json-schemas/test/default.test.js +0 -50
- package/node_modules/@fastify/merge-json-schemas/test/definitions.test.js +0 -46
- package/node_modules/@fastify/merge-json-schemas/test/defs.test.js +0 -46
- package/node_modules/@fastify/merge-json-schemas/test/dependencies.test.js +0 -75
- package/node_modules/@fastify/merge-json-schemas/test/dependent-required.test.js +0 -75
- package/node_modules/@fastify/merge-json-schemas/test/dependent-schemas.test.js +0 -76
- package/node_modules/@fastify/merge-json-schemas/test/enum.test.js +0 -44
- package/node_modules/@fastify/merge-json-schemas/test/exclusive-maximum.test.js +0 -30
- package/node_modules/@fastify/merge-json-schemas/test/exclusive-minimum.test.js +0 -30
- package/node_modules/@fastify/merge-json-schemas/test/format.test.js +0 -36
- package/node_modules/@fastify/merge-json-schemas/test/id.test.js +0 -22
- package/node_modules/@fastify/merge-json-schemas/test/if-then-else.test.js +0 -550
- package/node_modules/@fastify/merge-json-schemas/test/items.test.js +0 -152
- package/node_modules/@fastify/merge-json-schemas/test/max-items.test.js +0 -30
- package/node_modules/@fastify/merge-json-schemas/test/max-length.test.js +0 -30
- package/node_modules/@fastify/merge-json-schemas/test/max-properties.test.js +0 -30
- package/node_modules/@fastify/merge-json-schemas/test/maximum.test.js +0 -30
- package/node_modules/@fastify/merge-json-schemas/test/merge-schema.test.js +0 -29
- package/node_modules/@fastify/merge-json-schemas/test/min-items.test.js +0 -30
- package/node_modules/@fastify/merge-json-schemas/test/min-length.test.js +0 -30
- package/node_modules/@fastify/merge-json-schemas/test/min-properties.test.js +0 -30
- package/node_modules/@fastify/merge-json-schemas/test/minimum.test.js +0 -30
- package/node_modules/@fastify/merge-json-schemas/test/multiple-of.test.js +0 -36
- package/node_modules/@fastify/merge-json-schemas/test/not.test.js +0 -29
- package/node_modules/@fastify/merge-json-schemas/test/nullable.test.js +0 -30
- package/node_modules/@fastify/merge-json-schemas/test/one-of.test.js +0 -144
- package/node_modules/@fastify/merge-json-schemas/test/properties.test.js +0 -312
- package/node_modules/@fastify/merge-json-schemas/test/property-names.test.js +0 -49
- package/node_modules/@fastify/merge-json-schemas/test/required.test.js +0 -30
- package/node_modules/@fastify/merge-json-schemas/test/type.test.js +0 -52
- package/node_modules/@fastify/merge-json-schemas/test/unique-items.test.js +0 -38
- package/node_modules/@fastify/merge-json-schemas/test/utils.js +0 -9
- package/node_modules/@fastify/merge-json-schemas/types/index.d.ts +0 -61
- package/node_modules/@fastify/proxy-addr/LICENSE +0 -24
- package/node_modules/@fastify/proxy-addr/README.md +0 -141
- package/node_modules/@fastify/proxy-addr/benchmark/compiling.js +0 -50
- package/node_modules/@fastify/proxy-addr/benchmark/index.js +0 -30
- package/node_modules/@fastify/proxy-addr/benchmark/kind.js +0 -57
- package/node_modules/@fastify/proxy-addr/benchmark/matching.js +0 -78
- package/node_modules/@fastify/proxy-addr/test/all.test.js +0 -55
- package/node_modules/@fastify/proxy-addr/test/base.test.js +0 -365
- package/node_modules/@fastify/proxy-addr/test/compile.test.js +0 -58
- package/node_modules/@fastify/proxy-addr/types/index.d.ts +0 -18
- package/node_modules/@fastify/send/HISTORY.md +0 -521
- package/node_modules/@fastify/send/LICENSE +0 -23
- package/node_modules/@fastify/send/README.md +0 -310
- package/node_modules/@fastify/send/benchmarks/collapseLeadingSlashes.js +0 -13
- package/node_modules/@fastify/send/benchmarks/containsDotFile.js +0 -15
- package/node_modules/@fastify/send/benchmarks/isUtf8MimeType.js +0 -23
- package/node_modules/@fastify/send/benchmarks/normalizeList.js +0 -14
- package/node_modules/@fastify/send/benchmarks/parseBytesRange.js +0 -15
- package/node_modules/@fastify/send/examples/index.html +0 -1
- package/node_modules/@fastify/send/examples/simple.js +0 -15
- package/node_modules/@fastify/send/test/collapseLeadingSlashes.test.js +0 -22
- package/node_modules/@fastify/send/test/containsDotFile.test.js +0 -18
- package/node_modules/@fastify/send/test/fixtures/do..ts.txt +0 -1
- package/node_modules/@fastify/send/test/fixtures/empty.txt +0 -0
- package/node_modules/@fastify/send/test/fixtures/images/node-js.png +0 -0
- package/node_modules/@fastify/send/test/fixtures/name.d/name.txt +0 -1
- package/node_modules/@fastify/send/test/fixtures/name.dir/name.txt +0 -1
- package/node_modules/@fastify/send/test/fixtures/name.html +0 -1
- package/node_modules/@fastify/send/test/fixtures/name.txt +0 -1
- package/node_modules/@fastify/send/test/fixtures/no_ext +0 -1
- package/node_modules/@fastify/send/test/fixtures/nums.txt +0 -1
- package/node_modules/@fastify/send/test/fixtures/pets/index.html +0 -3
- package/node_modules/@fastify/send/test/fixtures/snow /342/230/203/index.html +0 -0
- package/node_modules/@fastify/send/test/fixtures/some thing.txt +0 -1
- package/node_modules/@fastify/send/test/fixtures/thing.html.html +0 -1
- package/node_modules/@fastify/send/test/fixtures/tobi.html +0 -1
- package/node_modules/@fastify/send/test/isUtf8MimeType.test.js +0 -22
- package/node_modules/@fastify/send/test/mime.test.js +0 -56
- package/node_modules/@fastify/send/test/normalizeList.test.js +0 -28
- package/node_modules/@fastify/send/test/parseBytesRange.test.js +0 -103
- package/node_modules/@fastify/send/test/send.1.test.js +0 -646
- package/node_modules/@fastify/send/test/send.2.test.js +0 -977
- package/node_modules/@fastify/send/test/send.3.test.js +0 -133
- package/node_modules/@fastify/send/test/utils.js +0 -36
- package/node_modules/@fastify/send/types/index.d.ts +0 -167
- package/node_modules/@fastify/static/LICENSE +0 -23
- package/node_modules/@fastify/static/README.md +0 -538
- package/node_modules/@fastify/static/example/public/images/sample.jpg +0 -0
- package/node_modules/@fastify/static/example/public/index.css +0 -9
- package/node_modules/@fastify/static/example/public/index.html +0 -11
- package/node_modules/@fastify/static/example/public/index.js +0 -8
- package/node_modules/@fastify/static/example/public2/test.css +0 -4
- package/node_modules/@fastify/static/example/public2/test.html +0 -8
- package/node_modules/@fastify/static/example/server-compress.js +0 -15
- package/node_modules/@fastify/static/example/server-dir-list.js +0 -38
- package/node_modules/@fastify/static/example/server-hidden-file.js +0 -15
- package/node_modules/@fastify/static/example/server.js +0 -13
- package/node_modules/@fastify/static/test/content-type/binary +0 -0
- package/node_modules/@fastify/static/test/content-type/binary.br +0 -1
- package/node_modules/@fastify/static/test/content-type/index.css +0 -0
- package/node_modules/@fastify/static/test/content-type/index.css.br +0 -1
- package/node_modules/@fastify/static/test/content-type/index.html +0 -5
- package/node_modules/@fastify/static/test/content-type/index.html.br +0 -0
- package/node_modules/@fastify/static/test/content-type/sample.jpg +0 -0
- package/node_modules/@fastify/static/test/content-type/test.txt +0 -0
- package/node_modules/@fastify/static/test/content-type/test.txt.br +0 -1
- package/node_modules/@fastify/static/test/content-type.test.js +0 -144
- package/node_modules/@fastify/static/test/dir-list.test.js +0 -738
- package/node_modules/@fastify/static/test/static/100%.txt +0 -1
- package/node_modules/@fastify/static/test/static/a .md +0 -1
- package/node_modules/@fastify/static/test/static/deep/path/for/test/index.html +0 -5
- package/node_modules/@fastify/static/test/static/deep/path/for/test/purpose/foo.html +0 -5
- package/node_modules/@fastify/static/test/static/foo.html +0 -3
- package/node_modules/@fastify/static/test/static/foobar.html +0 -3
- package/node_modules/@fastify/static/test/static/index.css +0 -0
- package/node_modules/@fastify/static/test/static/index.html +0 -5
- package/node_modules/@fastify/static/test/static/shallow/sample.jpg +0 -0
- package/node_modules/@fastify/static/test/static-dotfiles/dir/index.html +0 -0
- package/node_modules/@fastify/static/test/static-dotfiles/test.txt +0 -0
- package/node_modules/@fastify/static/test/static-encode/[...]/a .md +0 -1
- package/node_modules/@fastify/static/test/static-filtered/bar.private +0 -1
- package/node_modules/@fastify/static/test/static-filtered/deep/path/to/baz.html +0 -3
- package/node_modules/@fastify/static/test/static-filtered/deep/path/to/baz.private +0 -1
- package/node_modules/@fastify/static/test/static-filtered/index.html +0 -3
- package/node_modules/@fastify/static/test/static-pre-compressed/all-three.html +0 -5
- package/node_modules/@fastify/static/test/static-pre-compressed/all-three.html.br +0 -0
- package/node_modules/@fastify/static/test/static-pre-compressed/all-three.html.gz +0 -0
- package/node_modules/@fastify/static/test/static-pre-compressed/baz.json +0 -3
- package/node_modules/@fastify/static/test/static-pre-compressed/dir/index.html +0 -5
- package/node_modules/@fastify/static/test/static-pre-compressed/dir/index.html.br +0 -0
- package/node_modules/@fastify/static/test/static-pre-compressed/dir-gz/index.html +0 -5
- package/node_modules/@fastify/static/test/static-pre-compressed/dir-gz/index.html.gz +0 -0
- package/node_modules/@fastify/static/test/static-pre-compressed/gzip-only.html +0 -3
- package/node_modules/@fastify/static/test/static-pre-compressed/gzip-only.html.gz +0 -0
- package/node_modules/@fastify/static/test/static-pre-compressed/index.html +0 -5
- package/node_modules/@fastify/static/test/static-pre-compressed/index.html.br +0 -0
- package/node_modules/@fastify/static/test/static-pre-compressed/sample.jpg +0 -0
- package/node_modules/@fastify/static/test/static-pre-compressed/sample.jpg.br +0 -0
- package/node_modules/@fastify/static/test/static-pre-compressed/uncompressed.html +0 -3
- package/node_modules/@fastify/static/test/static-symbolic-link/origin/subdir/subdir/index.html +0 -3
- package/node_modules/@fastify/static/test/static.test.js +0 -3793
- package/node_modules/@fastify/static/test/static2/bar.html +0 -3
- package/node_modules/@fastify/static/test/static2/index.html +0 -3
- package/node_modules/@fastify/static/types/index.d.ts +0 -140
- package/node_modules/@fastify/websocket/LICENSE +0 -23
- package/node_modules/@fastify/websocket/README.md +0 -393
- package/node_modules/@fastify/websocket/test/base.test.js +0 -663
- package/node_modules/@fastify/websocket/test/hooks.test.js +0 -414
- package/node_modules/@fastify/websocket/test/inject.test.js +0 -174
- package/node_modules/@fastify/websocket/test/router.test.js +0 -799
- package/node_modules/@fastify/websocket/types/index.d.ts +0 -116
- package/node_modules/@isaacs/cliui/LICENSE.md +0 -63
- package/node_modules/@isaacs/cliui/README.md +0 -151
- package/node_modules/@lukeed/ms/index.d.ts +0 -2
- package/node_modules/@lukeed/ms/license +0 -9
- package/node_modules/@lukeed/ms/readme.md +0 -133
- package/node_modules/@openrouter/ai-sdk-provider/LICENSE +0 -201
- package/node_modules/@openrouter/ai-sdk-provider/README.md +0 -156
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider/CHANGELOG.md +0 -235
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider/LICENSE +0 -13
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider/README.md +0 -1
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/CHANGELOG.md +0 -469
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/LICENSE +0 -13
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/README.md +0 -1
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/test/dist/chunk-D6YTI3O5.mjs +0 -45
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/test/dist/chunk-D6YTI3O5.mjs.map +0 -1
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/test/dist/graphql-6JDEV3ML.mjs +0 -12082
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/test/dist/graphql-6JDEV3ML.mjs.map +0 -1
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/test/dist/index.d.mts +0 -162
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/test/dist/index.d.ts +0 -162
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/test/dist/index.js +0 -19133
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/test/dist/index.js.map +0 -1
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/test/dist/index.mjs +0 -19079
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/test/dist/index.mjs.map +0 -1
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/secure-json-parse/LICENSE.md +0 -17
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/secure-json-parse/README.md +0 -126
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/secure-json-parse/benchmarks/ignore.js +0 -35
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/secure-json-parse/benchmarks/no__proto__.js +0 -40
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/secure-json-parse/benchmarks/package.json +0 -15
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/secure-json-parse/benchmarks/remove.js +0 -39
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/secure-json-parse/benchmarks/throw.js +0 -49
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/secure-json-parse/benchmarks/valid.js +0 -49
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/secure-json-parse/test/index.test.js +0 -505
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/secure-json-parse/types/index.d.ts +0 -57
- package/node_modules/@opentelemetry/api/LICENSE +0 -201
- package/node_modules/@opentelemetry/api/README.md +0 -116
- package/node_modules/@opentelemetry/api/build/esm/api/context.d.ts +0 -41
- package/node_modules/@opentelemetry/api/build/esm/api/context.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/api/diag.d.ts +0 -30
- package/node_modules/@opentelemetry/api/build/esm/api/diag.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/api/metrics.d.ts +0 -28
- package/node_modules/@opentelemetry/api/build/esm/api/metrics.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/api/propagation.d.ts +0 -49
- package/node_modules/@opentelemetry/api/build/esm/api/propagation.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/api/trace.d.ts +0 -40
- package/node_modules/@opentelemetry/api/build/esm/api/trace.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/baggage/context-helpers.d.ts +0 -29
- package/node_modules/@opentelemetry/api/build/esm/baggage/context-helpers.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/baggage/internal/baggage-impl.d.ts +0 -12
- package/node_modules/@opentelemetry/api/build/esm/baggage/internal/baggage-impl.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/baggage/internal/symbol.d.ts +0 -5
- package/node_modules/@opentelemetry/api/build/esm/baggage/internal/symbol.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/baggage/types.d.ts +0 -60
- package/node_modules/@opentelemetry/api/build/esm/baggage/types.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/baggage/utils.d.ts +0 -15
- package/node_modules/@opentelemetry/api/build/esm/baggage/utils.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/common/Attributes.d.ts +0 -15
- package/node_modules/@opentelemetry/api/build/esm/common/Attributes.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/common/Exception.d.ts +0 -26
- package/node_modules/@opentelemetry/api/build/esm/common/Exception.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/common/Time.d.ts +0 -20
- package/node_modules/@opentelemetry/api/build/esm/common/Time.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/context/NoopContextManager.d.ts +0 -9
- package/node_modules/@opentelemetry/api/build/esm/context/NoopContextManager.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/context/context.d.ts +0 -6
- package/node_modules/@opentelemetry/api/build/esm/context/context.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/context/types.d.ts +0 -52
- package/node_modules/@opentelemetry/api/build/esm/context/types.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/context-api.d.ts +0 -4
- package/node_modules/@opentelemetry/api/build/esm/context-api.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/diag/ComponentLogger.d.ts +0 -20
- package/node_modules/@opentelemetry/api/build/esm/diag/ComponentLogger.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/diag/consoleLogger.d.ts +0 -38
- package/node_modules/@opentelemetry/api/build/esm/diag/consoleLogger.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/diag/internal/logLevelLogger.d.ts +0 -3
- package/node_modules/@opentelemetry/api/build/esm/diag/internal/logLevelLogger.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/diag/internal/noopLogger.d.ts +0 -8
- package/node_modules/@opentelemetry/api/build/esm/diag/internal/noopLogger.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/diag/types.d.ts +0 -100
- package/node_modules/@opentelemetry/api/build/esm/diag/types.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/diag-api.d.ts +0 -9
- package/node_modules/@opentelemetry/api/build/esm/diag-api.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/experimental/index.d.ts +0 -3
- package/node_modules/@opentelemetry/api/build/esm/experimental/index.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/experimental/trace/SugaredOptions.d.ts +0 -13
- package/node_modules/@opentelemetry/api/build/esm/experimental/trace/SugaredOptions.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/experimental/trace/SugaredTracer.d.ts +0 -64
- package/node_modules/@opentelemetry/api/build/esm/experimental/trace/SugaredTracer.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/index.d.ts +0 -54
- package/node_modules/@opentelemetry/api/build/esm/index.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/internal/global-utils.d.ts +0 -18
- package/node_modules/@opentelemetry/api/build/esm/internal/global-utils.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/internal/semver.d.ts +0 -34
- package/node_modules/@opentelemetry/api/build/esm/internal/semver.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/metrics/Meter.d.ts +0 -110
- package/node_modules/@opentelemetry/api/build/esm/metrics/Meter.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/metrics/MeterProvider.d.ts +0 -17
- package/node_modules/@opentelemetry/api/build/esm/metrics/MeterProvider.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/metrics/Metric.d.ts +0 -115
- package/node_modules/@opentelemetry/api/build/esm/metrics/Metric.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/metrics/NoopMeter.d.ts +0 -82
- package/node_modules/@opentelemetry/api/build/esm/metrics/NoopMeter.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/metrics/NoopMeterProvider.d.ts +0 -11
- package/node_modules/@opentelemetry/api/build/esm/metrics/NoopMeterProvider.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/metrics/ObservableResult.d.ts +0 -31
- package/node_modules/@opentelemetry/api/build/esm/metrics/ObservableResult.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/metrics-api.d.ts +0 -4
- package/node_modules/@opentelemetry/api/build/esm/metrics-api.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/platform/browser/globalThis.d.ts +0 -10
- package/node_modules/@opentelemetry/api/build/esm/platform/browser/globalThis.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/platform/browser/index.d.ts +0 -2
- package/node_modules/@opentelemetry/api/build/esm/platform/browser/index.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/platform/index.d.ts +0 -2
- package/node_modules/@opentelemetry/api/build/esm/platform/index.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/platform/node/globalThis.d.ts +0 -3
- package/node_modules/@opentelemetry/api/build/esm/platform/node/globalThis.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/platform/node/index.d.ts +0 -2
- package/node_modules/@opentelemetry/api/build/esm/platform/node/index.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/propagation/NoopTextMapPropagator.d.ts +0 -13
- package/node_modules/@opentelemetry/api/build/esm/propagation/NoopTextMapPropagator.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/propagation/TextMapPropagator.d.ts +0 -84
- package/node_modules/@opentelemetry/api/build/esm/propagation/TextMapPropagator.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/propagation-api.d.ts +0 -4
- package/node_modules/@opentelemetry/api/build/esm/propagation-api.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/NonRecordingSpan.d.ts +0 -28
- package/node_modules/@opentelemetry/api/build/esm/trace/NonRecordingSpan.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/NoopTracer.d.ts +0 -14
- package/node_modules/@opentelemetry/api/build/esm/trace/NoopTracer.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/NoopTracerProvider.d.ts +0 -13
- package/node_modules/@opentelemetry/api/build/esm/trace/NoopTracerProvider.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/ProxyTracer.d.ts +0 -27
- package/node_modules/@opentelemetry/api/build/esm/trace/ProxyTracer.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/ProxyTracerProvider.d.ts +0 -25
- package/node_modules/@opentelemetry/api/build/esm/trace/ProxyTracerProvider.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/Sampler.d.ts +0 -31
- package/node_modules/@opentelemetry/api/build/esm/trace/Sampler.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/SamplingResult.d.ts +0 -49
- package/node_modules/@opentelemetry/api/build/esm/trace/SamplingResult.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/SpanOptions.d.ts +0 -23
- package/node_modules/@opentelemetry/api/build/esm/trace/SpanOptions.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/attributes.d.ts +0 -10
- package/node_modules/@opentelemetry/api/build/esm/trace/attributes.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/context-utils.d.ts +0 -41
- package/node_modules/@opentelemetry/api/build/esm/trace/context-utils.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/internal/tracestate-impl.d.ts +0 -22
- package/node_modules/@opentelemetry/api/build/esm/trace/internal/tracestate-impl.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/internal/tracestate-validators.d.ts +0 -15
- package/node_modules/@opentelemetry/api/build/esm/trace/internal/tracestate-validators.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/internal/utils.d.ts +0 -3
- package/node_modules/@opentelemetry/api/build/esm/trace/internal/utils.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/invalid-span-constants.d.ts +0 -5
- package/node_modules/@opentelemetry/api/build/esm/trace/invalid-span-constants.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/link.d.ts +0 -26
- package/node_modules/@opentelemetry/api/build/esm/trace/link.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/span.d.ts +0 -120
- package/node_modules/@opentelemetry/api/build/esm/trace/span.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/span_context.d.ts +0 -53
- package/node_modules/@opentelemetry/api/build/esm/trace/span_context.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/span_kind.d.ts +0 -27
- package/node_modules/@opentelemetry/api/build/esm/trace/span_kind.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/spancontext-utils.d.ts +0 -17
- package/node_modules/@opentelemetry/api/build/esm/trace/spancontext-utils.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/status.d.ts +0 -25
- package/node_modules/@opentelemetry/api/build/esm/trace/status.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/trace_flags.d.ts +0 -7
- package/node_modules/@opentelemetry/api/build/esm/trace/trace_flags.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/trace_state.d.ts +0 -38
- package/node_modules/@opentelemetry/api/build/esm/trace/trace_state.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/tracer.d.ts +0 -71
- package/node_modules/@opentelemetry/api/build/esm/trace/tracer.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/tracer_options.d.ts +0 -10
- package/node_modules/@opentelemetry/api/build/esm/trace/tracer_options.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/tracer_provider.d.ts +0 -21
- package/node_modules/@opentelemetry/api/build/esm/trace/tracer_provider.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace-api.d.ts +0 -4
- package/node_modules/@opentelemetry/api/build/esm/trace-api.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/version.d.ts +0 -2
- package/node_modules/@opentelemetry/api/build/esm/version.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/api/context.d.ts +0 -41
- package/node_modules/@opentelemetry/api/build/esnext/api/context.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/api/diag.d.ts +0 -30
- package/node_modules/@opentelemetry/api/build/esnext/api/diag.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/api/metrics.d.ts +0 -28
- package/node_modules/@opentelemetry/api/build/esnext/api/metrics.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/api/propagation.d.ts +0 -49
- package/node_modules/@opentelemetry/api/build/esnext/api/propagation.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/api/trace.d.ts +0 -40
- package/node_modules/@opentelemetry/api/build/esnext/api/trace.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/baggage/context-helpers.d.ts +0 -29
- package/node_modules/@opentelemetry/api/build/esnext/baggage/context-helpers.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/baggage/internal/baggage-impl.d.ts +0 -12
- package/node_modules/@opentelemetry/api/build/esnext/baggage/internal/baggage-impl.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/baggage/internal/symbol.d.ts +0 -5
- package/node_modules/@opentelemetry/api/build/esnext/baggage/internal/symbol.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/baggage/types.d.ts +0 -60
- package/node_modules/@opentelemetry/api/build/esnext/baggage/types.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/baggage/utils.d.ts +0 -15
- package/node_modules/@opentelemetry/api/build/esnext/baggage/utils.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/common/Attributes.d.ts +0 -15
- package/node_modules/@opentelemetry/api/build/esnext/common/Attributes.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/common/Exception.d.ts +0 -26
- package/node_modules/@opentelemetry/api/build/esnext/common/Exception.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/common/Time.d.ts +0 -20
- package/node_modules/@opentelemetry/api/build/esnext/common/Time.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/context/NoopContextManager.d.ts +0 -9
- package/node_modules/@opentelemetry/api/build/esnext/context/NoopContextManager.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/context/context.d.ts +0 -6
- package/node_modules/@opentelemetry/api/build/esnext/context/context.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/context/types.d.ts +0 -52
- package/node_modules/@opentelemetry/api/build/esnext/context/types.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/context-api.d.ts +0 -4
- package/node_modules/@opentelemetry/api/build/esnext/context-api.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/diag/ComponentLogger.d.ts +0 -20
- package/node_modules/@opentelemetry/api/build/esnext/diag/ComponentLogger.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/diag/consoleLogger.d.ts +0 -38
- package/node_modules/@opentelemetry/api/build/esnext/diag/consoleLogger.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/diag/internal/logLevelLogger.d.ts +0 -3
- package/node_modules/@opentelemetry/api/build/esnext/diag/internal/logLevelLogger.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/diag/internal/noopLogger.d.ts +0 -8
- package/node_modules/@opentelemetry/api/build/esnext/diag/internal/noopLogger.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/diag/types.d.ts +0 -100
- package/node_modules/@opentelemetry/api/build/esnext/diag/types.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/diag-api.d.ts +0 -9
- package/node_modules/@opentelemetry/api/build/esnext/diag-api.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/experimental/index.d.ts +0 -3
- package/node_modules/@opentelemetry/api/build/esnext/experimental/index.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/experimental/trace/SugaredOptions.d.ts +0 -13
- package/node_modules/@opentelemetry/api/build/esnext/experimental/trace/SugaredOptions.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/experimental/trace/SugaredTracer.d.ts +0 -64
- package/node_modules/@opentelemetry/api/build/esnext/experimental/trace/SugaredTracer.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/index.d.ts +0 -54
- package/node_modules/@opentelemetry/api/build/esnext/index.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/internal/global-utils.d.ts +0 -18
- package/node_modules/@opentelemetry/api/build/esnext/internal/global-utils.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/internal/semver.d.ts +0 -34
- package/node_modules/@opentelemetry/api/build/esnext/internal/semver.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/metrics/Meter.d.ts +0 -110
- package/node_modules/@opentelemetry/api/build/esnext/metrics/Meter.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/metrics/MeterProvider.d.ts +0 -17
- package/node_modules/@opentelemetry/api/build/esnext/metrics/MeterProvider.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/metrics/Metric.d.ts +0 -115
- package/node_modules/@opentelemetry/api/build/esnext/metrics/Metric.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/metrics/NoopMeter.d.ts +0 -82
- package/node_modules/@opentelemetry/api/build/esnext/metrics/NoopMeter.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/metrics/NoopMeterProvider.d.ts +0 -11
- package/node_modules/@opentelemetry/api/build/esnext/metrics/NoopMeterProvider.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/metrics/ObservableResult.d.ts +0 -31
- package/node_modules/@opentelemetry/api/build/esnext/metrics/ObservableResult.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/metrics-api.d.ts +0 -4
- package/node_modules/@opentelemetry/api/build/esnext/metrics-api.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/platform/browser/globalThis.d.ts +0 -10
- package/node_modules/@opentelemetry/api/build/esnext/platform/browser/globalThis.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/platform/browser/index.d.ts +0 -2
- package/node_modules/@opentelemetry/api/build/esnext/platform/browser/index.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/platform/index.d.ts +0 -2
- package/node_modules/@opentelemetry/api/build/esnext/platform/index.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/platform/node/globalThis.d.ts +0 -3
- package/node_modules/@opentelemetry/api/build/esnext/platform/node/globalThis.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/platform/node/index.d.ts +0 -2
- package/node_modules/@opentelemetry/api/build/esnext/platform/node/index.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/propagation/NoopTextMapPropagator.d.ts +0 -13
- package/node_modules/@opentelemetry/api/build/esnext/propagation/NoopTextMapPropagator.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/propagation/TextMapPropagator.d.ts +0 -84
- package/node_modules/@opentelemetry/api/build/esnext/propagation/TextMapPropagator.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/propagation-api.d.ts +0 -4
- package/node_modules/@opentelemetry/api/build/esnext/propagation-api.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/NonRecordingSpan.d.ts +0 -28
- package/node_modules/@opentelemetry/api/build/esnext/trace/NonRecordingSpan.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/NoopTracer.d.ts +0 -14
- package/node_modules/@opentelemetry/api/build/esnext/trace/NoopTracer.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/NoopTracerProvider.d.ts +0 -13
- package/node_modules/@opentelemetry/api/build/esnext/trace/NoopTracerProvider.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/ProxyTracer.d.ts +0 -27
- package/node_modules/@opentelemetry/api/build/esnext/trace/ProxyTracer.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/ProxyTracerProvider.d.ts +0 -25
- package/node_modules/@opentelemetry/api/build/esnext/trace/ProxyTracerProvider.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/Sampler.d.ts +0 -31
- package/node_modules/@opentelemetry/api/build/esnext/trace/Sampler.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/SamplingResult.d.ts +0 -49
- package/node_modules/@opentelemetry/api/build/esnext/trace/SamplingResult.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/SpanOptions.d.ts +0 -23
- package/node_modules/@opentelemetry/api/build/esnext/trace/SpanOptions.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/attributes.d.ts +0 -10
- package/node_modules/@opentelemetry/api/build/esnext/trace/attributes.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/context-utils.d.ts +0 -41
- package/node_modules/@opentelemetry/api/build/esnext/trace/context-utils.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/internal/tracestate-impl.d.ts +0 -22
- package/node_modules/@opentelemetry/api/build/esnext/trace/internal/tracestate-impl.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/internal/tracestate-validators.d.ts +0 -15
- package/node_modules/@opentelemetry/api/build/esnext/trace/internal/tracestate-validators.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/internal/utils.d.ts +0 -3
- package/node_modules/@opentelemetry/api/build/esnext/trace/internal/utils.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/invalid-span-constants.d.ts +0 -5
- package/node_modules/@opentelemetry/api/build/esnext/trace/invalid-span-constants.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/link.d.ts +0 -26
- package/node_modules/@opentelemetry/api/build/esnext/trace/link.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/span.d.ts +0 -120
- package/node_modules/@opentelemetry/api/build/esnext/trace/span.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/span_context.d.ts +0 -53
- package/node_modules/@opentelemetry/api/build/esnext/trace/span_context.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/span_kind.d.ts +0 -27
- package/node_modules/@opentelemetry/api/build/esnext/trace/span_kind.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/spancontext-utils.d.ts +0 -17
- package/node_modules/@opentelemetry/api/build/esnext/trace/spancontext-utils.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/status.d.ts +0 -25
- package/node_modules/@opentelemetry/api/build/esnext/trace/status.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/trace_flags.d.ts +0 -7
- package/node_modules/@opentelemetry/api/build/esnext/trace/trace_flags.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/trace_state.d.ts +0 -38
- package/node_modules/@opentelemetry/api/build/esnext/trace/trace_state.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/tracer.d.ts +0 -71
- package/node_modules/@opentelemetry/api/build/esnext/trace/tracer.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/tracer_options.d.ts +0 -10
- package/node_modules/@opentelemetry/api/build/esnext/trace/tracer_options.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/tracer_provider.d.ts +0 -21
- package/node_modules/@opentelemetry/api/build/esnext/trace/tracer_provider.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace-api.d.ts +0 -4
- package/node_modules/@opentelemetry/api/build/esnext/trace-api.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/version.d.ts +0 -2
- package/node_modules/@opentelemetry/api/build/esnext/version.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/api/context.d.ts +0 -41
- package/node_modules/@opentelemetry/api/build/src/api/context.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/api/diag.d.ts +0 -30
- package/node_modules/@opentelemetry/api/build/src/api/diag.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/api/metrics.d.ts +0 -28
- package/node_modules/@opentelemetry/api/build/src/api/metrics.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/api/propagation.d.ts +0 -49
- package/node_modules/@opentelemetry/api/build/src/api/propagation.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/api/trace.d.ts +0 -40
- package/node_modules/@opentelemetry/api/build/src/api/trace.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/baggage/context-helpers.d.ts +0 -29
- package/node_modules/@opentelemetry/api/build/src/baggage/context-helpers.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/baggage/internal/baggage-impl.d.ts +0 -12
- package/node_modules/@opentelemetry/api/build/src/baggage/internal/baggage-impl.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/baggage/internal/symbol.d.ts +0 -5
- package/node_modules/@opentelemetry/api/build/src/baggage/internal/symbol.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/baggage/types.d.ts +0 -60
- package/node_modules/@opentelemetry/api/build/src/baggage/types.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/baggage/utils.d.ts +0 -15
- package/node_modules/@opentelemetry/api/build/src/baggage/utils.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/common/Attributes.d.ts +0 -15
- package/node_modules/@opentelemetry/api/build/src/common/Attributes.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/common/Exception.d.ts +0 -26
- package/node_modules/@opentelemetry/api/build/src/common/Exception.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/common/Time.d.ts +0 -20
- package/node_modules/@opentelemetry/api/build/src/common/Time.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/context/NoopContextManager.d.ts +0 -9
- package/node_modules/@opentelemetry/api/build/src/context/NoopContextManager.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/context/context.d.ts +0 -6
- package/node_modules/@opentelemetry/api/build/src/context/context.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/context/types.d.ts +0 -52
- package/node_modules/@opentelemetry/api/build/src/context/types.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/context-api.d.ts +0 -4
- package/node_modules/@opentelemetry/api/build/src/context-api.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/diag/ComponentLogger.d.ts +0 -20
- package/node_modules/@opentelemetry/api/build/src/diag/ComponentLogger.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/diag/consoleLogger.d.ts +0 -38
- package/node_modules/@opentelemetry/api/build/src/diag/consoleLogger.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/diag/internal/logLevelLogger.d.ts +0 -3
- package/node_modules/@opentelemetry/api/build/src/diag/internal/logLevelLogger.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/diag/internal/noopLogger.d.ts +0 -8
- package/node_modules/@opentelemetry/api/build/src/diag/internal/noopLogger.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/diag/types.d.ts +0 -100
- package/node_modules/@opentelemetry/api/build/src/diag/types.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/diag-api.d.ts +0 -9
- package/node_modules/@opentelemetry/api/build/src/diag-api.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/experimental/index.d.ts +0 -3
- package/node_modules/@opentelemetry/api/build/src/experimental/index.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/experimental/trace/SugaredOptions.d.ts +0 -13
- package/node_modules/@opentelemetry/api/build/src/experimental/trace/SugaredOptions.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/experimental/trace/SugaredTracer.d.ts +0 -64
- package/node_modules/@opentelemetry/api/build/src/experimental/trace/SugaredTracer.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/index.d.ts +0 -54
- package/node_modules/@opentelemetry/api/build/src/index.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/internal/global-utils.d.ts +0 -18
- package/node_modules/@opentelemetry/api/build/src/internal/global-utils.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/internal/semver.d.ts +0 -34
- package/node_modules/@opentelemetry/api/build/src/internal/semver.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/metrics/Meter.d.ts +0 -110
- package/node_modules/@opentelemetry/api/build/src/metrics/Meter.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/metrics/MeterProvider.d.ts +0 -17
- package/node_modules/@opentelemetry/api/build/src/metrics/MeterProvider.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/metrics/Metric.d.ts +0 -115
- package/node_modules/@opentelemetry/api/build/src/metrics/Metric.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/metrics/NoopMeter.d.ts +0 -82
- package/node_modules/@opentelemetry/api/build/src/metrics/NoopMeter.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/metrics/NoopMeterProvider.d.ts +0 -11
- package/node_modules/@opentelemetry/api/build/src/metrics/NoopMeterProvider.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/metrics/ObservableResult.d.ts +0 -31
- package/node_modules/@opentelemetry/api/build/src/metrics/ObservableResult.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/metrics-api.d.ts +0 -4
- package/node_modules/@opentelemetry/api/build/src/metrics-api.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/platform/browser/globalThis.d.ts +0 -10
- package/node_modules/@opentelemetry/api/build/src/platform/browser/globalThis.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/platform/browser/index.d.ts +0 -2
- package/node_modules/@opentelemetry/api/build/src/platform/browser/index.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/platform/index.d.ts +0 -2
- package/node_modules/@opentelemetry/api/build/src/platform/index.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/platform/node/globalThis.d.ts +0 -3
- package/node_modules/@opentelemetry/api/build/src/platform/node/globalThis.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/platform/node/index.d.ts +0 -2
- package/node_modules/@opentelemetry/api/build/src/platform/node/index.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/propagation/NoopTextMapPropagator.d.ts +0 -13
- package/node_modules/@opentelemetry/api/build/src/propagation/NoopTextMapPropagator.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/propagation/TextMapPropagator.d.ts +0 -84
- package/node_modules/@opentelemetry/api/build/src/propagation/TextMapPropagator.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/propagation-api.d.ts +0 -4
- package/node_modules/@opentelemetry/api/build/src/propagation-api.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/NonRecordingSpan.d.ts +0 -28
- package/node_modules/@opentelemetry/api/build/src/trace/NonRecordingSpan.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/NoopTracer.d.ts +0 -14
- package/node_modules/@opentelemetry/api/build/src/trace/NoopTracer.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/NoopTracerProvider.d.ts +0 -13
- package/node_modules/@opentelemetry/api/build/src/trace/NoopTracerProvider.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/ProxyTracer.d.ts +0 -27
- package/node_modules/@opentelemetry/api/build/src/trace/ProxyTracer.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/ProxyTracerProvider.d.ts +0 -25
- package/node_modules/@opentelemetry/api/build/src/trace/ProxyTracerProvider.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/Sampler.d.ts +0 -31
- package/node_modules/@opentelemetry/api/build/src/trace/Sampler.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/SamplingResult.d.ts +0 -49
- package/node_modules/@opentelemetry/api/build/src/trace/SamplingResult.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/SpanOptions.d.ts +0 -23
- package/node_modules/@opentelemetry/api/build/src/trace/SpanOptions.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/attributes.d.ts +0 -10
- package/node_modules/@opentelemetry/api/build/src/trace/attributes.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/context-utils.d.ts +0 -41
- package/node_modules/@opentelemetry/api/build/src/trace/context-utils.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/internal/tracestate-impl.d.ts +0 -22
- package/node_modules/@opentelemetry/api/build/src/trace/internal/tracestate-impl.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/internal/tracestate-validators.d.ts +0 -15
- package/node_modules/@opentelemetry/api/build/src/trace/internal/tracestate-validators.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/internal/utils.d.ts +0 -3
- package/node_modules/@opentelemetry/api/build/src/trace/internal/utils.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/invalid-span-constants.d.ts +0 -5
- package/node_modules/@opentelemetry/api/build/src/trace/invalid-span-constants.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/link.d.ts +0 -26
- package/node_modules/@opentelemetry/api/build/src/trace/link.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/span.d.ts +0 -120
- package/node_modules/@opentelemetry/api/build/src/trace/span.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/span_context.d.ts +0 -53
- package/node_modules/@opentelemetry/api/build/src/trace/span_context.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/span_kind.d.ts +0 -27
- package/node_modules/@opentelemetry/api/build/src/trace/span_kind.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/spancontext-utils.d.ts +0 -17
- package/node_modules/@opentelemetry/api/build/src/trace/spancontext-utils.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/status.d.ts +0 -25
- package/node_modules/@opentelemetry/api/build/src/trace/status.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/trace_flags.d.ts +0 -7
- package/node_modules/@opentelemetry/api/build/src/trace/trace_flags.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/trace_state.d.ts +0 -38
- package/node_modules/@opentelemetry/api/build/src/trace/trace_state.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/tracer.d.ts +0 -71
- package/node_modules/@opentelemetry/api/build/src/trace/tracer.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/tracer_options.d.ts +0 -10
- package/node_modules/@opentelemetry/api/build/src/trace/tracer_options.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/tracer_provider.d.ts +0 -21
- package/node_modules/@opentelemetry/api/build/src/trace/tracer_provider.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace-api.d.ts +0 -4
- package/node_modules/@opentelemetry/api/build/src/trace-api.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/version.d.ts +0 -2
- package/node_modules/@opentelemetry/api/build/src/version.js.map +0 -1
- package/node_modules/@pinojs/redact/LICENSE +0 -21
- package/node_modules/@pinojs/redact/README.md +0 -350
- package/node_modules/@pinojs/redact/benchmarks/basic.js +0 -184
- package/node_modules/@pinojs/redact/index.d.ts +0 -52
- package/node_modules/@pinojs/redact/test/actual-redact-comparison.test.js +0 -211
- package/node_modules/@pinojs/redact/test/index.test.js +0 -824
- package/node_modules/@pinojs/redact/test/integration.test.js +0 -390
- package/node_modules/@pinojs/redact/test/multiple-wildcards.test.js +0 -227
- package/node_modules/@pinojs/redact/test/prototype-pollution.test.js +0 -223
- package/node_modules/@pinojs/redact/test/selective-clone.test.js +0 -115
- package/node_modules/@stablelib/base64/LICENSE +0 -21
- package/node_modules/@stablelib/base64/lib/base64.bench.d.ts +0 -1
- package/node_modules/@stablelib/base64/lib/base64.bench.js.map +0 -1
- package/node_modules/@stablelib/base64/lib/base64.d.ts +0 -34
- package/node_modules/@stablelib/base64/lib/base64.js.map +0 -1
- package/node_modules/@stablelib/base64/lib/base64.test.d.ts +0 -1
- package/node_modules/@stablelib/base64/lib/base64.test.js.map +0 -1
- package/node_modules/@standard-schema/spec/LICENSE +0 -21
- package/node_modules/@standard-schema/spec/README.md +0 -198
- package/node_modules/@stricli/core/README.md +0 -9
- package/node_modules/@tanstack/query-core/LICENSE +0 -21
- package/node_modules/@tanstack/query-core/build/legacy/chunk-PXG64RU4.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/focusManager.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/focusManager.d.cts +0 -17
- package/node_modules/@tanstack/query-core/build/legacy/focusManager.d.ts +0 -17
- package/node_modules/@tanstack/query-core/build/legacy/focusManager.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/hydration-BD1pRmcy.d.cts +0 -1384
- package/node_modules/@tanstack/query-core/build/legacy/hydration-C-jfQLut.d.ts +0 -1384
- package/node_modules/@tanstack/query-core/build/legacy/hydration.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/hydration.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/hydration.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/hydration.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/index.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/index.d.cts +0 -10
- package/node_modules/@tanstack/query-core/build/legacy/index.d.ts +0 -10
- package/node_modules/@tanstack/query-core/build/legacy/index.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/infiniteQueryBehavior.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/infiniteQueryBehavior.d.cts +0 -15
- package/node_modules/@tanstack/query-core/build/legacy/infiniteQueryBehavior.d.ts +0 -15
- package/node_modules/@tanstack/query-core/build/legacy/infiniteQueryBehavior.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/infiniteQueryObserver.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/infiniteQueryObserver.d.cts +0 -20
- package/node_modules/@tanstack/query-core/build/legacy/infiniteQueryObserver.d.ts +0 -20
- package/node_modules/@tanstack/query-core/build/legacy/infiniteQueryObserver.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/mutation.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/mutation.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/mutation.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/mutation.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/mutationCache.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/mutationCache.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/mutationCache.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/mutationCache.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/mutationObserver.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/mutationObserver.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/mutationObserver.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/mutationObserver.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/notifyManager.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/notifyManager.d.cts +0 -46
- package/node_modules/@tanstack/query-core/build/legacy/notifyManager.d.ts +0 -46
- package/node_modules/@tanstack/query-core/build/legacy/notifyManager.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/onlineManager.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/onlineManager.d.cts +0 -16
- package/node_modules/@tanstack/query-core/build/legacy/onlineManager.d.ts +0 -16
- package/node_modules/@tanstack/query-core/build/legacy/onlineManager.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/queriesObserver.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/queriesObserver.d.cts +0 -27
- package/node_modules/@tanstack/query-core/build/legacy/queriesObserver.d.ts +0 -27
- package/node_modules/@tanstack/query-core/build/legacy/queriesObserver.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/query.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/query.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/query.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/query.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/queryCache.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/queryCache.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/queryCache.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/queryCache.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/queryClient.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/queryClient.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/queryClient.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/queryClient.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/queryObserver.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/queryObserver.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/queryObserver.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/queryObserver.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/removable.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/removable.d.cts +0 -11
- package/node_modules/@tanstack/query-core/build/legacy/removable.d.ts +0 -11
- package/node_modules/@tanstack/query-core/build/legacy/removable.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/retryer.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/retryer.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/retryer.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/retryer.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/streamedQuery.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/streamedQuery.d.cts +0 -34
- package/node_modules/@tanstack/query-core/build/legacy/streamedQuery.d.ts +0 -34
- package/node_modules/@tanstack/query-core/build/legacy/streamedQuery.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/subscribable.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/subscribable.d.cts +0 -10
- package/node_modules/@tanstack/query-core/build/legacy/subscribable.d.ts +0 -10
- package/node_modules/@tanstack/query-core/build/legacy/subscribable.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/thenable.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/thenable.d.cts +0 -47
- package/node_modules/@tanstack/query-core/build/legacy/thenable.d.ts +0 -47
- package/node_modules/@tanstack/query-core/build/legacy/thenable.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/timeoutManager.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/timeoutManager.d.cts +0 -58
- package/node_modules/@tanstack/query-core/build/legacy/timeoutManager.d.ts +0 -58
- package/node_modules/@tanstack/query-core/build/legacy/timeoutManager.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/types.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/types.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/types.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/types.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/utils.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/utils.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/utils.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/utils.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/focusManager.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/focusManager.d.cts +0 -17
- package/node_modules/@tanstack/query-core/build/modern/focusManager.d.ts +0 -17
- package/node_modules/@tanstack/query-core/build/modern/focusManager.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/hydration-BD1pRmcy.d.cts +0 -1384
- package/node_modules/@tanstack/query-core/build/modern/hydration-C-jfQLut.d.ts +0 -1384
- package/node_modules/@tanstack/query-core/build/modern/hydration.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/hydration.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/hydration.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/hydration.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/index.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/index.d.cts +0 -10
- package/node_modules/@tanstack/query-core/build/modern/index.d.ts +0 -10
- package/node_modules/@tanstack/query-core/build/modern/index.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.d.cts +0 -15
- package/node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.d.ts +0 -15
- package/node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/infiniteQueryObserver.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/infiniteQueryObserver.d.cts +0 -20
- package/node_modules/@tanstack/query-core/build/modern/infiniteQueryObserver.d.ts +0 -20
- package/node_modules/@tanstack/query-core/build/modern/infiniteQueryObserver.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/mutation.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/mutation.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/mutation.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/mutation.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/mutationCache.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/mutationCache.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/mutationCache.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/mutationCache.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/mutationObserver.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/mutationObserver.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/mutationObserver.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/mutationObserver.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/notifyManager.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/notifyManager.d.cts +0 -46
- package/node_modules/@tanstack/query-core/build/modern/notifyManager.d.ts +0 -46
- package/node_modules/@tanstack/query-core/build/modern/notifyManager.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/onlineManager.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/onlineManager.d.cts +0 -16
- package/node_modules/@tanstack/query-core/build/modern/onlineManager.d.ts +0 -16
- package/node_modules/@tanstack/query-core/build/modern/onlineManager.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/queriesObserver.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/queriesObserver.d.cts +0 -27
- package/node_modules/@tanstack/query-core/build/modern/queriesObserver.d.ts +0 -27
- package/node_modules/@tanstack/query-core/build/modern/queriesObserver.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/query.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/query.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/query.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/query.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/queryCache.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/queryCache.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/queryCache.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/queryCache.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/queryClient.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/queryClient.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/queryClient.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/queryClient.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/queryObserver.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/queryObserver.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/queryObserver.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/queryObserver.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/removable.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/removable.d.cts +0 -11
- package/node_modules/@tanstack/query-core/build/modern/removable.d.ts +0 -11
- package/node_modules/@tanstack/query-core/build/modern/removable.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/retryer.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/retryer.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/retryer.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/retryer.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/streamedQuery.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/streamedQuery.d.cts +0 -34
- package/node_modules/@tanstack/query-core/build/modern/streamedQuery.d.ts +0 -34
- package/node_modules/@tanstack/query-core/build/modern/streamedQuery.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/subscribable.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/subscribable.d.cts +0 -10
- package/node_modules/@tanstack/query-core/build/modern/subscribable.d.ts +0 -10
- package/node_modules/@tanstack/query-core/build/modern/subscribable.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/thenable.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/thenable.d.cts +0 -47
- package/node_modules/@tanstack/query-core/build/modern/thenable.d.ts +0 -47
- package/node_modules/@tanstack/query-core/build/modern/thenable.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/timeoutManager.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/timeoutManager.d.cts +0 -58
- package/node_modules/@tanstack/query-core/build/modern/timeoutManager.d.ts +0 -58
- package/node_modules/@tanstack/query-core/build/modern/timeoutManager.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/types.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/types.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/types.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/types.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/utils.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/utils.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/utils.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/utils.js.map +0 -1
- package/node_modules/@vercel/oidc/CHANGELOG.md +0 -83
- package/node_modules/@vercel/oidc/LICENSE +0 -202
- package/node_modules/@vercel/oidc/README.md +0 -3
- package/node_modules/@vercel/oidc/docs/README.md +0 -104
- package/node_modules/abstract-logging/Readme.md +0 -47
- package/node_modules/agent-base/LICENSE +0 -22
- package/node_modules/agent-base/README.md +0 -69
- package/node_modules/ai/CHANGELOG.md +0 -7568
- package/node_modules/ai/LICENSE +0 -13
- package/node_modules/ai/README.md +0 -238
- package/node_modules/ai/dist/test/index.d.mts +0 -133
- package/node_modules/ai/dist/test/index.d.ts +0 -133
- package/node_modules/ai/dist/test/index.js +0 -275
- package/node_modules/ai/dist/test/index.js.map +0 -1
- package/node_modules/ai/dist/test/index.mjs +0 -245
- package/node_modules/ai/dist/test/index.mjs.map +0 -1
- package/node_modules/ai/docs/00-introduction/index.mdx +0 -76
- package/node_modules/ai/docs/02-foundations/01-overview.mdx +0 -43
- package/node_modules/ai/docs/02-foundations/02-providers-and-models.mdx +0 -160
- package/node_modules/ai/docs/02-foundations/03-prompts.mdx +0 -616
- package/node_modules/ai/docs/02-foundations/04-tools.mdx +0 -251
- package/node_modules/ai/docs/02-foundations/05-streaming.mdx +0 -62
- package/node_modules/ai/docs/02-foundations/06-provider-options.mdx +0 -337
- package/node_modules/ai/docs/02-foundations/index.mdx +0 -49
- package/node_modules/ai/docs/02-getting-started/00-choosing-a-provider.mdx +0 -110
- package/node_modules/ai/docs/02-getting-started/01-navigating-the-library.mdx +0 -85
- package/node_modules/ai/docs/02-getting-started/02-nextjs-app-router.mdx +0 -559
- package/node_modules/ai/docs/02-getting-started/03-nextjs-pages-router.mdx +0 -542
- package/node_modules/ai/docs/02-getting-started/04-svelte.mdx +0 -627
- package/node_modules/ai/docs/02-getting-started/05-nuxt.mdx +0 -566
- package/node_modules/ai/docs/02-getting-started/06-nodejs.mdx +0 -512
- package/node_modules/ai/docs/02-getting-started/07-expo.mdx +0 -766
- package/node_modules/ai/docs/02-getting-started/08-tanstack-start.mdx +0 -583
- package/node_modules/ai/docs/02-getting-started/09-coding-agents.mdx +0 -179
- package/node_modules/ai/docs/02-getting-started/index.mdx +0 -44
- package/node_modules/ai/docs/03-agents/01-overview.mdx +0 -94
- package/node_modules/ai/docs/03-agents/02-building-agents.mdx +0 -406
- package/node_modules/ai/docs/03-agents/03-workflows.mdx +0 -386
- package/node_modules/ai/docs/03-agents/04-loop-control.mdx +0 -427
- package/node_modules/ai/docs/03-agents/05-configuring-call-options.mdx +0 -286
- package/node_modules/ai/docs/03-agents/06-memory.mdx +0 -221
- package/node_modules/ai/docs/03-agents/06-subagents.mdx +0 -362
- package/node_modules/ai/docs/03-agents/index.mdx +0 -46
- package/node_modules/ai/docs/03-ai-sdk-core/01-overview.mdx +0 -31
- package/node_modules/ai/docs/03-ai-sdk-core/05-generating-text.mdx +0 -707
- package/node_modules/ai/docs/03-ai-sdk-core/10-generating-structured-data.mdx +0 -498
- package/node_modules/ai/docs/03-ai-sdk-core/15-tools-and-tool-calling.mdx +0 -1156
- package/node_modules/ai/docs/03-ai-sdk-core/16-mcp-tools.mdx +0 -383
- package/node_modules/ai/docs/03-ai-sdk-core/20-prompt-engineering.mdx +0 -146
- package/node_modules/ai/docs/03-ai-sdk-core/25-settings.mdx +0 -198
- package/node_modules/ai/docs/03-ai-sdk-core/30-embeddings.mdx +0 -246
- package/node_modules/ai/docs/03-ai-sdk-core/31-reranking.mdx +0 -218
- package/node_modules/ai/docs/03-ai-sdk-core/35-image-generation.mdx +0 -341
- package/node_modules/ai/docs/03-ai-sdk-core/36-transcription.mdx +0 -227
- package/node_modules/ai/docs/03-ai-sdk-core/37-speech.mdx +0 -169
- package/node_modules/ai/docs/03-ai-sdk-core/38-video-generation.mdx +0 -366
- package/node_modules/ai/docs/03-ai-sdk-core/40-middleware.mdx +0 -485
- package/node_modules/ai/docs/03-ai-sdk-core/45-provider-management.mdx +0 -349
- package/node_modules/ai/docs/03-ai-sdk-core/50-error-handling.mdx +0 -149
- package/node_modules/ai/docs/03-ai-sdk-core/55-testing.mdx +0 -219
- package/node_modules/ai/docs/03-ai-sdk-core/60-telemetry.mdx +0 -391
- package/node_modules/ai/docs/03-ai-sdk-core/65-devtools.mdx +0 -107
- package/node_modules/ai/docs/03-ai-sdk-core/65-event-listeners.mdx +0 -915
- package/node_modules/ai/docs/03-ai-sdk-core/index.mdx +0 -93
- package/node_modules/ai/docs/04-ai-sdk-ui/01-overview.mdx +0 -44
- package/node_modules/ai/docs/04-ai-sdk-ui/02-chatbot.mdx +0 -1313
- package/node_modules/ai/docs/04-ai-sdk-ui/03-chatbot-message-persistence.mdx +0 -535
- package/node_modules/ai/docs/04-ai-sdk-ui/03-chatbot-resume-streams.mdx +0 -263
- package/node_modules/ai/docs/04-ai-sdk-ui/03-chatbot-tool-usage.mdx +0 -682
- package/node_modules/ai/docs/04-ai-sdk-ui/04-generative-user-interfaces.mdx +0 -389
- package/node_modules/ai/docs/04-ai-sdk-ui/05-completion.mdx +0 -181
- package/node_modules/ai/docs/04-ai-sdk-ui/08-object-generation.mdx +0 -344
- package/node_modules/ai/docs/04-ai-sdk-ui/20-streaming-data.mdx +0 -397
- package/node_modules/ai/docs/04-ai-sdk-ui/21-error-handling.mdx +0 -190
- package/node_modules/ai/docs/04-ai-sdk-ui/21-transport.mdx +0 -174
- package/node_modules/ai/docs/04-ai-sdk-ui/24-reading-ui-message-streams.mdx +0 -104
- package/node_modules/ai/docs/04-ai-sdk-ui/25-message-metadata.mdx +0 -152
- package/node_modules/ai/docs/04-ai-sdk-ui/50-stream-protocol.mdx +0 -477
- package/node_modules/ai/docs/04-ai-sdk-ui/index.mdx +0 -64
- package/node_modules/ai/docs/05-ai-sdk-rsc/01-overview.mdx +0 -45
- package/node_modules/ai/docs/05-ai-sdk-rsc/02-streaming-react-components.mdx +0 -209
- package/node_modules/ai/docs/05-ai-sdk-rsc/03-generative-ui-state.mdx +0 -279
- package/node_modules/ai/docs/05-ai-sdk-rsc/03-saving-and-restoring-states.mdx +0 -105
- package/node_modules/ai/docs/05-ai-sdk-rsc/04-multistep-interfaces.mdx +0 -282
- package/node_modules/ai/docs/05-ai-sdk-rsc/05-streaming-values.mdx +0 -157
- package/node_modules/ai/docs/05-ai-sdk-rsc/06-loading-state.mdx +0 -273
- package/node_modules/ai/docs/05-ai-sdk-rsc/08-error-handling.mdx +0 -94
- package/node_modules/ai/docs/05-ai-sdk-rsc/09-authentication.mdx +0 -42
- package/node_modules/ai/docs/05-ai-sdk-rsc/10-migrating-to-ui.mdx +0 -722
- package/node_modules/ai/docs/05-ai-sdk-rsc/index.mdx +0 -63
- package/node_modules/ai/docs/06-advanced/01-prompt-engineering.mdx +0 -96
- package/node_modules/ai/docs/06-advanced/02-stopping-streams.mdx +0 -184
- package/node_modules/ai/docs/06-advanced/03-backpressure.mdx +0 -173
- package/node_modules/ai/docs/06-advanced/04-caching.mdx +0 -169
- package/node_modules/ai/docs/06-advanced/05-multiple-streamables.mdx +0 -68
- package/node_modules/ai/docs/06-advanced/06-rate-limiting.mdx +0 -60
- package/node_modules/ai/docs/06-advanced/07-rendering-ui-with-language-models.mdx +0 -225
- package/node_modules/ai/docs/06-advanced/08-model-as-router.mdx +0 -120
- package/node_modules/ai/docs/06-advanced/09-multistep-interfaces.mdx +0 -115
- package/node_modules/ai/docs/06-advanced/09-sequential-generations.mdx +0 -55
- package/node_modules/ai/docs/06-advanced/10-vercel-deployment-guide.mdx +0 -117
- package/node_modules/ai/docs/06-advanced/index.mdx +0 -11
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/01-generate-text.mdx +0 -2715
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/02-stream-text.mdx +0 -3656
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/05-embed.mdx +0 -197
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/06-embed-many.mdx +0 -191
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/06-rerank.mdx +0 -309
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/10-generate-image.mdx +0 -252
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/11-transcribe.mdx +0 -152
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/12-generate-speech.mdx +0 -221
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/13-generate-video.mdx +0 -265
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/15-agent.mdx +0 -210
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/16-tool-loop-agent.mdx +0 -498
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/17-create-agent-ui-stream.mdx +0 -154
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/18-create-agent-ui-stream-response.mdx +0 -173
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/18-pipe-agent-ui-stream-to-response.mdx +0 -150
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/20-tool.mdx +0 -209
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/22-dynamic-tool.mdx +0 -223
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/23-create-mcp-client.mdx +0 -423
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/24-mcp-stdio-transport.mdx +0 -68
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/25-json-schema.mdx +0 -94
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/26-zod-schema.mdx +0 -109
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/27-valibot-schema.mdx +0 -58
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/28-output.mdx +0 -342
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/30-model-message.mdx +0 -415
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/31-ui-message.mdx +0 -246
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/32-validate-ui-messages.mdx +0 -101
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/33-safe-validate-ui-messages.mdx +0 -113
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/40-provider-registry.mdx +0 -198
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/42-custom-provider.mdx +0 -157
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/50-cosine-similarity.mdx +0 -52
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/60-wrap-language-model.mdx +0 -59
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/61-wrap-image-model.mdx +0 -64
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/65-language-model-v2-middleware.mdx +0 -74
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/66-extract-reasoning-middleware.mdx +0 -68
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/67-simulate-streaming-middleware.mdx +0 -71
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/68-default-settings-middleware.mdx +0 -80
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/69-add-tool-input-examples-middleware.mdx +0 -155
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/70-extract-json-middleware.mdx +0 -147
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/70-step-count-is.mdx +0 -84
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/71-has-tool-call.mdx +0 -120
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/72-loop-finished.mdx +0 -83
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/75-simulate-readable-stream.mdx +0 -94
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/80-smooth-stream.mdx +0 -145
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/90-generate-id.mdx +0 -30
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/91-create-id-generator.mdx +0 -89
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/92-default-generated-file.mdx +0 -68
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/index.mdx +0 -178
- package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/01-use-chat.mdx +0 -493
- package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/02-use-completion.mdx +0 -185
- package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/03-use-object.mdx +0 -196
- package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/31-convert-to-model-messages.mdx +0 -231
- package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/32-prune-messages.mdx +0 -108
- package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/40-create-ui-message-stream.mdx +0 -162
- package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/41-create-ui-message-stream-response.mdx +0 -119
- package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/42-pipe-ui-message-stream-to-response.mdx +0 -77
- package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/43-read-ui-message-stream.mdx +0 -57
- package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/46-infer-ui-tools.mdx +0 -99
- package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/47-infer-ui-tool.mdx +0 -75
- package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/50-direct-chat-transport.mdx +0 -333
- package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/index.mdx +0 -89
- package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/01-stream-ui.mdx +0 -767
- package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/02-create-ai.mdx +0 -90
- package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/03-create-streamable-ui.mdx +0 -91
- package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/04-create-streamable-value.mdx +0 -78
- package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/05-read-streamable-value.mdx +0 -79
- package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/06-get-ai-state.mdx +0 -50
- package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/07-get-mutable-ai-state.mdx +0 -70
- package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/08-use-ai-state.mdx +0 -26
- package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/09-use-actions.mdx +0 -42
- package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/10-use-ui-state.mdx +0 -35
- package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/11-use-streamable-value.mdx +0 -46
- package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/20-render.mdx +0 -266
- package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/index.mdx +0 -67
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-api-call-error.mdx +0 -31
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-download-error.mdx +0 -28
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-empty-response-body-error.mdx +0 -24
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-invalid-argument-error.mdx +0 -26
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-invalid-data-content-error.mdx +0 -26
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-invalid-message-role-error.mdx +0 -25
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-invalid-prompt-error.mdx +0 -47
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-invalid-response-data-error.mdx +0 -25
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-invalid-tool-approval-error.mdx +0 -24
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-invalid-tool-input-error.mdx +0 -27
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-json-parse-error.mdx +0 -25
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-load-api-key-error.mdx +0 -24
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-load-setting-error.mdx +0 -24
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-message-conversion-error.mdx +0 -25
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-content-generated-error.mdx +0 -24
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-image-generated-error.mdx +0 -36
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-object-generated-error.mdx +0 -43
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-output-generated-error.mdx +0 -25
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-speech-generated-error.mdx +0 -24
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-such-model-error.mdx +0 -26
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-such-provider-error.mdx +0 -28
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-such-tool-error.mdx +0 -26
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-transcript-generated-error.mdx +0 -24
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-video-generated-error.mdx +0 -39
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-retry-error.mdx +0 -27
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-too-many-embedding-values-for-call-error.mdx +0 -27
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-tool-call-not-found-for-approval-error.mdx +0 -25
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-tool-call-repair-error.mdx +0 -28
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-type-validation-error.mdx +0 -25
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-ui-message-stream-error.mdx +0 -67
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-unsupported-functionality-error.mdx +0 -25
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/index.mdx +0 -39
- package/node_modules/ai/docs/07-reference/index.mdx +0 -28
- package/node_modules/ai/docs/08-migration-guides/00-versioning.mdx +0 -46
- package/node_modules/ai/docs/08-migration-guides/24-migration-guide-6-0.mdx +0 -823
- package/node_modules/ai/docs/08-migration-guides/25-migration-guide-5-0-data.mdx +0 -882
- package/node_modules/ai/docs/08-migration-guides/26-migration-guide-5-0.mdx +0 -3427
- package/node_modules/ai/docs/08-migration-guides/27-migration-guide-4-2.mdx +0 -99
- package/node_modules/ai/docs/08-migration-guides/28-migration-guide-4-1.mdx +0 -14
- package/node_modules/ai/docs/08-migration-guides/29-migration-guide-4-0.mdx +0 -1157
- package/node_modules/ai/docs/08-migration-guides/36-migration-guide-3-4.mdx +0 -14
- package/node_modules/ai/docs/08-migration-guides/37-migration-guide-3-3.mdx +0 -64
- package/node_modules/ai/docs/08-migration-guides/38-migration-guide-3-2.mdx +0 -46
- package/node_modules/ai/docs/08-migration-guides/39-migration-guide-3-1.mdx +0 -168
- package/node_modules/ai/docs/08-migration-guides/index.mdx +0 -22
- package/node_modules/ai/docs/09-troubleshooting/01-azure-stream-slow.mdx +0 -33
- package/node_modules/ai/docs/09-troubleshooting/03-server-actions-in-client-components.mdx +0 -40
- package/node_modules/ai/docs/09-troubleshooting/04-strange-stream-output.mdx +0 -36
- package/node_modules/ai/docs/09-troubleshooting/05-streamable-ui-errors.mdx +0 -16
- package/node_modules/ai/docs/09-troubleshooting/05-tool-invocation-missing-result.mdx +0 -106
- package/node_modules/ai/docs/09-troubleshooting/06-streaming-not-working-when-deployed.mdx +0 -31
- package/node_modules/ai/docs/09-troubleshooting/06-streaming-not-working-when-proxied.mdx +0 -31
- package/node_modules/ai/docs/09-troubleshooting/06-timeout-on-vercel.mdx +0 -60
- package/node_modules/ai/docs/09-troubleshooting/07-unclosed-streams.mdx +0 -34
- package/node_modules/ai/docs/09-troubleshooting/08-use-chat-failed-to-parse-stream.mdx +0 -26
- package/node_modules/ai/docs/09-troubleshooting/09-client-stream-error.mdx +0 -25
- package/node_modules/ai/docs/09-troubleshooting/10-use-chat-tools-no-response.mdx +0 -32
- package/node_modules/ai/docs/09-troubleshooting/11-use-chat-custom-request-options.mdx +0 -149
- package/node_modules/ai/docs/09-troubleshooting/12-typescript-performance-zod.mdx +0 -46
- package/node_modules/ai/docs/09-troubleshooting/12-use-chat-an-error-occurred.mdx +0 -59
- package/node_modules/ai/docs/09-troubleshooting/13-repeated-assistant-messages.mdx +0 -73
- package/node_modules/ai/docs/09-troubleshooting/14-stream-abort-handling.mdx +0 -73
- package/node_modules/ai/docs/09-troubleshooting/14-tool-calling-with-structured-outputs.mdx +0 -48
- package/node_modules/ai/docs/09-troubleshooting/15-abort-breaks-resumable-streams.mdx +0 -55
- package/node_modules/ai/docs/09-troubleshooting/15-stream-text-not-working.mdx +0 -33
- package/node_modules/ai/docs/09-troubleshooting/16-streaming-status-delay.mdx +0 -63
- package/node_modules/ai/docs/09-troubleshooting/17-use-chat-stale-body-data.mdx +0 -141
- package/node_modules/ai/docs/09-troubleshooting/18-ontoolcall-type-narrowing.mdx +0 -66
- package/node_modules/ai/docs/09-troubleshooting/19-unsupported-model-version.mdx +0 -50
- package/node_modules/ai/docs/09-troubleshooting/20-no-object-generated-content-filter.mdx +0 -76
- package/node_modules/ai/docs/09-troubleshooting/21-missing-tool-results-error.mdx +0 -82
- package/node_modules/ai/docs/09-troubleshooting/30-model-is-not-assignable-to-type.mdx +0 -21
- package/node_modules/ai/docs/09-troubleshooting/40-typescript-cannot-find-namespace-jsx.mdx +0 -24
- package/node_modules/ai/docs/09-troubleshooting/50-react-maximum-update-depth-exceeded.mdx +0 -39
- package/node_modules/ai/docs/09-troubleshooting/60-jest-cannot-find-module-ai-rsc.mdx +0 -22
- package/node_modules/ai/docs/09-troubleshooting/70-high-memory-usage-with-images.mdx +0 -108
- package/node_modules/ai/docs/09-troubleshooting/index.mdx +0 -11
- package/node_modules/ai/internal.d.ts +0 -1
- package/node_modules/ai/src/test/mock-embedding-model-v2.ts +0 -35
- package/node_modules/ai/src/test/mock-embedding-model-v3.ts +0 -48
- package/node_modules/ai/src/test/mock-image-model-v2.ts +0 -28
- package/node_modules/ai/src/test/mock-image-model-v3.ts +0 -28
- package/node_modules/ai/src/test/mock-language-model-v2.ts +0 -72
- package/node_modules/ai/src/test/mock-language-model-v3.ts +0 -77
- package/node_modules/ai/src/test/mock-provider-v2.ts +0 -68
- package/node_modules/ai/src/test/mock-provider-v3.ts +0 -80
- package/node_modules/ai/src/test/mock-reranking-model-v3.ts +0 -25
- package/node_modules/ai/src/test/mock-server-response.ts +0 -69
- package/node_modules/ai/src/test/mock-speech-model-v2.ts +0 -24
- package/node_modules/ai/src/test/mock-speech-model-v3.ts +0 -24
- package/node_modules/ai/src/test/mock-tracer.ts +0 -156
- package/node_modules/ai/src/test/mock-transcription-model-v2.ts +0 -24
- package/node_modules/ai/src/test/mock-transcription-model-v3.ts +0 -24
- package/node_modules/ai/src/test/mock-values.ts +0 -4
- package/node_modules/ai/src/test/mock-video-model-v3.ts +0 -28
- package/node_modules/ai/src/test/not-implemented.ts +0 -3
- package/node_modules/ai/test.d.ts +0 -1
- package/node_modules/ajv/LICENSE +0 -22
- package/node_modules/ajv/README.md +0 -207
- package/node_modules/ajv-formats/LICENSE +0 -21
- package/node_modules/ajv-formats/README.md +0 -125
- package/node_modules/atomic-sleep/LICENSE +0 -22
- package/node_modules/atomic-sleep/readme.md +0 -58
- package/node_modules/avvio/LICENSE +0 -24
- package/node_modules/avvio/README.md +0 -700
- package/node_modules/avvio/examples/example.js +0 -72
- package/node_modules/avvio/index.d.ts +0 -95
- package/node_modules/avvio/test/after-and-ready.test.js +0 -903
- package/node_modules/avvio/test/after-pass-through.test.js +0 -33
- package/node_modules/avvio/test/after-self-promise.test.js +0 -20
- package/node_modules/avvio/test/after-throw.test.js +0 -26
- package/node_modules/avvio/test/after-use-after.test.js +0 -87
- package/node_modules/avvio/test/async-await.test.js +0 -323
- package/node_modules/avvio/test/await-after.test.js +0 -448
- package/node_modules/avvio/test/await-self.test.js +0 -31
- package/node_modules/avvio/test/await-use.test.js +0 -295
- package/node_modules/avvio/test/basic.test.js +0 -459
- package/node_modules/avvio/test/callbacks.test.js +0 -116
- package/node_modules/avvio/test/catch-override-exception.test.js +0 -27
- package/node_modules/avvio/test/chainable.test.js +0 -70
- package/node_modules/avvio/test/close.test.js +0 -562
- package/node_modules/avvio/test/errors.test.js +0 -26
- package/node_modules/avvio/test/esm.mjs +0 -12
- package/node_modules/avvio/test/esm.test.js +0 -8
- package/node_modules/avvio/test/events-listeners.test.js +0 -23
- package/node_modules/avvio/test/expose.test.js +0 -76
- package/node_modules/avvio/test/fixtures/dummy.txt +0 -1
- package/node_modules/avvio/test/fixtures/esm.mjs +0 -3
- package/node_modules/avvio/test/fixtures/plugin-no-next.js +0 -5
- package/node_modules/avvio/test/gh-issues/bug-205.test.js +0 -17
- package/node_modules/avvio/test/lib/create-promise.test.js +0 -56
- package/node_modules/avvio/test/lib/execute-with-thenable.test.js +0 -86
- package/node_modules/avvio/test/lib/get-plugin-name.test.js +0 -67
- package/node_modules/avvio/test/lib/is-bundled-or-typescript-plugin.test.js +0 -20
- package/node_modules/avvio/test/lib/is-promise-like.test.js +0 -20
- package/node_modules/avvio/test/lib/thenify.test.js +0 -140
- package/node_modules/avvio/test/lib/time-tree.test.js +0 -391
- package/node_modules/avvio/test/lib/validate-plugin.test.js +0 -19
- package/node_modules/avvio/test/load-plugin.test.js +0 -132
- package/node_modules/avvio/test/no-done.test.js +0 -19
- package/node_modules/avvio/test/on-ready-timeout-await.test.js +0 -33
- package/node_modules/avvio/test/override.test.js +0 -385
- package/node_modules/avvio/test/plugin-loaded-so-far.test.js +0 -81
- package/node_modules/avvio/test/plugin-name.test.js +0 -58
- package/node_modules/avvio/test/plugin-timeout-await.test.js +0 -33
- package/node_modules/avvio/test/plugin-timeout.test.js +0 -227
- package/node_modules/avvio/test/pretty-print.test.js +0 -76
- package/node_modules/avvio/test/reentrant.test.js +0 -126
- package/node_modules/avvio/test/symbol-async-dispose.test.js +0 -28
- package/node_modules/avvio/test/to-json.test.js +0 -130
- package/node_modules/avvio/test/twice-done.test.js +0 -23
- package/node_modules/avvio/test/types/index.ts +0 -412
- package/node_modules/avvio/test/types/tsconfig.json +0 -9
- package/node_modules/balanced-match/LICENSE.md +0 -23
- package/node_modules/balanced-match/README.md +0 -57
- package/node_modules/base64-js/LICENSE +0 -21
- package/node_modules/base64-js/README.md +0 -34
- package/node_modules/base64-js/index.d.ts +0 -3
- package/node_modules/better-sqlite3/LICENSE +0 -21
- package/node_modules/better-sqlite3/README.md +0 -99
- package/node_modules/better-sqlite3/binding.gyp +0 -38
- package/node_modules/better-sqlite3/deps/common.gypi +0 -68
- package/node_modules/better-sqlite3/deps/copy.js +0 -31
- package/node_modules/better-sqlite3/deps/defines.gypi +0 -41
- package/node_modules/better-sqlite3/deps/download.sh +0 -122
- package/node_modules/better-sqlite3/deps/patches/1208.patch +0 -15
- package/node_modules/better-sqlite3/deps/sqlite3/sqlite3.c +0 -261480
- package/node_modules/better-sqlite3/deps/sqlite3/sqlite3.h +0 -13715
- package/node_modules/better-sqlite3/deps/sqlite3/sqlite3ext.h +0 -719
- package/node_modules/better-sqlite3/deps/sqlite3.gyp +0 -80
- package/node_modules/better-sqlite3/deps/test_extension.c +0 -21
- package/node_modules/better-sqlite3/src/better_sqlite3.cpp +0 -2186
- package/node_modules/better-sqlite3/src/better_sqlite3.hpp +0 -1036
- package/node_modules/bindings/LICENSE.md +0 -22
- package/node_modules/bindings/README.md +0 -98
- package/node_modules/bl/LICENSE.md +0 -13
- package/node_modules/bl/README.md +0 -247
- package/node_modules/bl/test/convert.js +0 -21
- package/node_modules/bl/test/indexOf.js +0 -492
- package/node_modules/bl/test/isBufferList.js +0 -32
- package/node_modules/bl/test/test.js +0 -869
- package/node_modules/brace-expansion/LICENSE +0 -23
- package/node_modules/brace-expansion/README.md +0 -94
- package/node_modules/buffer/AUTHORS.md +0 -70
- package/node_modules/buffer/LICENSE +0 -21
- package/node_modules/buffer/README.md +0 -410
- package/node_modules/buffer/index.d.ts +0 -186
- package/node_modules/bundle-name/license +0 -9
- package/node_modules/bundle-name/readme.md +0 -23
- package/node_modules/chownr/LICENSE +0 -15
- package/node_modules/chownr/README.md +0 -3
- package/node_modules/content-disposition/HISTORY.md +0 -60
- package/node_modules/content-disposition/LICENSE +0 -22
- package/node_modules/content-disposition/README.md +0 -142
- package/node_modules/cookie/LICENSE +0 -24
- package/node_modules/cookie/README.md +0 -295
- package/node_modules/cookies/HISTORY.md +0 -137
- package/node_modules/cookies/LICENSE +0 -23
- package/node_modules/cookies/README.md +0 -147
- package/node_modules/cross-spawn/LICENSE +0 -21
- package/node_modules/cross-spawn/README.md +0 -89
- package/node_modules/debug/LICENSE +0 -20
- package/node_modules/debug/README.md +0 -481
- package/node_modules/decompress-response/index.d.ts +0 -22
- package/node_modules/decompress-response/license +0 -9
- package/node_modules/decompress-response/readme.md +0 -48
- package/node_modules/deep-extend/LICENSE +0 -20
- package/node_modules/deep-extend/README.md +0 -91
- package/node_modules/default-browser/index.d.ts +0 -29
- package/node_modules/default-browser/license +0 -9
- package/node_modules/default-browser/readme.md +0 -24
- package/node_modules/default-browser-id/license +0 -9
- package/node_modules/default-browser-id/readme.md +0 -19
- package/node_modules/define-lazy-prop/index.d.ts +0 -31
- package/node_modules/define-lazy-prop/license +0 -9
- package/node_modules/define-lazy-prop/readme.md +0 -55
- package/node_modules/depd/History.md +0 -103
- package/node_modules/depd/LICENSE +0 -22
- package/node_modules/depd/Readme.md +0 -280
- package/node_modules/dequal/index.d.ts +0 -1
- package/node_modules/dequal/license +0 -21
- package/node_modules/dequal/lite/index.d.ts +0 -1
- package/node_modules/dequal/readme.md +0 -112
- package/node_modules/detect-libc/LICENSE +0 -201
- package/node_modules/detect-libc/README.md +0 -163
- package/node_modules/detect-libc/index.d.ts +0 -14
- package/node_modules/duplexify/LICENSE +0 -21
- package/node_modules/duplexify/README.md +0 -97
- package/node_modules/end-of-stream/LICENSE +0 -21
- package/node_modules/end-of-stream/README.md +0 -54
- package/node_modules/escape-html/LICENSE +0 -24
- package/node_modules/escape-html/Readme.md +0 -43
- package/node_modules/eventsource-parser/LICENSE +0 -21
- package/node_modules/eventsource-parser/README.md +0 -126
- package/node_modules/expand-template/LICENSE +0 -21
- package/node_modules/expand-template/README.md +0 -43
- package/node_modules/fast-decode-uri-component/LICENSE +0 -23
- package/node_modules/fast-decode-uri-component/README.md +0 -43
- package/node_modules/fast-deep-equal/LICENSE +0 -21
- package/node_modules/fast-deep-equal/README.md +0 -96
- package/node_modules/fast-deep-equal/es6/index.d.ts +0 -2
- package/node_modules/fast-deep-equal/es6/react.d.ts +0 -2
- package/node_modules/fast-deep-equal/index.d.ts +0 -4
- package/node_modules/fast-deep-equal/react.d.ts +0 -2
- package/node_modules/fast-json-stringify/LICENSE +0 -24
- package/node_modules/fast-json-stringify/README.md +0 -742
- package/node_modules/fast-json-stringify/benchmark/bench-cmp-branch.js +0 -116
- package/node_modules/fast-json-stringify/benchmark/bench-cmp-lib.js +0 -323
- package/node_modules/fast-json-stringify/benchmark/bench-thread.js +0 -33
- package/node_modules/fast-json-stringify/benchmark/bench.js +0 -391
- package/node_modules/fast-json-stringify/examples/example.js +0 -81
- package/node_modules/fast-json-stringify/examples/server.js +0 -42
- package/node_modules/fast-json-stringify/test/additionalProperties.test.js +0 -332
- package/node_modules/fast-json-stringify/test/allof.test.js +0 -751
- package/node_modules/fast-json-stringify/test/any.test.js +0 -231
- package/node_modules/fast-json-stringify/test/anyof.test.js +0 -792
- package/node_modules/fast-json-stringify/test/array.test.js +0 -666
- package/node_modules/fast-json-stringify/test/asNumber.test.js +0 -13
- package/node_modules/fast-json-stringify/test/basic.test.js +0 -400
- package/node_modules/fast-json-stringify/test/bigint.test.js +0 -76
- package/node_modules/fast-json-stringify/test/clean-cache.test.js +0 -47
- package/node_modules/fast-json-stringify/test/const.test.js +0 -314
- package/node_modules/fast-json-stringify/test/date.test.js +0 -639
- package/node_modules/fast-json-stringify/test/debug-mode.test.js +0 -121
- package/node_modules/fast-json-stringify/test/defaults.test.js +0 -376
- package/node_modules/fast-json-stringify/test/enum.test.js +0 -37
- package/node_modules/fast-json-stringify/test/fix-604.test.js +0 -25
- package/node_modules/fast-json-stringify/test/if-then-else.test.js +0 -468
- package/node_modules/fast-json-stringify/test/inferType.test.js +0 -92
- package/node_modules/fast-json-stringify/test/infinity.test.js +0 -55
- package/node_modules/fast-json-stringify/test/integer.test.js +0 -194
- package/node_modules/fast-json-stringify/test/invalidSchema.test.js +0 -18
- package/node_modules/fast-json-stringify/test/issue-479.test.js +0 -57
- package/node_modules/fast-json-stringify/test/issue-793.test.js +0 -107
- package/node_modules/fast-json-stringify/test/issue-794.test.js +0 -177
- package/node_modules/fast-json-stringify/test/json-add-comma.test.js +0 -57
- package/node_modules/fast-json-stringify/test/json-schema-test-suite/README.md +0 -10
- package/node_modules/fast-json-stringify/test/json-schema-test-suite/draft4/required.json +0 -54
- package/node_modules/fast-json-stringify/test/json-schema-test-suite/draft4.test.js +0 -12
- package/node_modules/fast-json-stringify/test/json-schema-test-suite/draft6/required.json +0 -70
- package/node_modules/fast-json-stringify/test/json-schema-test-suite/draft6.test.js +0 -12
- package/node_modules/fast-json-stringify/test/json-schema-test-suite/draft7/required.json +0 -70
- package/node_modules/fast-json-stringify/test/json-schema-test-suite/draft7.test.js +0 -12
- package/node_modules/fast-json-stringify/test/json-schema-test-suite/util.js +0 -31
- package/node_modules/fast-json-stringify/test/missing-values.test.js +0 -88
- package/node_modules/fast-json-stringify/test/multi-type-serializer.test.js +0 -19
- package/node_modules/fast-json-stringify/test/nestedObjects.test.js +0 -63
- package/node_modules/fast-json-stringify/test/nullable.test.js +0 -543
- package/node_modules/fast-json-stringify/test/oneof.test.js +0 -490
- package/node_modules/fast-json-stringify/test/patternProperties.test.js +0 -168
- package/node_modules/fast-json-stringify/test/recursion.test.js +0 -245
- package/node_modules/fast-json-stringify/test/ref.json +0 -12
- package/node_modules/fast-json-stringify/test/ref.test.js +0 -2046
- package/node_modules/fast-json-stringify/test/regex.test.js +0 -32
- package/node_modules/fast-json-stringify/test/required.test.js +0 -204
- package/node_modules/fast-json-stringify/test/requiresAjv.test.js +0 -50
- package/node_modules/fast-json-stringify/test/sanitize.test.js +0 -141
- package/node_modules/fast-json-stringify/test/sanitize2.test.js +0 -18
- package/node_modules/fast-json-stringify/test/sanitize3.test.js +0 -17
- package/node_modules/fast-json-stringify/test/sanitize4.test.js +0 -16
- package/node_modules/fast-json-stringify/test/sanitize5.test.js +0 -16
- package/node_modules/fast-json-stringify/test/sanitize6.test.js +0 -22
- package/node_modules/fast-json-stringify/test/sanitize7.test.js +0 -68
- package/node_modules/fast-json-stringify/test/side-effect.test.js +0 -196
- package/node_modules/fast-json-stringify/test/standalone-mode.test.js +0 -219
- package/node_modules/fast-json-stringify/test/string.test.js +0 -84
- package/node_modules/fast-json-stringify/test/surrogate.test.js +0 -67
- package/node_modules/fast-json-stringify/test/toJSON.test.js +0 -203
- package/node_modules/fast-json-stringify/test/typebox.test.js +0 -36
- package/node_modules/fast-json-stringify/test/typesArray.test.js +0 -550
- package/node_modules/fast-json-stringify/test/unknownFormats.test.js +0 -27
- package/node_modules/fast-json-stringify/test/webpack.test.js +0 -50
- package/node_modules/fast-json-stringify/types/index.d.ts +0 -231
- package/node_modules/fast-querystring/LICENSE +0 -25
- package/node_modules/fast-querystring/README.md +0 -114
- package/node_modules/fast-querystring/lib/index.d.ts +0 -14
- package/node_modules/fast-sha256/LICENSE +0 -24
- package/node_modules/fast-sha256/README.md +0 -127
- package/node_modules/fast-sha256/sha256.d.ts +0 -39
- package/node_modules/fast-uri/LICENSE +0 -32
- package/node_modules/fast-uri/README.md +0 -143
- package/node_modules/fast-uri/benchmark/benchmark.mjs +0 -159
- package/node_modules/fast-uri/benchmark/equal.mjs +0 -51
- package/node_modules/fast-uri/benchmark/non-simple-domain.mjs +0 -22
- package/node_modules/fast-uri/benchmark/package.json +0 -17
- package/node_modules/fast-uri/benchmark/string-array-to-hex-stripped.mjs +0 -24
- package/node_modules/fast-uri/benchmark/ws-is-secure.mjs +0 -65
- package/node_modules/fast-uri/test/ajv.test.js +0 -43
- package/node_modules/fast-uri/test/equal.test.js +0 -108
- package/node_modules/fast-uri/test/fixtures/uri-js-parse.json +0 -501
- package/node_modules/fast-uri/test/fixtures/uri-js-serialize.json +0 -120
- package/node_modules/fast-uri/test/parse.test.js +0 -318
- package/node_modules/fast-uri/test/resolve.test.js +0 -78
- package/node_modules/fast-uri/test/rfc-3986.test.js +0 -90
- package/node_modules/fast-uri/test/serialize.test.js +0 -151
- package/node_modules/fast-uri/test/uri-js-compatibility.test.js +0 -33
- package/node_modules/fast-uri/test/uri-js.test.js +0 -912
- package/node_modules/fast-uri/test/util.test.js +0 -38
- package/node_modules/fast-uri/types/index.d.ts +0 -60
- package/node_modules/fastify/AGENTS.md +0 -290
- package/node_modules/fastify/GOVERNANCE.md +0 -4
- package/node_modules/fastify/LICENSE +0 -21
- package/node_modules/fastify/PROJECT_CHARTER.md +0 -126
- package/node_modules/fastify/README.md +0 -423
- package/node_modules/fastify/SECURITY.md +0 -220
- package/node_modules/fastify/SPONSORS.md +0 -24
- package/node_modules/fastify/docs/Guides/Benchmarking.md +0 -60
- package/node_modules/fastify/docs/Guides/Database.md +0 -321
- package/node_modules/fastify/docs/Guides/Delay-Accepting-Requests.md +0 -608
- package/node_modules/fastify/docs/Guides/Detecting-When-Clients-Abort.md +0 -172
- package/node_modules/fastify/docs/Guides/Ecosystem.md +0 -726
- package/node_modules/fastify/docs/Guides/Fluent-Schema.md +0 -127
- package/node_modules/fastify/docs/Guides/Getting-Started.md +0 -620
- package/node_modules/fastify/docs/Guides/Index.md +0 -43
- package/node_modules/fastify/docs/Guides/Migration-Guide-V3.md +0 -287
- package/node_modules/fastify/docs/Guides/Migration-Guide-V4.md +0 -267
- package/node_modules/fastify/docs/Guides/Migration-Guide-V5.md +0 -727
- package/node_modules/fastify/docs/Guides/Plugins-Guide.md +0 -520
- package/node_modules/fastify/docs/Guides/Prototype-Poisoning.md +0 -383
- package/node_modules/fastify/docs/Guides/Recommendations.md +0 -378
- package/node_modules/fastify/docs/Guides/Serverless.md +0 -604
- package/node_modules/fastify/docs/Guides/Style-Guide.md +0 -246
- package/node_modules/fastify/docs/Guides/Testing.md +0 -481
- package/node_modules/fastify/docs/Guides/Write-Plugin.md +0 -103
- package/node_modules/fastify/docs/Guides/Write-Type-Provider.md +0 -34
- package/node_modules/fastify/docs/Reference/ContentTypeParser.md +0 -271
- package/node_modules/fastify/docs/Reference/Decorators.md +0 -436
- package/node_modules/fastify/docs/Reference/Encapsulation.md +0 -194
- package/node_modules/fastify/docs/Reference/Errors.md +0 -377
- package/node_modules/fastify/docs/Reference/HTTP2.md +0 -94
- package/node_modules/fastify/docs/Reference/Hooks.md +0 -958
- package/node_modules/fastify/docs/Reference/Index.md +0 -73
- package/node_modules/fastify/docs/Reference/LTS.md +0 -86
- package/node_modules/fastify/docs/Reference/Lifecycle.md +0 -99
- package/node_modules/fastify/docs/Reference/Logging.md +0 -268
- package/node_modules/fastify/docs/Reference/Middleware.md +0 -79
- package/node_modules/fastify/docs/Reference/Plugins.md +0 -245
- package/node_modules/fastify/docs/Reference/Principles.md +0 -73
- package/node_modules/fastify/docs/Reference/Reply.md +0 -1001
- package/node_modules/fastify/docs/Reference/Request.md +0 -295
- package/node_modules/fastify/docs/Reference/Routes.md +0 -802
- package/node_modules/fastify/docs/Reference/Server.md +0 -2389
- package/node_modules/fastify/docs/Reference/Type-Providers.md +0 -256
- package/node_modules/fastify/docs/Reference/TypeScript.md +0 -1729
- package/node_modules/fastify/docs/Reference/Validation-and-Serialization.md +0 -1130
- package/node_modules/fastify/docs/Reference/Warnings.md +0 -58
- package/node_modules/fastify/docs/index.md +0 -24
- package/node_modules/fastify/docs/resources/encapsulation_context.drawio +0 -1
- package/node_modules/fastify/docs/resources/encapsulation_context.svg +0 -3
- package/node_modules/fastify/examples/asyncawait.js +0 -38
- package/node_modules/fastify/examples/benchmark/body.json +0 -3
- package/node_modules/fastify/examples/benchmark/hooks-benchmark-async-await.js +0 -44
- package/node_modules/fastify/examples/benchmark/hooks-benchmark.js +0 -52
- package/node_modules/fastify/examples/benchmark/parser.js +0 -47
- package/node_modules/fastify/examples/benchmark/simple.js +0 -30
- package/node_modules/fastify/examples/benchmark/webstream.js +0 -27
- package/node_modules/fastify/examples/hooks.js +0 -91
- package/node_modules/fastify/examples/http2.js +0 -39
- package/node_modules/fastify/examples/https.js +0 -38
- package/node_modules/fastify/examples/parser.js +0 -53
- package/node_modules/fastify/examples/plugin.js +0 -12
- package/node_modules/fastify/examples/route-prefix.js +0 -38
- package/node_modules/fastify/examples/shared-schema.js +0 -38
- package/node_modules/fastify/examples/simple-stream.js +0 -20
- package/node_modules/fastify/examples/simple.js +0 -32
- package/node_modules/fastify/examples/simple.mjs +0 -27
- package/node_modules/fastify/examples/typescript-server.ts +0 -79
- package/node_modules/fastify/examples/use-plugin.js +0 -29
- package/node_modules/fastify/fastify.d.ts +0 -253
- package/node_modules/fastify/test/404s.test.js +0 -2035
- package/node_modules/fastify/test/500s.test.js +0 -422
- package/node_modules/fastify/test/allow-unsafe-regex.test.js +0 -92
- package/node_modules/fastify/test/als.test.js +0 -65
- package/node_modules/fastify/test/async-await.test.js +0 -705
- package/node_modules/fastify/test/async-dispose.test.js +0 -20
- package/node_modules/fastify/test/async_hooks.test.js +0 -52
- package/node_modules/fastify/test/body-limit.test.js +0 -224
- package/node_modules/fastify/test/buffer.test.js +0 -74
- package/node_modules/fastify/test/build/error-serializer.test.js +0 -36
- package/node_modules/fastify/test/build/version.test.js +0 -14
- package/node_modules/fastify/test/build-certificate.js +0 -109
- package/node_modules/fastify/test/bundler/README.md +0 -29
- package/node_modules/fastify/test/bundler/esbuild/bundler-test.js +0 -32
- package/node_modules/fastify/test/bundler/esbuild/package.json +0 -10
- package/node_modules/fastify/test/bundler/esbuild/src/fail-plugin-version.js +0 -14
- package/node_modules/fastify/test/bundler/esbuild/src/index.js +0 -9
- package/node_modules/fastify/test/bundler/webpack/bundler-test.js +0 -32
- package/node_modules/fastify/test/bundler/webpack/package.json +0 -11
- package/node_modules/fastify/test/bundler/webpack/src/fail-plugin-version.js +0 -14
- package/node_modules/fastify/test/bundler/webpack/src/index.js +0 -9
- package/node_modules/fastify/test/bundler/webpack/webpack.config.js +0 -15
- package/node_modules/fastify/test/case-insensitive.test.js +0 -102
- package/node_modules/fastify/test/chainable.test.js +0 -40
- package/node_modules/fastify/test/child-logger-factory.test.js +0 -128
- package/node_modules/fastify/test/client-timeout.test.js +0 -38
- package/node_modules/fastify/test/close-pipelining.test.js +0 -78
- package/node_modules/fastify/test/close.test.js +0 -706
- package/node_modules/fastify/test/conditional-pino.test.js +0 -47
- package/node_modules/fastify/test/connection-timeout.test.js +0 -42
- package/node_modules/fastify/test/constrained-routes.test.js +0 -1138
- package/node_modules/fastify/test/content-length.test.js +0 -174
- package/node_modules/fastify/test/content-parser.test.js +0 -739
- package/node_modules/fastify/test/content-type.test.js +0 -181
- package/node_modules/fastify/test/context-config.test.js +0 -164
- package/node_modules/fastify/test/custom-http-server.test.js +0 -118
- package/node_modules/fastify/test/custom-parser-async.test.js +0 -59
- package/node_modules/fastify/test/custom-parser.0.test.js +0 -701
- package/node_modules/fastify/test/custom-parser.1.test.js +0 -266
- package/node_modules/fastify/test/custom-parser.2.test.js +0 -91
- package/node_modules/fastify/test/custom-parser.3.test.js +0 -208
- package/node_modules/fastify/test/custom-parser.4.test.js +0 -218
- package/node_modules/fastify/test/custom-parser.5.test.js +0 -130
- package/node_modules/fastify/test/custom-querystring-parser.test.js +0 -129
- package/node_modules/fastify/test/decorator.test.js +0 -1330
- package/node_modules/fastify/test/delete.test.js +0 -344
- package/node_modules/fastify/test/diagnostics-channel/404.test.js +0 -49
- package/node_modules/fastify/test/diagnostics-channel/async-delay-request.test.js +0 -65
- package/node_modules/fastify/test/diagnostics-channel/async-request.test.js +0 -64
- package/node_modules/fastify/test/diagnostics-channel/error-before-handler.test.js +0 -35
- package/node_modules/fastify/test/diagnostics-channel/error-request.test.js +0 -53
- package/node_modules/fastify/test/diagnostics-channel/error-status.test.js +0 -123
- package/node_modules/fastify/test/diagnostics-channel/init.test.js +0 -50
- package/node_modules/fastify/test/diagnostics-channel/sync-delay-request.test.js +0 -49
- package/node_modules/fastify/test/diagnostics-channel/sync-request-reply.test.js +0 -51
- package/node_modules/fastify/test/diagnostics-channel/sync-request.test.js +0 -54
- package/node_modules/fastify/test/encapsulated-child-logger-factory.test.js +0 -69
- package/node_modules/fastify/test/encapsulated-error-handler.test.js +0 -237
- package/node_modules/fastify/test/esm/errorCodes.test.mjs +0 -10
- package/node_modules/fastify/test/esm/esm.test.mjs +0 -13
- package/node_modules/fastify/test/esm/index.test.js +0 -8
- package/node_modules/fastify/test/esm/named-exports.mjs +0 -14
- package/node_modules/fastify/test/esm/other.mjs +0 -8
- package/node_modules/fastify/test/esm/plugin.mjs +0 -8
- package/node_modules/fastify/test/fastify-instance.test.js +0 -300
- package/node_modules/fastify/test/find-route.test.js +0 -152
- package/node_modules/fastify/test/fluent-schema.test.js +0 -209
- package/node_modules/fastify/test/genReqId.test.js +0 -426
- package/node_modules/fastify/test/handler-context.test.js +0 -45
- package/node_modules/fastify/test/handler-timeout.test.js +0 -367
- package/node_modules/fastify/test/has-route.test.js +0 -88
- package/node_modules/fastify/test/header-overflow.test.js +0 -55
- package/node_modules/fastify/test/helper.js +0 -496
- package/node_modules/fastify/test/hooks-async.test.js +0 -1099
- package/node_modules/fastify/test/hooks.on-listen.test.js +0 -1162
- package/node_modules/fastify/test/hooks.on-ready.test.js +0 -421
- package/node_modules/fastify/test/hooks.test.js +0 -3578
- package/node_modules/fastify/test/http-methods/copy.test.js +0 -35
- package/node_modules/fastify/test/http-methods/custom-http-methods.test.js +0 -114
- package/node_modules/fastify/test/http-methods/get.test.js +0 -412
- package/node_modules/fastify/test/http-methods/head.test.js +0 -263
- package/node_modules/fastify/test/http-methods/lock.test.js +0 -108
- package/node_modules/fastify/test/http-methods/mkcalendar.test.js +0 -143
- package/node_modules/fastify/test/http-methods/mkcol.test.js +0 -35
- package/node_modules/fastify/test/http-methods/move.test.js +0 -42
- package/node_modules/fastify/test/http-methods/propfind.test.js +0 -136
- package/node_modules/fastify/test/http-methods/proppatch.test.js +0 -105
- package/node_modules/fastify/test/http-methods/report.test.js +0 -142
- package/node_modules/fastify/test/http-methods/search.test.js +0 -233
- package/node_modules/fastify/test/http-methods/trace.test.js +0 -21
- package/node_modules/fastify/test/http-methods/unlock.test.js +0 -38
- package/node_modules/fastify/test/http2/closing.test.js +0 -270
- package/node_modules/fastify/test/http2/constraint.test.js +0 -109
- package/node_modules/fastify/test/http2/head.test.js +0 -34
- package/node_modules/fastify/test/http2/plain.test.js +0 -68
- package/node_modules/fastify/test/http2/secure-with-fallback.test.js +0 -113
- package/node_modules/fastify/test/http2/secure.test.js +0 -67
- package/node_modules/fastify/test/http2/unknown-http-method.test.js +0 -34
- package/node_modules/fastify/test/https/custom-https-server.test.js +0 -58
- package/node_modules/fastify/test/https/https.test.js +0 -136
- package/node_modules/fastify/test/imports.test.js +0 -17
- package/node_modules/fastify/test/inject.test.js +0 -502
- package/node_modules/fastify/test/input-validation.js +0 -335
- package/node_modules/fastify/test/internals/all.test.js +0 -38
- package/node_modules/fastify/test/internals/content-type-parser.test.js +0 -111
- package/node_modules/fastify/test/internals/context.test.js +0 -31
- package/node_modules/fastify/test/internals/decorator.test.js +0 -156
- package/node_modules/fastify/test/internals/errors.test.js +0 -982
- package/node_modules/fastify/test/internals/handle-request.test.js +0 -270
- package/node_modules/fastify/test/internals/hook-runner.test.js +0 -449
- package/node_modules/fastify/test/internals/hooks.test.js +0 -96
- package/node_modules/fastify/test/internals/initial-config.test.js +0 -383
- package/node_modules/fastify/test/internals/logger.test.js +0 -163
- package/node_modules/fastify/test/internals/plugin.test.js +0 -170
- package/node_modules/fastify/test/internals/promise.test.js +0 -63
- package/node_modules/fastify/test/internals/reply-serialize.test.js +0 -714
- package/node_modules/fastify/test/internals/reply.test.js +0 -1920
- package/node_modules/fastify/test/internals/req-id-gen-factory.test.js +0 -133
- package/node_modules/fastify/test/internals/request-validate.test.js +0 -1402
- package/node_modules/fastify/test/internals/request.test.js +0 -506
- package/node_modules/fastify/test/internals/schema-controller-perf.test.js +0 -40
- package/node_modules/fastify/test/internals/server.test.js +0 -91
- package/node_modules/fastify/test/internals/validation.test.js +0 -352
- package/node_modules/fastify/test/issue-4959.test.js +0 -118
- package/node_modules/fastify/test/keep-alive-timeout.test.js +0 -42
- package/node_modules/fastify/test/listen.1.test.js +0 -154
- package/node_modules/fastify/test/listen.2.test.js +0 -113
- package/node_modules/fastify/test/listen.3.test.js +0 -83
- package/node_modules/fastify/test/listen.4.test.js +0 -168
- package/node_modules/fastify/test/listen.5.test.js +0 -122
- package/node_modules/fastify/test/logger/instantiation.test.js +0 -341
- package/node_modules/fastify/test/logger/logger-test-utils.js +0 -47
- package/node_modules/fastify/test/logger/logging.test.js +0 -460
- package/node_modules/fastify/test/logger/options.test.js +0 -579
- package/node_modules/fastify/test/logger/request.test.js +0 -292
- package/node_modules/fastify/test/logger/response.test.js +0 -183
- package/node_modules/fastify/test/logger/tap-parallel-not-ok +0 -0
- package/node_modules/fastify/test/max-requests-per-socket.test.js +0 -113
- package/node_modules/fastify/test/middleware.test.js +0 -37
- package/node_modules/fastify/test/noop-set.test.js +0 -19
- package/node_modules/fastify/test/nullable-validation.test.js +0 -187
- package/node_modules/fastify/test/options.error-handler.test.js +0 -5
- package/node_modules/fastify/test/options.test.js +0 -5
- package/node_modules/fastify/test/output-validation.test.js +0 -140
- package/node_modules/fastify/test/patch.error-handler.test.js +0 -5
- package/node_modules/fastify/test/patch.test.js +0 -5
- package/node_modules/fastify/test/plugin.1.test.js +0 -230
- package/node_modules/fastify/test/plugin.2.test.js +0 -314
- package/node_modules/fastify/test/plugin.3.test.js +0 -287
- package/node_modules/fastify/test/plugin.4.test.js +0 -504
- package/node_modules/fastify/test/plugin.helper.js +0 -8
- package/node_modules/fastify/test/plugin.name.display.js +0 -10
- package/node_modules/fastify/test/post-empty-body.test.js +0 -38
- package/node_modules/fastify/test/pretty-print.test.js +0 -366
- package/node_modules/fastify/test/promises.test.js +0 -125
- package/node_modules/fastify/test/proto-poisoning.test.js +0 -145
- package/node_modules/fastify/test/put.error-handler.test.js +0 -5
- package/node_modules/fastify/test/put.test.js +0 -5
- package/node_modules/fastify/test/register.test.js +0 -184
- package/node_modules/fastify/test/reply-code.test.js +0 -148
- package/node_modules/fastify/test/reply-early-hints.test.js +0 -100
- package/node_modules/fastify/test/reply-error.test.js +0 -815
- package/node_modules/fastify/test/reply-trailers.test.js +0 -445
- package/node_modules/fastify/test/reply-web-stream-locked.test.js +0 -37
- package/node_modules/fastify/test/request-error.test.js +0 -624
- package/node_modules/fastify/test/request-header-host.test.js +0 -339
- package/node_modules/fastify/test/request-id.test.js +0 -118
- package/node_modules/fastify/test/request-timeout.test.js +0 -53
- package/node_modules/fastify/test/route-hooks.test.js +0 -635
- package/node_modules/fastify/test/route-prefix.test.js +0 -904
- package/node_modules/fastify/test/route-shorthand.test.js +0 -48
- package/node_modules/fastify/test/route.1.test.js +0 -259
- package/node_modules/fastify/test/route.2.test.js +0 -100
- package/node_modules/fastify/test/route.3.test.js +0 -213
- package/node_modules/fastify/test/route.4.test.js +0 -127
- package/node_modules/fastify/test/route.5.test.js +0 -211
- package/node_modules/fastify/test/route.6.test.js +0 -306
- package/node_modules/fastify/test/route.7.test.js +0 -406
- package/node_modules/fastify/test/route.8.test.js +0 -225
- package/node_modules/fastify/test/router-options.test.js +0 -1108
- package/node_modules/fastify/test/same-shape.test.js +0 -124
- package/node_modules/fastify/test/schema-examples.test.js +0 -661
- package/node_modules/fastify/test/schema-feature.test.js +0 -2198
- package/node_modules/fastify/test/schema-serialization.test.js +0 -1171
- package/node_modules/fastify/test/schema-special-usage.test.js +0 -1348
- package/node_modules/fastify/test/schema-validation.test.js +0 -1572
- package/node_modules/fastify/test/scripts/validate-ecosystem-links.test.js +0 -339
- package/node_modules/fastify/test/serialize-response.test.js +0 -186
- package/node_modules/fastify/test/server.test.js +0 -347
- package/node_modules/fastify/test/set-error-handler.test.js +0 -69
- package/node_modules/fastify/test/skip-reply-send.test.js +0 -317
- package/node_modules/fastify/test/stream-serializers.test.js +0 -40
- package/node_modules/fastify/test/stream.1.test.js +0 -94
- package/node_modules/fastify/test/stream.2.test.js +0 -129
- package/node_modules/fastify/test/stream.3.test.js +0 -198
- package/node_modules/fastify/test/stream.4.test.js +0 -176
- package/node_modules/fastify/test/stream.5.test.js +0 -188
- package/node_modules/fastify/test/sync-routes.test.js +0 -32
- package/node_modules/fastify/test/throw.test.js +0 -359
- package/node_modules/fastify/test/toolkit.js +0 -63
- package/node_modules/fastify/test/trust-proxy.test.js +0 -221
- package/node_modules/fastify/test/type-provider.test.js +0 -22
- package/node_modules/fastify/test/types/content-type-parser.test-d.ts +0 -72
- package/node_modules/fastify/test/types/decorate-request-reply.test-d.ts +0 -18
- package/node_modules/fastify/test/types/dummy-plugin.ts +0 -9
- package/node_modules/fastify/test/types/errors.test-d.ts +0 -90
- package/node_modules/fastify/test/types/fastify.test-d.ts +0 -352
- package/node_modules/fastify/test/types/hooks.test-d.ts +0 -550
- package/node_modules/fastify/test/types/import.ts +0 -2
- package/node_modules/fastify/test/types/instance.test-d.ts +0 -588
- package/node_modules/fastify/test/types/logger.test-d.ts +0 -277
- package/node_modules/fastify/test/types/plugin.test-d.ts +0 -97
- package/node_modules/fastify/test/types/register.test-d.ts +0 -237
- package/node_modules/fastify/test/types/reply.test-d.ts +0 -254
- package/node_modules/fastify/test/types/request.test-d.ts +0 -188
- package/node_modules/fastify/test/types/route.test-d.ts +0 -553
- package/node_modules/fastify/test/types/schema.test-d.ts +0 -135
- package/node_modules/fastify/test/types/serverFactory.test-d.ts +0 -37
- package/node_modules/fastify/test/types/type-provider.test-d.ts +0 -1213
- package/node_modules/fastify/test/types/using.test-d.ts +0 -17
- package/node_modules/fastify/test/upgrade.test.js +0 -52
- package/node_modules/fastify/test/url-rewriting.test.js +0 -122
- package/node_modules/fastify/test/use-semicolon-delimiter.test.js +0 -168
- package/node_modules/fastify/test/validation-error-handling.test.js +0 -900
- package/node_modules/fastify/test/versioned-routes.test.js +0 -603
- package/node_modules/fastify/test/web-api.test.js +0 -616
- package/node_modules/fastify/test/wrap-thenable.test.js +0 -30
- package/node_modules/fastify/types/content-type-parser.d.ts +0 -75
- package/node_modules/fastify/types/context.d.ts +0 -22
- package/node_modules/fastify/types/errors.d.ts +0 -92
- package/node_modules/fastify/types/hooks.d.ts +0 -875
- package/node_modules/fastify/types/instance.d.ts +0 -609
- package/node_modules/fastify/types/logger.d.ts +0 -107
- package/node_modules/fastify/types/plugin.d.ts +0 -44
- package/node_modules/fastify/types/register.d.ts +0 -42
- package/node_modules/fastify/types/reply.d.ts +0 -81
- package/node_modules/fastify/types/request.d.ts +0 -95
- package/node_modules/fastify/types/route.d.ts +0 -199
- package/node_modules/fastify/types/schema.d.ts +0 -61
- package/node_modules/fastify/types/server-factory.d.ts +0 -19
- package/node_modules/fastify/types/type-provider.d.ts +0 -130
- package/node_modules/fastify/types/utils.d.ts +0 -98
- package/node_modules/fastify-plugin/LICENSE +0 -23
- package/node_modules/fastify-plugin/README.md +0 -188
- package/node_modules/fastify-plugin/test/bundlers.test.js +0 -110
- package/node_modules/fastify-plugin/test/checkVersion.test.js +0 -67
- package/node_modules/fastify-plugin/test/composite.test.js +0 -14
- package/node_modules/fastify-plugin/test/esm/esm.mjs +0 -11
- package/node_modules/fastify-plugin/test/esm/index.test.js +0 -11
- package/node_modules/fastify-plugin/test/extractPluginName.test.js +0 -49
- package/node_modules/fastify-plugin/test/mu1tip1e.composite.test.js +0 -15
- package/node_modules/fastify-plugin/test/test.js +0 -396
- package/node_modules/fastify-plugin/test/toCamelCase.test.js +0 -24
- package/node_modules/fastify-plugin/types/plugin.d.ts +0 -61
- package/node_modules/fastq/LICENSE +0 -13
- package/node_modules/fastq/README.md +0 -310
- package/node_modules/fastq/SECURITY.md +0 -15
- package/node_modules/fastq/index.d.ts +0 -59
- package/node_modules/fastq/test/example.ts +0 -83
- package/node_modules/fastq/test/promise.js +0 -325
- package/node_modules/fastq/test/test.js +0 -733
- package/node_modules/fastq/test/tsconfig.json +0 -11
- package/node_modules/file-uri-to-path/History.md +0 -21
- package/node_modules/file-uri-to-path/LICENSE +0 -20
- package/node_modules/file-uri-to-path/README.md +0 -74
- package/node_modules/file-uri-to-path/index.d.ts +0 -2
- package/node_modules/file-uri-to-path/test/test.js +0 -24
- package/node_modules/file-uri-to-path/test/tests.json +0 -13
- package/node_modules/find-my-way/LICENSE +0 -21
- package/node_modules/find-my-way/README.md +0 -875
- package/node_modules/find-my-way/benchmark/bench-thread.js +0 -35
- package/node_modules/find-my-way/benchmark/bench.js +0 -156
- package/node_modules/find-my-way/benchmark/compare-branches.js +0 -113
- package/node_modules/find-my-way/benchmark/uri-decoding.js +0 -55
- package/node_modules/find-my-way/index.d.ts +0 -241
- package/node_modules/find-my-way/test/case-insensitive.test.js +0 -230
- package/node_modules/find-my-way/test/constraint.custom-versioning.test.js +0 -130
- package/node_modules/find-my-way/test/constraint.custom.async.test.js +0 -111
- package/node_modules/find-my-way/test/constraint.custom.test.js +0 -273
- package/node_modules/find-my-way/test/constraint.default-versioning.test.js +0 -289
- package/node_modules/find-my-way/test/constraint.host.test.js +0 -104
- package/node_modules/find-my-way/test/constraints.test.js +0 -108
- package/node_modules/find-my-way/test/custom-querystring-parser.test.js +0 -46
- package/node_modules/find-my-way/test/errors.test.js +0 -484
- package/node_modules/find-my-way/test/fastify-issue-3129.test.js +0 -34
- package/node_modules/find-my-way/test/fastify-issue-3957.test.js +0 -23
- package/node_modules/find-my-way/test/find-route.test.js +0 -275
- package/node_modules/find-my-way/test/find.test.js +0 -16
- package/node_modules/find-my-way/test/for-in-loop.test.js +0 -22
- package/node_modules/find-my-way/test/full-url.test.js +0 -30
- package/node_modules/find-my-way/test/has-route.test.js +0 -218
- package/node_modules/find-my-way/test/host-storage.test.js +0 -27
- package/node_modules/find-my-way/test/http2/constraint.host.test.js +0 -44
- package/node_modules/find-my-way/test/issue-101.test.js +0 -31
- package/node_modules/find-my-way/test/issue-104.test.js +0 -206
- package/node_modules/find-my-way/test/issue-110.test.js +0 -31
- package/node_modules/find-my-way/test/issue-132.test.js +0 -80
- package/node_modules/find-my-way/test/issue-145.test.js +0 -24
- package/node_modules/find-my-way/test/issue-149.test.js +0 -21
- package/node_modules/find-my-way/test/issue-151.test.js +0 -54
- package/node_modules/find-my-way/test/issue-154.test.js +0 -21
- package/node_modules/find-my-way/test/issue-161.test.js +0 -88
- package/node_modules/find-my-way/test/issue-17.test.js +0 -397
- package/node_modules/find-my-way/test/issue-175.test.js +0 -80
- package/node_modules/find-my-way/test/issue-182.test.js +0 -18
- package/node_modules/find-my-way/test/issue-190.test.js +0 -44
- package/node_modules/find-my-way/test/issue-20.test.js +0 -79
- package/node_modules/find-my-way/test/issue-206.test.js +0 -121
- package/node_modules/find-my-way/test/issue-221.test.js +0 -50
- package/node_modules/find-my-way/test/issue-234.test.js +0 -94
- package/node_modules/find-my-way/test/issue-238.test.js +0 -119
- package/node_modules/find-my-way/test/issue-240.test.js +0 -30
- package/node_modules/find-my-way/test/issue-241.test.js +0 -32
- package/node_modules/find-my-way/test/issue-247.test.js +0 -51
- package/node_modules/find-my-way/test/issue-254.test.js +0 -31
- package/node_modules/find-my-way/test/issue-28.test.js +0 -618
- package/node_modules/find-my-way/test/issue-280.test.js +0 -14
- package/node_modules/find-my-way/test/issue-285.test.js +0 -37
- package/node_modules/find-my-way/test/issue-330.test.js +0 -231
- package/node_modules/find-my-way/test/issue-44.test.js +0 -149
- package/node_modules/find-my-way/test/issue-46.test.js +0 -75
- package/node_modules/find-my-way/test/issue-49.test.js +0 -108
- package/node_modules/find-my-way/test/issue-59.test.js +0 -131
- package/node_modules/find-my-way/test/issue-62.test.js +0 -28
- package/node_modules/find-my-way/test/issue-63.test.js +0 -23
- package/node_modules/find-my-way/test/issue-67.test.js +0 -50
- package/node_modules/find-my-way/test/issue-93.test.js +0 -19
- package/node_modules/find-my-way/test/lookup-async.test.js +0 -29
- package/node_modules/find-my-way/test/lookup.test.js +0 -58
- package/node_modules/find-my-way/test/matching-order.test.js +0 -17
- package/node_modules/find-my-way/test/max-param-length.test.js +0 -44
- package/node_modules/find-my-way/test/methods.test.js +0 -830
- package/node_modules/find-my-way/test/null-object.test.js +0 -36
- package/node_modules/find-my-way/test/on-bad-url.test.js +0 -72
- package/node_modules/find-my-way/test/optional-params.test.js +0 -216
- package/node_modules/find-my-way/test/params-collisions.test.js +0 -126
- package/node_modules/find-my-way/test/path-params-match.test.js +0 -53
- package/node_modules/find-my-way/test/path-utils.test.js +0 -68
- package/node_modules/find-my-way/test/pretty-print-tree.test.js +0 -596
- package/node_modules/find-my-way/test/pretty-print.test.js +0 -680
- package/node_modules/find-my-way/test/querystring.test.js +0 -54
- package/node_modules/find-my-way/test/regex.test.js +0 -269
- package/node_modules/find-my-way/test/routes-registered.test.js +0 -45
- package/node_modules/find-my-way/test/server.test.js +0 -368
- package/node_modules/find-my-way/test/shorthands.test.js +0 -44
- package/node_modules/find-my-way/test/store.test.js +0 -49
- package/node_modules/find-my-way/test/types/router.test-d.ts +0 -187
- package/node_modules/find-my-way/test/url-sanitizer.test.js +0 -43
- package/node_modules/foreground-child/LICENSE +0 -15
- package/node_modules/foreground-child/README.md +0 -128
- package/node_modules/fs-constants/LICENSE +0 -21
- package/node_modules/fs-constants/README.md +0 -26
- package/node_modules/github-from-package/LICENSE +0 -18
- package/node_modules/github-from-package/example/package.json +0 -8
- package/node_modules/github-from-package/example/url.js +0 -3
- package/node_modules/github-from-package/test/a.json +0 -8
- package/node_modules/github-from-package/test/b.json +0 -5
- package/node_modules/github-from-package/test/c.json +0 -5
- package/node_modules/github-from-package/test/d.json +0 -7
- package/node_modules/github-from-package/test/e.json +0 -5
- package/node_modules/github-from-package/test/url.js +0 -19
- package/node_modules/glob/LICENSE.md +0 -63
- package/node_modules/glob/README.md +0 -1294
- package/node_modules/glob-to-regexp/README.md +0 -75
- package/node_modules/http-errors/HISTORY.md +0 -186
- package/node_modules/http-errors/LICENSE +0 -23
- package/node_modules/http-errors/README.md +0 -169
- package/node_modules/https-proxy-agent/LICENSE +0 -22
- package/node_modules/https-proxy-agent/README.md +0 -70
- package/node_modules/ieee754/LICENSE +0 -11
- package/node_modules/ieee754/README.md +0 -51
- package/node_modules/ieee754/index.d.ts +0 -10
- package/node_modules/inherits/LICENSE +0 -16
- package/node_modules/inherits/README.md +0 -42
- package/node_modules/ini/LICENSE +0 -15
- package/node_modules/ini/README.md +0 -102
- package/node_modules/ip-address/LICENSE +0 -19
- package/node_modules/ip-address/README.md +0 -105
- package/node_modules/ipaddr.js/LICENSE +0 -19
- package/node_modules/ipaddr.js/README.md +0 -233
- package/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +0 -72
- package/node_modules/is-docker/index.d.ts +0 -13
- package/node_modules/is-docker/license +0 -9
- package/node_modules/is-docker/readme.md +0 -27
- package/node_modules/is-inside-container/index.d.ts +0 -13
- package/node_modules/is-inside-container/license +0 -9
- package/node_modules/is-inside-container/readme.md +0 -36
- package/node_modules/is-wsl/index.d.ts +0 -15
- package/node_modules/is-wsl/license +0 -9
- package/node_modules/is-wsl/readme.md +0 -21
- package/node_modules/isexe/LICENSE +0 -15
- package/node_modules/isexe/README.md +0 -51
- package/node_modules/isexe/test/basic.js +0 -221
- package/node_modules/jackspeak/LICENSE.md +0 -55
- package/node_modules/jackspeak/README.md +0 -394
- package/node_modules/js-cookie/LICENSE +0 -21
- package/node_modules/js-cookie/README.md +0 -305
- package/node_modules/json-schema/LICENSE +0 -195
- package/node_modules/json-schema/README.md +0 -3
- package/node_modules/json-schema-ref-resolver/LICENSE +0 -21
- package/node_modules/json-schema-ref-resolver/README.md +0 -406
- package/node_modules/json-schema-ref-resolver/test/anchor.test.js +0 -56
- package/node_modules/json-schema-ref-resolver/test/collisions.test.js +0 -199
- package/node_modules/json-schema-ref-resolver/test/deref-schema.test.js +0 -287
- package/node_modules/json-schema-ref-resolver/test/get-deref-schema.test.js +0 -363
- package/node_modules/json-schema-ref-resolver/test/get-schema-dependencies.test.js +0 -158
- package/node_modules/json-schema-ref-resolver/test/get-schema-refs.test.js +0 -87
- package/node_modules/json-schema-ref-resolver/test/get-schema.test.js +0 -222
- package/node_modules/json-schema-ref-resolver/test/has-schema.test.js +0 -28
- package/node_modules/json-schema-ref-resolver/types/index.d.ts +0 -67
- package/node_modules/json-schema-traverse/LICENSE +0 -21
- package/node_modules/json-schema-traverse/README.md +0 -95
- package/node_modules/json-schema-traverse/index.d.ts +0 -40
- package/node_modules/keygrip/HISTORY.md +0 -25
- package/node_modules/keygrip/LICENSE +0 -21
- package/node_modules/keygrip/README.md +0 -103
- package/node_modules/light-my-request/LICENSE +0 -32
- package/node_modules/light-my-request/README.md +0 -261
- package/node_modules/light-my-request/benchmark/benchmark.js +0 -164
- package/node_modules/light-my-request/node_modules/process-warning/LICENSE +0 -21
- package/node_modules/light-my-request/node_modules/process-warning/README.md +0 -118
- package/node_modules/light-my-request/node_modules/process-warning/benchmarks/warn.js +0 -25
- package/node_modules/light-my-request/node_modules/process-warning/examples/example.js +0 -11
- package/node_modules/light-my-request/node_modules/process-warning/test/emit-interpolated-string.test.js +0 -29
- package/node_modules/light-my-request/node_modules/process-warning/test/emit-once-only.test.js +0 -28
- package/node_modules/light-my-request/node_modules/process-warning/test/emit-reset.test.js +0 -36
- package/node_modules/light-my-request/node_modules/process-warning/test/emit-set.test.js +0 -30
- package/node_modules/light-my-request/node_modules/process-warning/test/emit-unlimited.test.js +0 -37
- package/node_modules/light-my-request/node_modules/process-warning/test/index.test.js +0 -99
- package/node_modules/light-my-request/node_modules/process-warning/test/issue-88.test.js +0 -33
- package/node_modules/light-my-request/node_modules/process-warning/test/jest.test.js +0 -22
- package/node_modules/light-my-request/node_modules/process-warning/test/no-warnings.test.js +0 -80
- package/node_modules/light-my-request/node_modules/process-warning/types/index.d.ts +0 -37
- package/node_modules/light-my-request/test/async-await.test.js +0 -55
- package/node_modules/light-my-request/test/index.test.js +0 -2316
- package/node_modules/light-my-request/test/request.test.js +0 -16
- package/node_modules/light-my-request/test/response.test.js +0 -19
- package/node_modules/light-my-request/test/stream.test.js +0 -359
- package/node_modules/light-my-request/types/index.d.ts +0 -128
- package/node_modules/lru-cache/LICENSE.md +0 -55
- package/node_modules/lru-cache/README.md +0 -383
- package/node_modules/mime/LICENSE +0 -21
- package/node_modules/mime/README.md +0 -178
- package/node_modules/mimic-response/index.d.ts +0 -17
- package/node_modules/mimic-response/license +0 -9
- package/node_modules/mimic-response/readme.md +0 -78
- package/node_modules/minimatch/LICENSE.md +0 -55
- package/node_modules/minimatch/README.md +0 -528
- package/node_modules/minimist/CHANGELOG.md +0 -298
- package/node_modules/minimist/LICENSE +0 -18
- package/node_modules/minimist/README.md +0 -121
- package/node_modules/minimist/example/parse.js +0 -4
- package/node_modules/minimist/test/all_bool.js +0 -34
- package/node_modules/minimist/test/bool.js +0 -177
- package/node_modules/minimist/test/dash.js +0 -43
- package/node_modules/minimist/test/default_bool.js +0 -37
- package/node_modules/minimist/test/dotted.js +0 -24
- package/node_modules/minimist/test/kv_short.js +0 -32
- package/node_modules/minimist/test/long.js +0 -33
- package/node_modules/minimist/test/num.js +0 -38
- package/node_modules/minimist/test/parse.js +0 -209
- package/node_modules/minimist/test/parse_modified.js +0 -11
- package/node_modules/minimist/test/proto.js +0 -64
- package/node_modules/minimist/test/short.js +0 -69
- package/node_modules/minimist/test/stop_early.js +0 -17
- package/node_modules/minimist/test/unknown.js +0 -104
- package/node_modules/minimist/test/whitespace.js +0 -10
- package/node_modules/minipass/LICENSE.md +0 -55
- package/node_modules/minipass/README.md +0 -825
- package/node_modules/mkdirp-classic/LICENSE +0 -21
- package/node_modules/mkdirp-classic/README.md +0 -18
- package/node_modules/ms/license.md +0 -21
- package/node_modules/ms/readme.md +0 -59
- package/node_modules/nanoid/LICENSE +0 -20
- package/node_modules/nanoid/README.md +0 -39
- package/node_modules/nanoid/async/index.d.ts +0 -56
- package/node_modules/nanoid/index.d.cts +0 -91
- package/node_modules/nanoid/index.d.ts +0 -91
- package/node_modules/nanoid/non-secure/index.d.ts +0 -33
- package/node_modules/napi-build-utils/LICENSE +0 -21
- package/node_modules/napi-build-utils/README.md +0 -52
- package/node_modules/napi-build-utils/index.md +0 -0
- package/node_modules/node-abi/LICENSE +0 -21
- package/node_modules/node-abi/README.md +0 -54
- package/node_modules/node-addon-api/LICENSE.md +0 -9
- package/node_modules/node-addon-api/README.md +0 -319
- package/node_modules/node-addon-api/common.gypi +0 -20
- package/node_modules/node-addon-api/except.gypi +0 -25
- package/node_modules/node-addon-api/napi-inl.deprecated.h +0 -186
- package/node_modules/node-addon-api/napi-inl.h +0 -6607
- package/node_modules/node-addon-api/napi.h +0 -3201
- package/node_modules/node-addon-api/node_addon_api.gyp +0 -32
- package/node_modules/node-addon-api/node_api.gyp +0 -9
- package/node_modules/node-addon-api/noexcept.gypi +0 -26
- package/node_modules/node-addon-api/nothing.c +0 -0
- package/node_modules/node-addon-api/tools/README.md +0 -73
- package/node_modules/node-pty/LICENSE +0 -69
- package/node_modules/node-pty/README.md +0 -165
- package/node_modules/node-pty/binding.gyp +0 -111
- package/node_modules/node-pty/deps/winpty/LICENSE +0 -21
- package/node_modules/node-pty/deps/winpty/Makefile +0 -166
- package/node_modules/node-pty/deps/winpty/README.md +0 -151
- package/node_modules/node-pty/deps/winpty/RELEASES.md +0 -280
- package/node_modules/node-pty/deps/winpty/VERSION.txt +0 -1
- package/node_modules/node-pty/deps/winpty/configure +0 -167
- package/node_modules/node-pty/deps/winpty/misc/BufferResizeTests.cc +0 -90
- package/node_modules/node-pty/deps/winpty/misc/ChangeScreenBuffer.cc +0 -53
- package/node_modules/node-pty/deps/winpty/misc/ClearConsole.cc +0 -72
- package/node_modules/node-pty/deps/winpty/misc/ConinMode.cc +0 -117
- package/node_modules/node-pty/deps/winpty/misc/ConinMode.ps1 +0 -116
- package/node_modules/node-pty/deps/winpty/misc/ConoutMode.cc +0 -113
- package/node_modules/node-pty/deps/winpty/misc/DebugClient.py +0 -42
- package/node_modules/node-pty/deps/winpty/misc/DebugServer.py +0 -63
- package/node_modules/node-pty/deps/winpty/misc/DumpLines.py +0 -5
- package/node_modules/node-pty/deps/winpty/misc/EnableExtendedFlags.txt +0 -46
- package/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP437-Consolas.txt +0 -528
- package/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP437-Lucida.txt +0 -633
- package/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP932.txt +0 -630
- package/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP936.txt +0 -630
- package/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP949.txt +0 -630
- package/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP950.txt +0 -630
- package/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/MinimumWindowWidths.txt +0 -16
- package/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/Results.txt +0 -4
- package/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/Windows10SetFontBugginess.txt +0 -144
- package/node_modules/node-pty/deps/winpty/misc/FontSurvey.cc +0 -100
- package/node_modules/node-pty/deps/winpty/misc/FormatChar.h +0 -21
- package/node_modules/node-pty/deps/winpty/misc/FreezePerfTest.cc +0 -62
- package/node_modules/node-pty/deps/winpty/misc/GetCh.cc +0 -20
- package/node_modules/node-pty/deps/winpty/misc/GetConsolePos.cc +0 -41
- package/node_modules/node-pty/deps/winpty/misc/GetFont.cc +0 -261
- package/node_modules/node-pty/deps/winpty/misc/IdentifyConsoleWindow.ps1 +0 -51
- package/node_modules/node-pty/deps/winpty/misc/IsNewConsole.cc +0 -87
- package/node_modules/node-pty/deps/winpty/misc/MouseInputNotes.txt +0 -90
- package/node_modules/node-pty/deps/winpty/misc/MoveConsoleWindow.cc +0 -34
- package/node_modules/node-pty/deps/winpty/misc/Notes.txt +0 -219
- package/node_modules/node-pty/deps/winpty/misc/OSVersion.cc +0 -27
- package/node_modules/node-pty/deps/winpty/misc/ScreenBufferFreezeInactive.cc +0 -101
- package/node_modules/node-pty/deps/winpty/misc/ScreenBufferTest.cc +0 -671
- package/node_modules/node-pty/deps/winpty/misc/ScreenBufferTest2.cc +0 -151
- package/node_modules/node-pty/deps/winpty/misc/SelectAllTest.cc +0 -45
- package/node_modules/node-pty/deps/winpty/misc/SetBufferSize.cc +0 -32
- package/node_modules/node-pty/deps/winpty/misc/SetCursorPos.cc +0 -10
- package/node_modules/node-pty/deps/winpty/misc/SetFont.cc +0 -145
- package/node_modules/node-pty/deps/winpty/misc/SetWindowRect.cc +0 -36
- package/node_modules/node-pty/deps/winpty/misc/ShowArgv.cc +0 -12
- package/node_modules/node-pty/deps/winpty/misc/ShowConsoleInput.cc +0 -40
- package/node_modules/node-pty/deps/winpty/misc/Spew.py +0 -5
- package/node_modules/node-pty/deps/winpty/misc/TestUtil.cc +0 -172
- package/node_modules/node-pty/deps/winpty/misc/UnicodeDoubleWidthTest.cc +0 -102
- package/node_modules/node-pty/deps/winpty/misc/UnicodeWideTest1.cc +0 -246
- package/node_modules/node-pty/deps/winpty/misc/UnicodeWideTest2.cc +0 -130
- package/node_modules/node-pty/deps/winpty/misc/UnixEcho.cc +0 -89
- package/node_modules/node-pty/deps/winpty/misc/Utf16Echo.cc +0 -46
- package/node_modules/node-pty/deps/winpty/misc/VeryLargeRead.cc +0 -122
- package/node_modules/node-pty/deps/winpty/misc/VkEscapeTest.cc +0 -56
- package/node_modules/node-pty/deps/winpty/misc/Win10ResizeWhileFrozen.cc +0 -52
- package/node_modules/node-pty/deps/winpty/misc/Win10WrapTest1.cc +0 -57
- package/node_modules/node-pty/deps/winpty/misc/Win10WrapTest2.cc +0 -30
- package/node_modules/node-pty/deps/winpty/misc/Win32Echo1.cc +0 -26
- package/node_modules/node-pty/deps/winpty/misc/Win32Echo2.cc +0 -19
- package/node_modules/node-pty/deps/winpty/misc/Win32Test1.cc +0 -46
- package/node_modules/node-pty/deps/winpty/misc/Win32Test2.cc +0 -70
- package/node_modules/node-pty/deps/winpty/misc/Win32Test3.cc +0 -78
- package/node_modules/node-pty/deps/winpty/misc/Win32Write1.cc +0 -44
- package/node_modules/node-pty/deps/winpty/misc/WindowsBugCrashReader.cc +0 -27
- package/node_modules/node-pty/deps/winpty/misc/WriteConsole.cc +0 -106
- package/node_modules/node-pty/deps/winpty/misc/build32.sh +0 -9
- package/node_modules/node-pty/deps/winpty/misc/build64.sh +0 -9
- package/node_modules/node-pty/deps/winpty/misc/color-test.sh +0 -212
- package/node_modules/node-pty/deps/winpty/misc/font-notes.txt +0 -300
- package/node_modules/node-pty/deps/winpty/misc/winbug-15048.cc +0 -201
- package/node_modules/node-pty/deps/winpty/ship/build-pty4j-libpty.bat +0 -36
- package/node_modules/node-pty/deps/winpty/ship/common_ship.py +0 -53
- package/node_modules/node-pty/deps/winpty/ship/make_msvc_package.py +0 -165
- package/node_modules/node-pty/deps/winpty/ship/ship.py +0 -108
- package/node_modules/node-pty/deps/winpty/src/agent/Agent.cc +0 -613
- package/node_modules/node-pty/deps/winpty/src/agent/Agent.h +0 -103
- package/node_modules/node-pty/deps/winpty/src/agent/AgentCreateDesktop.cc +0 -84
- package/node_modules/node-pty/deps/winpty/src/agent/AgentCreateDesktop.h +0 -28
- package/node_modules/node-pty/deps/winpty/src/agent/ConsoleFont.cc +0 -632
- package/node_modules/node-pty/deps/winpty/src/agent/ConsoleFont.h +0 -28
- package/node_modules/node-pty/deps/winpty/src/agent/ConsoleInput.cc +0 -852
- package/node_modules/node-pty/deps/winpty/src/agent/ConsoleInput.h +0 -109
- package/node_modules/node-pty/deps/winpty/src/agent/ConsoleInputReencoding.cc +0 -121
- package/node_modules/node-pty/deps/winpty/src/agent/ConsoleInputReencoding.h +0 -36
- package/node_modules/node-pty/deps/winpty/src/agent/ConsoleLine.cc +0 -152
- package/node_modules/node-pty/deps/winpty/src/agent/ConsoleLine.h +0 -41
- package/node_modules/node-pty/deps/winpty/src/agent/Coord.h +0 -87
- package/node_modules/node-pty/deps/winpty/src/agent/DebugShowInput.cc +0 -239
- package/node_modules/node-pty/deps/winpty/src/agent/DebugShowInput.h +0 -32
- package/node_modules/node-pty/deps/winpty/src/agent/DefaultInputMap.cc +0 -422
- package/node_modules/node-pty/deps/winpty/src/agent/DefaultInputMap.h +0 -28
- package/node_modules/node-pty/deps/winpty/src/agent/DsrSender.h +0 -30
- package/node_modules/node-pty/deps/winpty/src/agent/EventLoop.cc +0 -99
- package/node_modules/node-pty/deps/winpty/src/agent/EventLoop.h +0 -47
- package/node_modules/node-pty/deps/winpty/src/agent/InputMap.cc +0 -246
- package/node_modules/node-pty/deps/winpty/src/agent/InputMap.h +0 -114
- package/node_modules/node-pty/deps/winpty/src/agent/LargeConsoleRead.cc +0 -71
- package/node_modules/node-pty/deps/winpty/src/agent/LargeConsoleRead.h +0 -68
- package/node_modules/node-pty/deps/winpty/src/agent/NamedPipe.cc +0 -378
- package/node_modules/node-pty/deps/winpty/src/agent/NamedPipe.h +0 -125
- package/node_modules/node-pty/deps/winpty/src/agent/Scraper.cc +0 -699
- package/node_modules/node-pty/deps/winpty/src/agent/Scraper.h +0 -103
- package/node_modules/node-pty/deps/winpty/src/agent/SimplePool.h +0 -75
- package/node_modules/node-pty/deps/winpty/src/agent/SmallRect.h +0 -143
- package/node_modules/node-pty/deps/winpty/src/agent/Terminal.cc +0 -535
- package/node_modules/node-pty/deps/winpty/src/agent/Terminal.h +0 -69
- package/node_modules/node-pty/deps/winpty/src/agent/UnicodeEncoding.h +0 -157
- package/node_modules/node-pty/deps/winpty/src/agent/UnicodeEncodingTest.cc +0 -189
- package/node_modules/node-pty/deps/winpty/src/agent/Win32Console.cc +0 -107
- package/node_modules/node-pty/deps/winpty/src/agent/Win32Console.h +0 -67
- package/node_modules/node-pty/deps/winpty/src/agent/Win32ConsoleBuffer.cc +0 -193
- package/node_modules/node-pty/deps/winpty/src/agent/Win32ConsoleBuffer.h +0 -99
- package/node_modules/node-pty/deps/winpty/src/agent/main.cc +0 -114
- package/node_modules/node-pty/deps/winpty/src/agent/subdir.mk +0 -61
- package/node_modules/node-pty/deps/winpty/src/configurations.gypi +0 -60
- package/node_modules/node-pty/deps/winpty/src/debugserver/DebugServer.cc +0 -117
- package/node_modules/node-pty/deps/winpty/src/debugserver/subdir.mk +0 -41
- package/node_modules/node-pty/deps/winpty/src/include/winpty.h +0 -242
- package/node_modules/node-pty/deps/winpty/src/include/winpty_constants.h +0 -131
- package/node_modules/node-pty/deps/winpty/src/libwinpty/AgentLocation.cc +0 -75
- package/node_modules/node-pty/deps/winpty/src/libwinpty/AgentLocation.h +0 -28
- package/node_modules/node-pty/deps/winpty/src/libwinpty/LibWinptyException.h +0 -54
- package/node_modules/node-pty/deps/winpty/src/libwinpty/WinptyInternal.h +0 -72
- package/node_modules/node-pty/deps/winpty/src/libwinpty/subdir.mk +0 -46
- package/node_modules/node-pty/deps/winpty/src/libwinpty/winpty.cc +0 -970
- package/node_modules/node-pty/deps/winpty/src/shared/AgentMsg.h +0 -38
- package/node_modules/node-pty/deps/winpty/src/shared/BackgroundDesktop.cc +0 -122
- package/node_modules/node-pty/deps/winpty/src/shared/BackgroundDesktop.h +0 -73
- package/node_modules/node-pty/deps/winpty/src/shared/Buffer.cc +0 -103
- package/node_modules/node-pty/deps/winpty/src/shared/Buffer.h +0 -102
- package/node_modules/node-pty/deps/winpty/src/shared/DebugClient.cc +0 -187
- package/node_modules/node-pty/deps/winpty/src/shared/DebugClient.h +0 -38
- package/node_modules/node-pty/deps/winpty/src/shared/GenRandom.cc +0 -138
- package/node_modules/node-pty/deps/winpty/src/shared/GenRandom.h +0 -55
- package/node_modules/node-pty/deps/winpty/src/shared/GetCommitHash.bat +0 -13
- package/node_modules/node-pty/deps/winpty/src/shared/Mutex.h +0 -54
- package/node_modules/node-pty/deps/winpty/src/shared/OsModule.h +0 -63
- package/node_modules/node-pty/deps/winpty/src/shared/OwnedHandle.cc +0 -36
- package/node_modules/node-pty/deps/winpty/src/shared/OwnedHandle.h +0 -45
- package/node_modules/node-pty/deps/winpty/src/shared/PrecompiledHeader.h +0 -43
- package/node_modules/node-pty/deps/winpty/src/shared/StringBuilder.h +0 -227
- package/node_modules/node-pty/deps/winpty/src/shared/StringBuilderTest.cc +0 -114
- package/node_modules/node-pty/deps/winpty/src/shared/StringUtil.cc +0 -55
- package/node_modules/node-pty/deps/winpty/src/shared/StringUtil.h +0 -80
- package/node_modules/node-pty/deps/winpty/src/shared/TimeMeasurement.h +0 -63
- package/node_modules/node-pty/deps/winpty/src/shared/UnixCtrlChars.h +0 -45
- package/node_modules/node-pty/deps/winpty/src/shared/UpdateGenVersion.bat +0 -20
- package/node_modules/node-pty/deps/winpty/src/shared/WindowsSecurity.cc +0 -460
- package/node_modules/node-pty/deps/winpty/src/shared/WindowsSecurity.h +0 -104
- package/node_modules/node-pty/deps/winpty/src/shared/WindowsVersion.cc +0 -252
- package/node_modules/node-pty/deps/winpty/src/shared/WindowsVersion.h +0 -29
- package/node_modules/node-pty/deps/winpty/src/shared/WinptyAssert.cc +0 -55
- package/node_modules/node-pty/deps/winpty/src/shared/WinptyAssert.h +0 -64
- package/node_modules/node-pty/deps/winpty/src/shared/WinptyException.cc +0 -57
- package/node_modules/node-pty/deps/winpty/src/shared/WinptyException.h +0 -43
- package/node_modules/node-pty/deps/winpty/src/shared/WinptyVersion.cc +0 -42
- package/node_modules/node-pty/deps/winpty/src/shared/WinptyVersion.h +0 -27
- package/node_modules/node-pty/deps/winpty/src/shared/winpty_snprintf.h +0 -99
- package/node_modules/node-pty/deps/winpty/src/subdir.mk +0 -5
- package/node_modules/node-pty/deps/winpty/src/tests/subdir.mk +0 -28
- package/node_modules/node-pty/deps/winpty/src/tests/trivial_test.cc +0 -158
- package/node_modules/node-pty/deps/winpty/src/unix-adapter/InputHandler.cc +0 -114
- package/node_modules/node-pty/deps/winpty/src/unix-adapter/InputHandler.h +0 -56
- package/node_modules/node-pty/deps/winpty/src/unix-adapter/OutputHandler.cc +0 -80
- package/node_modules/node-pty/deps/winpty/src/unix-adapter/OutputHandler.h +0 -53
- package/node_modules/node-pty/deps/winpty/src/unix-adapter/Util.cc +0 -86
- package/node_modules/node-pty/deps/winpty/src/unix-adapter/Util.h +0 -31
- package/node_modules/node-pty/deps/winpty/src/unix-adapter/WakeupFd.cc +0 -70
- package/node_modules/node-pty/deps/winpty/src/unix-adapter/WakeupFd.h +0 -42
- package/node_modules/node-pty/deps/winpty/src/unix-adapter/main.cc +0 -729
- package/node_modules/node-pty/deps/winpty/src/unix-adapter/subdir.mk +0 -41
- package/node_modules/node-pty/deps/winpty/src/winpty.gyp +0 -234
- package/node_modules/node-pty/deps/winpty/vcbuild.bat +0 -83
- package/node_modules/node-pty/lib/conpty_console_list_agent.js.map +0 -1
- package/node_modules/node-pty/lib/eventEmitter2.js.map +0 -1
- package/node_modules/node-pty/lib/eventEmitter2.test.js.map +0 -1
- package/node_modules/node-pty/lib/index.js.map +0 -1
- package/node_modules/node-pty/lib/interfaces.js.map +0 -1
- package/node_modules/node-pty/lib/shared/conout.js.map +0 -1
- package/node_modules/node-pty/lib/terminal.js.map +0 -1
- package/node_modules/node-pty/lib/terminal.test.js.map +0 -1
- package/node_modules/node-pty/lib/testUtils.test.js.map +0 -1
- package/node_modules/node-pty/lib/types.js.map +0 -1
- package/node_modules/node-pty/lib/unixTerminal.js.map +0 -1
- package/node_modules/node-pty/lib/unixTerminal.test.js.map +0 -1
- package/node_modules/node-pty/lib/utils.js.map +0 -1
- package/node_modules/node-pty/lib/windowsConoutConnection.js.map +0 -1
- package/node_modules/node-pty/lib/windowsPtyAgent.js.map +0 -1
- package/node_modules/node-pty/lib/windowsPtyAgent.test.js.map +0 -1
- package/node_modules/node-pty/lib/windowsTerminal.js.map +0 -1
- package/node_modules/node-pty/lib/windowsTerminal.test.js.map +0 -1
- package/node_modules/node-pty/lib/worker/conoutSocketWorker.js.map +0 -1
- package/node_modules/node-pty/prebuilds/darwin-arm64/pty.node +0 -0
- package/node_modules/node-pty/prebuilds/darwin-arm64/spawn-helper +0 -0
- package/node_modules/node-pty/prebuilds/darwin-x64/pty.node +0 -0
- package/node_modules/node-pty/prebuilds/darwin-x64/spawn-helper +0 -0
- package/node_modules/node-pty/prebuilds/win32-arm64/conpty/OpenConsole.exe +0 -0
- package/node_modules/node-pty/prebuilds/win32-arm64/conpty/conpty.dll +0 -0
- package/node_modules/node-pty/prebuilds/win32-arm64/conpty.node +0 -0
- package/node_modules/node-pty/prebuilds/win32-arm64/conpty.pdb +0 -0
- package/node_modules/node-pty/prebuilds/win32-arm64/conpty_console_list.node +0 -0
- package/node_modules/node-pty/prebuilds/win32-arm64/conpty_console_list.pdb +0 -0
- package/node_modules/node-pty/prebuilds/win32-arm64/pty.node +0 -0
- package/node_modules/node-pty/prebuilds/win32-arm64/pty.pdb +0 -0
- package/node_modules/node-pty/prebuilds/win32-arm64/winpty-agent.exe +0 -0
- package/node_modules/node-pty/prebuilds/win32-arm64/winpty-agent.pdb +0 -0
- package/node_modules/node-pty/prebuilds/win32-arm64/winpty.dll +0 -0
- package/node_modules/node-pty/prebuilds/win32-arm64/winpty.pdb +0 -0
- package/node_modules/node-pty/scripts/gen-compile-commands.js +0 -8
- package/node_modules/node-pty/scripts/increment-version.js +0 -54
- package/node_modules/node-pty/scripts/post-install.js +0 -80
- package/node_modules/node-pty/scripts/prebuild.js +0 -34
- package/node_modules/node-pty/src/conpty_console_list_agent.ts +0 -15
- package/node_modules/node-pty/src/eventEmitter2.test.ts +0 -30
- package/node_modules/node-pty/src/eventEmitter2.ts +0 -48
- package/node_modules/node-pty/src/index.ts +0 -52
- package/node_modules/node-pty/src/interfaces.ts +0 -130
- package/node_modules/node-pty/src/native.d.ts +0 -54
- package/node_modules/node-pty/src/shared/conout.ts +0 -15
- package/node_modules/node-pty/src/terminal.test.ts +0 -119
- package/node_modules/node-pty/src/terminal.ts +0 -211
- package/node_modules/node-pty/src/testUtils.test.ts +0 -23
- package/node_modules/node-pty/src/tsconfig.json +0 -22
- package/node_modules/node-pty/src/types.ts +0 -15
- package/node_modules/node-pty/src/unix/pty.cc +0 -799
- package/node_modules/node-pty/src/unix/spawn-helper.cc +0 -23
- package/node_modules/node-pty/src/unixTerminal.test.ts +0 -367
- package/node_modules/node-pty/src/unixTerminal.ts +0 -388
- package/node_modules/node-pty/src/utils.ts +0 -29
- package/node_modules/node-pty/src/win/conpty.cc +0 -583
- package/node_modules/node-pty/src/win/conpty.h +0 -41
- package/node_modules/node-pty/src/win/conpty_console_list.cc +0 -44
- package/node_modules/node-pty/src/win/path_util.cc +0 -95
- package/node_modules/node-pty/src/win/path_util.h +0 -26
- package/node_modules/node-pty/src/win/winpty.cc +0 -333
- package/node_modules/node-pty/src/windowsConoutConnection.ts +0 -82
- package/node_modules/node-pty/src/windowsPtyAgent.test.ts +0 -94
- package/node_modules/node-pty/src/windowsPtyAgent.ts +0 -321
- package/node_modules/node-pty/src/windowsTerminal.test.ts +0 -229
- package/node_modules/node-pty/src/windowsTerminal.ts +0 -203
- package/node_modules/node-pty/src/worker/conoutSocketWorker.ts +0 -22
- package/node_modules/node-pty/third_party/conpty/1.23.251008001/win10-arm64/OpenConsole.exe +0 -0
- package/node_modules/node-pty/third_party/conpty/1.23.251008001/win10-arm64/conpty.dll +0 -0
- package/node_modules/node-pty/typings/node-pty.d.ts +0 -211
- package/node_modules/on-exit-leak-free/LICENSE +0 -21
- package/node_modules/on-exit-leak-free/README.md +0 -54
- package/node_modules/on-exit-leak-free/test/base.test.js +0 -30
- package/node_modules/on-exit-leak-free/test/event-emitter-leak.test.js +0 -23
- package/node_modules/on-exit-leak-free/test/fixtures/beforeExit.js +0 -33
- package/node_modules/on-exit-leak-free/test/fixtures/close.js +0 -21
- package/node_modules/on-exit-leak-free/test/fixtures/gc-not-close.js +0 -24
- package/node_modules/on-exit-leak-free/test/fixtures/unregister.js +0 -24
- package/node_modules/once/LICENSE +0 -15
- package/node_modules/once/README.md +0 -79
- package/node_modules/open/index.d.ts +0 -158
- package/node_modules/open/license +0 -9
- package/node_modules/open/readme.md +0 -183
- package/node_modules/package-json-from-dist/LICENSE.md +0 -63
- package/node_modules/package-json-from-dist/README.md +0 -110
- package/node_modules/path-key/index.d.ts +0 -40
- package/node_modules/path-key/license +0 -9
- package/node_modules/path-key/readme.md +0 -61
- package/node_modules/path-scurry/LICENSE.md +0 -55
- package/node_modules/path-scurry/README.md +0 -636
- package/node_modules/pino/CONTRIBUTING.md +0 -30
- package/node_modules/pino/LICENSE +0 -21
- package/node_modules/pino/README.md +0 -177
- package/node_modules/pino/SECURITY.md +0 -87
- package/node_modules/pino/benchmarks/basic.bench.js +0 -95
- package/node_modules/pino/benchmarks/child-child.bench.js +0 -52
- package/node_modules/pino/benchmarks/child-creation.bench.js +0 -73
- package/node_modules/pino/benchmarks/child.bench.js +0 -62
- package/node_modules/pino/benchmarks/deep-object.bench.js +0 -88
- package/node_modules/pino/benchmarks/formatters.bench.js +0 -50
- package/node_modules/pino/benchmarks/internal/custom-levels.js +0 -67
- package/node_modules/pino/benchmarks/internal/just-pino-heavy.bench.js +0 -76
- package/node_modules/pino/benchmarks/internal/just-pino.bench.js +0 -182
- package/node_modules/pino/benchmarks/internal/parent-vs-child.bench.js +0 -75
- package/node_modules/pino/benchmarks/internal/redact.bench.js +0 -86
- package/node_modules/pino/benchmarks/long-string.bench.js +0 -81
- package/node_modules/pino/benchmarks/multi-arg.bench.js +0 -193
- package/node_modules/pino/benchmarks/multistream.js +0 -98
- package/node_modules/pino/benchmarks/object.bench.js +0 -82
- package/node_modules/pino/benchmarks/utils/generate-benchmark-doc.js +0 -36
- package/node_modules/pino/benchmarks/utils/runbench.js +0 -138
- package/node_modules/pino/benchmarks/utils/wrap-log-level.js +0 -55
- package/node_modules/pino/docs/api.md +0 -1593
- package/node_modules/pino/docs/asynchronous.md +0 -40
- package/node_modules/pino/docs/benchmarks.md +0 -55
- package/node_modules/pino/docs/browser.md +0 -278
- package/node_modules/pino/docs/bundling.md +0 -40
- package/node_modules/pino/docs/child-loggers.md +0 -95
- package/node_modules/pino/docs/diagnostics.md +0 -16
- package/node_modules/pino/docs/ecosystem.md +0 -86
- package/node_modules/pino/docs/help.md +0 -345
- package/node_modules/pino/docs/lts.md +0 -64
- package/node_modules/pino/docs/pretty.md +0 -35
- package/node_modules/pino/docs/redaction.md +0 -135
- package/node_modules/pino/docs/transports.md +0 -1376
- package/node_modules/pino/docs/web.md +0 -309
- package/node_modules/pino/examples/basic.js +0 -43
- package/node_modules/pino/examples/transport.js +0 -68
- package/node_modules/pino/pino.d.ts +0 -908
- package/node_modules/pino/test/basic.test.js +0 -886
- package/node_modules/pino/test/broken-pipe.test.js +0 -59
- package/node_modules/pino/test/browser-child.test.js +0 -132
- package/node_modules/pino/test/browser-disabled.test.js +0 -87
- package/node_modules/pino/test/browser-early-console-freeze.test.js +0 -12
- package/node_modules/pino/test/browser-is-level-enabled.test.js +0 -101
- package/node_modules/pino/test/browser-levels.test.js +0 -241
- package/node_modules/pino/test/browser-serializers.test.js +0 -352
- package/node_modules/pino/test/browser-timestamp.test.js +0 -88
- package/node_modules/pino/test/browser-transmit.test.js +0 -417
- package/node_modules/pino/test/browser.test.js +0 -698
- package/node_modules/pino/test/complex-objects.test.js +0 -36
- package/node_modules/pino/test/crlf.test.js +0 -34
- package/node_modules/pino/test/custom-levels.test.js +0 -267
- package/node_modules/pino/test/diagnostics.test.js +0 -107
- package/node_modules/pino/test/error-key.test.js +0 -37
- package/node_modules/pino/test/error.test.js +0 -403
- package/node_modules/pino/test/escaping.test.js +0 -93
- package/node_modules/pino/test/esm/esm.mjs +0 -14
- package/node_modules/pino/test/esm/index.test.js +0 -21
- package/node_modules/pino/test/esm/named-exports.mjs +0 -29
- package/node_modules/pino/test/exit.test.js +0 -79
- package/node_modules/pino/test/fixtures/broken-pipe/basic.js +0 -9
- package/node_modules/pino/test/fixtures/broken-pipe/destination.js +0 -10
- package/node_modules/pino/test/fixtures/broken-pipe/syncfalse.js +0 -12
- package/node_modules/pino/test/fixtures/console-transport.js +0 -13
- package/node_modules/pino/test/fixtures/crashing-transport.js +0 -13
- package/node_modules/pino/test/fixtures/default-exit.js +0 -8
- package/node_modules/pino/test/fixtures/destination-exit.js +0 -8
- package/node_modules/pino/test/fixtures/eval/index.js +0 -13
- package/node_modules/pino/test/fixtures/eval/node_modules/14-files.js +0 -3
- package/node_modules/pino/test/fixtures/eval/node_modules/2-files.js +0 -3
- package/node_modules/pino/test/fixtures/eval/node_modules/file1.js +0 -5
- package/node_modules/pino/test/fixtures/eval/node_modules/file10.js +0 -5
- package/node_modules/pino/test/fixtures/eval/node_modules/file11.js +0 -5
- package/node_modules/pino/test/fixtures/eval/node_modules/file12.js +0 -5
- package/node_modules/pino/test/fixtures/eval/node_modules/file13.js +0 -5
- package/node_modules/pino/test/fixtures/eval/node_modules/file14.js +0 -11
- package/node_modules/pino/test/fixtures/eval/node_modules/file2.js +0 -5
- package/node_modules/pino/test/fixtures/eval/node_modules/file3.js +0 -5
- package/node_modules/pino/test/fixtures/eval/node_modules/file4.js +0 -5
- package/node_modules/pino/test/fixtures/eval/node_modules/file5.js +0 -5
- package/node_modules/pino/test/fixtures/eval/node_modules/file6.js +0 -5
- package/node_modules/pino/test/fixtures/eval/node_modules/file7.js +0 -5
- package/node_modules/pino/test/fixtures/eval/node_modules/file8.js +0 -5
- package/node_modules/pino/test/fixtures/eval/node_modules/file9.js +0 -5
- package/node_modules/pino/test/fixtures/noop-transport.js +0 -10
- package/node_modules/pino/test/fixtures/pretty/null-prototype.js +0 -8
- package/node_modules/pino/test/fixtures/stdout-hack-protection.js +0 -11
- package/node_modules/pino/test/fixtures/syncfalse-child.js +0 -6
- package/node_modules/pino/test/fixtures/syncfalse-exit.js +0 -9
- package/node_modules/pino/test/fixtures/syncfalse-flush-exit.js +0 -10
- package/node_modules/pino/test/fixtures/syncfalse.js +0 -6
- package/node_modules/pino/test/fixtures/syntax-error-esm.mjs +0 -2
- package/node_modules/pino/test/fixtures/to-file-transport-with-transform.js +0 -20
- package/node_modules/pino/test/fixtures/to-file-transport.js +0 -13
- package/node_modules/pino/test/fixtures/to-file-transport.mjs +0 -8
- package/node_modules/pino/test/fixtures/transport/index.js +0 -12
- package/node_modules/pino/test/fixtures/transport/package.json +0 -5
- package/node_modules/pino/test/fixtures/transport-exit-immediately-with-async-dest.js +0 -16
- package/node_modules/pino/test/fixtures/transport-exit-immediately.js +0 -11
- package/node_modules/pino/test/fixtures/transport-exit-on-ready.js +0 -12
- package/node_modules/pino/test/fixtures/transport-invalid-node-options.js +0 -26
- package/node_modules/pino/test/fixtures/transport-main.js +0 -9
- package/node_modules/pino/test/fixtures/transport-many-lines.js +0 -29
- package/node_modules/pino/test/fixtures/transport-preload-main.mjs +0 -13
- package/node_modules/pino/test/fixtures/transport-preload.mjs +0 -13
- package/node_modules/pino/test/fixtures/transport-string-stdout.js +0 -9
- package/node_modules/pino/test/fixtures/transport-transform.js +0 -21
- package/node_modules/pino/test/fixtures/transport-uses-pino-config.js +0 -33
- package/node_modules/pino/test/fixtures/transport-with-on-exit.js +0 -12
- package/node_modules/pino/test/fixtures/transport-worker-data.js +0 -19
- package/node_modules/pino/test/fixtures/transport-worker-name.js +0 -24
- package/node_modules/pino/test/fixtures/transport-worker.js +0 -15
- package/node_modules/pino/test/fixtures/transport-wrong-export-type.js +0 -3
- package/node_modules/pino/test/fixtures/ts/to-file-transport-native.mts +0 -15
- package/node_modules/pino/test/fixtures/ts/to-file-transport-with-transform.ts +0 -18
- package/node_modules/pino/test/fixtures/ts/to-file-transport.ts +0 -11
- package/node_modules/pino/test/fixtures/ts/transpile.cjs +0 -36
- package/node_modules/pino/test/fixtures/ts/transport-exit-immediately-with-async-dest.ts +0 -15
- package/node_modules/pino/test/fixtures/ts/transport-exit-immediately.ts +0 -10
- package/node_modules/pino/test/fixtures/ts/transport-exit-on-ready.ts +0 -11
- package/node_modules/pino/test/fixtures/ts/transport-main.ts +0 -8
- package/node_modules/pino/test/fixtures/ts/transport-string-stdout.ts +0 -8
- package/node_modules/pino/test/fixtures/ts/transport-worker.ts +0 -14
- package/node_modules/pino/test/formatters.test.js +0 -364
- package/node_modules/pino/test/helper.d.ts +0 -4
- package/node_modules/pino/test/helper.js +0 -155
- package/node_modules/pino/test/hooks.test.js +0 -114
- package/node_modules/pino/test/http.test.js +0 -214
- package/node_modules/pino/test/internals/version.test.js +0 -17
- package/node_modules/pino/test/is-level-enabled.test.js +0 -179
- package/node_modules/pino/test/jest/basic.spec.js +0 -10
- package/node_modules/pino/test/levels.test.js +0 -810
- package/node_modules/pino/test/metadata.test.js +0 -120
- package/node_modules/pino/test/mixin-merge-strategy.test.js +0 -57
- package/node_modules/pino/test/mixin.test.js +0 -241
- package/node_modules/pino/test/multistream.test.js +0 -729
- package/node_modules/pino/test/redact.test.js +0 -893
- package/node_modules/pino/test/serializers.test.js +0 -257
- package/node_modules/pino/test/stdout-protection.test.js +0 -41
- package/node_modules/pino/test/syncfalse.test.js +0 -186
- package/node_modules/pino/test/timestamp-nano.test.js +0 -37
- package/node_modules/pino/test/timestamp.test.js +0 -124
- package/node_modules/pino/test/transport/big.test.js +0 -42
- package/node_modules/pino/test/transport/bundlers-support.test.js +0 -99
- package/node_modules/pino/test/transport/caller.test.js +0 -24
- package/node_modules/pino/test/transport/core.test.js +0 -733
- package/node_modules/pino/test/transport/core.transpiled.test.ts +0 -114
- package/node_modules/pino/test/transport/crash.test.js +0 -36
- package/node_modules/pino/test/transport/module-link.test.js +0 -241
- package/node_modules/pino/test/transport/native-type-stripping.test.mjs +0 -151
- package/node_modules/pino/test/transport/node-options.test.js +0 -116
- package/node_modules/pino/test/transport/pipeline.test.js +0 -137
- package/node_modules/pino/test/transport/preload.test.js +0 -54
- package/node_modules/pino/test/transport/repl.test.js +0 -15
- package/node_modules/pino/test/transport/sync-false.test.js +0 -67
- package/node_modules/pino/test/transport/sync-true.test.js +0 -57
- package/node_modules/pino/test/transport/targets.test.js +0 -48
- package/node_modules/pino/test/transport/uses-pino-config.test.js +0 -166
- package/node_modules/pino/test/transport-stream.test.js +0 -40
- package/node_modules/pino/test/types/pino-import.test-d.cts +0 -30
- package/node_modules/pino/test/types/pino-multistream.test-d.ts +0 -28
- package/node_modules/pino/test/types/pino-top-export.test-d.ts +0 -34
- package/node_modules/pino/test/types/pino-transport.test-d.ts +0 -156
- package/node_modules/pino/test/types/pino-type-only.test-d.ts +0 -75
- package/node_modules/pino/test/types/pino.test-d.ts +0 -683
- package/node_modules/pino/test/types/pino.ts +0 -91
- package/node_modules/pino-abstract-transport/LICENSE +0 -21
- package/node_modules/pino-abstract-transport/README.md +0 -171
- package/node_modules/pino-abstract-transport/index.d.ts +0 -122
- package/node_modules/pino-abstract-transport/test/base.test.js +0 -473
- package/node_modules/pino-abstract-transport/test/fixtures/transport-async-iteration.js +0 -22
- package/node_modules/pino-abstract-transport/test/fixtures/transport-on-data.js +0 -22
- package/node_modules/pino-abstract-transport/test/fixtures/transport-transform.js +0 -24
- package/node_modules/pino-abstract-transport/test/fixtures/worker-pipeline.js +0 -15
- package/node_modules/pino-abstract-transport/test/match.js +0 -24
- package/node_modules/pino-abstract-transport/test/types/index.test-d.ts +0 -31
- package/node_modules/pino-abstract-transport/test/worker.test.js +0 -372
- package/node_modules/pino-std-serializers/LICENSE +0 -7
- package/node_modules/pino-std-serializers/Readme.md +0 -182
- package/node_modules/pino-std-serializers/index.d.ts +0 -145
- package/node_modules/pino-std-serializers/test/err-with-cause.test.js +0 -187
- package/node_modules/pino-std-serializers/test/err.test.js +0 -200
- package/node_modules/pino-std-serializers/test/req.test.js +0 -477
- package/node_modules/pino-std-serializers/test/res.test.js +0 -120
- package/node_modules/pino-std-serializers/test/types/index.test-d.ts +0 -71
- package/node_modules/prebuild-install/CHANGELOG.md +0 -131
- package/node_modules/prebuild-install/CONTRIBUTING.md +0 -6
- package/node_modules/prebuild-install/LICENSE +0 -21
- package/node_modules/prebuild-install/README.md +0 -163
- package/node_modules/process-warning/LICENSE +0 -21
- package/node_modules/process-warning/README.md +0 -118
- package/node_modules/process-warning/benchmarks/warn.js +0 -25
- package/node_modules/process-warning/examples/example.js +0 -11
- package/node_modules/process-warning/test/emit-interpolated-string.test.js +0 -34
- package/node_modules/process-warning/test/emit-once-only.test.js +0 -33
- package/node_modules/process-warning/test/emit-reset.test.js +0 -40
- package/node_modules/process-warning/test/emit-set.test.js +0 -35
- package/node_modules/process-warning/test/emit-unlimited.test.js +0 -42
- package/node_modules/process-warning/test/index.test.js +0 -99
- package/node_modules/process-warning/test/issue-88.test.js +0 -38
- package/node_modules/process-warning/test/jest.test.js +0 -24
- package/node_modules/process-warning/test/no-warnings.test.js +0 -80
- package/node_modules/process-warning/test/promise.js +0 -10
- package/node_modules/process-warning/types/index.d.ts +0 -37
- package/node_modules/pump/LICENSE +0 -21
- package/node_modules/pump/README.md +0 -74
- package/node_modules/pump/SECURITY.md +0 -5
- package/node_modules/quick-format-unescaped/LICENSE +0 -21
- package/node_modules/quick-format-unescaped/readme.md +0 -66
- package/node_modules/quick-format-unescaped/test/index.js +0 -136
- package/node_modules/rc/LICENSE.APACHE2 +0 -15
- package/node_modules/rc/LICENSE.BSD +0 -26
- package/node_modules/rc/LICENSE.MIT +0 -24
- package/node_modules/rc/README.md +0 -227
- package/node_modules/rc/test/ini.js +0 -16
- package/node_modules/rc/test/nested-env-vars.js +0 -50
- package/node_modules/rc/test/test.js +0 -59
- package/node_modules/readable-stream/CONTRIBUTING.md +0 -38
- package/node_modules/readable-stream/GOVERNANCE.md +0 -136
- package/node_modules/readable-stream/LICENSE +0 -47
- package/node_modules/readable-stream/README.md +0 -106
- package/node_modules/real-require/LICENSE.md +0 -21
- package/node_modules/real-require/README.md +0 -51
- package/node_modules/require-from-string/license +0 -21
- package/node_modules/require-from-string/readme.md +0 -56
- package/node_modules/ret/LICENSE +0 -21
- package/node_modules/ret/README.md +0 -539
- package/node_modules/reusify/LICENSE +0 -22
- package/node_modules/reusify/README.md +0 -139
- package/node_modules/reusify/SECURITY.md +0 -15
- package/node_modules/reusify/benchmarks/createNoCodeFunction.js +0 -30
- package/node_modules/reusify/benchmarks/fib.js +0 -13
- package/node_modules/reusify/benchmarks/reuseNoCodeFunction.js +0 -38
- package/node_modules/reusify/reusify.d.ts +0 -14
- package/node_modules/rfdc/LICENSE +0 -15
- package/node_modules/rfdc/index.d.ts +0 -13
- package/node_modules/rfdc/readme.md +0 -181
- package/node_modules/rfdc/test/index.js +0 -306
- package/node_modules/run-applescript/index.d.ts +0 -66
- package/node_modules/run-applescript/license +0 -9
- package/node_modules/run-applescript/readme.md +0 -78
- package/node_modules/safe-buffer/LICENSE +0 -21
- package/node_modules/safe-buffer/README.md +0 -584
- package/node_modules/safe-buffer/index.d.ts +0 -187
- package/node_modules/safe-regex2/LICENSE +0 -21
- package/node_modules/safe-regex2/README.md +0 -68
- package/node_modules/safe-regex2/example/safe.js +0 -5
- package/node_modules/safe-regex2/test/regex.test.js +0 -57
- package/node_modules/safe-regex2/types/index.d.ts +0 -9
- package/node_modules/safe-stable-stringify/LICENSE +0 -21
- package/node_modules/safe-stable-stringify/esm/wrapper.d.ts +0 -4
- package/node_modules/safe-stable-stringify/index.d.ts +0 -22
- package/node_modules/safe-stable-stringify/readme.md +0 -179
- package/node_modules/secure-json-parse/LICENSE +0 -19
- package/node_modules/secure-json-parse/README.md +0 -132
- package/node_modules/secure-json-parse/benchmarks/ignore.js +0 -35
- package/node_modules/secure-json-parse/benchmarks/no__proto__.js +0 -40
- package/node_modules/secure-json-parse/benchmarks/package.json +0 -15
- package/node_modules/secure-json-parse/benchmarks/remove.js +0 -39
- package/node_modules/secure-json-parse/benchmarks/throw.js +0 -49
- package/node_modules/secure-json-parse/benchmarks/valid.js +0 -49
- package/node_modules/secure-json-parse/test/index.test.js +0 -649
- package/node_modules/secure-json-parse/types/index.d.ts +0 -60
- package/node_modules/semver/LICENSE +0 -15
- package/node_modules/semver/README.md +0 -665
- package/node_modules/set-cookie-parser/LICENSE +0 -21
- package/node_modules/set-cookie-parser/README.md +0 -202
- package/node_modules/setprototypeof/LICENSE +0 -13
- package/node_modules/setprototypeof/README.md +0 -31
- package/node_modules/setprototypeof/index.d.ts +0 -2
- package/node_modules/setprototypeof/test/index.js +0 -24
- package/node_modules/shebang-command/license +0 -9
- package/node_modules/shebang-command/readme.md +0 -34
- package/node_modules/shebang-regex/index.d.ts +0 -22
- package/node_modules/shebang-regex/license +0 -9
- package/node_modules/shebang-regex/readme.md +0 -33
- package/node_modules/signal-exit/LICENSE.txt +0 -16
- package/node_modules/signal-exit/README.md +0 -74
- package/node_modules/simple-concat/LICENSE +0 -20
- package/node_modules/simple-concat/README.md +0 -44
- package/node_modules/simple-concat/test/basic.js +0 -41
- package/node_modules/simple-get/LICENSE +0 -20
- package/node_modules/simple-get/README.md +0 -333
- package/node_modules/smart-buffer/LICENSE +0 -20
- package/node_modules/smart-buffer/README.md +0 -633
- package/node_modules/smart-buffer/build/smartbuffer.js.map +0 -1
- package/node_modules/smart-buffer/build/utils.js.map +0 -1
- package/node_modules/smart-buffer/docs/CHANGELOG.md +0 -70
- package/node_modules/smart-buffer/docs/README_v3.md +0 -367
- package/node_modules/smart-buffer/docs/ROADMAP.md +0 -0
- package/node_modules/smart-buffer/typings/smartbuffer.d.ts +0 -755
- package/node_modules/smart-buffer/typings/utils.d.ts +0 -66
- package/node_modules/socks/LICENSE +0 -20
- package/node_modules/socks/README.md +0 -686
- package/node_modules/socks/build/client/socksclient.js.map +0 -1
- package/node_modules/socks/build/common/constants.js.map +0 -1
- package/node_modules/socks/build/common/helpers.js.map +0 -1
- package/node_modules/socks/build/common/receivebuffer.js.map +0 -1
- package/node_modules/socks/build/common/util.js.map +0 -1
- package/node_modules/socks/build/index.js.map +0 -1
- package/node_modules/socks/docs/examples/index.md +0 -17
- package/node_modules/socks/docs/examples/javascript/associateExample.md +0 -90
- package/node_modules/socks/docs/examples/javascript/bindExample.md +0 -83
- package/node_modules/socks/docs/examples/javascript/connectExample.md +0 -258
- package/node_modules/socks/docs/examples/typescript/associateExample.md +0 -93
- package/node_modules/socks/docs/examples/typescript/bindExample.md +0 -86
- package/node_modules/socks/docs/examples/typescript/connectExample.md +0 -265
- package/node_modules/socks/docs/index.md +0 -5
- package/node_modules/socks/docs/migratingFromV1.md +0 -86
- package/node_modules/socks/typings/client/socksclient.d.ts +0 -162
- package/node_modules/socks/typings/common/constants.d.ts +0 -151
- package/node_modules/socks/typings/common/helpers.d.ts +0 -17
- package/node_modules/socks/typings/common/receivebuffer.d.ts +0 -12
- package/node_modules/socks/typings/common/util.d.ts +0 -14
- package/node_modules/socks/typings/index.d.ts +0 -1
- package/node_modules/socks-proxy-agent/LICENSE +0 -22
- package/node_modules/socks-proxy-agent/README.md +0 -50
- package/node_modules/sonic-boom/LICENSE +0 -21
- package/node_modules/sonic-boom/README.md +0 -153
- package/node_modules/sonic-boom/test/destroy.test.js +0 -49
- package/node_modules/sonic-boom/test/end.test.js +0 -98
- package/node_modules/sonic-boom/test/flush-sync.test.js +0 -140
- package/node_modules/sonic-boom/test/flush.test.js +0 -419
- package/node_modules/sonic-boom/test/fsync.test.js +0 -63
- package/node_modules/sonic-boom/test/helper.js +0 -42
- package/node_modules/sonic-boom/test/minlength.test.js +0 -35
- package/node_modules/sonic-boom/test/mode.test.js +0 -116
- package/node_modules/sonic-boom/test/periodicflush.test.js +0 -61
- package/node_modules/sonic-boom/test/reopen.test.js +0 -239
- package/node_modules/sonic-boom/test/retry.test.js +0 -414
- package/node_modules/sonic-boom/test/sync.test.js +0 -261
- package/node_modules/sonic-boom/test/write.test.js +0 -515
- package/node_modules/sonic-boom/types/index.d.ts +0 -63
- package/node_modules/sonic-boom/types/tests/test.ts +0 -4
- package/node_modules/split2/LICENSE +0 -13
- package/node_modules/split2/README.md +0 -85
- package/node_modules/standardwebhooks/README.md +0 -41
- package/node_modules/statuses/HISTORY.md +0 -87
- package/node_modules/statuses/LICENSE +0 -23
- package/node_modules/statuses/README.md +0 -139
- package/node_modules/std-env/README.md +0 -118
- package/node_modules/stream-shift/LICENSE +0 -21
- package/node_modules/stream-shift/README.md +0 -25
- package/node_modules/string_decoder/LICENSE +0 -48
- package/node_modules/string_decoder/README.md +0 -47
- package/node_modules/strip-json-comments/license +0 -21
- package/node_modules/strip-json-comments/readme.md +0 -64
- package/node_modules/tar-fs/LICENSE +0 -21
- package/node_modules/tar-fs/README.md +0 -165
- package/node_modules/tar-fs/test/fixtures/a/hello.txt +0 -1
- package/node_modules/tar-fs/test/fixtures/b/a/test.txt +0 -1
- package/node_modules/tar-fs/test/fixtures/d/file1 +0 -0
- package/node_modules/tar-fs/test/fixtures/d/file2 +0 -0
- package/node_modules/tar-fs/test/fixtures/d/sub-dir/file5 +0 -0
- package/node_modules/tar-fs/test/fixtures/d/sub-files/file3 +0 -0
- package/node_modules/tar-fs/test/fixtures/d/sub-files/file4 +0 -0
- package/node_modules/tar-fs/test/fixtures/e/file +0 -0
- package/node_modules/tar-fs/test/fixtures/invalid.tar +0 -0
- package/node_modules/tar-fs/test/index.js +0 -346
- package/node_modules/tar-stream/LICENSE +0 -21
- package/node_modules/tar-stream/README.md +0 -168
- package/node_modules/thread-stream/CLAUDE.md +0 -53
- package/node_modules/thread-stream/LICENSE +0 -21
- package/node_modules/thread-stream/README.md +0 -135
- package/node_modules/thread-stream/index.d.ts +0 -92
- package/node_modules/thread-stream/test/base.test.js +0 -259
- package/node_modules/thread-stream/test/bench.test.js +0 -38
- package/node_modules/thread-stream/test/bundlers.test.js +0 -59
- package/node_modules/thread-stream/test/close-on-gc.js +0 -37
- package/node_modules/thread-stream/test/commonjs-fallback.test.js +0 -75
- package/node_modules/thread-stream/test/context.test.js +0 -21
- package/node_modules/thread-stream/test/create-and-exit.js +0 -16
- package/node_modules/thread-stream/test/custom-worker.js +0 -9
- package/node_modules/thread-stream/test/dir with spaces/test-package.zip +0 -0
- package/node_modules/thread-stream/test/emit-event.js +0 -22
- package/node_modules/thread-stream/test/end.test.js +0 -56
- package/node_modules/thread-stream/test/error.js +0 -14
- package/node_modules/thread-stream/test/esm.test.mjs +0 -46
- package/node_modules/thread-stream/test/event.test.js +0 -24
- package/node_modules/thread-stream/test/exit.js +0 -14
- package/node_modules/thread-stream/test/get-context.js +0 -22
- package/node_modules/thread-stream/test/helper.d.ts +0 -1
- package/node_modules/thread-stream/test/helper.js +0 -26
- package/node_modules/thread-stream/test/indexes.test.js +0 -11
- package/node_modules/thread-stream/test/multibyte-chars.test.mjs +0 -75
- package/node_modules/thread-stream/test/on-message.js +0 -18
- package/node_modules/thread-stream/test/pkg/index.js +0 -37
- package/node_modules/thread-stream/test/pkg/pkg.config.json +0 -14
- package/node_modules/thread-stream/test/pkg/pkg.test.js +0 -45
- package/node_modules/thread-stream/test/port.js +0 -16
- package/node_modules/thread-stream/test/post-message.test.js +0 -23
- package/node_modules/thread-stream/test/string-limit-2.test.js +0 -35
- package/node_modules/thread-stream/test/string-limit.test.js +0 -37
- package/node_modules/thread-stream/test/syntax-error.mjs +0 -2
- package/node_modules/thread-stream/test/thread-management.test.js +0 -138
- package/node_modules/thread-stream/test/to-file-on-destroy.js +0 -23
- package/node_modules/thread-stream/test/to-file-on-final.js +0 -24
- package/node_modules/thread-stream/test/to-file.js +0 -12
- package/node_modules/thread-stream/test/to-file.mjs +0 -8
- package/node_modules/thread-stream/test/to-next.js +0 -9
- package/node_modules/thread-stream/test/transpiled.test.js +0 -29
- package/node_modules/thread-stream/test/ts/to-file.ts +0 -10
- package/node_modules/thread-stream/test/ts/transpile.sh +0 -19
- package/node_modules/thread-stream/test/ts-commonjs-default-export.zip +0 -0
- package/node_modules/thread-stream/test/ts-native.test.mjs +0 -35
- package/node_modules/thread-stream/test/ts-node-fallback.test.js +0 -35
- package/node_modules/thread-stream/test/uncaughtException.js +0 -21
- package/node_modules/thread-stream/test/unhandledRejection.js +0 -21
- package/node_modules/thread-stream/test/yarnrc.yml +0 -7
- package/node_modules/toad-cache/LICENSE +0 -21
- package/node_modules/toad-cache/README.md +0 -265
- package/node_modules/toad-cache/toad-cache.d.cts +0 -138
- package/node_modules/toad-cache/toad-cache.d.ts +0 -128
- package/node_modules/toidentifier/HISTORY.md +0 -9
- package/node_modules/toidentifier/LICENSE +0 -21
- package/node_modules/toidentifier/README.md +0 -61
- package/node_modules/tslib/LICENSE.txt +0 -12
- package/node_modules/tslib/README.md +0 -164
- package/node_modules/tslib/SECURITY.md +0 -41
- package/node_modules/tslib/modules/index.d.ts +0 -38
- package/node_modules/tslib/tslib.d.ts +0 -460
- package/node_modules/tsscmp/LICENSE +0 -21
- package/node_modules/tsscmp/README.md +0 -48
- package/node_modules/tsscmp/test/benchmark/index.js +0 -30
- package/node_modules/tsscmp/test/unit/index.js +0 -69
- package/node_modules/tunnel-agent/LICENSE +0 -55
- package/node_modules/tunnel-agent/README.md +0 -4
- package/node_modules/undici/LICENSE +0 -21
- package/node_modules/undici/README.md +0 -741
- package/node_modules/undici/docs/docs/api/Agent.md +0 -84
- package/node_modules/undici/docs/docs/api/BalancedPool.md +0 -99
- package/node_modules/undici/docs/docs/api/CacheStorage.md +0 -30
- package/node_modules/undici/docs/docs/api/CacheStore.md +0 -164
- package/node_modules/undici/docs/docs/api/Client.md +0 -285
- package/node_modules/undici/docs/docs/api/ClientStats.md +0 -27
- package/node_modules/undici/docs/docs/api/Connector.md +0 -115
- package/node_modules/undici/docs/docs/api/ContentType.md +0 -57
- package/node_modules/undici/docs/docs/api/Cookies.md +0 -101
- package/node_modules/undici/docs/docs/api/Debug.md +0 -62
- package/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +0 -315
- package/node_modules/undici/docs/docs/api/Dispatcher.md +0 -1392
- package/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +0 -159
- package/node_modules/undici/docs/docs/api/Errors.md +0 -49
- package/node_modules/undici/docs/docs/api/EventSource.md +0 -45
- package/node_modules/undici/docs/docs/api/Fetch.md +0 -60
- package/node_modules/undici/docs/docs/api/GlobalInstallation.md +0 -139
- package/node_modules/undici/docs/docs/api/H2CClient.md +0 -263
- package/node_modules/undici/docs/docs/api/MockAgent.md +0 -603
- package/node_modules/undici/docs/docs/api/MockCallHistory.md +0 -197
- package/node_modules/undici/docs/docs/api/MockCallHistoryLog.md +0 -43
- package/node_modules/undici/docs/docs/api/MockClient.md +0 -81
- package/node_modules/undici/docs/docs/api/MockErrors.md +0 -12
- package/node_modules/undici/docs/docs/api/MockPool.md +0 -555
- package/node_modules/undici/docs/docs/api/Pool.md +0 -84
- package/node_modules/undici/docs/docs/api/PoolStats.md +0 -35
- package/node_modules/undici/docs/docs/api/ProxyAgent.md +0 -229
- package/node_modules/undici/docs/docs/api/RedirectHandler.md +0 -93
- package/node_modules/undici/docs/docs/api/RetryAgent.md +0 -50
- package/node_modules/undici/docs/docs/api/RetryHandler.md +0 -118
- package/node_modules/undici/docs/docs/api/RoundRobinPool.md +0 -145
- package/node_modules/undici/docs/docs/api/SnapshotAgent.md +0 -616
- package/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +0 -274
- package/node_modules/undici/docs/docs/api/Util.md +0 -25
- package/node_modules/undici/docs/docs/api/WebSocket.md +0 -141
- package/node_modules/undici/docs/docs/api/api-lifecycle.md +0 -91
- package/node_modules/undici/docs/docs/best-practices/client-certificate.md +0 -64
- package/node_modules/undici/docs/docs/best-practices/crawling.md +0 -58
- package/node_modules/undici/docs/docs/best-practices/mocking-request.md +0 -190
- package/node_modules/undici/docs/docs/best-practices/proxy.md +0 -127
- package/node_modules/undici/docs/docs/best-practices/undici-vs-builtin-fetch.md +0 -224
- package/node_modules/undici/docs/docs/best-practices/writing-tests.md +0 -63
- package/node_modules/undici/index.d.ts +0 -3
- package/node_modules/undici/lib/llhttp/constants.d.ts +0 -195
- package/node_modules/undici/lib/llhttp/utils.d.ts +0 -2
- package/node_modules/undici/lib/web/fetch/LICENSE +0 -21
- package/node_modules/undici/lib/web/subresource-integrity/Readme.md +0 -9
- package/node_modules/undici/types/README.md +0 -6
- package/node_modules/undici/types/agent.d.ts +0 -32
- package/node_modules/undici/types/api.d.ts +0 -43
- package/node_modules/undici/types/balanced-pool.d.ts +0 -30
- package/node_modules/undici/types/cache-interceptor.d.ts +0 -179
- package/node_modules/undici/types/cache.d.ts +0 -36
- package/node_modules/undici/types/client-stats.d.ts +0 -15
- package/node_modules/undici/types/client.d.ts +0 -123
- package/node_modules/undici/types/connector.d.ts +0 -36
- package/node_modules/undici/types/content-type.d.ts +0 -21
- package/node_modules/undici/types/cookies.d.ts +0 -30
- package/node_modules/undici/types/diagnostics-channel.d.ts +0 -74
- package/node_modules/undici/types/dispatcher.d.ts +0 -273
- package/node_modules/undici/types/env-http-proxy-agent.d.ts +0 -22
- package/node_modules/undici/types/errors.d.ts +0 -177
- package/node_modules/undici/types/eventsource.d.ts +0 -66
- package/node_modules/undici/types/fetch.d.ts +0 -231
- package/node_modules/undici/types/formdata.d.ts +0 -114
- package/node_modules/undici/types/global-dispatcher.d.ts +0 -9
- package/node_modules/undici/types/global-origin.d.ts +0 -7
- package/node_modules/undici/types/h2c-client.d.ts +0 -73
- package/node_modules/undici/types/handlers.d.ts +0 -14
- package/node_modules/undici/types/header.d.ts +0 -160
- package/node_modules/undici/types/index.d.ts +0 -91
- package/node_modules/undici/types/interceptors.d.ts +0 -80
- package/node_modules/undici/types/mock-agent.d.ts +0 -68
- package/node_modules/undici/types/mock-call-history.d.ts +0 -111
- package/node_modules/undici/types/mock-client.d.ts +0 -27
- package/node_modules/undici/types/mock-errors.d.ts +0 -12
- package/node_modules/undici/types/mock-interceptor.d.ts +0 -94
- package/node_modules/undici/types/mock-pool.d.ts +0 -27
- package/node_modules/undici/types/patch.d.ts +0 -29
- package/node_modules/undici/types/pool-stats.d.ts +0 -19
- package/node_modules/undici/types/pool.d.ts +0 -41
- package/node_modules/undici/types/proxy-agent.d.ts +0 -29
- package/node_modules/undici/types/readable.d.ts +0 -68
- package/node_modules/undici/types/retry-agent.d.ts +0 -8
- package/node_modules/undici/types/retry-handler.d.ts +0 -125
- package/node_modules/undici/types/round-robin-pool.d.ts +0 -41
- package/node_modules/undici/types/snapshot-agent.d.ts +0 -109
- package/node_modules/undici/types/socks5-proxy-agent.d.ts +0 -25
- package/node_modules/undici/types/util.d.ts +0 -18
- package/node_modules/undici/types/utility.d.ts +0 -7
- package/node_modules/undici/types/webidl.d.ts +0 -347
- package/node_modules/undici/types/websocket.d.ts +0 -188
- package/node_modules/util-deprecate/History.md +0 -16
- package/node_modules/util-deprecate/LICENSE +0 -24
- package/node_modules/util-deprecate/README.md +0 -53
- package/node_modules/which/LICENSE +0 -15
- package/node_modules/which/README.md +0 -54
- package/node_modules/wrappy/LICENSE +0 -15
- package/node_modules/wrappy/README.md +0 -36
- package/node_modules/ws/LICENSE +0 -20
- package/node_modules/ws/README.md +0 -548
- package/node_modules/wsl-utils/index.d.ts +0 -21
- package/node_modules/wsl-utils/license +0 -9
- package/node_modules/wsl-utils/readme.md +0 -50
- package/node_modules/zod/LICENSE +0 -21
- package/node_modules/zod/README.md +0 -208
- package/node_modules/zod/index.d.cts +0 -4
- package/node_modules/zod/index.d.ts +0 -4
- package/node_modules/zod/locales/index.d.cts +0 -1
- package/node_modules/zod/locales/index.d.ts +0 -1
- package/node_modules/zod/mini/index.d.cts +0 -3
- package/node_modules/zod/mini/index.d.ts +0 -3
- package/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
- package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
- package/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
- package/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
- package/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
- package/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
- package/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
- package/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
- package/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
- package/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
- package/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
- package/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
- package/node_modules/zod/src/v3/tests/array.test.ts +0 -71
- package/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
- package/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
- package/node_modules/zod/src/v3/tests/base.test.ts +0 -29
- package/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
- package/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
- package/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
- package/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
- package/node_modules/zod/src/v3/tests/complex.test.ts +0 -70
- package/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
- package/node_modules/zod/src/v3/tests/date.test.ts +0 -32
- package/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
- package/node_modules/zod/src/v3/tests/default.test.ts +0 -112
- package/node_modules/zod/src/v3/tests/description.test.ts +0 -33
- package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
- package/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
- package/node_modules/zod/src/v3/tests/error.test.ts +0 -551
- package/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
- package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
- package/node_modules/zod/src/v3/tests/function.test.ts +0 -261
- package/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
- package/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
- package/node_modules/zod/src/v3/tests/intersection.test.ts +0 -110
- package/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
- package/node_modules/zod/src/v3/tests/language-server.test.ts +0 -207
- package/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
- package/node_modules/zod/src/v3/tests/map.test.ts +0 -110
- package/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
- package/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
- package/node_modules/zod/src/v3/tests/nan.test.ts +0 -24
- package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
- package/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
- package/node_modules/zod/src/v3/tests/number.test.ts +0 -176
- package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
- package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
- package/node_modules/zod/src/v3/tests/object.test.ts +0 -434
- package/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
- package/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
- package/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
- package/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
- package/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
- package/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
- package/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
- package/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
- package/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
- package/node_modules/zod/src/v3/tests/readonly.test.ts +0 -194
- package/node_modules/zod/src/v3/tests/record.test.ts +0 -171
- package/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
- package/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
- package/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
- package/node_modules/zod/src/v3/tests/set.test.ts +0 -142
- package/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
- package/node_modules/zod/src/v3/tests/string.test.ts +0 -916
- package/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
- package/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
- package/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
- package/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
- package/node_modules/zod/src/v3/tests/void.test.ts +0 -15
- package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
- package/node_modules/zod/src/v4/classic/tests/apply.test.ts +0 -59
- package/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -264
- package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -210
- package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
- package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
- package/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
- package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -54
- package/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -106
- package/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -276
- package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
- package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +0 -573
- package/node_modules/zod/src/v4/classic/tests/codec.test.ts +0 -562
- package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
- package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -374
- package/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
- package/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -62
- package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -302
- package/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -365
- package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +0 -27
- package/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
- package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -661
- package/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -285
- package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -595
- package/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -711
- package/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -96
- package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -179
- package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +0 -26
- package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +0 -734
- package/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -360
- package/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
- package/node_modules/zod/src/v4/classic/tests/hash.test.ts +0 -68
- package/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -939
- package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -60
- package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -198
- package/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -109
- package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -227
- package/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -117
- package/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -330
- package/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
- package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
- package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -101
- package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
- package/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -270
- package/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -640
- package/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -223
- package/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -427
- package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -211
- package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -101
- package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -74
- package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -282
- package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
- package/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
- package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
- package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -252
- package/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -632
- package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -582
- package/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -570
- package/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -243
- package/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -181
- package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -134
- package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -125
- package/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -1175
- package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -106
- package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -771
- package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +0 -438
- package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -2990
- package/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -361
- package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -183
- package/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -219
- package/node_modules/zod/src/v4/classic/tests/url.test.ts +0 -13
- package/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
- package/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
- package/node_modules/zod/src/v4/core/tests/extend.test.ts +0 -59
- package/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
- package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
- package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
- package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +0 -181
- package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +0 -379
- package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +0 -46
- package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
- package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
- package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +0 -83
- package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +0 -67
- package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +0 -45
- package/node_modules/zod/src/v4/mini/tests/apply.test.ts +0 -24
- package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -129
- package/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -94
- package/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -144
- package/node_modules/zod/src/v4/mini/tests/codec.test.ts +0 -529
- package/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -36
- package/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -22
- package/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -5
- package/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -963
- package/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -95
- package/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -227
- package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
- package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -275
- package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +0 -50
- package/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -347
- package/node_modules/zod/v3/ZodError.d.cts +0 -164
- package/node_modules/zod/v3/ZodError.d.ts +0 -164
- package/node_modules/zod/v3/errors.d.cts +0 -5
- package/node_modules/zod/v3/errors.d.ts +0 -5
- package/node_modules/zod/v3/external.d.cts +0 -6
- package/node_modules/zod/v3/external.d.ts +0 -6
- package/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
- package/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
- package/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
- package/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
- package/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
- package/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
- package/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
- package/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
- package/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
- package/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
- package/node_modules/zod/v3/helpers/util.d.cts +0 -85
- package/node_modules/zod/v3/helpers/util.d.ts +0 -85
- package/node_modules/zod/v3/index.d.cts +0 -4
- package/node_modules/zod/v3/index.d.ts +0 -4
- package/node_modules/zod/v3/locales/en.d.cts +0 -3
- package/node_modules/zod/v3/locales/en.d.ts +0 -3
- package/node_modules/zod/v3/standard-schema.d.cts +0 -102
- package/node_modules/zod/v3/standard-schema.d.ts +0 -102
- package/node_modules/zod/v3/types.d.cts +0 -1034
- package/node_modules/zod/v3/types.d.ts +0 -1034
- package/node_modules/zod/v4/classic/checks.d.cts +0 -1
- package/node_modules/zod/v4/classic/checks.d.ts +0 -1
- package/node_modules/zod/v4/classic/coerce.d.cts +0 -17
- package/node_modules/zod/v4/classic/coerce.d.ts +0 -17
- package/node_modules/zod/v4/classic/compat.d.cts +0 -50
- package/node_modules/zod/v4/classic/compat.d.ts +0 -50
- package/node_modules/zod/v4/classic/errors.d.cts +0 -30
- package/node_modules/zod/v4/classic/errors.d.ts +0 -30
- package/node_modules/zod/v4/classic/external.d.cts +0 -15
- package/node_modules/zod/v4/classic/external.d.ts +0 -15
- package/node_modules/zod/v4/classic/from-json-schema.d.cts +0 -12
- package/node_modules/zod/v4/classic/from-json-schema.d.ts +0 -12
- package/node_modules/zod/v4/classic/index.d.cts +0 -4
- package/node_modules/zod/v4/classic/index.d.ts +0 -4
- package/node_modules/zod/v4/classic/iso.d.cts +0 -22
- package/node_modules/zod/v4/classic/iso.d.ts +0 -22
- package/node_modules/zod/v4/classic/parse.d.cts +0 -31
- package/node_modules/zod/v4/classic/parse.d.ts +0 -31
- package/node_modules/zod/v4/classic/schemas.d.cts +0 -739
- package/node_modules/zod/v4/classic/schemas.d.ts +0 -739
- package/node_modules/zod/v4/core/api.d.cts +0 -304
- package/node_modules/zod/v4/core/api.d.ts +0 -304
- package/node_modules/zod/v4/core/checks.d.cts +0 -278
- package/node_modules/zod/v4/core/checks.d.ts +0 -278
- package/node_modules/zod/v4/core/core.d.cts +0 -70
- package/node_modules/zod/v4/core/core.d.ts +0 -70
- package/node_modules/zod/v4/core/doc.d.cts +0 -14
- package/node_modules/zod/v4/core/doc.d.ts +0 -14
- package/node_modules/zod/v4/core/errors.d.cts +0 -220
- package/node_modules/zod/v4/core/errors.d.ts +0 -220
- package/node_modules/zod/v4/core/index.d.cts +0 -16
- package/node_modules/zod/v4/core/index.d.ts +0 -16
- package/node_modules/zod/v4/core/json-schema-generator.d.cts +0 -65
- package/node_modules/zod/v4/core/json-schema-generator.d.ts +0 -65
- package/node_modules/zod/v4/core/json-schema-processors.d.cts +0 -49
- package/node_modules/zod/v4/core/json-schema-processors.d.ts +0 -49
- package/node_modules/zod/v4/core/json-schema.d.cts +0 -88
- package/node_modules/zod/v4/core/json-schema.d.ts +0 -88
- package/node_modules/zod/v4/core/parse.d.cts +0 -49
- package/node_modules/zod/v4/core/parse.d.ts +0 -49
- package/node_modules/zod/v4/core/regexes.d.cts +0 -79
- package/node_modules/zod/v4/core/regexes.d.ts +0 -79
- package/node_modules/zod/v4/core/registries.d.cts +0 -35
- package/node_modules/zod/v4/core/registries.d.ts +0 -35
- package/node_modules/zod/v4/core/schemas.d.cts +0 -1146
- package/node_modules/zod/v4/core/schemas.d.ts +0 -1146
- package/node_modules/zod/v4/core/standard-schema.d.cts +0 -126
- package/node_modules/zod/v4/core/standard-schema.d.ts +0 -126
- package/node_modules/zod/v4/core/to-json-schema.d.cts +0 -114
- package/node_modules/zod/v4/core/to-json-schema.d.ts +0 -114
- package/node_modules/zod/v4/core/util.d.cts +0 -199
- package/node_modules/zod/v4/core/util.d.ts +0 -199
- package/node_modules/zod/v4/core/versions.d.cts +0 -5
- package/node_modules/zod/v4/core/versions.d.ts +0 -5
- package/node_modules/zod/v4/index.d.cts +0 -3
- package/node_modules/zod/v4/index.d.ts +0 -3
- package/node_modules/zod/v4/locales/ar.d.cts +0 -5
- package/node_modules/zod/v4/locales/ar.d.ts +0 -4
- package/node_modules/zod/v4/locales/az.d.cts +0 -5
- package/node_modules/zod/v4/locales/az.d.ts +0 -4
- package/node_modules/zod/v4/locales/be.d.cts +0 -5
- package/node_modules/zod/v4/locales/be.d.ts +0 -4
- package/node_modules/zod/v4/locales/bg.d.cts +0 -5
- package/node_modules/zod/v4/locales/bg.d.ts +0 -4
- package/node_modules/zod/v4/locales/ca.d.cts +0 -5
- package/node_modules/zod/v4/locales/ca.d.ts +0 -4
- package/node_modules/zod/v4/locales/cs.d.cts +0 -5
- package/node_modules/zod/v4/locales/cs.d.ts +0 -4
- package/node_modules/zod/v4/locales/da.d.cts +0 -5
- package/node_modules/zod/v4/locales/da.d.ts +0 -4
- package/node_modules/zod/v4/locales/de.d.cts +0 -5
- package/node_modules/zod/v4/locales/de.d.ts +0 -4
- package/node_modules/zod/v4/locales/en.d.cts +0 -5
- package/node_modules/zod/v4/locales/en.d.ts +0 -4
- package/node_modules/zod/v4/locales/eo.d.cts +0 -5
- package/node_modules/zod/v4/locales/eo.d.ts +0 -4
- package/node_modules/zod/v4/locales/es.d.cts +0 -5
- package/node_modules/zod/v4/locales/es.d.ts +0 -4
- package/node_modules/zod/v4/locales/fa.d.cts +0 -5
- package/node_modules/zod/v4/locales/fa.d.ts +0 -4
- package/node_modules/zod/v4/locales/fi.d.cts +0 -5
- package/node_modules/zod/v4/locales/fi.d.ts +0 -4
- package/node_modules/zod/v4/locales/fr-CA.d.cts +0 -5
- package/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
- package/node_modules/zod/v4/locales/fr.d.cts +0 -5
- package/node_modules/zod/v4/locales/fr.d.ts +0 -4
- package/node_modules/zod/v4/locales/he.d.cts +0 -5
- package/node_modules/zod/v4/locales/he.d.ts +0 -4
- package/node_modules/zod/v4/locales/hu.d.cts +0 -5
- package/node_modules/zod/v4/locales/hu.d.ts +0 -4
- package/node_modules/zod/v4/locales/hy.d.cts +0 -5
- package/node_modules/zod/v4/locales/hy.d.ts +0 -4
- package/node_modules/zod/v4/locales/id.d.cts +0 -5
- package/node_modules/zod/v4/locales/id.d.ts +0 -4
- package/node_modules/zod/v4/locales/index.d.cts +0 -49
- package/node_modules/zod/v4/locales/index.d.ts +0 -49
- package/node_modules/zod/v4/locales/is.d.cts +0 -5
- package/node_modules/zod/v4/locales/is.d.ts +0 -4
- package/node_modules/zod/v4/locales/it.d.cts +0 -5
- package/node_modules/zod/v4/locales/it.d.ts +0 -4
- package/node_modules/zod/v4/locales/ja.d.cts +0 -5
- package/node_modules/zod/v4/locales/ja.d.ts +0 -4
- package/node_modules/zod/v4/locales/ka.d.cts +0 -5
- package/node_modules/zod/v4/locales/ka.d.ts +0 -4
- package/node_modules/zod/v4/locales/kh.d.cts +0 -5
- package/node_modules/zod/v4/locales/kh.d.ts +0 -5
- package/node_modules/zod/v4/locales/km.d.cts +0 -5
- package/node_modules/zod/v4/locales/km.d.ts +0 -4
- package/node_modules/zod/v4/locales/ko.d.cts +0 -5
- package/node_modules/zod/v4/locales/ko.d.ts +0 -4
- package/node_modules/zod/v4/locales/lt.d.cts +0 -5
- package/node_modules/zod/v4/locales/lt.d.ts +0 -4
- package/node_modules/zod/v4/locales/mk.d.cts +0 -5
- package/node_modules/zod/v4/locales/mk.d.ts +0 -4
- package/node_modules/zod/v4/locales/ms.d.cts +0 -5
- package/node_modules/zod/v4/locales/ms.d.ts +0 -4
- package/node_modules/zod/v4/locales/nl.d.cts +0 -5
- package/node_modules/zod/v4/locales/nl.d.ts +0 -4
- package/node_modules/zod/v4/locales/no.d.cts +0 -5
- package/node_modules/zod/v4/locales/no.d.ts +0 -4
- package/node_modules/zod/v4/locales/ota.d.cts +0 -5
- package/node_modules/zod/v4/locales/ota.d.ts +0 -4
- package/node_modules/zod/v4/locales/pl.d.cts +0 -5
- package/node_modules/zod/v4/locales/pl.d.ts +0 -4
- package/node_modules/zod/v4/locales/ps.d.cts +0 -5
- package/node_modules/zod/v4/locales/ps.d.ts +0 -4
- package/node_modules/zod/v4/locales/pt.d.cts +0 -5
- package/node_modules/zod/v4/locales/pt.d.ts +0 -4
- package/node_modules/zod/v4/locales/ru.d.cts +0 -5
- package/node_modules/zod/v4/locales/ru.d.ts +0 -4
- package/node_modules/zod/v4/locales/sl.d.cts +0 -5
- package/node_modules/zod/v4/locales/sl.d.ts +0 -4
- package/node_modules/zod/v4/locales/sv.d.cts +0 -5
- package/node_modules/zod/v4/locales/sv.d.ts +0 -4
- package/node_modules/zod/v4/locales/ta.d.cts +0 -5
- package/node_modules/zod/v4/locales/ta.d.ts +0 -4
- package/node_modules/zod/v4/locales/th.d.cts +0 -5
- package/node_modules/zod/v4/locales/th.d.ts +0 -4
- package/node_modules/zod/v4/locales/tr.d.cts +0 -5
- package/node_modules/zod/v4/locales/tr.d.ts +0 -4
- package/node_modules/zod/v4/locales/ua.d.cts +0 -5
- package/node_modules/zod/v4/locales/ua.d.ts +0 -5
- package/node_modules/zod/v4/locales/uk.d.cts +0 -5
- package/node_modules/zod/v4/locales/uk.d.ts +0 -4
- package/node_modules/zod/v4/locales/ur.d.cts +0 -5
- package/node_modules/zod/v4/locales/ur.d.ts +0 -4
- package/node_modules/zod/v4/locales/uz.d.cts +0 -5
- package/node_modules/zod/v4/locales/uz.d.ts +0 -4
- package/node_modules/zod/v4/locales/vi.d.cts +0 -5
- package/node_modules/zod/v4/locales/vi.d.ts +0 -4
- package/node_modules/zod/v4/locales/yo.d.cts +0 -5
- package/node_modules/zod/v4/locales/yo.d.ts +0 -4
- package/node_modules/zod/v4/locales/zh-CN.d.cts +0 -5
- package/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
- package/node_modules/zod/v4/locales/zh-TW.d.cts +0 -5
- package/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
- package/node_modules/zod/v4/mini/checks.d.cts +0 -1
- package/node_modules/zod/v4/mini/checks.d.ts +0 -1
- package/node_modules/zod/v4/mini/coerce.d.cts +0 -7
- package/node_modules/zod/v4/mini/coerce.d.ts +0 -7
- package/node_modules/zod/v4/mini/external.d.cts +0 -12
- package/node_modules/zod/v4/mini/external.d.ts +0 -12
- package/node_modules/zod/v4/mini/index.d.cts +0 -3
- package/node_modules/zod/v4/mini/index.d.ts +0 -3
- package/node_modules/zod/v4/mini/iso.d.cts +0 -22
- package/node_modules/zod/v4/mini/iso.d.ts +0 -22
- package/node_modules/zod/v4/mini/parse.d.cts +0 -1
- package/node_modules/zod/v4/mini/parse.d.ts +0 -1
- package/node_modules/zod/v4/mini/schemas.d.cts +0 -427
- package/node_modules/zod/v4/mini/schemas.d.ts +0 -427
- package/node_modules/zod/v4-mini/index.d.cts +0 -3
- package/node_modules/zod/v4-mini/index.d.ts +0 -3
- /package/dist/ui/_next/static/{UajqlfTX3W85j7ULcrKYT → mdMHDbGZjrTGtK1FO_zRW}/_buildManifest.js +0 -0
- /package/dist/ui/_next/static/{UajqlfTX3W85j7ULcrKYT → mdMHDbGZjrTGtK1FO_zRW}/_clientMiddlewareManifest.json +0 -0
- /package/dist/ui/_next/static/{UajqlfTX3W85j7ULcrKYT → mdMHDbGZjrTGtK1FO_zRW}/_ssgManifest.js +0 -0
- /package/node_modules/node-pty/{third_party/conpty/1.23.251008001/win10-x64 → build/Release/conpty}/OpenConsole.exe +0 -0
- /package/node_modules/node-pty/{third_party/conpty/1.23.251008001/win10-x64 → build/Release/conpty}/conpty.dll +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/queryObserver.ts"],"sourcesContent":["import { focusManager } from './focusManager'\nimport { notifyManager } from './notifyManager'\nimport { fetchState } from './query'\nimport { Subscribable } from './subscribable'\nimport { pendingThenable } from './thenable'\nimport {\n isServer,\n isValidTimeout,\n noop,\n replaceData,\n resolveEnabled,\n resolveStaleTime,\n shallowEqualObjects,\n timeUntilStale,\n} from './utils'\nimport { timeoutManager } from './timeoutManager'\nimport type { ManagedTimerId } from './timeoutManager'\nimport type { FetchOptions, Query, QueryState } from './query'\nimport type { QueryClient } from './queryClient'\nimport type { PendingThenable, Thenable } from './thenable'\nimport type {\n DefaultError,\n DefaultedQueryObserverOptions,\n PlaceholderDataFunction,\n QueryKey,\n QueryObserverBaseResult,\n QueryObserverOptions,\n QueryObserverResult,\n QueryOptions,\n RefetchOptions,\n} from './types'\n\ntype QueryObserverListener<TData, TError> = (\n result: QueryObserverResult<TData, TError>,\n) => void\n\ninterface ObserverFetchOptions extends FetchOptions {\n throwOnError?: boolean\n}\n\nexport class QueryObserver<\n TQueryFnData = unknown,\n TError = DefaultError,\n TData = TQueryFnData,\n TQueryData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n> extends Subscribable<QueryObserverListener<TData, TError>> {\n #client: QueryClient\n #currentQuery: Query<TQueryFnData, TError, TQueryData, TQueryKey> = undefined!\n #currentQueryInitialState: QueryState<TQueryData, TError> = undefined!\n #currentResult: QueryObserverResult<TData, TError> = undefined!\n #currentResultState?: QueryState<TQueryData, TError>\n #currentResultOptions?: QueryObserverOptions<\n TQueryFnData,\n TError,\n TData,\n TQueryData,\n TQueryKey\n >\n #currentThenable: Thenable<TData>\n #selectError: TError | null\n #selectFn?: (data: TQueryData) => TData\n #selectResult?: TData\n // This property keeps track of the last query with defined data.\n // It will be used to pass the previous data and query to the placeholder function between renders.\n #lastQueryWithDefinedData?: Query<TQueryFnData, TError, TQueryData, TQueryKey>\n #staleTimeoutId?: ManagedTimerId\n #refetchIntervalId?: ManagedTimerId\n #currentRefetchInterval?: number | false\n #trackedProps = new Set<keyof QueryObserverResult>()\n\n constructor(\n client: QueryClient,\n public options: QueryObserverOptions<\n TQueryFnData,\n TError,\n TData,\n TQueryData,\n TQueryKey\n >,\n ) {\n super()\n\n this.#client = client\n this.#selectError = null\n this.#currentThenable = pendingThenable()\n\n this.bindMethods()\n this.setOptions(options)\n }\n\n protected bindMethods(): void {\n this.refetch = this.refetch.bind(this)\n }\n\n protected onSubscribe(): void {\n if (this.listeners.size === 1) {\n this.#currentQuery.addObserver(this)\n\n if (shouldFetchOnMount(this.#currentQuery, this.options)) {\n this.#executeFetch()\n } else {\n this.updateResult()\n }\n\n this.#updateTimers()\n }\n }\n\n protected onUnsubscribe(): void {\n if (!this.hasListeners()) {\n this.destroy()\n }\n }\n\n shouldFetchOnReconnect(): boolean {\n return shouldFetchOn(\n this.#currentQuery,\n this.options,\n this.options.refetchOnReconnect,\n )\n }\n\n shouldFetchOnWindowFocus(): boolean {\n return shouldFetchOn(\n this.#currentQuery,\n this.options,\n this.options.refetchOnWindowFocus,\n )\n }\n\n destroy(): void {\n this.listeners = new Set()\n this.#clearStaleTimeout()\n this.#clearRefetchInterval()\n this.#currentQuery.removeObserver(this)\n }\n\n setOptions(\n options: QueryObserverOptions<\n TQueryFnData,\n TError,\n TData,\n TQueryData,\n TQueryKey\n >,\n ): void {\n const prevOptions = this.options\n const prevQuery = this.#currentQuery\n\n this.options = this.#client.defaultQueryOptions(options)\n\n if (\n this.options.enabled !== undefined &&\n typeof this.options.enabled !== 'boolean' &&\n typeof this.options.enabled !== 'function' &&\n typeof resolveEnabled(this.options.enabled, this.#currentQuery) !==\n 'boolean'\n ) {\n throw new Error(\n 'Expected enabled to be a boolean or a callback that returns a boolean',\n )\n }\n\n this.#updateQuery()\n this.#currentQuery.setOptions(this.options)\n\n if (\n prevOptions._defaulted &&\n !shallowEqualObjects(this.options, prevOptions)\n ) {\n this.#client.getQueryCache().notify({\n type: 'observerOptionsUpdated',\n query: this.#currentQuery,\n observer: this,\n })\n }\n\n const mounted = this.hasListeners()\n\n // Fetch if there are subscribers\n if (\n mounted &&\n shouldFetchOptionally(\n this.#currentQuery,\n prevQuery,\n this.options,\n prevOptions,\n )\n ) {\n this.#executeFetch()\n }\n\n // Update result\n this.updateResult()\n\n // Update stale interval if needed\n if (\n mounted &&\n (this.#currentQuery !== prevQuery ||\n resolveEnabled(this.options.enabled, this.#currentQuery) !==\n resolveEnabled(prevOptions.enabled, this.#currentQuery) ||\n resolveStaleTime(this.options.staleTime, this.#currentQuery) !==\n resolveStaleTime(prevOptions.staleTime, this.#currentQuery))\n ) {\n this.#updateStaleTimeout()\n }\n\n const nextRefetchInterval = this.#computeRefetchInterval()\n\n // Update refetch interval if needed\n if (\n mounted &&\n (this.#currentQuery !== prevQuery ||\n resolveEnabled(this.options.enabled, this.#currentQuery) !==\n resolveEnabled(prevOptions.enabled, this.#currentQuery) ||\n nextRefetchInterval !== this.#currentRefetchInterval)\n ) {\n this.#updateRefetchInterval(nextRefetchInterval)\n }\n }\n\n getOptimisticResult(\n options: DefaultedQueryObserverOptions<\n TQueryFnData,\n TError,\n TData,\n TQueryData,\n TQueryKey\n >,\n ): QueryObserverResult<TData, TError> {\n const query = this.#client.getQueryCache().build(this.#client, options)\n\n const result = this.createResult(query, options)\n\n if (shouldAssignObserverCurrentProperties(this, result)) {\n // this assigns the optimistic result to the current Observer\n // because if the query function changes, useQuery will be performing\n // an effect where it would fetch again.\n // When the fetch finishes, we perform a deep data cloning in order\n // to reuse objects references. This deep data clone is performed against\n // the `observer.currentResult.data` property\n // When QueryKey changes, we refresh the query and get new `optimistic`\n // result, while we leave the `observer.currentResult`, so when new data\n // arrives, it finds the old `observer.currentResult` which is related\n // to the old QueryKey. Which means that currentResult and selectData are\n // out of sync already.\n // To solve this, we move the cursor of the currentResult every time\n // an observer reads an optimistic value.\n\n // When keeping the previous data, the result doesn't change until new\n // data arrives.\n this.#currentResult = result\n this.#currentResultOptions = this.options\n this.#currentResultState = this.#currentQuery.state\n }\n return result\n }\n\n getCurrentResult(): QueryObserverResult<TData, TError> {\n return this.#currentResult\n }\n\n trackResult(\n result: QueryObserverResult<TData, TError>,\n onPropTracked?: (key: keyof QueryObserverResult) => void,\n ): QueryObserverResult<TData, TError> {\n return new Proxy(result, {\n get: (target, key) => {\n this.trackProp(key as keyof QueryObserverResult)\n onPropTracked?.(key as keyof QueryObserverResult)\n if (key === 'promise') {\n this.trackProp('data')\n if (\n !this.options.experimental_prefetchInRender &&\n this.#currentThenable.status === 'pending'\n ) {\n this.#currentThenable.reject(\n new Error(\n 'experimental_prefetchInRender feature flag is not enabled',\n ),\n )\n }\n }\n return Reflect.get(target, key)\n },\n })\n }\n\n trackProp(key: keyof QueryObserverResult) {\n this.#trackedProps.add(key)\n }\n\n getCurrentQuery(): Query<TQueryFnData, TError, TQueryData, TQueryKey> {\n return this.#currentQuery\n }\n\n refetch({ ...options }: RefetchOptions = {}): Promise<\n QueryObserverResult<TData, TError>\n > {\n return this.fetch({\n ...options,\n })\n }\n\n fetchOptimistic(\n options: QueryObserverOptions<\n TQueryFnData,\n TError,\n TData,\n TQueryData,\n TQueryKey\n >,\n ): Promise<QueryObserverResult<TData, TError>> {\n const defaultedOptions = this.#client.defaultQueryOptions(options)\n\n const query = this.#client\n .getQueryCache()\n .build(this.#client, defaultedOptions)\n\n return query.fetch().then(() => this.createResult(query, defaultedOptions))\n }\n\n protected fetch(\n fetchOptions: ObserverFetchOptions,\n ): Promise<QueryObserverResult<TData, TError>> {\n return this.#executeFetch({\n ...fetchOptions,\n cancelRefetch: fetchOptions.cancelRefetch ?? true,\n }).then(() => {\n this.updateResult()\n return this.#currentResult\n })\n }\n\n #executeFetch(\n fetchOptions?: Omit<ObserverFetchOptions, 'initialPromise'>,\n ): Promise<TQueryData | undefined> {\n // Make sure we reference the latest query as the current one might have been removed\n this.#updateQuery()\n\n // Fetch\n let promise: Promise<TQueryData | undefined> = this.#currentQuery.fetch(\n this.options as QueryOptions<TQueryFnData, TError, TQueryData, TQueryKey>,\n fetchOptions,\n )\n\n if (!fetchOptions?.throwOnError) {\n promise = promise.catch(noop)\n }\n\n return promise\n }\n\n #updateStaleTimeout(): void {\n this.#clearStaleTimeout()\n const staleTime = resolveStaleTime(\n this.options.staleTime,\n this.#currentQuery,\n )\n\n if (isServer || this.#currentResult.isStale || !isValidTimeout(staleTime)) {\n return\n }\n\n const time = timeUntilStale(this.#currentResult.dataUpdatedAt, staleTime)\n\n // The timeout is sometimes triggered 1 ms before the stale time expiration.\n // To mitigate this issue we always add 1 ms to the timeout.\n const timeout = time + 1\n\n this.#staleTimeoutId = timeoutManager.setTimeout(() => {\n if (!this.#currentResult.isStale) {\n this.updateResult()\n }\n }, timeout)\n }\n\n #computeRefetchInterval() {\n return (\n (typeof this.options.refetchInterval === 'function'\n ? this.options.refetchInterval(this.#currentQuery)\n : this.options.refetchInterval) ?? false\n )\n }\n\n #updateRefetchInterval(nextInterval: number | false): void {\n this.#clearRefetchInterval()\n\n this.#currentRefetchInterval = nextInterval\n\n if (\n isServer ||\n resolveEnabled(this.options.enabled, this.#currentQuery) === false ||\n !isValidTimeout(this.#currentRefetchInterval) ||\n this.#currentRefetchInterval === 0\n ) {\n return\n }\n\n this.#refetchIntervalId = timeoutManager.setInterval(() => {\n if (\n this.options.refetchIntervalInBackground ||\n focusManager.isFocused()\n ) {\n this.#executeFetch()\n }\n }, this.#currentRefetchInterval)\n }\n\n #updateTimers(): void {\n this.#updateStaleTimeout()\n this.#updateRefetchInterval(this.#computeRefetchInterval())\n }\n\n #clearStaleTimeout(): void {\n if (this.#staleTimeoutId) {\n timeoutManager.clearTimeout(this.#staleTimeoutId)\n this.#staleTimeoutId = undefined\n }\n }\n\n #clearRefetchInterval(): void {\n if (this.#refetchIntervalId) {\n timeoutManager.clearInterval(this.#refetchIntervalId)\n this.#refetchIntervalId = undefined\n }\n }\n\n protected createResult(\n query: Query<TQueryFnData, TError, TQueryData, TQueryKey>,\n options: QueryObserverOptions<\n TQueryFnData,\n TError,\n TData,\n TQueryData,\n TQueryKey\n >,\n ): QueryObserverResult<TData, TError> {\n const prevQuery = this.#currentQuery\n const prevOptions = this.options\n const prevResult = this.#currentResult as\n | QueryObserverResult<TData, TError>\n | undefined\n const prevResultState = this.#currentResultState\n const prevResultOptions = this.#currentResultOptions\n const queryChange = query !== prevQuery\n const queryInitialState = queryChange\n ? query.state\n : this.#currentQueryInitialState\n\n const { state } = query\n let newState = { ...state }\n let isPlaceholderData = false\n let data: TData | undefined\n\n // Optimistically set result in fetching state if needed\n if (options._optimisticResults) {\n const mounted = this.hasListeners()\n\n const fetchOnMount = !mounted && shouldFetchOnMount(query, options)\n\n const fetchOptionally =\n mounted && shouldFetchOptionally(query, prevQuery, options, prevOptions)\n\n if (fetchOnMount || fetchOptionally) {\n newState = {\n ...newState,\n ...fetchState(state.data, query.options),\n }\n }\n if (options._optimisticResults === 'isRestoring') {\n newState.fetchStatus = 'idle'\n }\n }\n\n let { error, errorUpdatedAt, status } = newState\n\n // Per default, use query data\n data = newState.data as unknown as TData\n let skipSelect = false\n\n // use placeholderData if needed\n if (\n options.placeholderData !== undefined &&\n data === undefined &&\n status === 'pending'\n ) {\n let placeholderData\n\n // Memoize placeholder data\n if (\n prevResult?.isPlaceholderData &&\n options.placeholderData === prevResultOptions?.placeholderData\n ) {\n placeholderData = prevResult.data\n // we have to skip select when reading this memoization\n // because prevResult.data is already \"selected\"\n skipSelect = true\n } else {\n // compute placeholderData\n placeholderData =\n typeof options.placeholderData === 'function'\n ? (\n options.placeholderData as unknown as PlaceholderDataFunction<TQueryData>\n )(\n this.#lastQueryWithDefinedData?.state.data,\n this.#lastQueryWithDefinedData as any,\n )\n : options.placeholderData\n }\n\n if (placeholderData !== undefined) {\n status = 'success'\n data = replaceData(\n prevResult?.data,\n placeholderData as unknown,\n options,\n ) as TData\n isPlaceholderData = true\n }\n }\n\n // Select data if needed\n // this also runs placeholderData through the select function\n if (options.select && data !== undefined && !skipSelect) {\n // Memoize select result\n if (\n prevResult &&\n data === prevResultState?.data &&\n options.select === this.#selectFn\n ) {\n data = this.#selectResult\n } else {\n try {\n this.#selectFn = options.select\n data = options.select(data as any)\n data = replaceData(prevResult?.data, data, options)\n this.#selectResult = data\n this.#selectError = null\n } catch (selectError) {\n this.#selectError = selectError as TError\n }\n }\n }\n\n if (this.#selectError) {\n error = this.#selectError as any\n data = this.#selectResult\n errorUpdatedAt = Date.now()\n status = 'error'\n }\n\n const isFetching = newState.fetchStatus === 'fetching'\n const isPending = status === 'pending'\n const isError = status === 'error'\n\n const isLoading = isPending && isFetching\n const hasData = data !== undefined\n\n const result: QueryObserverBaseResult<TData, TError> = {\n status,\n fetchStatus: newState.fetchStatus,\n isPending,\n isSuccess: status === 'success',\n isError,\n isInitialLoading: isLoading,\n isLoading,\n data,\n dataUpdatedAt: newState.dataUpdatedAt,\n error,\n errorUpdatedAt,\n failureCount: newState.fetchFailureCount,\n failureReason: newState.fetchFailureReason,\n errorUpdateCount: newState.errorUpdateCount,\n isFetched: newState.dataUpdateCount > 0 || newState.errorUpdateCount > 0,\n isFetchedAfterMount:\n newState.dataUpdateCount > queryInitialState.dataUpdateCount ||\n newState.errorUpdateCount > queryInitialState.errorUpdateCount,\n isFetching,\n isRefetching: isFetching && !isPending,\n isLoadingError: isError && !hasData,\n isPaused: newState.fetchStatus === 'paused',\n isPlaceholderData,\n isRefetchError: isError && hasData,\n isStale: isStale(query, options),\n refetch: this.refetch,\n promise: this.#currentThenable,\n isEnabled: resolveEnabled(options.enabled, query) !== false,\n }\n\n const nextResult = result as QueryObserverResult<TData, TError>\n\n if (this.options.experimental_prefetchInRender) {\n const finalizeThenableIfPossible = (thenable: PendingThenable<TData>) => {\n if (nextResult.status === 'error') {\n thenable.reject(nextResult.error)\n } else if (nextResult.data !== undefined) {\n thenable.resolve(nextResult.data)\n }\n }\n\n /**\n * Create a new thenable and result promise when the results have changed\n */\n const recreateThenable = () => {\n const pending =\n (this.#currentThenable =\n nextResult.promise =\n pendingThenable())\n\n finalizeThenableIfPossible(pending)\n }\n\n const prevThenable = this.#currentThenable\n switch (prevThenable.status) {\n case 'pending':\n // Finalize the previous thenable if it was pending\n // and we are still observing the same query\n if (query.queryHash === prevQuery.queryHash) {\n finalizeThenableIfPossible(prevThenable)\n }\n break\n case 'fulfilled':\n if (\n nextResult.status === 'error' ||\n nextResult.data !== prevThenable.value\n ) {\n recreateThenable()\n }\n break\n case 'rejected':\n if (\n nextResult.status !== 'error' ||\n nextResult.error !== prevThenable.reason\n ) {\n recreateThenable()\n }\n break\n }\n }\n\n return nextResult\n }\n\n updateResult(): void {\n const prevResult = this.#currentResult as\n | QueryObserverResult<TData, TError>\n | undefined\n\n const nextResult = this.createResult(this.#currentQuery, this.options)\n\n this.#currentResultState = this.#currentQuery.state\n this.#currentResultOptions = this.options\n\n if (this.#currentResultState.data !== undefined) {\n this.#lastQueryWithDefinedData = this.#currentQuery\n }\n\n // Only notify and update result if something has changed\n if (shallowEqualObjects(nextResult, prevResult)) {\n return\n }\n\n this.#currentResult = nextResult\n\n const shouldNotifyListeners = (): boolean => {\n if (!prevResult) {\n return true\n }\n\n const { notifyOnChangeProps } = this.options\n const notifyOnChangePropsValue =\n typeof notifyOnChangeProps === 'function'\n ? notifyOnChangeProps()\n : notifyOnChangeProps\n\n if (\n notifyOnChangePropsValue === 'all' ||\n (!notifyOnChangePropsValue && !this.#trackedProps.size)\n ) {\n return true\n }\n\n const includedProps = new Set(\n notifyOnChangePropsValue ?? this.#trackedProps,\n )\n\n if (this.options.throwOnError) {\n includedProps.add('error')\n }\n\n return Object.keys(this.#currentResult).some((key) => {\n const typedKey = key as keyof QueryObserverResult\n const changed = this.#currentResult[typedKey] !== prevResult[typedKey]\n\n return changed && includedProps.has(typedKey)\n })\n }\n\n this.#notify({ listeners: shouldNotifyListeners() })\n }\n\n #updateQuery(): void {\n const query = this.#client.getQueryCache().build(this.#client, this.options)\n\n if (query === this.#currentQuery) {\n return\n }\n\n const prevQuery = this.#currentQuery as\n | Query<TQueryFnData, TError, TQueryData, TQueryKey>\n | undefined\n this.#currentQuery = query\n this.#currentQueryInitialState = query.state\n\n if (this.hasListeners()) {\n prevQuery?.removeObserver(this)\n query.addObserver(this)\n }\n }\n\n onQueryUpdate(): void {\n this.updateResult()\n\n if (this.hasListeners()) {\n this.#updateTimers()\n }\n }\n\n #notify(notifyOptions: { listeners: boolean }): void {\n notifyManager.batch(() => {\n // First, trigger the listeners\n if (notifyOptions.listeners) {\n this.listeners.forEach((listener) => {\n listener(this.#currentResult)\n })\n }\n\n // Then the cache listeners\n this.#client.getQueryCache().notify({\n query: this.#currentQuery,\n type: 'observerResultsUpdated',\n })\n })\n }\n}\n\nfunction shouldLoadOnMount(\n query: Query<any, any, any, any>,\n options: QueryObserverOptions<any, any, any, any>,\n): boolean {\n return (\n resolveEnabled(options.enabled, query) !== false &&\n query.state.data === undefined &&\n !(query.state.status === 'error' && options.retryOnMount === false)\n )\n}\n\nfunction shouldFetchOnMount(\n query: Query<any, any, any, any>,\n options: QueryObserverOptions<any, any, any, any, any>,\n): boolean {\n return (\n shouldLoadOnMount(query, options) ||\n (query.state.data !== undefined &&\n shouldFetchOn(query, options, options.refetchOnMount))\n )\n}\n\nfunction shouldFetchOn(\n query: Query<any, any, any, any>,\n options: QueryObserverOptions<any, any, any, any, any>,\n field: (typeof options)['refetchOnMount'] &\n (typeof options)['refetchOnWindowFocus'] &\n (typeof options)['refetchOnReconnect'],\n) {\n if (\n resolveEnabled(options.enabled, query) !== false &&\n resolveStaleTime(options.staleTime, query) !== 'static'\n ) {\n const value = typeof field === 'function' ? field(query) : field\n\n return value === 'always' || (value !== false && isStale(query, options))\n }\n return false\n}\n\nfunction shouldFetchOptionally(\n query: Query<any, any, any, any>,\n prevQuery: Query<any, any, any, any>,\n options: QueryObserverOptions<any, any, any, any, any>,\n prevOptions: QueryObserverOptions<any, any, any, any, any>,\n): boolean {\n return (\n (query !== prevQuery ||\n resolveEnabled(prevOptions.enabled, query) === false) &&\n (!options.suspense || query.state.status !== 'error') &&\n isStale(query, options)\n )\n}\n\nfunction isStale(\n query: Query<any, any, any, any>,\n options: QueryObserverOptions<any, any, any, any, any>,\n): boolean {\n return (\n resolveEnabled(options.enabled, query) !== false &&\n query.isStaleByTime(resolveStaleTime(options.staleTime, query))\n )\n}\n\n// this function would decide if we will update the observer's 'current'\n// properties after an optimistic reading via getOptimisticResult\nfunction shouldAssignObserverCurrentProperties<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n>(\n observer: QueryObserver<TQueryFnData, TError, TData, TQueryData, TQueryKey>,\n optimisticResult: QueryObserverResult<TData, TError>,\n) {\n // if the newly created result isn't what the observer is holding as current,\n // then we'll need to update the properties as well\n if (!shallowEqualObjects(observer.getCurrentResult(), optimisticResult)) {\n return true\n }\n\n // basically, just keep previous properties if nothing changed\n return false\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0BAA6B;AAC7B,2BAA8B;AAC9B,mBAA2B;AAC3B,0BAA6B;AAC7B,sBAAgC;AAChC,mBASO;AACP,4BAA+B;AAf/B;AAwCO,IAAM,gBAAN,cAMG,iCAAmD;AAAA,EAyB3D,YACE,QACO,SAOP;AACA,UAAM;AARC;AAjCJ;AAOL;AACA;AACA;AACA;AACA;AACA;AAOA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CAOP,UACA,kBACA;AAGA,MAAI,KAAC,kCAAoB,SAAS,iBAAiB,GAAG,gBAAgB,GAAG;AACvE,WAAO;AAAA,EACT;AAGA,SAAO;AACT;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/queryObserver.ts"],"sourcesContent":["import { focusManager } from './focusManager'\nimport { notifyManager } from './notifyManager'\nimport { fetchState } from './query'\nimport { Subscribable } from './subscribable'\nimport { pendingThenable } from './thenable'\nimport {\n isServer,\n isValidTimeout,\n noop,\n replaceData,\n resolveEnabled,\n resolveStaleTime,\n shallowEqualObjects,\n timeUntilStale,\n} from './utils'\nimport { timeoutManager } from './timeoutManager'\nimport type { ManagedTimerId } from './timeoutManager'\nimport type { FetchOptions, Query, QueryState } from './query'\nimport type { QueryClient } from './queryClient'\nimport type { PendingThenable, Thenable } from './thenable'\nimport type {\n DefaultError,\n DefaultedQueryObserverOptions,\n PlaceholderDataFunction,\n QueryKey,\n QueryObserverBaseResult,\n QueryObserverOptions,\n QueryObserverResult,\n QueryOptions,\n RefetchOptions,\n} from './types'\n\ntype QueryObserverListener<TData, TError> = (\n result: QueryObserverResult<TData, TError>,\n) => void\n\ninterface ObserverFetchOptions extends FetchOptions {\n throwOnError?: boolean\n}\n\nexport class QueryObserver<\n TQueryFnData = unknown,\n TError = DefaultError,\n TData = TQueryFnData,\n TQueryData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n> extends Subscribable<QueryObserverListener<TData, TError>> {\n #client: QueryClient\n #currentQuery: Query<TQueryFnData, TError, TQueryData, TQueryKey> = undefined!\n #currentQueryInitialState: QueryState<TQueryData, TError> = undefined!\n #currentResult: QueryObserverResult<TData, TError> = undefined!\n #currentResultState?: QueryState<TQueryData, TError>\n #currentResultOptions?: QueryObserverOptions<\n TQueryFnData,\n TError,\n TData,\n TQueryData,\n TQueryKey\n >\n #currentThenable: Thenable<TData>\n #selectError: TError | null\n #selectFn?: (data: TQueryData) => TData\n #selectResult?: TData\n // This property keeps track of the last query with defined data.\n // It will be used to pass the previous data and query to the placeholder function between renders.\n #lastQueryWithDefinedData?: Query<TQueryFnData, TError, TQueryData, TQueryKey>\n #staleTimeoutId?: ManagedTimerId\n #refetchIntervalId?: ManagedTimerId\n #currentRefetchInterval?: number | false\n #trackedProps = new Set<keyof QueryObserverResult>()\n\n constructor(\n client: QueryClient,\n public options: QueryObserverOptions<\n TQueryFnData,\n TError,\n TData,\n TQueryData,\n TQueryKey\n >,\n ) {\n super()\n\n this.#client = client\n this.#selectError = null\n this.#currentThenable = pendingThenable()\n\n this.bindMethods()\n this.setOptions(options)\n }\n\n protected bindMethods(): void {\n this.refetch = this.refetch.bind(this)\n }\n\n protected onSubscribe(): void {\n if (this.listeners.size === 1) {\n this.#currentQuery.addObserver(this)\n\n if (shouldFetchOnMount(this.#currentQuery, this.options)) {\n this.#executeFetch()\n } else {\n this.updateResult()\n }\n\n this.#updateTimers()\n }\n }\n\n protected onUnsubscribe(): void {\n if (!this.hasListeners()) {\n this.destroy()\n }\n }\n\n shouldFetchOnReconnect(): boolean {\n return shouldFetchOn(\n this.#currentQuery,\n this.options,\n this.options.refetchOnReconnect,\n )\n }\n\n shouldFetchOnWindowFocus(): boolean {\n return shouldFetchOn(\n this.#currentQuery,\n this.options,\n this.options.refetchOnWindowFocus,\n )\n }\n\n destroy(): void {\n this.listeners = new Set()\n this.#clearStaleTimeout()\n this.#clearRefetchInterval()\n this.#currentQuery.removeObserver(this)\n }\n\n setOptions(\n options: QueryObserverOptions<\n TQueryFnData,\n TError,\n TData,\n TQueryData,\n TQueryKey\n >,\n ): void {\n const prevOptions = this.options\n const prevQuery = this.#currentQuery\n\n this.options = this.#client.defaultQueryOptions(options)\n\n if (\n this.options.enabled !== undefined &&\n typeof this.options.enabled !== 'boolean' &&\n typeof this.options.enabled !== 'function' &&\n typeof resolveEnabled(this.options.enabled, this.#currentQuery) !==\n 'boolean'\n ) {\n throw new Error(\n 'Expected enabled to be a boolean or a callback that returns a boolean',\n )\n }\n\n this.#updateQuery()\n this.#currentQuery.setOptions(this.options)\n\n if (\n prevOptions._defaulted &&\n !shallowEqualObjects(this.options, prevOptions)\n ) {\n this.#client.getQueryCache().notify({\n type: 'observerOptionsUpdated',\n query: this.#currentQuery,\n observer: this,\n })\n }\n\n const mounted = this.hasListeners()\n\n // Fetch if there are subscribers\n if (\n mounted &&\n shouldFetchOptionally(\n this.#currentQuery,\n prevQuery,\n this.options,\n prevOptions,\n )\n ) {\n this.#executeFetch()\n }\n\n // Update result\n this.updateResult()\n\n // Update stale interval if needed\n if (\n mounted &&\n (this.#currentQuery !== prevQuery ||\n resolveEnabled(this.options.enabled, this.#currentQuery) !==\n resolveEnabled(prevOptions.enabled, this.#currentQuery) ||\n resolveStaleTime(this.options.staleTime, this.#currentQuery) !==\n resolveStaleTime(prevOptions.staleTime, this.#currentQuery))\n ) {\n this.#updateStaleTimeout()\n }\n\n const nextRefetchInterval = this.#computeRefetchInterval()\n\n // Update refetch interval if needed\n if (\n mounted &&\n (this.#currentQuery !== prevQuery ||\n resolveEnabled(this.options.enabled, this.#currentQuery) !==\n resolveEnabled(prevOptions.enabled, this.#currentQuery) ||\n nextRefetchInterval !== this.#currentRefetchInterval)\n ) {\n this.#updateRefetchInterval(nextRefetchInterval)\n }\n }\n\n getOptimisticResult(\n options: DefaultedQueryObserverOptions<\n TQueryFnData,\n TError,\n TData,\n TQueryData,\n TQueryKey\n >,\n ): QueryObserverResult<TData, TError> {\n const query = this.#client.getQueryCache().build(this.#client, options)\n\n const result = this.createResult(query, options)\n\n if (shouldAssignObserverCurrentProperties(this, result)) {\n // this assigns the optimistic result to the current Observer\n // because if the query function changes, useQuery will be performing\n // an effect where it would fetch again.\n // When the fetch finishes, we perform a deep data cloning in order\n // to reuse objects references. This deep data clone is performed against\n // the `observer.currentResult.data` property\n // When QueryKey changes, we refresh the query and get new `optimistic`\n // result, while we leave the `observer.currentResult`, so when new data\n // arrives, it finds the old `observer.currentResult` which is related\n // to the old QueryKey. Which means that currentResult and selectData are\n // out of sync already.\n // To solve this, we move the cursor of the currentResult every time\n // an observer reads an optimistic value.\n\n // When keeping the previous data, the result doesn't change until new\n // data arrives.\n this.#currentResult = result\n this.#currentResultOptions = this.options\n this.#currentResultState = this.#currentQuery.state\n }\n return result\n }\n\n getCurrentResult(): QueryObserverResult<TData, TError> {\n return this.#currentResult\n }\n\n trackResult(\n result: QueryObserverResult<TData, TError>,\n onPropTracked?: (key: keyof QueryObserverResult) => void,\n ): QueryObserverResult<TData, TError> {\n return new Proxy(result, {\n get: (target, key) => {\n this.trackProp(key as keyof QueryObserverResult)\n onPropTracked?.(key as keyof QueryObserverResult)\n if (key === 'promise') {\n this.trackProp('data')\n if (\n !this.options.experimental_prefetchInRender &&\n this.#currentThenable.status === 'pending'\n ) {\n this.#currentThenable.reject(\n new Error(\n 'experimental_prefetchInRender feature flag is not enabled',\n ),\n )\n }\n }\n return Reflect.get(target, key)\n },\n })\n }\n\n trackProp(key: keyof QueryObserverResult) {\n this.#trackedProps.add(key)\n }\n\n getCurrentQuery(): Query<TQueryFnData, TError, TQueryData, TQueryKey> {\n return this.#currentQuery\n }\n\n refetch({ ...options }: RefetchOptions = {}): Promise<\n QueryObserverResult<TData, TError>\n > {\n return this.fetch({\n ...options,\n })\n }\n\n fetchOptimistic(\n options: QueryObserverOptions<\n TQueryFnData,\n TError,\n TData,\n TQueryData,\n TQueryKey\n >,\n ): Promise<QueryObserverResult<TData, TError>> {\n const defaultedOptions = this.#client.defaultQueryOptions(options)\n\n const query = this.#client\n .getQueryCache()\n .build(this.#client, defaultedOptions)\n\n return query.fetch().then(() => this.createResult(query, defaultedOptions))\n }\n\n protected fetch(\n fetchOptions: ObserverFetchOptions,\n ): Promise<QueryObserverResult<TData, TError>> {\n return this.#executeFetch({\n ...fetchOptions,\n cancelRefetch: fetchOptions.cancelRefetch ?? true,\n }).then(() => {\n this.updateResult()\n return this.#currentResult\n })\n }\n\n #executeFetch(\n fetchOptions?: Omit<ObserverFetchOptions, 'initialPromise'>,\n ): Promise<TQueryData | undefined> {\n // Make sure we reference the latest query as the current one might have been removed\n this.#updateQuery()\n\n // Fetch\n let promise: Promise<TQueryData | undefined> = this.#currentQuery.fetch(\n this.options as QueryOptions<TQueryFnData, TError, TQueryData, TQueryKey>,\n fetchOptions,\n )\n\n if (!fetchOptions?.throwOnError) {\n promise = promise.catch(noop)\n }\n\n return promise\n }\n\n #updateStaleTimeout(): void {\n this.#clearStaleTimeout()\n const staleTime = resolveStaleTime(\n this.options.staleTime,\n this.#currentQuery,\n )\n\n if (isServer || this.#currentResult.isStale || !isValidTimeout(staleTime)) {\n return\n }\n\n const time = timeUntilStale(this.#currentResult.dataUpdatedAt, staleTime)\n\n // The timeout is sometimes triggered 1 ms before the stale time expiration.\n // To mitigate this issue we always add 1 ms to the timeout.\n const timeout = time + 1\n\n this.#staleTimeoutId = timeoutManager.setTimeout(() => {\n if (!this.#currentResult.isStale) {\n this.updateResult()\n }\n }, timeout)\n }\n\n #computeRefetchInterval() {\n return (\n (typeof this.options.refetchInterval === 'function'\n ? this.options.refetchInterval(this.#currentQuery)\n : this.options.refetchInterval) ?? false\n )\n }\n\n #updateRefetchInterval(nextInterval: number | false): void {\n this.#clearRefetchInterval()\n\n this.#currentRefetchInterval = nextInterval\n\n if (\n isServer ||\n resolveEnabled(this.options.enabled, this.#currentQuery) === false ||\n !isValidTimeout(this.#currentRefetchInterval) ||\n this.#currentRefetchInterval === 0\n ) {\n return\n }\n\n this.#refetchIntervalId = timeoutManager.setInterval(() => {\n if (\n this.options.refetchIntervalInBackground ||\n focusManager.isFocused()\n ) {\n this.#executeFetch()\n }\n }, this.#currentRefetchInterval)\n }\n\n #updateTimers(): void {\n this.#updateStaleTimeout()\n this.#updateRefetchInterval(this.#computeRefetchInterval())\n }\n\n #clearStaleTimeout(): void {\n if (this.#staleTimeoutId) {\n timeoutManager.clearTimeout(this.#staleTimeoutId)\n this.#staleTimeoutId = undefined\n }\n }\n\n #clearRefetchInterval(): void {\n if (this.#refetchIntervalId) {\n timeoutManager.clearInterval(this.#refetchIntervalId)\n this.#refetchIntervalId = undefined\n }\n }\n\n protected createResult(\n query: Query<TQueryFnData, TError, TQueryData, TQueryKey>,\n options: QueryObserverOptions<\n TQueryFnData,\n TError,\n TData,\n TQueryData,\n TQueryKey\n >,\n ): QueryObserverResult<TData, TError> {\n const prevQuery = this.#currentQuery\n const prevOptions = this.options\n const prevResult = this.#currentResult as\n | QueryObserverResult<TData, TError>\n | undefined\n const prevResultState = this.#currentResultState\n const prevResultOptions = this.#currentResultOptions\n const queryChange = query !== prevQuery\n const queryInitialState = queryChange\n ? query.state\n : this.#currentQueryInitialState\n\n const { state } = query\n let newState = { ...state }\n let isPlaceholderData = false\n let data: TData | undefined\n\n // Optimistically set result in fetching state if needed\n if (options._optimisticResults) {\n const mounted = this.hasListeners()\n\n const fetchOnMount = !mounted && shouldFetchOnMount(query, options)\n\n const fetchOptionally =\n mounted && shouldFetchOptionally(query, prevQuery, options, prevOptions)\n\n if (fetchOnMount || fetchOptionally) {\n newState = {\n ...newState,\n ...fetchState(state.data, query.options),\n }\n }\n if (options._optimisticResults === 'isRestoring') {\n newState.fetchStatus = 'idle'\n }\n }\n\n let { error, errorUpdatedAt, status } = newState\n\n // Per default, use query data\n data = newState.data as unknown as TData\n let skipSelect = false\n\n // use placeholderData if needed\n if (\n options.placeholderData !== undefined &&\n data === undefined &&\n status === 'pending'\n ) {\n let placeholderData\n\n // Memoize placeholder data\n if (\n prevResult?.isPlaceholderData &&\n options.placeholderData === prevResultOptions?.placeholderData\n ) {\n placeholderData = prevResult.data\n // we have to skip select when reading this memoization\n // because prevResult.data is already \"selected\"\n skipSelect = true\n } else {\n // compute placeholderData\n placeholderData =\n typeof options.placeholderData === 'function'\n ? (\n options.placeholderData as unknown as PlaceholderDataFunction<TQueryData>\n )(\n this.#lastQueryWithDefinedData?.state.data,\n this.#lastQueryWithDefinedData as any,\n )\n : options.placeholderData\n }\n\n if (placeholderData !== undefined) {\n status = 'success'\n data = replaceData(\n prevResult?.data,\n placeholderData as unknown,\n options,\n ) as TData\n isPlaceholderData = true\n }\n }\n\n // Select data if needed\n // this also runs placeholderData through the select function\n if (options.select && data !== undefined && !skipSelect) {\n // Memoize select result\n if (\n prevResult &&\n data === prevResultState?.data &&\n options.select === this.#selectFn\n ) {\n data = this.#selectResult\n } else {\n try {\n this.#selectFn = options.select\n data = options.select(data as any)\n data = replaceData(prevResult?.data, data, options)\n this.#selectResult = data\n this.#selectError = null\n } catch (selectError) {\n this.#selectError = selectError as TError\n }\n }\n }\n\n if (this.#selectError) {\n error = this.#selectError as any\n data = this.#selectResult\n errorUpdatedAt = Date.now()\n status = 'error'\n }\n\n const isFetching = newState.fetchStatus === 'fetching'\n const isPending = status === 'pending'\n const isError = status === 'error'\n\n const isLoading = isPending && isFetching\n const hasData = data !== undefined\n\n const result: QueryObserverBaseResult<TData, TError> = {\n status,\n fetchStatus: newState.fetchStatus,\n isPending,\n isSuccess: status === 'success',\n isError,\n isInitialLoading: isLoading,\n isLoading,\n data,\n dataUpdatedAt: newState.dataUpdatedAt,\n error,\n errorUpdatedAt,\n failureCount: newState.fetchFailureCount,\n failureReason: newState.fetchFailureReason,\n errorUpdateCount: newState.errorUpdateCount,\n isFetched: newState.dataUpdateCount > 0 || newState.errorUpdateCount > 0,\n isFetchedAfterMount:\n newState.dataUpdateCount > queryInitialState.dataUpdateCount ||\n newState.errorUpdateCount > queryInitialState.errorUpdateCount,\n isFetching,\n isRefetching: isFetching && !isPending,\n isLoadingError: isError && !hasData,\n isPaused: newState.fetchStatus === 'paused',\n isPlaceholderData,\n isRefetchError: isError && hasData,\n isStale: isStale(query, options),\n refetch: this.refetch,\n promise: this.#currentThenable,\n isEnabled: resolveEnabled(options.enabled, query) !== false,\n }\n\n const nextResult = result as QueryObserverResult<TData, TError>\n\n if (this.options.experimental_prefetchInRender) {\n const finalizeThenableIfPossible = (thenable: PendingThenable<TData>) => {\n if (nextResult.status === 'error') {\n thenable.reject(nextResult.error)\n } else if (nextResult.data !== undefined) {\n thenable.resolve(nextResult.data)\n }\n }\n\n /**\n * Create a new thenable and result promise when the results have changed\n */\n const recreateThenable = () => {\n const pending =\n (this.#currentThenable =\n nextResult.promise =\n pendingThenable())\n\n finalizeThenableIfPossible(pending)\n }\n\n const prevThenable = this.#currentThenable\n switch (prevThenable.status) {\n case 'pending':\n // Finalize the previous thenable if it was pending\n // and we are still observing the same query\n if (query.queryHash === prevQuery.queryHash) {\n finalizeThenableIfPossible(prevThenable)\n }\n break\n case 'fulfilled':\n if (\n nextResult.status === 'error' ||\n nextResult.data !== prevThenable.value\n ) {\n recreateThenable()\n }\n break\n case 'rejected':\n if (\n nextResult.status !== 'error' ||\n nextResult.error !== prevThenable.reason\n ) {\n recreateThenable()\n }\n break\n }\n }\n\n return nextResult\n }\n\n updateResult(): void {\n const prevResult = this.#currentResult as\n | QueryObserverResult<TData, TError>\n | undefined\n\n const nextResult = this.createResult(this.#currentQuery, this.options)\n\n this.#currentResultState = this.#currentQuery.state\n this.#currentResultOptions = this.options\n\n if (this.#currentResultState.data !== undefined) {\n this.#lastQueryWithDefinedData = this.#currentQuery\n }\n\n // Only notify and update result if something has changed\n if (shallowEqualObjects(nextResult, prevResult)) {\n return\n }\n\n this.#currentResult = nextResult\n\n const shouldNotifyListeners = (): boolean => {\n if (!prevResult) {\n return true\n }\n\n const { notifyOnChangeProps } = this.options\n const notifyOnChangePropsValue =\n typeof notifyOnChangeProps === 'function'\n ? notifyOnChangeProps()\n : notifyOnChangeProps\n\n if (\n notifyOnChangePropsValue === 'all' ||\n (!notifyOnChangePropsValue && !this.#trackedProps.size)\n ) {\n return true\n }\n\n const includedProps = new Set(\n notifyOnChangePropsValue ?? this.#trackedProps,\n )\n\n if (this.options.throwOnError) {\n includedProps.add('error')\n }\n\n return Object.keys(this.#currentResult).some((key) => {\n const typedKey = key as keyof QueryObserverResult\n const changed = this.#currentResult[typedKey] !== prevResult[typedKey]\n\n return changed && includedProps.has(typedKey)\n })\n }\n\n this.#notify({ listeners: shouldNotifyListeners() })\n }\n\n #updateQuery(): void {\n const query = this.#client.getQueryCache().build(this.#client, this.options)\n\n if (query === this.#currentQuery) {\n return\n }\n\n const prevQuery = this.#currentQuery as\n | Query<TQueryFnData, TError, TQueryData, TQueryKey>\n | undefined\n this.#currentQuery = query\n this.#currentQueryInitialState = query.state\n\n if (this.hasListeners()) {\n prevQuery?.removeObserver(this)\n query.addObserver(this)\n }\n }\n\n onQueryUpdate(): void {\n this.updateResult()\n\n if (this.hasListeners()) {\n this.#updateTimers()\n }\n }\n\n #notify(notifyOptions: { listeners: boolean }): void {\n notifyManager.batch(() => {\n // First, trigger the listeners\n if (notifyOptions.listeners) {\n this.listeners.forEach((listener) => {\n listener(this.#currentResult)\n })\n }\n\n // Then the cache listeners\n this.#client.getQueryCache().notify({\n query: this.#currentQuery,\n type: 'observerResultsUpdated',\n })\n })\n }\n}\n\nfunction shouldLoadOnMount(\n query: Query<any, any, any, any>,\n options: QueryObserverOptions<any, any, any, any>,\n): boolean {\n return (\n resolveEnabled(options.enabled, query) !== false &&\n query.state.data === undefined &&\n !(query.state.status === 'error' && options.retryOnMount === false)\n )\n}\n\nfunction shouldFetchOnMount(\n query: Query<any, any, any, any>,\n options: QueryObserverOptions<any, any, any, any, any>,\n): boolean {\n return (\n shouldLoadOnMount(query, options) ||\n (query.state.data !== undefined &&\n shouldFetchOn(query, options, options.refetchOnMount))\n )\n}\n\nfunction shouldFetchOn(\n query: Query<any, any, any, any>,\n options: QueryObserverOptions<any, any, any, any, any>,\n field: (typeof options)['refetchOnMount'] &\n (typeof options)['refetchOnWindowFocus'] &\n (typeof options)['refetchOnReconnect'],\n) {\n if (\n resolveEnabled(options.enabled, query) !== false &&\n resolveStaleTime(options.staleTime, query) !== 'static'\n ) {\n const value = typeof field === 'function' ? field(query) : field\n\n return value === 'always' || (value !== false && isStale(query, options))\n }\n return false\n}\n\nfunction shouldFetchOptionally(\n query: Query<any, any, any, any>,\n prevQuery: Query<any, any, any, any>,\n options: QueryObserverOptions<any, any, any, any, any>,\n prevOptions: QueryObserverOptions<any, any, any, any, any>,\n): boolean {\n return (\n (query !== prevQuery ||\n resolveEnabled(prevOptions.enabled, query) === false) &&\n (!options.suspense || query.state.status !== 'error') &&\n isStale(query, options)\n )\n}\n\nfunction isStale(\n query: Query<any, any, any, any>,\n options: QueryObserverOptions<any, any, any, any, any>,\n): boolean {\n return (\n resolveEnabled(options.enabled, query) !== false &&\n query.isStaleByTime(resolveStaleTime(options.staleTime, query))\n )\n}\n\n// this function would decide if we will update the observer's 'current'\n// properties after an optimistic reading via getOptimisticResult\nfunction shouldAssignObserverCurrentProperties<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n>(\n observer: QueryObserver<TQueryFnData, TError, TData, TQueryData, TQueryKey>,\n optimisticResult: QueryObserverResult<TData, TError>,\n) {\n // if the newly created result isn't what the observer is holding as current,\n // then we'll need to update the properties as well\n if (!shallowEqualObjects(observer.getCurrentResult(), optimisticResult)) {\n return true\n }\n\n // basically, just keep previous properties if nothing changed\n return false\n}\n"],"mappings":";;;;;;;;AAAA,SAAS,oBAAoB;AAC7B,SAAS,qBAAqB;AAC9B,SAAS,kBAAkB;AAC3B,SAAS,oBAAoB;AAC7B,SAAS,uBAAuB;AAChC;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,SAAS,sBAAsB;AAf/B;AAwCO,IAAM,gBAAN,cAMG,aAAmD;AAAA,EAyB3D,YACE,QACO,SAOP;AACA,UAAM;AARC;AAjCJ;AAOL;AACA;AACA;AACA;AACA;AACA;AAOA;AACA;AACA;AACA;AAGA;AAAA;AAAA;AACA;AACA;AACA;AACA,sCAAgB,oBAAI,IAA+B;AAcjD,uBAAK,SAAU;AACf,uBAAK,cA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@@
|
|
|
1
|
-
{"version":3,"sources":["../../src/removable.ts"],"sourcesContent":["import { timeoutManager } from './timeoutManager'\nimport { isServer, isValidTimeout } from './utils'\nimport type { ManagedTimerId } from './timeoutManager'\n\nexport abstract class Removable {\n gcTime!: number\n #gcTimeout?: ManagedTimerId\n\n destroy(): void {\n this.clearGcTimeout()\n }\n\n protected scheduleGc(): void {\n this.clearGcTimeout()\n\n if (isValidTimeout(this.gcTime)) {\n this.#gcTimeout = timeoutManager.setTimeout(() => {\n this.optionalRemove()\n }, this.gcTime)\n }\n }\n\n protected updateGcTime(newGcTime: number | undefined): void {\n // Default to 5 minutes (Infinity for server-side) if no gcTime is set\n this.gcTime = Math.max(\n this.gcTime || 0,\n newGcTime ?? (isServer ? Infinity : 5 * 60 * 1000),\n )\n }\n\n protected clearGcTimeout() {\n if (this.#gcTimeout) {\n timeoutManager.clearTimeout(this.#gcTimeout)\n this.#gcTimeout = undefined\n }\n }\n\n protected abstract optionalRemove(): void\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,4BAA+B;AAC/B,mBAAyC;AADzC;AAIO,IAAe,YAAf,MAAyB;AAAA,EAAzB;AAEL;AAAA;AAAA,EAEA,UAAgB;AACd,SAAK,eAAe;AAAA,EACtB;AAAA,EAEU,aAAmB;AAC3B,SAAK,eAAe;AAEpB,YAAI,6BAAe,KAAK,MAAM,GAAG;AAC/B,yBAAK,YAAa,qCAAe,WAAW,MAAM;AAChD,aAAK,eAAe;AAAA,MACtB,GAAG,KAAK,MAAM;AAAA,IAChB;AAAA,EACF;AAAA,EAEU,aAAa,WAAqC;AAE1D,SAAK,SAAS,KAAK;AAAA,MACjB,KAAK,UAAU;AAAA,MACf,cAAc,wBAAW,WAAW,IAAI,KAAK;AAAA,IAC/C;AAAA,EACF;AAAA,EAEU,iBAAiB;AACzB,QAAI,mBAAK,aAAY;AACnB,2CAAe,aAAa,mBAAK,WAAU;AAC3C,yBAAK,YAAa;AAAA,IACpB;AAAA,EACF;AAGF;AAhCE;","names":[]}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
declare abstract class Removable {
|
|
2
|
-
#private;
|
|
3
|
-
gcTime: number;
|
|
4
|
-
destroy(): void;
|
|
5
|
-
protected scheduleGc(): void;
|
|
6
|
-
protected updateGcTime(newGcTime: number | undefined): void;
|
|
7
|
-
protected clearGcTimeout(): void;
|
|
8
|
-
protected abstract optionalRemove(): void;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export { Removable };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
declare abstract class Removable {
|
|
2
|
-
#private;
|
|
3
|
-
gcTime: number;
|
|
4
|
-
destroy(): void;
|
|
5
|
-
protected scheduleGc(): void;
|
|
6
|
-
protected updateGcTime(newGcTime: number | undefined): void;
|
|
7
|
-
protected clearGcTimeout(): void;
|
|
8
|
-
protected abstract optionalRemove(): void;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export { Removable };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/removable.ts"],"sourcesContent":["import { timeoutManager } from './timeoutManager'\nimport { isServer, isValidTimeout } from './utils'\nimport type { ManagedTimerId } from './timeoutManager'\n\nexport abstract class Removable {\n gcTime!: number\n #gcTimeout?: ManagedTimerId\n\n destroy(): void {\n this.clearGcTimeout()\n }\n\n protected scheduleGc(): void {\n this.clearGcTimeout()\n\n if (isValidTimeout(this.gcTime)) {\n this.#gcTimeout = timeoutManager.setTimeout(() => {\n this.optionalRemove()\n }, this.gcTime)\n }\n }\n\n protected updateGcTime(newGcTime: number | undefined): void {\n // Default to 5 minutes (Infinity for server-side) if no gcTime is set\n this.gcTime = Math.max(\n this.gcTime || 0,\n newGcTime ?? (isServer ? Infinity : 5 * 60 * 1000),\n )\n }\n\n protected clearGcTimeout() {\n if (this.#gcTimeout) {\n timeoutManager.clearTimeout(this.#gcTimeout)\n this.#gcTimeout = undefined\n }\n }\n\n protected abstract optionalRemove(): void\n}\n"],"mappings":";;;;;;;AAAA,SAAS,sBAAsB;AAC/B,SAAS,UAAU,sBAAsB;AADzC;AAIO,IAAe,YAAf,MAAyB;AAAA,EAAzB;AAEL;AAAA;AAAA,EAEA,UAAgB;AACd,SAAK,eAAe;AAAA,EACtB;AAAA,EAEU,aAAmB;AAC3B,SAAK,eAAe;AAEpB,QAAI,eAAe,KAAK,MAAM,GAAG;AAC/B,yBAAK,YAAa,eAAe,WAAW,MAAM;AAChD,aAAK,eAAe;AAAA,MACtB,GAAG,KAAK,MAAM;AAAA,IAChB;AAAA,EACF;AAAA,EAEU,aAAa,WAAqC;AAE1D,SAAK,SAAS,KAAK;AAAA,MACjB,KAAK,UAAU;AAAA,MACf,cAAc,WAAW,WAAW,IAAI,KAAK;AAAA,IAC/C;AAAA,EACF;AAAA,EAEU,iBAAiB;AACzB,QAAI,mBAAK,aAAY;AACnB,qBAAe,aAAa,mBAAK,WAAU;AAC3C,yBAAK,YAAa;AAAA,IACpB;AAAA,EACF;AAGF;AAhCE;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/retryer.ts"],"sourcesContent":["import { focusManager } from './focusManager'\nimport { onlineManager } from './onlineManager'\nimport { pendingThenable } from './thenable'\nimport { isServer, sleep } from './utils'\nimport type { Thenable } from './thenable'\nimport type { CancelOptions, DefaultError, NetworkMode } from './types'\n\n// TYPES\n\ninterface RetryerConfig<TData = unknown, TError = DefaultError> {\n fn: () => TData | Promise<TData>\n initialPromise?: Promise<TData>\n onCancel?: (error: TError) => void\n onFail?: (failureCount: number, error: TError) => void\n onPause?: () => void\n onContinue?: () => void\n retry?: RetryValue<TError>\n retryDelay?: RetryDelayValue<TError>\n networkMode: NetworkMode | undefined\n canRun: () => boolean\n}\n\nexport interface Retryer<TData = unknown> {\n promise: Promise<TData>\n cancel: (cancelOptions?: CancelOptions) => void\n continue: () => Promise<unknown>\n cancelRetry: () => void\n continueRetry: () => void\n canStart: () => boolean\n start: () => Promise<TData>\n status: () => 'pending' | 'resolved' | 'rejected'\n}\n\nexport type RetryValue<TError> = boolean | number | ShouldRetryFunction<TError>\n\ntype ShouldRetryFunction<TError = DefaultError> = (\n failureCount: number,\n error: TError,\n) => boolean\n\nexport type RetryDelayValue<TError> = number | RetryDelayFunction<TError>\n\ntype RetryDelayFunction<TError = DefaultError> = (\n failureCount: number,\n error: TError,\n) => number\n\nfunction defaultRetryDelay(failureCount: number) {\n return Math.min(1000 * 2 ** failureCount, 30000)\n}\n\nexport function canFetch(networkMode: NetworkMode | undefined): boolean {\n return (networkMode ?? 'online') === 'online'\n ? onlineManager.isOnline()\n : true\n}\n\nexport class CancelledError extends Error {\n revert?: boolean\n silent?: boolean\n constructor(options?: CancelOptions) {\n super('CancelledError')\n this.revert = options?.revert\n this.silent = options?.silent\n }\n}\n\n/**\n * @deprecated Use instanceof `CancelledError` instead.\n */\nexport function isCancelledError(value: any): value is CancelledError {\n return value instanceof CancelledError\n}\n\nexport function createRetryer<TData = unknown, TError = DefaultError>(\n config: RetryerConfig<TData, TError>,\n): Retryer<TData> {\n let isRetryCancelled = false\n let failureCount = 0\n let continueFn: ((value?: unknown) => void) | undefined\n\n const thenable = pendingThenable<TData>()\n\n const isResolved = () =>\n (thenable.status as Thenable<TData>['status']) !== 'pending'\n\n const cancel = (cancelOptions?: CancelOptions): void => {\n if (!isResolved()) {\n const error = new CancelledError(cancelOptions) as TError\n reject(error)\n\n config.onCancel?.(error)\n }\n }\n const cancelRetry = () => {\n isRetryCancelled = true\n }\n\n const continueRetry = () => {\n isRetryCancelled = false\n }\n\n const canContinue = () =>\n focusManager.isFocused() &&\n (config.networkMode === 'always' || onlineManager.isOnline()) &&\n config.canRun()\n\n const canStart = () => canFetch(config.networkMode) && config.canRun()\n\n const resolve = (value: any) => {\n if (!isResolved()) {\n continueFn?.()\n thenable.resolve(value)\n }\n }\n\n const reject = (value: any) => {\n if (!isResolved()) {\n continueFn?.()\n thenable.reject(value)\n }\n }\n\n const pause = () => {\n return new Promise((continueResolve) => {\n continueFn = (value) => {\n if (isResolved() || canContinue()) {\n continueResolve(value)\n }\n }\n config.onPause?.()\n }).then(() => {\n continueFn = undefined\n if (!isResolved()) {\n config.onContinue?.()\n }\n })\n }\n\n // Create loop function\n const run = () => {\n // Do nothing if already resolved\n if (isResolved()) {\n return\n }\n\n let promiseOrValue: any\n\n // we can re-use config.initialPromise on the first call of run()\n const initialPromise =\n failureCount === 0 ? config.initialPromise : undefined\n\n // Execute query\n try {\n promiseOrValue = initialPromise ?? config.fn()\n } catch (error) {\n promiseOrValue = Promise.reject(error)\n }\n\n Promise.resolve(promiseOrValue)\n .then(resolve)\n .catch((error) => {\n // Stop if the fetch is already resolved\n if (isResolved()) {\n return\n }\n\n // Do we need to retry the request?\n const retry = config.retry ?? (isServer ? 0 : 3)\n const retryDelay = config.retryDelay ?? defaultRetryDelay\n const delay =\n typeof retryDelay === 'function'\n ? retryDelay(failureCount, error)\n : retryDelay\n const shouldRetry =\n retry === true ||\n (typeof retry === 'number' && failureCount < retry) ||\n (typeof retry === 'function' && retry(failureCount, error))\n\n if (isRetryCancelled || !shouldRetry) {\n // We are done if the query does not need to be retried\n reject(error)\n return\n }\n\n failureCount++\n\n // Notify on fail\n config.onFail?.(failureCount, error)\n\n // Delay\n sleep(delay)\n // Pause if the document is not visible or when the device is offline\n .then(() => {\n return canContinue() ? undefined : pause()\n })\n .then(() => {\n if (isRetryCancelled) {\n reject(error)\n } else {\n run()\n }\n })\n })\n }\n\n return {\n promise: thenable,\n status: () => thenable.status,\n cancel,\n continue: () => {\n continueFn?.()\n return thenable\n },\n cancelRetry,\n continueRetry,\n canStart,\n start: () => {\n // Start loop\n if (canStart()) {\n run()\n } else {\n pause().then(run)\n }\n return thenable\n },\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0BAA6B;AAC7B,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;AAAA,IACL,CAAC;AAAA,EACL;AAEA,SAAO;AAAA,IACL,SAAS;AAAA,IACT,QAAQ,MAAM,SAAS;AAAA,IACvB;AAAA,IACA,UAAU,MAAM;AACd;AACA,aAAO;AAAA,IACT;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,OAAO,MAAM;AAEX,UAAI,SAAS,GAAG;AACd,YAAI;AAAA,MACN,OAAO;AACL,cAAM,EAAE,KAAK,GAAG;AAAA,MAClB;AACA,aAAO;AAAA,IACT;AAAA,EACF;AACF;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/retryer.ts"],"sourcesContent":["import { focusManager } from './focusManager'\nimport { onlineManager } from './onlineManager'\nimport { pendingThenable } from './thenable'\nimport { isServer, sleep } from './utils'\nimport type { Thenable } from './thenable'\nimport type { CancelOptions, DefaultError, NetworkMode } from './types'\n\n// TYPES\n\ninterface RetryerConfig<TData = unknown, TError = DefaultError> {\n fn: () => TData | Promise<TData>\n initialPromise?: Promise<TData>\n onCancel?: (error: TError) => void\n onFail?: (failureCount: number, error: TError) => void\n onPause?: () => void\n onContinue?: () => void\n retry?: RetryValue<TError>\n retryDelay?: RetryDelayValue<TError>\n networkMode: NetworkMode | undefined\n canRun: () => boolean\n}\n\nexport interface Retryer<TData = unknown> {\n promise: Promise<TData>\n cancel: (cancelOptions?: CancelOptions) => void\n continue: () => Promise<unknown>\n cancelRetry: () => void\n continueRetry: () => void\n canStart: () => boolean\n start: () => Promise<TData>\n status: () => 'pending' | 'resolved' | 'rejected'\n}\n\nexport type RetryValue<TError> = boolean | number | ShouldRetryFunction<TError>\n\ntype ShouldRetryFunction<TError = DefaultError> = (\n failureCount: number,\n error: TError,\n) => boolean\n\nexport type RetryDelayValue<TError> = number | RetryDelayFunction<TError>\n\ntype RetryDelayFunction<TError = DefaultError> = (\n failureCount: number,\n error: TError,\n) => number\n\nfunction defaultRetryDelay(failureCount: number) {\n return Math.min(1000 * 2 ** failureCount, 30000)\n}\n\nexport function canFetch(networkMode: NetworkMode | undefined): boolean {\n return (networkMode ?? 'online') === 'online'\n ? onlineManager.isOnline()\n : true\n}\n\nexport class CancelledError extends Error {\n revert?: boolean\n silent?: boolean\n constructor(options?: CancelOptions) {\n super('CancelledError')\n this.revert = options?.revert\n this.silent = options?.silent\n }\n}\n\n/**\n * @deprecated Use instanceof `CancelledError` instead.\n */\nexport function isCancelledError(value: any): value is CancelledError {\n return value instanceof CancelledError\n}\n\nexport function createRetryer<TData = unknown, TError = DefaultError>(\n config: RetryerConfig<TData, TError>,\n): Retryer<TData> {\n let isRetryCancelled = false\n let failureCount = 0\n let continueFn: ((value?: unknown) => void) | undefined\n\n const thenable = pendingThenable<TData>()\n\n const isResolved = () =>\n (thenable.status as Thenable<TData>['status']) !== 'pending'\n\n const cancel = (cancelOptions?: CancelOptions): void => {\n if (!isResolved()) {\n const error = new CancelledError(cancelOptions) as TError\n reject(error)\n\n config.onCancel?.(error)\n }\n }\n const cancelRetry = () => {\n isRetryCancelled = true\n }\n\n const continueRetry = () => {\n isRetryCancelled = false\n }\n\n const canContinue = () =>\n focusManager.isFocused() &&\n (config.networkMode === 'always' || onlineManager.isOnline()) &&\n config.canRun()\n\n const canStart = () => canFetch(config.networkMode) && config.canRun()\n\n const resolve = (value: any) => {\n if (!isResolved()) {\n continueFn?.()\n thenable.resolve(value)\n }\n }\n\n const reject = (value: any) => {\n if (!isResolved()) {\n continueFn?.()\n thenable.reject(value)\n }\n }\n\n const pause = () => {\n return new Promise((continueResolve) => {\n continueFn = (value) => {\n if (isResolved() || canContinue()) {\n continueResolve(value)\n }\n }\n config.onPause?.()\n }).then(() => {\n continueFn = undefined\n if (!isResolved()) {\n config.onContinue?.()\n }\n })\n }\n\n // Create loop function\n const run = () => {\n // Do nothing if already resolved\n if (isResolved()) {\n return\n }\n\n let promiseOrValue: any\n\n // we can re-use config.initialPromise on the first call of run()\n const initialPromise =\n failureCount === 0 ? config.initialPromise : undefined\n\n // Execute query\n try {\n promiseOrValue = initialPromise ?? config.fn()\n } catch (error) {\n promiseOrValue = Promise.reject(error)\n }\n\n Promise.resolve(promiseOrValue)\n .then(resolve)\n .catch((error) => {\n // Stop if the fetch is already resolved\n if (isResolved()) {\n return\n }\n\n // Do we need to retry the request?\n const retry = config.retry ?? (isServer ? 0 : 3)\n const retryDelay = config.retryDelay ?? defaultRetryDelay\n const delay =\n typeof retryDelay === 'function'\n ? retryDelay(failureCount, error)\n : retryDelay\n const shouldRetry =\n retry === true ||\n (typeof retry === 'number' && failureCount < retry) ||\n (typeof retry === 'function' && retry(failureCount, error))\n\n if (isRetryCancelled || !shouldRetry) {\n // We are done if the query does not need to be retried\n reject(error)\n return\n }\n\n failureCount++\n\n // Notify on fail\n config.onFail?.(failureCount, error)\n\n // Delay\n sleep(delay)\n // Pause if the document is not visible or when the device is offline\n .then(() => {\n return canContinue() ? undefined : pause()\n })\n .then(() => {\n if (isRetryCancelled) {\n reject(error)\n } else {\n run()\n }\n })\n })\n }\n\n return {\n promise: thenable,\n status: () => thenable.status,\n cancel,\n continue: () => {\n continueFn?.()\n return thenable\n },\n cancelRetry,\n continueRetry,\n canStart,\n start: () => {\n // Start loop\n if (canStart()) {\n run()\n } else {\n pause().then(run)\n }\n return thenable\n },\n }\n}\n"],"mappings":";;;AAAA,SAAS,oBAAoB;AAC7B,SAAS,qBAAqB;AAC9B,SAAS,uBAAuB;AAChC,SAAS,UAAU,aAAa;AA4ChC,SAAS,kBAAkB,cAAsB;AAC/C,SAAO,KAAK,IAAI,MAAO,KAAK,cAAc,GAAK;AACjD;AAEO,SAAS,SAAS,aAA+C;AACtE,UAAQ,eAAe,cAAc,WACjC,cAAc,SAAS,IACvB;AACN;AAEO,IAAM,iBAAN,cAA6B,MAAM;AAAA,EAGxC,YAAY,SAAyB;AACnC,UAAM,gBAAgB;AACtB,SAAK,SAAS,mCAAS;AACvB,SAAK,SAAS,mCAAS;AAAA,EACzB;AACF;AAKO,SAAS,iBAAiB,O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
{"version":3,"sources":["../../src/streamedQuery.ts"],"sourcesContent":["import { addConsumeAwareSignal, addToEnd } from './utils'\nimport type {\n OmitKeyof,\n QueryFunction,\n QueryFunctionContext,\n QueryKey,\n} from './types'\n\ntype BaseStreamedQueryParams<TQueryFnData, TQueryKey extends QueryKey> = {\n streamFn: (\n context: QueryFunctionContext<TQueryKey>,\n ) => AsyncIterable<TQueryFnData> | Promise<AsyncIterable<TQueryFnData>>\n refetchMode?: 'append' | 'reset' | 'replace'\n}\n\ntype SimpleStreamedQueryParams<\n TQueryFnData,\n TQueryKey extends QueryKey,\n> = BaseStreamedQueryParams<TQueryFnData, TQueryKey> & {\n reducer?: never\n initialValue?: never\n}\n\ntype ReducibleStreamedQueryParams<\n TQueryFnData,\n TData,\n TQueryKey extends QueryKey,\n> = BaseStreamedQueryParams<TQueryFnData, TQueryKey> & {\n reducer: (acc: TData, chunk: TQueryFnData) => TData\n initialValue: TData\n}\n\ntype StreamedQueryParams<TQueryFnData, TData, TQueryKey extends QueryKey> =\n | SimpleStreamedQueryParams<TQueryFnData, TQueryKey>\n | ReducibleStreamedQueryParams<TQueryFnData, TData, TQueryKey>\n\n/**\n * This is a helper function to create a query function that streams data from an AsyncIterable.\n * Data will be an Array of all the chunks received.\n * The query will be in a 'pending' state until the first chunk of data is received, but will go to 'success' after that.\n * The query will stay in fetchStatus 'fetching' until the stream ends.\n * @param queryFn - The function that returns an AsyncIterable to stream data from.\n * @param refetchMode - Defines how re-fetches are handled.\n * Defaults to `'reset'`, erases all data and puts the query back into `pending` state.\n * Set to `'append'` to append new data to the existing data.\n * Set to `'replace'` to write all data to the cache once the stream ends.\n * @param reducer - A function to reduce the streamed chunks into the final data.\n * Defaults to a function that appends chunks to the end of the array.\n * @param initialValue - Initial value to be used while the first chunk is being fetched, and returned if the stream yields no values.\n */\nexport function streamedQuery<\n TQueryFnData = unknown,\n TData = Array<TQueryFnData>,\n TQueryKey extends QueryKey = QueryKey,\n>({\n streamFn,\n refetchMode = 'reset',\n reducer = (items, chunk) =>\n addToEnd(items as Array<TQueryFnData>, chunk) as TData,\n initialValue = [] as TData,\n}: StreamedQueryParams<TQueryFnData, TData, TQueryKey>): QueryFunction<\n TData,\n TQueryKey\n> {\n return async (context) => {\n const query = context.client\n .getQueryCache()\n .find({ queryKey: context.queryKey, exact: true })\n const isRefetch = !!query && query.state.data !== undefined\n if (isRefetch && refetchMode === 'reset') {\n query.setState({\n status: 'pending',\n data: undefined,\n error: null,\n fetchStatus: 'fetching',\n })\n }\n\n let result = initialValue\n\n let cancelled: boolean = false as boolean\n const streamFnContext = addConsumeAwareSignal<\n OmitKeyof<typeof context, 'signal'>\n >(\n {\n client: context.client,\n meta: context.meta,\n queryKey: context.queryKey,\n pageParam: context.pageParam,\n direction: context.direction,\n },\n () => context.signal,\n () => (cancelled = true),\n )\n\n const stream = await streamFn(streamFnContext)\n\n const isReplaceRefetch = isRefetch && refetchMode === 'replace'\n\n for await (const chunk of stream) {\n if (cancelled) {\n break\n }\n\n if (isReplaceRefetch) {\n // don't append to the cache directly when replace-refetching\n result = reducer(result, chunk)\n } else {\n context.client.setQueryData<TData>(context.queryKey, (prev) =>\n reducer(prev === undefined ? initialValue : prev, chunk),\n )\n }\n }\n\n // finalize result: replace-refetching needs to write to the cache\n if (isReplaceRefetch && !cancelled) {\n context.client.setQueryData<TData>(context.queryKey, result)\n }\n\n return context.client.getQueryData(context.queryKey) ?? initialValue\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAgD;AAkDzC,SAAS,cAId;AAAA,EACA;AAAA,EACA,cAAc;AAAA,EACd,UAAU,CAAC,OAAO,cAChB,uBAAS,OAA8B,KAAK;AAAA,EAC9C,eAAe,CAAC;AAClB,GAGE;AACA,SAAO,OAAO,YAAY;AACxB,UAAM,QAAQ,QAAQ,OACnB,cAAc,EACd,KAAK,EAAE,UAAU,QAAQ,UAAU,OAAO,KAAK,CAAC;AACnD,UAAM,YAAY,CAAC,CAAC,SAAS,MAAM,MAAM,SAAS;AAClD,QAAI,aAAa,gBAAgB,SAAS;AACxC,YAAM,SAAS;AAAA,QACb,QAAQ;AAAA,QACR,MAAM;AAAA,QACN,OAAO;AAAA,QACP,aAAa;AAAA,MACf,CAAC;AAAA,IACH;AAEA,QAAI,SAAS;AAEb,QAAI,YAAqB;AACzB,UAAM,sBAAkB;AAAA,MAGtB;AAAA,QACE,QAAQ,QAAQ;AAAA,QAChB,MAAM,QAAQ;AAAA,QACd,UAAU,QAAQ;AAAA,QAClB,WAAW,QAAQ;AAAA,QACnB,WAAW,QAAQ;AAAA,MACrB;AAAA,MACA,MAAM,QAAQ;AAAA,MACd,MAAO,YAAY;AAAA,IACrB;AAEA,UAAM,SAAS,MAAM,SAAS,eAAe;AAE7C,UAAM,mBAAmB,aAAa,gBAAgB;AAEtD,qBAAiB,SAAS,QAAQ;AAChC,UAAI,WAAW;AACb;AAAA,MACF;AAEA,UAAI,kBAAkB;AAEpB,iBAAS,QAAQ,QAAQ,KAAK;AAAA,MAChC,OAAO;AACL,gBAAQ,OAAO;AAAA,UAAoB,QAAQ;AAAA,UAAU,CAAC,SACpD,QAAQ,SAAS,SAAY,eAAe,MAAM,KAAK;AAAA,QACzD;AAAA,MACF;AAAA,IACF;AAGA,QAAI,oBAAoB,CAAC,WAAW;AAClC,cAAQ,OAAO,aAAoB,QAAQ,UAAU,MAAM;AAAA,IAC7D;AAEA,WAAO,QAAQ,OAAO,aAAa,QAAQ,QAAQ,KAAK;AAAA,EAC1D;AACF;","names":[]}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { I as QueryKey, a1 as QueryFunctionContext, Y as QueryFunction } from './hydration-BD1pRmcy.cjs';
|
|
2
|
-
import './removable.cjs';
|
|
3
|
-
import './subscribable.cjs';
|
|
4
|
-
|
|
5
|
-
type BaseStreamedQueryParams<TQueryFnData, TQueryKey extends QueryKey> = {
|
|
6
|
-
streamFn: (context: QueryFunctionContext<TQueryKey>) => AsyncIterable<TQueryFnData> | Promise<AsyncIterable<TQueryFnData>>;
|
|
7
|
-
refetchMode?: 'append' | 'reset' | 'replace';
|
|
8
|
-
};
|
|
9
|
-
type SimpleStreamedQueryParams<TQueryFnData, TQueryKey extends QueryKey> = BaseStreamedQueryParams<TQueryFnData, TQueryKey> & {
|
|
10
|
-
reducer?: never;
|
|
11
|
-
initialValue?: never;
|
|
12
|
-
};
|
|
13
|
-
type ReducibleStreamedQueryParams<TQueryFnData, TData, TQueryKey extends QueryKey> = BaseStreamedQueryParams<TQueryFnData, TQueryKey> & {
|
|
14
|
-
reducer: (acc: TData, chunk: TQueryFnData) => TData;
|
|
15
|
-
initialValue: TData;
|
|
16
|
-
};
|
|
17
|
-
type StreamedQueryParams<TQueryFnData, TData, TQueryKey extends QueryKey> = SimpleStreamedQueryParams<TQueryFnData, TQueryKey> | ReducibleStreamedQueryParams<TQueryFnData, TData, TQueryKey>;
|
|
18
|
-
/**
|
|
19
|
-
* This is a helper function to create a query function that streams data from an AsyncIterable.
|
|
20
|
-
* Data will be an Array of all the chunks received.
|
|
21
|
-
* The query will be in a 'pending' state until the first chunk of data is received, but will go to 'success' after that.
|
|
22
|
-
* The query will stay in fetchStatus 'fetching' until the stream ends.
|
|
23
|
-
* @param queryFn - The function that returns an AsyncIterable to stream data from.
|
|
24
|
-
* @param refetchMode - Defines how re-fetches are handled.
|
|
25
|
-
* Defaults to `'reset'`, erases all data and puts the query back into `pending` state.
|
|
26
|
-
* Set to `'append'` to append new data to the existing data.
|
|
27
|
-
* Set to `'replace'` to write all data to the cache once the stream ends.
|
|
28
|
-
* @param reducer - A function to reduce the streamed chunks into the final data.
|
|
29
|
-
* Defaults to a function that appends chunks to the end of the array.
|
|
30
|
-
* @param initialValue - Initial value to be used while the first chunk is being fetched, and returned if the stream yields no values.
|
|
31
|
-
*/
|
|
32
|
-
declare function streamedQuery<TQueryFnData = unknown, TData = Array<TQueryFnData>, TQueryKey extends QueryKey = QueryKey>({ streamFn, refetchMode, reducer, initialValue, }: StreamedQueryParams<TQueryFnData, TData, TQueryKey>): QueryFunction<TData, TQueryKey>;
|
|
33
|
-
|
|
34
|
-
export { streamedQuery };
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { I as QueryKey, a1 as QueryFunctionContext, Y as QueryFunction } from './hydration-C-jfQLut.js';
|
|
2
|
-
import './removable.js';
|
|
3
|
-
import './subscribable.js';
|
|
4
|
-
|
|
5
|
-
type BaseStreamedQueryParams<TQueryFnData, TQueryKey extends QueryKey> = {
|
|
6
|
-
streamFn: (context: QueryFunctionContext<TQueryKey>) => AsyncIterable<TQueryFnData> | Promise<AsyncIterable<TQueryFnData>>;
|
|
7
|
-
refetchMode?: 'append' | 'reset' | 'replace';
|
|
8
|
-
};
|
|
9
|
-
type SimpleStreamedQueryParams<TQueryFnData, TQueryKey extends QueryKey> = BaseStreamedQueryParams<TQueryFnData, TQueryKey> & {
|
|
10
|
-
reducer?: never;
|
|
11
|
-
initialValue?: never;
|
|
12
|
-
};
|
|
13
|
-
type ReducibleStreamedQueryParams<TQueryFnData, TData, TQueryKey extends QueryKey> = BaseStreamedQueryParams<TQueryFnData, TQueryKey> & {
|
|
14
|
-
reducer: (acc: TData, chunk: TQueryFnData) => TData;
|
|
15
|
-
initialValue: TData;
|
|
16
|
-
};
|
|
17
|
-
type StreamedQueryParams<TQueryFnData, TData, TQueryKey extends QueryKey> = SimpleStreamedQueryParams<TQueryFnData, TQueryKey> | ReducibleStreamedQueryParams<TQueryFnData, TData, TQueryKey>;
|
|
18
|
-
/**
|
|
19
|
-
* This is a helper function to create a query function that streams data from an AsyncIterable.
|
|
20
|
-
* Data will be an Array of all the chunks received.
|
|
21
|
-
* The query will be in a 'pending' state until the first chunk of data is received, but will go to 'success' after that.
|
|
22
|
-
* The query will stay in fetchStatus 'fetching' until the stream ends.
|
|
23
|
-
* @param queryFn - The function that returns an AsyncIterable to stream data from.
|
|
24
|
-
* @param refetchMode - Defines how re-fetches are handled.
|
|
25
|
-
* Defaults to `'reset'`, erases all data and puts the query back into `pending` state.
|
|
26
|
-
* Set to `'append'` to append new data to the existing data.
|
|
27
|
-
* Set to `'replace'` to write all data to the cache once the stream ends.
|
|
28
|
-
* @param reducer - A function to reduce the streamed chunks into the final data.
|
|
29
|
-
* Defaults to a function that appends chunks to the end of the array.
|
|
30
|
-
* @param initialValue - Initial value to be used while the first chunk is being fetched, and returned if the stream yields no values.
|
|
31
|
-
*/
|
|
32
|
-
declare function streamedQuery<TQueryFnData = unknown, TData = Array<TQueryFnData>, TQueryKey extends QueryKey = QueryKey>({ streamFn, refetchMode, reducer, initialValue, }: StreamedQueryParams<TQueryFnData, TData, TQueryKey>): QueryFunction<TData, TQueryKey>;
|
|
33
|
-
|
|
34
|
-
export { streamedQuery };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/streamedQuery.ts"],"sourcesContent":["import { addConsumeAwareSignal, addToEnd } from './utils'\nimport type {\n OmitKeyof,\n QueryFunction,\n QueryFunctionContext,\n QueryKey,\n} from './types'\n\ntype BaseStreamedQueryParams<TQueryFnData, TQueryKey extends QueryKey> = {\n streamFn: (\n context: QueryFunctionContext<TQueryKey>,\n ) => AsyncIterable<TQueryFnData> | Promise<AsyncIterable<TQueryFnData>>\n refetchMode?: 'append' | 'reset' | 'replace'\n}\n\ntype SimpleStreamedQueryParams<\n TQueryFnData,\n TQueryKey extends QueryKey,\n> = BaseStreamedQueryParams<TQueryFnData, TQueryKey> & {\n reducer?: never\n initialValue?: never\n}\n\ntype ReducibleStreamedQueryParams<\n TQueryFnData,\n TData,\n TQueryKey extends QueryKey,\n> = BaseStreamedQueryParams<TQueryFnData, TQueryKey> & {\n reducer: (acc: TData, chunk: TQueryFnData) => TData\n initialValue: TData\n}\n\ntype StreamedQueryParams<TQueryFnData, TData, TQueryKey extends QueryKey> =\n | SimpleStreamedQueryParams<TQueryFnData, TQueryKey>\n | ReducibleStreamedQueryParams<TQueryFnData, TData, TQueryKey>\n\n/**\n * This is a helper function to create a query function that streams data from an AsyncIterable.\n * Data will be an Array of all the chunks received.\n * The query will be in a 'pending' state until the first chunk of data is received, but will go to 'success' after that.\n * The query will stay in fetchStatus 'fetching' until the stream ends.\n * @param queryFn - The function that returns an AsyncIterable to stream data from.\n * @param refetchMode - Defines how re-fetches are handled.\n * Defaults to `'reset'`, erases all data and puts the query back into `pending` state.\n * Set to `'append'` to append new data to the existing data.\n * Set to `'replace'` to write all data to the cache once the stream ends.\n * @param reducer - A function to reduce the streamed chunks into the final data.\n * Defaults to a function that appends chunks to the end of the array.\n * @param initialValue - Initial value to be used while the first chunk is being fetched, and returned if the stream yields no values.\n */\nexport function streamedQuery<\n TQueryFnData = unknown,\n TData = Array<TQueryFnData>,\n TQueryKey extends QueryKey = QueryKey,\n>({\n streamFn,\n refetchMode = 'reset',\n reducer = (items, chunk) =>\n addToEnd(items as Array<TQueryFnData>, chunk) as TData,\n initialValue = [] as TData,\n}: StreamedQueryParams<TQueryFnData, TData, TQueryKey>): QueryFunction<\n TData,\n TQueryKey\n> {\n return async (context) => {\n const query = context.client\n .getQueryCache()\n .find({ queryKey: context.queryKey, exact: true })\n const isRefetch = !!query && query.state.data !== undefined\n if (isRefetch && refetchMode === 'reset') {\n query.setState({\n status: 'pending',\n data: undefined,\n error: null,\n fetchStatus: 'fetching',\n })\n }\n\n let result = initialValue\n\n let cancelled: boolean = false as boolean\n const streamFnContext = addConsumeAwareSignal<\n OmitKeyof<typeof context, 'signal'>\n >(\n {\n client: context.client,\n meta: context.meta,\n queryKey: context.queryKey,\n pageParam: context.pageParam,\n direction: context.direction,\n },\n () => context.signal,\n () => (cancelled = true),\n )\n\n const stream = await streamFn(streamFnContext)\n\n const isReplaceRefetch = isRefetch && refetchMode === 'replace'\n\n for await (const chunk of stream) {\n if (cancelled) {\n break\n }\n\n if (isReplaceRefetch) {\n // don't append to the cache directly when replace-refetching\n result = reducer(result, chunk)\n } else {\n context.client.setQueryData<TData>(context.queryKey, (prev) =>\n reducer(prev === undefined ? initialValue : prev, chunk),\n )\n }\n }\n\n // finalize result: replace-refetching needs to write to the cache\n if (isReplaceRefetch && !cancelled) {\n context.client.setQueryData<TData>(context.queryKey, result)\n }\n\n return context.client.getQueryData(context.queryKey) ?? initialValue\n }\n}\n"],"mappings":";;;AAAA,SAAS,uBAAuB,gBAAgB;AAkDzC,SAAS,cAId;AAAA,EACA;AAAA,EACA,cAAc;AAAA,EACd,UAAU,CAAC,OAAO,UAChB,SAAS,OAA8B,KAAK;AAAA,EAC9C,eAAe,CAAC;AAClB,GAGE;AACA,SAAO,OAAO,YAAY;AACxB,UAAM,QAAQ,QAAQ,OACnB,cAAc,EACd,KAAK,EAAE,UAAU,QAAQ,UAAU,OAAO,KAAK,CAAC;AACnD,UAAM,YAAY,CAAC,CAAC,SAAS,MAAM,MAAM,SAAS;AAClD,QAAI,aAAa,gBAAgB,SAAS;AACxC,YAAM,SAAS;AAAA,QACb,QAAQ;AAAA,QACR,MAAM;AAAA,QACN,OAAO;AAAA,QACP,aAAa;AAAA,MACf,CAAC;AAAA,IACH;AAEA,QAAI,SAAS;AAEb,QAAI,YAAqB;AACzB,UAAM,kBAAkB;AAAA,MAGtB;AAAA,QACE,QAAQ,QAAQ;AAAA,QAChB,MAAM,QAAQ;AAAA,QACd,UAAU,QAAQ;AAAA,QAClB,WAAW,QAAQ;AAAA,QACnB,WAAW,QAAQ;AAAA,MACrB;AAAA,MACA,MAAM,QAAQ;AAAA,MACd,MAAO,YAAY;AAAA,IACrB;AAEA,UAAM,SAAS,MAAM,SAAS,eAAe;AAE7C,UAAM,mBAAmB,aAAa,gBAAgB;AAEtD,qBAAiB,SAAS,QAAQ;AAChC,UAAI,WAAW;AACb;AAAA,MACF;AAEA,UAAI,kBAAkB;AAEpB,iBAAS,QAAQ,QAAQ,KAAK;AAAA,MAChC,OAAO;AACL,gBAAQ,OAAO;AAAA,UAAoB,QAAQ;AAAA,UAAU,CAAC,SACpD,QAAQ,SAAS,SAAY,eAAe,MAAM,KAAK;AAAA,QACzD;AAAA,MACF;AAAA,IACF;AAGA,QAAI,oBAAoB,CAAC,WAAW;AAClC,cAAQ,OAAO,aAAoB,QAAQ,UAAU,MAAM;AAAA,IAC7D;AAEA,WAAO,QAAQ,OAAO,aAAa,QAAQ,QAAQ,KAAK;AAAA,EAC1D;AACF;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/subscribable.ts"],"sourcesContent":["export class Subscribable<TListener extends Function> {\n protected listeners = new Set<TListener>()\n\n constructor() {\n this.subscribe = this.subscribe.bind(this)\n }\n\n subscribe(listener: TListener): () => void {\n this.listeners.add(listener)\n\n this.onSubscribe()\n\n return () => {\n this.listeners.delete(listener)\n this.onUnsubscribe()\n }\n }\n\n hasListeners(): boolean {\n return this.listeners.size > 0\n }\n\n protected onSubscribe(): void {\n // Do nothing\n }\n\n protected onUnsubscribe(): void {\n // Do nothing\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,IAAM,eAAN,MAA+C;AAAA,EAGpD,cAAc;AAFd,SAAU,YAAY,oBAAI,IAAe;AAGvC,SAAK,YAAY,KAAK,UAAU,KAAK,IAAI;AAAA,EAC3C;AAAA,EAEA,UAAU,UAAiC;AACzC,SAAK,UAAU,IAAI,QAAQ;AAE3B,SAAK,YAAY;AAEjB,WAAO,MAAM;AACX,WAAK,UAAU,OAAO,QAAQ;AAC9B,WAAK,cAAc;AAAA,IACrB;AAAA,EACF;AAAA,EAEA,eAAwB;AACtB,WAAO,KAAK,UAAU,OAAO;AAAA,EAC/B;AAAA,EAEU,cAAoB;AAAA,EAE9B;AAAA,EAEU,gBAAsB;AAAA,EAEhC;AACF;","names":[]}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
declare class Subscribable<TListener extends Function> {
|
|
2
|
-
protected listeners: Set<TListener>;
|
|
3
|
-
constructor();
|
|
4
|
-
subscribe(listener: TListener): () => void;
|
|
5
|
-
hasListeners(): boolean;
|
|
6
|
-
protected onSubscribe(): void;
|
|
7
|
-
protected onUnsubscribe(): void;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export { Subscribable };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
declare class Subscribable<TListener extends Function> {
|
|
2
|
-
protected listeners: Set<TListener>;
|
|
3
|
-
constructor();
|
|
4
|
-
subscribe(listener: TListener): () => void;
|
|
5
|
-
hasListeners(): boolean;
|
|
6
|
-
protected onSubscribe(): void;
|
|
7
|
-
protected onUnsubscribe(): void;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export { Subscribable };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/subscribable.ts"],"sourcesContent":["export class Subscribable<TListener extends Function> {\n protected listeners = new Set<TListener>()\n\n constructor() {\n this.subscribe = this.subscribe.bind(this)\n }\n\n subscribe(listener: TListener): () => void {\n this.listeners.add(listener)\n\n this.onSubscribe()\n\n return () => {\n this.listeners.delete(listener)\n this.onUnsubscribe()\n }\n }\n\n hasListeners(): boolean {\n return this.listeners.size > 0\n }\n\n protected onSubscribe(): void {\n // Do nothing\n }\n\n protected onUnsubscribe(): void {\n // Do nothing\n }\n}\n"],"mappings":";;;AAAO,IAAM,eAAN,MAA+C;AAAA,EAGpD,cAAc;AAFd,SAAU,YAAY,oBAAI,IAAe;AAGvC,SAAK,YAAY,KAAK,UAAU,KAAK,IAAI;AAAA,EAC3C;AAAA,EAEA,UAAU,UAAiC;AACzC,SAAK,UAAU,IAAI,QAAQ;AAE3B,SAAK,YAAY;AAEjB,WAAO,MAAM;AACX,WAAK,UAAU,OAAO,QAAQ;AAC9B,WAAK,cAAc;AAAA,IACrB;AAAA,EACF;AAAA,EAEA,eAAwB;AACtB,WAAO,KAAK,UAAU,OAAO;AAAA,EAC/B;AAAA,EAEU,cAAoB;AAAA,EAE9B;AAAA,EAEU,gBAAsB;AAAA,EAEhC;AACF;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/thenable.ts"],"sourcesContent":["/**\n * Thenable types which matches React's types for promises\n *\n * React seemingly uses `.status`, `.value` and `.reason` properties on a promises to optimistically unwrap data from promises\n *\n * @see https://github.com/facebook/react/blob/main/packages/shared/ReactTypes.js#L112-L138\n * @see https://github.com/facebook/react/blob/4f604941569d2e8947ce1460a0b2997e835f37b9/packages/react-debug-tools/src/ReactDebugHooks.js#L224-L227\n */\n\nimport { noop } from './utils'\n\ninterface Fulfilled<T> {\n status: 'fulfilled'\n value: T\n}\ninterface Rejected {\n status: 'rejected'\n reason: unknown\n}\ninterface Pending<T> {\n status: 'pending'\n\n /**\n * Resolve the promise with a value.\n * Will remove the `resolve` and `reject` properties from the promise.\n */\n resolve: (value: T) => void\n /**\n * Reject the promise with a reason.\n * Will remove the `resolve` and `reject` properties from the promise.\n */\n reject: (reason: unknown) => void\n}\n\nexport type FulfilledThenable<T> = Promise<T> & Fulfilled<T>\nexport type RejectedThenable<T> = Promise<T> & Rejected\nexport type PendingThenable<T> = Promise<T> & Pending<T>\n\nexport type Thenable<T> =\n | FulfilledThenable<T>\n | RejectedThenable<T>\n | PendingThenable<T>\n\nexport function pendingThenable<T>(): PendingThenable<T> {\n let resolve: Pending<T>['resolve']\n let reject: Pending<T>['reject']\n // this could use `Promise.withResolvers()` in the future\n const thenable = new Promise((_resolve, _reject) => {\n resolve = _resolve\n reject = _reject\n }) as PendingThenable<T>\n\n thenable.status = 'pending'\n thenable.catch(() => {\n // prevent unhandled rejection errors\n })\n\n function finalize(data: Fulfilled<T> | Rejected) {\n Object.assign(thenable, data)\n\n // clear pending props props to avoid calling them twice\n delete (thenable as Partial<PendingThenable<T>>).resolve\n delete (thenable as Partial<PendingThenable<T>>).reject\n }\n\n thenable.resolve = (value) => {\n finalize({\n status: 'fulfilled',\n value,\n })\n\n resolve(value)\n }\n thenable.reject = (reason) => {\n finalize({\n status: 'rejected',\n reason,\n })\n\n reject(reason)\n }\n\n return thenable\n}\n\n/**\n * This function takes a Promise-like input and detects whether the data\n * is synchronously available or not.\n *\n * It does not inspect .status, .value or .reason properties of the promise,\n * as those are not always available, and the .status of React's promises\n * should not be considered part of the public API.\n */\nexport function tryResolveSync(promise: Promise<unknown> | Thenable<unknown>) {\n let data: unknown\n\n promise\n .then((result) => {\n data = result\n return result\n }, noop)\n // .catch can be unavailable on certain kinds of thenable's\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n ?.catch(noop)\n\n if (data !== undefined) {\n return { data }\n }\n\n return undefined\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASA,mBAAqB;AAkCd,SAAS,kBAAyC;AACvD,MAAI;AACJ,MAAI;AAEJ,QAAM,WAAW,IAAI,QAAQ,CAAC,UAAU,YAAY;AAClD,cAAU;AACV,aAAS;AAAA,EACX,CAAC;AAED,WAAS,SAAS;AAClB,WAAS,MAAM,MAAM;AAAA,EAErB,CAAC;AAED,WAAS,SAAS,MAA+B;AAC/C,WAAO,OAAO,UAAU,IAAI;AAG5B,WAAQ,SAAyC;AACjD,WAAQ,SAAyC;AAAA,EACnD;AAEA,WAAS,UAAU,CAAC,UAAU;AAC5B,aAAS;AAAA,MACP,QAAQ;AAAA,MACR;AAAA,IACF,CAAC;AAED,YAAQ,KAAK;AAAA,EACf;AACA,WAAS,SAAS,CAAC,WAAW;AAC5B,aAAS;AAAA,MACP,QAAQ;AAAA,MACR;AAAA,IACF,CAAC;AAED,WAAO,MAAM;AAAA,EACf;AAEA,SAAO;AACT;AAUO,SAAS,eAAe,SAA+C;AA7F9E;AA8FE,MAAI;AAEJ,gBACG,KAAK,CAAC,WAAW;AAChB,WAAO;AACP,WAAO;AAAA,EACT,GAAG,iBAAI,MAJT,mBAOI,MAAM;AAEV,MAAI,SAAS,QAAW;AACtB,WAAO,EAAE,KAAK;AAAA,EAChB;AAEA,SAAO;AACT;","names":[]}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Thenable types which matches React's types for promises
|
|
3
|
-
*
|
|
4
|
-
* React seemingly uses `.status`, `.value` and `.reason` properties on a promises to optimistically unwrap data from promises
|
|
5
|
-
*
|
|
6
|
-
* @see https://github.com/facebook/react/blob/main/packages/shared/ReactTypes.js#L112-L138
|
|
7
|
-
* @see https://github.com/facebook/react/blob/4f604941569d2e8947ce1460a0b2997e835f37b9/packages/react-debug-tools/src/ReactDebugHooks.js#L224-L227
|
|
8
|
-
*/
|
|
9
|
-
interface Fulfilled<T> {
|
|
10
|
-
status: 'fulfilled';
|
|
11
|
-
value: T;
|
|
12
|
-
}
|
|
13
|
-
interface Rejected {
|
|
14
|
-
status: 'rejected';
|
|
15
|
-
reason: unknown;
|
|
16
|
-
}
|
|
17
|
-
interface Pending<T> {
|
|
18
|
-
status: 'pending';
|
|
19
|
-
/**
|
|
20
|
-
* Resolve the promise with a value.
|
|
21
|
-
* Will remove the `resolve` and `reject` properties from the promise.
|
|
22
|
-
*/
|
|
23
|
-
resolve: (value: T) => void;
|
|
24
|
-
/**
|
|
25
|
-
* Reject the promise with a reason.
|
|
26
|
-
* Will remove the `resolve` and `reject` properties from the promise.
|
|
27
|
-
*/
|
|
28
|
-
reject: (reason: unknown) => void;
|
|
29
|
-
}
|
|
30
|
-
type FulfilledThenable<T> = Promise<T> & Fulfilled<T>;
|
|
31
|
-
type RejectedThenable<T> = Promise<T> & Rejected;
|
|
32
|
-
type PendingThenable<T> = Promise<T> & Pending<T>;
|
|
33
|
-
type Thenable<T> = FulfilledThenable<T> | RejectedThenable<T> | PendingThenable<T>;
|
|
34
|
-
declare function pendingThenable<T>(): PendingThenable<T>;
|
|
35
|
-
/**
|
|
36
|
-
* This function takes a Promise-like input and detects whether the data
|
|
37
|
-
* is synchronously available or not.
|
|
38
|
-
*
|
|
39
|
-
* It does not inspect .status, .value or .reason properties of the promise,
|
|
40
|
-
* as those are not always available, and the .status of React's promises
|
|
41
|
-
* should not be considered part of the public API.
|
|
42
|
-
*/
|
|
43
|
-
declare function tryResolveSync(promise: Promise<unknown> | Thenable<unknown>): {
|
|
44
|
-
data: {} | null;
|
|
45
|
-
} | undefined;
|
|
46
|
-
|
|
47
|
-
export { type FulfilledThenable, type PendingThenable, type RejectedThenable, type Thenable, pendingThenable, tryResolveSync };
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Thenable types which matches React's types for promises
|
|
3
|
-
*
|
|
4
|
-
* React seemingly uses `.status`, `.value` and `.reason` properties on a promises to optimistically unwrap data from promises
|
|
5
|
-
*
|
|
6
|
-
* @see https://github.com/facebook/react/blob/main/packages/shared/ReactTypes.js#L112-L138
|
|
7
|
-
* @see https://github.com/facebook/react/blob/4f604941569d2e8947ce1460a0b2997e835f37b9/packages/react-debug-tools/src/ReactDebugHooks.js#L224-L227
|
|
8
|
-
*/
|
|
9
|
-
interface Fulfilled<T> {
|
|
10
|
-
status: 'fulfilled';
|
|
11
|
-
value: T;
|
|
12
|
-
}
|
|
13
|
-
interface Rejected {
|
|
14
|
-
status: 'rejected';
|
|
15
|
-
reason: unknown;
|
|
16
|
-
}
|
|
17
|
-
interface Pending<T> {
|
|
18
|
-
status: 'pending';
|
|
19
|
-
/**
|
|
20
|
-
* Resolve the promise with a value.
|
|
21
|
-
* Will remove the `resolve` and `reject` properties from the promise.
|
|
22
|
-
*/
|
|
23
|
-
resolve: (value: T) => void;
|
|
24
|
-
/**
|
|
25
|
-
* Reject the promise with a reason.
|
|
26
|
-
* Will remove the `resolve` and `reject` properties from the promise.
|
|
27
|
-
*/
|
|
28
|
-
reject: (reason: unknown) => void;
|
|
29
|
-
}
|
|
30
|
-
type FulfilledThenable<T> = Promise<T> & Fulfilled<T>;
|
|
31
|
-
type RejectedThenable<T> = Promise<T> & Rejected;
|
|
32
|
-
type PendingThenable<T> = Promise<T> & Pending<T>;
|
|
33
|
-
type Thenable<T> = FulfilledThenable<T> | RejectedThenable<T> | PendingThenable<T>;
|
|
34
|
-
declare function pendingThenable<T>(): PendingThenable<T>;
|
|
35
|
-
/**
|
|
36
|
-
* This function takes a Promise-like input and detects whether the data
|
|
37
|
-
* is synchronously available or not.
|
|
38
|
-
*
|
|
39
|
-
* It does not inspect .status, .value or .reason properties of the promise,
|
|
40
|
-
* as those are not always available, and the .status of React's promises
|
|
41
|
-
* should not be considered part of the public API.
|
|
42
|
-
*/
|
|
43
|
-
declare function tryResolveSync(promise: Promise<unknown> | Thenable<unknown>): {
|
|
44
|
-
data: {} | null;
|
|
45
|
-
} | undefined;
|
|
46
|
-
|
|
47
|
-
export { type FulfilledThenable, type PendingThenable, type RejectedThenable, type Thenable, pendingThenable, tryResolveSync };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/thenable.ts"],"sourcesContent":["/**\n * Thenable types which matches React's types for promises\n *\n * React seemingly uses `.status`, `.value` and `.reason` properties on a promises to optimistically unwrap data from promises\n *\n * @see https://github.com/facebook/react/blob/main/packages/shared/ReactTypes.js#L112-L138\n * @see https://github.com/facebook/react/blob/4f604941569d2e8947ce1460a0b2997e835f37b9/packages/react-debug-tools/src/ReactDebugHooks.js#L224-L227\n */\n\nimport { noop } from './utils'\n\ninterface Fulfilled<T> {\n status: 'fulfilled'\n value: T\n}\ninterface Rejected {\n status: 'rejected'\n reason: unknown\n}\ninterface Pending<T> {\n status: 'pending'\n\n /**\n * Resolve the promise with a value.\n * Will remove the `resolve` and `reject` properties from the promise.\n */\n resolve: (value: T) => void\n /**\n * Reject the promise with a reason.\n * Will remove the `resolve` and `reject` properties from the promise.\n */\n reject: (reason: unknown) => void\n}\n\nexport type FulfilledThenable<T> = Promise<T> & Fulfilled<T>\nexport type RejectedThenable<T> = Promise<T> & Rejected\nexport type PendingThenable<T> = Promise<T> & Pending<T>\n\nexport type Thenable<T> =\n | FulfilledThenable<T>\n | RejectedThenable<T>\n | PendingThenable<T>\n\nexport function pendingThenable<T>(): PendingThenable<T> {\n let resolve: Pending<T>['resolve']\n let reject: Pending<T>['reject']\n // this could use `Promise.withResolvers()` in the future\n const thenable = new Promise((_resolve, _reject) => {\n resolve = _resolve\n reject = _reject\n }) as PendingThenable<T>\n\n thenable.status = 'pending'\n thenable.catch(() => {\n // prevent unhandled rejection errors\n })\n\n function finalize(data: Fulfilled<T> | Rejected) {\n Object.assign(thenable, data)\n\n // clear pending props props to avoid calling them twice\n delete (thenable as Partial<PendingThenable<T>>).resolve\n delete (thenable as Partial<PendingThenable<T>>).reject\n }\n\n thenable.resolve = (value) => {\n finalize({\n status: 'fulfilled',\n value,\n })\n\n resolve(value)\n }\n thenable.reject = (reason) => {\n finalize({\n status: 'rejected',\n reason,\n })\n\n reject(reason)\n }\n\n return thenable\n}\n\n/**\n * This function takes a Promise-like input and detects whether the data\n * is synchronously available or not.\n *\n * It does not inspect .status, .value or .reason properties of the promise,\n * as those are not always available, and the .status of React's promises\n * should not be considered part of the public API.\n */\nexport function tryResolveSync(promise: Promise<unknown> | Thenable<unknown>) {\n let data: unknown\n\n promise\n .then((result) => {\n data = result\n return result\n }, noop)\n // .catch can be unavailable on certain kinds of thenable's\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n ?.catch(noop)\n\n if (data !== undefined) {\n return { data }\n }\n\n return undefined\n}\n"],"mappings":";;;AASA,SAAS,YAAY;AAkCd,SAAS,kBAAyC;AACvD,MAAI;AACJ,MAAI;AAEJ,QAAM,WAAW,IAAI,QAAQ,CAAC,UAAU,YAAY;AAClD,cAAU;AACV,aAAS;AAAA,EACX,CAAC;AAED,WAAS,SAAS;AAClB,WAAS,MAAM,MAAM;AAAA,EAErB,CAAC;AAED,WAAS,SAAS,MAA+B;AAC/C,WAAO,OAAO,UAAU,IAAI;AAG5B,WAAQ,SAAyC;AACjD,WAAQ,SAAyC;AAAA,EACnD;AAEA,WAAS,UAAU,CAAC,UAAU;AAC5B,aAAS;AAAA,MACP,QAAQ;AAAA,MACR;AAAA,IACF,CAAC;AAED,YAAQ,KAAK;AAAA,EACf;AACA,WAAS,SAAS,CAAC,WAAW;AAC5B,aAAS;AAAA,MACP,QAAQ;AAAA,MACR;AAAA,IACF,CAAC;AAED,WAAO,MAAM;AAAA,EACf;AAEA,SAAO;AACT;AAUO,SAAS,eAAe,SAA+C;AA7F9E;AA8FE,MAAI;AAEJ,gBACG,KAAK,CAAC,WAAW;AAChB,WAAO;AACP,WAAO;AAAA,EACT,GAAG,IAAI,MAJT,mBAOI,MAAM;AAEV,MAAI,SAAS,QAAW;AACtB,WAAO,EAAE,KAAK;AAAA,EAChB;AAEA,SAAO;AACT;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/timeoutManager.ts"],"sourcesContent":["/**\n * {@link TimeoutManager} does not support passing arguments to the callback.\n *\n * `(_: void)` is the argument type inferred by TypeScript's default typings for\n * `setTimeout(cb, number)`.\n * If we don't accept a single void argument, then\n * `new Promise(resolve => timeoutManager.setTimeout(resolve, N))` is a type error.\n */\nexport type TimeoutCallback = (_: void) => void\n\n/**\n * Wrapping `setTimeout` is awkward from a typing perspective because platform\n * typings may extend the return type of `setTimeout`. For example, NodeJS\n * typings add `NodeJS.Timeout`; but a non-default `timeoutManager` may not be\n * able to return such a type.\n */\nexport type ManagedTimerId = number | { [Symbol.toPrimitive]: () => number }\n\n/**\n * Backend for timer functions.\n */\nexport type TimeoutProvider<TTimerId extends ManagedTimerId = ManagedTimerId> =\n {\n readonly setTimeout: (callback: TimeoutCallback, delay: number) => TTimerId\n readonly clearTimeout: (timeoutId: TTimerId | undefined) => void\n\n readonly setInterval: (callback: TimeoutCallback, delay: number) => TTimerId\n readonly clearInterval: (intervalId: TTimerId | undefined) => void\n }\n\nexport const defaultTimeoutProvider: TimeoutProvider<\n ReturnType<typeof setTimeout>\n> = {\n // We need the wrapper function syntax below instead of direct references to\n // global setTimeout etc.\n //\n // BAD: `setTimeout: setTimeout`\n // GOOD: `setTimeout: (cb, delay) => setTimeout(cb, delay)`\n //\n // If we use direct references here, then anything that wants to spy on or\n // replace the global setTimeout (like tests) won't work since we'll already\n // have a hard reference to the original implementation at the time when this\n // file was imported.\n setTimeout: (callback, delay) => setTimeout(callback, delay),\n clearTimeout: (timeoutId) => clearTimeout(timeoutId),\n\n setInterval: (callback, delay) => setInterval(callback, delay),\n clearInterval: (intervalId) => clearInterval(intervalId),\n}\n\n/**\n * Allows customization of how timeouts are created.\n *\n * @tanstack/query-core makes liberal use of timeouts to implement `staleTime`\n * and `gcTime`. The default TimeoutManager provider uses the platform's global\n * `setTimeout` implementation, which is known to have scalability issues with\n * thousands of timeouts on the event loop.\n *\n * If you hit this limitation, consider providing a custom TimeoutProvider that\n * coalesces timeouts.\n */\nexport class TimeoutManager implements Omit<TimeoutProvider, 'name'> {\n // We cannot have TimeoutManager<T> as we must instantiate it with a concrete\n // type at app boot; and if we leave that type, then any new timer provider\n // would need to support ReturnType<typeof setTimeout>, which is infeasible.\n //\n // We settle for type safety for the TimeoutProvider type, and accept that\n // this class is unsafe internally to allow for extension.\n #provider: TimeoutProvider<any> = defaultTimeoutProvider\n #providerCalled = false\n\n setTimeoutProvider<TTimerId extends ManagedTimerId>(\n provider: TimeoutProvider<TTimerId>,\n ): void {\n if (process.env.NODE_ENV !== 'production') {\n if (this.#providerCalled && provider !== this.#provider) {\n // After changing providers, `clearTimeout` will not work as expected for\n // timeouts from the previous provider.\n //\n // Since they may allocate the same timeout ID, clearTimeout may cancel an\n // arbitrary different timeout, or unexpected no-op.\n //\n // We could protect against this by mixing the timeout ID bits\n // deterministically with some per-provider bits.\n //\n // We could internally queue `setTimeout` calls to `TimeoutManager` until\n // some API call to set the initial provider.\n console.error(\n `[timeoutManager]: Switching provider after calls to previous provider might result in unexpected behavior.`,\n { previous: this.#provider, provider },\n )\n }\n }\n\n this.#provider = provider\n if (process.env.NODE_ENV !== 'production') {\n this.#providerCalled = false\n }\n }\n\n setTimeout(callback: TimeoutCallback, delay: number): ManagedTimerId {\n if (process.env.NODE_ENV !== 'production') {\n this.#providerCalled = true\n }\n return this.#provider.setTimeout(callback, delay)\n }\n\n clearTimeout(timeoutId: ManagedTimerId | undefined): void {\n this.#provider.clearTimeout(timeoutId)\n }\n\n setInterval(callback: TimeoutCallback, delay: number): ManagedTimerId {\n if (process.env.NODE_ENV !== 'production') {\n this.#providerCalled = true\n }\n return this.#provider.setInterval(callback, delay)\n }\n\n clearInterval(intervalId: ManagedTimerId | undefined): void {\n this.#provider.clearInterval(intervalId)\n }\n}\n\nexport const timeoutManager = new TimeoutManager()\n\n/**\n * In many cases code wants to delay to the next event loop tick; this is not\n * mediated by {@link timeoutManager}.\n *\n * This function is provided to make auditing the `tanstack/query-core` for\n * incorrect use of system `setTimeout` easier.\n */\nexport function systemSetTimeoutZero(callback: TimeoutCallback): void {\n setTimeout(callback, 0)\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA8BO,IAAM,yBAET;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAWF,YAAY,CAAC,UAAU,UAAU,WAAW,UAAU,KAAK;AAAA,EAC3D,cAAc,CAAC,cAAc,aAAa,SAAS;AAAA,EAEnD,aAAa,CAAC,UAAU,UAAU,YAAY,UAAU,KAAK;AAAA,EAC7D,eAAe,CAAC,eAAe,cAAc,UAAU;AACzD;AAhDA;AA6DO,IAAM,iBAAN,MAA8D;AAAA,EAA9D;AAOL;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kCAAkC;AAClC,wCAAkB;AAAA;AAAA,EAElB,mBACE,UACM;AACN,QAAI,QAAQ,IAAI,aAAa,cAAc;AACzC,UAAI,mBAAK,oBAAmB,aAAa,mBAAK,YAAW;AAYvD,gBAAQ;AAAA,UACN;AAAA,UACA,EAAE,UAAU,mBAAK,YAAW,SAAS;AAAA,QACvC;AAAA,MACF;AAAA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