@vibedeckx/win32-x64 0.1.16 → 0.1.19
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/process-manager.d.ts +1 -1
- package/dist/process-manager.js +111 -38
- package/dist/routes/terminal-routes.js +7 -0
- package/dist/routes/websocket-routes.js +6 -0
- package/dist/ui/404/index.html +1 -1
- package/dist/ui/404.html +1 -1
- package/dist/ui/__next.__PAGE__.txt +2 -2
- package/dist/ui/__next._full.txt +2 -2
- 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/_next/static/chunks/{d272cd438400a22c.js → 869e15bfcbb5dbd1.js} +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 +2 -2
- package/node_modules/node-pty/build/Release/conpty/OpenConsole.exe +0 -0
- package/node_modules/node-pty/build/Release/conpty/conpty.dll +0 -0
- package/node_modules/node-pty/lib/conpty_console_list_agent.js +10 -1
- package/node_modules/node-pty/lib/unixTerminal.js +6 -3
- package/node_modules/node-pty/lib/utils.js +1 -1
- package/node_modules/node-pty/lib/windowsPtyAgent.js +62 -95
- package/node_modules/node-pty/lib/windowsTerminal.js +4 -2
- package/node_modules/node-pty/package.json +6 -5
- package/node_modules/node-pty/prebuilds/win32-x64/conpty/OpenConsole.exe +0 -0
- package/node_modules/node-pty/prebuilds/win32-x64/conpty/conpty.dll +0 -0
- package/node_modules/node-pty/prebuilds/win32-x64/conpty.node +0 -0
- package/node_modules/node-pty/prebuilds/win32-x64/conpty.pdb +0 -0
- package/node_modules/node-pty/prebuilds/win32-x64/conpty_console_list.node +0 -0
- package/node_modules/node-pty/prebuilds/win32-x64/conpty_console_list.pdb +0 -0
- package/package.json +2 -2
- package/node_modules/@ai-sdk/deepseek/dist/index.d.mts +0 -68
- package/node_modules/@ai-sdk/deepseek/dist/index.d.ts +0 -68
- package/node_modules/@ai-sdk/deepseek/dist/index.js.map +0 -1
- package/node_modules/@ai-sdk/deepseek/dist/index.mjs.map +0 -1
- package/node_modules/@ai-sdk/deepseek/src/chat/convert-to-deepseek-chat-messages.ts +0 -177
- package/node_modules/@ai-sdk/deepseek/src/chat/convert-to-deepseek-usage.ts +0 -56
- package/node_modules/@ai-sdk/deepseek/src/chat/deepseek-chat-api-types.ts +0 -157
- package/node_modules/@ai-sdk/deepseek/src/chat/deepseek-chat-language-model.ts +0 -534
- package/node_modules/@ai-sdk/deepseek/src/chat/deepseek-chat-options.ts +0 -22
- package/node_modules/@ai-sdk/deepseek/src/chat/deepseek-prepare-tools.ts +0 -82
- package/node_modules/@ai-sdk/deepseek/src/chat/get-response-metadata.ts +0 -15
- package/node_modules/@ai-sdk/deepseek/src/chat/map-deepseek-finish-reason.ts +0 -20
- package/node_modules/@ai-sdk/deepseek/src/deepseek-provider.ts +0 -108
- package/node_modules/@ai-sdk/deepseek/src/index.ts +0 -12
- package/node_modules/@ai-sdk/deepseek/src/version.ts +0 -6
- package/node_modules/@ai-sdk/gateway/dist/index.d.mts +0 -713
- package/node_modules/@ai-sdk/gateway/dist/index.d.ts +0 -713
- package/node_modules/@ai-sdk/gateway/dist/index.js.map +0 -1
- package/node_modules/@ai-sdk/gateway/dist/index.mjs.map +0 -1
- package/node_modules/@ai-sdk/gateway/src/errors/as-gateway-error.ts +0 -74
- package/node_modules/@ai-sdk/gateway/src/errors/create-gateway-error.ts +0 -132
- package/node_modules/@ai-sdk/gateway/src/errors/extract-api-call-response.ts +0 -15
- package/node_modules/@ai-sdk/gateway/src/errors/gateway-authentication-error.ts +0 -84
- package/node_modules/@ai-sdk/gateway/src/errors/gateway-error.ts +0 -47
- package/node_modules/@ai-sdk/gateway/src/errors/gateway-internal-server-error.ts +0 -33
- package/node_modules/@ai-sdk/gateway/src/errors/gateway-invalid-request-error.ts +0 -33
- package/node_modules/@ai-sdk/gateway/src/errors/gateway-model-not-found-error.ts +0 -47
- package/node_modules/@ai-sdk/gateway/src/errors/gateway-rate-limit-error.ts +0 -33
- package/node_modules/@ai-sdk/gateway/src/errors/gateway-response-error.ts +0 -42
- package/node_modules/@ai-sdk/gateway/src/errors/gateway-timeout-error.ts +0 -59
- package/node_modules/@ai-sdk/gateway/src/errors/index.ts +0 -17
- package/node_modules/@ai-sdk/gateway/src/errors/parse-auth-method.ts +0 -23
- package/node_modules/@ai-sdk/gateway/src/gateway-config.ts +0 -7
- package/node_modules/@ai-sdk/gateway/src/gateway-embedding-model-settings.ts +0 -26
- package/node_modules/@ai-sdk/gateway/src/gateway-embedding-model.ts +0 -109
- package/node_modules/@ai-sdk/gateway/src/gateway-fetch-metadata.ts +0 -129
- package/node_modules/@ai-sdk/gateway/src/gateway-generation-info.ts +0 -147
- package/node_modules/@ai-sdk/gateway/src/gateway-image-model-settings.ts +0 -25
- package/node_modules/@ai-sdk/gateway/src/gateway-image-model.ts +0 -169
- package/node_modules/@ai-sdk/gateway/src/gateway-language-model-settings.ts +0 -190
- package/node_modules/@ai-sdk/gateway/src/gateway-language-model.ts +0 -212
- package/node_modules/@ai-sdk/gateway/src/gateway-model-entry.ts +0 -58
- package/node_modules/@ai-sdk/gateway/src/gateway-provider-options.ts +0 -90
- package/node_modules/@ai-sdk/gateway/src/gateway-provider.ts +0 -387
- package/node_modules/@ai-sdk/gateway/src/gateway-spend-report.ts +0 -191
- package/node_modules/@ai-sdk/gateway/src/gateway-tools.ts +0 -26
- package/node_modules/@ai-sdk/gateway/src/gateway-video-model-settings.ts +0 -25
- package/node_modules/@ai-sdk/gateway/src/gateway-video-model.ts +0 -259
- package/node_modules/@ai-sdk/gateway/src/index.ts +0 -41
- package/node_modules/@ai-sdk/gateway/src/tool/parallel-search.ts +0 -295
- package/node_modules/@ai-sdk/gateway/src/tool/perplexity-search.ts +0 -294
- package/node_modules/@ai-sdk/gateway/src/vercel-environment.ts +0 -6
- package/node_modules/@ai-sdk/gateway/src/version.ts +0 -6
- package/node_modules/@ai-sdk/provider/dist/index.d.mts +0 -4030
- package/node_modules/@ai-sdk/provider/dist/index.d.ts +0 -4030
- package/node_modules/@ai-sdk/provider/dist/index.js.map +0 -1
- package/node_modules/@ai-sdk/provider/dist/index.mjs.map +0 -1
- package/node_modules/@ai-sdk/provider/src/embedding-model/index.ts +0 -2
- package/node_modules/@ai-sdk/provider/src/embedding-model/v2/embedding-model-v2-embedding.ts +0 -5
- package/node_modules/@ai-sdk/provider/src/embedding-model/v2/embedding-model-v2.ts +0 -113
- package/node_modules/@ai-sdk/provider/src/embedding-model/v2/index.ts +0 -2
- package/node_modules/@ai-sdk/provider/src/embedding-model/v3/embedding-model-v3-call-options.ts +0 -26
- package/node_modules/@ai-sdk/provider/src/embedding-model/v3/embedding-model-v3-embedding.ts +0 -5
- package/node_modules/@ai-sdk/provider/src/embedding-model/v3/embedding-model-v3-result.ts +0 -48
- package/node_modules/@ai-sdk/provider/src/embedding-model/v3/embedding-model-v3.ts +0 -54
- package/node_modules/@ai-sdk/provider/src/embedding-model/v3/index.ts +0 -4
- package/node_modules/@ai-sdk/provider/src/embedding-model-middleware/index.ts +0 -1
- package/node_modules/@ai-sdk/provider/src/embedding-model-middleware/v3/embedding-model-v3-middleware.ts +0 -69
- package/node_modules/@ai-sdk/provider/src/embedding-model-middleware/v3/index.ts +0 -1
- package/node_modules/@ai-sdk/provider/src/errors/ai-sdk-error.ts +0 -62
- package/node_modules/@ai-sdk/provider/src/errors/api-call-error.ts +0 -59
- package/node_modules/@ai-sdk/provider/src/errors/empty-response-body-error.ts +0 -17
- package/node_modules/@ai-sdk/provider/src/errors/get-error-message.ts +0 -15
- package/node_modules/@ai-sdk/provider/src/errors/index.ts +0 -16
- package/node_modules/@ai-sdk/provider/src/errors/invalid-argument-error.ts +0 -32
- package/node_modules/@ai-sdk/provider/src/errors/invalid-prompt-error.ts +0 -33
- package/node_modules/@ai-sdk/provider/src/errors/invalid-response-data-error.ts +0 -31
- package/node_modules/@ai-sdk/provider/src/errors/json-parse-error.ts +0 -29
- package/node_modules/@ai-sdk/provider/src/errors/load-api-key-error.ts +0 -17
- package/node_modules/@ai-sdk/provider/src/errors/load-setting-error.ts +0 -17
- package/node_modules/@ai-sdk/provider/src/errors/no-content-generated-error.ts +0 -22
- package/node_modules/@ai-sdk/provider/src/errors/no-such-model-error.ts +0 -47
- package/node_modules/@ai-sdk/provider/src/errors/too-many-embedding-values-for-call-error.ts +0 -40
- package/node_modules/@ai-sdk/provider/src/errors/type-validation-error.ts +0 -108
- package/node_modules/@ai-sdk/provider/src/errors/unsupported-functionality-error.ts +0 -26
- package/node_modules/@ai-sdk/provider/src/image-model/index.ts +0 -2
- package/node_modules/@ai-sdk/provider/src/image-model/v2/image-model-v2-call-options.ts +0 -60
- package/node_modules/@ai-sdk/provider/src/image-model/v2/image-model-v2-call-warning.ts +0 -16
- package/node_modules/@ai-sdk/provider/src/image-model/v2/image-model-v2.ts +0 -104
- package/node_modules/@ai-sdk/provider/src/image-model/v2/index.ts +0 -6
- package/node_modules/@ai-sdk/provider/src/image-model/v3/image-model-v3-call-options.ts +0 -74
- package/node_modules/@ai-sdk/provider/src/image-model/v3/image-model-v3-file.ts +0 -44
- package/node_modules/@ai-sdk/provider/src/image-model/v3/image-model-v3-usage.ts +0 -19
- package/node_modules/@ai-sdk/provider/src/image-model/v3/image-model-v3.ts +0 -110
- package/node_modules/@ai-sdk/provider/src/image-model/v3/index.ts +0 -7
- package/node_modules/@ai-sdk/provider/src/image-model-middleware/index.ts +0 -1
- package/node_modules/@ai-sdk/provider/src/image-model-middleware/v3/image-model-v3-middleware.ts +0 -61
- package/node_modules/@ai-sdk/provider/src/image-model-middleware/v3/index.ts +0 -1
- package/node_modules/@ai-sdk/provider/src/index.ts +0 -16
- package/node_modules/@ai-sdk/provider/src/json-value/index.ts +0 -2
- package/node_modules/@ai-sdk/provider/src/json-value/is-json.ts +0 -40
- package/node_modules/@ai-sdk/provider/src/json-value/json-value.ts +0 -17
- package/node_modules/@ai-sdk/provider/src/language-model/index.ts +0 -2
- package/node_modules/@ai-sdk/provider/src/language-model/v2/index.ts +0 -18
- package/node_modules/@ai-sdk/provider/src/language-model/v2/language-model-v2-call-options.ts +0 -127
- package/node_modules/@ai-sdk/provider/src/language-model/v2/language-model-v2-call-warning.ts +0 -23
- package/node_modules/@ai-sdk/provider/src/language-model/v2/language-model-v2-content.ts +0 -14
- package/node_modules/@ai-sdk/provider/src/language-model/v2/language-model-v2-data-content.ts +0 -4
- package/node_modules/@ai-sdk/provider/src/language-model/v2/language-model-v2-file.ts +0 -25
- package/node_modules/@ai-sdk/provider/src/language-model/v2/language-model-v2-finish-reason.ts +0 -20
- package/node_modules/@ai-sdk/provider/src/language-model/v2/language-model-v2-function-tool.ts +0 -37
- package/node_modules/@ai-sdk/provider/src/language-model/v2/language-model-v2-prompt.ts +0 -218
- package/node_modules/@ai-sdk/provider/src/language-model/v2/language-model-v2-provider-defined-tool.ts +0 -24
- package/node_modules/@ai-sdk/provider/src/language-model/v2/language-model-v2-reasoning.ts +0 -14
- package/node_modules/@ai-sdk/provider/src/language-model/v2/language-model-v2-response-metadata.ts +0 -16
- package/node_modules/@ai-sdk/provider/src/language-model/v2/language-model-v2-source.ts +0 -67
- package/node_modules/@ai-sdk/provider/src/language-model/v2/language-model-v2-stream-part.ts +0 -102
- package/node_modules/@ai-sdk/provider/src/language-model/v2/language-model-v2-text.ts +0 -15
- package/node_modules/@ai-sdk/provider/src/language-model/v2/language-model-v2-tool-call.ts +0 -35
- package/node_modules/@ai-sdk/provider/src/language-model/v2/language-model-v2-tool-choice.ts +0 -5
- package/node_modules/@ai-sdk/provider/src/language-model/v2/language-model-v2-tool-result.ts +0 -40
- package/node_modules/@ai-sdk/provider/src/language-model/v2/language-model-v2-usage.ts +0 -34
- package/node_modules/@ai-sdk/provider/src/language-model/v2/language-model-v2.ts +0 -137
- package/node_modules/@ai-sdk/provider/src/language-model/v3/index.ts +0 -21
- package/node_modules/@ai-sdk/provider/src/language-model/v3/language-model-v3-call-options.ts +0 -125
- package/node_modules/@ai-sdk/provider/src/language-model/v3/language-model-v3-content.ts +0 -16
- package/node_modules/@ai-sdk/provider/src/language-model/v3/language-model-v3-data-content.ts +0 -4
- package/node_modules/@ai-sdk/provider/src/language-model/v3/language-model-v3-file.ts +0 -32
- package/node_modules/@ai-sdk/provider/src/language-model/v3/language-model-v3-finish-reason.ts +0 -33
- package/node_modules/@ai-sdk/provider/src/language-model/v3/language-model-v3-function-tool.ts +0 -53
- package/node_modules/@ai-sdk/provider/src/language-model/v3/language-model-v3-generate-result.ts +0 -63
- package/node_modules/@ai-sdk/provider/src/language-model/v3/language-model-v3-prompt.ts +0 -422
- package/node_modules/@ai-sdk/provider/src/language-model/v3/language-model-v3-provider-tool.ts +0 -28
- package/node_modules/@ai-sdk/provider/src/language-model/v3/language-model-v3-reasoning.ts +0 -14
- package/node_modules/@ai-sdk/provider/src/language-model/v3/language-model-v3-response-metadata.ts +0 -16
- package/node_modules/@ai-sdk/provider/src/language-model/v3/language-model-v3-source.ts +0 -67
- package/node_modules/@ai-sdk/provider/src/language-model/v3/language-model-v3-stream-part.ts +0 -106
- package/node_modules/@ai-sdk/provider/src/language-model/v3/language-model-v3-stream-result.ts +0 -32
- package/node_modules/@ai-sdk/provider/src/language-model/v3/language-model-v3-text.ts +0 -15
- package/node_modules/@ai-sdk/provider/src/language-model/v3/language-model-v3-tool-approval-request.ts +0 -27
- package/node_modules/@ai-sdk/provider/src/language-model/v3/language-model-v3-tool-call.ts +0 -41
- package/node_modules/@ai-sdk/provider/src/language-model/v3/language-model-v3-tool-choice.ts +0 -5
- package/node_modules/@ai-sdk/provider/src/language-model/v3/language-model-v3-tool-result.ts +0 -51
- package/node_modules/@ai-sdk/provider/src/language-model/v3/language-model-v3-usage.ts +0 -59
- package/node_modules/@ai-sdk/provider/src/language-model/v3/language-model-v3.ts +0 -61
- package/node_modules/@ai-sdk/provider/src/language-model-middleware/index.ts +0 -2
- package/node_modules/@ai-sdk/provider/src/language-model-middleware/v2/index.ts +0 -1
- package/node_modules/@ai-sdk/provider/src/language-model-middleware/v2/language-model-v2-middleware.ts +0 -82
- package/node_modules/@ai-sdk/provider/src/language-model-middleware/v3/index.ts +0 -1
- package/node_modules/@ai-sdk/provider/src/language-model-middleware/v3/language-model-v3-middleware.ts +0 -84
- package/node_modules/@ai-sdk/provider/src/provider/index.ts +0 -2
- package/node_modules/@ai-sdk/provider/src/provider/v2/index.ts +0 -1
- package/node_modules/@ai-sdk/provider/src/provider/v2/provider-v2.ts +0 -64
- package/node_modules/@ai-sdk/provider/src/provider/v3/index.ts +0 -1
- package/node_modules/@ai-sdk/provider/src/provider/v3/provider-v3.ts +0 -93
- package/node_modules/@ai-sdk/provider/src/reranking-model/index.ts +0 -1
- package/node_modules/@ai-sdk/provider/src/reranking-model/v3/index.ts +0 -2
- package/node_modules/@ai-sdk/provider/src/reranking-model/v3/reranking-model-v3-call-options.ts +0 -40
- package/node_modules/@ai-sdk/provider/src/reranking-model/v3/reranking-model-v3.ts +0 -90
- package/node_modules/@ai-sdk/provider/src/shared/index.ts +0 -2
- package/node_modules/@ai-sdk/provider/src/shared/v2/index.ts +0 -3
- package/node_modules/@ai-sdk/provider/src/shared/v2/shared-v2-headers.ts +0 -1
- package/node_modules/@ai-sdk/provider/src/shared/v2/shared-v2-provider-metadata.ts +0 -27
- package/node_modules/@ai-sdk/provider/src/shared/v2/shared-v2-provider-options.ts +0 -24
- package/node_modules/@ai-sdk/provider/src/shared/v3/index.ts +0 -4
- package/node_modules/@ai-sdk/provider/src/shared/v3/shared-v3-headers.ts +0 -1
- package/node_modules/@ai-sdk/provider/src/shared/v3/shared-v3-provider-metadata.ts +0 -24
- package/node_modules/@ai-sdk/provider/src/shared/v3/shared-v3-provider-options.ts +0 -24
- package/node_modules/@ai-sdk/provider/src/shared/v3/shared-v3-warning.ts +0 -50
- package/node_modules/@ai-sdk/provider/src/speech-model/index.ts +0 -2
- package/node_modules/@ai-sdk/provider/src/speech-model/v2/index.ts +0 -3
- package/node_modules/@ai-sdk/provider/src/speech-model/v2/speech-model-v2-call-options.ts +0 -62
- package/node_modules/@ai-sdk/provider/src/speech-model/v2/speech-model-v2-call-warning.ts +0 -16
- package/node_modules/@ai-sdk/provider/src/speech-model/v2/speech-model-v2.ts +0 -89
- package/node_modules/@ai-sdk/provider/src/speech-model/v3/index.ts +0 -2
- package/node_modules/@ai-sdk/provider/src/speech-model/v3/speech-model-v3-call-options.ts +0 -62
- package/node_modules/@ai-sdk/provider/src/speech-model/v3/speech-model-v3.ts +0 -89
- package/node_modules/@ai-sdk/provider/src/transcription-model/index.ts +0 -2
- package/node_modules/@ai-sdk/provider/src/transcription-model/v2/index.ts +0 -3
- package/node_modules/@ai-sdk/provider/src/transcription-model/v2/transcription-model-v2-call-options.ts +0 -48
- package/node_modules/@ai-sdk/provider/src/transcription-model/v2/transcription-model-v2-call-warning.ts +0 -16
- package/node_modules/@ai-sdk/provider/src/transcription-model/v2/transcription-model-v2.ts +0 -117
- package/node_modules/@ai-sdk/provider/src/transcription-model/v3/index.ts +0 -2
- package/node_modules/@ai-sdk/provider/src/transcription-model/v3/transcription-model-v3-call-options.ts +0 -45
- package/node_modules/@ai-sdk/provider/src/transcription-model/v3/transcription-model-v3.ts +0 -117
- package/node_modules/@ai-sdk/provider/src/video-model/index.ts +0 -1
- package/node_modules/@ai-sdk/provider/src/video-model/v3/index.ts +0 -6
- package/node_modules/@ai-sdk/provider/src/video-model/v3/video-model-v3-call-options.ts +0 -81
- package/node_modules/@ai-sdk/provider/src/video-model/v3/video-model-v3-file.ts +0 -40
- package/node_modules/@ai-sdk/provider/src/video-model/v3/video-model-v3.ts +0 -132
- package/node_modules/@ai-sdk/provider-utils/dist/index.d.mts +0 -1433
- package/node_modules/@ai-sdk/provider-utils/dist/index.d.ts +0 -1433
- package/node_modules/@ai-sdk/provider-utils/dist/index.js.map +0 -1
- package/node_modules/@ai-sdk/provider-utils/dist/index.mjs.map +0 -1
- package/node_modules/@ai-sdk/provider-utils/src/add-additional-properties-to-json-schema.ts +0 -53
- package/node_modules/@ai-sdk/provider-utils/src/combine-headers.ts +0 -11
- package/node_modules/@ai-sdk/provider-utils/src/convert-async-iterator-to-readable-stream.ts +0 -47
- package/node_modules/@ai-sdk/provider-utils/src/convert-image-model-file-to-data-uri.ts +0 -19
- package/node_modules/@ai-sdk/provider-utils/src/convert-to-form-data.ts +0 -61
- package/node_modules/@ai-sdk/provider-utils/src/create-tool-name-mapping.ts +0 -82
- package/node_modules/@ai-sdk/provider-utils/src/delay.ts +0 -47
- package/node_modules/@ai-sdk/provider-utils/src/delayed-promise.ts +0 -61
- package/node_modules/@ai-sdk/provider-utils/src/download-blob.ts +0 -57
- package/node_modules/@ai-sdk/provider-utils/src/download-error.ts +0 -39
- package/node_modules/@ai-sdk/provider-utils/src/extract-response-headers.ts +0 -9
- package/node_modules/@ai-sdk/provider-utils/src/fetch-function.ts +0 -4
- package/node_modules/@ai-sdk/provider-utils/src/generate-id.ts +0 -57
- package/node_modules/@ai-sdk/provider-utils/src/get-error-message.ts +0 -15
- package/node_modules/@ai-sdk/provider-utils/src/get-from-api.ts +0 -97
- package/node_modules/@ai-sdk/provider-utils/src/get-runtime-environment-user-agent.ts +0 -24
- package/node_modules/@ai-sdk/provider-utils/src/handle-fetch-error.ts +0 -72
- package/node_modules/@ai-sdk/provider-utils/src/index.ts +0 -73
- package/node_modules/@ai-sdk/provider-utils/src/inject-json-instruction.ts +0 -63
- package/node_modules/@ai-sdk/provider-utils/src/is-abort-error.ts +0 -8
- package/node_modules/@ai-sdk/provider-utils/src/is-async-iterable.ts +0 -3
- package/node_modules/@ai-sdk/provider-utils/src/is-non-nullable.ts +0 -12
- package/node_modules/@ai-sdk/provider-utils/src/is-url-supported.ts +0 -40
- package/node_modules/@ai-sdk/provider-utils/src/load-api-key.ts +0 -45
- package/node_modules/@ai-sdk/provider-utils/src/load-optional-setting.ts +0 -30
- package/node_modules/@ai-sdk/provider-utils/src/load-setting.ts +0 -62
- package/node_modules/@ai-sdk/provider-utils/src/maybe-promise-like.ts +0 -3
- package/node_modules/@ai-sdk/provider-utils/src/media-type-to-extension.ts +0 -22
- package/node_modules/@ai-sdk/provider-utils/src/normalize-headers.ts +0 -38
- package/node_modules/@ai-sdk/provider-utils/src/parse-json-event-stream.ts +0 -33
- package/node_modules/@ai-sdk/provider-utils/src/parse-json.ts +0 -122
- package/node_modules/@ai-sdk/provider-utils/src/parse-provider-options.ts +0 -32
- package/node_modules/@ai-sdk/provider-utils/src/post-to-api.ts +0 -166
- package/node_modules/@ai-sdk/provider-utils/src/provider-tool-factory.ts +0 -125
- package/node_modules/@ai-sdk/provider-utils/src/read-response-with-size-limit.ts +0 -97
- package/node_modules/@ai-sdk/provider-utils/src/remove-undefined-entries.ts +0 -12
- package/node_modules/@ai-sdk/provider-utils/src/resolve.ts +0 -17
- package/node_modules/@ai-sdk/provider-utils/src/response-handler.ts +0 -186
- package/node_modules/@ai-sdk/provider-utils/src/schema.ts +0 -267
- package/node_modules/@ai-sdk/provider-utils/src/secure-json-parse.ts +0 -96
- package/node_modules/@ai-sdk/provider-utils/src/strip-file-extension.ts +0 -13
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/get-relative-path.ts +0 -7
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/index.ts +0 -1
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/options.ts +0 -98
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/parse-def.ts +0 -109
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/parse-types.ts +0 -57
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/parsers/any.ts +0 -5
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/parsers/array.ts +0 -38
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/parsers/bigint.ts +0 -44
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/parsers/boolean.ts +0 -7
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/parsers/branded.ts +0 -7
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/parsers/catch.ts +0 -7
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/parsers/date.ts +0 -64
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/parsers/default.ts +0 -14
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/parsers/effects.ts +0 -14
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/parsers/enum.ts +0 -13
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/parsers/intersection.ts +0 -52
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/parsers/literal.ts +0 -29
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/parsers/map.ts +0 -47
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/parsers/native-enum.ts +0 -31
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/parsers/never.ts +0 -9
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/parsers/null.ts +0 -9
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/parsers/nullable.ts +0 -42
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/parsers/number.ts +0 -44
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/parsers/object.ts +0 -88
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/parsers/optional.ts +0 -23
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/parsers/pipeline.ts +0 -29
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/parsers/promise.ts +0 -11
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/parsers/readonly.ts +0 -7
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/parsers/record.ts +0 -71
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/parsers/set.ts +0 -35
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/parsers/string.ts +0 -426
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/parsers/tuple.ts +0 -61
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/parsers/undefined.ts +0 -11
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/parsers/union.ts +0 -144
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/parsers/unknown.ts +0 -7
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/refs.ts +0 -39
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/select-parser.ts +0 -115
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/zod3-to-json-schema.ts +0 -93
- package/node_modules/@ai-sdk/provider-utils/src/types/assistant-model-message.ts +0 -39
- package/node_modules/@ai-sdk/provider-utils/src/types/content-part.ts +0 -379
- package/node_modules/@ai-sdk/provider-utils/src/types/data-content.ts +0 -4
- package/node_modules/@ai-sdk/provider-utils/src/types/execute-tool.ts +0 -27
- package/node_modules/@ai-sdk/provider-utils/src/types/index.ts +0 -40
- package/node_modules/@ai-sdk/provider-utils/src/types/model-message.ts +0 -14
- package/node_modules/@ai-sdk/provider-utils/src/types/provider-options.ts +0 -9
- package/node_modules/@ai-sdk/provider-utils/src/types/system-model-message.ts +0 -20
- package/node_modules/@ai-sdk/provider-utils/src/types/tool-approval-request.ts +0 -16
- package/node_modules/@ai-sdk/provider-utils/src/types/tool-approval-response.ts +0 -27
- package/node_modules/@ai-sdk/provider-utils/src/types/tool-call.ts +0 -31
- package/node_modules/@ai-sdk/provider-utils/src/types/tool-model-message.ts +0 -23
- package/node_modules/@ai-sdk/provider-utils/src/types/tool-result.ts +0 -35
- package/node_modules/@ai-sdk/provider-utils/src/types/tool.ts +0 -324
- package/node_modules/@ai-sdk/provider-utils/src/types/user-model-message.ts +0 -22
- package/node_modules/@ai-sdk/provider-utils/src/uint8-utils.ts +0 -26
- package/node_modules/@ai-sdk/provider-utils/src/validate-download-url.ts +0 -148
- package/node_modules/@ai-sdk/provider-utils/src/validate-types.ts +0 -87
- package/node_modules/@ai-sdk/provider-utils/src/version.ts +0 -6
- package/node_modules/@ai-sdk/provider-utils/src/with-user-agent-suffix.ts +0 -27
- package/node_modules/@ai-sdk/provider-utils/src/without-trailing-slash.ts +0 -3
- package/node_modules/@clerk/backend/dist/api/endpoints/APIKeysApi.d.ts +0 -76
- package/node_modules/@clerk/backend/dist/api/endpoints/APIKeysApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/AbstractApi.d.ts +0 -7
- package/node_modules/@clerk/backend/dist/api/endpoints/AbstractApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/AccountlessApplicationsAPI.d.ts +0 -11
- package/node_modules/@clerk/backend/dist/api/endpoints/AccountlessApplicationsAPI.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/ActorTokenApi.d.ts +0 -47
- package/node_modules/@clerk/backend/dist/api/endpoints/ActorTokenApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/AgentTaskApi.d.ts +0 -47
- package/node_modules/@clerk/backend/dist/api/endpoints/AgentTaskApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/AllowlistIdentifierApi.d.ts +0 -16
- package/node_modules/@clerk/backend/dist/api/endpoints/AllowlistIdentifierApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/BetaFeaturesApi.d.ts +0 -29
- package/node_modules/@clerk/backend/dist/api/endpoints/BetaFeaturesApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/BillingApi.d.ts +0 -47
- package/node_modules/@clerk/backend/dist/api/endpoints/BillingApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/BlocklistIdentifierApi.d.ts +0 -15
- package/node_modules/@clerk/backend/dist/api/endpoints/BlocklistIdentifierApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/ClientApi.d.ts +0 -16
- package/node_modules/@clerk/backend/dist/api/endpoints/ClientApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/DomainApi.d.ts +0 -46
- package/node_modules/@clerk/backend/dist/api/endpoints/DomainApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/EmailAddressApi.d.ts +0 -20
- package/node_modules/@clerk/backend/dist/api/endpoints/EmailAddressApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/EnterpriseConnectionApi.d.ts +0 -62
- package/node_modules/@clerk/backend/dist/api/endpoints/EnterpriseConnectionApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/IdPOAuthAccessTokenApi.d.ts +0 -6
- package/node_modules/@clerk/backend/dist/api/endpoints/IdPOAuthAccessTokenApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/InstanceApi.d.ts +0 -70
- package/node_modules/@clerk/backend/dist/api/endpoints/InstanceApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/InvitationApi.d.ts +0 -50
- package/node_modules/@clerk/backend/dist/api/endpoints/InvitationApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/JwksApi.d.ts +0 -6
- package/node_modules/@clerk/backend/dist/api/endpoints/JwksApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/JwtTemplatesApi.d.ts +0 -50
- package/node_modules/@clerk/backend/dist/api/endpoints/JwtTemplatesApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/M2MTokenApi.d.ts +0 -87
- package/node_modules/@clerk/backend/dist/api/endpoints/M2MTokenApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/MachineApi.d.ts +0 -81
- package/node_modules/@clerk/backend/dist/api/endpoints/MachineApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/OAuthApplicationsApi.d.ts +0 -49
- package/node_modules/@clerk/backend/dist/api/endpoints/OAuthApplicationsApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/OrganizationApi.d.ts +0 -200
- package/node_modules/@clerk/backend/dist/api/endpoints/OrganizationApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/PhoneNumberApi.d.ts +0 -22
- package/node_modules/@clerk/backend/dist/api/endpoints/PhoneNumberApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/ProxyCheckApi.d.ts +0 -11
- package/node_modules/@clerk/backend/dist/api/endpoints/ProxyCheckApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/RedirectUrlApi.d.ts +0 -14
- package/node_modules/@clerk/backend/dist/api/endpoints/RedirectUrlApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/SamlConnectionApi.d.ts +0 -69
- package/node_modules/@clerk/backend/dist/api/endpoints/SamlConnectionApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/SessionApi.d.ts +0 -52
- package/node_modules/@clerk/backend/dist/api/endpoints/SessionApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/SignInTokenApi.d.ts +0 -12
- package/node_modules/@clerk/backend/dist/api/endpoints/SignInTokenApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/SignUpApi.d.ts +0 -13
- package/node_modules/@clerk/backend/dist/api/endpoints/SignUpApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/TestingTokenApi.d.ts +0 -6
- package/node_modules/@clerk/backend/dist/api/endpoints/TestingTokenApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/UserApi.d.ts +0 -178
- package/node_modules/@clerk/backend/dist/api/endpoints/UserApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/WaitlistEntryApi.d.ts +0 -61
- package/node_modules/@clerk/backend/dist/api/endpoints/WaitlistEntryApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/WebhookApi.d.ts +0 -8
- package/node_modules/@clerk/backend/dist/api/endpoints/WebhookApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/index.d.ts +0 -33
- package/node_modules/@clerk/backend/dist/api/endpoints/index.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/util-types.d.ts +0 -2
- package/node_modules/@clerk/backend/dist/api/endpoints/util-types.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/factory.d.ts +0 -51
- package/node_modules/@clerk/backend/dist/api/factory.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/index.d.ts +0 -3
- package/node_modules/@clerk/backend/dist/api/index.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/request.d.ts +0 -76
- package/node_modules/@clerk/backend/dist/api/request.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/APIKey.d.ts +0 -137
- package/node_modules/@clerk/backend/dist/api/resources/APIKey.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/AccountlessApplication.d.ts +0 -10
- package/node_modules/@clerk/backend/dist/api/resources/AccountlessApplication.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/ActorToken.d.ts +0 -15
- package/node_modules/@clerk/backend/dist/api/resources/ActorToken.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/AgentTask.d.ts +0 -42
- package/node_modules/@clerk/backend/dist/api/resources/AgentTask.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/AllowlistIdentifier.d.ts +0 -66
- package/node_modules/@clerk/backend/dist/api/resources/AllowlistIdentifier.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/BlocklistIdentifier.d.ts +0 -13
- package/node_modules/@clerk/backend/dist/api/resources/BlocklistIdentifier.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/Client.d.ts +0 -83
- package/node_modules/@clerk/backend/dist/api/resources/Client.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/CnameTarget.d.ts +0 -9
- package/node_modules/@clerk/backend/dist/api/resources/CnameTarget.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/CommercePlan.d.ts +0 -141
- package/node_modules/@clerk/backend/dist/api/resources/CommercePlan.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/CommerceSubscription.d.ts +0 -99
- package/node_modules/@clerk/backend/dist/api/resources/CommerceSubscription.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/CommerceSubscriptionItem.d.ts +0 -167
- package/node_modules/@clerk/backend/dist/api/resources/CommerceSubscriptionItem.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/Cookies.d.ts +0 -7
- package/node_modules/@clerk/backend/dist/api/resources/Cookies.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/DeletedObject.d.ts +0 -10
- package/node_modules/@clerk/backend/dist/api/resources/DeletedObject.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/Deserializer.d.ts +0 -26
- package/node_modules/@clerk/backend/dist/api/resources/Deserializer.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/Domain.d.ts +0 -15
- package/node_modules/@clerk/backend/dist/api/resources/Domain.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/Email.d.ts +0 -17
- package/node_modules/@clerk/backend/dist/api/resources/Email.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/EmailAddress.d.ts +0 -47
- package/node_modules/@clerk/backend/dist/api/resources/EmailAddress.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/EnterpriseAccount.d.ts +0 -225
- package/node_modules/@clerk/backend/dist/api/resources/EnterpriseAccount.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/EnterpriseConnection.d.ts +0 -89
- package/node_modules/@clerk/backend/dist/api/resources/EnterpriseConnection.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/Enums.d.ts +0 -42
- package/node_modules/@clerk/backend/dist/api/resources/Enums.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/ExternalAccount.d.ts +0 -134
- package/node_modules/@clerk/backend/dist/api/resources/ExternalAccount.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/Feature.d.ts +0 -51
- package/node_modules/@clerk/backend/dist/api/resources/Feature.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/HandshakePayload.d.ts +0 -9
- package/node_modules/@clerk/backend/dist/api/resources/HandshakePayload.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/IdPOAuthAccessToken.d.ts +0 -23
- package/node_modules/@clerk/backend/dist/api/resources/IdPOAuthAccessToken.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/IdentificationLink.d.ts +0 -25
- package/node_modules/@clerk/backend/dist/api/resources/IdentificationLink.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/Instance.d.ts +0 -9
- package/node_modules/@clerk/backend/dist/api/resources/Instance.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/InstanceRestrictions.d.ts +0 -11
- package/node_modules/@clerk/backend/dist/api/resources/InstanceRestrictions.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/InstanceSettings.d.ts +0 -11
- package/node_modules/@clerk/backend/dist/api/resources/InstanceSettings.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/Invitation.d.ts +0 -76
- package/node_modules/@clerk/backend/dist/api/resources/Invitation.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/JSON.d.ts +0 -971
- package/node_modules/@clerk/backend/dist/api/resources/JSON.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/JwtTemplate.d.ts +0 -15
- package/node_modules/@clerk/backend/dist/api/resources/JwtTemplate.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/M2MToken.d.ts +0 -31
- package/node_modules/@clerk/backend/dist/api/resources/M2MToken.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/Machine.d.ts +0 -17
- package/node_modules/@clerk/backend/dist/api/resources/Machine.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/MachineScope.d.ts +0 -13
- package/node_modules/@clerk/backend/dist/api/resources/MachineScope.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/MachineSecretKey.d.ts +0 -10
- package/node_modules/@clerk/backend/dist/api/resources/MachineSecretKey.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/OAuthApplication.d.ts +0 -169
- package/node_modules/@clerk/backend/dist/api/resources/OAuthApplication.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/OauthAccessToken.d.ts +0 -83
- package/node_modules/@clerk/backend/dist/api/resources/OauthAccessToken.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/Organization.d.ts +0 -115
- package/node_modules/@clerk/backend/dist/api/resources/Organization.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/OrganizationDomain.d.ts +0 -18
- package/node_modules/@clerk/backend/dist/api/resources/OrganizationDomain.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/OrganizationInvitation.d.ts +0 -116
- package/node_modules/@clerk/backend/dist/api/resources/OrganizationInvitation.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/OrganizationMembership.d.ts +0 -140
- package/node_modules/@clerk/backend/dist/api/resources/OrganizationMembership.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/OrganizationSettings.d.ts +0 -17
- package/node_modules/@clerk/backend/dist/api/resources/OrganizationSettings.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/PhoneNumber.d.ts +0 -63
- package/node_modules/@clerk/backend/dist/api/resources/PhoneNumber.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/ProxyCheck.d.ts +0 -13
- package/node_modules/@clerk/backend/dist/api/resources/ProxyCheck.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/RedirectUrl.d.ts +0 -47
- package/node_modules/@clerk/backend/dist/api/resources/RedirectUrl.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/SMSMessage.d.ts +0 -13
- package/node_modules/@clerk/backend/dist/api/resources/SMSMessage.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/SamlConnection.d.ts +0 -215
- package/node_modules/@clerk/backend/dist/api/resources/SamlConnection.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/Session.d.ts +0 -176
- package/node_modules/@clerk/backend/dist/api/resources/Session.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/SignInTokens.d.ts +0 -13
- package/node_modules/@clerk/backend/dist/api/resources/SignInTokens.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/SignUpAttempt.d.ts +0 -44
- package/node_modules/@clerk/backend/dist/api/resources/SignUpAttempt.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/TestingToken.d.ts +0 -8
- package/node_modules/@clerk/backend/dist/api/resources/TestingToken.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/Token.d.ts +0 -7
- package/node_modules/@clerk/backend/dist/api/resources/Token.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/User.d.ts +0 -296
- package/node_modules/@clerk/backend/dist/api/resources/User.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/Verification.d.ts +0 -90
- package/node_modules/@clerk/backend/dist/api/resources/Verification.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/WaitlistEntry.d.ts +0 -67
- package/node_modules/@clerk/backend/dist/api/resources/WaitlistEntry.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/Web3Wallet.d.ts +0 -36
- package/node_modules/@clerk/backend/dist/api/resources/Web3Wallet.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/Webhooks.d.ts +0 -32
- package/node_modules/@clerk/backend/dist/api/resources/Webhooks.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/index.d.ts +0 -57
- package/node_modules/@clerk/backend/dist/api/resources/index.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/chunk-7KLH7JRZ.mjs.map +0 -1
- package/node_modules/@clerk/backend/dist/chunk-I4B6KCGC.mjs.map +0 -1
- package/node_modules/@clerk/backend/dist/chunk-P263NW7Z.mjs.map +0 -1
- package/node_modules/@clerk/backend/dist/chunk-QR37SKMP.mjs.map +0 -1
- package/node_modules/@clerk/backend/dist/chunk-TOROEX6P.mjs.map +0 -1
- package/node_modules/@clerk/backend/dist/chunk-YBVFDYDR.mjs.map +0 -1
- package/node_modules/@clerk/backend/dist/constants.d.ts +0 -91
- package/node_modules/@clerk/backend/dist/constants.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/createRedirect.d.ts +0 -25
- package/node_modules/@clerk/backend/dist/createRedirect.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/errors.d.ts +0 -67
- package/node_modules/@clerk/backend/dist/errors.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/errors.js.map +0 -1
- package/node_modules/@clerk/backend/dist/errors.mjs.map +0 -1
- package/node_modules/@clerk/backend/dist/fixtures/index.d.ts +0 -105
- package/node_modules/@clerk/backend/dist/fixtures/index.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/fixtures/machine.d.ts +0 -72
- package/node_modules/@clerk/backend/dist/fixtures/machine.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/index.d.ts +0 -49
- package/node_modules/@clerk/backend/dist/index.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/index.js.map +0 -1
- package/node_modules/@clerk/backend/dist/index.mjs.map +0 -1
- package/node_modules/@clerk/backend/dist/internal.d.ts +0 -20
- package/node_modules/@clerk/backend/dist/internal.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/internal.js.map +0 -1
- package/node_modules/@clerk/backend/dist/internal.mjs.map +0 -1
- package/node_modules/@clerk/backend/dist/jwt/algorithms.d.ts +0 -3
- package/node_modules/@clerk/backend/dist/jwt/algorithms.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/jwt/assertions.d.ts +0 -10
- package/node_modules/@clerk/backend/dist/jwt/assertions.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/jwt/cryptoKeys.d.ts +0 -2
- package/node_modules/@clerk/backend/dist/jwt/cryptoKeys.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/jwt/index.d.ts +0 -7
- package/node_modules/@clerk/backend/dist/jwt/index.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/jwt/index.js.map +0 -1
- package/node_modules/@clerk/backend/dist/jwt/index.mjs.map +0 -1
- package/node_modules/@clerk/backend/dist/jwt/legacyReturn.d.ts +0 -4
- package/node_modules/@clerk/backend/dist/jwt/legacyReturn.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/jwt/signJwt.d.ts +0 -20
- package/node_modules/@clerk/backend/dist/jwt/signJwt.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/jwt/types.d.ts +0 -18
- package/node_modules/@clerk/backend/dist/jwt/types.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/jwt/verifyJwt.d.ts +0 -38
- package/node_modules/@clerk/backend/dist/jwt/verifyJwt.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/jwt/verifyMachineJwt.d.ts +0 -19
- package/node_modules/@clerk/backend/dist/jwt/verifyMachineJwt.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/mock-server.d.ts +0 -4
- package/node_modules/@clerk/backend/dist/mock-server.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/proxy.d.ts +0 -72
- package/node_modules/@clerk/backend/dist/proxy.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/proxy.js.map +0 -1
- package/node_modules/@clerk/backend/dist/proxy.mjs.map +0 -1
- package/node_modules/@clerk/backend/dist/runtime.d.ts +0 -26
- package/node_modules/@clerk/backend/dist/runtime.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/tokens/authObjects.d.ts +0 -193
- package/node_modules/@clerk/backend/dist/tokens/authObjects.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/tokens/authStatus.d.ts +0 -120
- package/node_modules/@clerk/backend/dist/tokens/authStatus.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/tokens/authenticateContext.d.ts +0 -78
- package/node_modules/@clerk/backend/dist/tokens/authenticateContext.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/tokens/clerkRequest.d.ts +0 -29
- package/node_modules/@clerk/backend/dist/tokens/clerkRequest.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/tokens/clerkUrl.d.ts +0 -18
- package/node_modules/@clerk/backend/dist/tokens/clerkUrl.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/tokens/cookie.d.ts +0 -3
- package/node_modules/@clerk/backend/dist/tokens/cookie.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/tokens/factory.d.ts +0 -29
- package/node_modules/@clerk/backend/dist/tokens/factory.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/tokens/handshake.d.ts +0 -64
- package/node_modules/@clerk/backend/dist/tokens/handshake.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/tokens/keys.d.ts +0 -54
- package/node_modules/@clerk/backend/dist/tokens/keys.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/tokens/machine.d.ts +0 -85
- package/node_modules/@clerk/backend/dist/tokens/machine.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/tokens/organizationMatcher.d.ts +0 -11
- package/node_modules/@clerk/backend/dist/tokens/organizationMatcher.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/tokens/request.d.ts +0 -60
- package/node_modules/@clerk/backend/dist/tokens/request.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/tokens/tokenTypes.d.ts +0 -19
- package/node_modules/@clerk/backend/dist/tokens/tokenTypes.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/tokens/types.d.ts +0 -253
- package/node_modules/@clerk/backend/dist/tokens/types.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/tokens/verify.d.ts +0 -109
- package/node_modules/@clerk/backend/dist/tokens/verify.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/util/decorateObjectWithResources.d.ts +0 -22
- package/node_modules/@clerk/backend/dist/util/decorateObjectWithResources.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/util/mergePreDefinedOptions.d.ts +0 -2
- package/node_modules/@clerk/backend/dist/util/mergePreDefinedOptions.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/util/optionsAssertions.d.ts +0 -3
- package/node_modules/@clerk/backend/dist/util/optionsAssertions.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/util/path.d.ts +0 -4
- package/node_modules/@clerk/backend/dist/util/path.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/util/rfc4648.d.ts +0 -26
- package/node_modules/@clerk/backend/dist/util/rfc4648.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/util/shared.d.ts +0 -7
- package/node_modules/@clerk/backend/dist/util/shared.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/webhooks.d.ts +0 -50
- package/node_modules/@clerk/backend/dist/webhooks.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/webhooks.js.map +0 -1
- package/node_modules/@clerk/backend/dist/webhooks.mjs.map +0 -1
- package/node_modules/@clerk/fastify/dist/chunk-RY4T2JMQ.mjs.map +0 -1
- package/node_modules/@clerk/fastify/dist/index-CWnSaB0B.d.mts +0 -25
- package/node_modules/@clerk/fastify/dist/index-CWnSaB0B.d.ts +0 -25
- package/node_modules/@clerk/fastify/dist/index.d.mts +0 -16
- package/node_modules/@clerk/fastify/dist/index.d.ts +0 -16
- package/node_modules/@clerk/fastify/dist/index.js.map +0 -1
- package/node_modules/@clerk/fastify/dist/index.mjs.map +0 -1
- package/node_modules/@clerk/fastify/dist/types.d.mts +0 -4
- package/node_modules/@clerk/fastify/dist/types.d.ts +0 -4
- package/node_modules/@clerk/fastify/dist/types.js.map +0 -1
- package/node_modules/@clerk/fastify/dist/types.mjs.map +0 -1
- package/node_modules/@clerk/fastify/dist/webhooks.d.mts +0 -19
- package/node_modules/@clerk/fastify/dist/webhooks.d.ts +0 -19
- package/node_modules/@clerk/fastify/dist/webhooks.js.map +0 -1
- package/node_modules/@clerk/fastify/dist/webhooks.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/alternativePhoneCode.d.mts +0 -9
- package/node_modules/@clerk/shared/dist/runtime/alternativePhoneCode.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/alternativePhoneCode.d.ts +0 -9
- package/node_modules/@clerk/shared/dist/runtime/alternativePhoneCode.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/alternativePhoneCode.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/alternativePhoneCode.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/apiUrlFromPublishableKey.d.mts +0 -11
- package/node_modules/@clerk/shared/dist/runtime/apiUrlFromPublishableKey.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/apiUrlFromPublishableKey.d.ts +0 -11
- package/node_modules/@clerk/shared/dist/runtime/apiUrlFromPublishableKey.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/apiUrlFromPublishableKey.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/apiUrlFromPublishableKey.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/authorization-Du_JQmnH.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/authorization-Un7v7f6J.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/authorization-errors-B7aH39AU.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/authorization-errors-CBHAr6Ld.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/authorization-errors.d.mts +0 -26
- package/node_modules/@clerk/shared/dist/runtime/authorization-errors.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/authorization-errors.d.ts +0 -26
- package/node_modules/@clerk/shared/dist/runtime/authorization-errors.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/authorization.d.mts +0 -72
- package/node_modules/@clerk/shared/dist/runtime/authorization.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/authorization.d.ts +0 -72
- package/node_modules/@clerk/shared/dist/runtime/authorization.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/browser-CMFCxUv7.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/browser-CaHqvEp1.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/browser.d.mts +0 -35
- package/node_modules/@clerk/shared/dist/runtime/browser.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/browser.d.ts +0 -35
- package/node_modules/@clerk/shared/dist/runtime/browser.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/buildAccountsBaseUrl.d.mts +0 -8
- package/node_modules/@clerk/shared/dist/runtime/buildAccountsBaseUrl.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/buildAccountsBaseUrl.d.ts +0 -8
- package/node_modules/@clerk/shared/dist/runtime/buildAccountsBaseUrl.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/buildAccountsBaseUrl.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/buildAccountsBaseUrl.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/clerkEventBus.d.mts +0 -22
- package/node_modules/@clerk/shared/dist/runtime/clerkEventBus.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/clerkEventBus.d.ts +0 -22
- package/node_modules/@clerk/shared/dist/runtime/clerkEventBus.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/clerkEventBus.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/clerkEventBus.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/clerkRuntimeError-CaS4sM5w.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/clerkRuntimeError-DqAmLuLY.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/color.d.mts +0 -18
- package/node_modules/@clerk/shared/dist/runtime/color.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/color.d.ts +0 -18
- package/node_modules/@clerk/shared/dist/runtime/color.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/color.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/color.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/complexity-DEun2UD2.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/complexity-DydNJOmy.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/constants-BUzkV8jh.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/constants-Bta24VLk.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/constants-BulbbNR9.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/constants-WYhx_umW.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/constants.d.mts +0 -21
- package/node_modules/@clerk/shared/dist/runtime/constants.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/constants.d.ts +0 -21
- package/node_modules/@clerk/shared/dist/runtime/constants.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/cookie.d.mts +0 -30
- package/node_modules/@clerk/shared/dist/runtime/cookie.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/cookie.d.ts +0 -30
- package/node_modules/@clerk/shared/dist/runtime/cookie.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/cookie.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/cookie.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/createDeferredPromise-Bq0Rf2GM.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/createDeferredPromise-CYCAgyvC.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/date.d.mts +0 -37
- package/node_modules/@clerk/shared/dist/runtime/date.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/date.d.ts +0 -37
- package/node_modules/@clerk/shared/dist/runtime/date.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/date.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/date.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/deprecated--jK9xTNh.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/deprecated-841w0zq7.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/deprecated.d.mts +0 -40
- package/node_modules/@clerk/shared/dist/runtime/deprecated.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/deprecated.d.ts +0 -40
- package/node_modules/@clerk/shared/dist/runtime/deprecated.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/deriveState-CQUgOdaO.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/deriveState-zgq99aY1.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/deriveState.d.mts +0 -28
- package/node_modules/@clerk/shared/dist/runtime/deriveState.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/deriveState.d.ts +0 -28
- package/node_modules/@clerk/shared/dist/runtime/deriveState.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/devBrowser.d.mts +0 -13
- package/node_modules/@clerk/shared/dist/runtime/devBrowser.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/devBrowser.d.ts +0 -13
- package/node_modules/@clerk/shared/dist/runtime/devBrowser.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/devBrowser.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/devBrowser.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/dom/index.d.mts +0 -2
- package/node_modules/@clerk/shared/dist/runtime/dom/index.d.ts +0 -2
- package/node_modules/@clerk/shared/dist/runtime/dom/waitForElement.d.mts +0 -2
- package/node_modules/@clerk/shared/dist/runtime/dom/waitForElement.d.ts +0 -2
- package/node_modules/@clerk/shared/dist/runtime/encoders-CAjYroSe.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/encoders-C_EA3--l.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/error-D-ayZ5nL.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/error-kcck_bbZ.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/error.d.mts +0 -3
- package/node_modules/@clerk/shared/dist/runtime/error.d.ts +0 -3
- package/node_modules/@clerk/shared/dist/runtime/errors-FAXDzRsM.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/errors-oOcNTWU9.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/esm-D9kK-xzr.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/esm-DGPYZuZb.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/eventBus-TFTcHo0F.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/eventBus-mLhN9dkg.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/eventBus.d.mts +0 -117
- package/node_modules/@clerk/shared/dist/runtime/eventBus.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/eventBus.d.ts +0 -117
- package/node_modules/@clerk/shared/dist/runtime/eventBus.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/file.d.mts +0 -21
- package/node_modules/@clerk/shared/dist/runtime/file.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/file.d.ts +0 -21
- package/node_modules/@clerk/shared/dist/runtime/file.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/file.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/file.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/getEnvVariable.d.mts +0 -12
- package/node_modules/@clerk/shared/dist/runtime/getEnvVariable.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/getEnvVariable.d.ts +0 -12
- package/node_modules/@clerk/shared/dist/runtime/getEnvVariable.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/getEnvVariable.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/getEnvVariable.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/getToken.d.mts +0 -46
- package/node_modules/@clerk/shared/dist/runtime/getToken.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/getToken.d.ts +0 -46
- package/node_modules/@clerk/shared/dist/runtime/getToken.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/getToken.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/getToken.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/globs-D0Kpu4g1.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/globs-u_gXJPLt.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/globs.d.mts +0 -7
- package/node_modules/@clerk/shared/dist/runtime/globs.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/globs.d.ts +0 -7
- package/node_modules/@clerk/shared/dist/runtime/globs.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn-4-yw9hYF.d.ts +0 -7
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn-4-yw9hYF.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn-BWsoUzyL.d.mts +0 -7
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn-BWsoUzyL.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn-BmJC8Cue.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn-iAIjw-kJ.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn.d.mts +0 -11
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn.d.ts +0 -11
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/hex-txii11Pj.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/hex-zF8OyMcG.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/index-BK_NVS1t.d.ts +0 -10885
- package/node_modules/@clerk/shared/dist/runtime/index-BK_NVS1t.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/index-Cc98l5ga.d.mts +0 -10885
- package/node_modules/@clerk/shared/dist/runtime/index-Cc98l5ga.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/index.d.mts +0 -1
- package/node_modules/@clerk/shared/dist/runtime/index.d.ts +0 -1
- package/node_modules/@clerk/shared/dist/runtime/index.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/index.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/injectedWeb3EthProviders-BqNbQ8Of.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/injectedWeb3EthProviders-Cp_aXKsI.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/injectedWeb3SolanaProviders-Cbd4CVu9.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/injectedWeb3SolanaProviders-DRQuwtHF.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/instance-BmZr0cdE.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/instance-C1LlVxIp.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/completeSignUpFlow.d.mts +0 -31
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/completeSignUpFlow.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/completeSignUpFlow.d.ts +0 -31
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/completeSignUpFlow.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/completeSignUpFlow.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/completeSignUpFlow.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/componentGuards.d.mts +0 -18
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/componentGuards.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/componentGuards.d.ts +0 -18
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/componentGuards.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/componentGuards.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/componentGuards.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/constants.d.mts +0 -54
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/constants.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/constants.d.ts +0 -54
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/constants.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/email.d.mts +0 -12
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/email.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/email.d.ts +0 -12
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/email.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/email.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/email.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/encoders.d.mts +0 -8
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/encoders.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/encoders.d.ts +0 -8
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/encoders.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/errors.d.mts +0 -113
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/errors.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/errors.d.ts +0 -113
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/errors.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/hex.d.mts +0 -5
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/hex.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/hex.d.ts +0 -5
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/hex.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3EthProviders.d.mts +0 -15
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3EthProviders.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3EthProviders.d.ts +0 -15
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3EthProviders.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3SolanaProviders.d.mts +0 -13
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3SolanaProviders.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3SolanaProviders.d.ts +0 -13
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3SolanaProviders.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/organization.d.mts +0 -10
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/organization.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/organization.d.ts +0 -10
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/organization.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/organization.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/organization.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passkeys.d.mts +0 -61
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passkeys.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passkeys.d.ts +0 -61
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passkeys.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passkeys.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passkeys.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/complexity.d.mts +0 -11
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/complexity.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/complexity.d.ts +0 -11
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/complexity.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.d.mts +0 -12
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.d.ts +0 -12
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/password.d.mts +0 -19
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/password.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/password.d.ts +0 -19
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/password.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/password.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/password.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/strength.d.mts +0 -20
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/strength.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/strength.d.ts +0 -20
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/strength.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/path.d.mts +0 -6
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/path.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/path.d.ts +0 -6
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/path.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryParams.d.mts +0 -36
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryParams.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryParams.d.ts +0 -36
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryParams.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryStateParams.d.mts +0 -19
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryStateParams.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryStateParams.d.ts +0 -19
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryStateParams.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryStateParams.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryStateParams.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/querystring.d.mts +0 -9
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/querystring.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/querystring.d.ts +0 -9
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/querystring.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/redirectUrls.d.mts +0 -23
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/redirectUrls.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/redirectUrls.d.ts +0 -23
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/redirectUrls.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/redirectUrls.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/redirectUrls.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/runtime.d.mts +0 -8
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/runtime.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/runtime.d.ts +0 -8
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/runtime.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/runtime.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/runtime.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/sessionTasks.d.mts +0 -31
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/sessionTasks.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/sessionTasks.d.ts +0 -31
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/sessionTasks.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/sessionTasks.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/sessionTasks.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/thirdPartyDomains.d.mts +0 -18
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/thirdPartyDomains.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/thirdPartyDomains.d.ts +0 -18
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/thirdPartyDomains.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/thirdPartyDomains.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/thirdPartyDomains.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/url.d.mts +0 -4
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/url.d.ts +0 -4
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/user.d.mts +0 -23
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/user.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/user.d.ts +0 -23
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/user.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/user.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/user.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/warnings.d.mts +0 -25
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/warnings.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/warnings.d.ts +0 -25
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/warnings.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/warnings.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/warnings.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/web3.d.mts +0 -32
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/web3.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/web3.d.ts +0 -32
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/web3.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/web3.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/web3.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/windowNavigate.d.mts +0 -15
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/windowNavigate.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/windowNavigate.d.ts +0 -15
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/windowNavigate.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/windowNavigate.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/windowNavigate.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/isomorphicAtob-CoF80qYz.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/isomorphicAtob-Hkpnx2p8.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/isomorphicAtob.d.mts +0 -9
- package/node_modules/@clerk/shared/dist/runtime/isomorphicAtob.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/isomorphicAtob.d.ts +0 -9
- package/node_modules/@clerk/shared/dist/runtime/isomorphicAtob.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/isomorphicBtoa-DWmLcIHi.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/isomorphicBtoa-_pSA92Q9.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/isomorphicBtoa.d.mts +0 -5
- package/node_modules/@clerk/shared/dist/runtime/isomorphicBtoa.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/isomorphicBtoa.d.ts +0 -5
- package/node_modules/@clerk/shared/dist/runtime/isomorphicBtoa.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/jwtPayloadParser.d.mts +0 -23
- package/node_modules/@clerk/shared/dist/runtime/jwtPayloadParser.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/jwtPayloadParser.d.ts +0 -23
- package/node_modules/@clerk/shared/dist/runtime/jwtPayloadParser.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/jwtPayloadParser.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/jwtPayloadParser.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/keyless/index.d.mts +0 -271
- package/node_modules/@clerk/shared/dist/runtime/keyless/index.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/keyless/index.d.ts +0 -271
- package/node_modules/@clerk/shared/dist/runtime/keyless/index.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/keyless/index.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/keyless/index.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/keys-BI9hmfja.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/keys-DuxzP8MU.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/keys.d.mts +0 -103
- package/node_modules/@clerk/shared/dist/runtime/keys.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/keys.d.ts +0 -103
- package/node_modules/@clerk/shared/dist/runtime/keys.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/loadClerkJsScript.d.mts +0 -88
- package/node_modules/@clerk/shared/dist/runtime/loadClerkJsScript.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/loadClerkJsScript.d.ts +0 -88
- package/node_modules/@clerk/shared/dist/runtime/loadClerkJsScript.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/loadClerkJsScript.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/loadClerkJsScript.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/loadScript-BnB9d_IW.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/loadScript-UG_epen4.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/loadScript.d.mts +0 -15
- package/node_modules/@clerk/shared/dist/runtime/loadScript.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/loadScript.d.ts +0 -15
- package/node_modules/@clerk/shared/dist/runtime/loadScript.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/localStorageBroadcastChannel.d.mts +0 -18
- package/node_modules/@clerk/shared/dist/runtime/localStorageBroadcastChannel.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/localStorageBroadcastChannel.d.ts +0 -18
- package/node_modules/@clerk/shared/dist/runtime/localStorageBroadcastChannel.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/localStorageBroadcastChannel.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/localStorageBroadcastChannel.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/logger-BOte4sQb.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/logger-DISzhF9M.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/logger.d.mts +0 -12
- package/node_modules/@clerk/shared/dist/runtime/logger.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/logger.d.ts +0 -12
- package/node_modules/@clerk/shared/dist/runtime/logger.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/moduleManager-BsmFyRrH.d.mts +0 -21
- package/node_modules/@clerk/shared/dist/runtime/moduleManager-BsmFyRrH.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/moduleManager-WB15hU3T.d.ts +0 -21
- package/node_modules/@clerk/shared/dist/runtime/moduleManager-WB15hU3T.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/moduleManager.d.mts +0 -2
- package/node_modules/@clerk/shared/dist/runtime/moduleManager.d.ts +0 -2
- package/node_modules/@clerk/shared/dist/runtime/netlifyCacheHandler-DFm5qdPh.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/netlifyCacheHandler-Dkdkho_6.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/netlifyCacheHandler.d.mts +0 -34
- package/node_modules/@clerk/shared/dist/runtime/netlifyCacheHandler.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/netlifyCacheHandler.d.ts +0 -34
- package/node_modules/@clerk/shared/dist/runtime/netlifyCacheHandler.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/noop-B7RzLU-c.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/noop-CVg8oVJr.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/oauth.d.mts +0 -19
- package/node_modules/@clerk/shared/dist/runtime/oauth.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/oauth.d.ts +0 -19
- package/node_modules/@clerk/shared/dist/runtime/oauth.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/oauth.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/oauth.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/object-DYaB_9gA.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/object-DklYlVP-.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/object.d.mts +0 -8
- package/node_modules/@clerk/shared/dist/runtime/object.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/object.d.ts +0 -8
- package/node_modules/@clerk/shared/dist/runtime/object.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/organization-BzM6mhUv.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/organization-Cy_ag_4B.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/organization.d.mts +0 -15
- package/node_modules/@clerk/shared/dist/runtime/organization.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/organization.d.ts +0 -15
- package/node_modules/@clerk/shared/dist/runtime/organization.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/path-BLD6zl1u.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/path-ci3QmWY8.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/pathMatcher.d.mts +0 -17
- package/node_modules/@clerk/shared/dist/runtime/pathMatcher.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/pathMatcher.d.ts +0 -17
- package/node_modules/@clerk/shared/dist/runtime/pathMatcher.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/pathMatcher.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/pathMatcher.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/pathToRegexp-7eww5BY6.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/pathToRegexp-Do-462DY.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/pathToRegexp.d.mts +0 -85
- package/node_modules/@clerk/shared/dist/runtime/pathToRegexp.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/pathToRegexp.d.ts +0 -85
- package/node_modules/@clerk/shared/dist/runtime/pathToRegexp.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/poller.d.mts +0 -20
- package/node_modules/@clerk/shared/dist/runtime/poller.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/poller.d.ts +0 -20
- package/node_modules/@clerk/shared/dist/runtime/poller.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/poller.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/poller.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/proxy-BcfViKjn.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/proxy-DahrnOq8.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/proxy.d.mts +0 -24
- package/node_modules/@clerk/shared/dist/runtime/proxy.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/proxy.d.ts +0 -24
- package/node_modules/@clerk/shared/dist/runtime/proxy.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/queryParams-DSUymAGT.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/queryParams-Dlt0oVDg.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/querystring-BFj_iDi0.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/querystring-pXtwII0l.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/react/index.d.mts +0 -1647
- package/node_modules/@clerk/shared/dist/runtime/react/index.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/react/index.d.ts +0 -1647
- package/node_modules/@clerk/shared/dist/runtime/react/index.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/react/index.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/react/index.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/retry-DGCmqlcR.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/retry-DqRIhHV5.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/retry.d.mts +0 -60
- package/node_modules/@clerk/shared/dist/runtime/retry.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/retry.d.ts +0 -60
- package/node_modules/@clerk/shared/dist/runtime/retry.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/router.d.mts +0 -100
- package/node_modules/@clerk/shared/dist/runtime/router.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/router.d.ts +0 -100
- package/node_modules/@clerk/shared/dist/runtime/router.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/router.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/router.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/runtimeEnvironment-D1yr0yUs.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/runtimeEnvironment-DJJWo5AR.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/safeImport.d.mts +0 -18
- package/node_modules/@clerk/shared/dist/runtime/safeImport.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/safeImport.d.ts +0 -18
- package/node_modules/@clerk/shared/dist/runtime/safeImport.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/safeImport.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/safeImport.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/saml.d.mts +0 -8
- package/node_modules/@clerk/shared/dist/runtime/saml.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/saml.d.ts +0 -8
- package/node_modules/@clerk/shared/dist/runtime/saml.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/saml.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/saml.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/strength-DMrZQDoO.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/strength-DPtAse7d.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/telemetry--P0a0tSk.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/telemetry-DE2JFEBf.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/telemetry.d.mts +0 -143
- package/node_modules/@clerk/shared/dist/runtime/telemetry.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/telemetry.d.ts +0 -143
- package/node_modules/@clerk/shared/dist/runtime/telemetry.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/types/index.d.mts +0 -3
- package/node_modules/@clerk/shared/dist/runtime/types/index.d.ts +0 -3
- package/node_modules/@clerk/shared/dist/runtime/ui/index.d.mts +0 -3
- package/node_modules/@clerk/shared/dist/runtime/ui/index.d.ts +0 -3
- package/node_modules/@clerk/shared/dist/runtime/underscore-BX6Ucmg5.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/underscore-ClYSgvuy.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/underscore.d.mts +0 -63
- package/node_modules/@clerk/shared/dist/runtime/underscore.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/underscore.d.ts +0 -63
- package/node_modules/@clerk/shared/dist/runtime/underscore.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/url-C6gPMFx5.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/url-CKcDCvyG.d.ts +0 -144
- package/node_modules/@clerk/shared/dist/runtime/url-CKcDCvyG.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/url-CoXV4i87.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/url-DaPDWryr.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/url-Ou22U773.d.mts +0 -144
- package/node_modules/@clerk/shared/dist/runtime/url-Ou22U773.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/url-sAcxbiir.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/url.d.mts +0 -78
- package/node_modules/@clerk/shared/dist/runtime/url.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/url.d.ts +0 -78
- package/node_modules/@clerk/shared/dist/runtime/url.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/utils/index.d.mts +0 -65
- package/node_modules/@clerk/shared/dist/runtime/utils/index.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/utils/index.d.ts +0 -65
- package/node_modules/@clerk/shared/dist/runtime/utils/index.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/utils-TXJdVJx7.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/utils-Y3tB5LFT.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/versionCheck.d.mts +0 -58
- package/node_modules/@clerk/shared/dist/runtime/versionCheck.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/versionCheck.d.ts +0 -58
- package/node_modules/@clerk/shared/dist/runtime/versionCheck.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/versionCheck.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/versionCheck.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/versionSelector-BSa0YYBu.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/versionSelector-CoS6g9-B.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/versionSelector.d.mts +0 -17
- package/node_modules/@clerk/shared/dist/runtime/versionSelector.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/versionSelector.d.ts +0 -17
- package/node_modules/@clerk/shared/dist/runtime/versionSelector.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/waitForElement-CB9iynCD.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/waitForElement-DGxKWlwM.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/waitForElement-DLpcirWQ.d.ts +0 -8
- package/node_modules/@clerk/shared/dist/runtime/waitForElement-DLpcirWQ.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/waitForElement-DZxkXjac.d.mts +0 -8
- package/node_modules/@clerk/shared/dist/runtime/waitForElement-DZxkXjac.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/web3.d.mts +0 -8
- package/node_modules/@clerk/shared/dist/runtime/web3.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/web3.d.ts +0 -8
- package/node_modules/@clerk/shared/dist/runtime/web3.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/web3.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/web3.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/webauthn.d.mts +0 -16
- package/node_modules/@clerk/shared/dist/runtime/webauthn.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/webauthn.d.ts +0 -16
- package/node_modules/@clerk/shared/dist/runtime/webauthn.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/webauthn.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/webauthn.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/workerTimers/index.d.mts +0 -17
- package/node_modules/@clerk/shared/dist/runtime/workerTimers/index.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/workerTimers/index.d.ts +0 -17
- package/node_modules/@clerk/shared/dist/runtime/workerTimers/index.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/workerTimers-CDy8bBJS.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/workerTimers-D-HZtmjt.js.map +0 -1
- package/node_modules/@clerk/shared/dist/types/index.d.mts +0 -10584
- package/node_modules/@clerk/shared/dist/types/index.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/types/index.d.ts +0 -10584
- package/node_modules/@clerk/shared/dist/types/index.d.ts.map +0 -1
- package/node_modules/@fastify/ajv-compiler/types/index.test-d.ts +0 -302
- package/node_modules/@fastify/error/types/index.test-d.ts +0 -92
- package/node_modules/@fastify/fast-json-stringify-compiler/types/index.test-d.ts +0 -142
- package/node_modules/@fastify/merge-json-schemas/types/index.test-d.ts +0 -52
- package/node_modules/@fastify/proxy-addr/types/index.test-d.ts +0 -27
- package/node_modules/@fastify/send/types/index.test-d.ts +0 -67
- package/node_modules/@fastify/static/types/index.test-d.ts +0 -240
- package/node_modules/@fastify/websocket/types/index.test-d.ts +0 -176
- package/node_modules/@isaacs/cliui/dist/commonjs/ansi-regex/index.d.ts +0 -4
- package/node_modules/@isaacs/cliui/dist/commonjs/ansi-regex/index.d.ts.map +0 -1
- package/node_modules/@isaacs/cliui/dist/commonjs/ansi-regex/index.js.map +0 -1
- package/node_modules/@isaacs/cliui/dist/commonjs/ansi-styles/index.d.ts +0 -34
- package/node_modules/@isaacs/cliui/dist/commonjs/ansi-styles/index.d.ts.map +0 -1
- package/node_modules/@isaacs/cliui/dist/commonjs/ansi-styles/index.js.map +0 -1
- package/node_modules/@isaacs/cliui/dist/commonjs/eastasianwidth/index.d.ts +0 -6
- package/node_modules/@isaacs/cliui/dist/commonjs/eastasianwidth/index.d.ts.map +0 -1
- package/node_modules/@isaacs/cliui/dist/commonjs/eastasianwidth/index.js.map +0 -1
- package/node_modules/@isaacs/cliui/dist/commonjs/emoji-regex/index.d.ts +0 -2
- package/node_modules/@isaacs/cliui/dist/commonjs/emoji-regex/index.d.ts.map +0 -1
- package/node_modules/@isaacs/cliui/dist/commonjs/emoji-regex/index.js.map +0 -1
- package/node_modules/@isaacs/cliui/dist/commonjs/index.d.ts +0 -41
- package/node_modules/@isaacs/cliui/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/@isaacs/cliui/dist/commonjs/index.js.map +0 -1
- package/node_modules/@isaacs/cliui/dist/commonjs/index.min.js.map +0 -7
- package/node_modules/@isaacs/cliui/dist/commonjs/string-width/index.d.ts +0 -5
- package/node_modules/@isaacs/cliui/dist/commonjs/string-width/index.d.ts.map +0 -1
- package/node_modules/@isaacs/cliui/dist/commonjs/string-width/index.js.map +0 -1
- package/node_modules/@isaacs/cliui/dist/commonjs/strip-ansi/index.d.ts +0 -2
- package/node_modules/@isaacs/cliui/dist/commonjs/strip-ansi/index.d.ts.map +0 -1
- package/node_modules/@isaacs/cliui/dist/commonjs/strip-ansi/index.js.map +0 -1
- package/node_modules/@isaacs/cliui/dist/commonjs/wrap-ansi/index.d.ts +0 -7
- package/node_modules/@isaacs/cliui/dist/commonjs/wrap-ansi/index.d.ts.map +0 -1
- package/node_modules/@isaacs/cliui/dist/commonjs/wrap-ansi/index.js.map +0 -1
- package/node_modules/@isaacs/cliui/dist/esm/ansi-regex/index.d.ts +0 -4
- package/node_modules/@isaacs/cliui/dist/esm/ansi-regex/index.d.ts.map +0 -1
- package/node_modules/@isaacs/cliui/dist/esm/ansi-regex/index.js.map +0 -1
- package/node_modules/@isaacs/cliui/dist/esm/ansi-styles/index.d.ts +0 -34
- package/node_modules/@isaacs/cliui/dist/esm/ansi-styles/index.d.ts.map +0 -1
- package/node_modules/@isaacs/cliui/dist/esm/ansi-styles/index.js.map +0 -1
- package/node_modules/@isaacs/cliui/dist/esm/eastasianwidth/index.d.ts +0 -6
- package/node_modules/@isaacs/cliui/dist/esm/eastasianwidth/index.d.ts.map +0 -1
- package/node_modules/@isaacs/cliui/dist/esm/eastasianwidth/index.js.map +0 -1
- package/node_modules/@isaacs/cliui/dist/esm/emoji-regex/index.d.ts +0 -2
- package/node_modules/@isaacs/cliui/dist/esm/emoji-regex/index.d.ts.map +0 -1
- package/node_modules/@isaacs/cliui/dist/esm/emoji-regex/index.js.map +0 -1
- package/node_modules/@isaacs/cliui/dist/esm/index.d.ts +0 -41
- package/node_modules/@isaacs/cliui/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@isaacs/cliui/dist/esm/index.js.map +0 -1
- package/node_modules/@isaacs/cliui/dist/esm/index.min.js.map +0 -7
- package/node_modules/@isaacs/cliui/dist/esm/string-width/index.d.ts +0 -5
- package/node_modules/@isaacs/cliui/dist/esm/string-width/index.d.ts.map +0 -1
- package/node_modules/@isaacs/cliui/dist/esm/string-width/index.js.map +0 -1
- package/node_modules/@isaacs/cliui/dist/esm/strip-ansi/index.d.ts +0 -2
- package/node_modules/@isaacs/cliui/dist/esm/strip-ansi/index.d.ts.map +0 -1
- package/node_modules/@isaacs/cliui/dist/esm/strip-ansi/index.js.map +0 -1
- package/node_modules/@isaacs/cliui/dist/esm/wrap-ansi/index.d.ts +0 -7
- package/node_modules/@isaacs/cliui/dist/esm/wrap-ansi/index.d.ts.map +0 -1
- package/node_modules/@isaacs/cliui/dist/esm/wrap-ansi/index.js.map +0 -1
- package/node_modules/@openrouter/ai-sdk-provider/dist/index.d.mts +0 -239
- package/node_modules/@openrouter/ai-sdk-provider/dist/index.d.ts +0 -239
- package/node_modules/@openrouter/ai-sdk-provider/dist/index.js.map +0 -1
- package/node_modules/@openrouter/ai-sdk-provider/dist/index.mjs.map +0 -1
- package/node_modules/@openrouter/ai-sdk-provider/dist/internal/index.d.mts +0 -156
- package/node_modules/@openrouter/ai-sdk-provider/dist/internal/index.d.ts +0 -156
- package/node_modules/@openrouter/ai-sdk-provider/dist/internal/index.js.map +0 -1
- package/node_modules/@openrouter/ai-sdk-provider/dist/internal/index.mjs.map +0 -1
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider/dist/index.d.mts +0 -1252
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider/dist/index.d.ts +0 -1252
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider/dist/index.js.map +0 -1
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider/dist/index.mjs.map +0 -1
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/dist/index.d.mts +0 -352
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/dist/index.d.ts +0 -352
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/dist/index.js.map +0 -1
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/dist/index.mjs.map +0 -1
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/secure-json-parse/types/index.test-d.ts +0 -31
- package/node_modules/@pinojs/redact/index.test-d.ts +0 -22
- package/node_modules/@stablelib/base64/base64.bench.ts +0 -25
- package/node_modules/@stablelib/base64/base64.test.ts +0 -85
- package/node_modules/@stablelib/base64/base64.ts +0 -283
- package/node_modules/@standard-schema/spec/dist/index.d.cts +0 -119
- package/node_modules/@standard-schema/spec/dist/index.d.ts +0 -119
- package/node_modules/@stricli/core/dist/index.d.cts +0 -1443
- package/node_modules/@stricli/core/dist/index.d.ts +0 -1443
- package/node_modules/@tanstack/query-core/src/focusManager.ts +0 -86
- package/node_modules/@tanstack/query-core/src/hydration.ts +0 -285
- package/node_modules/@tanstack/query-core/src/index.ts +0 -55
- package/node_modules/@tanstack/query-core/src/infiniteQueryBehavior.ts +0 -176
- package/node_modules/@tanstack/query-core/src/infiniteQueryObserver.ts +0 -190
- package/node_modules/@tanstack/query-core/src/mutation.ts +0 -417
- package/node_modules/@tanstack/query-core/src/mutationCache.ts +0 -244
- package/node_modules/@tanstack/query-core/src/mutationObserver.ts +0 -227
- package/node_modules/@tanstack/query-core/src/notifyManager.ts +0 -99
- package/node_modules/@tanstack/query-core/src/onlineManager.ts +0 -71
- package/node_modules/@tanstack/query-core/src/queriesObserver.ts +0 -298
- package/node_modules/@tanstack/query-core/src/query.ts +0 -756
- package/node_modules/@tanstack/query-core/src/queryCache.ts +0 -223
- package/node_modules/@tanstack/query-core/src/queryClient.ts +0 -648
- package/node_modules/@tanstack/query-core/src/queryObserver.ts +0 -833
- package/node_modules/@tanstack/query-core/src/removable.ts +0 -39
- package/node_modules/@tanstack/query-core/src/retryer.ts +0 -228
- package/node_modules/@tanstack/query-core/src/streamedQuery.ts +0 -122
- package/node_modules/@tanstack/query-core/src/subscribable.ts +0 -30
- package/node_modules/@tanstack/query-core/src/thenable.ts +0 -111
- package/node_modules/@tanstack/query-core/src/timeoutManager.ts +0 -135
- package/node_modules/@tanstack/query-core/src/types.ts +0 -1391
- package/node_modules/@tanstack/query-core/src/utils.ts +0 -497
- package/node_modules/@vercel/oidc/dist/auth-config.d.ts +0 -30
- package/node_modules/@vercel/oidc/dist/get-context.d.ts +0 -6
- package/node_modules/@vercel/oidc/dist/get-vercel-oidc-token.d.ts +0 -49
- package/node_modules/@vercel/oidc/dist/get-vercel-oidc-token.test.d.ts +0 -1
- package/node_modules/@vercel/oidc/dist/index-browser.d.ts +0 -3
- package/node_modules/@vercel/oidc/dist/index-browser.test.d.ts +0 -1
- package/node_modules/@vercel/oidc/dist/index.d.ts +0 -2
- package/node_modules/@vercel/oidc/dist/oauth.d.ts +0 -17
- package/node_modules/@vercel/oidc/dist/token-error.d.ts +0 -5
- package/node_modules/@vercel/oidc/dist/token-io.d.ts +0 -2
- package/node_modules/@vercel/oidc/dist/token-util.d.ts +0 -21
- package/node_modules/@vercel/oidc/dist/token-util.test.d.ts +0 -1
- package/node_modules/@vercel/oidc/dist/token.d.ts +0 -1
- package/node_modules/@vercel/oidc/dist/token.test.d.ts +0 -1
- package/node_modules/agent-base/dist/helpers.d.ts +0 -15
- package/node_modules/agent-base/dist/helpers.d.ts.map +0 -1
- package/node_modules/agent-base/dist/helpers.js.map +0 -1
- package/node_modules/agent-base/dist/index.d.ts +0 -41
- package/node_modules/agent-base/dist/index.d.ts.map +0 -1
- package/node_modules/agent-base/dist/index.js.map +0 -1
- package/node_modules/ai/dist/index.d.mts +0 -6403
- package/node_modules/ai/dist/index.d.ts +0 -6403
- package/node_modules/ai/dist/index.js.map +0 -1
- package/node_modules/ai/dist/index.mjs.map +0 -1
- package/node_modules/ai/dist/internal/index.d.mts +0 -314
- package/node_modules/ai/dist/internal/index.d.ts +0 -314
- package/node_modules/ai/dist/internal/index.js.map +0 -1
- package/node_modules/ai/dist/internal/index.mjs.map +0 -1
- package/node_modules/ai/src/agent/agent.ts +0 -124
- package/node_modules/ai/src/agent/create-agent-ui-stream-response.ts +0 -61
- package/node_modules/ai/src/agent/create-agent-ui-stream.ts +0 -84
- package/node_modules/ai/src/agent/index.ts +0 -33
- package/node_modules/ai/src/agent/infer-agent-tools.ts +0 -7
- package/node_modules/ai/src/agent/infer-agent-ui-message.ts +0 -11
- package/node_modules/ai/src/agent/pipe-agent-ui-stream-to-response.ts +0 -64
- package/node_modules/ai/src/agent/tool-loop-agent-settings.ts +0 -195
- package/node_modules/ai/src/agent/tool-loop-agent.ts +0 -146
- package/node_modules/ai/src/embed/embed-many-result.ts +0 -53
- package/node_modules/ai/src/embed/embed-many.ts +0 -386
- package/node_modules/ai/src/embed/embed-result.ts +0 -50
- package/node_modules/ai/src/embed/embed.ts +0 -217
- package/node_modules/ai/src/embed/index.ts +0 -4
- package/node_modules/ai/src/error/index.ts +0 -37
- package/node_modules/ai/src/error/invalid-argument-error.ts +0 -34
- package/node_modules/ai/src/error/invalid-stream-part-error.ts +0 -28
- package/node_modules/ai/src/error/invalid-tool-approval-error.ts +0 -26
- package/node_modules/ai/src/error/invalid-tool-input-error.ts +0 -33
- package/node_modules/ai/src/error/missing-tool-result-error.ts +0 -28
- package/node_modules/ai/src/error/no-image-generated-error.ts +0 -39
- package/node_modules/ai/src/error/no-object-generated-error.ts +0 -70
- package/node_modules/ai/src/error/no-output-generated-error.ts +0 -26
- package/node_modules/ai/src/error/no-speech-generated-error.ts +0 -28
- package/node_modules/ai/src/error/no-such-tool-error.ts +0 -35
- package/node_modules/ai/src/error/no-transcript-generated-error.ts +0 -30
- package/node_modules/ai/src/error/no-video-generated-error.ts +0 -57
- package/node_modules/ai/src/error/tool-call-not-found-for-approval-error.ts +0 -32
- package/node_modules/ai/src/error/tool-call-repair-error.ts +0 -30
- package/node_modules/ai/src/error/ui-message-stream-error.ts +0 -48
- package/node_modules/ai/src/error/unsupported-model-version-error.ts +0 -23
- package/node_modules/ai/src/error/verify-no-object-generated-error.ts +0 -27
- package/node_modules/ai/src/generate-image/generate-image-result.ts +0 -42
- package/node_modules/ai/src/generate-image/generate-image.ts +0 -361
- package/node_modules/ai/src/generate-image/index.ts +0 -18
- package/node_modules/ai/src/generate-object/generate-object-result.ts +0 -67
- package/node_modules/ai/src/generate-object/generate-object.ts +0 -514
- package/node_modules/ai/src/generate-object/index.ts +0 -9
- package/node_modules/ai/src/generate-object/inject-json-instruction.ts +0 -30
- package/node_modules/ai/src/generate-object/output-strategy.ts +0 -415
- package/node_modules/ai/src/generate-object/parse-and-validate-object-result.ts +0 -111
- package/node_modules/ai/src/generate-object/repair-text.ts +0 -12
- package/node_modules/ai/src/generate-object/stream-object-result.ts +0 -120
- package/node_modules/ai/src/generate-object/stream-object.ts +0 -984
- package/node_modules/ai/src/generate-object/validate-object-generation-input.ts +0 -144
- package/node_modules/ai/src/generate-speech/generate-speech-result.ts +0 -30
- package/node_modules/ai/src/generate-speech/generate-speech.ts +0 -191
- package/node_modules/ai/src/generate-speech/generated-audio-file.ts +0 -65
- package/node_modules/ai/src/generate-speech/index.ts +0 -3
- package/node_modules/ai/src/generate-text/callback-events.ts +0 -332
- package/node_modules/ai/src/generate-text/collect-tool-approvals.ts +0 -116
- package/node_modules/ai/src/generate-text/content-part.ts +0 -25
- package/node_modules/ai/src/generate-text/execute-tool-call.ts +0 -197
- package/node_modules/ai/src/generate-text/extract-reasoning-content.ts +0 -17
- package/node_modules/ai/src/generate-text/extract-text-content.ts +0 -15
- package/node_modules/ai/src/generate-text/generate-text-result.ts +0 -168
- package/node_modules/ai/src/generate-text/generate-text.ts +0 -1582
- package/node_modules/ai/src/generate-text/generated-file.ts +0 -70
- package/node_modules/ai/src/generate-text/index.ts +0 -79
- package/node_modules/ai/src/generate-text/is-approval-needed.ts +0 -29
- package/node_modules/ai/src/generate-text/output-utils.ts +0 -23
- package/node_modules/ai/src/generate-text/output.ts +0 -590
- package/node_modules/ai/src/generate-text/parse-tool-call.ts +0 -188
- package/node_modules/ai/src/generate-text/prepare-step.ts +0 -103
- package/node_modules/ai/src/generate-text/prune-messages.ts +0 -167
- package/node_modules/ai/src/generate-text/reasoning-output.ts +0 -20
- package/node_modules/ai/src/generate-text/reasoning.ts +0 -8
- package/node_modules/ai/src/generate-text/response-message.ts +0 -10
- package/node_modules/ai/src/generate-text/run-tools-transformation.ts +0 -448
- package/node_modules/ai/src/generate-text/smooth-stream.ts +0 -162
- package/node_modules/ai/src/generate-text/step-result.ts +0 -290
- package/node_modules/ai/src/generate-text/stop-condition.ts +0 -33
- package/node_modules/ai/src/generate-text/stream-text-result.ts +0 -463
- package/node_modules/ai/src/generate-text/stream-text.ts +0 -2844
- package/node_modules/ai/src/generate-text/to-response-messages.ts +0 -163
- package/node_modules/ai/src/generate-text/tool-approval-request-output.ts +0 -21
- package/node_modules/ai/src/generate-text/tool-call-repair-function.ts +0 -27
- package/node_modules/ai/src/generate-text/tool-call.ts +0 -47
- package/node_modules/ai/src/generate-text/tool-error.ts +0 -34
- package/node_modules/ai/src/generate-text/tool-output-denied.ts +0 -21
- package/node_modules/ai/src/generate-text/tool-output.ts +0 -7
- package/node_modules/ai/src/generate-text/tool-result.ts +0 -36
- package/node_modules/ai/src/generate-text/tool-set.ts +0 -14
- package/node_modules/ai/src/generate-video/generate-video-result.ts +0 -36
- package/node_modules/ai/src/generate-video/generate-video.ts +0 -402
- package/node_modules/ai/src/generate-video/index.ts +0 -3
- package/node_modules/ai/src/global.ts +0 -36
- package/node_modules/ai/src/index.ts +0 -49
- package/node_modules/ai/src/logger/index.ts +0 -6
- package/node_modules/ai/src/logger/log-warnings.ts +0 -140
- package/node_modules/ai/src/middleware/add-tool-input-examples-middleware.ts +0 -90
- package/node_modules/ai/src/middleware/default-embedding-settings-middleware.ts +0 -22
- package/node_modules/ai/src/middleware/default-settings-middleware.ts +0 -33
- package/node_modules/ai/src/middleware/extract-json-middleware.ts +0 -197
- package/node_modules/ai/src/middleware/extract-reasoning-middleware.ts +0 -249
- package/node_modules/ai/src/middleware/index.ts +0 -10
- package/node_modules/ai/src/middleware/simulate-streaming-middleware.ts +0 -79
- package/node_modules/ai/src/middleware/wrap-embedding-model.ts +0 -86
- package/node_modules/ai/src/middleware/wrap-image-model.ts +0 -85
- package/node_modules/ai/src/middleware/wrap-language-model.ts +0 -104
- package/node_modules/ai/src/middleware/wrap-provider.ts +0 -51
- package/node_modules/ai/src/model/as-embedding-model-v3.ts +0 -24
- package/node_modules/ai/src/model/as-image-model-v3.ts +0 -24
- package/node_modules/ai/src/model/as-language-model-v3.ts +0 -103
- package/node_modules/ai/src/model/as-provider-v3.ts +0 -36
- package/node_modules/ai/src/model/as-speech-model-v3.ts +0 -24
- package/node_modules/ai/src/model/as-transcription-model-v3.ts +0 -24
- package/node_modules/ai/src/model/resolve-model.ts +0 -159
- package/node_modules/ai/src/prompt/call-settings.ts +0 -148
- package/node_modules/ai/src/prompt/content-part.ts +0 -215
- package/node_modules/ai/src/prompt/convert-to-language-model-prompt.ts +0 -526
- package/node_modules/ai/src/prompt/create-tool-model-output.ts +0 -34
- package/node_modules/ai/src/prompt/data-content.ts +0 -134
- package/node_modules/ai/src/prompt/index.ts +0 -27
- package/node_modules/ai/src/prompt/invalid-data-content-error.ts +0 -29
- package/node_modules/ai/src/prompt/invalid-message-role-error.ts +0 -27
- package/node_modules/ai/src/prompt/message-conversion-error.ts +0 -28
- package/node_modules/ai/src/prompt/message.ts +0 -68
- package/node_modules/ai/src/prompt/prepare-call-settings.ts +0 -108
- package/node_modules/ai/src/prompt/prepare-tools-and-tool-choice.ts +0 -86
- package/node_modules/ai/src/prompt/prompt.ts +0 -43
- package/node_modules/ai/src/prompt/split-data-url.ts +0 -17
- package/node_modules/ai/src/prompt/standardize-prompt.ts +0 -99
- package/node_modules/ai/src/prompt/wrap-gateway-error.ts +0 -29
- package/node_modules/ai/src/registry/custom-provider.ts +0 -176
- package/node_modules/ai/src/registry/index.ts +0 -7
- package/node_modules/ai/src/registry/no-such-provider-error.ts +0 -41
- package/node_modules/ai/src/registry/provider-registry.ts +0 -327
- package/node_modules/ai/src/rerank/index.ts +0 -2
- package/node_modules/ai/src/rerank/rerank-result.ts +0 -70
- package/node_modules/ai/src/rerank/rerank.ts +0 -239
- package/node_modules/ai/src/telemetry/assemble-operation-name.ts +0 -21
- package/node_modules/ai/src/telemetry/get-base-telemetry-attributes.ts +0 -53
- package/node_modules/ai/src/telemetry/get-global-telemetry-integration.ts +0 -85
- package/node_modules/ai/src/telemetry/get-tracer.ts +0 -20
- package/node_modules/ai/src/telemetry/index.ts +0 -4
- package/node_modules/ai/src/telemetry/noop-tracer.ts +0 -69
- package/node_modules/ai/src/telemetry/record-span.ts +0 -75
- package/node_modules/ai/src/telemetry/select-telemetry-attributes.ts +0 -78
- package/node_modules/ai/src/telemetry/stringify-for-telemetry.ts +0 -33
- package/node_modules/ai/src/telemetry/telemetry-integration-registry.ts +0 -17
- package/node_modules/ai/src/telemetry/telemetry-integration.ts +0 -24
- package/node_modules/ai/src/telemetry/telemetry-settings.ts +0 -53
- package/node_modules/ai/src/text-stream/create-text-stream-response.ts +0 -30
- package/node_modules/ai/src/text-stream/index.ts +0 -2
- package/node_modules/ai/src/text-stream/pipe-text-stream-to-response.ts +0 -38
- package/node_modules/ai/src/transcribe/index.ts +0 -2
- package/node_modules/ai/src/transcribe/transcribe-result.ts +0 -60
- package/node_modules/ai/src/transcribe/transcribe.ts +0 -187
- package/node_modules/ai/src/types/embedding-model-middleware.ts +0 -3
- package/node_modules/ai/src/types/embedding-model.ts +0 -18
- package/node_modules/ai/src/types/image-model-middleware.ts +0 -3
- package/node_modules/ai/src/types/image-model-response-metadata.ts +0 -16
- package/node_modules/ai/src/types/image-model.ts +0 -19
- package/node_modules/ai/src/types/index.ts +0 -29
- package/node_modules/ai/src/types/json-value.ts +0 -15
- package/node_modules/ai/src/types/language-model-middleware.ts +0 -3
- package/node_modules/ai/src/types/language-model-request-metadata.ts +0 -6
- package/node_modules/ai/src/types/language-model-response-metadata.ts +0 -21
- package/node_modules/ai/src/types/language-model.ts +0 -104
- package/node_modules/ai/src/types/provider-metadata.ts +0 -16
- package/node_modules/ai/src/types/provider.ts +0 -55
- package/node_modules/ai/src/types/reranking-model.ts +0 -6
- package/node_modules/ai/src/types/speech-model-response-metadata.ts +0 -21
- package/node_modules/ai/src/types/speech-model.ts +0 -6
- package/node_modules/ai/src/types/transcription-model-response-metadata.ts +0 -16
- package/node_modules/ai/src/types/transcription-model.ts +0 -9
- package/node_modules/ai/src/types/usage.ts +0 -200
- package/node_modules/ai/src/types/video-model-response-metadata.ts +0 -28
- package/node_modules/ai/src/types/video-model.ts +0 -11
- package/node_modules/ai/src/types/warning.ts +0 -7
- package/node_modules/ai/src/ui/call-completion-api.ts +0 -157
- package/node_modules/ai/src/ui/chat-transport.ts +0 -83
- package/node_modules/ai/src/ui/chat.ts +0 -786
- package/node_modules/ai/src/ui/convert-file-list-to-file-ui-parts.ts +0 -36
- package/node_modules/ai/src/ui/convert-to-model-messages.ts +0 -379
- package/node_modules/ai/src/ui/default-chat-transport.ts +0 -36
- package/node_modules/ai/src/ui/direct-chat-transport.ts +0 -117
- package/node_modules/ai/src/ui/http-chat-transport.ts +0 -273
- package/node_modules/ai/src/ui/index.ts +0 -72
- package/node_modules/ai/src/ui/last-assistant-message-is-complete-with-approval-responses.ts +0 -44
- package/node_modules/ai/src/ui/last-assistant-message-is-complete-with-tool-calls.ts +0 -39
- package/node_modules/ai/src/ui/process-text-stream.ts +0 -16
- package/node_modules/ai/src/ui/process-ui-message-stream.ts +0 -845
- package/node_modules/ai/src/ui/text-stream-chat-transport.ts +0 -23
- package/node_modules/ai/src/ui/transform-text-to-ui-message-stream.ts +0 -27
- package/node_modules/ai/src/ui/ui-messages.ts +0 -540
- package/node_modules/ai/src/ui/use-completion.ts +0 -84
- package/node_modules/ai/src/ui/validate-ui-messages.ts +0 -510
- package/node_modules/ai/src/ui-message-stream/create-ui-message-stream-response.ts +0 -44
- package/node_modules/ai/src/ui-message-stream/create-ui-message-stream.ts +0 -145
- package/node_modules/ai/src/ui-message-stream/get-response-ui-message-id.ts +0 -35
- package/node_modules/ai/src/ui-message-stream/handle-ui-message-stream-finish.ts +0 -170
- package/node_modules/ai/src/ui-message-stream/index.ts +0 -14
- package/node_modules/ai/src/ui-message-stream/json-to-sse-transform-stream.ts +0 -17
- package/node_modules/ai/src/ui-message-stream/pipe-ui-message-stream-to-response.ts +0 -51
- package/node_modules/ai/src/ui-message-stream/read-ui-message-stream.ts +0 -87
- package/node_modules/ai/src/ui-message-stream/ui-message-chunks.ts +0 -350
- package/node_modules/ai/src/ui-message-stream/ui-message-stream-headers.ts +0 -7
- package/node_modules/ai/src/ui-message-stream/ui-message-stream-on-finish-callback.ts +0 -32
- package/node_modules/ai/src/ui-message-stream/ui-message-stream-on-step-finish-callback.ts +0 -25
- package/node_modules/ai/src/ui-message-stream/ui-message-stream-response-init.ts +0 -14
- package/node_modules/ai/src/ui-message-stream/ui-message-stream-writer.ts +0 -24
- package/node_modules/ai/src/util/as-array.ts +0 -3
- package/node_modules/ai/src/util/async-iterable-stream.ts +0 -94
- package/node_modules/ai/src/util/consume-stream.ts +0 -31
- package/node_modules/ai/src/util/cosine-similarity.ts +0 -46
- package/node_modules/ai/src/util/create-resolvable-promise.ts +0 -30
- package/node_modules/ai/src/util/create-stitchable-stream.ts +0 -112
- package/node_modules/ai/src/util/data-url.ts +0 -17
- package/node_modules/ai/src/util/deep-partial.ts +0 -84
- package/node_modules/ai/src/util/detect-media-type.ts +0 -226
- package/node_modules/ai/src/util/download/create-download.ts +0 -13
- package/node_modules/ai/src/util/download/download-function.ts +0 -45
- package/node_modules/ai/src/util/download/download.ts +0 -74
- package/node_modules/ai/src/util/error-handler.ts +0 -1
- package/node_modules/ai/src/util/fix-json.ts +0 -401
- package/node_modules/ai/src/util/get-potential-start-index.ts +0 -39
- package/node_modules/ai/src/util/index.ts +0 -12
- package/node_modules/ai/src/util/is-deep-equal-data.ts +0 -48
- package/node_modules/ai/src/util/is-non-empty-object.ts +0 -5
- package/node_modules/ai/src/util/job.ts +0 -1
- package/node_modules/ai/src/util/log-v2-compatibility-warning.ts +0 -21
- package/node_modules/ai/src/util/merge-abort-signals.ts +0 -43
- package/node_modules/ai/src/util/merge-objects.ts +0 -79
- package/node_modules/ai/src/util/notify.ts +0 -22
- package/node_modules/ai/src/util/now.ts +0 -4
- package/node_modules/ai/src/util/parse-partial-json.ts +0 -30
- package/node_modules/ai/src/util/prepare-headers.ts +0 -14
- package/node_modules/ai/src/util/prepare-retries.ts +0 -47
- package/node_modules/ai/src/util/retry-error.ts +0 -41
- package/node_modules/ai/src/util/retry-with-exponential-backoff.ts +0 -154
- package/node_modules/ai/src/util/serial-job-executor.ts +0 -36
- package/node_modules/ai/src/util/simulate-readable-stream.ts +0 -39
- package/node_modules/ai/src/util/split-array.ts +0 -20
- package/node_modules/ai/src/util/value-of.ts +0 -65
- package/node_modules/ai/src/util/write-to-server-response.ts +0 -49
- package/node_modules/ai/src/version.ts +0 -5
- package/node_modules/ajv/dist/2019.d.ts +0 -19
- package/node_modules/ajv/dist/2019.js.map +0 -1
- package/node_modules/ajv/dist/2020.d.ts +0 -19
- package/node_modules/ajv/dist/2020.js.map +0 -1
- package/node_modules/ajv/dist/ajv.d.ts +0 -18
- package/node_modules/ajv/dist/ajv.js.map +0 -1
- package/node_modules/ajv/dist/compile/codegen/code.d.ts +0 -40
- package/node_modules/ajv/dist/compile/codegen/code.js.map +0 -1
- package/node_modules/ajv/dist/compile/codegen/index.d.ts +0 -79
- package/node_modules/ajv/dist/compile/codegen/index.js.map +0 -1
- package/node_modules/ajv/dist/compile/codegen/scope.d.ts +0 -79
- package/node_modules/ajv/dist/compile/codegen/scope.js.map +0 -1
- package/node_modules/ajv/dist/compile/errors.d.ts +0 -13
- package/node_modules/ajv/dist/compile/errors.js.map +0 -1
- package/node_modules/ajv/dist/compile/index.d.ts +0 -80
- package/node_modules/ajv/dist/compile/index.js.map +0 -1
- package/node_modules/ajv/dist/compile/jtd/parse.d.ts +0 -4
- package/node_modules/ajv/dist/compile/jtd/parse.js.map +0 -1
- package/node_modules/ajv/dist/compile/jtd/serialize.d.ts +0 -4
- package/node_modules/ajv/dist/compile/jtd/serialize.js.map +0 -1
- package/node_modules/ajv/dist/compile/jtd/types.d.ts +0 -6
- package/node_modules/ajv/dist/compile/jtd/types.js.map +0 -1
- package/node_modules/ajv/dist/compile/names.d.ts +0 -20
- package/node_modules/ajv/dist/compile/names.js.map +0 -1
- package/node_modules/ajv/dist/compile/ref_error.d.ts +0 -6
- package/node_modules/ajv/dist/compile/ref_error.js.map +0 -1
- package/node_modules/ajv/dist/compile/resolve.d.ts +0 -12
- package/node_modules/ajv/dist/compile/resolve.js.map +0 -1
- package/node_modules/ajv/dist/compile/rules.d.ts +0 -28
- package/node_modules/ajv/dist/compile/rules.js.map +0 -1
- package/node_modules/ajv/dist/compile/util.d.ts +0 -40
- package/node_modules/ajv/dist/compile/util.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/applicability.d.ts +0 -6
- package/node_modules/ajv/dist/compile/validate/applicability.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +0 -4
- package/node_modules/ajv/dist/compile/validate/boolSchema.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/dataType.d.ts +0 -17
- package/node_modules/ajv/dist/compile/validate/dataType.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/defaults.d.ts +0 -2
- package/node_modules/ajv/dist/compile/validate/defaults.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/index.d.ts +0 -42
- package/node_modules/ajv/dist/compile/validate/index.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/keyword.d.ts +0 -8
- package/node_modules/ajv/dist/compile/validate/keyword.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/subschema.d.ts +0 -47
- package/node_modules/ajv/dist/compile/validate/subschema.js.map +0 -1
- package/node_modules/ajv/dist/core.d.ts +0 -174
- package/node_modules/ajv/dist/core.js.map +0 -1
- package/node_modules/ajv/dist/jtd.d.ts +0 -47
- package/node_modules/ajv/dist/jtd.js.map +0 -1
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +0 -2
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +0 -1
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +0 -2
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +0 -1
- package/node_modules/ajv/dist/refs/jtd-schema.d.ts +0 -3
- package/node_modules/ajv/dist/refs/jtd-schema.js.map +0 -1
- package/node_modules/ajv/dist/runtime/equal.d.ts +0 -6
- package/node_modules/ajv/dist/runtime/equal.js.map +0 -1
- package/node_modules/ajv/dist/runtime/parseJson.d.ts +0 -18
- package/node_modules/ajv/dist/runtime/parseJson.js.map +0 -1
- package/node_modules/ajv/dist/runtime/quote.d.ts +0 -5
- package/node_modules/ajv/dist/runtime/quote.js.map +0 -1
- package/node_modules/ajv/dist/runtime/re2.d.ts +0 -6
- package/node_modules/ajv/dist/runtime/re2.js.map +0 -1
- package/node_modules/ajv/dist/runtime/timestamp.d.ts +0 -5
- package/node_modules/ajv/dist/runtime/timestamp.js.map +0 -1
- package/node_modules/ajv/dist/runtime/ucs2length.d.ts +0 -5
- package/node_modules/ajv/dist/runtime/ucs2length.js.map +0 -1
- package/node_modules/ajv/dist/runtime/uri.d.ts +0 -6
- package/node_modules/ajv/dist/runtime/uri.js.map +0 -1
- package/node_modules/ajv/dist/runtime/validation_error.d.ts +0 -7
- package/node_modules/ajv/dist/runtime/validation_error.js.map +0 -1
- package/node_modules/ajv/dist/standalone/index.d.ts +0 -6
- package/node_modules/ajv/dist/standalone/index.js.map +0 -1
- package/node_modules/ajv/dist/standalone/instance.d.ts +0 -12
- package/node_modules/ajv/dist/standalone/instance.js.map +0 -1
- package/node_modules/ajv/dist/types/index.d.ts +0 -183
- package/node_modules/ajv/dist/types/index.js.map +0 -1
- package/node_modules/ajv/dist/types/json-schema.d.ts +0 -125
- package/node_modules/ajv/dist/types/json-schema.js.map +0 -1
- package/node_modules/ajv/dist/types/jtd-schema.d.ts +0 -174
- package/node_modules/ajv/dist/types/jtd-schema.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +0 -8
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +0 -4
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +0 -7
- package/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +0 -21
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/applicator/if.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +0 -13
- package/node_modules/ajv/dist/vocabularies/applicator/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/applicator/items.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +0 -4
- package/node_modules/ajv/dist/vocabularies/applicator/not.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/code.d.ts +0 -17
- package/node_modules/ajv/dist/vocabularies/code.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/core/id.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/core/id.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/core/index.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/core/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/core/ref.d.ts +0 -8
- package/node_modules/ajv/dist/vocabularies/core/ref.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +0 -10
- package/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/draft2020.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/draft2020.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/draft7.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/draft7.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/errors.d.ts +0 -9
- package/node_modules/ajv/dist/vocabularies/errors.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/format/format.d.ts +0 -8
- package/node_modules/ajv/dist/vocabularies/format/format.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/format/index.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/format/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +0 -9
- package/node_modules/ajv/dist/vocabularies/jtd/error.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +0 -10
- package/node_modules/ajv/dist/vocabularies/jtd/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +0 -4
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +0 -22
- package/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +0 -4
- package/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +0 -10
- package/node_modules/ajv/dist/vocabularies/jtd/type.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/jtd/union.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/jtd/values.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/metadata.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/metadata.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/next.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/next.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/const.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/validation/const.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +0 -8
- package/node_modules/ajv/dist/vocabularies/validation/enum.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/index.d.ts +0 -16
- package/node_modules/ajv/dist/vocabularies/validation/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +0 -11
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +0 -8
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +0 -8
- package/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/required.d.ts +0 -8
- package/node_modules/ajv/dist/vocabularies/validation/required.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +0 -9
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +0 -1
- package/node_modules/ajv/lib/2019.ts +0 -81
- package/node_modules/ajv/lib/2020.ts +0 -75
- package/node_modules/ajv/lib/ajv.ts +0 -70
- package/node_modules/ajv/lib/compile/codegen/code.ts +0 -169
- package/node_modules/ajv/lib/compile/codegen/index.ts +0 -852
- package/node_modules/ajv/lib/compile/codegen/scope.ts +0 -215
- package/node_modules/ajv/lib/compile/errors.ts +0 -184
- package/node_modules/ajv/lib/compile/index.ts +0 -324
- package/node_modules/ajv/lib/compile/jtd/parse.ts +0 -411
- package/node_modules/ajv/lib/compile/jtd/serialize.ts +0 -277
- package/node_modules/ajv/lib/compile/jtd/types.ts +0 -16
- package/node_modules/ajv/lib/compile/names.ts +0 -27
- package/node_modules/ajv/lib/compile/ref_error.ts +0 -13
- package/node_modules/ajv/lib/compile/resolve.ts +0 -149
- package/node_modules/ajv/lib/compile/rules.ts +0 -50
- package/node_modules/ajv/lib/compile/util.ts +0 -213
- package/node_modules/ajv/lib/compile/validate/applicability.ts +0 -22
- package/node_modules/ajv/lib/compile/validate/boolSchema.ts +0 -47
- package/node_modules/ajv/lib/compile/validate/dataType.ts +0 -230
- package/node_modules/ajv/lib/compile/validate/defaults.ts +0 -32
- package/node_modules/ajv/lib/compile/validate/index.ts +0 -582
- package/node_modules/ajv/lib/compile/validate/keyword.ts +0 -171
- package/node_modules/ajv/lib/compile/validate/subschema.ts +0 -135
- package/node_modules/ajv/lib/core.ts +0 -892
- package/node_modules/ajv/lib/jtd.ts +0 -132
- package/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +0 -28
- package/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +0 -30
- package/node_modules/ajv/lib/refs/jtd-schema.ts +0 -130
- package/node_modules/ajv/lib/runtime/equal.ts +0 -7
- package/node_modules/ajv/lib/runtime/parseJson.ts +0 -177
- package/node_modules/ajv/lib/runtime/quote.ts +0 -31
- package/node_modules/ajv/lib/runtime/re2.ts +0 -6
- package/node_modules/ajv/lib/runtime/timestamp.ts +0 -46
- package/node_modules/ajv/lib/runtime/ucs2length.ts +0 -20
- package/node_modules/ajv/lib/runtime/uri.ts +0 -6
- package/node_modules/ajv/lib/runtime/validation_error.ts +0 -13
- package/node_modules/ajv/lib/standalone/index.ts +0 -100
- package/node_modules/ajv/lib/standalone/instance.ts +0 -36
- package/node_modules/ajv/lib/types/index.ts +0 -244
- package/node_modules/ajv/lib/types/json-schema.ts +0 -187
- package/node_modules/ajv/lib/types/jtd-schema.ts +0 -273
- package/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +0 -56
- package/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +0 -118
- package/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +0 -22
- package/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +0 -14
- package/node_modules/ajv/lib/vocabularies/applicator/contains.ts +0 -109
- package/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +0 -112
- package/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +0 -11
- package/node_modules/ajv/lib/vocabularies/applicator/if.ts +0 -80
- package/node_modules/ajv/lib/vocabularies/applicator/index.ts +0 -53
- package/node_modules/ajv/lib/vocabularies/applicator/items.ts +0 -59
- package/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +0 -36
- package/node_modules/ajv/lib/vocabularies/applicator/not.ts +0 -38
- package/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +0 -82
- package/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +0 -91
- package/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +0 -12
- package/node_modules/ajv/lib/vocabularies/applicator/properties.ts +0 -57
- package/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +0 -50
- package/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +0 -13
- package/node_modules/ajv/lib/vocabularies/code.ts +0 -168
- package/node_modules/ajv/lib/vocabularies/core/id.ts +0 -10
- package/node_modules/ajv/lib/vocabularies/core/index.ts +0 -16
- package/node_modules/ajv/lib/vocabularies/core/ref.ts +0 -129
- package/node_modules/ajv/lib/vocabularies/discriminator/index.ts +0 -113
- package/node_modules/ajv/lib/vocabularies/discriminator/types.ts +0 -12
- package/node_modules/ajv/lib/vocabularies/draft2020.ts +0 -23
- package/node_modules/ajv/lib/vocabularies/draft7.ts +0 -17
- package/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +0 -31
- package/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +0 -51
- package/node_modules/ajv/lib/vocabularies/dynamic/index.ts +0 -9
- package/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +0 -14
- package/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +0 -10
- package/node_modules/ajv/lib/vocabularies/errors.ts +0 -18
- package/node_modules/ajv/lib/vocabularies/format/format.ts +0 -120
- package/node_modules/ajv/lib/vocabularies/format/index.ts +0 -6
- package/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +0 -89
- package/node_modules/ajv/lib/vocabularies/jtd/elements.ts +0 -32
- package/node_modules/ajv/lib/vocabularies/jtd/enum.ts +0 -45
- package/node_modules/ajv/lib/vocabularies/jtd/error.ts +0 -23
- package/node_modules/ajv/lib/vocabularies/jtd/index.ts +0 -37
- package/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +0 -24
- package/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +0 -21
- package/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +0 -15
- package/node_modules/ajv/lib/vocabularies/jtd/properties.ts +0 -184
- package/node_modules/ajv/lib/vocabularies/jtd/ref.ts +0 -76
- package/node_modules/ajv/lib/vocabularies/jtd/type.ts +0 -75
- package/node_modules/ajv/lib/vocabularies/jtd/union.ts +0 -12
- package/node_modules/ajv/lib/vocabularies/jtd/values.ts +0 -58
- package/node_modules/ajv/lib/vocabularies/metadata.ts +0 -17
- package/node_modules/ajv/lib/vocabularies/next.ts +0 -8
- package/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +0 -7
- package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +0 -47
- package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +0 -85
- package/node_modules/ajv/lib/vocabularies/validation/const.ts +0 -28
- package/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +0 -23
- package/node_modules/ajv/lib/vocabularies/validation/enum.ts +0 -54
- package/node_modules/ajv/lib/vocabularies/validation/index.ts +0 -49
- package/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +0 -16
- package/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +0 -26
- package/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +0 -30
- package/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +0 -42
- package/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +0 -26
- package/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +0 -34
- package/node_modules/ajv/lib/vocabularies/validation/pattern.ts +0 -39
- package/node_modules/ajv/lib/vocabularies/validation/required.ts +0 -98
- package/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +0 -79
- package/node_modules/ajv-formats/dist/formats.d.ts +0 -9
- package/node_modules/ajv-formats/dist/formats.js.map +0 -1
- package/node_modules/ajv-formats/dist/index.d.ts +0 -15
- package/node_modules/ajv-formats/dist/index.js.map +0 -1
- package/node_modules/ajv-formats/dist/limit.d.ts +0 -10
- package/node_modules/ajv-formats/dist/limit.js.map +0 -1
- package/node_modules/ajv-formats/src/formats.ts +0 -269
- package/node_modules/ajv-formats/src/index.ts +0 -62
- package/node_modules/ajv-formats/src/limit.ts +0 -99
- package/node_modules/balanced-match/dist/commonjs/index.d.ts +0 -9
- package/node_modules/balanced-match/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/balanced-match/dist/commonjs/index.js.map +0 -1
- package/node_modules/balanced-match/dist/esm/index.d.ts +0 -9
- package/node_modules/balanced-match/dist/esm/index.d.ts.map +0 -1
- package/node_modules/balanced-match/dist/esm/index.js.map +0 -1
- package/node_modules/brace-expansion/dist/commonjs/index.d.ts +0 -6
- package/node_modules/brace-expansion/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/brace-expansion/dist/commonjs/index.js.map +0 -1
- package/node_modules/brace-expansion/dist/esm/index.d.ts +0 -6
- package/node_modules/brace-expansion/dist/esm/index.d.ts.map +0 -1
- package/node_modules/brace-expansion/dist/esm/index.js.map +0 -1
- package/node_modules/cookie/dist/index.d.ts +0 -148
- package/node_modules/cookie/dist/index.js.map +0 -1
- package/node_modules/eventsource-parser/dist/index.cjs.map +0 -1
- package/node_modules/eventsource-parser/dist/index.d.cts +0 -144
- package/node_modules/eventsource-parser/dist/index.d.ts +0 -144
- package/node_modules/eventsource-parser/dist/index.js.map +0 -1
- package/node_modules/eventsource-parser/dist/stream.cjs.map +0 -1
- package/node_modules/eventsource-parser/dist/stream.d.cts +0 -118
- package/node_modules/eventsource-parser/dist/stream.d.ts +0 -118
- package/node_modules/eventsource-parser/dist/stream.js.map +0 -1
- package/node_modules/eventsource-parser/src/errors.ts +0 -44
- package/node_modules/eventsource-parser/src/index.ts +0 -3
- package/node_modules/eventsource-parser/src/parse.ts +0 -232
- package/node_modules/eventsource-parser/src/stream.ts +0 -88
- package/node_modules/eventsource-parser/src/types.ts +0 -97
- package/node_modules/fast-json-stringify/types/index.test-d.ts +0 -259
- package/node_modules/fast-uri/types/index.test-d.ts +0 -17
- package/node_modules/fastify-plugin/types/example-async.test-d.ts +0 -19
- package/node_modules/fastify-plugin/types/example-callback.test-d.ts +0 -19
- package/node_modules/fastify-plugin/types/plugin.test-d.ts +0 -166
- package/node_modules/foreground-child/dist/commonjs/all-signals.d.ts +0 -2
- package/node_modules/foreground-child/dist/commonjs/all-signals.d.ts.map +0 -1
- package/node_modules/foreground-child/dist/commonjs/all-signals.js.map +0 -1
- package/node_modules/foreground-child/dist/commonjs/index.d.ts +0 -58
- package/node_modules/foreground-child/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/foreground-child/dist/commonjs/index.js.map +0 -1
- package/node_modules/foreground-child/dist/commonjs/proxy-signals.d.ts +0 -6
- package/node_modules/foreground-child/dist/commonjs/proxy-signals.d.ts.map +0 -1
- package/node_modules/foreground-child/dist/commonjs/proxy-signals.js.map +0 -1
- package/node_modules/foreground-child/dist/commonjs/watchdog.d.ts +0 -10
- package/node_modules/foreground-child/dist/commonjs/watchdog.d.ts.map +0 -1
- package/node_modules/foreground-child/dist/commonjs/watchdog.js.map +0 -1
- package/node_modules/foreground-child/dist/esm/all-signals.d.ts +0 -2
- package/node_modules/foreground-child/dist/esm/all-signals.d.ts.map +0 -1
- package/node_modules/foreground-child/dist/esm/all-signals.js.map +0 -1
- package/node_modules/foreground-child/dist/esm/index.d.ts +0 -58
- package/node_modules/foreground-child/dist/esm/index.d.ts.map +0 -1
- package/node_modules/foreground-child/dist/esm/index.js.map +0 -1
- package/node_modules/foreground-child/dist/esm/proxy-signals.d.ts +0 -6
- package/node_modules/foreground-child/dist/esm/proxy-signals.d.ts.map +0 -1
- package/node_modules/foreground-child/dist/esm/proxy-signals.js.map +0 -1
- package/node_modules/foreground-child/dist/esm/watchdog.d.ts +0 -10
- package/node_modules/foreground-child/dist/esm/watchdog.d.ts.map +0 -1
- package/node_modules/foreground-child/dist/esm/watchdog.js.map +0 -1
- package/node_modules/glob/dist/commonjs/glob.d.ts +0 -388
- package/node_modules/glob/dist/commonjs/glob.d.ts.map +0 -1
- package/node_modules/glob/dist/commonjs/glob.js.map +0 -1
- package/node_modules/glob/dist/commonjs/has-magic.d.ts +0 -14
- package/node_modules/glob/dist/commonjs/has-magic.d.ts.map +0 -1
- package/node_modules/glob/dist/commonjs/has-magic.js.map +0 -1
- package/node_modules/glob/dist/commonjs/ignore.d.ts +0 -24
- package/node_modules/glob/dist/commonjs/ignore.d.ts.map +0 -1
- package/node_modules/glob/dist/commonjs/ignore.js.map +0 -1
- package/node_modules/glob/dist/commonjs/index.d.ts +0 -97
- package/node_modules/glob/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/glob/dist/commonjs/index.js.map +0 -1
- package/node_modules/glob/dist/commonjs/pattern.d.ts +0 -76
- package/node_modules/glob/dist/commonjs/pattern.d.ts.map +0 -1
- package/node_modules/glob/dist/commonjs/pattern.js.map +0 -1
- package/node_modules/glob/dist/commonjs/processor.d.ts +0 -59
- package/node_modules/glob/dist/commonjs/processor.d.ts.map +0 -1
- package/node_modules/glob/dist/commonjs/processor.js.map +0 -1
- package/node_modules/glob/dist/commonjs/walker.d.ts +0 -97
- package/node_modules/glob/dist/commonjs/walker.d.ts.map +0 -1
- package/node_modules/glob/dist/commonjs/walker.js.map +0 -1
- package/node_modules/glob/dist/esm/bin.d.mts +0 -3
- package/node_modules/glob/dist/esm/bin.d.mts.map +0 -1
- package/node_modules/glob/dist/esm/bin.mjs.map +0 -1
- package/node_modules/glob/dist/esm/glob.d.ts +0 -388
- package/node_modules/glob/dist/esm/glob.d.ts.map +0 -1
- package/node_modules/glob/dist/esm/glob.js.map +0 -1
- package/node_modules/glob/dist/esm/has-magic.d.ts +0 -14
- package/node_modules/glob/dist/esm/has-magic.d.ts.map +0 -1
- package/node_modules/glob/dist/esm/has-magic.js.map +0 -1
- package/node_modules/glob/dist/esm/ignore.d.ts +0 -24
- package/node_modules/glob/dist/esm/ignore.d.ts.map +0 -1
- package/node_modules/glob/dist/esm/ignore.js.map +0 -1
- package/node_modules/glob/dist/esm/index.d.ts +0 -97
- package/node_modules/glob/dist/esm/index.d.ts.map +0 -1
- package/node_modules/glob/dist/esm/index.js.map +0 -1
- package/node_modules/glob/dist/esm/pattern.d.ts +0 -76
- package/node_modules/glob/dist/esm/pattern.d.ts.map +0 -1
- package/node_modules/glob/dist/esm/pattern.js.map +0 -1
- package/node_modules/glob/dist/esm/processor.d.ts +0 -59
- package/node_modules/glob/dist/esm/processor.d.ts.map +0 -1
- package/node_modules/glob/dist/esm/processor.js.map +0 -1
- package/node_modules/glob/dist/esm/walker.d.ts +0 -97
- package/node_modules/glob/dist/esm/walker.d.ts.map +0 -1
- package/node_modules/glob/dist/esm/walker.js.map +0 -1
- package/node_modules/https-proxy-agent/dist/index.d.ts +0 -47
- package/node_modules/https-proxy-agent/dist/index.d.ts.map +0 -1
- package/node_modules/https-proxy-agent/dist/index.js.map +0 -1
- package/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +0 -15
- package/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts.map +0 -1
- package/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +0 -1
- package/node_modules/ip-address/dist/address-error.d.ts +0 -5
- package/node_modules/ip-address/dist/address-error.d.ts.map +0 -1
- package/node_modules/ip-address/dist/address-error.js.map +0 -1
- package/node_modules/ip-address/dist/common.d.ts +0 -15
- package/node_modules/ip-address/dist/common.d.ts.map +0 -1
- package/node_modules/ip-address/dist/common.js.map +0 -1
- package/node_modules/ip-address/dist/ip-address.d.ts +0 -8
- package/node_modules/ip-address/dist/ip-address.d.ts.map +0 -1
- package/node_modules/ip-address/dist/ip-address.js.map +0 -1
- package/node_modules/ip-address/dist/ipv4.d.ts +0 -209
- package/node_modules/ip-address/dist/ipv4.d.ts.map +0 -1
- package/node_modules/ip-address/dist/ipv4.js.map +0 -1
- package/node_modules/ip-address/dist/ipv6.d.ts +0 -428
- package/node_modules/ip-address/dist/ipv6.d.ts.map +0 -1
- package/node_modules/ip-address/dist/ipv6.js.map +0 -1
- package/node_modules/ip-address/dist/v4/constants.d.ts +0 -5
- package/node_modules/ip-address/dist/v4/constants.d.ts.map +0 -1
- package/node_modules/ip-address/dist/v4/constants.js.map +0 -1
- package/node_modules/ip-address/dist/v6/constants.d.ts +0 -45
- package/node_modules/ip-address/dist/v6/constants.d.ts.map +0 -1
- package/node_modules/ip-address/dist/v6/constants.js.map +0 -1
- package/node_modules/ip-address/dist/v6/helpers.d.ts +0 -18
- package/node_modules/ip-address/dist/v6/helpers.d.ts.map +0 -1
- package/node_modules/ip-address/dist/v6/helpers.js.map +0 -1
- package/node_modules/ip-address/dist/v6/regular-expressions.d.ts +0 -6
- package/node_modules/ip-address/dist/v6/regular-expressions.d.ts.map +0 -1
- package/node_modules/ip-address/dist/v6/regular-expressions.js.map +0 -1
- package/node_modules/ip-address/src/address-error.ts +0 -11
- package/node_modules/ip-address/src/common.ts +0 -55
- package/node_modules/ip-address/src/ip-address.ts +0 -7
- package/node_modules/ip-address/src/ipv4.ts +0 -394
- package/node_modules/ip-address/src/ipv6.ts +0 -1212
- package/node_modules/ip-address/src/v4/constants.ts +0 -7
- package/node_modules/ip-address/src/v6/constants.ts +0 -79
- package/node_modules/ip-address/src/v6/helpers.ts +0 -48
- package/node_modules/ip-address/src/v6/regular-expressions.ts +0 -94
- package/node_modules/jackspeak/dist/commonjs/index.d.ts +0 -323
- package/node_modules/jackspeak/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/jackspeak/dist/commonjs/index.js.map +0 -1
- package/node_modules/jackspeak/dist/commonjs/index.min.js.map +0 -7
- package/node_modules/jackspeak/dist/esm/index.d.ts +0 -323
- package/node_modules/jackspeak/dist/esm/index.d.ts.map +0 -1
- package/node_modules/jackspeak/dist/esm/index.js.map +0 -1
- package/node_modules/jackspeak/dist/esm/index.min.js.map +0 -7
- package/node_modules/json-schema-ref-resolver/types/index.test-d.ts +0 -23
- package/node_modules/light-my-request/node_modules/process-warning/types/index.test-d.ts +0 -36
- package/node_modules/light-my-request/types/index.test-d.ts +0 -149
- package/node_modules/lru-cache/dist/commonjs/index.d.ts +0 -1323
- package/node_modules/lru-cache/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/lru-cache/dist/commonjs/index.js.map +0 -1
- package/node_modules/lru-cache/dist/commonjs/index.min.js.map +0 -7
- package/node_modules/lru-cache/dist/esm/index.d.ts +0 -1323
- package/node_modules/lru-cache/dist/esm/index.d.ts.map +0 -1
- package/node_modules/lru-cache/dist/esm/index.js.map +0 -1
- package/node_modules/lru-cache/dist/esm/index.min.js.map +0 -7
- package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts +0 -2
- package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map +0 -1
- package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +0 -1
- package/node_modules/minimatch/dist/commonjs/ast.d.ts +0 -22
- package/node_modules/minimatch/dist/commonjs/ast.d.ts.map +0 -1
- package/node_modules/minimatch/dist/commonjs/ast.js.map +0 -1
- package/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts +0 -8
- package/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +0 -1
- package/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +0 -1
- package/node_modules/minimatch/dist/commonjs/escape.d.ts +0 -15
- package/node_modules/minimatch/dist/commonjs/escape.d.ts.map +0 -1
- package/node_modules/minimatch/dist/commonjs/escape.js.map +0 -1
- package/node_modules/minimatch/dist/commonjs/index.d.ts +0 -174
- package/node_modules/minimatch/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/minimatch/dist/commonjs/index.js.map +0 -1
- package/node_modules/minimatch/dist/commonjs/unescape.d.ts +0 -22
- package/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +0 -1
- package/node_modules/minimatch/dist/commonjs/unescape.js.map +0 -1
- package/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts +0 -2
- package/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map +0 -1
- package/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +0 -1
- package/node_modules/minimatch/dist/esm/ast.d.ts +0 -22
- package/node_modules/minimatch/dist/esm/ast.d.ts.map +0 -1
- package/node_modules/minimatch/dist/esm/ast.js.map +0 -1
- package/node_modules/minimatch/dist/esm/brace-expressions.d.ts +0 -8
- package/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +0 -1
- package/node_modules/minimatch/dist/esm/brace-expressions.js.map +0 -1
- package/node_modules/minimatch/dist/esm/escape.d.ts +0 -15
- package/node_modules/minimatch/dist/esm/escape.d.ts.map +0 -1
- package/node_modules/minimatch/dist/esm/escape.js.map +0 -1
- package/node_modules/minimatch/dist/esm/index.d.ts +0 -174
- package/node_modules/minimatch/dist/esm/index.d.ts.map +0 -1
- package/node_modules/minimatch/dist/esm/index.js.map +0 -1
- package/node_modules/minimatch/dist/esm/unescape.d.ts +0 -22
- package/node_modules/minimatch/dist/esm/unescape.d.ts.map +0 -1
- package/node_modules/minimatch/dist/esm/unescape.js.map +0 -1
- package/node_modules/minipass/dist/commonjs/index.d.ts +0 -545
- package/node_modules/minipass/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/minipass/dist/commonjs/index.js.map +0 -1
- package/node_modules/minipass/dist/esm/index.d.ts +0 -545
- package/node_modules/minipass/dist/esm/index.d.ts.map +0 -1
- package/node_modules/minipass/dist/esm/index.js.map +0 -1
- package/node_modules/node-pty/lib/eventEmitter2.test.js +0 -30
- package/node_modules/node-pty/lib/terminal.test.js +0 -139
- package/node_modules/node-pty/lib/testUtils.test.js +0 -28
- package/node_modules/node-pty/lib/unixTerminal.test.js +0 -351
- package/node_modules/node-pty/lib/windowsPtyAgent.test.js +0 -90
- package/node_modules/node-pty/lib/windowsTerminal.test.js +0 -219
- package/node_modules/node-pty/prebuilds/win32-x64/pty.node +0 -0
- package/node_modules/node-pty/prebuilds/win32-x64/pty.pdb +0 -0
- package/node_modules/node-pty/prebuilds/win32-x64/winpty-agent.exe +0 -0
- package/node_modules/node-pty/prebuilds/win32-x64/winpty-agent.pdb +0 -0
- package/node_modules/node-pty/prebuilds/win32-x64/winpty.dll +0 -0
- package/node_modules/node-pty/prebuilds/win32-x64/winpty.pdb +0 -0
- package/node_modules/package-json-from-dist/dist/commonjs/index.d.ts +0 -89
- package/node_modules/package-json-from-dist/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/package-json-from-dist/dist/commonjs/index.js.map +0 -1
- package/node_modules/package-json-from-dist/dist/esm/index.d.ts +0 -89
- package/node_modules/package-json-from-dist/dist/esm/index.d.ts.map +0 -1
- package/node_modules/package-json-from-dist/dist/esm/index.js.map +0 -1
- package/node_modules/path-scurry/dist/commonjs/index.d.ts +0 -1115
- package/node_modules/path-scurry/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/path-scurry/dist/commonjs/index.js.map +0 -1
- package/node_modules/path-scurry/dist/esm/index.d.ts +0 -1115
- package/node_modules/path-scurry/dist/esm/index.d.ts.map +0 -1
- package/node_modules/path-scurry/dist/esm/index.js.map +0 -1
- package/node_modules/process-warning/types/index.test-d.ts +0 -36
- package/node_modules/ret/dist/index.d.ts +0 -7
- package/node_modules/ret/dist/index.js.map +0 -1
- package/node_modules/ret/dist/reconstruct.d.ts +0 -2
- package/node_modules/ret/dist/reconstruct.js.map +0 -1
- package/node_modules/ret/dist/sets-lookup.d.ts +0 -5
- package/node_modules/ret/dist/sets-lookup.js.map +0 -1
- package/node_modules/ret/dist/sets.d.ts +0 -9
- package/node_modules/ret/dist/sets.js.map +0 -1
- package/node_modules/ret/dist/tokenizer.d.ts +0 -8
- package/node_modules/ret/dist/tokenizer.js.map +0 -1
- package/node_modules/ret/dist/types/index.d.ts +0 -3
- package/node_modules/ret/dist/types/index.js.map +0 -1
- package/node_modules/ret/dist/types/set-lookup.d.ts +0 -8
- package/node_modules/ret/dist/types/set-lookup.js.map +0 -1
- package/node_modules/ret/dist/types/tokens.d.ts +0 -41
- package/node_modules/ret/dist/types/tokens.js.map +0 -1
- package/node_modules/ret/dist/types/types.d.ts +0 -10
- package/node_modules/ret/dist/types/types.js.map +0 -1
- package/node_modules/ret/dist/util.d.ts +0 -18
- package/node_modules/ret/dist/util.js.map +0 -1
- package/node_modules/ret/dist/write-set-tokens.d.ts +0 -14
- package/node_modules/ret/dist/write-set-tokens.js.map +0 -1
- package/node_modules/rfdc/index.test-d.ts +0 -13
- package/node_modules/safe-regex2/types/index.test-d.ts +0 -12
- package/node_modules/secure-json-parse/types/index.test-d.ts +0 -43
- package/node_modules/signal-exit/dist/cjs/browser.d.ts +0 -12
- package/node_modules/signal-exit/dist/cjs/browser.d.ts.map +0 -1
- package/node_modules/signal-exit/dist/cjs/browser.js.map +0 -1
- package/node_modules/signal-exit/dist/cjs/index.d.ts +0 -48
- package/node_modules/signal-exit/dist/cjs/index.d.ts.map +0 -1
- package/node_modules/signal-exit/dist/cjs/index.js.map +0 -1
- package/node_modules/signal-exit/dist/cjs/signals.d.ts +0 -29
- package/node_modules/signal-exit/dist/cjs/signals.d.ts.map +0 -1
- package/node_modules/signal-exit/dist/cjs/signals.js.map +0 -1
- package/node_modules/signal-exit/dist/mjs/browser.d.ts +0 -12
- package/node_modules/signal-exit/dist/mjs/browser.d.ts.map +0 -1
- package/node_modules/signal-exit/dist/mjs/browser.js.map +0 -1
- package/node_modules/signal-exit/dist/mjs/index.d.ts +0 -48
- package/node_modules/signal-exit/dist/mjs/index.d.ts.map +0 -1
- package/node_modules/signal-exit/dist/mjs/index.js.map +0 -1
- package/node_modules/signal-exit/dist/mjs/signals.d.ts +0 -29
- package/node_modules/signal-exit/dist/mjs/signals.d.ts.map +0 -1
- package/node_modules/signal-exit/dist/mjs/signals.js.map +0 -1
- package/node_modules/socks-proxy-agent/dist/index.d.ts +0 -27
- package/node_modules/socks-proxy-agent/dist/index.d.ts.map +0 -1
- package/node_modules/socks-proxy-agent/dist/index.js.map +0 -1
- package/node_modules/standardwebhooks/dist/index.d.ts +0 -24
- package/node_modules/standardwebhooks/dist/index.js.map +0 -1
- package/node_modules/standardwebhooks/dist/timing_safe_equal.d.ts +0 -1
- package/node_modules/standardwebhooks/dist/timing_safe_equal.js.map +0 -1
- package/node_modules/std-env/dist/index.d.cts +0 -92
- package/node_modules/std-env/dist/index.d.mts +0 -92
- package/node_modules/std-env/dist/index.d.ts +0 -92
- package/node_modules/zod/src/index.ts +0 -4
- package/node_modules/zod/src/locales/index.ts +0 -1
- package/node_modules/zod/src/mini/index.ts +0 -3
- package/node_modules/zod/src/v3/ZodError.ts +0 -330
- package/node_modules/zod/src/v3/errors.ts +0 -13
- package/node_modules/zod/src/v3/external.ts +0 -6
- package/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
- package/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
- package/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
- package/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
- package/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
- package/node_modules/zod/src/v3/helpers/util.ts +0 -224
- package/node_modules/zod/src/v3/index.ts +0 -4
- package/node_modules/zod/src/v3/locales/en.ts +0 -124
- package/node_modules/zod/src/v3/standard-schema.ts +0 -113
- package/node_modules/zod/src/v3/types.ts +0 -5138
- package/node_modules/zod/src/v4/classic/checks.ts +0 -32
- package/node_modules/zod/src/v4/classic/coerce.ts +0 -27
- package/node_modules/zod/src/v4/classic/compat.ts +0 -70
- package/node_modules/zod/src/v4/classic/errors.ts +0 -82
- package/node_modules/zod/src/v4/classic/external.ts +0 -51
- package/node_modules/zod/src/v4/classic/from-json-schema.ts +0 -643
- package/node_modules/zod/src/v4/classic/index.ts +0 -5
- package/node_modules/zod/src/v4/classic/iso.ts +0 -90
- package/node_modules/zod/src/v4/classic/parse.ts +0 -82
- package/node_modules/zod/src/v4/classic/schemas.ts +0 -2409
- package/node_modules/zod/src/v4/core/api.ts +0 -1798
- package/node_modules/zod/src/v4/core/checks.ts +0 -1293
- package/node_modules/zod/src/v4/core/config.ts +0 -15
- package/node_modules/zod/src/v4/core/core.ts +0 -138
- package/node_modules/zod/src/v4/core/doc.ts +0 -44
- package/node_modules/zod/src/v4/core/errors.ts +0 -448
- package/node_modules/zod/src/v4/core/index.ts +0 -16
- package/node_modules/zod/src/v4/core/json-schema-generator.ts +0 -126
- package/node_modules/zod/src/v4/core/json-schema-processors.ts +0 -667
- package/node_modules/zod/src/v4/core/json-schema.ts +0 -147
- package/node_modules/zod/src/v4/core/parse.ts +0 -195
- package/node_modules/zod/src/v4/core/regexes.ts +0 -183
- package/node_modules/zod/src/v4/core/registries.ts +0 -105
- package/node_modules/zod/src/v4/core/schemas.ts +0 -4538
- package/node_modules/zod/src/v4/core/standard-schema.ts +0 -159
- package/node_modules/zod/src/v4/core/to-json-schema.ts +0 -613
- package/node_modules/zod/src/v4/core/util.ts +0 -966
- package/node_modules/zod/src/v4/core/versions.ts +0 -5
- package/node_modules/zod/src/v4/core/zsf.ts +0 -323
- package/node_modules/zod/src/v4/index.ts +0 -4
- package/node_modules/zod/src/v4/locales/ar.ts +0 -115
- package/node_modules/zod/src/v4/locales/az.ts +0 -111
- package/node_modules/zod/src/v4/locales/be.ts +0 -176
- package/node_modules/zod/src/v4/locales/bg.ts +0 -128
- package/node_modules/zod/src/v4/locales/ca.ts +0 -116
- package/node_modules/zod/src/v4/locales/cs.ts +0 -118
- package/node_modules/zod/src/v4/locales/da.ts +0 -123
- package/node_modules/zod/src/v4/locales/de.ts +0 -116
- package/node_modules/zod/src/v4/locales/en.ts +0 -119
- package/node_modules/zod/src/v4/locales/eo.ts +0 -118
- package/node_modules/zod/src/v4/locales/es.ts +0 -141
- package/node_modules/zod/src/v4/locales/fa.ts +0 -126
- package/node_modules/zod/src/v4/locales/fi.ts +0 -121
- package/node_modules/zod/src/v4/locales/fr-CA.ts +0 -116
- package/node_modules/zod/src/v4/locales/fr.ts +0 -116
- package/node_modules/zod/src/v4/locales/he.ts +0 -246
- package/node_modules/zod/src/v4/locales/hu.ts +0 -117
- package/node_modules/zod/src/v4/locales/hy.ts +0 -164
- package/node_modules/zod/src/v4/locales/id.ts +0 -115
- package/node_modules/zod/src/v4/locales/index.ts +0 -49
- package/node_modules/zod/src/v4/locales/is.ts +0 -119
- package/node_modules/zod/src/v4/locales/it.ts +0 -116
- package/node_modules/zod/src/v4/locales/ja.ts +0 -114
- package/node_modules/zod/src/v4/locales/ka.ts +0 -123
- package/node_modules/zod/src/v4/locales/kh.ts +0 -7
- package/node_modules/zod/src/v4/locales/km.ts +0 -119
- package/node_modules/zod/src/v4/locales/ko.ts +0 -121
- package/node_modules/zod/src/v4/locales/lt.ts +0 -239
- package/node_modules/zod/src/v4/locales/mk.ts +0 -118
- package/node_modules/zod/src/v4/locales/ms.ts +0 -115
- package/node_modules/zod/src/v4/locales/nl.ts +0 -121
- package/node_modules/zod/src/v4/locales/no.ts +0 -116
- package/node_modules/zod/src/v4/locales/ota.ts +0 -117
- package/node_modules/zod/src/v4/locales/pl.ts +0 -118
- package/node_modules/zod/src/v4/locales/ps.ts +0 -126
- package/node_modules/zod/src/v4/locales/pt.ts +0 -116
- package/node_modules/zod/src/v4/locales/ru.ts +0 -176
- package/node_modules/zod/src/v4/locales/sl.ts +0 -118
- package/node_modules/zod/src/v4/locales/sv.ts +0 -119
- package/node_modules/zod/src/v4/locales/ta.ts +0 -118
- package/node_modules/zod/src/v4/locales/th.ts +0 -119
- package/node_modules/zod/src/v4/locales/tr.ts +0 -111
- package/node_modules/zod/src/v4/locales/ua.ts +0 -7
- package/node_modules/zod/src/v4/locales/uk.ts +0 -117
- package/node_modules/zod/src/v4/locales/ur.ts +0 -119
- package/node_modules/zod/src/v4/locales/uz.ts +0 -116
- package/node_modules/zod/src/v4/locales/vi.ts +0 -117
- package/node_modules/zod/src/v4/locales/yo.ts +0 -124
- package/node_modules/zod/src/v4/locales/zh-CN.ts +0 -116
- package/node_modules/zod/src/v4/locales/zh-TW.ts +0 -115
- package/node_modules/zod/src/v4/mini/checks.ts +0 -32
- package/node_modules/zod/src/v4/mini/coerce.ts +0 -27
- package/node_modules/zod/src/v4/mini/external.ts +0 -40
- package/node_modules/zod/src/v4/mini/index.ts +0 -3
- package/node_modules/zod/src/v4/mini/iso.ts +0 -66
- package/node_modules/zod/src/v4/mini/parse.ts +0 -14
- package/node_modules/zod/src/v4/mini/schemas.ts +0 -1916
- package/node_modules/zod/src/v4-mini/index.ts +0 -3
- /package/dist/ui/_next/static/{mdMHDbGZjrTGtK1FO_zRW → TZ22MxWjeATJu-EDTHIIW}/_buildManifest.js +0 -0
- /package/dist/ui/_next/static/{mdMHDbGZjrTGtK1FO_zRW → TZ22MxWjeATJu-EDTHIIW}/_clientMiddlewareManifest.json +0 -0
- /package/dist/ui/_next/static/{mdMHDbGZjrTGtK1FO_zRW → TZ22MxWjeATJu-EDTHIIW}/_ssgManifest.js +0 -0
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import type Ajv from "ajv"
|
|
2
|
-
import type {
|
|
3
|
-
Plugin,
|
|
4
|
-
CodeKeywordDefinition,
|
|
5
|
-
KeywordErrorDefinition,
|
|
6
|
-
Code,
|
|
7
|
-
Name,
|
|
8
|
-
ErrorObject,
|
|
9
|
-
} from "ajv"
|
|
10
|
-
import type {AddedFormat} from "ajv/dist/types"
|
|
11
|
-
import type {Rule} from "ajv/dist/compile/rules"
|
|
12
|
-
import {KeywordCxt} from "ajv"
|
|
13
|
-
import {_, str, or, getProperty, operators} from "ajv/dist/compile/codegen"
|
|
14
|
-
|
|
15
|
-
type Kwd = "formatMaximum" | "formatMinimum" | "formatExclusiveMaximum" | "formatExclusiveMinimum"
|
|
16
|
-
|
|
17
|
-
type Comparison = "<=" | ">=" | "<" | ">"
|
|
18
|
-
|
|
19
|
-
const ops = operators
|
|
20
|
-
|
|
21
|
-
const KWDs: {[K in Kwd]: {okStr: Comparison; ok: Code; fail: Code}} = {
|
|
22
|
-
formatMaximum: {okStr: "<=", ok: ops.LTE, fail: ops.GT},
|
|
23
|
-
formatMinimum: {okStr: ">=", ok: ops.GTE, fail: ops.LT},
|
|
24
|
-
formatExclusiveMaximum: {okStr: "<", ok: ops.LT, fail: ops.GTE},
|
|
25
|
-
formatExclusiveMinimum: {okStr: ">", ok: ops.GT, fail: ops.LTE},
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export type LimitFormatError = ErrorObject<Kwd, {limit: string; comparison: Comparison}>
|
|
29
|
-
|
|
30
|
-
const error: KeywordErrorDefinition = {
|
|
31
|
-
message: ({keyword, schemaCode}) => str`should be ${KWDs[keyword as Kwd].okStr} ${schemaCode}`,
|
|
32
|
-
params: ({keyword, schemaCode}) =>
|
|
33
|
-
_`{comparison: ${KWDs[keyword as Kwd].okStr}, limit: ${schemaCode}}`,
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export const formatLimitDefinition: CodeKeywordDefinition = {
|
|
37
|
-
keyword: Object.keys(KWDs),
|
|
38
|
-
type: "string",
|
|
39
|
-
schemaType: "string",
|
|
40
|
-
$data: true,
|
|
41
|
-
error,
|
|
42
|
-
code(cxt) {
|
|
43
|
-
const {gen, data, schemaCode, keyword, it} = cxt
|
|
44
|
-
const {opts, self} = it
|
|
45
|
-
if (!opts.validateFormats) return
|
|
46
|
-
|
|
47
|
-
const fCxt = new KeywordCxt(it, (self.RULES.all.format as Rule).definition, "format")
|
|
48
|
-
if (fCxt.$data) validate$DataFormat()
|
|
49
|
-
else validateFormat()
|
|
50
|
-
|
|
51
|
-
function validate$DataFormat(): void {
|
|
52
|
-
const fmts = gen.scopeValue("formats", {
|
|
53
|
-
ref: self.formats,
|
|
54
|
-
code: opts.code.formats,
|
|
55
|
-
})
|
|
56
|
-
const fmt = gen.const("fmt", _`${fmts}[${fCxt.schemaCode}]`)
|
|
57
|
-
cxt.fail$data(
|
|
58
|
-
or(
|
|
59
|
-
_`typeof ${fmt} != "object"`,
|
|
60
|
-
_`${fmt} instanceof RegExp`,
|
|
61
|
-
_`typeof ${fmt}.compare != "function"`,
|
|
62
|
-
compareCode(fmt)
|
|
63
|
-
)
|
|
64
|
-
)
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
function validateFormat(): void {
|
|
68
|
-
const format = fCxt.schema as string
|
|
69
|
-
const fmtDef: AddedFormat | undefined = self.formats[format]
|
|
70
|
-
if (!fmtDef || fmtDef === true) return
|
|
71
|
-
if (
|
|
72
|
-
typeof fmtDef != "object" ||
|
|
73
|
-
fmtDef instanceof RegExp ||
|
|
74
|
-
typeof fmtDef.compare != "function"
|
|
75
|
-
) {
|
|
76
|
-
throw new Error(`"${keyword}": format "${format}" does not define "compare" function`)
|
|
77
|
-
}
|
|
78
|
-
const fmt = gen.scopeValue("formats", {
|
|
79
|
-
key: format,
|
|
80
|
-
ref: fmtDef,
|
|
81
|
-
code: opts.code.formats ? _`${opts.code.formats}${getProperty(format)}` : undefined,
|
|
82
|
-
})
|
|
83
|
-
|
|
84
|
-
cxt.fail$data(compareCode(fmt))
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
function compareCode(fmt: Name): Code {
|
|
88
|
-
return _`${fmt}.compare(${data}, ${schemaCode}) ${KWDs[keyword as Kwd].fail} 0`
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
dependencies: ["format"],
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
const formatLimitPlugin: Plugin<undefined> = (ajv: Ajv): Ajv => {
|
|
95
|
-
ajv.addKeyword(formatLimitDefinition)
|
|
96
|
-
return ajv
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
export default formatLimitPlugin
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare const balanced: (a: string | RegExp, b: string | RegExp, str: string) => false | {
|
|
2
|
-
start: number;
|
|
3
|
-
end: number;
|
|
4
|
-
pre: string;
|
|
5
|
-
body: string;
|
|
6
|
-
post: string;
|
|
7
|
-
} | undefined;
|
|
8
|
-
export declare const range: (a: string, b: string, str: string) => undefined | [number, number];
|
|
9
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,GACnB,GAAG,MAAM,GAAG,MAAM,EAClB,GAAG,MAAM,GAAG,MAAM,EAClB,KAAK,MAAM;;;;;;aAgBZ,CAAA;AAOD,eAAO,MAAM,KAAK,GAChB,GAAG,MAAM,EACT,GAAG,MAAM,EACT,KAAK,MAAM,KACV,SAAS,GAAG,CAAC,MAAM,EAAE,MAAM,CA2C7B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAO,MAAM,QAAQ,GAAG,CACtB,CAAkB,EAClB,CAAkB,EAClB,GAAW,EACX,EAAE;IACF,MAAM,EAAE,GAAG,CAAC,YAAY,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IACvD,MAAM,EAAE,GAAG,CAAC,YAAY,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IAEvD,MAAM,CAAC,GAAG,EAAE,KAAK,IAAI,IAAI,EAAE,IAAI,IAAI,IAAI,IAAA,aAAK,EAAC,EAAE,EAAE,EAAE,EAAE,GAAG,CAAC,CAAA;IAEzD,OAAO,CACL,CAAC,IAAI;QACH,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC;QACX,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC;QACT,GAAG,EAAE,GAAG,CAAC,K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AI,CAAC,KAAK,EAAE,EAAE,CAAC;gBACb,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;gBACZ,EAAE,GAAG,GAAG,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAA;YAC5B,CAAC;iBAAM,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBAC7B,MAAM,CAAC,GAAG,IAAI,CAAC,GAAG,EAAE,CAAA;gBACpB,IAAI,CAAC,KAAK,SAAS;oBAAE,MAAM,GAAG,CAAC,CAAC,EAAE,EAAE,CAAC,CAAA;YACvC,CAAC;iBAAM,CAAC;gBACN,GAAG,GAAG,IAAI,CAAC,GAAG,EAAE,CAAA;gBAChB,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,GAAG,IAAI,EAAE,CAAC;oBACpC,IAAI,GAAG,GAAG,CAAA;oBACV,KAAK,GAAG,EAAE,CAAA;gBACZ,CAAC;gBAED,EAAE,GAAG,GAAG,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAA;YAC5B,CAAC;YAED,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAA;QAClC,CAAC;QAED,IAAI,IAAI,CAAC,MAAM,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACvC,MAAM,GAAG,CAAC,IAAI,EAAE,KAAK,CAAC,CAAA;QACxB,CAAC;IACH,CAAC;IAED,OAAO,MAAM,CAAA;AACf,CAAC,CAAA;AA/CY,QAAA,KAAK,SA+CjB","sourcesContent":["export const balanced = (\n a: string | RegExp,\n b: string | RegExp,\n str: string,\n) => {\n const ma = a instanceof RegExp ? maybeMatch(a, str) : a\n const mb = b instanceof RegExp ? maybeMatch(b, str) : b\n\n const r = ma !== null && mb != null && range(ma, mb, str)\n\n return (\n r && {\n start: r[0],\n end: r[1],\n pre: str.slice(0, r[0]),\n body: str.slice(r[0] + ma.length, r[1]),\n post: str.slice(r[1] + mb.length),\n }\n )\n}\n\nconst maybeMatch = (reg: RegExp, str: string) => {\n const m = str.match(reg)\n return m ? m[0] : null\n}\n\nexport const range = (\n a: string,\n b: string,\n str: string,\n): undefined | [number, number] => {\n let begs: number[],\n beg: number | undefined,\n left: number,\n right: number | undefined = undefined,\n result: undefined | [number, number]\n let ai = str.indexOf(a)\n let bi = str.indexOf(b, ai + 1)\n let i = ai\n\n if (ai >= 0 && bi > 0) {\n if (a === b) {\n return [ai, bi]\n }\n begs = []\n left = str.length\n\n while (i >= 0 && !result) {\n if (i === ai) {\n begs.push(i)\n ai = str.indexOf(a, i + 1)\n } else if (begs.length === 1) {\n const r = begs.pop()\n if (r !== undefined) result = [r, bi]\n } else {\n beg = begs.pop()\n if (beg !== undefined && beg < left) {\n left = beg\n right = bi\n }\n\n bi = str.indexOf(b, i + 1)\n }\n\n i = ai < bi && ai >= 0 ? ai : bi\n }\n\n if (begs.length && right !== undefined) {\n result = [left, right]\n }\n }\n\n return result\n}\n"]}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare const balanced: (a: string | RegExp, b: string | RegExp, str: string) => false | {
|
|
2
|
-
start: number;
|
|
3
|
-
end: number;
|
|
4
|
-
pre: string;
|
|
5
|
-
body: string;
|
|
6
|
-
post: string;
|
|
7
|
-
} | undefined;
|
|
8
|
-
export declare const range: (a: string, b: string, str: string) => undefined | [number, number];
|
|
9
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,GACnB,GAAG,MAAM,GAAG,MAAM,EAClB,GAAG,MAAM,GAAG,MAAM,EAClB,KAAK,MAAM;;;;;;aAgBZ,CAAA;AAOD,eAAO,MAAM,KAAK,GAChB,GAAG,MAAM,EACT,GAAG,MAAM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AAK,SAAS,IAAI,GAAG,GAAG,IAAI,EAAE,CAAC;oBACpC,IAAI,GAAG,GAAG,CAAA;oBACV,KAAK,GAAG,EAAE,CAAA;gBACZ,CAAC;gBAED,EAAE,GAAG,GAAG,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAA;YAC5B,CAAC;YAED,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAA;QAClC,CAAC;QAED,IAAI,IAAI,CAAC,MAAM,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACvC,MAAM,GAAG,CAAC,IAAI,EAAE,KAAK,CAAC,CAAA;QACxB,CAAC;IACH,CAAC;IAED,OAAO,MAAM,CAAA;AACf,CAAC,CAAA","sourcesContent":["export const balanced = (\n a: string | RegExp,\n b: string | RegExp,\n str: string,\n) => {\n const ma = a instanceof RegExp ? maybeMatch(a, str) : a\n const mb = b instanceof RegExp ? maybeMatch(b, str) : b\n\n const r = ma !== null && mb != null && range(ma, mb, str)\n\n return (\n r && {\n start: r[0],\n end: r[1],\n pre: str.slice(0, r[0]),\n body: str.slice(r[0] + ma.length, r[1]),\n post: str.slice(r[1] + mb.length),\n }\n )\n}\n\nconst maybeMatch = (reg: RegExp, str: string) => {\n const m = str.match(reg)\n return m ? m[0] : null\n}\n\nexport const range = (\n a: string,\n b: string,\n str: string,\n): undefined | [number, number] => {\n let begs: number[],\n beg: number | undefined,\n left: number,\n right: number | undefined = undefined,\n result: undefined | [number, number]\n let ai = str.indexOf(a)\n let bi = str.indexOf(b, ai + 1)\n let i = ai\n\n if (ai >= 0 && bi > 0) {\n if (a === b) {\n return [ai, bi]\n }\n begs = []\n left = str.length\n\n while (i >= 0 && !result) {\n if (i === ai) {\n begs.push(i)\n ai = str.indexOf(a, i + 1)\n } else if (begs.length === 1) {\n const r = begs.pop()\n if (r !== undefined) result = [r, bi]\n } else {\n beg = begs.pop()\n if (beg !== undefined && beg < left) {\n left = beg\n right = bi\n }\n\n bi = str.indexOf(b, i + 1)\n }\n\n i = ai < bi && ai >= 0 ? ai : bi\n }\n\n if (begs.length && right !== undefined) {\n result = [left, right]\n }\n }\n\n return result\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAkBA,eAAO,MAAM,aAAa,SAAU,CAAA;AAwDpC,MAAM,MAAM,qBAAqB,GAAG;IAClC,GAAG,CAAC,EAAE,MAAM,CAAA;CACb,CAAA;AAED,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,GAAE,qBAA0B,YAkBtE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AA8EA,wBAkBC;AAhGD,mDAAyC;AAEzC,MAAM,QAAQ,GAAG,SAAS,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,CAAA;AACjD,MAAM,OAAO,GAAG,QAAQ,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,CAAA;AAC/C,MAAM,QAAQ,GAAG,SAAS,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,CAAA;AACjD,MAAM,QAAQ,GAAG,SAAS,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,CAAA;AACjD,MAAM,SAAS,GAAG,UAAU,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,CAAA;AACnD,MAAM,eAAe,GAAG,IAAI,MAAM,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAA;AACjD,MAAM,cAAc,GAAG,IAAI,MAAM,CAAC,OAAO,EAAE,GAAG,CAAC,CAAA;AAC/C,MAAM,eAAe,GAAG,IAAI,MAAM,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAA;AACjD,MAAM,eA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AE,EAAE,CAAC;gBAClC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAW,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC,CAAA;YACtD,CAAC;QACH,CAAC;QAED,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YAClC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,IAAI,UAAU,CAAC,MAAM,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;gBAChE,MAAM,SAAS,GAAG,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,CAAA;gBACtC,IAAI,CAAC,KAAK,IAAI,UAAU,IAAI,SAAS,EAAE,CAAC;oBACtC,UAAU,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;gBAC5B,CAAC;YACH,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,UAAU,CAAA;AACnB,CAAC","sourcesContent":["import { balanced } from 'balanced-match'\n\nconst escSlash = '\\0SLASH' + Math.random() + '\\0'\nconst escOpen = '\\0OPEN' + Math.random() + '\\0'\nconst escClose = '\\0CLOSE' + Math.random() + '\\0'\nconst escComma = '\\0COMMA' + Math.random() + '\\0'\nconst escPeriod = '\\0PERIOD' + Math.random() + '\\0'\nconst escSlashPattern = new RegExp(escSlash, 'g')\nconst escOpenPattern = new RegExp(escOpen, 'g')\nconst escClosePattern = new RegExp(escClose, 'g')\nconst escCommaPattern = new RegExp(escComma, 'g')\nconst escPeriodPattern = new RegExp(escPeriod, 'g')\nconst slashPattern = /\\\\\\\\/g\nconst openPattern = /\\\\{/g\nconst closePattern = /\\\\}/g\nconst commaPattern = /\\\\,/g\nconst periodPattern = /\\\\\\./g\n\nexport const EXPANSION_MAX = 100_000\n\nfunction numeric(str: string) {\n return !isNaN(str as any) ? parseInt(str, 10) : str.charCodeAt(0)\n}\n\nfunction escapeBraces(str: string) {\n return str\n .replace(slashPattern, escSlash)\n .replace(openPattern, escOpen)\n .replace(closePattern, escClose)\n .replace(commaPattern, escComma)\n .replace(periodPattern, escPeriod)\n}\n\nfunction unescapeBraces(str: string) {\n return str\n .replace(escSlashPattern, '\\\\')\n .replace(escOpenPattern, '{')\n .replace(escClosePattern, '}')\n .replace(escCommaPattern, ',')\n .replace(escPeriodPattern, '.')\n}\n\n/**\n * Basically just str.split(\",\"), but handling cases\n * where we have nested braced sections, which should be\n * treated as individual members, like {a,{b,c},d}\n */\nfunction parseCommaParts(str: string) {\n if (!str) {\n return ['']\n }\n\n const parts: string[] = []\n const m = balanced('{', '}', str)\n\n if (!m) {\n return str.split(',')\n }\n\n const { pre, body, post } = m\n const p = pre.split(',')\n\n p[p.length - 1] += '{' + body + '}'\n const postParts = parseCommaParts(post)\n if (post.length) {\n ;(p[p.length - 1] as string) += postParts.shift()\n p.push.apply(p, postParts)\n }\n\n parts.push.apply(parts, p)\n\n return parts\n}\n\nexport type BraceExpansionOptions = {\n max?: number\n}\n\nexport function expand(str: string, options: BraceExpansionOptions = {}) {\n if (!str) {\n return []\n }\n\n const { max = EXPANSION_MAX } = options\n\n // I don't know why Bash 4.3 does this, but it does.\n // Anything starting with {} will have the first two bytes preserved\n // but *only* at the top level, so {},a}b will not expand to anything,\n // but a{},b}c will be expanded to [a}c,abc].\n // One could argue that this is a bug in Bash, but since the goal of\n // this module is to match Bash's rules, we escape a leading {}\n if (str.slice(0, 2) === '{}') {\n str = '\\\\{\\\\}' + str.slice(2)\n }\n\n return expand_(escapeBraces(str), max, true).map(unescapeBraces)\n}\n\nfunction embrace(str: string) {\n return '{' + str + '}'\n}\n\nfunction isPadded(el: string) {\n return /^-?0\\d/.test(el)\n}\n\nfunction lte(i: number, y: number) {\n return i <= y\n}\n\nfunction gte(i: number, y: number) {\n return i >= y\n}\n\nfunction expand_(str: string, max: number, isTop: boolean): string[] {\n /** @type {string[]} */\n const expansions: string[] = []\n\n const m = balanced('{', '}', str)\n if (!m) return [str]\n\n // no need to expand pre, since it is guaranteed to be free of brace-sets\n const pre = m.pre\n const post: string[] = m.post.length ? expand_(m.post, max, false) : ['']\n\n if (/\\$$/.test(m.pre)) {\n for (let k = 0; k < post.length && k < max; k++) {\n const expansion = pre + '{' + m.body + '}' + post[k]\n expansions.push(expansion)\n }\n } else {\n const isNumericSequence = /^-?\\d+\\.\\.-?\\d+(?:\\.\\.-?\\d+)?$/.test(m.body)\n const isAlphaSequence = /^[a-zA-Z]\\.\\.[a-zA-Z](?:\\.\\.-?\\d+)?$/.test(\n m.body,\n )\n const isSequence = isNumericSequence || isAlphaSequence\n const isOptions = m.body.indexOf(',') >= 0\n if (!isSequence && !isOptions) {\n // {a},b}\n if (m.post.match(/,(?!,).*\\}/)) {\n str = m.pre + '{' + m.body + escClose + m.post\n return expand_(str, max, true)\n }\n return [str]\n }\n\n let n: string[]\n if (isSequence) {\n n = m.body.split(/\\.\\./)\n } else {\n n = parseCommaParts(m.body)\n if (n.length === 1 && n[0] !== undefined) {\n // x{{a,b}}y ==> x{a}y x{b}y\n n = expand_(n[0], max, false).map(embrace)\n //XXX is this necessary? Can't seem to hit it in tests.\n /* c8 ignore start */\n if (n.length === 1) {\n return post.map(p => m.pre + n[0] + p)\n }\n /* c8 ignore stop */\n }\n }\n\n // at this point, n is the parts, and we know it's not a comma set\n // with a single entry.\n let N: string[]\n\n if (isSequence && n[0] !== undefined && n[1] !== undefined) {\n const x = numeric(n[0])\n const y = numeric(n[1])\n const width = Math.max(n[0].length, n[1].length)\n let incr =\n n.length === 3 && n[2] !== undefined ?\n Math.max(Math.abs(numeric(n[2])), 1)\n : 1\n let test = lte\n const reverse = y < x\n if (reverse) {\n incr *= -1\n test = gte\n }\n const pad = n.some(isPadded)\n\n N = []\n\n for (let i = x; test(i, y); i += incr) {\n let c\n if (isAlphaSequence) {\n c = String.fromCharCode(i)\n if (c === '\\\\') {\n c = ''\n }\n } else {\n c = String(i)\n if (pad) {\n const need = width - c.length\n if (need > 0) {\n const z = new Array(need + 1).join('0')\n if (i < 0) {\n c = '-' + z + c.slice(1)\n } else {\n c = z + c\n }\n }\n }\n }\n N.push(c)\n }\n } else {\n N = []\n\n for (let j = 0; j < n.length; j++) {\n N.push.apply(N, expand_(n[j] as string, max, false))\n }\n }\n\n for (let j = 0; j < N.length; j++) {\n for (let k = 0; k < post.length && expansions.length < max; k++) {\n const expansion = pre + N[j] + post[k]\n if (!isTop || isSequence || expansion) {\n expansions.push(expansion)\n }\n }\n }\n }\n\n return expansions\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAkBA,eAAO,MAAM,aAAa,SAAU,CAAA;AAwDpC,MAAM,MAAM,qBAAqB,GAAG;IAClC,GAAG,CAAC,EAAE,MAAM,CAAA;CACb,CAAA;AAED,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,GAAE,qBAA0B,YAkBtE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC,MAAM,QAAQ,GAAG,SAAS,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,CAAA;AACjD,MAAM,OAAO,GAAG,QAAQ,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,CAAA;AAC/C,MAAM,QAAQ,GAAG,SAAS,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,CAAA;AACjD,MAAM,QAAQ,GAAG,SAAS,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,CAAA;AACjD,MAAM,SAAS,GAAG,UAAU,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG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AA;4BACX,CAAC;wBACH,CAAC;oBACH,CAAC;gBACH,CAAC;gBACD,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;YACX,CAAC;QACH,CAAC;aAAM,CAAC;YACN,CAAC,GAAG,EAAE,CAAA;YAEN,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;gBAClC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAW,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC,CAAA;YACtD,CAAC;QACH,CAAC;QAED,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YAClC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,IAAI,UAAU,CAAC,MAAM,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;gBAChE,MAAM,SAAS,GAAG,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,CAAA;gBACtC,IAAI,CAAC,KAAK,IAAI,UAAU,IAAI,SAAS,EAAE,CAAC;oBACtC,UAAU,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;gBAC5B,CAAC;YACH,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,UAAU,CAAA;AACnB,CAAC","sourcesContent":["import { balanced } from 'balanced-match'\n\nconst escSlash = '\\0SLASH' + Math.random() + '\\0'\nconst escOpen = '\\0OPEN' + Math.random() + '\\0'\nconst escClose = '\\0CLOSE' + Math.random() + '\\0'\nconst escComma = '\\0COMMA' + Math.random() + '\\0'\nconst escPeriod = '\\0PERIOD' + Math.random() + '\\0'\nconst escSlashPattern = new RegExp(escSlash, 'g')\nconst escOpenPattern = new RegExp(escOpen, 'g')\nconst escClosePattern = new RegExp(escClose, 'g')\nconst escCommaPattern = new RegExp(escComma, 'g')\nconst escPeriodPattern = new RegExp(escPeriod, 'g')\nconst slashPattern = /\\\\\\\\/g\nconst openPattern = /\\\\{/g\nconst closePattern = /\\\\}/g\nconst commaPattern = /\\\\,/g\nconst periodPattern = /\\\\\\./g\n\nexport const EXPANSION_MAX = 100_000\n\nfunction numeric(str: string) {\n return !isNaN(str as any) ? parseInt(str, 10) : str.charCodeAt(0)\n}\n\nfunction escapeBraces(str: string) {\n return str\n .replace(slashPattern, escSlash)\n .replace(openPattern, escOpen)\n .replace(closePattern, escClose)\n .replace(commaPattern, escComma)\n .replace(periodPattern, escPeriod)\n}\n\nfunction unescapeBraces(str: string) {\n return str\n .replace(escSlashPattern, '\\\\')\n .replace(escOpenPattern, '{')\n .replace(escClosePattern, '}')\n .replace(escCommaPattern, ',')\n .replace(escPeriodPattern, '.')\n}\n\n/**\n * Basically just str.split(\",\"), but handling cases\n * where we have nested braced sections, which should be\n * treated as individual members, like {a,{b,c},d}\n */\nfunction parseCommaParts(str: string) {\n if (!str) {\n return ['']\n }\n\n const parts: string[] = []\n const m = balanced('{', '}', str)\n\n if (!m) {\n return str.split(',')\n }\n\n const { pre, body, post } = m\n const p = pre.split(',')\n\n p[p.length - 1] += '{' + body + '}'\n const postParts = parseCommaParts(post)\n if (post.length) {\n ;(p[p.length - 1] as string) += postParts.shift()\n p.push.apply(p, postParts)\n }\n\n parts.push.apply(parts, p)\n\n return parts\n}\n\nexport type BraceExpansionOptions = {\n max?: number\n}\n\nexport function expand(str: string, options: BraceExpansionOptions = {}) {\n if (!str) {\n return []\n }\n\n const { max = EXPANSION_MAX } = options\n\n // I don't know why Bash 4.3 does this, but it does.\n // Anything starting with {} will have the first two bytes preserved\n // but *only* at the top level, so {},a}b will not expand to anything,\n // but a{},b}c will be expanded to [a}c,abc].\n // One could argue that this is a bug in Bash, but since the goal of\n // this module is to match Bash's rules, we escape a leading {}\n if (str.slice(0, 2) === '{}') {\n str = '\\\\{\\\\}' + str.slice(2)\n }\n\n return expand_(escapeBraces(str), max, true).map(unescapeBraces)\n}\n\nfunction embrace(str: string) {\n return '{' + str + '}'\n}\n\nfunction isPadded(el: string) {\n return /^-?0\\d/.test(el)\n}\n\nfunction lte(i: number, y: number) {\n return i <= y\n}\n\nfunction gte(i: number, y: number) {\n return i >= y\n}\n\nfunction expand_(str: string, max: number, isTop: boolean): string[] {\n /** @type {string[]} */\n const expansions: string[] = []\n\n const m = balanced('{', '}', str)\n if (!m) return [str]\n\n // no need to expand pre, since it is guaranteed to be free of brace-sets\n const pre = m.pre\n const post: string[] = m.post.length ? expand_(m.post, max, false) : ['']\n\n if (/\\$$/.test(m.pre)) {\n for (let k = 0; k < post.length && k < max; k++) {\n const expansion = pre + '{' + m.body + '}' + post[k]\n expansions.push(expansion)\n }\n } else {\n const isNumericSequence = /^-?\\d+\\.\\.-?\\d+(?:\\.\\.-?\\d+)?$/.test(m.body)\n const isAlphaSequence = /^[a-zA-Z]\\.\\.[a-zA-Z](?:\\.\\.-?\\d+)?$/.test(\n m.body,\n )\n const isSequence = isNumericSequence || isAlphaSequence\n const isOptions = m.body.indexOf(',') >= 0\n if (!isSequence && !isOptions) {\n // {a},b}\n if (m.post.match(/,(?!,).*\\}/)) {\n str = m.pre + '{' + m.body + escClose + m.post\n return expand_(str, max, true)\n }\n return [str]\n }\n\n let n: string[]\n if (isSequence) {\n n = m.body.split(/\\.\\./)\n } else {\n n = parseCommaParts(m.body)\n if (n.length === 1 && n[0] !== undefined) {\n // x{{a,b}}y ==> x{a}y x{b}y\n n = expand_(n[0], max, false).map(embrace)\n //XXX is this necessary? Can't seem to hit it in tests.\n /* c8 ignore start */\n if (n.length === 1) {\n return post.map(p => m.pre + n[0] + p)\n }\n /* c8 ignore stop */\n }\n }\n\n // at this point, n is the parts, and we know it's not a comma set\n // with a single entry.\n let N: string[]\n\n if (isSequence && n[0] !== undefined && n[1] !== undefined) {\n const x = numeric(n[0])\n const y = numeric(n[1])\n const width = Math.max(n[0].length, n[1].length)\n let incr =\n n.length === 3 && n[2] !== undefined ?\n Math.max(Math.abs(numeric(n[2])), 1)\n : 1\n let test = lte\n const reverse = y < x\n if (reverse) {\n incr *= -1\n test = gte\n }\n const pad = n.some(isPadded)\n\n N = []\n\n for (let i = x; test(i, y); i += incr) {\n let c\n if (isAlphaSequence) {\n c = String.fromCharCode(i)\n if (c === '\\\\') {\n c = ''\n }\n } else {\n c = String(i)\n if (pad) {\n const need = width - c.length\n if (need > 0) {\n const z = new Array(need + 1).join('0')\n if (i < 0) {\n c = '-' + z + c.slice(1)\n } else {\n c = z + c\n }\n }\n }\n }\n N.push(c)\n }\n } else {\n N = []\n\n for (let j = 0; j < n.length; j++) {\n N.push.apply(N, expand_(n[j] as string, max, false))\n }\n }\n\n for (let j = 0; j < N.length; j++) {\n for (let k = 0; k < post.length && expansions.length < max; k++) {\n const expansion = pre + N[j] + post[k]\n if (!isTop || isSequence || expansion) {\n expansions.push(expansion)\n }\n }\n }\n }\n\n return expansions\n}\n"]}
|
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Parse options.
|
|
3
|
-
*/
|
|
4
|
-
export interface ParseOptions {
|
|
5
|
-
/**
|
|
6
|
-
* Specifies a function that will be used to decode a [cookie-value](https://datatracker.ietf.org/doc/html/rfc6265#section-4.1.1).
|
|
7
|
-
* Since the value of a cookie has a limited character set (and must be a simple string), this function can be used to decode
|
|
8
|
-
* a previously-encoded cookie value into a JavaScript string.
|
|
9
|
-
*
|
|
10
|
-
* The default function is the global `decodeURIComponent`, wrapped in a `try..catch`. If an error
|
|
11
|
-
* is thrown it will return the cookie's original value. If you provide your own encode/decode
|
|
12
|
-
* scheme you must ensure errors are appropriately handled.
|
|
13
|
-
*
|
|
14
|
-
* @default decode
|
|
15
|
-
*/
|
|
16
|
-
decode?: (str: string) => string | undefined;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Cookies object.
|
|
20
|
-
*/
|
|
21
|
-
export type Cookies = Record<string, string | undefined>;
|
|
22
|
-
/**
|
|
23
|
-
* Parse a `Cookie` header.
|
|
24
|
-
*
|
|
25
|
-
* Parse the given cookie header string into an object
|
|
26
|
-
* The object has the various cookies as keys(names) => values
|
|
27
|
-
*/
|
|
28
|
-
export declare function parseCookie(str: string, options?: ParseOptions): Cookies;
|
|
29
|
-
export interface StringifyOptions {
|
|
30
|
-
/**
|
|
31
|
-
* Specifies a function that will be used to encode a [cookie-value](https://datatracker.ietf.org/doc/html/rfc6265#section-4.1.1).
|
|
32
|
-
* Since value of a cookie has a limited character set (and must be a simple string), this function can be used to encode
|
|
33
|
-
* a value into a string suited for a cookie's value, and should mirror `decode` when parsing.
|
|
34
|
-
*
|
|
35
|
-
* @default encodeURIComponent
|
|
36
|
-
*/
|
|
37
|
-
encode?: (str: string) => string;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Stringifies an object into an HTTP `Cookie` header.
|
|
41
|
-
*/
|
|
42
|
-
export declare function stringifyCookie(cookie: Cookies, options?: StringifyOptions): string;
|
|
43
|
-
/**
|
|
44
|
-
* Set-Cookie object.
|
|
45
|
-
*/
|
|
46
|
-
export interface SetCookie {
|
|
47
|
-
/**
|
|
48
|
-
* Specifies the name of the cookie.
|
|
49
|
-
*/
|
|
50
|
-
name: string;
|
|
51
|
-
/**
|
|
52
|
-
* Specifies the string to be the value for the cookie.
|
|
53
|
-
*/
|
|
54
|
-
value: string | undefined;
|
|
55
|
-
/**
|
|
56
|
-
* Specifies the `number` (in seconds) to be the value for the [`Max-Age` `Set-Cookie` attribute](https://tools.ietf.org/html/rfc6265#section-5.2.2).
|
|
57
|
-
*
|
|
58
|
-
* The [cookie storage model specification](https://tools.ietf.org/html/rfc6265#section-5.3) states that if both `expires` and
|
|
59
|
-
* `maxAge` are set, then `maxAge` takes precedence, but it is possible not all clients by obey this,
|
|
60
|
-
* so if both are set, they should point to the same date and time.
|
|
61
|
-
*/
|
|
62
|
-
maxAge?: number;
|
|
63
|
-
/**
|
|
64
|
-
* Specifies the `Date` object to be the value for the [`Expires` `Set-Cookie` attribute](https://tools.ietf.org/html/rfc6265#section-5.2.1).
|
|
65
|
-
* When no expiration is set, clients consider this a "non-persistent cookie" and delete it when the current session is over.
|
|
66
|
-
*
|
|
67
|
-
* The [cookie storage model specification](https://tools.ietf.org/html/rfc6265#section-5.3) states that if both `expires` and
|
|
68
|
-
* `maxAge` are set, then `maxAge` takes precedence, but it is possible not all clients by obey this,
|
|
69
|
-
* so if both are set, they should point to the same date and time.
|
|
70
|
-
*/
|
|
71
|
-
expires?: Date;
|
|
72
|
-
/**
|
|
73
|
-
* Specifies the value for the [`Domain` `Set-Cookie` attribute](https://tools.ietf.org/html/rfc6265#section-5.2.3).
|
|
74
|
-
* When no domain is set, clients consider the cookie to apply to the current domain only.
|
|
75
|
-
*/
|
|
76
|
-
domain?: string;
|
|
77
|
-
/**
|
|
78
|
-
* Specifies the value for the [`Path` `Set-Cookie` attribute](https://tools.ietf.org/html/rfc6265#section-5.2.4).
|
|
79
|
-
* When no path is set, the path is considered the ["default path"](https://tools.ietf.org/html/rfc6265#section-5.1.4).
|
|
80
|
-
*/
|
|
81
|
-
path?: string;
|
|
82
|
-
/**
|
|
83
|
-
* Enables the [`HttpOnly` `Set-Cookie` attribute](https://tools.ietf.org/html/rfc6265#section-5.2.6).
|
|
84
|
-
* When enabled, clients will not allow client-side JavaScript to see the cookie in `document.cookie`.
|
|
85
|
-
*/
|
|
86
|
-
httpOnly?: boolean;
|
|
87
|
-
/**
|
|
88
|
-
* Enables the [`Secure` `Set-Cookie` attribute](https://tools.ietf.org/html/rfc6265#section-5.2.5).
|
|
89
|
-
* When enabled, clients will only send the cookie back if the browser has an HTTPS connection.
|
|
90
|
-
*/
|
|
91
|
-
secure?: boolean;
|
|
92
|
-
/**
|
|
93
|
-
* Enables the [`Partitioned` `Set-Cookie` attribute](https://tools.ietf.org/html/draft-cutler-httpbis-partitioned-cookies/).
|
|
94
|
-
* When enabled, clients will only send the cookie back when the current domain _and_ top-level domain matches.
|
|
95
|
-
*
|
|
96
|
-
* This is an attribute that has not yet been fully standardized, and may change in the future.
|
|
97
|
-
* This also means clients may ignore this attribute until they understand it. More information
|
|
98
|
-
* about can be found in [the proposal](https://github.com/privacycg/CHIPS).
|
|
99
|
-
*/
|
|
100
|
-
partitioned?: boolean;
|
|
101
|
-
/**
|
|
102
|
-
* Specifies the value for the [`Priority` `Set-Cookie` attribute](https://tools.ietf.org/html/draft-west-cookie-priority-00#section-4.1).
|
|
103
|
-
*
|
|
104
|
-
* - `'low'` will set the `Priority` attribute to `Low`.
|
|
105
|
-
* - `'medium'` will set the `Priority` attribute to `Medium`, the default priority when not set.
|
|
106
|
-
* - `'high'` will set the `Priority` attribute to `High`.
|
|
107
|
-
*
|
|
108
|
-
* More information about priority levels can be found in [the specification](https://tools.ietf.org/html/draft-west-cookie-priority-00#section-4.1).
|
|
109
|
-
*/
|
|
110
|
-
priority?: "low" | "medium" | "high";
|
|
111
|
-
/**
|
|
112
|
-
* Specifies the value for the [`SameSite` `Set-Cookie` attribute](https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-09#section-5.4.7).
|
|
113
|
-
*
|
|
114
|
-
* - `true` will set the `SameSite` attribute to `Strict` for strict same site enforcement.
|
|
115
|
-
* - `'lax'` will set the `SameSite` attribute to `Lax` for lax same site enforcement.
|
|
116
|
-
* - `'none'` will set the `SameSite` attribute to `None` for an explicit cross-site cookie.
|
|
117
|
-
* - `'strict'` will set the `SameSite` attribute to `Strict` for strict same site enforcement.
|
|
118
|
-
*
|
|
119
|
-
* More information about enforcement levels can be found in [the specification](https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-09#section-5.4.7).
|
|
120
|
-
*/
|
|
121
|
-
sameSite?: boolean | "lax" | "strict" | "none";
|
|
122
|
-
}
|
|
123
|
-
/**
|
|
124
|
-
* Backward compatibility serialize options.
|
|
125
|
-
*/
|
|
126
|
-
export type SerializeOptions = StringifyOptions & Omit<SetCookie, "name" | "value">;
|
|
127
|
-
/**
|
|
128
|
-
* Serialize data into a cookie header.
|
|
129
|
-
*
|
|
130
|
-
* Serialize a name value pair into a cookie string suitable for
|
|
131
|
-
* http headers. An optional options object specifies cookie parameters.
|
|
132
|
-
*
|
|
133
|
-
* serialize('foo', 'bar', { httpOnly: true })
|
|
134
|
-
* => "foo=bar; httpOnly"
|
|
135
|
-
*/
|
|
136
|
-
export declare function stringifySetCookie(cookie: SetCookie, options?: StringifyOptions): string;
|
|
137
|
-
export declare function stringifySetCookie(name: string, val: string, options?: SerializeOptions): string;
|
|
138
|
-
/**
|
|
139
|
-
* Deserialize a `Set-Cookie` header into an object.
|
|
140
|
-
*
|
|
141
|
-
* deserialize('foo=bar; httpOnly')
|
|
142
|
-
* => { name: 'foo', value: 'bar', httpOnly: true }
|
|
143
|
-
*/
|
|
144
|
-
export declare function parseSetCookie(str: string, options?: ParseOptions): SetCookie;
|
|
145
|
-
/**
|
|
146
|
-
* Backward compatibility exports.
|
|
147
|
-
*/
|
|
148
|
-
export { stringifySetCookie as serialize, parseCookie as parse };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;AA2GA,kCAgCC;AAmZwD,4BAAK;AAnY9D,0CAyBC;AA2GD,gDA8GC;AAiJ8B,uCAAS;AAzIxC,wCA2EC;AA1MD,gDAGU;AAqQqB,uCAAS;AA9hBxC;;;;;;;;;;;;;GAaG;AACH,MAAM,gBAAgB,GAAG,uCAAuC,CAAC;AAEjE;;;;;;;;;;;GAWG;AACH,MAAM,iBAAiB,GAAG,iCAAiC,CAAC;AAE5D;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,iBAAiB,GACrB,qFAAqF,CAAC;AAExF;;;;;;GAMG;AACH,MAAM,eAAe,GAAG,iCAAiC,CAAC;AAE1D;;GAEG;AACH,MAAM,YAAY,GAAG,S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,CAAC,GAAG,CAAC,CAAC;IACjC,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,OAAO,GAAG,CAAC;IACb,CAAC;AACH,CAAC;AAED;;GAEG;AACH,SAAS,MAAM,CAAC,GAAQ;IACtB,OAAO,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,eAAe,CAAC;AAClD,CAAC","sourcesContent":["/**\n * RegExp to match cookie-name in RFC 6265 sec 4.1.1\n * This refers out to the obsoleted definition of token in RFC 2616 sec 2.2\n * which has been replaced by the token definition in RFC 7230 appendix B.\n *\n * cookie-name = token\n * token = 1*tchar\n * tchar = \"!\" / \"#\" / \"$\" / \"%\" / \"&\" / \"'\" /\n * \"*\" / \"+\" / \"-\" / \".\" / \"^\" / \"_\" /\n * \"`\" / \"|\" / \"~\" / DIGIT / ALPHA\n *\n * Note: Allowing more characters - https://github.com/jshttp/cookie/issues/191\n * Allow same range as cookie value, except `=`, which delimits end of name.\n */\nconst cookieNameRegExp = /^[\\u0021-\\u003A\\u003C\\u003E-\\u007E]+$/;\n\n/**\n * RegExp to match cookie-value in RFC 6265 sec 4.1.1\n *\n * cookie-value = *cookie-octet / ( DQUOTE *cookie-octet DQUOTE )\n * cookie-octet = %x21 / %x23-2B / %x2D-3A / %x3C-5B / %x5D-7E\n * ; US-ASCII characters excluding CTLs,\n * ; whitespace DQUOTE, comma, semicolon,\n * ; and backslash\n *\n * Allowing more characters: https://github.com/jshttp/cookie/issues/191\n * Comma, backslash, and DQUOTE are not part of the parsing algorithm.\n */\nconst cookieValueRegExp = /^[\\u0021-\\u003A\\u003C-\\u007E]*$/;\n\n/**\n * RegExp to match domain-value in RFC 6265 sec 4.1.1\n *\n * domain-value = <subdomain>\n * ; defined in [RFC1034], Section 3.5, as\n * ; enhanced by [RFC1123], Section 2.1\n * <subdomain> = <label> | <subdomain> \".\" <label>\n * <label> = <let-dig> [ [ <ldh-str> ] <let-dig> ]\n * Labels must be 63 characters or less.\n * 'let-dig' not 'letter' in the first char, per RFC1123\n * <ldh-str> = <let-dig-hyp> | <let-dig-hyp> <ldh-str>\n * <let-dig-hyp> = <let-dig> | \"-\"\n * <let-dig> = <letter> | <digit>\n * <letter> = any one of the 52 alphabetic characters A through Z in\n * upper case and a through z in lower case\n * <digit> = any one of the ten digits 0 through 9\n *\n * Keep support for leading dot: https://github.com/jshttp/cookie/issues/173\n *\n * > (Note that a leading %x2E (\".\"), if present, is ignored even though that\n * character is not permitted, but a trailing %x2E (\".\"), if present, will\n * cause the user agent to ignore the attribute.)\n */\nconst domainValueRegExp =\n /^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i;\n\n/**\n * RegExp to match path-value in RFC 6265 sec 4.1.1\n *\n * path-value = <any CHAR except CTLs or \";\">\n * CHAR = %x01-7F\n * ; defined in RFC 5234 appendix B.1\n */\nconst pathValueRegExp = /^[\\u0020-\\u003A\\u003D-\\u007E]*$/;\n\n/**\n * RegExp to match max-age-value in RFC 6265 sec 5.6.2\n */\nconst maxAgeRegExp = /^-?\\d+$/;\n\nconst __toString = Object.prototype.toString;\n\nconst NullObject = /* @__PURE__ */ (() => {\n const C = function () {};\n C.prototype = Object.create(null);\n return C;\n})() as unknown as { new (): any };\n\n/**\n * Parse options.\n */\nexport interface ParseOptions {\n /**\n * Specifies a function that will be used to decode a [cookie-value](https://datatracker.ietf.org/doc/html/rfc6265#section-4.1.1).\n * Since the value of a cookie has a limited character set (and must be a simple string), this function can be used to decode\n * a previously-encoded cookie value into a JavaScript string.\n *\n * The default function is the global `decodeURIComponent`, wrapped in a `try..catch`. If an error\n * is thrown it will return the cookie's original value. If you provide your own encode/decode\n * scheme you must ensure errors are appropriately handled.\n *\n * @default decode\n */\n decode?: (str: string) => string | undefined;\n}\n\n/**\n * Cookies object.\n */\nexport type Cookies = Record<string, string | undefined>;\n\n/**\n * Parse a `Cookie` header.\n *\n * Parse the given cookie header string into an object\n * The object has the various cookies as keys(names) => values\n */\nexport function parseCookie(str: string, options?: ParseOptions): Cookies {\n const obj: Cookies = new NullObject();\n const len = str.length;\n // RFC 6265 sec 4.1.1, RFC 2616 2.2 defines a cookie name consists of one char minimum, plus '='.\n if (len < 2) return obj;\n\n const dec = options?.decode || decode;\n let index = 0;\n\n do {\n const eqIdx = eqIndex(str, index, len);\n if (eqIdx === -1) break; // No more cookie pairs.\n\n const endIdx = endIndex(str, index, len);\n\n if (eqIdx > endIdx) {\n // backtrack on prior semicolon\n index = str.lastIndexOf(\";\", eqIdx - 1) + 1;\n continue;\n }\n\n const key = valueSlice(str, index, eqIdx);\n\n // only assign once\n if (obj[key] === undefined) {\n obj[key] = dec(valueSlice(str, eqIdx + 1, endIdx));\n }\n\n index = endIdx + 1;\n } while (index < len);\n\n return obj;\n}\n\nexport interface StringifyOptions {\n /**\n * Specifies a function that will be used to encode a [cookie-value](https://datatracker.ietf.org/doc/html/rfc6265#section-4.1.1).\n * Since value of a cookie has a limited character set (and must be a simple string), this function can be used to encode\n * a value into a string suited for a cookie's value, and should mirror `decode` when parsing.\n *\n * @default encodeURIComponent\n */\n encode?: (str: string) => string;\n}\n\n/**\n * Stringifies an object into an HTTP `Cookie` header.\n */\nexport function stringifyCookie(\n cookie: Cookies,\n options?: StringifyOptions,\n): string {\n const enc = options?.encode || encodeURIComponent;\n const cookieStrings: string[] = [];\n\n for (const name of Object.keys(cookie)) {\n const val = cookie[name];\n if (val === undefined) continue;\n\n if (!cookieNameRegExp.test(name)) {\n throw new TypeError(`cookie name is invalid: ${name}`);\n }\n\n const value = enc(val);\n\n if (!cookieValueRegExp.test(value)) {\n throw new TypeError(`cookie val is invalid: ${val}`);\n }\n\n cookieStrings.push(`${name}=${value}`);\n }\n\n return cookieStrings.join(\"; \");\n}\n\n/**\n * Set-Cookie object.\n */\nexport interface SetCookie {\n /**\n * Specifies the name of the cookie.\n */\n name: string;\n /**\n * Specifies the string to be the value for the cookie.\n */\n value: string | undefined;\n /**\n * Specifies the `number` (in seconds) to be the value for the [`Max-Age` `Set-Cookie` attribute](https://tools.ietf.org/html/rfc6265#section-5.2.2).\n *\n * The [cookie storage model specification](https://tools.ietf.org/html/rfc6265#section-5.3) states that if both `expires` and\n * `maxAge` are set, then `maxAge` takes precedence, but it is possible not all clients by obey this,\n * so if both are set, they should point to the same date and time.\n */\n maxAge?: number;\n /**\n * Specifies the `Date` object to be the value for the [`Expires` `Set-Cookie` attribute](https://tools.ietf.org/html/rfc6265#section-5.2.1).\n * When no expiration is set, clients consider this a \"non-persistent cookie\" and delete it when the current session is over.\n *\n * The [cookie storage model specification](https://tools.ietf.org/html/rfc6265#section-5.3) states that if both `expires` and\n * `maxAge` are set, then `maxAge` takes precedence, but it is possible not all clients by obey this,\n * so if both are set, they should point to the same date and time.\n */\n expires?: Date;\n /**\n * Specifies the value for the [`Domain` `Set-Cookie` attribute](https://tools.ietf.org/html/rfc6265#section-5.2.3).\n * When no domain is set, clients consider the cookie to apply to the current domain only.\n */\n domain?: string;\n /**\n * Specifies the value for the [`Path` `Set-Cookie` attribute](https://tools.ietf.org/html/rfc6265#section-5.2.4).\n * When no path is set, the path is considered the [\"default path\"](https://tools.ietf.org/html/rfc6265#section-5.1.4).\n */\n path?: string;\n /**\n * Enables the [`HttpOnly` `Set-Cookie` attribute](https://tools.ietf.org/html/rfc6265#section-5.2.6).\n * When enabled, clients will not allow client-side JavaScript to see the cookie in `document.cookie`.\n */\n httpOnly?: boolean;\n /**\n * Enables the [`Secure` `Set-Cookie` attribute](https://tools.ietf.org/html/rfc6265#section-5.2.5).\n * When enabled, clients will only send the cookie back if the browser has an HTTPS connection.\n */\n secure?: boolean;\n /**\n * Enables the [`Partitioned` `Set-Cookie` attribute](https://tools.ietf.org/html/draft-cutler-httpbis-partitioned-cookies/).\n * When enabled, clients will only send the cookie back when the current domain _and_ top-level domain matches.\n *\n * This is an attribute that has not yet been fully standardized, and may change in the future.\n * This also means clients may ignore this attribute until they understand it. More information\n * about can be found in [the proposal](https://github.com/privacycg/CHIPS).\n */\n partitioned?: boolean;\n /**\n * Specifies the value for the [`Priority` `Set-Cookie` attribute](https://tools.ietf.org/html/draft-west-cookie-priority-00#section-4.1).\n *\n * - `'low'` will set the `Priority` attribute to `Low`.\n * - `'medium'` will set the `Priority` attribute to `Medium`, the default priority when not set.\n * - `'high'` will set the `Priority` attribute to `High`.\n *\n * More information about priority levels can be found in [the specification](https://tools.ietf.org/html/draft-west-cookie-priority-00#section-4.1).\n */\n priority?: \"low\" | \"medium\" | \"high\";\n /**\n * Specifies the value for the [`SameSite` `Set-Cookie` attribute](https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-09#section-5.4.7).\n *\n * - `true` will set the `SameSite` attribute to `Strict` for strict same site enforcement.\n * - `'lax'` will set the `SameSite` attribute to `Lax` for lax same site enforcement.\n * - `'none'` will set the `SameSite` attribute to `None` for an explicit cross-site cookie.\n * - `'strict'` will set the `SameSite` attribute to `Strict` for strict same site enforcement.\n *\n * More information about enforcement levels can be found in [the specification](https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-09#section-5.4.7).\n */\n sameSite?: boolean | \"lax\" | \"strict\" | \"none\";\n}\n\n/**\n * Backward compatibility serialize options.\n */\nexport type SerializeOptions = StringifyOptions &\n Omit<SetCookie, \"name\" | \"value\">;\n\n/**\n * Serialize data into a cookie header.\n *\n * Serialize a name value pair into a cookie string suitable for\n * http headers. An optional options object specifies cookie parameters.\n *\n * serialize('foo', 'bar', { httpOnly: true })\n * => \"foo=bar; httpOnly\"\n */\nexport function stringifySetCookie(\n cookie: SetCookie,\n options?: StringifyOptions,\n): string;\nexport function stringifySetCookie(\n name: string,\n val: string,\n options?: SerializeOptions,\n): string;\nexport function stringifySetCookie(\n _name: string | SetCookie,\n _val?: string | StringifyOptions,\n _opts?: SerializeOptions,\n): string {\n const cookie =\n typeof _name === \"object\"\n ? _name\n : { ..._opts, name: _name, value: String(_val) };\n const options = typeof _val === \"object\" ? _val : _opts;\n const enc = options?.encode || encodeURIComponent;\n\n if (!cookieNameRegExp.test(cookie.name)) {\n throw new TypeError(`argument name is invalid: ${cookie.name}`);\n }\n\n const value = cookie.value ? enc(cookie.value) : \"\";\n\n if (!cookieValueRegExp.test(value)) {\n throw new TypeError(`argument val is invalid: ${cookie.value}`);\n }\n\n let str = cookie.name + \"=\" + value;\n\n if (cookie.maxAge !== undefined) {\n if (!Number.isInteger(cookie.maxAge)) {\n throw new TypeError(`option maxAge is invalid: ${cookie.maxAge}`);\n }\n\n str += \"; Max-Age=\" + cookie.maxAge;\n }\n\n if (cookie.domain) {\n if (!domainValueRegExp.test(cookie.domain)) {\n throw new TypeError(`option domain is invalid: ${cookie.domain}`);\n }\n\n str += \"; Domain=\" + cookie.domain;\n }\n\n if (cookie.path) {\n if (!pathValueRegExp.test(cookie.path)) {\n throw new TypeError(`option path is invalid: ${cookie.path}`);\n }\n\n str += \"; Path=\" + cookie.path;\n }\n\n if (cookie.expires) {\n if (!isDate(cookie.expires) || !Number.isFinite(cookie.expires.valueOf())) {\n throw new TypeError(`option expires is invalid: ${cookie.expires}`);\n }\n\n str += \"; Expires=\" + cookie.expires.toUTCString();\n }\n\n if (cookie.httpOnly) {\n str += \"; HttpOnly\";\n }\n\n if (cookie.secure) {\n str += \"; Secure\";\n }\n\n if (cookie.partitioned) {\n str += \"; Partitioned\";\n }\n\n if (cookie.priority) {\n const priority =\n typeof cookie.priority === \"string\"\n ? cookie.priority.toLowerCase()\n : undefined;\n switch (priority) {\n case \"low\":\n str += \"; Priority=Low\";\n break;\n case \"medium\":\n str += \"; Priority=Medium\";\n break;\n case \"high\":\n str += \"; Priority=High\";\n break;\n default:\n throw new TypeError(`option priority is invalid: ${cookie.priority}`);\n }\n }\n\n if (cookie.sameSite) {\n const sameSite =\n typeof cookie.sameSite === \"string\"\n ? cookie.sameSite.toLowerCase()\n : cookie.sameSite;\n switch (sameSite) {\n case true:\n case \"strict\":\n str += \"; SameSite=Strict\";\n break;\n case \"lax\":\n str += \"; SameSite=Lax\";\n break;\n case \"none\":\n str += \"; SameSite=None\";\n break;\n default:\n throw new TypeError(`option sameSite is invalid: ${cookie.sameSite}`);\n }\n }\n\n return str;\n}\n\n/**\n * Deserialize a `Set-Cookie` header into an object.\n *\n * deserialize('foo=bar; httpOnly')\n * => { name: 'foo', value: 'bar', httpOnly: true }\n */\nexport function parseSetCookie(str: string, options?: ParseOptions): SetCookie {\n const dec = options?.decode || decode;\n const len = str.length;\n const endIdx = endIndex(str, 0, len);\n const eqIdx = eqIndex(str, 0, endIdx);\n const setCookie: SetCookie =\n eqIdx === -1\n ? { name: \"\", value: dec(valueSlice(str, 0, endIdx)) }\n : {\n name: valueSlice(str, 0, eqIdx),\n value: dec(valueSlice(str, eqIdx + 1, endIdx)),\n };\n\n let index = endIdx + 1;\n while (index < len) {\n const endIdx = endIndex(str, index, len);\n const eqIdx = eqIndex(str, index, endIdx);\n const attr =\n eqIdx === -1\n ? valueSlice(str, index, endIdx)\n : valueSlice(str, index, eqIdx);\n const val = eqIdx === -1 ? undefined : valueSlice(str, eqIdx + 1, endIdx);\n\n switch (attr.toLowerCase()) {\n case \"httponly\":\n setCookie.httpOnly = true;\n break;\n case \"secure\":\n setCookie.secure = true;\n break;\n case \"partitioned\":\n setCookie.partitioned = true;\n break;\n case \"domain\":\n setCookie.domain = val;\n break;\n case \"path\":\n setCookie.path = val;\n break;\n case \"max-age\":\n if (val && maxAgeRegExp.test(val)) setCookie.maxAge = Number(val);\n break;\n case \"expires\":\n if (!val) break;\n const date = new Date(val);\n if (Number.isFinite(date.valueOf())) setCookie.expires = date;\n break;\n case \"priority\":\n if (!val) break;\n const priority = val.toLowerCase();\n if (\n priority === \"low\" ||\n priority === \"medium\" ||\n priority === \"high\"\n ) {\n setCookie.priority = priority;\n }\n break;\n case \"samesite\":\n if (!val) break;\n const sameSite = val.toLowerCase();\n if (\n sameSite === \"lax\" ||\n sameSite === \"strict\" ||\n sameSite === \"none\"\n ) {\n setCookie.sameSite = sameSite;\n }\n break;\n }\n\n index = endIdx + 1;\n }\n\n return setCookie;\n}\n\n/**\n * Find the `;` character between `min` and `len` in str.\n */\nfunction endIndex(str: string, min: number, len: number) {\n const index = str.indexOf(\";\", min);\n return index === -1 ? len : index;\n}\n\n/**\n * Find the `=` character between `min` and `max` in str.\n */\nfunction eqIndex(str: string, min: number, max: number) {\n const index = str.indexOf(\"=\", min);\n return index < max ? index : -1;\n}\n\n/**\n * Slice out a value between startPod to max.\n */\nfunction valueSlice(str: string, min: number, max: number) {\n let start = min;\n let end = max;\n\n do {\n const code = str.charCodeAt(start);\n if (code !== 0x20 /* */ && code !== 0x09 /* \\t */) break;\n } while (++start < end);\n\n while (end > start) {\n const code = str.charCodeAt(end - 1);\n if (code !== 0x20 /* */ && code !== 0x09 /* \\t */) break;\n end--;\n }\n\n return str.slice(start, end);\n}\n\n/**\n * URL-decode string value. Optimized to skip native call when no %.\n */\nfunction decode(str: string): string {\n if (str.indexOf(\"%\") === -1) return str;\n\n try {\n return decodeURIComponent(str);\n } catch (e) {\n return str;\n }\n}\n\n/**\n * Determine if value is a Date.\n */\nfunction isDate(val: any): val is Date {\n return __toString.call(val) === \"[object Date]\";\n}\n\n/**\n * Backward compatibility exports.\n */\nexport { stringifySetCookie as serialize, parseCookie as parse };\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../src/errors.ts","../src/parse.ts"],"sourcesContent":["/**\n * The type of error that occurred.\n * @public\n */\nexport type ErrorType = 'invalid-retry' | 'unknown-field'\n\n/**\n * Error thrown when encountering an issue during parsing.\n *\n * @public\n */\nexport class ParseError extends Error {\n /**\n * The type of error that occurred.\n */\n type: ErrorType\n\n /**\n * In the case of an unknown field encountered in the stream, this will be the field name.\n */\n field?: string | undefined\n\n /**\n * In the case of an unknown field encountered in the stream, this will be the value of the field.\n */\n value?: string | undefined\n\n /**\n * The line that caused the error, if available.\n */\n line?: string | undefined\n\n constructor(\n message: string,\n options: {type: ErrorType; field?: string; value?: string; line?: string},\n ) {\n super(message)\n this.name = 'ParseError'\n this.type = options.type\n this.field = options.field\n this.value = options.value\n this.line = options.line\n }\n}\n","/**\n * EventSource/Server-Sent Events parser\n * @see https://html.spec.whatwg.org/multipage/server-sent-events.html\n */\nimport {ParseError} from './errors.ts'\nimport type {EventSourceParser, ParserCallbacks} from './types.ts'\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction noop(_arg: unknown) {\n // intentional noop\n}\n\n/**\n * Creates a new EventSource parser.\n *\n * @param callbacks - Callbacks to invoke on different parsing events:\n * - `onEvent` when a new event is parsed\n * - `onError` when an error occurs\n * - `onRetry` when a new reconnection interval has been sent from the server\n * - `onComment` when a comment is encountered in the stream\n *\n * @returns A new EventSource parser, with `parse` and `reset` methods.\n * @public\n */\nexport function createParser(callbacks: ParserCallbacks): EventSourceParser {\n if (typeof callbacks === 'function') {\n throw new TypeError(\n '`callbacks` must be an object, got a function instead. Did you mean `{onEvent: fn}`?',\n )\n }\n\n const {onEvent = noop, onError = noop, onRetry = noop, onComment} = callbacks\n\n let incompleteLine = ''\n\n let isFirstChunk = true\n let id: string | undefined\n let data = ''\n let eventType = ''\n\n function feed(newChunk: string) {\n // Strip any UTF8 byte order mark (BOM) at the start of the stream\n const chunk = isFirstChunk ? newChunk.replace(/^\\xEF\\xBB\\xBF/, '') : newChunk\n\n // If there was a previous incomplete line, append it to the new chunk,\n // so we may process it together as a new (hopefully complete) chunk.\n const [complete, incomplete] = splitLines(`${incompleteLine}${chunk}`)\n\n for (const line of complete) {\n parseLine(line)\n }\n\n incompleteLine = incomplete\n isFirstChunk = false\n }\n\n function parseLine(line: string) {\n // If the line is empty (a blank line), dispatch the event\n if (line === '') {\n dispatchEvent()\n return\n }\n\n // If the line starts with a U+003A COLON character (:), ignore the line.\n if (line.startsWith(':')) {\n if (onComment) {\n onComment(line.slice(line.startsWith(': ') ? 2 : 1))\n }\n return\n }\n\n // If the line contains a U+003A COLON character (:)\n const fieldSeparatorIndex = line.indexOf(':')\n if (fieldSeparatorIndex !== -1) {\n // Collect the characters on the line before the first U+003A COLON character (:),\n // and let `field` be that string.\n const field = line.slice(0, fieldSeparatorIndex)\n\n // Collect the characters on the line after the first U+003A COLON character (:),\n // and let `value` be that string. If value starts with a U+0020 SPACE character,\n // remove it from value.\n const offset = line[fieldSeparatorIndex + 1] === ' ' ? 2 : 1\n const value = line.slice(fieldSeparatorIndex + offset)\n\n processField(field, value, line)\n return\n }\n\n // Otherwise, the string is not empty but does not contain a U+003A COLON character (:)\n // Process the field using the whole line as the field name, and an empty string as the field value.\n // 👆 This is according to spec. That means that a line that has the value `data` will result in\n // a newline being added to the current `data` buffer, for instance.\n processField(line, '', line)\n }\n\n function processField(field: string, value: string, line: string) {\n // Field names must be compared literally, with no case folding performed.\n switch (field) {\n case 'event':\n // Set the `event type` buffer to field value\n eventType = value\n break\n case 'data':\n // Append the field value to the `data` buffer, then append a single U+000A LINE FEED(LF)\n // character to the `data` buffer.\n data = `${data}${value}\\n`\n break\n case 'id':\n // If the field value does not contain U+0000 NULL, then set the `ID` buffer to\n // the field value. Otherwise, ignore the field.\n id = value.includes('\\0') ? undefined : value\n break\n case 'retry':\n // If the field value consists of only ASCII digits, then interpret the field value as an\n // integer in base ten, and set the event stream's reconnection time to that integer.\n // Otherwise, ignore the field.\n if (/^\\d+$/.test(value)) {\n onRetry(parseInt(value, 10))\n } else {\n onError(\n new ParseError(`Invalid \\`retry\\` value: \"${value}\"`, {\n type: 'invalid-retry',\n value,\n line,\n }),\n )\n }\n break\n default:\n // Otherwise, the field is ignored.\n onError(\n new ParseError(\n `Unknown field \"${field.length > 20 ? `${field.slice(0, 20)}…` : field}\"`,\n {type: 'unknown-field', field, value, line},\n ),\n )\n break\n }\n }\n\n function dispatchEvent() {\n const shouldDispatch = data.length > 0\n if (shouldDispatch) {\n onEvent({\n id,\n event: eventType || undefined,\n // If the data buffer's last character is a U+000A LINE FEED (LF) character,\n // then remove the last character from the data buffer.\n data: data.endsWith('\\n') ? data.slice(0, -1) : data,\n })\n }\n\n // Reset for the next event\n id = undefined\n data = ''\n eventType = ''\n }\n\n function reset(options: {consume?: boolean} = {}) {\n if (incompleteLine && options.consume) {\n parseLine(incompleteLine)\n }\n\n isFirstChunk = true\n id = undefined\n data = ''\n eventType = ''\n incompleteLine = ''\n }\n\n return {feed, reset}\n}\n\n/**\n * For the given `chunk`, split it into lines according to spec, and return any remaining incomplete line.\n *\n * @param chunk - The chunk to split into lines\n * @returns A tuple containing an array of complete lines, and any remaining incomplete line\n * @internal\n */\nfunction splitLines(chunk: string): [complete: Array<string>, incomplete: string] {\n /**\n * According to the spec, a line is terminated by either:\n * - U+000D CARRIAGE RETURN U+000A LINE FEED (CRLF) character pair\n * - a single U+000A LINE FEED(LF) character not preceded by a U+000D CARRIAGE RETURN(CR) character\n * - a single U+000D CARRIAGE RETURN(CR) character not followed by a U+000A LINE FEED(LF) character\n */\n const lines: Array<string> = []\n let incompleteLine = ''\n let searchIndex = 0\n\n while (searchIndex < chunk.length) {\n // Find next line terminator\n const crIndex = chunk.indexOf('\\r', searchIndex)\n const lfIndex = chunk.indexOf('\\n', searchIndex)\n\n // Determine line end\n let lineEnd = -1\n if (crIndex !== -1 && lfIndex !== -1) {\n // CRLF case\n lineEnd = Math.min(crIndex, lfIndex)\n } else if (crIndex !== -1) {\n // CR at the end of a chunk might be part of a CRLF sequence that spans chunks,\n // so we shouldn't treat it as a line terminator (yet)\n if (crIndex === chunk.length - 1) {\n lineEnd = -1\n } else {\n lineEnd = crIndex\n }\n } else if (lfIndex !== -1) {\n lineEnd = lfIndex\n }\n\n // Extract line if terminator found\n if (lineEnd === -1) {\n // No terminator found, rest is incomplete\n incompleteLine = chunk.slice(searchIndex)\n break\n } else {\n const line = chunk.slice(searchIndex, lineEnd)\n lines.push(line)\n\n // Move past line terminator\n searchIndex = lineEnd + 1\n if (chunk[searchIndex - 1] === '\\r' && chunk[searchIndex] === '\\n') {\n searchIndex++\n }\n }\n }\n\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ACzC,UAAU,MAAM,QAAQ;AAAA,GAAM,WAAW;AAG/C,QAAI,UAAU;AAiBd,QAhBI,YAAY,MAAM,YAAY,KAEhC,UAAU,KAAK,IAAI,SAAS,OAAO,IAC1B,YAAY,KAGjB,YAAY,MAAM,SAAS,IAC7B,UAAU,KAEV,UAAU,UAEH,YAAY,OACrB,UAAU,UAIR,YAAY,IAAI;AAElB,uBAAiB,MAAM,MAAM,WAAW;AACxC;AAAA,IACF,OAAO;AACL,YAAM,OAAO,MAAM,MAAM,aAAa,OAAO;AAC7C,YAAM,KAAK,IAAI,GAGf,cAAc,UAAU,GACpB,MAAM,cAAc,CAAC,MAAM,QAAQ,MAAM,WAAW,MAAM;AAAA,KAC5D;AAAA,IAEJ;AAAA,EACF;AAEA,SAAO,CAAC,OAAO,cAAc;AAC/B;;;"}
|
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Creates a new EventSource parser.
|
|
3
|
-
*
|
|
4
|
-
* @param callbacks - Callbacks to invoke on different parsing events:
|
|
5
|
-
* - `onEvent` when a new event is parsed
|
|
6
|
-
* - `onError` when an error occurs
|
|
7
|
-
* - `onRetry` when a new reconnection interval has been sent from the server
|
|
8
|
-
* - `onComment` when a comment is encountered in the stream
|
|
9
|
-
*
|
|
10
|
-
* @returns A new EventSource parser, with `parse` and `reset` methods.
|
|
11
|
-
* @public
|
|
12
|
-
*/
|
|
13
|
-
export declare function createParser(callbacks: ParserCallbacks): EventSourceParser
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* The type of error that occurred.
|
|
17
|
-
* @public
|
|
18
|
-
*/
|
|
19
|
-
export declare type ErrorType = 'invalid-retry' | 'unknown-field'
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* A parsed EventSource message event
|
|
23
|
-
*
|
|
24
|
-
* @public
|
|
25
|
-
*/
|
|
26
|
-
export declare interface EventSourceMessage {
|
|
27
|
-
/**
|
|
28
|
-
* The event type sent from the server. Note that this differs from the browser `EventSource`
|
|
29
|
-
* implementation in that browsers will default this to `message`, whereas this parser will
|
|
30
|
-
* leave this as `undefined` if not explicitly declared.
|
|
31
|
-
*/
|
|
32
|
-
event?: string | undefined
|
|
33
|
-
/**
|
|
34
|
-
* ID of the message, if any was provided by the server. Can be used by clients to keep the
|
|
35
|
-
* last received message ID in sync when reconnecting.
|
|
36
|
-
*/
|
|
37
|
-
id?: string | undefined
|
|
38
|
-
/**
|
|
39
|
-
* The data received for this message
|
|
40
|
-
*/
|
|
41
|
-
data: string
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* EventSource parser instance.
|
|
46
|
-
*
|
|
47
|
-
* Needs to be reset between reconnections/when switching data source, using the `reset()` method.
|
|
48
|
-
*
|
|
49
|
-
* @public
|
|
50
|
-
*/
|
|
51
|
-
export declare interface EventSourceParser {
|
|
52
|
-
/**
|
|
53
|
-
* Feeds the parser another chunk. The method _does not_ return a parsed message.
|
|
54
|
-
* Instead, callbacks passed when creating the parser will be triggered once we see enough data
|
|
55
|
-
* for a valid/invalid parsing step (see {@link ParserCallbacks}).
|
|
56
|
-
*
|
|
57
|
-
* @param chunk - The chunk to parse. Can be a partial, eg in the case of streaming messages.
|
|
58
|
-
* @public
|
|
59
|
-
*/
|
|
60
|
-
feed(chunk: string): void
|
|
61
|
-
/**
|
|
62
|
-
* Resets the parser state. This is required when you have a new stream of messages -
|
|
63
|
-
* for instance in the case of a client being disconnected and reconnecting.
|
|
64
|
-
*
|
|
65
|
-
* Previously received, incomplete data will NOT be parsed unless you pass `consume: true`,
|
|
66
|
-
* which tells the parser to attempt to consume any incomplete data as if it ended with a newline
|
|
67
|
-
* character. This is useful for cases when a server sends a non-EventSource message that you
|
|
68
|
-
* want to be able to react to in an `onError` callback.
|
|
69
|
-
*
|
|
70
|
-
* @public
|
|
71
|
-
*/
|
|
72
|
-
reset(options?: {consume?: boolean}): void
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* Error thrown when encountering an issue during parsing.
|
|
77
|
-
*
|
|
78
|
-
* @public
|
|
79
|
-
*/
|
|
80
|
-
export declare class ParseError extends Error {
|
|
81
|
-
/**
|
|
82
|
-
* The type of error that occurred.
|
|
83
|
-
*/
|
|
84
|
-
type: ErrorType
|
|
85
|
-
/**
|
|
86
|
-
* In the case of an unknown field encountered in the stream, this will be the field name.
|
|
87
|
-
*/
|
|
88
|
-
field?: string | undefined
|
|
89
|
-
/**
|
|
90
|
-
* In the case of an unknown field encountered in the stream, this will be the value of the field.
|
|
91
|
-
*/
|
|
92
|
-
value?: string | undefined
|
|
93
|
-
/**
|
|
94
|
-
* The line that caused the error, if available.
|
|
95
|
-
*/
|
|
96
|
-
line?: string | undefined
|
|
97
|
-
constructor(
|
|
98
|
-
message: string,
|
|
99
|
-
options: {
|
|
100
|
-
type: ErrorType
|
|
101
|
-
field?: string
|
|
102
|
-
value?: string
|
|
103
|
-
line?: string
|
|
104
|
-
},
|
|
105
|
-
)
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
* Callbacks that can be passed to the parser to handle different types of parsed messages
|
|
110
|
-
* and errors.
|
|
111
|
-
*
|
|
112
|
-
* @public
|
|
113
|
-
*/
|
|
114
|
-
export declare interface ParserCallbacks {
|
|
115
|
-
/**
|
|
116
|
-
* Callback for when a new event/message is parsed from the stream.
|
|
117
|
-
* This is the main callback that clients will use to handle incoming messages.
|
|
118
|
-
*
|
|
119
|
-
* @param event - The parsed event/message
|
|
120
|
-
*/
|
|
121
|
-
onEvent?: ((event: EventSourceMessage) => void) | undefined
|
|
122
|
-
/**
|
|
123
|
-
* Callback for when the server sends a new reconnection interval through the `retry` field.
|
|
124
|
-
*
|
|
125
|
-
* @param retry - The number of milliseconds to wait before reconnecting.
|
|
126
|
-
*/
|
|
127
|
-
onRetry?: ((retry: number) => void) | undefined
|
|
128
|
-
/**
|
|
129
|
-
* Callback for when a comment is encountered in the stream.
|
|
130
|
-
*
|
|
131
|
-
* @param comment - The comment encountered in the stream.
|
|
132
|
-
*/
|
|
133
|
-
onComment?: ((comment: string) => void) | undefined
|
|
134
|
-
/**
|
|
135
|
-
* Callback for when an error occurs during parsing. This is a catch-all for any errors
|
|
136
|
-
* that occur during parsing, and can be used to handle them in a custom way. Most clients
|
|
137
|
-
* tend to silently ignore any errors and instead retry, but it can be helpful to log/debug.
|
|
138
|
-
*
|
|
139
|
-
* @param error - The error that occurred during parsing
|
|
140
|
-
*/
|
|
141
|
-
onError?: ((error: ParseError) => void) | undefined
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
export {}
|