@vibedeckx/darwin-arm64 0.1.11 → 0.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ui/404/index.html +1 -1
- package/dist/ui/404.html +1 -1
- package/dist/ui/__next.__PAGE__.txt +1 -1
- package/dist/ui/__next._full.txt +1 -1
- package/dist/ui/__next._head.txt +1 -1
- package/dist/ui/__next._index.txt +1 -1
- package/dist/ui/__next._tree.txt +1 -1
- package/dist/ui/_not-found/__next._full.txt +1 -1
- package/dist/ui/_not-found/__next._head.txt +1 -1
- package/dist/ui/_not-found/__next._index.txt +1 -1
- package/dist/ui/_not-found/__next._not-found.__PAGE__.txt +1 -1
- package/dist/ui/_not-found/__next._not-found.txt +1 -1
- package/dist/ui/_not-found/__next._tree.txt +1 -1
- package/dist/ui/_not-found/index.html +1 -1
- package/dist/ui/_not-found/index.txt +1 -1
- package/dist/ui/index.html +1 -1
- package/dist/ui/index.txt +1 -1
- package/node_modules/@ai-sdk/deepseek/dist/index.d.mts +68 -0
- package/node_modules/@ai-sdk/deepseek/dist/index.d.ts +68 -0
- package/node_modules/@ai-sdk/deepseek/dist/index.js +831 -0
- package/node_modules/@ai-sdk/deepseek/dist/index.js.map +1 -0
- package/node_modules/@ai-sdk/deepseek/dist/index.mjs +819 -0
- package/node_modules/@ai-sdk/deepseek/dist/index.mjs.map +1 -0
- package/node_modules/@ai-sdk/deepseek/package.json +74 -0
- package/node_modules/@ai-sdk/gateway/dist/index.d.mts +713 -0
- package/node_modules/@ai-sdk/gateway/dist/index.d.ts +713 -0
- package/node_modules/@ai-sdk/gateway/dist/index.js +1735 -0
- package/node_modules/@ai-sdk/gateway/dist/index.js.map +1 -0
- package/node_modules/@ai-sdk/gateway/dist/index.mjs +1768 -0
- package/node_modules/@ai-sdk/gateway/dist/index.mjs.map +1 -0
- package/node_modules/@ai-sdk/gateway/package.json +78 -0
- package/node_modules/@ai-sdk/provider/dist/index.d.mts +4030 -0
- package/node_modules/@ai-sdk/provider/dist/index.d.ts +4030 -0
- package/node_modules/@ai-sdk/provider/dist/index.js +448 -0
- package/node_modules/@ai-sdk/provider/dist/index.js.map +1 -0
- package/node_modules/@ai-sdk/provider/dist/index.mjs +404 -0
- package/node_modules/@ai-sdk/provider/dist/index.mjs.map +1 -0
- package/node_modules/@ai-sdk/provider/package.json +63 -0
- package/node_modules/@ai-sdk/provider-utils/dist/index.d.mts +1433 -0
- package/node_modules/@ai-sdk/provider-utils/dist/index.d.ts +1433 -0
- package/node_modules/@ai-sdk/provider-utils/dist/index.js +2850 -0
- package/node_modules/@ai-sdk/provider-utils/dist/index.js.map +1 -0
- package/node_modules/@ai-sdk/provider-utils/dist/index.mjs +2762 -0
- package/node_modules/@ai-sdk/provider-utils/dist/index.mjs.map +1 -0
- package/node_modules/@ai-sdk/provider-utils/package.json +79 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/APIKeysApi.d.ts +76 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/APIKeysApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/AbstractApi.d.ts +7 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/AbstractApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/AccountlessApplicationsAPI.d.ts +11 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/AccountlessApplicationsAPI.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/ActorTokenApi.d.ts +47 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/ActorTokenApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/AgentTaskApi.d.ts +47 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/AgentTaskApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/AllowlistIdentifierApi.d.ts +16 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/AllowlistIdentifierApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/BetaFeaturesApi.d.ts +29 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/BetaFeaturesApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/BillingApi.d.ts +47 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/BillingApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/BlocklistIdentifierApi.d.ts +15 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/BlocklistIdentifierApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/ClientApi.d.ts +16 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/ClientApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/DomainApi.d.ts +46 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/DomainApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/EmailAddressApi.d.ts +20 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/EmailAddressApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/EnterpriseConnectionApi.d.ts +62 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/EnterpriseConnectionApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/IdPOAuthAccessTokenApi.d.ts +6 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/IdPOAuthAccessTokenApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/InstanceApi.d.ts +70 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/InstanceApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/InvitationApi.d.ts +50 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/InvitationApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/JwksApi.d.ts +6 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/JwksApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/JwtTemplatesApi.d.ts +50 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/JwtTemplatesApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/M2MTokenApi.d.ts +87 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/M2MTokenApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/MachineApi.d.ts +81 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/MachineApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/OAuthApplicationsApi.d.ts +49 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/OAuthApplicationsApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/OrganizationApi.d.ts +200 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/OrganizationApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/PhoneNumberApi.d.ts +22 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/PhoneNumberApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/ProxyCheckApi.d.ts +11 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/ProxyCheckApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/RedirectUrlApi.d.ts +14 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/RedirectUrlApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/SamlConnectionApi.d.ts +69 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/SamlConnectionApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/SessionApi.d.ts +52 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/SessionApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/SignInTokenApi.d.ts +12 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/SignInTokenApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/SignUpApi.d.ts +13 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/SignUpApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/TestingTokenApi.d.ts +6 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/TestingTokenApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/UserApi.d.ts +178 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/UserApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/WaitlistEntryApi.d.ts +61 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/WaitlistEntryApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/WebhookApi.d.ts +8 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/WebhookApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/index.d.ts +33 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/index.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/util-types.d.ts +2 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/util-types.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/factory.d.ts +51 -0
- package/node_modules/@clerk/backend/dist/api/factory.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/index.d.ts +3 -0
- package/node_modules/@clerk/backend/dist/api/index.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/request.d.ts +76 -0
- package/node_modules/@clerk/backend/dist/api/request.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/APIKey.d.ts +137 -0
- package/node_modules/@clerk/backend/dist/api/resources/APIKey.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/AccountlessApplication.d.ts +10 -0
- package/node_modules/@clerk/backend/dist/api/resources/AccountlessApplication.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/ActorToken.d.ts +15 -0
- package/node_modules/@clerk/backend/dist/api/resources/ActorToken.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/AgentTask.d.ts +42 -0
- package/node_modules/@clerk/backend/dist/api/resources/AgentTask.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/AllowlistIdentifier.d.ts +66 -0
- package/node_modules/@clerk/backend/dist/api/resources/AllowlistIdentifier.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/BlocklistIdentifier.d.ts +13 -0
- package/node_modules/@clerk/backend/dist/api/resources/BlocklistIdentifier.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/Client.d.ts +83 -0
- package/node_modules/@clerk/backend/dist/api/resources/Client.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/CnameTarget.d.ts +9 -0
- package/node_modules/@clerk/backend/dist/api/resources/CnameTarget.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/CommercePlan.d.ts +141 -0
- package/node_modules/@clerk/backend/dist/api/resources/CommercePlan.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/CommerceSubscription.d.ts +99 -0
- package/node_modules/@clerk/backend/dist/api/resources/CommerceSubscription.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/CommerceSubscriptionItem.d.ts +167 -0
- package/node_modules/@clerk/backend/dist/api/resources/CommerceSubscriptionItem.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/Cookies.d.ts +7 -0
- package/node_modules/@clerk/backend/dist/api/resources/Cookies.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/DeletedObject.d.ts +10 -0
- package/node_modules/@clerk/backend/dist/api/resources/DeletedObject.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/Deserializer.d.ts +26 -0
- package/node_modules/@clerk/backend/dist/api/resources/Deserializer.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/Domain.d.ts +15 -0
- package/node_modules/@clerk/backend/dist/api/resources/Domain.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/Email.d.ts +17 -0
- package/node_modules/@clerk/backend/dist/api/resources/Email.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/EmailAddress.d.ts +47 -0
- package/node_modules/@clerk/backend/dist/api/resources/EmailAddress.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/EnterpriseAccount.d.ts +225 -0
- package/node_modules/@clerk/backend/dist/api/resources/EnterpriseAccount.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/EnterpriseConnection.d.ts +89 -0
- package/node_modules/@clerk/backend/dist/api/resources/EnterpriseConnection.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/Enums.d.ts +42 -0
- package/node_modules/@clerk/backend/dist/api/resources/Enums.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/ExternalAccount.d.ts +134 -0
- package/node_modules/@clerk/backend/dist/api/resources/ExternalAccount.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/Feature.d.ts +51 -0
- package/node_modules/@clerk/backend/dist/api/resources/Feature.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/HandshakePayload.d.ts +9 -0
- package/node_modules/@clerk/backend/dist/api/resources/HandshakePayload.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/IdPOAuthAccessToken.d.ts +23 -0
- package/node_modules/@clerk/backend/dist/api/resources/IdPOAuthAccessToken.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/IdentificationLink.d.ts +25 -0
- package/node_modules/@clerk/backend/dist/api/resources/IdentificationLink.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/Instance.d.ts +9 -0
- package/node_modules/@clerk/backend/dist/api/resources/Instance.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/InstanceRestrictions.d.ts +11 -0
- package/node_modules/@clerk/backend/dist/api/resources/InstanceRestrictions.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/InstanceSettings.d.ts +11 -0
- package/node_modules/@clerk/backend/dist/api/resources/InstanceSettings.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/Invitation.d.ts +76 -0
- package/node_modules/@clerk/backend/dist/api/resources/Invitation.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/JSON.d.ts +971 -0
- package/node_modules/@clerk/backend/dist/api/resources/JSON.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/JwtTemplate.d.ts +15 -0
- package/node_modules/@clerk/backend/dist/api/resources/JwtTemplate.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/M2MToken.d.ts +31 -0
- package/node_modules/@clerk/backend/dist/api/resources/M2MToken.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/Machine.d.ts +17 -0
- package/node_modules/@clerk/backend/dist/api/resources/Machine.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/MachineScope.d.ts +13 -0
- package/node_modules/@clerk/backend/dist/api/resources/MachineScope.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/MachineSecretKey.d.ts +10 -0
- package/node_modules/@clerk/backend/dist/api/resources/MachineSecretKey.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/OAuthApplication.d.ts +169 -0
- package/node_modules/@clerk/backend/dist/api/resources/OAuthApplication.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/OauthAccessToken.d.ts +83 -0
- package/node_modules/@clerk/backend/dist/api/resources/OauthAccessToken.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/Organization.d.ts +115 -0
- package/node_modules/@clerk/backend/dist/api/resources/Organization.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/OrganizationDomain.d.ts +18 -0
- package/node_modules/@clerk/backend/dist/api/resources/OrganizationDomain.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/OrganizationInvitation.d.ts +116 -0
- package/node_modules/@clerk/backend/dist/api/resources/OrganizationInvitation.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/OrganizationMembership.d.ts +140 -0
- package/node_modules/@clerk/backend/dist/api/resources/OrganizationMembership.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/OrganizationSettings.d.ts +17 -0
- package/node_modules/@clerk/backend/dist/api/resources/OrganizationSettings.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/PhoneNumber.d.ts +63 -0
- package/node_modules/@clerk/backend/dist/api/resources/PhoneNumber.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/ProxyCheck.d.ts +13 -0
- package/node_modules/@clerk/backend/dist/api/resources/ProxyCheck.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/RedirectUrl.d.ts +47 -0
- package/node_modules/@clerk/backend/dist/api/resources/RedirectUrl.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/SMSMessage.d.ts +13 -0
- package/node_modules/@clerk/backend/dist/api/resources/SMSMessage.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/SamlConnection.d.ts +215 -0
- package/node_modules/@clerk/backend/dist/api/resources/SamlConnection.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/Session.d.ts +176 -0
- package/node_modules/@clerk/backend/dist/api/resources/Session.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/SignInTokens.d.ts +13 -0
- package/node_modules/@clerk/backend/dist/api/resources/SignInTokens.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/SignUpAttempt.d.ts +44 -0
- package/node_modules/@clerk/backend/dist/api/resources/SignUpAttempt.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/TestingToken.d.ts +8 -0
- package/node_modules/@clerk/backend/dist/api/resources/TestingToken.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/Token.d.ts +7 -0
- package/node_modules/@clerk/backend/dist/api/resources/Token.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/User.d.ts +296 -0
- package/node_modules/@clerk/backend/dist/api/resources/User.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/Verification.d.ts +90 -0
- package/node_modules/@clerk/backend/dist/api/resources/Verification.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/WaitlistEntry.d.ts +67 -0
- package/node_modules/@clerk/backend/dist/api/resources/WaitlistEntry.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/Web3Wallet.d.ts +36 -0
- package/node_modules/@clerk/backend/dist/api/resources/Web3Wallet.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/Webhooks.d.ts +32 -0
- package/node_modules/@clerk/backend/dist/api/resources/Webhooks.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/index.d.ts +57 -0
- package/node_modules/@clerk/backend/dist/api/resources/index.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/chunk-7KLH7JRZ.mjs +394 -0
- package/node_modules/@clerk/backend/dist/chunk-7KLH7JRZ.mjs.map +1 -0
- package/node_modules/@clerk/backend/dist/chunk-I4B6KCGC.mjs +86 -0
- package/node_modules/@clerk/backend/dist/chunk-I4B6KCGC.mjs.map +1 -0
- package/node_modules/@clerk/backend/dist/chunk-P263NW7Z.mjs +25 -0
- package/node_modules/@clerk/backend/dist/chunk-P263NW7Z.mjs.map +1 -0
- package/node_modules/@clerk/backend/dist/chunk-QR37SKMP.mjs +6248 -0
- package/node_modules/@clerk/backend/dist/chunk-QR37SKMP.mjs.map +1 -0
- package/node_modules/@clerk/backend/dist/chunk-TOROEX6P.mjs +43 -0
- package/node_modules/@clerk/backend/dist/chunk-TOROEX6P.mjs.map +1 -0
- package/node_modules/@clerk/backend/dist/chunk-YBVFDYDR.mjs +26 -0
- package/node_modules/@clerk/backend/dist/chunk-YBVFDYDR.mjs.map +1 -0
- package/node_modules/@clerk/backend/dist/constants.d.ts +91 -0
- package/node_modules/@clerk/backend/dist/constants.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/createRedirect.d.ts +25 -0
- package/node_modules/@clerk/backend/dist/createRedirect.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/errors.d.ts +67 -0
- package/node_modules/@clerk/backend/dist/errors.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/errors.js +116 -0
- package/node_modules/@clerk/backend/dist/errors.js.map +1 -0
- package/node_modules/@clerk/backend/dist/errors.mjs +20 -0
- package/node_modules/@clerk/backend/dist/errors.mjs.map +1 -0
- package/node_modules/@clerk/backend/dist/fixtures/index.d.ts +105 -0
- package/node_modules/@clerk/backend/dist/fixtures/index.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/fixtures/machine.d.ts +72 -0
- package/node_modules/@clerk/backend/dist/fixtures/machine.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/index.d.ts +49 -0
- package/node_modules/@clerk/backend/dist/index.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/index.js +6575 -0
- package/node_modules/@clerk/backend/dist/index.js.map +1 -0
- package/node_modules/@clerk/backend/dist/index.mjs +38 -0
- package/node_modules/@clerk/backend/dist/index.mjs.map +1 -0
- package/node_modules/@clerk/backend/dist/internal.d.ts +20 -0
- package/node_modules/@clerk/backend/dist/internal.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/internal.js +6743 -0
- package/node_modules/@clerk/backend/dist/internal.js.map +1 -0
- package/node_modules/@clerk/backend/dist/internal.mjs +55 -0
- package/node_modules/@clerk/backend/dist/internal.mjs.map +1 -0
- package/node_modules/@clerk/backend/dist/jwt/algorithms.d.ts +3 -0
- package/node_modules/@clerk/backend/dist/jwt/algorithms.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/jwt/assertions.d.ts +10 -0
- package/node_modules/@clerk/backend/dist/jwt/assertions.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/jwt/cryptoKeys.d.ts +2 -0
- package/node_modules/@clerk/backend/dist/jwt/cryptoKeys.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/jwt/index.d.ts +7 -0
- package/node_modules/@clerk/backend/dist/jwt/index.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/jwt/index.js +539 -0
- package/node_modules/@clerk/backend/dist/jwt/index.js.map +1 -0
- package/node_modules/@clerk/backend/dist/jwt/index.mjs +64 -0
- package/node_modules/@clerk/backend/dist/jwt/index.mjs.map +1 -0
- package/node_modules/@clerk/backend/dist/jwt/legacyReturn.d.ts +4 -0
- package/node_modules/@clerk/backend/dist/jwt/legacyReturn.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/jwt/signJwt.d.ts +20 -0
- package/node_modules/@clerk/backend/dist/jwt/signJwt.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/jwt/types.d.ts +18 -0
- package/node_modules/@clerk/backend/dist/jwt/types.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/jwt/verifyJwt.d.ts +38 -0
- package/node_modules/@clerk/backend/dist/jwt/verifyJwt.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/jwt/verifyMachineJwt.d.ts +19 -0
- package/node_modules/@clerk/backend/dist/jwt/verifyMachineJwt.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/mock-server.d.ts +4 -0
- package/node_modules/@clerk/backend/dist/mock-server.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/proxy.d.ts +72 -0
- package/node_modules/@clerk/backend/dist/proxy.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/proxy.js +227 -0
- package/node_modules/@clerk/backend/dist/proxy.js.map +1 -0
- package/node_modules/@clerk/backend/dist/proxy.mjs +208 -0
- package/node_modules/@clerk/backend/dist/proxy.mjs.map +1 -0
- package/node_modules/@clerk/backend/dist/runtime/browser/crypto.mjs +1 -0
- package/node_modules/@clerk/backend/dist/runtime/node/crypto.js +1 -0
- package/node_modules/@clerk/backend/dist/runtime/node/crypto.mjs +1 -0
- package/node_modules/@clerk/backend/dist/runtime.d.ts +26 -0
- package/node_modules/@clerk/backend/dist/runtime.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/tokens/authObjects.d.ts +193 -0
- package/node_modules/@clerk/backend/dist/tokens/authObjects.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/tokens/authStatus.d.ts +120 -0
- package/node_modules/@clerk/backend/dist/tokens/authStatus.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/tokens/authenticateContext.d.ts +78 -0
- package/node_modules/@clerk/backend/dist/tokens/authenticateContext.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/tokens/clerkRequest.d.ts +29 -0
- package/node_modules/@clerk/backend/dist/tokens/clerkRequest.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/tokens/clerkUrl.d.ts +18 -0
- package/node_modules/@clerk/backend/dist/tokens/clerkUrl.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/tokens/cookie.d.ts +3 -0
- package/node_modules/@clerk/backend/dist/tokens/cookie.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/tokens/factory.d.ts +29 -0
- package/node_modules/@clerk/backend/dist/tokens/factory.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/tokens/handshake.d.ts +64 -0
- package/node_modules/@clerk/backend/dist/tokens/handshake.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/tokens/keys.d.ts +54 -0
- package/node_modules/@clerk/backend/dist/tokens/keys.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/tokens/machine.d.ts +85 -0
- package/node_modules/@clerk/backend/dist/tokens/machine.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/tokens/organizationMatcher.d.ts +11 -0
- package/node_modules/@clerk/backend/dist/tokens/organizationMatcher.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/tokens/request.d.ts +60 -0
- package/node_modules/@clerk/backend/dist/tokens/request.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/tokens/tokenTypes.d.ts +19 -0
- package/node_modules/@clerk/backend/dist/tokens/tokenTypes.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/tokens/types.d.ts +253 -0
- package/node_modules/@clerk/backend/dist/tokens/types.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/tokens/verify.d.ts +109 -0
- package/node_modules/@clerk/backend/dist/tokens/verify.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/util/decorateObjectWithResources.d.ts +22 -0
- package/node_modules/@clerk/backend/dist/util/decorateObjectWithResources.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/util/mergePreDefinedOptions.d.ts +2 -0
- package/node_modules/@clerk/backend/dist/util/mergePreDefinedOptions.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/util/optionsAssertions.d.ts +3 -0
- package/node_modules/@clerk/backend/dist/util/optionsAssertions.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/util/path.d.ts +4 -0
- package/node_modules/@clerk/backend/dist/util/path.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/util/rfc4648.d.ts +26 -0
- package/node_modules/@clerk/backend/dist/util/rfc4648.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/util/shared.d.ts +7 -0
- package/node_modules/@clerk/backend/dist/util/shared.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/webhooks.d.ts +50 -0
- package/node_modules/@clerk/backend/dist/webhooks.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/webhooks.js +104 -0
- package/node_modules/@clerk/backend/dist/webhooks.js.map +1 -0
- package/node_modules/@clerk/backend/dist/webhooks.mjs +72 -0
- package/node_modules/@clerk/backend/dist/webhooks.mjs.map +1 -0
- package/node_modules/@clerk/backend/errors/package.json +5 -0
- package/node_modules/@clerk/backend/internal/package.json +5 -0
- package/node_modules/@clerk/backend/jwt/package.json +5 -0
- package/node_modules/@clerk/backend/package.json +140 -0
- package/node_modules/@clerk/backend/proxy/package.json +5 -0
- package/node_modules/@clerk/backend/webhooks/package.json +5 -0
- package/node_modules/@clerk/fastify/dist/chunk-RY4T2JMQ.mjs +53 -0
- package/node_modules/@clerk/fastify/dist/chunk-RY4T2JMQ.mjs.map +1 -0
- package/node_modules/@clerk/fastify/dist/index-CWnSaB0B.d.mts +25 -0
- package/node_modules/@clerk/fastify/dist/index-CWnSaB0B.d.ts +25 -0
- package/node_modules/@clerk/fastify/dist/index.d.mts +16 -0
- package/node_modules/@clerk/fastify/dist/index.d.ts +16 -0
- package/node_modules/@clerk/fastify/dist/index.js +250 -0
- package/node_modules/@clerk/fastify/dist/index.js.map +1 -0
- package/node_modules/@clerk/fastify/dist/index.mjs +168 -0
- package/node_modules/@clerk/fastify/dist/index.mjs.map +1 -0
- package/node_modules/@clerk/fastify/dist/types.d.mts +4 -0
- package/node_modules/@clerk/fastify/dist/types.d.ts +4 -0
- package/node_modules/@clerk/fastify/dist/types.js +19 -0
- package/node_modules/@clerk/fastify/dist/types.js.map +1 -0
- package/node_modules/@clerk/fastify/dist/types.mjs +1 -0
- package/node_modules/@clerk/fastify/dist/types.mjs.map +1 -0
- package/node_modules/@clerk/fastify/dist/webhooks.d.mts +19 -0
- package/node_modules/@clerk/fastify/dist/webhooks.d.ts +19 -0
- package/node_modules/@clerk/fastify/dist/webhooks.js +66 -0
- package/node_modules/@clerk/fastify/dist/webhooks.js.map +1 -0
- package/node_modules/@clerk/fastify/dist/webhooks.mjs +18 -0
- package/node_modules/@clerk/fastify/dist/webhooks.mjs.map +1 -0
- package/node_modules/@clerk/fastify/package.json +93 -0
- package/node_modules/@clerk/fastify/webhooks/package.json +5 -0
- package/node_modules/@clerk/shared/dist/runtime/alternativePhoneCode.d.mts +9 -0
- package/node_modules/@clerk/shared/dist/runtime/alternativePhoneCode.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/alternativePhoneCode.d.ts +9 -0
- package/node_modules/@clerk/shared/dist/runtime/alternativePhoneCode.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/alternativePhoneCode.js +15 -0
- package/node_modules/@clerk/shared/dist/runtime/alternativePhoneCode.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/alternativePhoneCode.mjs +13 -0
- package/node_modules/@clerk/shared/dist/runtime/alternativePhoneCode.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/apiUrlFromPublishableKey.d.mts +11 -0
- package/node_modules/@clerk/shared/dist/runtime/apiUrlFromPublishableKey.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/apiUrlFromPublishableKey.d.ts +11 -0
- package/node_modules/@clerk/shared/dist/runtime/apiUrlFromPublishableKey.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/apiUrlFromPublishableKey.js +23 -0
- package/node_modules/@clerk/shared/dist/runtime/apiUrlFromPublishableKey.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/apiUrlFromPublishableKey.mjs +23 -0
- package/node_modules/@clerk/shared/dist/runtime/apiUrlFromPublishableKey.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization-Du_JQmnH.js +253 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization-Du_JQmnH.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization-Un7v7f6J.mjs +229 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization-Un7v7f6J.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization-errors-B7aH39AU.js +33 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization-errors-B7aH39AU.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization-errors-CBHAr6Ld.mjs +15 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization-errors-CBHAr6Ld.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization-errors.d.mts +26 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization-errors.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization-errors.d.ts +26 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization-errors.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization-errors.js +5 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization-errors.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization.d.mts +72 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization.d.ts +72 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization.js +6 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/browser-CMFCxUv7.mjs +81 -0
- package/node_modules/@clerk/shared/dist/runtime/browser-CMFCxUv7.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/browser-CaHqvEp1.js +111 -0
- package/node_modules/@clerk/shared/dist/runtime/browser-CaHqvEp1.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/browser.d.mts +35 -0
- package/node_modules/@clerk/shared/dist/runtime/browser.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/browser.d.ts +35 -0
- package/node_modules/@clerk/shared/dist/runtime/browser.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/browser.js +7 -0
- package/node_modules/@clerk/shared/dist/runtime/browser.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/buildAccountsBaseUrl.d.mts +8 -0
- package/node_modules/@clerk/shared/dist/runtime/buildAccountsBaseUrl.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/buildAccountsBaseUrl.d.ts +8 -0
- package/node_modules/@clerk/shared/dist/runtime/buildAccountsBaseUrl.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/buildAccountsBaseUrl.js +13 -0
- package/node_modules/@clerk/shared/dist/runtime/buildAccountsBaseUrl.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/buildAccountsBaseUrl.mjs +12 -0
- package/node_modules/@clerk/shared/dist/runtime/buildAccountsBaseUrl.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/chunk-nOFOJqeH.js +30 -0
- package/node_modules/@clerk/shared/dist/runtime/clerkEventBus.d.mts +22 -0
- package/node_modules/@clerk/shared/dist/runtime/clerkEventBus.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/clerkEventBus.d.ts +22 -0
- package/node_modules/@clerk/shared/dist/runtime/clerkEventBus.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/clerkEventBus.js +12 -0
- package/node_modules/@clerk/shared/dist/runtime/clerkEventBus.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/clerkEventBus.mjs +11 -0
- package/node_modules/@clerk/shared/dist/runtime/clerkEventBus.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/clerkRuntimeError-CaS4sM5w.js +138 -0
- package/node_modules/@clerk/shared/dist/runtime/clerkRuntimeError-CaS4sM5w.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/clerkRuntimeError-DqAmLuLY.mjs +108 -0
- package/node_modules/@clerk/shared/dist/runtime/clerkRuntimeError-DqAmLuLY.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/color.d.mts +18 -0
- package/node_modules/@clerk/shared/dist/runtime/color.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/color.d.ts +18 -0
- package/node_modules/@clerk/shared/dist/runtime/color.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/color.js +142 -0
- package/node_modules/@clerk/shared/dist/runtime/color.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/color.mjs +131 -0
- package/node_modules/@clerk/shared/dist/runtime/color.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/complexity-DEun2UD2.js +60 -0
- package/node_modules/@clerk/shared/dist/runtime/complexity-DEun2UD2.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/complexity-DydNJOmy.mjs +48 -0
- package/node_modules/@clerk/shared/dist/runtime/complexity-DydNJOmy.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/constants-BUzkV8jh.js +155 -0
- package/node_modules/@clerk/shared/dist/runtime/constants-BUzkV8jh.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/constants-Bta24VLk.mjs +47 -0
- package/node_modules/@clerk/shared/dist/runtime/constants-Bta24VLk.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/constants-BulbbNR9.mjs +71 -0
- package/node_modules/@clerk/shared/dist/runtime/constants-BulbbNR9.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/constants-WYhx_umW.js +125 -0
- package/node_modules/@clerk/shared/dist/runtime/constants-WYhx_umW.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/constants.d.mts +21 -0
- package/node_modules/@clerk/shared/dist/runtime/constants.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/constants.d.ts +21 -0
- package/node_modules/@clerk/shared/dist/runtime/constants.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/constants.js +15 -0
- package/node_modules/@clerk/shared/dist/runtime/constants.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/cookie.d.mts +30 -0
- package/node_modules/@clerk/shared/dist/runtime/cookie.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/cookie.d.ts +30 -0
- package/node_modules/@clerk/shared/dist/runtime/cookie.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/cookie.js +34 -0
- package/node_modules/@clerk/shared/dist/runtime/cookie.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/cookie.mjs +32 -0
- package/node_modules/@clerk/shared/dist/runtime/cookie.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/createDeferredPromise-Bq0Rf2GM.js +31 -0
- package/node_modules/@clerk/shared/dist/runtime/createDeferredPromise-Bq0Rf2GM.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/createDeferredPromise-CYCAgyvC.mjs +26 -0
- package/node_modules/@clerk/shared/dist/runtime/createDeferredPromise-CYCAgyvC.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/date.d.mts +37 -0
- package/node_modules/@clerk/shared/dist/runtime/date.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/date.d.ts +37 -0
- package/node_modules/@clerk/shared/dist/runtime/date.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/date.js +87 -0
- package/node_modules/@clerk/shared/dist/runtime/date.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/date.mjs +82 -0
- package/node_modules/@clerk/shared/dist/runtime/date.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/deprecated--jK9xTNh.mjs +70 -0
- package/node_modules/@clerk/shared/dist/runtime/deprecated--jK9xTNh.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/deprecated-841w0zq7.js +87 -0
- package/node_modules/@clerk/shared/dist/runtime/deprecated-841w0zq7.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/deprecated.d.mts +40 -0
- package/node_modules/@clerk/shared/dist/runtime/deprecated.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/deprecated.d.ts +40 -0
- package/node_modules/@clerk/shared/dist/runtime/deprecated.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/deprecated.js +6 -0
- package/node_modules/@clerk/shared/dist/runtime/deprecated.mjs +4 -0
- package/node_modules/@clerk/shared/dist/runtime/deriveState-CQUgOdaO.mjs +64 -0
- package/node_modules/@clerk/shared/dist/runtime/deriveState-CQUgOdaO.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/deriveState-zgq99aY1.js +82 -0
- package/node_modules/@clerk/shared/dist/runtime/deriveState-zgq99aY1.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/deriveState.d.mts +28 -0
- package/node_modules/@clerk/shared/dist/runtime/deriveState.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/deriveState.d.ts +28 -0
- package/node_modules/@clerk/shared/dist/runtime/deriveState.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/deriveState.js +5 -0
- package/node_modules/@clerk/shared/dist/runtime/deriveState.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/devBrowser.d.mts +13 -0
- package/node_modules/@clerk/shared/dist/runtime/devBrowser.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/devBrowser.d.ts +13 -0
- package/node_modules/@clerk/shared/dist/runtime/devBrowser.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/devBrowser.js +61 -0
- package/node_modules/@clerk/shared/dist/runtime/devBrowser.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/devBrowser.mjs +57 -0
- package/node_modules/@clerk/shared/dist/runtime/devBrowser.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/dom/index.d.mts +2 -0
- package/node_modules/@clerk/shared/dist/runtime/dom/index.d.ts +2 -0
- package/node_modules/@clerk/shared/dist/runtime/dom/index.js +3 -0
- package/node_modules/@clerk/shared/dist/runtime/dom/index.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/dom/waitForElement.d.mts +2 -0
- package/node_modules/@clerk/shared/dist/runtime/dom/waitForElement.d.ts +2 -0
- package/node_modules/@clerk/shared/dist/runtime/dom/waitForElement.js +3 -0
- package/node_modules/@clerk/shared/dist/runtime/dom/waitForElement.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/encoders-CAjYroSe.mjs +24 -0
- package/node_modules/@clerk/shared/dist/runtime/encoders-CAjYroSe.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/encoders-C_EA3--l.js +48 -0
- package/node_modules/@clerk/shared/dist/runtime/encoders-C_EA3--l.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/error-D-ayZ5nL.mjs +467 -0
- package/node_modules/@clerk/shared/dist/runtime/error-D-ayZ5nL.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/error-kcck_bbZ.js +634 -0
- package/node_modules/@clerk/shared/dist/runtime/error-kcck_bbZ.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/error.d.mts +3 -0
- package/node_modules/@clerk/shared/dist/runtime/error.d.ts +3 -0
- package/node_modules/@clerk/shared/dist/runtime/error.js +35 -0
- package/node_modules/@clerk/shared/dist/runtime/error.mjs +4 -0
- package/node_modules/@clerk/shared/dist/runtime/errors-FAXDzRsM.js +323 -0
- package/node_modules/@clerk/shared/dist/runtime/errors-FAXDzRsM.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/errors-oOcNTWU9.mjs +167 -0
- package/node_modules/@clerk/shared/dist/runtime/errors-oOcNTWU9.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/esm-D9kK-xzr.js +127 -0
- package/node_modules/@clerk/shared/dist/runtime/esm-D9kK-xzr.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/esm-DGPYZuZb.mjs +126 -0
- package/node_modules/@clerk/shared/dist/runtime/esm-DGPYZuZb.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/eventBus-TFTcHo0F.mjs +92 -0
- package/node_modules/@clerk/shared/dist/runtime/eventBus-TFTcHo0F.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/eventBus-mLhN9dkg.js +98 -0
- package/node_modules/@clerk/shared/dist/runtime/eventBus-mLhN9dkg.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/eventBus.d.mts +117 -0
- package/node_modules/@clerk/shared/dist/runtime/eventBus.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/eventBus.d.ts +117 -0
- package/node_modules/@clerk/shared/dist/runtime/eventBus.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/eventBus.js +3 -0
- package/node_modules/@clerk/shared/dist/runtime/eventBus.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/file.d.mts +21 -0
- package/node_modules/@clerk/shared/dist/runtime/file.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/file.d.ts +21 -0
- package/node_modules/@clerk/shared/dist/runtime/file.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/file.js +34 -0
- package/node_modules/@clerk/shared/dist/runtime/file.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/file.mjs +32 -0
- package/node_modules/@clerk/shared/dist/runtime/file.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/getEnvVariable.d.mts +12 -0
- package/node_modules/@clerk/shared/dist/runtime/getEnvVariable.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/getEnvVariable.d.ts +12 -0
- package/node_modules/@clerk/shared/dist/runtime/getEnvVariable.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/getEnvVariable.js +30 -0
- package/node_modules/@clerk/shared/dist/runtime/getEnvVariable.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/getEnvVariable.mjs +29 -0
- package/node_modules/@clerk/shared/dist/runtime/getEnvVariable.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/getToken.d.mts +46 -0
- package/node_modules/@clerk/shared/dist/runtime/getToken.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/getToken.d.ts +46 -0
- package/node_modules/@clerk/shared/dist/runtime/getToken.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/getToken.js +83 -0
- package/node_modules/@clerk/shared/dist/runtime/getToken.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/getToken.mjs +83 -0
- package/node_modules/@clerk/shared/dist/runtime/getToken.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/globs-D0Kpu4g1.js +21 -0
- package/node_modules/@clerk/shared/dist/runtime/globs-D0Kpu4g1.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/globs-u_gXJPLt.mjs +14 -0
- package/node_modules/@clerk/shared/dist/runtime/globs-u_gXJPLt.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/globs.d.mts +7 -0
- package/node_modules/@clerk/shared/dist/runtime/globs.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/globs.d.ts +7 -0
- package/node_modules/@clerk/shared/dist/runtime/globs.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/globs.js +3 -0
- package/node_modules/@clerk/shared/dist/runtime/globs.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn-4-yw9hYF.d.ts +7 -0
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn-4-yw9hYF.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn-BWsoUzyL.d.mts +7 -0
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn-BWsoUzyL.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn-BmJC8Cue.js +19 -0
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn-BmJC8Cue.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn-iAIjw-kJ.mjs +13 -0
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn-iAIjw-kJ.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn.d.mts +11 -0
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn.d.ts +11 -0
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn.js +11 -0
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn.mjs +11 -0
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/hex-txii11Pj.mjs +8 -0
- package/node_modules/@clerk/shared/dist/runtime/hex-txii11Pj.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/hex-zF8OyMcG.js +14 -0
- package/node_modules/@clerk/shared/dist/runtime/hex-zF8OyMcG.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/index-BK_NVS1t.d.ts +10885 -0
- package/node_modules/@clerk/shared/dist/runtime/index-BK_NVS1t.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/index-Cc98l5ga.d.mts +10885 -0
- package/node_modules/@clerk/shared/dist/runtime/index-Cc98l5ga.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/index.d.mts +1 -0
- package/node_modules/@clerk/shared/dist/runtime/index.d.ts +1 -0
- package/node_modules/@clerk/shared/dist/runtime/index.js +6 -0
- package/node_modules/@clerk/shared/dist/runtime/index.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/index.mjs +5 -0
- package/node_modules/@clerk/shared/dist/runtime/index.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/injectedWeb3EthProviders-BqNbQ8Of.js +38 -0
- package/node_modules/@clerk/shared/dist/runtime/injectedWeb3EthProviders-BqNbQ8Of.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/injectedWeb3EthProviders-Cp_aXKsI.mjs +32 -0
- package/node_modules/@clerk/shared/dist/runtime/injectedWeb3EthProviders-Cp_aXKsI.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/injectedWeb3SolanaProviders-Cbd4CVu9.js +48 -0
- package/node_modules/@clerk/shared/dist/runtime/injectedWeb3SolanaProviders-Cbd4CVu9.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/injectedWeb3SolanaProviders-DRQuwtHF.mjs +42 -0
- package/node_modules/@clerk/shared/dist/runtime/injectedWeb3SolanaProviders-DRQuwtHF.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/instance-BmZr0cdE.mjs +11 -0
- package/node_modules/@clerk/shared/dist/runtime/instance-BmZr0cdE.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/instance-C1LlVxIp.js +17 -0
- package/node_modules/@clerk/shared/dist/runtime/instance-C1LlVxIp.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/completeSignUpFlow.d.mts +31 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/completeSignUpFlow.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/completeSignUpFlow.d.ts +31 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/completeSignUpFlow.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/completeSignUpFlow.js +29 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/completeSignUpFlow.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/completeSignUpFlow.mjs +29 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/completeSignUpFlow.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/componentGuards.d.mts +18 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/componentGuards.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/componentGuards.d.ts +18 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/componentGuards.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/componentGuards.js +45 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/componentGuards.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/componentGuards.mjs +35 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/componentGuards.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/constants.d.mts +54 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/constants.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/constants.d.ts +54 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/constants.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/constants.js +16 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/constants.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/email.d.mts +12 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/email.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/email.d.ts +12 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/email.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/email.js +9 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/email.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/email.mjs +8 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/email.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/encoders.d.mts +8 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/encoders.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/encoders.d.ts +8 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/encoders.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/encoders.js +6 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/encoders.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/errors.d.mts +113 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/errors.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/errors.d.ts +113 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/errors.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/errors.js +28 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/errors.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/hex.d.mts +5 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/hex.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/hex.d.ts +5 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/hex.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/hex.js +3 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/hex.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3EthProviders.d.mts +15 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3EthProviders.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3EthProviders.d.ts +15 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3EthProviders.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3EthProviders.js +3 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3EthProviders.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3SolanaProviders.d.mts +13 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3SolanaProviders.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3SolanaProviders.d.ts +13 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3SolanaProviders.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3SolanaProviders.js +3 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3SolanaProviders.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/organization.d.mts +10 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/organization.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/organization.d.ts +10 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/organization.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/organization.js +14 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/organization.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/organization.mjs +13 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/organization.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passkeys.d.mts +61 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passkeys.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passkeys.d.ts +61 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passkeys.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passkeys.js +176 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passkeys.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passkeys.mjs +167 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passkeys.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/complexity.d.mts +11 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/complexity.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/complexity.d.ts +11 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/complexity.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/complexity.js +4 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/complexity.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.d.mts +12 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.d.ts +12 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.js +21 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.mjs +20 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/password.d.mts +19 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/password.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/password.d.ts +19 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/password.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/password.js +54 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/password.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/password.mjs +54 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/password.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/strength.d.mts +20 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/strength.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/strength.d.ts +20 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/strength.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/strength.js +3 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/strength.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/path.d.mts +6 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/path.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/path.d.ts +6 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/path.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/path.js +3 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/path.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryParams.d.mts +36 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryParams.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryParams.d.ts +36 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryParams.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryParams.js +11 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryParams.mjs +9 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryStateParams.d.mts +19 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryStateParams.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryStateParams.d.ts +19 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryStateParams.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryStateParams.js +33 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryStateParams.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryStateParams.mjs +32 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryStateParams.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/querystring.d.mts +9 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/querystring.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/querystring.d.ts +9 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/querystring.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/querystring.js +4 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/querystring.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/redirectUrls.d.mts +23 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/redirectUrls.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/redirectUrls.d.ts +23 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/redirectUrls.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/redirectUrls.js +106 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/redirectUrls.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/redirectUrls.mjs +106 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/redirectUrls.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/runtime.d.mts +8 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/runtime.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/runtime.d.ts +8 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/runtime.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/runtime.js +32 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/runtime.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/runtime.mjs +28 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/runtime.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/sessionTasks.d.mts +31 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/sessionTasks.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/sessionTasks.d.ts +31 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/sessionTasks.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/sessionTasks.js +61 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/sessionTasks.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/sessionTasks.mjs +57 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/sessionTasks.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/thirdPartyDomains.d.mts +18 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/thirdPartyDomains.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/thirdPartyDomains.d.ts +18 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/thirdPartyDomains.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/thirdPartyDomains.js +36 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/thirdPartyDomains.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/thirdPartyDomains.mjs +34 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/thirdPartyDomains.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/url.d.mts +4 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/url.d.ts +4 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/url.js +37 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/url.mjs +14 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/user.d.mts +23 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/user.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/user.d.ts +23 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/user.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/user.js +17 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/user.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/user.mjs +14 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/user.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/warnings.d.mts +25 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/warnings.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/warnings.d.ts +25 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/warnings.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/warnings.js +43 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/warnings.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/warnings.mjs +42 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/warnings.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/web3.d.mts +32 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/web3.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/web3.d.ts +32 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/web3.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/web3.js +143 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/web3.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/web3.mjs +143 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/web3.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/windowNavigate.d.mts +15 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/windowNavigate.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/windowNavigate.d.ts +15 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/windowNavigate.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/windowNavigate.js +28 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/windowNavigate.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/windowNavigate.mjs +25 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/windowNavigate.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicAtob-CoF80qYz.mjs +14 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicAtob-CoF80qYz.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicAtob-Hkpnx2p8.js +20 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicAtob-Hkpnx2p8.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicAtob.d.mts +9 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicAtob.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicAtob.d.ts +9 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicAtob.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicAtob.js +3 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicAtob.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicBtoa-DWmLcIHi.mjs +10 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicBtoa-DWmLcIHi.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicBtoa-_pSA92Q9.js +16 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicBtoa-_pSA92Q9.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicBtoa.d.mts +5 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicBtoa.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicBtoa.d.ts +5 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicBtoa.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicBtoa.js +3 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicBtoa.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/jwtPayloadParser.d.mts +23 -0
- package/node_modules/@clerk/shared/dist/runtime/jwtPayloadParser.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/jwtPayloadParser.d.ts +23 -0
- package/node_modules/@clerk/shared/dist/runtime/jwtPayloadParser.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/jwtPayloadParser.js +84 -0
- package/node_modules/@clerk/shared/dist/runtime/jwtPayloadParser.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/jwtPayloadParser.mjs +83 -0
- package/node_modules/@clerk/shared/dist/runtime/jwtPayloadParser.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/keyless/index.d.mts +271 -0
- package/node_modules/@clerk/shared/dist/runtime/keyless/index.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/keyless/index.d.ts +271 -0
- package/node_modules/@clerk/shared/dist/runtime/keyless/index.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/keyless/index.js +363 -0
- package/node_modules/@clerk/shared/dist/runtime/keyless/index.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/keyless/index.mjs +357 -0
- package/node_modules/@clerk/shared/dist/runtime/keyless/index.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/keys-BI9hmfja.js +240 -0
- package/node_modules/@clerk/shared/dist/runtime/keys-BI9hmfja.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/keys-DuxzP8MU.mjs +181 -0
- package/node_modules/@clerk/shared/dist/runtime/keys-DuxzP8MU.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/keys.d.mts +103 -0
- package/node_modules/@clerk/shared/dist/runtime/keys.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/keys.d.ts +103 -0
- package/node_modules/@clerk/shared/dist/runtime/keys.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/keys.js +15 -0
- package/node_modules/@clerk/shared/dist/runtime/keys.mjs +6 -0
- package/node_modules/@clerk/shared/dist/runtime/loadClerkJsScript.d.mts +88 -0
- package/node_modules/@clerk/shared/dist/runtime/loadClerkJsScript.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/loadClerkJsScript.d.ts +88 -0
- package/node_modules/@clerk/shared/dist/runtime/loadClerkJsScript.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/loadClerkJsScript.js +241 -0
- package/node_modules/@clerk/shared/dist/runtime/loadClerkJsScript.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/loadClerkJsScript.mjs +230 -0
- package/node_modules/@clerk/shared/dist/runtime/loadClerkJsScript.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/loadScript-BnB9d_IW.js +45 -0
- package/node_modules/@clerk/shared/dist/runtime/loadScript-BnB9d_IW.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/loadScript-UG_epen4.mjs +40 -0
- package/node_modules/@clerk/shared/dist/runtime/loadScript-UG_epen4.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/loadScript.d.mts +15 -0
- package/node_modules/@clerk/shared/dist/runtime/loadScript.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/loadScript.d.ts +15 -0
- package/node_modules/@clerk/shared/dist/runtime/loadScript.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/loadScript.js +4 -0
- package/node_modules/@clerk/shared/dist/runtime/loadScript.mjs +4 -0
- package/node_modules/@clerk/shared/dist/runtime/localStorageBroadcastChannel.d.mts +18 -0
- package/node_modules/@clerk/shared/dist/runtime/localStorageBroadcastChannel.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/localStorageBroadcastChannel.d.ts +18 -0
- package/node_modules/@clerk/shared/dist/runtime/localStorageBroadcastChannel.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/localStorageBroadcastChannel.js +48 -0
- package/node_modules/@clerk/shared/dist/runtime/localStorageBroadcastChannel.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/localStorageBroadcastChannel.mjs +48 -0
- package/node_modules/@clerk/shared/dist/runtime/localStorageBroadcastChannel.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/logger-BOte4sQb.js +24 -0
- package/node_modules/@clerk/shared/dist/runtime/logger-BOte4sQb.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/logger-DISzhF9M.mjs +18 -0
- package/node_modules/@clerk/shared/dist/runtime/logger-DISzhF9M.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/logger.d.mts +12 -0
- package/node_modules/@clerk/shared/dist/runtime/logger.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/logger.d.ts +12 -0
- package/node_modules/@clerk/shared/dist/runtime/logger.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/logger.js +3 -0
- package/node_modules/@clerk/shared/dist/runtime/logger.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/moduleManager-BsmFyRrH.d.mts +21 -0
- package/node_modules/@clerk/shared/dist/runtime/moduleManager-BsmFyRrH.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/moduleManager-WB15hU3T.d.ts +21 -0
- package/node_modules/@clerk/shared/dist/runtime/moduleManager-WB15hU3T.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/moduleManager.d.mts +2 -0
- package/node_modules/@clerk/shared/dist/runtime/moduleManager.d.ts +2 -0
- package/node_modules/@clerk/shared/dist/runtime/moduleManager.js +0 -0
- package/node_modules/@clerk/shared/dist/runtime/moduleManager.mjs +0 -0
- package/node_modules/@clerk/shared/dist/runtime/netlifyCacheHandler-DFm5qdPh.js +59 -0
- package/node_modules/@clerk/shared/dist/runtime/netlifyCacheHandler-DFm5qdPh.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/netlifyCacheHandler-Dkdkho_6.mjs +48 -0
- package/node_modules/@clerk/shared/dist/runtime/netlifyCacheHandler-Dkdkho_6.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/netlifyCacheHandler.d.mts +34 -0
- package/node_modules/@clerk/shared/dist/runtime/netlifyCacheHandler.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/netlifyCacheHandler.d.ts +34 -0
- package/node_modules/@clerk/shared/dist/runtime/netlifyCacheHandler.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/netlifyCacheHandler.js +8 -0
- package/node_modules/@clerk/shared/dist/runtime/netlifyCacheHandler.mjs +7 -0
- package/node_modules/@clerk/shared/dist/runtime/noop-B7RzLU-c.mjs +6 -0
- package/node_modules/@clerk/shared/dist/runtime/noop-B7RzLU-c.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/noop-CVg8oVJr.js +12 -0
- package/node_modules/@clerk/shared/dist/runtime/noop-CVg8oVJr.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/oauth.d.mts +19 -0
- package/node_modules/@clerk/shared/dist/runtime/oauth.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/oauth.d.ts +19 -0
- package/node_modules/@clerk/shared/dist/runtime/oauth.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/oauth.js +190 -0
- package/node_modules/@clerk/shared/dist/runtime/oauth.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/oauth.mjs +188 -0
- package/node_modules/@clerk/shared/dist/runtime/oauth.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/object-DYaB_9gA.mjs +26 -0
- package/node_modules/@clerk/shared/dist/runtime/object-DYaB_9gA.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/object-DklYlVP-.js +50 -0
- package/node_modules/@clerk/shared/dist/runtime/object-DklYlVP-.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/object.d.mts +8 -0
- package/node_modules/@clerk/shared/dist/runtime/object.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/object.d.ts +8 -0
- package/node_modules/@clerk/shared/dist/runtime/object.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/object.js +6 -0
- package/node_modules/@clerk/shared/dist/runtime/object.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/organization-BzM6mhUv.js +20 -0
- package/node_modules/@clerk/shared/dist/runtime/organization-BzM6mhUv.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/organization-Cy_ag_4B.mjs +14 -0
- package/node_modules/@clerk/shared/dist/runtime/organization-Cy_ag_4B.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/organization.d.mts +15 -0
- package/node_modules/@clerk/shared/dist/runtime/organization.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/organization.d.ts +15 -0
- package/node_modules/@clerk/shared/dist/runtime/organization.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/organization.js +3 -0
- package/node_modules/@clerk/shared/dist/runtime/organization.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/path-BLD6zl1u.mjs +10 -0
- package/node_modules/@clerk/shared/dist/runtime/path-BLD6zl1u.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/path-ci3QmWY8.js +16 -0
- package/node_modules/@clerk/shared/dist/runtime/path-ci3QmWY8.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/pathMatcher.d.mts +17 -0
- package/node_modules/@clerk/shared/dist/runtime/pathMatcher.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/pathMatcher.d.ts +17 -0
- package/node_modules/@clerk/shared/dist/runtime/pathMatcher.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/pathMatcher.js +20 -0
- package/node_modules/@clerk/shared/dist/runtime/pathMatcher.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/pathMatcher.mjs +20 -0
- package/node_modules/@clerk/shared/dist/runtime/pathMatcher.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/pathToRegexp-7eww5BY6.mjs +252 -0
- package/node_modules/@clerk/shared/dist/runtime/pathToRegexp-7eww5BY6.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/pathToRegexp-Do-462DY.js +264 -0
- package/node_modules/@clerk/shared/dist/runtime/pathToRegexp-Do-462DY.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/pathToRegexp.d.mts +85 -0
- package/node_modules/@clerk/shared/dist/runtime/pathToRegexp.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/pathToRegexp.d.ts +85 -0
- package/node_modules/@clerk/shared/dist/runtime/pathToRegexp.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/pathToRegexp.js +4 -0
- package/node_modules/@clerk/shared/dist/runtime/pathToRegexp.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/poller.d.mts +20 -0
- package/node_modules/@clerk/shared/dist/runtime/poller.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/poller.d.ts +20 -0
- package/node_modules/@clerk/shared/dist/runtime/poller.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/poller.js +35 -0
- package/node_modules/@clerk/shared/dist/runtime/poller.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/poller.mjs +35 -0
- package/node_modules/@clerk/shared/dist/runtime/poller.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/proxy-BcfViKjn.mjs +31 -0
- package/node_modules/@clerk/shared/dist/runtime/proxy-BcfViKjn.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/proxy-DahrnOq8.js +55 -0
- package/node_modules/@clerk/shared/dist/runtime/proxy-DahrnOq8.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/proxy.d.mts +24 -0
- package/node_modules/@clerk/shared/dist/runtime/proxy.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/proxy.d.ts +24 -0
- package/node_modules/@clerk/shared/dist/runtime/proxy.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/proxy.js +6 -0
- package/node_modules/@clerk/shared/dist/runtime/proxy.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/queryParams-DSUymAGT.js +72 -0
- package/node_modules/@clerk/shared/dist/runtime/queryParams-DSUymAGT.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/queryParams-Dlt0oVDg.mjs +55 -0
- package/node_modules/@clerk/shared/dist/runtime/queryParams-Dlt0oVDg.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/querystring-BFj_iDi0.js +42 -0
- package/node_modules/@clerk/shared/dist/runtime/querystring-BFj_iDi0.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/querystring-pXtwII0l.mjs +30 -0
- package/node_modules/@clerk/shared/dist/runtime/querystring-pXtwII0l.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/react/index.d.mts +1647 -0
- package/node_modules/@clerk/shared/dist/runtime/react/index.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/react/index.d.ts +1647 -0
- package/node_modules/@clerk/shared/dist/runtime/react/index.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/react/index.js +3082 -0
- package/node_modules/@clerk/shared/dist/runtime/react/index.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/react/index.mjs +3039 -0
- package/node_modules/@clerk/shared/dist/runtime/react/index.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/retry-DGCmqlcR.js +64 -0
- package/node_modules/@clerk/shared/dist/runtime/retry-DGCmqlcR.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/retry-DqRIhHV5.mjs +58 -0
- package/node_modules/@clerk/shared/dist/runtime/retry-DqRIhHV5.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/retry.d.mts +60 -0
- package/node_modules/@clerk/shared/dist/runtime/retry.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/retry.d.ts +60 -0
- package/node_modules/@clerk/shared/dist/runtime/retry.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/retry.js +3 -0
- package/node_modules/@clerk/shared/dist/runtime/retry.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/router.d.mts +100 -0
- package/node_modules/@clerk/shared/dist/runtime/router.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/router.d.ts +100 -0
- package/node_modules/@clerk/shared/dist/runtime/router.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/router.js +153 -0
- package/node_modules/@clerk/shared/dist/runtime/router.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/router.mjs +145 -0
- package/node_modules/@clerk/shared/dist/runtime/router.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/runtimeEnvironment-D1yr0yUs.mjs +23 -0
- package/node_modules/@clerk/shared/dist/runtime/runtimeEnvironment-D1yr0yUs.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/runtimeEnvironment-DJJWo5AR.js +41 -0
- package/node_modules/@clerk/shared/dist/runtime/runtimeEnvironment-DJJWo5AR.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/safeImport.d.mts +18 -0
- package/node_modules/@clerk/shared/dist/runtime/safeImport.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/safeImport.d.ts +18 -0
- package/node_modules/@clerk/shared/dist/runtime/safeImport.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/safeImport.js +28 -0
- package/node_modules/@clerk/shared/dist/runtime/safeImport.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/safeImport.mjs +28 -0
- package/node_modules/@clerk/shared/dist/runtime/safeImport.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/saml.d.mts +8 -0
- package/node_modules/@clerk/shared/dist/runtime/saml.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/saml.d.ts +8 -0
- package/node_modules/@clerk/shared/dist/runtime/saml.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/saml.js +24 -0
- package/node_modules/@clerk/shared/dist/runtime/saml.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/saml.mjs +23 -0
- package/node_modules/@clerk/shared/dist/runtime/saml.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/strength-DMrZQDoO.js +31 -0
- package/node_modules/@clerk/shared/dist/runtime/strength-DMrZQDoO.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/strength-DPtAse7d.mjs +25 -0
- package/node_modules/@clerk/shared/dist/runtime/strength-DPtAse7d.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/telemetry--P0a0tSk.js +573 -0
- package/node_modules/@clerk/shared/dist/runtime/telemetry--P0a0tSk.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/telemetry-DE2JFEBf.mjs +520 -0
- package/node_modules/@clerk/shared/dist/runtime/telemetry-DE2JFEBf.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/telemetry.d.mts +143 -0
- package/node_modules/@clerk/shared/dist/runtime/telemetry.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/telemetry.d.ts +143 -0
- package/node_modules/@clerk/shared/dist/runtime/telemetry.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/telemetry.js +16 -0
- package/node_modules/@clerk/shared/dist/runtime/telemetry.mjs +8 -0
- package/node_modules/@clerk/shared/dist/runtime/types/index.d.mts +3 -0
- package/node_modules/@clerk/shared/dist/runtime/types/index.d.ts +3 -0
- package/node_modules/@clerk/shared/dist/runtime/types/index.js +0 -0
- package/node_modules/@clerk/shared/dist/runtime/types/index.mjs +0 -0
- package/node_modules/@clerk/shared/dist/runtime/ui/index.d.mts +3 -0
- package/node_modules/@clerk/shared/dist/runtime/ui/index.d.ts +3 -0
- package/node_modules/@clerk/shared/dist/runtime/ui/index.js +0 -0
- package/node_modules/@clerk/shared/dist/runtime/ui/index.mjs +0 -0
- package/node_modules/@clerk/shared/dist/runtime/underscore-BX6Ucmg5.js +171 -0
- package/node_modules/@clerk/shared/dist/runtime/underscore-BX6Ucmg5.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/underscore-ClYSgvuy.mjs +117 -0
- package/node_modules/@clerk/shared/dist/runtime/underscore-ClYSgvuy.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/underscore.d.mts +63 -0
- package/node_modules/@clerk/shared/dist/runtime/underscore.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/underscore.d.ts +63 -0
- package/node_modules/@clerk/shared/dist/runtime/underscore.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/underscore.js +11 -0
- package/node_modules/@clerk/shared/dist/runtime/underscore.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/url-C6gPMFx5.mjs +154 -0
- package/node_modules/@clerk/shared/dist/runtime/url-C6gPMFx5.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/url-CKcDCvyG.d.ts +144 -0
- package/node_modules/@clerk/shared/dist/runtime/url-CKcDCvyG.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/url-CoXV4i87.js +407 -0
- package/node_modules/@clerk/shared/dist/runtime/url-CoXV4i87.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/url-DaPDWryr.mjs +264 -0
- package/node_modules/@clerk/shared/dist/runtime/url-DaPDWryr.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/url-Ou22U773.d.mts +144 -0
- package/node_modules/@clerk/shared/dist/runtime/url-Ou22U773.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/url-sAcxbiir.js +255 -0
- package/node_modules/@clerk/shared/dist/runtime/url-sAcxbiir.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/url.d.mts +78 -0
- package/node_modules/@clerk/shared/dist/runtime/url.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/url.d.ts +78 -0
- package/node_modules/@clerk/shared/dist/runtime/url.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/url.js +21 -0
- package/node_modules/@clerk/shared/dist/runtime/url.mjs +5 -0
- package/node_modules/@clerk/shared/dist/runtime/utils/index.d.mts +65 -0
- package/node_modules/@clerk/shared/dist/runtime/utils/index.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/utils/index.d.ts +65 -0
- package/node_modules/@clerk/shared/dist/runtime/utils/index.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/utils/index.js +19 -0
- package/node_modules/@clerk/shared/dist/runtime/utils/index.mjs +8 -0
- package/node_modules/@clerk/shared/dist/runtime/utils-TXJdVJx7.mjs +71 -0
- package/node_modules/@clerk/shared/dist/runtime/utils-TXJdVJx7.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/utils-Y3tB5LFT.js +100 -0
- package/node_modules/@clerk/shared/dist/runtime/utils-Y3tB5LFT.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/versionCheck.d.mts +58 -0
- package/node_modules/@clerk/shared/dist/runtime/versionCheck.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/versionCheck.d.ts +58 -0
- package/node_modules/@clerk/shared/dist/runtime/versionCheck.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/versionCheck.js +82 -0
- package/node_modules/@clerk/shared/dist/runtime/versionCheck.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/versionCheck.mjs +78 -0
- package/node_modules/@clerk/shared/dist/runtime/versionCheck.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/versionSelector-BSa0YYBu.mjs +27 -0
- package/node_modules/@clerk/shared/dist/runtime/versionSelector-BSa0YYBu.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/versionSelector-CoS6g9-B.js +39 -0
- package/node_modules/@clerk/shared/dist/runtime/versionSelector-CoS6g9-B.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/versionSelector.d.mts +17 -0
- package/node_modules/@clerk/shared/dist/runtime/versionSelector.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/versionSelector.d.ts +17 -0
- package/node_modules/@clerk/shared/dist/runtime/versionSelector.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/versionSelector.js +4 -0
- package/node_modules/@clerk/shared/dist/runtime/versionSelector.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/waitForElement-CB9iynCD.mjs +23 -0
- package/node_modules/@clerk/shared/dist/runtime/waitForElement-CB9iynCD.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/waitForElement-DGxKWlwM.js +29 -0
- package/node_modules/@clerk/shared/dist/runtime/waitForElement-DGxKWlwM.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/waitForElement-DLpcirWQ.d.ts +8 -0
- package/node_modules/@clerk/shared/dist/runtime/waitForElement-DLpcirWQ.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/waitForElement-DZxkXjac.d.mts +8 -0
- package/node_modules/@clerk/shared/dist/runtime/waitForElement-DZxkXjac.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/web3.d.mts +8 -0
- package/node_modules/@clerk/shared/dist/runtime/web3.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/web3.d.ts +8 -0
- package/node_modules/@clerk/shared/dist/runtime/web3.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/web3.js +33 -0
- package/node_modules/@clerk/shared/dist/runtime/web3.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/web3.mjs +32 -0
- package/node_modules/@clerk/shared/dist/runtime/web3.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/webauthn.d.mts +16 -0
- package/node_modules/@clerk/shared/dist/runtime/webauthn.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/webauthn.d.ts +16 -0
- package/node_modules/@clerk/shared/dist/runtime/webauthn.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/webauthn.js +35 -0
- package/node_modules/@clerk/shared/dist/runtime/webauthn.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/webauthn.mjs +33 -0
- package/node_modules/@clerk/shared/dist/runtime/webauthn.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/workerTimers/index.d.mts +17 -0
- package/node_modules/@clerk/shared/dist/runtime/workerTimers/index.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/workerTimers/index.d.ts +17 -0
- package/node_modules/@clerk/shared/dist/runtime/workerTimers/index.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/workerTimers/index.js +4 -0
- package/node_modules/@clerk/shared/dist/runtime/workerTimers/index.mjs +4 -0
- package/node_modules/@clerk/shared/dist/runtime/workerTimers-CDy8bBJS.mjs +123 -0
- package/node_modules/@clerk/shared/dist/runtime/workerTimers-CDy8bBJS.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/workerTimers-D-HZtmjt.js +128 -0
- package/node_modules/@clerk/shared/dist/runtime/workerTimers-D-HZtmjt.js.map +1 -0
- package/node_modules/@clerk/shared/dist/types/index.d.mts +10584 -0
- package/node_modules/@clerk/shared/dist/types/index.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/types/index.d.ts +10584 -0
- package/node_modules/@clerk/shared/dist/types/index.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/types/index.js +0 -0
- package/node_modules/@clerk/shared/dist/types/index.mjs +0 -0
- package/node_modules/@clerk/shared/package.json +183 -0
- package/node_modules/@clerk/shared/scripts/postinstall.mjs +77 -0
- package/node_modules/@fastify/accept-negotiator/index.js +170 -0
- package/node_modules/@fastify/accept-negotiator/package.json +77 -0
- package/node_modules/@fastify/ajv-compiler/eslint.config.js +6 -0
- package/node_modules/@fastify/ajv-compiler/index.js +53 -0
- package/node_modules/@fastify/ajv-compiler/lib/default-ajv-options.js +14 -0
- package/node_modules/@fastify/ajv-compiler/lib/serializer-compiler.js +27 -0
- package/node_modules/@fastify/ajv-compiler/lib/validator-compiler.js +58 -0
- package/node_modules/@fastify/ajv-compiler/package.json +84 -0
- package/node_modules/@fastify/ajv-compiler/standalone.js +44 -0
- package/node_modules/@fastify/error/eslint.config.js +6 -0
- package/node_modules/@fastify/error/index.js +100 -0
- package/node_modules/@fastify/error/package.json +75 -0
- package/node_modules/@fastify/fast-json-stringify-compiler/eslint.config.js +6 -0
- package/node_modules/@fastify/fast-json-stringify-compiler/index.js +8 -0
- package/node_modules/@fastify/fast-json-stringify-compiler/package.json +71 -0
- package/node_modules/@fastify/fast-json-stringify-compiler/standalone.js +58 -0
- package/node_modules/@fastify/forwarded/index.js +59 -0
- package/node_modules/@fastify/forwarded/package.json +74 -0
- package/node_modules/@fastify/merge-json-schemas/eslint.config.js +6 -0
- package/node_modules/@fastify/merge-json-schemas/index.js +357 -0
- package/node_modules/@fastify/merge-json-schemas/lib/errors.js +36 -0
- package/node_modules/@fastify/merge-json-schemas/lib/resolvers.js +127 -0
- package/node_modules/@fastify/merge-json-schemas/package.json +67 -0
- package/node_modules/@fastify/proxy-addr/eslint.config.js +6 -0
- package/node_modules/@fastify/proxy-addr/index.js +331 -0
- package/node_modules/@fastify/proxy-addr/package.json +73 -0
- package/node_modules/@fastify/send/eslint.config.js +6 -0
- package/node_modules/@fastify/send/index.js +28 -0
- package/node_modules/@fastify/send/lib/collapseLeadingSlashes.js +25 -0
- package/node_modules/@fastify/send/lib/containsDotFile.js +23 -0
- package/node_modules/@fastify/send/lib/contentRange.js +18 -0
- package/node_modules/@fastify/send/lib/createHtmlDocument.js +29 -0
- package/node_modules/@fastify/send/lib/createHttpError.js +23 -0
- package/node_modules/@fastify/send/lib/isUtf8MimeType.js +12 -0
- package/node_modules/@fastify/send/lib/normalizeList.js +28 -0
- package/node_modules/@fastify/send/lib/parseBytesRange.js +133 -0
- package/node_modules/@fastify/send/lib/parseTokenList.js +46 -0
- package/node_modules/@fastify/send/lib/send.js +729 -0
- package/node_modules/@fastify/send/package.json +81 -0
- package/node_modules/@fastify/static/eslint.config.js +7 -0
- package/node_modules/@fastify/static/index.js +580 -0
- package/node_modules/@fastify/static/lib/dirList.js +211 -0
- package/node_modules/@fastify/static/package.json +87 -0
- package/node_modules/@fastify/websocket/eslint.config.js +6 -0
- package/node_modules/@fastify/websocket/index.js +251 -0
- package/node_modules/@fastify/websocket/package.json +83 -0
- package/node_modules/@fastify/websocket/tsconfig.json +3 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/ansi-regex/index.d.ts +4 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/ansi-regex/index.d.ts.map +1 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/ansi-regex/index.js +16 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/ansi-regex/index.js.map +1 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/ansi-styles/index.d.ts +34 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/ansi-styles/index.d.ts.map +1 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/ansi-styles/index.js +170 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/ansi-styles/index.js.map +1 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/eastasianwidth/index.d.ts +6 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/eastasianwidth/index.d.ts.map +1 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/eastasianwidth/index.js +307 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/eastasianwidth/index.js.map +1 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/emoji-regex/index.d.ts +2 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/emoji-regex/index.d.ts.map +1 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/emoji-regex/index.js +7 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/emoji-regex/index.js.map +1 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/index.d.ts +41 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/index.js +322 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/index.js.map +1 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/index.min.js +12 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/index.min.js.map +7 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/package.json +3 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/string-width/index.d.ts +5 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/string-width/index.d.ts.map +1 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/string-width/index.js +49 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/string-width/index.js.map +1 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/strip-ansi/index.d.ts +2 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/strip-ansi/index.d.ts.map +1 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/strip-ansi/index.js +8 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/strip-ansi/index.js.map +1 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/wrap-ansi/index.d.ts +7 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/wrap-ansi/index.d.ts.map +1 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/wrap-ansi/index.js +176 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/wrap-ansi/index.js.map +1 -0
- package/node_modules/@isaacs/cliui/dist/esm/ansi-regex/index.d.ts +4 -0
- package/node_modules/@isaacs/cliui/dist/esm/ansi-regex/index.d.ts.map +1 -0
- package/node_modules/@isaacs/cliui/dist/esm/ansi-regex/index.js +12 -0
- package/node_modules/@isaacs/cliui/dist/esm/ansi-regex/index.js.map +1 -0
- package/node_modules/@isaacs/cliui/dist/esm/ansi-styles/index.d.ts +34 -0
- package/node_modules/@isaacs/cliui/dist/esm/ansi-styles/index.d.ts.map +1 -0
- package/node_modules/@isaacs/cliui/dist/esm/ansi-styles/index.js +167 -0
- package/node_modules/@isaacs/cliui/dist/esm/ansi-styles/index.js.map +1 -0
- package/node_modules/@isaacs/cliui/dist/esm/eastasianwidth/index.d.ts +6 -0
- package/node_modules/@isaacs/cliui/dist/esm/eastasianwidth/index.d.ts.map +1 -0
- package/node_modules/@isaacs/cliui/dist/esm/eastasianwidth/index.js +299 -0
- package/node_modules/@isaacs/cliui/dist/esm/eastasianwidth/index.js.map +1 -0
- package/node_modules/@isaacs/cliui/dist/esm/emoji-regex/index.d.ts +2 -0
- package/node_modules/@isaacs/cliui/dist/esm/emoji-regex/index.d.ts.map +1 -0
- package/node_modules/@isaacs/cliui/dist/esm/emoji-regex/index.js +3 -0
- package/node_modules/@isaacs/cliui/dist/esm/emoji-regex/index.js.map +1 -0
- package/node_modules/@isaacs/cliui/dist/esm/index.d.ts +41 -0
- package/node_modules/@isaacs/cliui/dist/esm/index.d.ts.map +1 -0
- package/node_modules/@isaacs/cliui/dist/esm/index.js +317 -0
- package/node_modules/@isaacs/cliui/dist/esm/index.js.map +1 -0
- package/node_modules/@isaacs/cliui/dist/esm/index.min.js +12 -0
- package/node_modules/@isaacs/cliui/dist/esm/index.min.js.map +7 -0
- package/node_modules/@isaacs/cliui/dist/esm/package.json +3 -0
- package/node_modules/@isaacs/cliui/dist/esm/string-width/index.d.ts +5 -0
- package/node_modules/@isaacs/cliui/dist/esm/string-width/index.d.ts.map +1 -0
- package/node_modules/@isaacs/cliui/dist/esm/string-width/index.js +46 -0
- package/node_modules/@isaacs/cliui/dist/esm/string-width/index.js.map +1 -0
- package/node_modules/@isaacs/cliui/dist/esm/strip-ansi/index.d.ts +2 -0
- package/node_modules/@isaacs/cliui/dist/esm/strip-ansi/index.d.ts.map +1 -0
- package/node_modules/@isaacs/cliui/dist/esm/strip-ansi/index.js +4 -0
- package/node_modules/@isaacs/cliui/dist/esm/strip-ansi/index.js.map +1 -0
- package/node_modules/@isaacs/cliui/dist/esm/wrap-ansi/index.d.ts +7 -0
- package/node_modules/@isaacs/cliui/dist/esm/wrap-ansi/index.d.ts.map +1 -0
- package/node_modules/@isaacs/cliui/dist/esm/wrap-ansi/index.js +172 -0
- package/node_modules/@isaacs/cliui/dist/esm/wrap-ansi/index.js.map +1 -0
- package/node_modules/@isaacs/cliui/package.json +163 -0
- package/node_modules/@lukeed/ms/dist/index.js +37 -0
- package/node_modules/@lukeed/ms/dist/index.min.js +1 -0
- package/node_modules/@lukeed/ms/dist/index.mjs +34 -0
- package/node_modules/@lukeed/ms/license +9 -0
- package/node_modules/@lukeed/ms/package.json +48 -0
- package/node_modules/@openrouter/ai-sdk-provider/dist/index.d.mts +239 -0
- package/node_modules/@openrouter/ai-sdk-provider/dist/index.d.ts +239 -0
- package/node_modules/@openrouter/ai-sdk-provider/dist/index.js +1205 -0
- package/node_modules/@openrouter/ai-sdk-provider/dist/index.js.map +1 -0
- package/node_modules/@openrouter/ai-sdk-provider/dist/index.mjs +1197 -0
- package/node_modules/@openrouter/ai-sdk-provider/dist/index.mjs.map +1 -0
- package/node_modules/@openrouter/ai-sdk-provider/dist/internal/index.d.mts +156 -0
- package/node_modules/@openrouter/ai-sdk-provider/dist/internal/index.d.ts +156 -0
- package/node_modules/@openrouter/ai-sdk-provider/dist/internal/index.js +1103 -0
- package/node_modules/@openrouter/ai-sdk-provider/dist/internal/index.js.map +1 -0
- package/node_modules/@openrouter/ai-sdk-provider/dist/internal/index.mjs +1096 -0
- package/node_modules/@openrouter/ai-sdk-provider/dist/internal/index.mjs.map +1 -0
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider/dist/index.d.mts +1252 -0
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider/dist/index.d.ts +1252 -0
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider/dist/index.js +437 -0
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider/dist/index.js.map +1 -0
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider/dist/index.mjs +393 -0
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider/dist/index.mjs.map +1 -0
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider/package.json +56 -0
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/dist/index.d.mts +352 -0
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/dist/index.d.ts +352 -0
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/dist/index.js +803 -0
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/dist/index.js.map +1 -0
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/dist/index.mjs +737 -0
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/dist/index.mjs.map +1 -0
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/package.json +78 -0
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/secure-json-parse/index.js +126 -0
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/secure-json-parse/package.json +41 -0
- package/node_modules/@openrouter/ai-sdk-provider/package.json +75 -0
- package/node_modules/@opentelemetry/api/build/esm/api/context.js +110 -0
- package/node_modules/@opentelemetry/api/build/esm/api/diag.js +121 -0
- package/node_modules/@opentelemetry/api/build/esm/api/metrics.js +60 -0
- package/node_modules/@opentelemetry/api/build/esm/api/propagation.js +89 -0
- package/node_modules/@opentelemetry/api/build/esm/api/trace.js +77 -0
- package/node_modules/@opentelemetry/api/build/esm/baggage/context-helpers.js +56 -0
- package/node_modules/@opentelemetry/api/build/esm/baggage/internal/baggage-impl.js +98 -0
- package/node_modules/@opentelemetry/api/build/esm/baggage/internal/symbol.js +20 -0
- package/node_modules/@opentelemetry/api/build/esm/baggage/types.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/baggage/utils.js +47 -0
- package/node_modules/@opentelemetry/api/build/esm/common/Attributes.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/common/Exception.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/common/Time.js +2 -0
- package/node_modules/@opentelemetry/api/build/esm/context/NoopContextManager.js +67 -0
- package/node_modules/@opentelemetry/api/build/esm/context/context.js +52 -0
- package/node_modules/@opentelemetry/api/build/esm/context/types.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/context-api.js +21 -0
- package/node_modules/@opentelemetry/api/build/esm/diag/ComponentLogger.js +102 -0
- package/node_modules/@opentelemetry/api/build/esm/diag/consoleLogger.js +59 -0
- package/node_modules/@opentelemetry/api/build/esm/diag/internal/logLevelLogger.js +41 -0
- package/node_modules/@opentelemetry/api/build/esm/diag/internal/noopLogger.js +31 -0
- package/node_modules/@opentelemetry/api/build/esm/diag/types.js +41 -0
- package/node_modules/@opentelemetry/api/build/esm/diag-api.js +26 -0
- package/node_modules/@opentelemetry/api/build/esm/experimental/index.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/experimental/trace/SugaredOptions.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/experimental/trace/SugaredTracer.js +92 -0
- package/node_modules/@opentelemetry/api/build/esm/index.js +53 -0
- package/node_modules/@opentelemetry/api/build/esm/internal/global-utils.js +59 -0
- package/node_modules/@opentelemetry/api/build/esm/internal/semver.js +118 -0
- package/node_modules/@opentelemetry/api/build/esm/metrics/Meter.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/metrics/MeterProvider.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/metrics/Metric.js +22 -0
- package/node_modules/@opentelemetry/api/build/esm/metrics/NoopMeter.js +181 -0
- package/node_modules/@opentelemetry/api/build/esm/metrics/NoopMeterProvider.js +31 -0
- package/node_modules/@opentelemetry/api/build/esm/metrics/ObservableResult.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/metrics-api.js +21 -0
- package/node_modules/@opentelemetry/api/build/esm/platform/browser/globalThis.js +35 -0
- package/node_modules/@opentelemetry/api/build/esm/platform/browser/index.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/platform/index.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/platform/node/globalThis.js +19 -0
- package/node_modules/@opentelemetry/api/build/esm/platform/node/index.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/propagation/NoopTextMapPropagator.js +34 -0
- package/node_modules/@opentelemetry/api/build/esm/propagation/TextMapPropagator.js +38 -0
- package/node_modules/@opentelemetry/api/build/esm/propagation-api.js +21 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/NonRecordingSpan.js +68 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/NoopTracer.js +76 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/NoopTracerProvider.js +32 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/ProxyTracer.js +53 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/ProxyTracerProvider.js +54 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/Sampler.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/SamplingResult.js +39 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/SpanOptions.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/attributes.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/context-utils.js +73 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/internal/tracestate-impl.js +102 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/internal/tracestate-validators.js +41 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/internal/utils.js +20 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/invalid-span-constants.js +24 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/link.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/span.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/span_context.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/span_kind.js +43 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/spancontext-utils.js +42 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/status.js +20 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/trace_flags.js +23 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/trace_state.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/tracer.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/tracer_options.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/tracer_provider.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/trace-api.js +21 -0
- package/node_modules/@opentelemetry/api/build/esm/version.js +18 -0
- package/node_modules/@opentelemetry/api/build/esnext/api/context.js +77 -0
- package/node_modules/@opentelemetry/api/build/esnext/api/diag.js +89 -0
- package/node_modules/@opentelemetry/api/build/esnext/api/metrics.js +57 -0
- package/node_modules/@opentelemetry/api/build/esnext/api/propagation.js +85 -0
- package/node_modules/@opentelemetry/api/build/esnext/api/trace.js +75 -0
- package/node_modules/@opentelemetry/api/build/esnext/baggage/context-helpers.js +56 -0
- package/node_modules/@opentelemetry/api/build/esnext/baggage/internal/baggage-impl.js +51 -0
- package/node_modules/@opentelemetry/api/build/esnext/baggage/internal/symbol.js +20 -0
- package/node_modules/@opentelemetry/api/build/esnext/baggage/types.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/baggage/utils.js +46 -0
- package/node_modules/@opentelemetry/api/build/esnext/common/Attributes.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/common/Exception.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/common/Time.js +2 -0
- package/node_modules/@opentelemetry/api/build/esnext/context/NoopContextManager.js +34 -0
- package/node_modules/@opentelemetry/api/build/esnext/context/context.js +51 -0
- package/node_modules/@opentelemetry/api/build/esnext/context/types.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/context-api.js +21 -0
- package/node_modules/@opentelemetry/api/build/esnext/diag/ComponentLogger.js +55 -0
- package/node_modules/@opentelemetry/api/build/esnext/diag/consoleLogger.js +53 -0
- package/node_modules/@opentelemetry/api/build/esnext/diag/internal/logLevelLogger.js +41 -0
- package/node_modules/@opentelemetry/api/build/esnext/diag/internal/noopLogger.js +31 -0
- package/node_modules/@opentelemetry/api/build/esnext/diag/types.js +41 -0
- package/node_modules/@opentelemetry/api/build/esnext/diag-api.js +26 -0
- package/node_modules/@opentelemetry/api/build/esnext/experimental/index.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/experimental/trace/SugaredOptions.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/experimental/trace/SugaredTracer.js +88 -0
- package/node_modules/@opentelemetry/api/build/esnext/index.js +53 -0
- package/node_modules/@opentelemetry/api/build/esnext/internal/global-utils.js +58 -0
- package/node_modules/@opentelemetry/api/build/esnext/internal/semver.js +118 -0
- package/node_modules/@opentelemetry/api/build/esnext/metrics/Meter.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/metrics/MeterProvider.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/metrics/Metric.js +22 -0
- package/node_modules/@opentelemetry/api/build/esnext/metrics/NoopMeter.js +113 -0
- package/node_modules/@opentelemetry/api/build/esnext/metrics/NoopMeterProvider.js +27 -0
- package/node_modules/@opentelemetry/api/build/esnext/metrics/ObservableResult.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/metrics-api.js +21 -0
- package/node_modules/@opentelemetry/api/build/esnext/platform/browser/globalThis.js +35 -0
- package/node_modules/@opentelemetry/api/build/esnext/platform/browser/index.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/platform/index.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/platform/node/globalThis.js +19 -0
- package/node_modules/@opentelemetry/api/build/esnext/platform/node/index.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/propagation/NoopTextMapPropagator.js +30 -0
- package/node_modules/@opentelemetry/api/build/esnext/propagation/TextMapPropagator.js +38 -0
- package/node_modules/@opentelemetry/api/build/esnext/propagation-api.js +21 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/NonRecordingSpan.js +65 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/NoopTracer.js +71 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/NoopTracerProvider.js +28 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/ProxyTracer.js +51 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/ProxyTracerProvider.js +50 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/Sampler.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/SamplingResult.js +39 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/SpanOptions.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/attributes.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/context-utils.js +73 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/internal/tracestate-impl.js +99 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/internal/tracestate-validators.js +41 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/internal/utils.js +20 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/invalid-span-constants.js +24 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/link.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/span.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/span_context.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/span_kind.js +43 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/spancontext-utils.js +42 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/status.js +20 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/trace_flags.js +23 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/trace_state.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/tracer.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/tracer_options.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/tracer_provider.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace-api.js +21 -0
- package/node_modules/@opentelemetry/api/build/esnext/version.js +18 -0
- package/node_modules/@opentelemetry/api/build/src/api/context.js +81 -0
- package/node_modules/@opentelemetry/api/build/src/api/diag.js +93 -0
- package/node_modules/@opentelemetry/api/build/src/api/metrics.js +61 -0
- package/node_modules/@opentelemetry/api/build/src/api/propagation.js +89 -0
- package/node_modules/@opentelemetry/api/build/src/api/trace.js +79 -0
- package/node_modules/@opentelemetry/api/build/src/baggage/context-helpers.js +63 -0
- package/node_modules/@opentelemetry/api/build/src/baggage/internal/baggage-impl.js +55 -0
- package/node_modules/@opentelemetry/api/build/src/baggage/internal/symbol.js +23 -0
- package/node_modules/@opentelemetry/api/build/src/baggage/types.js +18 -0
- package/node_modules/@opentelemetry/api/build/src/baggage/utils.js +51 -0
- package/node_modules/@opentelemetry/api/build/src/common/Attributes.js +18 -0
- package/node_modules/@opentelemetry/api/build/src/common/Exception.js +18 -0
- package/node_modules/@opentelemetry/api/build/src/common/Time.js +3 -0
- package/node_modules/@opentelemetry/api/build/src/context/NoopContextManager.js +38 -0
- package/node_modules/@opentelemetry/api/build/src/context/context.js +55 -0
- package/node_modules/@opentelemetry/api/build/src/context/types.js +18 -0
- package/node_modules/@opentelemetry/api/build/src/context-api.js +24 -0
- package/node_modules/@opentelemetry/api/build/src/diag/ComponentLogger.js +59 -0
- package/node_modules/@opentelemetry/api/build/src/diag/consoleLogger.js +57 -0
- package/node_modules/@opentelemetry/api/build/src/diag/internal/logLevelLogger.js +45 -0
- package/node_modules/@opentelemetry/api/build/src/diag/internal/noopLogger.js +35 -0
- package/node_modules/@opentelemetry/api/build/src/diag/types.js +44 -0
- package/node_modules/@opentelemetry/api/build/src/diag-api.js +29 -0
- package/node_modules/@opentelemetry/api/build/src/experimental/index.js +22 -0
- package/node_modules/@opentelemetry/api/build/src/experimental/trace/SugaredOptions.js +18 -0
- package/node_modules/@opentelemetry/api/build/src/experimental/trace/SugaredTracer.js +93 -0
- package/node_modules/@opentelemetry/api/build/src/index.js +81 -0
- package/node_modules/@opentelemetry/api/build/src/internal/global-utils.js +64 -0
- package/node_modules/@opentelemetry/api/build/src/internal/semver.js +122 -0
- package/node_modules/@opentelemetry/api/build/src/metrics/Meter.js +18 -0
- package/node_modules/@opentelemetry/api/build/src/metrics/MeterProvider.js +18 -0
- package/node_modules/@opentelemetry/api/build/src/metrics/Metric.js +25 -0
- package/node_modules/@opentelemetry/api/build/src/metrics/NoopMeter.js +127 -0
- package/node_modules/@opentelemetry/api/build/src/metrics/NoopMeterProvider.js +31 -0
- package/node_modules/@opentelemetry/api/build/src/metrics/ObservableResult.js +18 -0
- package/node_modules/@opentelemetry/api/build/src/metrics-api.js +24 -0
- package/node_modules/@opentelemetry/api/build/src/platform/browser/globalThis.js +38 -0
- package/node_modules/@opentelemetry/api/build/src/platform/browser/index.js +29 -0
- package/node_modules/@opentelemetry/api/build/src/platform/index.js +29 -0
- package/node_modules/@opentelemetry/api/build/src/platform/node/globalThis.js +22 -0
- package/node_modules/@opentelemetry/api/build/src/platform/node/index.js +29 -0
- package/node_modules/@opentelemetry/api/build/src/propagation/NoopTextMapPropagator.js +34 -0
- package/node_modules/@opentelemetry/api/build/src/propagation/TextMapPropagator.js +41 -0
- package/node_modules/@opentelemetry/api/build/src/propagation-api.js +24 -0
- package/node_modules/@opentelemetry/api/build/src/trace/NonRecordingSpan.js +69 -0
- package/node_modules/@opentelemetry/api/build/src/trace/NoopTracer.js +75 -0
- package/node_modules/@opentelemetry/api/build/src/trace/NoopTracerProvider.js +32 -0
- package/node_modules/@opentelemetry/api/build/src/trace/ProxyTracer.js +55 -0
- package/node_modules/@opentelemetry/api/build/src/trace/ProxyTracerProvider.js +54 -0
- package/node_modules/@opentelemetry/api/build/src/trace/Sampler.js +18 -0
- package/node_modules/@opentelemetry/api/build/src/trace/SamplingResult.js +42 -0
- package/node_modules/@opentelemetry/api/build/src/trace/SpanOptions.js +18 -0
- package/node_modules/@opentelemetry/api/build/src/trace/attributes.js +18 -0
- package/node_modules/@opentelemetry/api/build/src/trace/context-utils.js +82 -0
- package/node_modules/@opentelemetry/api/build/src/trace/internal/tracestate-impl.js +103 -0
- package/node_modules/@opentelemetry/api/build/src/trace/internal/tracestate-validators.js +46 -0
- package/node_modules/@opentelemetry/api/build/src/trace/internal/utils.js +24 -0
- package/node_modules/@opentelemetry/api/build/src/trace/invalid-span-constants.js +27 -0
- package/node_modules/@opentelemetry/api/build/src/trace/link.js +18 -0
- package/node_modules/@opentelemetry/api/build/src/trace/span.js +18 -0
- package/node_modules/@opentelemetry/api/build/src/trace/span_context.js +18 -0
- package/node_modules/@opentelemetry/api/build/src/trace/span_kind.js +46 -0
- package/node_modules/@opentelemetry/api/build/src/trace/spancontext-utils.js +49 -0
- package/node_modules/@opentelemetry/api/build/src/trace/status.js +23 -0
- package/node_modules/@opentelemetry/api/build/src/trace/trace_flags.js +26 -0
- package/node_modules/@opentelemetry/api/build/src/trace/trace_state.js +18 -0
- package/node_modules/@opentelemetry/api/build/src/trace/tracer.js +18 -0
- package/node_modules/@opentelemetry/api/build/src/trace/tracer_options.js +18 -0
- package/node_modules/@opentelemetry/api/build/src/trace/tracer_provider.js +18 -0
- package/node_modules/@opentelemetry/api/build/src/trace-api.js +24 -0
- package/node_modules/@opentelemetry/api/build/src/version.js +21 -0
- package/node_modules/@opentelemetry/api/package.json +113 -0
- package/node_modules/@pinojs/redact/eslint.config.js +1 -0
- package/node_modules/@pinojs/redact/index.js +529 -0
- package/node_modules/@pinojs/redact/package.json +37 -0
- package/node_modules/@pinojs/redact/scripts/sync-version.mjs +20 -0
- package/node_modules/@pinojs/redact/tsconfig.json +19 -0
- package/node_modules/@stablelib/base64/lib/base64.bench.js +23 -0
- package/node_modules/@stablelib/base64/lib/base64.js +282 -0
- package/node_modules/@stablelib/base64/lib/base64.test.js +82 -0
- package/node_modules/@stablelib/base64/package.json +25 -0
- package/node_modules/@stablelib/base64/tsconfig.json +27 -0
- package/node_modules/@standard-schema/spec/dist/index.cjs +18 -0
- package/node_modules/@standard-schema/spec/dist/index.d.cts +119 -0
- package/node_modules/@standard-schema/spec/dist/index.d.ts +119 -0
- package/node_modules/@standard-schema/spec/dist/index.js +0 -0
- package/node_modules/@standard-schema/spec/package.json +52 -0
- package/node_modules/@stricli/core/dist/index.cjs +2286 -0
- package/node_modules/@stricli/core/dist/index.d.cts +1443 -0
- package/node_modules/@stricli/core/dist/index.d.ts +1443 -0
- package/node_modules/@stricli/core/dist/index.js +2237 -0
- package/node_modules/@stricli/core/package.json +62 -0
- package/node_modules/@tanstack/query-core/build/legacy/chunk-PXG64RU4.js +25 -0
- package/node_modules/@tanstack/query-core/build/legacy/focusManager.cjs +108 -0
- package/node_modules/@tanstack/query-core/build/legacy/focusManager.js +81 -0
- package/node_modules/@tanstack/query-core/build/legacy/hydration.cjs +178 -0
- package/node_modules/@tanstack/query-core/build/legacy/hydration.js +152 -0
- package/node_modules/@tanstack/query-core/build/legacy/index.cjs +110 -0
- package/node_modules/@tanstack/query-core/build/legacy/index.js +73 -0
- package/node_modules/@tanstack/query-core/build/legacy/infiniteQueryBehavior.cjs +146 -0
- package/node_modules/@tanstack/query-core/build/legacy/infiniteQueryBehavior.js +126 -0
- package/node_modules/@tanstack/query-core/build/legacy/infiniteQueryObserver.cjs +93 -0
- package/node_modules/@tanstack/query-core/build/legacy/infiniteQueryObserver.js +74 -0
- package/node_modules/@tanstack/query-core/build/legacy/mutation.cjs +332 -0
- package/node_modules/@tanstack/query-core/build/legacy/mutation.js +305 -0
- package/node_modules/@tanstack/query-core/build/legacy/mutationCache.cjs +170 -0
- package/node_modules/@tanstack/query-core/build/legacy/mutationCache.js +137 -0
- package/node_modules/@tanstack/query-core/build/legacy/mutationObserver.cjs +190 -0
- package/node_modules/@tanstack/query-core/build/legacy/mutationObserver.js +164 -0
- package/node_modules/@tanstack/query-core/build/legacy/notifyManager.cjs +113 -0
- package/node_modules/@tanstack/query-core/build/legacy/notifyManager.js +88 -0
- package/node_modules/@tanstack/query-core/build/legacy/onlineManager.cjs +97 -0
- package/node_modules/@tanstack/query-core/build/legacy/onlineManager.js +70 -0
- package/node_modules/@tanstack/query-core/build/legacy/queriesObserver.cjs +250 -0
- package/node_modules/@tanstack/query-core/build/legacy/queriesObserver.js +224 -0
- package/node_modules/@tanstack/query-core/build/legacy/query.cjs +478 -0
- package/node_modules/@tanstack/query-core/build/legacy/query.js +459 -0
- package/node_modules/@tanstack/query-core/build/legacy/queryCache.cjs +131 -0
- package/node_modules/@tanstack/query-core/build/legacy/queryCache.js +105 -0
- package/node_modules/@tanstack/query-core/build/legacy/queryClient.cjs +349 -0
- package/node_modules/@tanstack/query-core/build/legacy/queryClient.js +324 -0
- package/node_modules/@tanstack/query-core/build/legacy/queryObserver.cjs +513 -0
- package/node_modules/@tanstack/query-core/build/legacy/queryObserver.js +496 -0
- package/node_modules/@tanstack/query-core/build/legacy/removable.cjs +69 -0
- package/node_modules/@tanstack/query-core/build/legacy/removable.js +43 -0
- package/node_modules/@tanstack/query-core/build/legacy/retryer.cjs +165 -0
- package/node_modules/@tanstack/query-core/build/legacy/retryer.js +139 -0
- package/node_modules/@tanstack/query-core/build/legacy/streamedQuery.cjs +82 -0
- package/node_modules/@tanstack/query-core/build/legacy/streamedQuery.js +59 -0
- package/node_modules/@tanstack/query-core/build/legacy/subscribable.cjs +51 -0
- package/node_modules/@tanstack/query-core/build/legacy/subscribable.js +28 -0
- package/node_modules/@tanstack/query-core/build/legacy/thenable.cjs +76 -0
- package/node_modules/@tanstack/query-core/build/legacy/thenable.js +52 -0
- package/node_modules/@tanstack/query-core/build/legacy/timeoutManager.cjs +110 -0
- package/node_modules/@tanstack/query-core/build/legacy/timeoutManager.js +81 -0
- package/node_modules/@tanstack/query-core/build/legacy/types.cjs +37 -0
- package/node_modules/@tanstack/query-core/build/legacy/types.js +12 -0
- package/node_modules/@tanstack/query-core/build/legacy/utils.cjs +329 -0
- package/node_modules/@tanstack/query-core/build/legacy/utils.js +282 -0
- package/node_modules/@tanstack/query-core/build/modern/focusManager.cjs +94 -0
- package/node_modules/@tanstack/query-core/build/modern/focusManager.js +68 -0
- package/node_modules/@tanstack/query-core/build/modern/hydration.cjs +173 -0
- package/node_modules/@tanstack/query-core/build/modern/hydration.js +145 -0
- package/node_modules/@tanstack/query-core/build/modern/index.cjs +110 -0
- package/node_modules/@tanstack/query-core/build/modern/index.js +71 -0
- package/node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.cjs +142 -0
- package/node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js +120 -0
- package/node_modules/@tanstack/query-core/build/modern/infiniteQueryObserver.cjs +92 -0
- package/node_modules/@tanstack/query-core/build/modern/infiniteQueryObserver.js +71 -0
- package/node_modules/@tanstack/query-core/build/modern/mutation.cjs +305 -0
- package/node_modules/@tanstack/query-core/build/modern/mutation.js +279 -0
- package/node_modules/@tanstack/query-core/build/modern/mutationCache.cjs +149 -0
- package/node_modules/@tanstack/query-core/build/modern/mutationCache.js +124 -0
- package/node_modules/@tanstack/query-core/build/modern/mutationObserver.cjs +165 -0
- package/node_modules/@tanstack/query-core/build/modern/mutationObserver.js +140 -0
- package/node_modules/@tanstack/query-core/build/modern/notifyManager.cjs +113 -0
- package/node_modules/@tanstack/query-core/build/modern/notifyManager.js +86 -0
- package/node_modules/@tanstack/query-core/build/modern/onlineManager.cjs +84 -0
- package/node_modules/@tanstack/query-core/build/modern/onlineManager.js +58 -0
- package/node_modules/@tanstack/query-core/build/modern/queriesObserver.cjs +228 -0
- package/node_modules/@tanstack/query-core/build/modern/queriesObserver.js +203 -0
- package/node_modules/@tanstack/query-core/build/modern/query.cjs +452 -0
- package/node_modules/@tanstack/query-core/build/modern/query.js +434 -0
- package/node_modules/@tanstack/query-core/build/modern/queryCache.cjs +122 -0
- package/node_modules/@tanstack/query-core/build/modern/queryCache.js +97 -0
- package/node_modules/@tanstack/query-core/build/modern/queryClient.cjs +322 -0
- package/node_modules/@tanstack/query-core/build/modern/queryClient.js +305 -0
- package/node_modules/@tanstack/query-core/build/modern/queryObserver.cjs +486 -0
- package/node_modules/@tanstack/query-core/build/modern/queryObserver.js +470 -0
- package/node_modules/@tanstack/query-core/build/modern/removable.cjs +58 -0
- package/node_modules/@tanstack/query-core/build/modern/removable.js +33 -0
- package/node_modules/@tanstack/query-core/build/modern/retryer.cjs +161 -0
- package/node_modules/@tanstack/query-core/build/modern/retryer.js +133 -0
- package/node_modules/@tanstack/query-core/build/modern/streamedQuery.cjs +82 -0
- package/node_modules/@tanstack/query-core/build/modern/streamedQuery.js +57 -0
- package/node_modules/@tanstack/query-core/build/modern/subscribable.cjs +51 -0
- package/node_modules/@tanstack/query-core/build/modern/subscribable.js +26 -0
- package/node_modules/@tanstack/query-core/build/modern/thenable.cjs +75 -0
- package/node_modules/@tanstack/query-core/build/modern/thenable.js +49 -0
- package/node_modules/@tanstack/query-core/build/modern/timeoutManager.cjs +98 -0
- package/node_modules/@tanstack/query-core/build/modern/timeoutManager.js +70 -0
- package/node_modules/@tanstack/query-core/build/modern/types.cjs +37 -0
- package/node_modules/@tanstack/query-core/build/modern/types.js +10 -0
- package/node_modules/@tanstack/query-core/build/modern/utils.cjs +329 -0
- package/node_modules/@tanstack/query-core/build/modern/utils.js +280 -0
- package/node_modules/@tanstack/query-core/package.json +65 -0
- package/node_modules/@vercel/oidc/dist/auth-config.d.ts +30 -0
- package/node_modules/@vercel/oidc/dist/auth-config.js +84 -0
- package/node_modules/@vercel/oidc/dist/get-context.d.ts +6 -0
- package/node_modules/@vercel/oidc/dist/get-context.js +34 -0
- package/node_modules/@vercel/oidc/dist/get-vercel-oidc-token.d.ts +49 -0
- package/node_modules/@vercel/oidc/dist/get-vercel-oidc-token.js +80 -0
- package/node_modules/@vercel/oidc/dist/get-vercel-oidc-token.test.d.ts +1 -0
- package/node_modules/@vercel/oidc/dist/get-vercel-oidc-token.test.js +245 -0
- package/node_modules/@vercel/oidc/dist/index-browser.d.ts +3 -0
- package/node_modules/@vercel/oidc/dist/index-browser.js +38 -0
- package/node_modules/@vercel/oidc/dist/index-browser.test.d.ts +1 -0
- package/node_modules/@vercel/oidc/dist/index-browser.test.js +33 -0
- package/node_modules/@vercel/oidc/dist/index.d.ts +2 -0
- package/node_modules/@vercel/oidc/dist/index.js +33 -0
- package/node_modules/@vercel/oidc/dist/oauth.d.ts +17 -0
- package/node_modules/@vercel/oidc/dist/oauth.js +88 -0
- package/node_modules/@vercel/oidc/dist/token-error.d.ts +5 -0
- package/node_modules/@vercel/oidc/dist/token-error.js +40 -0
- package/node_modules/@vercel/oidc/dist/token-io.d.ts +2 -0
- package/node_modules/@vercel/oidc/dist/token-io.js +78 -0
- package/node_modules/@vercel/oidc/dist/token-util.d.ts +21 -0
- package/node_modules/@vercel/oidc/dist/token-util.js +198 -0
- package/node_modules/@vercel/oidc/dist/token-util.test.d.ts +1 -0
- package/node_modules/@vercel/oidc/dist/token-util.test.js +229 -0
- package/node_modules/@vercel/oidc/dist/token.d.ts +1 -0
- package/node_modules/@vercel/oidc/dist/token.js +53 -0
- package/node_modules/@vercel/oidc/dist/token.test.d.ts +1 -0
- package/node_modules/@vercel/oidc/dist/token.test.js +84 -0
- package/node_modules/@vercel/oidc/package.json +52 -0
- package/node_modules/abstract-logging/index.js +18 -0
- package/node_modules/abstract-logging/package.json +25 -0
- package/node_modules/abstract-logging/test.js +17 -0
- package/node_modules/agent-base/dist/helpers.d.ts +15 -0
- package/node_modules/agent-base/dist/helpers.d.ts.map +1 -0
- package/node_modules/agent-base/dist/helpers.js +66 -0
- package/node_modules/agent-base/dist/helpers.js.map +1 -0
- package/node_modules/agent-base/dist/index.d.ts +41 -0
- package/node_modules/agent-base/dist/index.d.ts.map +1 -0
- package/node_modules/agent-base/dist/index.js +178 -0
- package/node_modules/agent-base/dist/index.js.map +1 -0
- package/node_modules/agent-base/package.json +46 -0
- package/node_modules/ai/dist/index.d.mts +6403 -0
- package/node_modules/ai/dist/index.d.ts +6403 -0
- package/node_modules/ai/dist/index.js +13569 -0
- package/node_modules/ai/dist/index.js.map +1 -0
- package/node_modules/ai/dist/index.mjs +13532 -0
- package/node_modules/ai/dist/index.mjs.map +1 -0
- package/node_modules/ai/dist/internal/index.d.mts +314 -0
- package/node_modules/ai/dist/internal/index.d.ts +314 -0
- package/node_modules/ai/dist/internal/index.js +1319 -0
- package/node_modules/ai/dist/internal/index.js.map +1 -0
- package/node_modules/ai/dist/internal/index.mjs +1303 -0
- package/node_modules/ai/dist/internal/index.mjs.map +1 -0
- package/node_modules/ai/package.json +118 -0
- package/node_modules/ajv/dist/2019.d.ts +19 -0
- package/node_modules/ajv/dist/2019.js +61 -0
- package/node_modules/ajv/dist/2019.js.map +1 -0
- package/node_modules/ajv/dist/2020.d.ts +19 -0
- package/node_modules/ajv/dist/2020.js +55 -0
- package/node_modules/ajv/dist/2020.js.map +1 -0
- package/node_modules/ajv/dist/ajv.d.ts +18 -0
- package/node_modules/ajv/dist/ajv.js +50 -0
- package/node_modules/ajv/dist/ajv.js.map +1 -0
- package/node_modules/ajv/dist/compile/codegen/code.d.ts +40 -0
- package/node_modules/ajv/dist/compile/codegen/code.js +156 -0
- package/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
- package/node_modules/ajv/dist/compile/codegen/index.d.ts +79 -0
- package/node_modules/ajv/dist/compile/codegen/index.js +697 -0
- package/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
- package/node_modules/ajv/dist/compile/codegen/scope.d.ts +79 -0
- package/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
- package/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
- package/node_modules/ajv/dist/compile/errors.d.ts +13 -0
- package/node_modules/ajv/dist/compile/errors.js +123 -0
- package/node_modules/ajv/dist/compile/errors.js.map +1 -0
- package/node_modules/ajv/dist/compile/index.d.ts +80 -0
- package/node_modules/ajv/dist/compile/index.js +242 -0
- package/node_modules/ajv/dist/compile/index.js.map +1 -0
- package/node_modules/ajv/dist/compile/jtd/parse.d.ts +4 -0
- package/node_modules/ajv/dist/compile/jtd/parse.js +350 -0
- package/node_modules/ajv/dist/compile/jtd/parse.js.map +1 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.d.ts +4 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.js +236 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.js.map +1 -0
- package/node_modules/ajv/dist/compile/jtd/types.d.ts +6 -0
- package/node_modules/ajv/dist/compile/jtd/types.js +14 -0
- package/node_modules/ajv/dist/compile/jtd/types.js.map +1 -0
- package/node_modules/ajv/dist/compile/names.d.ts +20 -0
- package/node_modules/ajv/dist/compile/names.js +28 -0
- package/node_modules/ajv/dist/compile/names.js.map +1 -0
- package/node_modules/ajv/dist/compile/ref_error.d.ts +6 -0
- package/node_modules/ajv/dist/compile/ref_error.js +12 -0
- package/node_modules/ajv/dist/compile/ref_error.js.map +1 -0
- package/node_modules/ajv/dist/compile/resolve.d.ts +12 -0
- package/node_modules/ajv/dist/compile/resolve.js +155 -0
- package/node_modules/ajv/dist/compile/resolve.js.map +1 -0
- package/node_modules/ajv/dist/compile/rules.d.ts +28 -0
- package/node_modules/ajv/dist/compile/rules.js +26 -0
- package/node_modules/ajv/dist/compile/rules.js.map +1 -0
- package/node_modules/ajv/dist/compile/util.d.ts +40 -0
- package/node_modules/ajv/dist/compile/util.js +178 -0
- package/node_modules/ajv/dist/compile/util.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/applicability.d.ts +6 -0
- package/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
- package/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +4 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/dataType.d.ts +17 -0
- package/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
- package/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/defaults.d.ts +2 -0
- package/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
- package/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/index.d.ts +42 -0
- package/node_modules/ajv/dist/compile/validate/index.js +520 -0
- package/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/keyword.d.ts +8 -0
- package/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
- package/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/subschema.d.ts +47 -0
- package/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
- package/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -0
- package/node_modules/ajv/dist/core.d.ts +174 -0
- package/node_modules/ajv/dist/core.js +618 -0
- package/node_modules/ajv/dist/core.js.map +1 -0
- package/node_modules/ajv/dist/jtd.d.ts +47 -0
- package/node_modules/ajv/dist/jtd.js +72 -0
- package/node_modules/ajv/dist/jtd.js.map +1 -0
- package/node_modules/ajv/dist/refs/data.json +13 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +2 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +28 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +1 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +17 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +57 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +14 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +39 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +2 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +30 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +1 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
- package/node_modules/ajv/dist/refs/json-schema-draft-06.json +137 -0
- package/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
- package/node_modules/ajv/dist/refs/json-schema-secure.json +88 -0
- package/node_modules/ajv/dist/refs/jtd-schema.d.ts +3 -0
- package/node_modules/ajv/dist/refs/jtd-schema.js +118 -0
- package/node_modules/ajv/dist/refs/jtd-schema.js.map +1 -0
- package/node_modules/ajv/dist/runtime/equal.d.ts +6 -0
- package/node_modules/ajv/dist/runtime/equal.js +7 -0
- package/node_modules/ajv/dist/runtime/equal.js.map +1 -0
- package/node_modules/ajv/dist/runtime/parseJson.d.ts +18 -0
- package/node_modules/ajv/dist/runtime/parseJson.js +185 -0
- package/node_modules/ajv/dist/runtime/parseJson.js.map +1 -0
- package/node_modules/ajv/dist/runtime/quote.d.ts +5 -0
- package/node_modules/ajv/dist/runtime/quote.js +30 -0
- package/node_modules/ajv/dist/runtime/quote.js.map +1 -0
- package/node_modules/ajv/dist/runtime/re2.d.ts +6 -0
- package/node_modules/ajv/dist/runtime/re2.js +6 -0
- package/node_modules/ajv/dist/runtime/re2.js.map +1 -0
- package/node_modules/ajv/dist/runtime/timestamp.d.ts +5 -0
- package/node_modules/ajv/dist/runtime/timestamp.js +42 -0
- package/node_modules/ajv/dist/runtime/timestamp.js.map +1 -0
- package/node_modules/ajv/dist/runtime/ucs2length.d.ts +5 -0
- package/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
- package/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -0
- package/node_modules/ajv/dist/runtime/uri.d.ts +6 -0
- package/node_modules/ajv/dist/runtime/uri.js +6 -0
- package/node_modules/ajv/dist/runtime/uri.js.map +1 -0
- package/node_modules/ajv/dist/runtime/validation_error.d.ts +7 -0
- package/node_modules/ajv/dist/runtime/validation_error.js +11 -0
- package/node_modules/ajv/dist/runtime/validation_error.js.map +1 -0
- package/node_modules/ajv/dist/standalone/index.d.ts +6 -0
- package/node_modules/ajv/dist/standalone/index.js +90 -0
- package/node_modules/ajv/dist/standalone/index.js.map +1 -0
- package/node_modules/ajv/dist/standalone/instance.d.ts +12 -0
- package/node_modules/ajv/dist/standalone/instance.js +35 -0
- package/node_modules/ajv/dist/standalone/instance.js.map +1 -0
- package/node_modules/ajv/dist/types/index.d.ts +183 -0
- package/node_modules/ajv/dist/types/index.js +3 -0
- package/node_modules/ajv/dist/types/index.js.map +1 -0
- package/node_modules/ajv/dist/types/json-schema.d.ts +125 -0
- package/node_modules/ajv/dist/types/json-schema.js +3 -0
- package/node_modules/ajv/dist/types/json-schema.js.map +1 -0
- package/node_modules/ajv/dist/types/jtd-schema.d.ts +174 -0
- package/node_modules/ajv/dist/types/jtd-schema.js +3 -0
- package/node_modules/ajv/dist/types/jtd-schema.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +7 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +21 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +13 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/code.d.ts +17 -0
- package/node_modules/ajv/dist/vocabularies/code.js +131 -0
- package/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/core/id.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
- package/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/core/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
- package/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +10 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.js +23 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/draft7.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
- package/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +30 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.js +9 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/errors.d.ts +9 -0
- package/node_modules/ajv/dist/vocabularies/errors.js +3 -0
- package/node_modules/ajv/dist/vocabularies/errors.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/format/format.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
- package/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/format/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
- package/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +71 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.js +24 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.js +43 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +9 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.js +20 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +10 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.js +29 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.js +25 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.js +22 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +15 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +22 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.js +149 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.js +67 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +10 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.js +69 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.js +12 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.js +51 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/metadata.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
- package/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/next.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/next.js +8 -0
- package/node_modules/ajv/dist/vocabularies/next.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.js +7 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +40 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +65 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.d.ts +16 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.js +15 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +11 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.js +33 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +9 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
- package/node_modules/ajv/lib/refs/data.json +13 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +17 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +57 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +14 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +39 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +17 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +51 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +55 -0
- package/node_modules/ajv/lib/refs/json-schema-draft-06.json +137 -0
- package/node_modules/ajv/lib/refs/json-schema-draft-07.json +151 -0
- package/node_modules/ajv/lib/refs/json-schema-secure.json +88 -0
- package/node_modules/ajv/package.json +127 -0
- package/node_modules/ajv-formats/dist/formats.d.ts +9 -0
- package/node_modules/ajv-formats/dist/formats.js +208 -0
- package/node_modules/ajv-formats/dist/formats.js.map +1 -0
- package/node_modules/ajv-formats/dist/index.d.ts +15 -0
- package/node_modules/ajv-formats/dist/index.js +37 -0
- package/node_modules/ajv-formats/dist/index.js.map +1 -0
- package/node_modules/ajv-formats/dist/limit.d.ts +10 -0
- package/node_modules/ajv-formats/dist/limit.js +69 -0
- package/node_modules/ajv-formats/dist/limit.js.map +1 -0
- package/node_modules/ajv-formats/package.json +74 -0
- package/node_modules/atomic-sleep/index.js +38 -0
- package/node_modules/atomic-sleep/package.json +37 -0
- package/node_modules/atomic-sleep/test.js +47 -0
- package/node_modules/avvio/boot.js +621 -0
- package/node_modules/avvio/eslint.config.js +6 -0
- package/node_modules/avvio/lib/create-promise.js +45 -0
- package/node_modules/avvio/lib/debug.js +19 -0
- package/node_modules/avvio/lib/errors.js +38 -0
- package/node_modules/avvio/lib/execute-with-thenable.js +36 -0
- package/node_modules/avvio/lib/get-plugin-name.js +34 -0
- package/node_modules/avvio/lib/is-bundled-or-typescript-plugin.js +23 -0
- package/node_modules/avvio/lib/is-promise-like.js +17 -0
- package/node_modules/avvio/lib/plugin.js +279 -0
- package/node_modules/avvio/lib/symbols.js +26 -0
- package/node_modules/avvio/lib/thenify.js +60 -0
- package/node_modules/avvio/lib/time-tree.js +200 -0
- package/node_modules/avvio/lib/validate-plugin.js +26 -0
- package/node_modules/avvio/package.json +74 -0
- package/node_modules/balanced-match/dist/commonjs/index.d.ts +9 -0
- package/node_modules/balanced-match/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/balanced-match/dist/commonjs/index.js +59 -0
- package/node_modules/balanced-match/dist/commonjs/index.js.map +1 -0
- package/node_modules/balanced-match/dist/commonjs/package.json +3 -0
- package/node_modules/balanced-match/dist/esm/index.d.ts +9 -0
- package/node_modules/balanced-match/dist/esm/index.d.ts.map +1 -0
- package/node_modules/balanced-match/dist/esm/index.js +54 -0
- package/node_modules/balanced-match/dist/esm/index.js.map +1 -0
- package/node_modules/balanced-match/dist/esm/package.json +3 -0
- package/node_modules/balanced-match/package.json +68 -0
- package/node_modules/base64-js/base64js.min.js +1 -0
- package/node_modules/base64-js/index.js +150 -0
- package/node_modules/base64-js/package.json +47 -0
- package/node_modules/better-sqlite3/lib/database.js +90 -0
- package/node_modules/better-sqlite3/lib/index.js +3 -0
- package/node_modules/better-sqlite3/lib/methods/aggregate.js +43 -0
- package/node_modules/better-sqlite3/lib/methods/backup.js +67 -0
- package/node_modules/better-sqlite3/lib/methods/function.js +31 -0
- package/node_modules/better-sqlite3/lib/methods/inspect.js +7 -0
- package/node_modules/better-sqlite3/lib/methods/pragma.js +12 -0
- package/node_modules/better-sqlite3/lib/methods/serialize.js +16 -0
- package/node_modules/better-sqlite3/lib/methods/table.js +189 -0
- package/node_modules/better-sqlite3/lib/methods/transaction.js +78 -0
- package/node_modules/better-sqlite3/lib/methods/wrappers.js +54 -0
- package/node_modules/better-sqlite3/lib/sqlite-error.js +20 -0
- package/node_modules/better-sqlite3/lib/util.js +12 -0
- package/node_modules/better-sqlite3/package.json +54 -0
- package/node_modules/bindings/bindings.js +221 -0
- package/node_modules/bindings/package.json +28 -0
- package/node_modules/bl/BufferList.js +396 -0
- package/node_modules/bl/bl.js +84 -0
- package/node_modules/bl/package.json +37 -0
- package/node_modules/brace-expansion/dist/commonjs/index.d.ts +6 -0
- package/node_modules/brace-expansion/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/brace-expansion/dist/commonjs/index.js +201 -0
- package/node_modules/brace-expansion/dist/commonjs/index.js.map +1 -0
- package/node_modules/brace-expansion/dist/commonjs/package.json +3 -0
- package/node_modules/brace-expansion/dist/esm/index.d.ts +6 -0
- package/node_modules/brace-expansion/dist/esm/index.d.ts.map +1 -0
- package/node_modules/brace-expansion/dist/esm/index.js +197 -0
- package/node_modules/brace-expansion/dist/esm/index.js.map +1 -0
- package/node_modules/brace-expansion/dist/esm/package.json +3 -0
- package/node_modules/brace-expansion/package.json +64 -0
- package/node_modules/buffer/index.js +1817 -0
- package/node_modules/buffer/package.json +96 -0
- package/node_modules/bundle-name/index.js +5 -0
- package/node_modules/bundle-name/license +9 -0
- package/node_modules/bundle-name/package.json +45 -0
- package/node_modules/chownr/chownr.js +167 -0
- package/node_modules/chownr/package.json +29 -0
- package/node_modules/content-disposition/index.js +458 -0
- package/node_modules/content-disposition/package.json +44 -0
- package/node_modules/cookie/dist/index.d.ts +148 -0
- package/node_modules/cookie/dist/index.js +350 -0
- package/node_modules/cookie/dist/index.js.map +1 -0
- package/node_modules/cookie/package.json +47 -0
- package/node_modules/cookies/index.js +290 -0
- package/node_modules/cookies/package.json +38 -0
- package/node_modules/cross-spawn/index.js +39 -0
- package/node_modules/cross-spawn/lib/enoent.js +59 -0
- package/node_modules/cross-spawn/lib/parse.js +91 -0
- package/node_modules/cross-spawn/lib/util/escape.js +47 -0
- package/node_modules/cross-spawn/lib/util/readShebang.js +23 -0
- package/node_modules/cross-spawn/lib/util/resolveCommand.js +52 -0
- package/node_modules/cross-spawn/package.json +73 -0
- package/node_modules/debug/package.json +64 -0
- package/node_modules/debug/src/browser.js +272 -0
- package/node_modules/debug/src/common.js +292 -0
- package/node_modules/debug/src/index.js +10 -0
- package/node_modules/debug/src/node.js +263 -0
- package/node_modules/decompress-response/index.js +58 -0
- package/node_modules/decompress-response/license +9 -0
- package/node_modules/decompress-response/package.json +56 -0
- package/node_modules/deep-extend/index.js +1 -0
- package/node_modules/deep-extend/lib/deep-extend.js +150 -0
- package/node_modules/deep-extend/package.json +62 -0
- package/node_modules/default-browser/index.js +34 -0
- package/node_modules/default-browser/license +9 -0
- package/node_modules/default-browser/package.json +54 -0
- package/node_modules/default-browser/windows.js +57 -0
- package/node_modules/default-browser-id/index.js +25 -0
- package/node_modules/default-browser-id/license +9 -0
- package/node_modules/default-browser-id/package.json +41 -0
- package/node_modules/define-lazy-prop/index.js +18 -0
- package/node_modules/define-lazy-prop/license +9 -0
- package/node_modules/define-lazy-prop/package.json +51 -0
- package/node_modules/depd/index.js +538 -0
- package/node_modules/depd/lib/browser/index.js +77 -0
- package/node_modules/depd/package.json +45 -0
- package/node_modules/dequal/dist/index.js +86 -0
- package/node_modules/dequal/dist/index.min.js +1 -0
- package/node_modules/dequal/dist/index.mjs +84 -0
- package/node_modules/dequal/license +21 -0
- package/node_modules/dequal/lite/index.js +31 -0
- package/node_modules/dequal/lite/index.min.js +1 -0
- package/node_modules/dequal/lite/index.mjs +29 -0
- package/node_modules/dequal/package.json +57 -0
- package/node_modules/detect-libc/lib/detect-libc.js +313 -0
- package/node_modules/detect-libc/lib/elf.js +39 -0
- package/node_modules/detect-libc/lib/filesystem.js +51 -0
- package/node_modules/detect-libc/lib/process.js +24 -0
- package/node_modules/detect-libc/package.json +44 -0
- package/node_modules/duplexify/example.js +21 -0
- package/node_modules/duplexify/index.js +238 -0
- package/node_modules/duplexify/package.json +39 -0
- package/node_modules/duplexify/test.js +339 -0
- package/node_modules/end-of-stream/index.js +96 -0
- package/node_modules/end-of-stream/package.json +37 -0
- package/node_modules/escape-html/index.js +78 -0
- package/node_modules/escape-html/package.json +24 -0
- package/node_modules/eventsource-parser/dist/index.cjs +106 -0
- package/node_modules/eventsource-parser/dist/index.cjs.map +1 -0
- package/node_modules/eventsource-parser/dist/index.d.cts +144 -0
- package/node_modules/eventsource-parser/dist/index.d.ts +144 -0
- package/node_modules/eventsource-parser/dist/index.js +106 -0
- package/node_modules/eventsource-parser/dist/index.js.map +1 -0
- package/node_modules/eventsource-parser/dist/stream.cjs +28 -0
- package/node_modules/eventsource-parser/dist/stream.cjs.map +1 -0
- package/node_modules/eventsource-parser/dist/stream.d.cts +118 -0
- package/node_modules/eventsource-parser/dist/stream.d.ts +118 -0
- package/node_modules/eventsource-parser/dist/stream.js +29 -0
- package/node_modules/eventsource-parser/dist/stream.js.map +1 -0
- package/node_modules/eventsource-parser/package.json +115 -0
- package/node_modules/eventsource-parser/stream.js +2 -0
- package/node_modules/expand-template/index.js +26 -0
- package/node_modules/expand-template/package.json +29 -0
- package/node_modules/expand-template/test.js +67 -0
- package/node_modules/fast-decode-uri-component/bench.js +35 -0
- package/node_modules/fast-decode-uri-component/index.js +115 -0
- package/node_modules/fast-decode-uri-component/package.json +33 -0
- package/node_modules/fast-decode-uri-component/test.js +32 -0
- package/node_modules/fast-deep-equal/es6/index.js +72 -0
- package/node_modules/fast-deep-equal/es6/react.js +79 -0
- package/node_modules/fast-deep-equal/index.js +46 -0
- package/node_modules/fast-deep-equal/package.json +61 -0
- package/node_modules/fast-deep-equal/react.js +53 -0
- package/node_modules/fast-json-stringify/build/build-schema-validator.js +26 -0
- package/node_modules/fast-json-stringify/eslint.config.js +9 -0
- package/node_modules/fast-json-stringify/index.js +1312 -0
- package/node_modules/fast-json-stringify/lib/location.js +24 -0
- package/node_modules/fast-json-stringify/lib/merge-schemas.js +9 -0
- package/node_modules/fast-json-stringify/lib/schema-validator.js +1134 -0
- package/node_modules/fast-json-stringify/lib/serializer.js +141 -0
- package/node_modules/fast-json-stringify/lib/standalone.js +34 -0
- package/node_modules/fast-json-stringify/lib/validator.js +96 -0
- package/node_modules/fast-json-stringify/package.json +89 -0
- package/node_modules/fast-querystring/lib/index.js +20 -0
- package/node_modules/fast-querystring/lib/internals/querystring.js +96 -0
- package/node_modules/fast-querystring/lib/parse.js +126 -0
- package/node_modules/fast-querystring/lib/stringify.js +69 -0
- package/node_modules/fast-querystring/package.json +56 -0
- package/node_modules/fast-sha256/package.json +42 -0
- package/node_modules/fast-sha256/sha256.js +427 -0
- package/node_modules/fast-sha256/sha256.min.js +1 -0
- package/node_modules/fast-uri/eslint.config.js +6 -0
- package/node_modules/fast-uri/index.js +340 -0
- package/node_modules/fast-uri/lib/schemes.js +267 -0
- package/node_modules/fast-uri/lib/utils.js +336 -0
- package/node_modules/fast-uri/package.json +69 -0
- package/node_modules/fast-uri/tsconfig.json +9 -0
- package/node_modules/fastify/build/build-error-serializer.js +35 -0
- package/node_modules/fastify/build/build-validation.js +169 -0
- package/node_modules/fastify/build/sync-version.js +11 -0
- package/node_modules/fastify/eslint.config.js +35 -0
- package/node_modules/fastify/fastify.js +985 -0
- package/node_modules/fastify/integration/server.js +29 -0
- package/node_modules/fastify/integration/test.sh +23 -0
- package/node_modules/fastify/lib/config-validator.js +1266 -0
- package/node_modules/fastify/lib/content-type-parser.js +413 -0
- package/node_modules/fastify/lib/content-type.js +160 -0
- package/node_modules/fastify/lib/context.js +98 -0
- package/node_modules/fastify/lib/decorate.js +152 -0
- package/node_modules/fastify/lib/error-handler.js +173 -0
- package/node_modules/fastify/lib/error-serializer.js +134 -0
- package/node_modules/fastify/lib/error-status.js +14 -0
- package/node_modules/fastify/lib/errors.js +516 -0
- package/node_modules/fastify/lib/four-oh-four.js +190 -0
- package/node_modules/fastify/lib/handle-request.js +195 -0
- package/node_modules/fastify/lib/head-route.js +45 -0
- package/node_modules/fastify/lib/hooks.js +429 -0
- package/node_modules/fastify/lib/initial-config-validation.js +37 -0
- package/node_modules/fastify/lib/logger-factory.js +136 -0
- package/node_modules/fastify/lib/logger-pino.js +68 -0
- package/node_modules/fastify/lib/noop-set.js +10 -0
- package/node_modules/fastify/lib/plugin-override.js +90 -0
- package/node_modules/fastify/lib/plugin-utils.js +169 -0
- package/node_modules/fastify/lib/promise.js +23 -0
- package/node_modules/fastify/lib/reply.js +1030 -0
- package/node_modules/fastify/lib/req-id-gen-factory.js +52 -0
- package/node_modules/fastify/lib/request.js +393 -0
- package/node_modules/fastify/lib/route.js +686 -0
- package/node_modules/fastify/lib/schema-controller.js +164 -0
- package/node_modules/fastify/lib/schemas.js +207 -0
- package/node_modules/fastify/lib/server.js +441 -0
- package/node_modules/fastify/lib/symbols.js +71 -0
- package/node_modules/fastify/lib/validation.js +280 -0
- package/node_modules/fastify/lib/warnings.js +57 -0
- package/node_modules/fastify/lib/wrap-thenable.js +84 -0
- package/node_modules/fastify/package.json +225 -0
- package/node_modules/fastify/scripts/validate-ecosystem-links.js +179 -0
- package/node_modules/fastify-plugin/eslint.config.js +6 -0
- package/node_modules/fastify-plugin/lib/getPluginName.js +25 -0
- package/node_modules/fastify-plugin/lib/toCamelCase.js +10 -0
- package/node_modules/fastify-plugin/package.json +70 -0
- package/node_modules/fastify-plugin/plugin.js +67 -0
- package/node_modules/fastq/bench.js +66 -0
- package/node_modules/fastq/eslint.config.js +11 -0
- package/node_modules/fastq/example.js +14 -0
- package/node_modules/fastq/example.mjs +9 -0
- package/node_modules/fastq/package.json +49 -0
- package/node_modules/fastq/queue.js +346 -0
- package/node_modules/file-uri-to-path/index.js +66 -0
- package/node_modules/file-uri-to-path/package.json +32 -0
- package/node_modules/find-my-way/example.js +29 -0
- package/node_modules/find-my-way/index.js +839 -0
- package/node_modules/find-my-way/lib/constrainer.js +172 -0
- package/node_modules/find-my-way/lib/handler-storage.js +175 -0
- package/node_modules/find-my-way/lib/http-methods.js +13 -0
- package/node_modules/find-my-way/lib/node.js +228 -0
- package/node_modules/find-my-way/lib/null-object.js +8 -0
- package/node_modules/find-my-way/lib/pretty-print.js +168 -0
- package/node_modules/find-my-way/lib/strategies/accept-host.js +36 -0
- package/node_modules/find-my-way/lib/strategies/accept-version.js +64 -0
- package/node_modules/find-my-way/lib/strategies/http-method.js +15 -0
- package/node_modules/find-my-way/lib/url-sanitizer.js +105 -0
- package/node_modules/find-my-way/package.json +57 -0
- package/node_modules/foreground-child/dist/commonjs/all-signals.d.ts +2 -0
- package/node_modules/foreground-child/dist/commonjs/all-signals.d.ts.map +1 -0
- package/node_modules/foreground-child/dist/commonjs/all-signals.js +58 -0
- package/node_modules/foreground-child/dist/commonjs/all-signals.js.map +1 -0
- package/node_modules/foreground-child/dist/commonjs/index.d.ts +58 -0
- package/node_modules/foreground-child/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/foreground-child/dist/commonjs/index.js +123 -0
- package/node_modules/foreground-child/dist/commonjs/index.js.map +1 -0
- package/node_modules/foreground-child/dist/commonjs/package.json +3 -0
- package/node_modules/foreground-child/dist/commonjs/proxy-signals.d.ts +6 -0
- package/node_modules/foreground-child/dist/commonjs/proxy-signals.d.ts.map +1 -0
- package/node_modules/foreground-child/dist/commonjs/proxy-signals.js +38 -0
- package/node_modules/foreground-child/dist/commonjs/proxy-signals.js.map +1 -0
- package/node_modules/foreground-child/dist/commonjs/watchdog.d.ts +10 -0
- package/node_modules/foreground-child/dist/commonjs/watchdog.d.ts.map +1 -0
- package/node_modules/foreground-child/dist/commonjs/watchdog.js +50 -0
- package/node_modules/foreground-child/dist/commonjs/watchdog.js.map +1 -0
- package/node_modules/foreground-child/dist/esm/all-signals.d.ts +2 -0
- package/node_modules/foreground-child/dist/esm/all-signals.d.ts.map +1 -0
- package/node_modules/foreground-child/dist/esm/all-signals.js +52 -0
- package/node_modules/foreground-child/dist/esm/all-signals.js.map +1 -0
- package/node_modules/foreground-child/dist/esm/index.d.ts +58 -0
- package/node_modules/foreground-child/dist/esm/index.d.ts.map +1 -0
- package/node_modules/foreground-child/dist/esm/index.js +115 -0
- package/node_modules/foreground-child/dist/esm/index.js.map +1 -0
- package/node_modules/foreground-child/dist/esm/package.json +3 -0
- package/node_modules/foreground-child/dist/esm/proxy-signals.d.ts +6 -0
- package/node_modules/foreground-child/dist/esm/proxy-signals.d.ts.map +1 -0
- package/node_modules/foreground-child/dist/esm/proxy-signals.js +34 -0
- package/node_modules/foreground-child/dist/esm/proxy-signals.js.map +1 -0
- package/node_modules/foreground-child/dist/esm/watchdog.d.ts +10 -0
- package/node_modules/foreground-child/dist/esm/watchdog.d.ts.map +1 -0
- package/node_modules/foreground-child/dist/esm/watchdog.js +46 -0
- package/node_modules/foreground-child/dist/esm/watchdog.js.map +1 -0
- package/node_modules/foreground-child/package.json +106 -0
- package/node_modules/fs-constants/browser.js +1 -0
- package/node_modules/fs-constants/index.js +1 -0
- package/node_modules/fs-constants/package.json +19 -0
- package/node_modules/github-from-package/index.js +17 -0
- package/node_modules/github-from-package/package.json +30 -0
- package/node_modules/github-from-package/readme.markdown +53 -0
- package/node_modules/glob/dist/commonjs/glob.d.ts +388 -0
- package/node_modules/glob/dist/commonjs/glob.d.ts.map +1 -0
- package/node_modules/glob/dist/commonjs/glob.js +247 -0
- package/node_modules/glob/dist/commonjs/glob.js.map +1 -0
- package/node_modules/glob/dist/commonjs/has-magic.d.ts +14 -0
- package/node_modules/glob/dist/commonjs/has-magic.d.ts.map +1 -0
- package/node_modules/glob/dist/commonjs/has-magic.js +27 -0
- package/node_modules/glob/dist/commonjs/has-magic.js.map +1 -0
- package/node_modules/glob/dist/commonjs/ignore.d.ts +24 -0
- package/node_modules/glob/dist/commonjs/ignore.d.ts.map +1 -0
- package/node_modules/glob/dist/commonjs/ignore.js +119 -0
- package/node_modules/glob/dist/commonjs/ignore.js.map +1 -0
- package/node_modules/glob/dist/commonjs/index.d.ts +97 -0
- package/node_modules/glob/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/glob/dist/commonjs/index.js +68 -0
- package/node_modules/glob/dist/commonjs/index.js.map +1 -0
- package/node_modules/glob/dist/commonjs/package.json +3 -0
- package/node_modules/glob/dist/commonjs/pattern.d.ts +76 -0
- package/node_modules/glob/dist/commonjs/pattern.d.ts.map +1 -0
- package/node_modules/glob/dist/commonjs/pattern.js +219 -0
- package/node_modules/glob/dist/commonjs/pattern.js.map +1 -0
- package/node_modules/glob/dist/commonjs/processor.d.ts +59 -0
- package/node_modules/glob/dist/commonjs/processor.d.ts.map +1 -0
- package/node_modules/glob/dist/commonjs/processor.js +301 -0
- package/node_modules/glob/dist/commonjs/processor.js.map +1 -0
- package/node_modules/glob/dist/commonjs/walker.d.ts +97 -0
- package/node_modules/glob/dist/commonjs/walker.d.ts.map +1 -0
- package/node_modules/glob/dist/commonjs/walker.js +387 -0
- package/node_modules/glob/dist/commonjs/walker.js.map +1 -0
- package/node_modules/glob/dist/esm/bin.d.mts +3 -0
- package/node_modules/glob/dist/esm/bin.d.mts.map +1 -0
- package/node_modules/glob/dist/esm/bin.mjs +346 -0
- package/node_modules/glob/dist/esm/bin.mjs.map +1 -0
- package/node_modules/glob/dist/esm/glob.d.ts +388 -0
- package/node_modules/glob/dist/esm/glob.d.ts.map +1 -0
- package/node_modules/glob/dist/esm/glob.js +243 -0
- package/node_modules/glob/dist/esm/glob.js.map +1 -0
- package/node_modules/glob/dist/esm/has-magic.d.ts +14 -0
- package/node_modules/glob/dist/esm/has-magic.d.ts.map +1 -0
- package/node_modules/glob/dist/esm/has-magic.js +23 -0
- package/node_modules/glob/dist/esm/has-magic.js.map +1 -0
- package/node_modules/glob/dist/esm/ignore.d.ts +24 -0
- package/node_modules/glob/dist/esm/ignore.d.ts.map +1 -0
- package/node_modules/glob/dist/esm/ignore.js +115 -0
- package/node_modules/glob/dist/esm/ignore.js.map +1 -0
- package/node_modules/glob/dist/esm/index.d.ts +97 -0
- package/node_modules/glob/dist/esm/index.d.ts.map +1 -0
- package/node_modules/glob/dist/esm/index.js +55 -0
- package/node_modules/glob/dist/esm/index.js.map +1 -0
- package/node_modules/glob/dist/esm/package.json +3 -0
- package/node_modules/glob/dist/esm/pattern.d.ts +76 -0
- package/node_modules/glob/dist/esm/pattern.d.ts.map +1 -0
- package/node_modules/glob/dist/esm/pattern.js +215 -0
- package/node_modules/glob/dist/esm/pattern.js.map +1 -0
- package/node_modules/glob/dist/esm/processor.d.ts +59 -0
- package/node_modules/glob/dist/esm/processor.d.ts.map +1 -0
- package/node_modules/glob/dist/esm/processor.js +294 -0
- package/node_modules/glob/dist/esm/processor.js.map +1 -0
- package/node_modules/glob/dist/esm/walker.d.ts +97 -0
- package/node_modules/glob/dist/esm/walker.d.ts.map +1 -0
- package/node_modules/glob/dist/esm/walker.js +381 -0
- package/node_modules/glob/dist/esm/walker.js.map +1 -0
- package/node_modules/glob/package.json +97 -0
- package/node_modules/glob-to-regexp/index.js +130 -0
- package/node_modules/glob-to-regexp/package.json +23 -0
- package/node_modules/glob-to-regexp/test.js +235 -0
- package/node_modules/http-errors/index.js +290 -0
- package/node_modules/http-errors/package.json +54 -0
- package/node_modules/https-proxy-agent/dist/index.d.ts +47 -0
- package/node_modules/https-proxy-agent/dist/index.d.ts.map +1 -0
- package/node_modules/https-proxy-agent/dist/index.js +180 -0
- package/node_modules/https-proxy-agent/dist/index.js.map +1 -0
- package/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +15 -0
- package/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts.map +1 -0
- package/node_modules/https-proxy-agent/dist/parse-proxy-response.js +101 -0
- package/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +1 -0
- package/node_modules/https-proxy-agent/package.json +50 -0
- package/node_modules/ieee754/index.js +85 -0
- package/node_modules/ieee754/package.json +52 -0
- package/node_modules/inherits/inherits.js +9 -0
- package/node_modules/inherits/inherits_browser.js +27 -0
- package/node_modules/inherits/package.json +29 -0
- package/node_modules/ini/ini.js +206 -0
- package/node_modules/ini/package.json +33 -0
- package/node_modules/ip-address/dist/address-error.d.ts +5 -0
- package/node_modules/ip-address/dist/address-error.d.ts.map +1 -0
- package/node_modules/ip-address/dist/address-error.js +12 -0
- package/node_modules/ip-address/dist/address-error.js.map +1 -0
- package/node_modules/ip-address/dist/common.d.ts +15 -0
- package/node_modules/ip-address/dist/common.d.ts.map +1 -0
- package/node_modules/ip-address/dist/common.js +46 -0
- package/node_modules/ip-address/dist/common.js.map +1 -0
- package/node_modules/ip-address/dist/ip-address.d.ts +8 -0
- package/node_modules/ip-address/dist/ip-address.d.ts.map +1 -0
- package/node_modules/ip-address/dist/ip-address.js +35 -0
- package/node_modules/ip-address/dist/ip-address.js.map +1 -0
- package/node_modules/ip-address/dist/ipv4.d.ts +209 -0
- package/node_modules/ip-address/dist/ipv4.d.ts.map +1 -0
- package/node_modules/ip-address/dist/ipv4.js +360 -0
- package/node_modules/ip-address/dist/ipv4.js.map +1 -0
- package/node_modules/ip-address/dist/ipv6.d.ts +428 -0
- package/node_modules/ip-address/dist/ipv6.d.ts.map +1 -0
- package/node_modules/ip-address/dist/ipv6.js +1003 -0
- package/node_modules/ip-address/dist/ipv6.js.map +1 -0
- package/node_modules/ip-address/dist/v4/constants.d.ts +5 -0
- package/node_modules/ip-address/dist/v4/constants.d.ts.map +1 -0
- package/node_modules/ip-address/dist/v4/constants.js +8 -0
- package/node_modules/ip-address/dist/v4/constants.js.map +1 -0
- package/node_modules/ip-address/dist/v6/constants.d.ts +45 -0
- package/node_modules/ip-address/dist/v6/constants.d.ts.map +1 -0
- package/node_modules/ip-address/dist/v6/constants.js +76 -0
- package/node_modules/ip-address/dist/v6/constants.js.map +1 -0
- package/node_modules/ip-address/dist/v6/helpers.d.ts +18 -0
- package/node_modules/ip-address/dist/v6/helpers.d.ts.map +1 -0
- package/node_modules/ip-address/dist/v6/helpers.js +45 -0
- package/node_modules/ip-address/dist/v6/helpers.js.map +1 -0
- package/node_modules/ip-address/dist/v6/regular-expressions.d.ts +6 -0
- package/node_modules/ip-address/dist/v6/regular-expressions.d.ts.map +1 -0
- package/node_modules/ip-address/dist/v6/regular-expressions.js +95 -0
- package/node_modules/ip-address/dist/v6/regular-expressions.js.map +1 -0
- package/node_modules/ip-address/package.json +78 -0
- package/node_modules/ipaddr.js/ipaddr.min.js +1 -0
- package/node_modules/ipaddr.js/lib/ipaddr.js +1067 -0
- package/node_modules/ipaddr.js/package.json +36 -0
- package/node_modules/is-docker/cli.js +5 -0
- package/node_modules/is-docker/index.js +29 -0
- package/node_modules/is-docker/license +9 -0
- package/node_modules/is-docker/package.json +44 -0
- package/node_modules/is-inside-container/cli.js +5 -0
- package/node_modules/is-inside-container/index.js +23 -0
- package/node_modules/is-inside-container/license +9 -0
- package/node_modules/is-inside-container/package.json +51 -0
- package/node_modules/is-wsl/index.js +36 -0
- package/node_modules/is-wsl/license +9 -0
- package/node_modules/is-wsl/package.json +58 -0
- package/node_modules/isexe/index.js +57 -0
- package/node_modules/isexe/mode.js +41 -0
- package/node_modules/isexe/package.json +31 -0
- package/node_modules/isexe/windows.js +42 -0
- package/node_modules/jackspeak/dist/commonjs/index.d.ts +323 -0
- package/node_modules/jackspeak/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/jackspeak/dist/commonjs/index.js +944 -0
- package/node_modules/jackspeak/dist/commonjs/index.js.map +1 -0
- package/node_modules/jackspeak/dist/commonjs/index.min.js +33 -0
- package/node_modules/jackspeak/dist/commonjs/index.min.js.map +7 -0
- package/node_modules/jackspeak/dist/commonjs/package.json +3 -0
- package/node_modules/jackspeak/dist/esm/index.d.ts +323 -0
- package/node_modules/jackspeak/dist/esm/index.d.ts.map +1 -0
- package/node_modules/jackspeak/dist/esm/index.js +936 -0
- package/node_modules/jackspeak/dist/esm/index.js.map +1 -0
- package/node_modules/jackspeak/dist/esm/index.min.js +33 -0
- package/node_modules/jackspeak/dist/esm/index.min.js.map +7 -0
- package/node_modules/jackspeak/dist/esm/package.json +3 -0
- package/node_modules/jackspeak/package.json +115 -0
- package/node_modules/js-cookie/dist/js.cookie.js +147 -0
- package/node_modules/js-cookie/dist/js.cookie.min.js +2 -0
- package/node_modules/js-cookie/dist/js.cookie.min.mjs +2 -0
- package/node_modules/js-cookie/dist/js.cookie.mjs +134 -0
- package/node_modules/js-cookie/index.js +1 -0
- package/node_modules/js-cookie/package.json +71 -0
- package/node_modules/json-schema/lib/links.js +65 -0
- package/node_modules/json-schema/lib/validate.js +271 -0
- package/node_modules/json-schema/package.json +24 -0
- package/node_modules/json-schema-ref-resolver/eslint.config.js +6 -0
- package/node_modules/json-schema-ref-resolver/index.js +284 -0
- package/node_modules/json-schema-ref-resolver/package.json +76 -0
- package/node_modules/json-schema-traverse/index.js +93 -0
- package/node_modules/json-schema-traverse/package.json +43 -0
- package/node_modules/json-schema-traverse/spec/fixtures/schema.js +125 -0
- package/node_modules/json-schema-traverse/spec/index.spec.js +171 -0
- package/node_modules/keygrip/index.js +51 -0
- package/node_modules/keygrip/package.json +28 -0
- package/node_modules/light-my-request/build/build-validation.js +100 -0
- package/node_modules/light-my-request/eslint.config.js +9 -0
- package/node_modules/light-my-request/index.js +194 -0
- package/node_modules/light-my-request/lib/config-validator.js +919 -0
- package/node_modules/light-my-request/lib/form-data.js +79 -0
- package/node_modules/light-my-request/lib/parse-url.js +47 -0
- package/node_modules/light-my-request/lib/request.js +290 -0
- package/node_modules/light-my-request/lib/response.js +240 -0
- package/node_modules/light-my-request/node_modules/process-warning/eslint.config.js +6 -0
- package/node_modules/light-my-request/node_modules/process-warning/index.js +124 -0
- package/node_modules/light-my-request/node_modules/process-warning/package.json +73 -0
- package/node_modules/light-my-request/package.json +85 -0
- package/node_modules/lru-cache/dist/commonjs/index.d.ts +1323 -0
- package/node_modules/lru-cache/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/index.js +1595 -0
- package/node_modules/lru-cache/dist/commonjs/index.js.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/index.min.js +2 -0
- package/node_modules/lru-cache/dist/commonjs/index.min.js.map +7 -0
- package/node_modules/lru-cache/dist/commonjs/package.json +3 -0
- package/node_modules/lru-cache/dist/esm/index.d.ts +1323 -0
- package/node_modules/lru-cache/dist/esm/index.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/index.js +1591 -0
- package/node_modules/lru-cache/dist/esm/index.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/index.min.js +2 -0
- package/node_modules/lru-cache/dist/esm/index.min.js.map +7 -0
- package/node_modules/lru-cache/dist/esm/package.json +3 -0
- package/node_modules/lru-cache/package.json +93 -0
- package/node_modules/mime/Mime.js +97 -0
- package/node_modules/mime/cli.js +46 -0
- package/node_modules/mime/index.js +4 -0
- package/node_modules/mime/lite.js +4 -0
- package/node_modules/mime/package.json +52 -0
- package/node_modules/mime/types/other.js +1 -0
- package/node_modules/mime/types/standard.js +1 -0
- package/node_modules/mimic-response/index.js +77 -0
- package/node_modules/mimic-response/license +9 -0
- package/node_modules/mimic-response/package.json +42 -0
- package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts +2 -0
- package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map +1 -0
- package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +14 -0
- package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -0
- package/node_modules/minimatch/dist/commonjs/ast.d.ts +22 -0
- package/node_modules/minimatch/dist/commonjs/ast.d.ts.map +1 -0
- package/node_modules/minimatch/dist/commonjs/ast.js +845 -0
- package/node_modules/minimatch/dist/commonjs/ast.js.map +1 -0
- package/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts +8 -0
- package/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +1 -0
- package/node_modules/minimatch/dist/commonjs/brace-expressions.js +150 -0
- package/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -0
- package/node_modules/minimatch/dist/commonjs/escape.d.ts +15 -0
- package/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -0
- package/node_modules/minimatch/dist/commonjs/escape.js +30 -0
- package/node_modules/minimatch/dist/commonjs/escape.js.map +1 -0
- package/node_modules/minimatch/dist/commonjs/index.d.ts +174 -0
- package/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/minimatch/dist/commonjs/index.js +1127 -0
- package/node_modules/minimatch/dist/commonjs/index.js.map +1 -0
- package/node_modules/minimatch/dist/commonjs/package.json +3 -0
- package/node_modules/minimatch/dist/commonjs/unescape.d.ts +22 -0
- package/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +1 -0
- package/node_modules/minimatch/dist/commonjs/unescape.js +38 -0
- package/node_modules/minimatch/dist/commonjs/unescape.js.map +1 -0
- package/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts +2 -0
- package/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map +1 -0
- package/node_modules/minimatch/dist/esm/assert-valid-pattern.js +10 -0
- package/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -0
- package/node_modules/minimatch/dist/esm/ast.d.ts +22 -0
- package/node_modules/minimatch/dist/esm/ast.d.ts.map +1 -0
- package/node_modules/minimatch/dist/esm/ast.js +841 -0
- package/node_modules/minimatch/dist/esm/ast.js.map +1 -0
- package/node_modules/minimatch/dist/esm/brace-expressions.d.ts +8 -0
- package/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +1 -0
- package/node_modules/minimatch/dist/esm/brace-expressions.js +146 -0
- package/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -0
- package/node_modules/minimatch/dist/esm/escape.d.ts +15 -0
- package/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -0
- package/node_modules/minimatch/dist/esm/escape.js +26 -0
- package/node_modules/minimatch/dist/esm/escape.js.map +1 -0
- package/node_modules/minimatch/dist/esm/index.d.ts +174 -0
- package/node_modules/minimatch/dist/esm/index.d.ts.map +1 -0
- package/node_modules/minimatch/dist/esm/index.js +1114 -0
- package/node_modules/minimatch/dist/esm/index.js.map +1 -0
- package/node_modules/minimatch/dist/esm/package.json +3 -0
- package/node_modules/minimatch/dist/esm/unescape.d.ts +22 -0
- package/node_modules/minimatch/dist/esm/unescape.d.ts.map +1 -0
- package/node_modules/minimatch/dist/esm/unescape.js +34 -0
- package/node_modules/minimatch/dist/esm/unescape.js.map +1 -0
- package/node_modules/minimatch/package.json +73 -0
- package/node_modules/minimist/index.js +263 -0
- package/node_modules/minimist/package.json +75 -0
- package/node_modules/minipass/dist/commonjs/index.d.ts +545 -0
- package/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/minipass/dist/commonjs/index.js +1038 -0
- package/node_modules/minipass/dist/commonjs/index.js.map +1 -0
- package/node_modules/minipass/dist/commonjs/package.json +3 -0
- package/node_modules/minipass/dist/esm/index.d.ts +545 -0
- package/node_modules/minipass/dist/esm/index.d.ts.map +1 -0
- package/node_modules/minipass/dist/esm/index.js +1020 -0
- package/node_modules/minipass/dist/esm/index.js.map +1 -0
- package/node_modules/minipass/dist/esm/package.json +3 -0
- package/node_modules/minipass/package.json +77 -0
- package/node_modules/mkdirp-classic/index.js +98 -0
- package/node_modules/mkdirp-classic/package.json +18 -0
- package/node_modules/ms/index.js +162 -0
- package/node_modules/ms/package.json +38 -0
- package/node_modules/nanoid/async/index.browser.cjs +69 -0
- package/node_modules/nanoid/async/index.browser.js +34 -0
- package/node_modules/nanoid/async/index.cjs +71 -0
- package/node_modules/nanoid/async/index.js +35 -0
- package/node_modules/nanoid/async/index.native.js +26 -0
- package/node_modules/nanoid/async/package.json +12 -0
- package/node_modules/nanoid/bin/nanoid.cjs +55 -0
- package/node_modules/nanoid/index.browser.cjs +72 -0
- package/node_modules/nanoid/index.browser.js +34 -0
- package/node_modules/nanoid/index.cjs +85 -0
- package/node_modules/nanoid/index.js +45 -0
- package/node_modules/nanoid/nanoid.js +1 -0
- package/node_modules/nanoid/non-secure/index.cjs +34 -0
- package/node_modules/nanoid/non-secure/index.js +21 -0
- package/node_modules/nanoid/non-secure/package.json +6 -0
- package/node_modules/nanoid/package.json +89 -0
- package/node_modules/nanoid/url-alphabet/index.cjs +7 -0
- package/node_modules/nanoid/url-alphabet/index.js +3 -0
- package/node_modules/nanoid/url-alphabet/package.json +6 -0
- package/node_modules/napi-build-utils/index.js +214 -0
- package/node_modules/napi-build-utils/package.json +42 -0
- package/node_modules/node-abi/abi_registry.json +439 -0
- package/node_modules/node-abi/index.js +179 -0
- package/node_modules/node-abi/package.json +45 -0
- package/node_modules/node-addon-api/index.js +12 -0
- package/node_modules/node-addon-api/package-support.json +21 -0
- package/node_modules/node-addon-api/package.json +480 -0
- package/node_modules/node-addon-api/tools/check-napi.js +99 -0
- package/node_modules/node-addon-api/tools/clang-format.js +71 -0
- package/node_modules/node-addon-api/tools/conversion.js +301 -0
- package/node_modules/node-addon-api/tools/eslint-format.js +79 -0
- package/node_modules/node-pty/lib/conpty_console_list_agent.js +16 -0
- package/node_modules/node-pty/lib/eventEmitter2.js +47 -0
- package/node_modules/node-pty/lib/eventEmitter2.test.js +30 -0
- package/node_modules/node-pty/lib/index.js +52 -0
- package/node_modules/node-pty/lib/interfaces.js +7 -0
- package/node_modules/node-pty/lib/shared/conout.js +11 -0
- package/node_modules/node-pty/lib/terminal.js +190 -0
- package/node_modules/node-pty/lib/terminal.test.js +139 -0
- package/node_modules/node-pty/lib/testUtils.test.js +28 -0
- package/node_modules/node-pty/lib/types.js +7 -0
- package/node_modules/node-pty/lib/unixTerminal.js +346 -0
- package/node_modules/node-pty/lib/unixTerminal.test.js +351 -0
- package/node_modules/node-pty/lib/utils.js +39 -0
- package/node_modules/node-pty/lib/windowsConoutConnection.js +125 -0
- package/node_modules/node-pty/lib/windowsPtyAgent.js +320 -0
- package/node_modules/node-pty/lib/windowsPtyAgent.test.js +90 -0
- package/node_modules/node-pty/lib/windowsTerminal.js +199 -0
- package/node_modules/node-pty/lib/windowsTerminal.test.js +219 -0
- package/node_modules/node-pty/lib/worker/conoutSocketWorker.js +22 -0
- package/node_modules/node-pty/package.json +64 -0
- package/node_modules/node-pty/prebuilds/darwin-arm64/pty.node +0 -0
- package/node_modules/node-pty/prebuilds/darwin-arm64/spawn-helper +0 -0
- package/node_modules/on-exit-leak-free/index.js +108 -0
- package/node_modules/on-exit-leak-free/package.json +37 -0
- package/node_modules/once/once.js +42 -0
- package/node_modules/once/package.json +33 -0
- package/node_modules/open/index.js +366 -0
- package/node_modules/open/license +9 -0
- package/node_modules/open/package.json +68 -0
- package/node_modules/open/xdg-open +1267 -0
- package/node_modules/package-json-from-dist/dist/commonjs/index.d.ts +89 -0
- package/node_modules/package-json-from-dist/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/package-json-from-dist/dist/commonjs/index.js +134 -0
- package/node_modules/package-json-from-dist/dist/commonjs/index.js.map +1 -0
- package/node_modules/package-json-from-dist/dist/commonjs/package.json +3 -0
- package/node_modules/package-json-from-dist/dist/esm/index.d.ts +89 -0
- package/node_modules/package-json-from-dist/dist/esm/index.d.ts.map +1 -0
- package/node_modules/package-json-from-dist/dist/esm/index.js +129 -0
- package/node_modules/package-json-from-dist/dist/esm/index.js.map +1 -0
- package/node_modules/package-json-from-dist/dist/esm/package.json +3 -0
- package/node_modules/package-json-from-dist/package.json +68 -0
- package/node_modules/path-key/index.js +16 -0
- package/node_modules/path-key/license +9 -0
- package/node_modules/path-key/package.json +39 -0
- package/node_modules/path-scurry/dist/commonjs/index.d.ts +1115 -0
- package/node_modules/path-scurry/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/path-scurry/dist/commonjs/index.js +2018 -0
- package/node_modules/path-scurry/dist/commonjs/index.js.map +1 -0
- package/node_modules/path-scurry/dist/commonjs/package.json +3 -0
- package/node_modules/path-scurry/dist/esm/index.d.ts +1115 -0
- package/node_modules/path-scurry/dist/esm/index.d.ts.map +1 -0
- package/node_modules/path-scurry/dist/esm/index.js +1983 -0
- package/node_modules/path-scurry/dist/esm/index.js.map +1 -0
- package/node_modules/path-scurry/dist/esm/package.json +3 -0
- package/node_modules/path-scurry/package.json +72 -0
- package/node_modules/pino/CNAME +1 -0
- package/node_modules/pino/bin.js +6 -0
- package/node_modules/pino/browser.js +547 -0
- package/node_modules/pino/build/sync-version.js +25 -0
- package/node_modules/pino/eslint.config.js +28 -0
- package/node_modules/pino/favicon.ico +0 -0
- package/node_modules/pino/file.js +12 -0
- package/node_modules/pino/inc-version.sh +42 -0
- package/node_modules/pino/index.html +55 -0
- package/node_modules/pino/lib/caller.js +30 -0
- package/node_modules/pino/lib/constants.js +28 -0
- package/node_modules/pino/lib/deprecations.js +8 -0
- package/node_modules/pino/lib/levels.js +241 -0
- package/node_modules/pino/lib/meta.js +3 -0
- package/node_modules/pino/lib/multistream.js +203 -0
- package/node_modules/pino/lib/proto.js +256 -0
- package/node_modules/pino/lib/redaction.js +114 -0
- package/node_modules/pino/lib/symbols.js +74 -0
- package/node_modules/pino/lib/time.js +39 -0
- package/node_modules/pino/lib/tools.js +427 -0
- package/node_modules/pino/lib/transport-stream.js +56 -0
- package/node_modules/pino/lib/transport.js +289 -0
- package/node_modules/pino/lib/worker.js +194 -0
- package/node_modules/pino/package.json +120 -0
- package/node_modules/pino/pino.js +234 -0
- package/node_modules/pino/tsconfig.json +14 -0
- package/node_modules/pino-abstract-transport/index.js +128 -0
- package/node_modules/pino-abstract-transport/package.json +41 -0
- package/node_modules/pino-std-serializers/eslint.config.js +7 -0
- package/node_modules/pino-std-serializers/index.js +36 -0
- package/node_modules/pino-std-serializers/lib/err-helpers.js +118 -0
- package/node_modules/pino-std-serializers/lib/err-proto.js +48 -0
- package/node_modules/pino-std-serializers/lib/err-with-cause.js +48 -0
- package/node_modules/pino-std-serializers/lib/err.js +45 -0
- package/node_modules/pino-std-serializers/lib/req.js +100 -0
- package/node_modules/pino-std-serializers/lib/res.js +47 -0
- package/node_modules/pino-std-serializers/package.json +42 -0
- package/node_modules/pino-std-serializers/tsconfig.json +13 -0
- package/node_modules/prebuild-install/asset.js +44 -0
- package/node_modules/prebuild-install/bin.js +78 -0
- package/node_modules/prebuild-install/download.js +142 -0
- package/node_modules/prebuild-install/error.js +14 -0
- package/node_modules/prebuild-install/help.txt +16 -0
- package/node_modules/prebuild-install/index.js +1 -0
- package/node_modules/prebuild-install/log.js +33 -0
- package/node_modules/prebuild-install/package.json +67 -0
- package/node_modules/prebuild-install/proxy.js +35 -0
- package/node_modules/prebuild-install/rc.js +64 -0
- package/node_modules/prebuild-install/util.js +143 -0
- package/node_modules/process-warning/eslint.config.js +6 -0
- package/node_modules/process-warning/index.js +124 -0
- package/node_modules/process-warning/package.json +73 -0
- package/node_modules/pump/empty.js +1 -0
- package/node_modules/pump/index.js +86 -0
- package/node_modules/pump/package.json +30 -0
- package/node_modules/pump/test-browser.js +66 -0
- package/node_modules/pump/test-node.js +53 -0
- package/node_modules/quick-format-unescaped/benchmark.js +24 -0
- package/node_modules/quick-format-unescaped/index.js +109 -0
- package/node_modules/quick-format-unescaped/package.json +29 -0
- package/node_modules/rc/browser.js +7 -0
- package/node_modules/rc/cli.js +4 -0
- package/node_modules/rc/index.js +53 -0
- package/node_modules/rc/lib/utils.js +104 -0
- package/node_modules/rc/package.json +29 -0
- package/node_modules/readable-stream/errors-browser.js +127 -0
- package/node_modules/readable-stream/errors.js +116 -0
- package/node_modules/readable-stream/experimentalWarning.js +17 -0
- package/node_modules/readable-stream/lib/_stream_duplex.js +126 -0
- package/node_modules/readable-stream/lib/_stream_passthrough.js +37 -0
- package/node_modules/readable-stream/lib/_stream_readable.js +1027 -0
- package/node_modules/readable-stream/lib/_stream_transform.js +190 -0
- package/node_modules/readable-stream/lib/_stream_writable.js +641 -0
- package/node_modules/readable-stream/lib/internal/streams/async_iterator.js +180 -0
- package/node_modules/readable-stream/lib/internal/streams/buffer_list.js +183 -0
- package/node_modules/readable-stream/lib/internal/streams/destroy.js +96 -0
- package/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +86 -0
- package/node_modules/readable-stream/lib/internal/streams/from-browser.js +3 -0
- package/node_modules/readable-stream/lib/internal/streams/from.js +52 -0
- package/node_modules/readable-stream/lib/internal/streams/pipeline.js +86 -0
- package/node_modules/readable-stream/lib/internal/streams/state.js +22 -0
- package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
- package/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
- package/node_modules/readable-stream/package.json +68 -0
- package/node_modules/readable-stream/readable-browser.js +9 -0
- package/node_modules/readable-stream/readable.js +16 -0
- package/node_modules/real-require/package.json +49 -0
- package/node_modules/real-require/src/index.js +14 -0
- package/node_modules/require-from-string/index.js +34 -0
- package/node_modules/require-from-string/license +21 -0
- package/node_modules/require-from-string/package.json +28 -0
- package/node_modules/ret/dist/index.d.ts +7 -0
- package/node_modules/ret/dist/index.js +26 -0
- package/node_modules/ret/dist/index.js.map +1 -0
- package/node_modules/ret/dist/reconstruct.d.ts +2 -0
- package/node_modules/ret/dist/reconstruct.js +77 -0
- package/node_modules/ret/dist/reconstruct.js.map +1 -0
- package/node_modules/ret/dist/sets-lookup.d.ts +5 -0
- package/node_modules/ret/dist/sets-lookup.js +51 -0
- package/node_modules/ret/dist/sets-lookup.js.map +1 -0
- package/node_modules/ret/dist/sets.d.ts +9 -0
- package/node_modules/ret/dist/sets.js +43 -0
- package/node_modules/ret/dist/sets.js.map +1 -0
- package/node_modules/ret/dist/tokenizer.d.ts +8 -0
- package/node_modules/ret/dist/tokenizer.js +361 -0
- package/node_modules/ret/dist/tokenizer.js.map +1 -0
- package/node_modules/ret/dist/types/index.d.ts +3 -0
- package/node_modules/ret/dist/types/index.js +16 -0
- package/node_modules/ret/dist/types/index.js.map +1 -0
- package/node_modules/ret/dist/types/set-lookup.d.ts +8 -0
- package/node_modules/ret/dist/types/set-lookup.js +3 -0
- package/node_modules/ret/dist/types/set-lookup.js.map +1 -0
- package/node_modules/ret/dist/types/tokens.d.ts +41 -0
- package/node_modules/ret/dist/types/tokens.js +3 -0
- package/node_modules/ret/dist/types/tokens.js.map +1 -0
- package/node_modules/ret/dist/types/types.d.ts +10 -0
- package/node_modules/ret/dist/types/types.js +15 -0
- package/node_modules/ret/dist/types/types.js.map +1 -0
- package/node_modules/ret/dist/util.d.ts +18 -0
- package/node_modules/ret/dist/util.js +82 -0
- package/node_modules/ret/dist/util.js.map +1 -0
- package/node_modules/ret/dist/write-set-tokens.d.ts +14 -0
- package/node_modules/ret/dist/write-set-tokens.js +108 -0
- package/node_modules/ret/dist/write-set-tokens.js.map +1 -0
- package/node_modules/ret/package.json +42 -0
- package/node_modules/reusify/eslint.config.js +14 -0
- package/node_modules/reusify/package.json +50 -0
- package/node_modules/reusify/reusify.js +33 -0
- package/node_modules/reusify/test.js +66 -0
- package/node_modules/reusify/tsconfig.json +11 -0
- package/node_modules/rfdc/default.js +3 -0
- package/node_modules/rfdc/index.js +198 -0
- package/node_modules/rfdc/package.json +73 -0
- package/node_modules/run-applescript/index.js +37 -0
- package/node_modules/run-applescript/license +9 -0
- package/node_modules/run-applescript/package.json +42 -0
- package/node_modules/safe-buffer/index.js +65 -0
- package/node_modules/safe-buffer/package.json +51 -0
- package/node_modules/safe-regex2/bin/safe-regex2.js +58 -0
- package/node_modules/safe-regex2/eslint.config.js +6 -0
- package/node_modules/safe-regex2/index.js +75 -0
- package/node_modules/safe-regex2/package.json +78 -0
- package/node_modules/safe-stable-stringify/esm/package.json +4 -0
- package/node_modules/safe-stable-stringify/esm/wrapper.js +6 -0
- package/node_modules/safe-stable-stringify/index.js +625 -0
- package/node_modules/safe-stable-stringify/package.json +65 -0
- package/node_modules/secure-json-parse/eslint.config.js +6 -0
- package/node_modules/secure-json-parse/index.js +161 -0
- package/node_modules/secure-json-parse/package.json +74 -0
- package/node_modules/semver/bin/semver.js +191 -0
- package/node_modules/semver/classes/comparator.js +143 -0
- package/node_modules/semver/classes/index.js +7 -0
- package/node_modules/semver/classes/range.js +557 -0
- package/node_modules/semver/classes/semver.js +333 -0
- package/node_modules/semver/functions/clean.js +8 -0
- package/node_modules/semver/functions/cmp.js +54 -0
- package/node_modules/semver/functions/coerce.js +62 -0
- package/node_modules/semver/functions/compare-build.js +9 -0
- package/node_modules/semver/functions/compare-loose.js +5 -0
- package/node_modules/semver/functions/compare.js +7 -0
- package/node_modules/semver/functions/diff.js +60 -0
- package/node_modules/semver/functions/eq.js +5 -0
- package/node_modules/semver/functions/gt.js +5 -0
- package/node_modules/semver/functions/gte.js +5 -0
- package/node_modules/semver/functions/inc.js +21 -0
- package/node_modules/semver/functions/lt.js +5 -0
- package/node_modules/semver/functions/lte.js +5 -0
- package/node_modules/semver/functions/major.js +5 -0
- package/node_modules/semver/functions/minor.js +5 -0
- package/node_modules/semver/functions/neq.js +5 -0
- package/node_modules/semver/functions/parse.js +18 -0
- package/node_modules/semver/functions/patch.js +5 -0
- package/node_modules/semver/functions/prerelease.js +8 -0
- package/node_modules/semver/functions/rcompare.js +5 -0
- package/node_modules/semver/functions/rsort.js +5 -0
- package/node_modules/semver/functions/satisfies.js +12 -0
- package/node_modules/semver/functions/sort.js +5 -0
- package/node_modules/semver/functions/valid.js +8 -0
- package/node_modules/semver/index.js +91 -0
- package/node_modules/semver/internal/constants.js +37 -0
- package/node_modules/semver/internal/debug.js +11 -0
- package/node_modules/semver/internal/identifiers.js +29 -0
- package/node_modules/semver/internal/lrucache.js +42 -0
- package/node_modules/semver/internal/parse-options.js +17 -0
- package/node_modules/semver/internal/re.js +223 -0
- package/node_modules/semver/package.json +78 -0
- package/node_modules/semver/preload.js +4 -0
- package/node_modules/semver/range.bnf +16 -0
- package/node_modules/semver/ranges/gtr.js +6 -0
- package/node_modules/semver/ranges/intersects.js +9 -0
- package/node_modules/semver/ranges/ltr.js +6 -0
- package/node_modules/semver/ranges/max-satisfying.js +27 -0
- package/node_modules/semver/ranges/min-satisfying.js +26 -0
- package/node_modules/semver/ranges/min-version.js +63 -0
- package/node_modules/semver/ranges/outside.js +82 -0
- package/node_modules/semver/ranges/simplify.js +49 -0
- package/node_modules/semver/ranges/subset.js +249 -0
- package/node_modules/semver/ranges/to-comparators.js +10 -0
- package/node_modules/semver/ranges/valid.js +13 -0
- package/node_modules/set-cookie-parser/lib/set-cookie.js +242 -0
- package/node_modules/set-cookie-parser/package.json +45 -0
- package/node_modules/setprototypeof/index.js +17 -0
- package/node_modules/setprototypeof/package.json +38 -0
- package/node_modules/shebang-command/index.js +19 -0
- package/node_modules/shebang-command/license +9 -0
- package/node_modules/shebang-command/package.json +34 -0
- package/node_modules/shebang-regex/index.js +2 -0
- package/node_modules/shebang-regex/license +9 -0
- package/node_modules/shebang-regex/package.json +35 -0
- package/node_modules/signal-exit/dist/cjs/browser.d.ts +12 -0
- package/node_modules/signal-exit/dist/cjs/browser.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/cjs/browser.js +10 -0
- package/node_modules/signal-exit/dist/cjs/browser.js.map +1 -0
- package/node_modules/signal-exit/dist/cjs/index.d.ts +48 -0
- package/node_modules/signal-exit/dist/cjs/index.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/cjs/index.js +279 -0
- package/node_modules/signal-exit/dist/cjs/index.js.map +1 -0
- package/node_modules/signal-exit/dist/cjs/package.json +3 -0
- package/node_modules/signal-exit/dist/cjs/signals.d.ts +29 -0
- package/node_modules/signal-exit/dist/cjs/signals.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/cjs/signals.js +42 -0
- package/node_modules/signal-exit/dist/cjs/signals.js.map +1 -0
- package/node_modules/signal-exit/dist/mjs/browser.d.ts +12 -0
- package/node_modules/signal-exit/dist/mjs/browser.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/mjs/browser.js +4 -0
- package/node_modules/signal-exit/dist/mjs/browser.js.map +1 -0
- package/node_modules/signal-exit/dist/mjs/index.d.ts +48 -0
- package/node_modules/signal-exit/dist/mjs/index.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/mjs/index.js +275 -0
- package/node_modules/signal-exit/dist/mjs/index.js.map +1 -0
- package/node_modules/signal-exit/dist/mjs/package.json +3 -0
- package/node_modules/signal-exit/dist/mjs/signals.d.ts +29 -0
- package/node_modules/signal-exit/dist/mjs/signals.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/mjs/signals.js +39 -0
- package/node_modules/signal-exit/dist/mjs/signals.js.map +1 -0
- package/node_modules/signal-exit/package.json +106 -0
- package/node_modules/simple-concat/index.js +15 -0
- package/node_modules/simple-concat/package.json +47 -0
- package/node_modules/simple-get/index.js +108 -0
- package/node_modules/simple-get/package.json +67 -0
- package/node_modules/smart-buffer/build/smartbuffer.js +1233 -0
- package/node_modules/smart-buffer/build/utils.js +108 -0
- package/node_modules/smart-buffer/package.json +79 -0
- package/node_modules/socks/build/client/socksclient.js +793 -0
- package/node_modules/socks/build/common/constants.js +108 -0
- package/node_modules/socks/build/common/helpers.js +167 -0
- package/node_modules/socks/build/common/receivebuffer.js +43 -0
- package/node_modules/socks/build/common/util.js +25 -0
- package/node_modules/socks/build/index.js +18 -0
- package/node_modules/socks/package.json +58 -0
- package/node_modules/socks-proxy-agent/dist/index.d.ts +27 -0
- package/node_modules/socks-proxy-agent/dist/index.d.ts.map +1 -0
- package/node_modules/socks-proxy-agent/dist/index.js +195 -0
- package/node_modules/socks-proxy-agent/dist/index.js.map +1 -0
- package/node_modules/socks-proxy-agent/package.json +142 -0
- package/node_modules/sonic-boom/bench.js +98 -0
- package/node_modules/sonic-boom/check.js +18 -0
- package/node_modules/sonic-boom/example.js +8 -0
- package/node_modules/sonic-boom/fixtures/firehose.js +22 -0
- package/node_modules/sonic-boom/index.js +733 -0
- package/node_modules/sonic-boom/package.json +52 -0
- package/node_modules/split2/bench.js +27 -0
- package/node_modules/split2/index.js +141 -0
- package/node_modules/split2/package.json +39 -0
- package/node_modules/split2/test.js +409 -0
- package/node_modules/standardwebhooks/dist/index.d.ts +24 -0
- package/node_modules/standardwebhooks/dist/index.js +106 -0
- package/node_modules/standardwebhooks/dist/index.js.map +1 -0
- package/node_modules/standardwebhooks/dist/timing_safe_equal.d.ts +1 -0
- package/node_modules/standardwebhooks/dist/timing_safe_equal.js +30 -0
- package/node_modules/standardwebhooks/dist/timing_safe_equal.js.map +1 -0
- package/node_modules/standardwebhooks/package.json +45 -0
- package/node_modules/statuses/codes.json +65 -0
- package/node_modules/statuses/index.js +146 -0
- package/node_modules/statuses/package.json +49 -0
- package/node_modules/std-env/LICENCE +22 -0
- package/node_modules/std-env/dist/index.cjs +1 -0
- package/node_modules/std-env/dist/index.d.cts +92 -0
- package/node_modules/std-env/dist/index.d.mts +92 -0
- package/node_modules/std-env/dist/index.d.ts +92 -0
- package/node_modules/std-env/dist/index.mjs +1 -0
- package/node_modules/std-env/package.json +46 -0
- package/node_modules/stream-shift/index.js +21 -0
- package/node_modules/stream-shift/package.json +25 -0
- package/node_modules/stream-shift/test.js +48 -0
- package/node_modules/string_decoder/lib/string_decoder.js +296 -0
- package/node_modules/string_decoder/package.json +34 -0
- package/node_modules/strip-json-comments/index.js +70 -0
- package/node_modules/strip-json-comments/license +21 -0
- package/node_modules/strip-json-comments/package.json +42 -0
- package/node_modules/tar-fs/index.js +363 -0
- package/node_modules/tar-fs/package.json +41 -0
- package/node_modules/tar-stream/extract.js +257 -0
- package/node_modules/tar-stream/headers.js +295 -0
- package/node_modules/tar-stream/index.js +2 -0
- package/node_modules/tar-stream/pack.js +255 -0
- package/node_modules/tar-stream/package.json +58 -0
- package/node_modules/tar-stream/sandbox.js +11 -0
- package/node_modules/thread-stream/bench.js +85 -0
- package/node_modules/thread-stream/eslint.config.js +10 -0
- package/node_modules/thread-stream/index.js +541 -0
- package/node_modules/thread-stream/lib/indexes.js +9 -0
- package/node_modules/thread-stream/lib/wait.js +68 -0
- package/node_modules/thread-stream/lib/worker.js +179 -0
- package/node_modules/thread-stream/package.json +52 -0
- package/node_modules/thread-stream/tsconfig.json +8 -0
- package/node_modules/toad-cache/dist/toad-cache.cjs +878 -0
- package/node_modules/toad-cache/dist/toad-cache.mjs +852 -0
- package/node_modules/toad-cache/package.json +82 -0
- package/node_modules/toidentifier/index.js +32 -0
- package/node_modules/toidentifier/package.json +38 -0
- package/node_modules/tslib/CopyrightNotice.txt +15 -0
- package/node_modules/tslib/modules/index.js +70 -0
- package/node_modules/tslib/modules/package.json +3 -0
- package/node_modules/tslib/package.json +47 -0
- package/node_modules/tslib/tslib.es6.html +1 -0
- package/node_modules/tslib/tslib.es6.js +402 -0
- package/node_modules/tslib/tslib.es6.mjs +401 -0
- package/node_modules/tslib/tslib.html +1 -0
- package/node_modules/tslib/tslib.js +484 -0
- package/node_modules/tsscmp/appveyor.yml +29 -0
- package/node_modules/tsscmp/lib/index.js +38 -0
- package/node_modules/tsscmp/package.json +29 -0
- package/node_modules/tunnel-agent/index.js +244 -0
- package/node_modules/tunnel-agent/package.json +22 -0
- package/node_modules/undici/index-fetch.js +65 -0
- package/node_modules/undici/index.js +234 -0
- package/node_modules/undici/lib/api/abort-signal.js +59 -0
- package/node_modules/undici/lib/api/api-connect.js +110 -0
- package/node_modules/undici/lib/api/api-pipeline.js +252 -0
- package/node_modules/undici/lib/api/api-request.js +214 -0
- package/node_modules/undici/lib/api/api-stream.js +209 -0
- package/node_modules/undici/lib/api/api-upgrade.js +111 -0
- package/node_modules/undici/lib/api/index.js +7 -0
- package/node_modules/undici/lib/api/readable.js +580 -0
- package/node_modules/undici/lib/cache/memory-cache-store.js +234 -0
- package/node_modules/undici/lib/cache/sqlite-cache-store.js +461 -0
- package/node_modules/undici/lib/core/connect.js +137 -0
- package/node_modules/undici/lib/core/constants.js +143 -0
- package/node_modules/undici/lib/core/diagnostics.js +227 -0
- package/node_modules/undici/lib/core/errors.js +477 -0
- package/node_modules/undici/lib/core/request.js +438 -0
- package/node_modules/undici/lib/core/socks5-client.js +407 -0
- package/node_modules/undici/lib/core/socks5-utils.js +203 -0
- package/node_modules/undici/lib/core/symbols.js +75 -0
- package/node_modules/undici/lib/core/tree.js +160 -0
- package/node_modules/undici/lib/core/util.js +992 -0
- package/node_modules/undici/lib/dispatcher/agent.js +158 -0
- package/node_modules/undici/lib/dispatcher/balanced-pool.js +219 -0
- package/node_modules/undici/lib/dispatcher/client-h1.js +1610 -0
- package/node_modules/undici/lib/dispatcher/client-h2.js +995 -0
- package/node_modules/undici/lib/dispatcher/client.js +659 -0
- package/node_modules/undici/lib/dispatcher/dispatcher-base.js +165 -0
- package/node_modules/undici/lib/dispatcher/dispatcher.js +48 -0
- package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +146 -0
- package/node_modules/undici/lib/dispatcher/fixed-queue.js +135 -0
- package/node_modules/undici/lib/dispatcher/h2c-client.js +51 -0
- package/node_modules/undici/lib/dispatcher/pool-base.js +214 -0
- package/node_modules/undici/lib/dispatcher/pool.js +118 -0
- package/node_modules/undici/lib/dispatcher/proxy-agent.js +318 -0
- package/node_modules/undici/lib/dispatcher/retry-agent.js +35 -0
- package/node_modules/undici/lib/dispatcher/round-robin-pool.js +137 -0
- package/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +249 -0
- package/node_modules/undici/lib/encoding/index.js +33 -0
- package/node_modules/undici/lib/global.js +50 -0
- package/node_modules/undici/lib/handler/cache-handler.js +578 -0
- package/node_modules/undici/lib/handler/cache-revalidation-handler.js +124 -0
- package/node_modules/undici/lib/handler/decorator-handler.js +67 -0
- package/node_modules/undici/lib/handler/deduplication-handler.js +460 -0
- package/node_modules/undici/lib/handler/redirect-handler.js +238 -0
- package/node_modules/undici/lib/handler/retry-handler.js +394 -0
- package/node_modules/undici/lib/handler/unwrap-handler.js +100 -0
- package/node_modules/undici/lib/handler/wrap-handler.js +105 -0
- package/node_modules/undici/lib/interceptor/cache.js +495 -0
- package/node_modules/undici/lib/interceptor/decompress.js +259 -0
- package/node_modules/undici/lib/interceptor/deduplicate.js +117 -0
- package/node_modules/undici/lib/interceptor/dns.js +571 -0
- package/node_modules/undici/lib/interceptor/dump.js +112 -0
- package/node_modules/undici/lib/interceptor/redirect.js +21 -0
- package/node_modules/undici/lib/interceptor/response-error.js +95 -0
- package/node_modules/undici/lib/interceptor/retry.js +19 -0
- package/node_modules/undici/lib/llhttp/constants.js +531 -0
- package/node_modules/undici/lib/llhttp/llhttp-wasm.js +15 -0
- package/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +15 -0
- package/node_modules/undici/lib/llhttp/utils.js +12 -0
- package/node_modules/undici/lib/mock/mock-agent.js +232 -0
- package/node_modules/undici/lib/mock/mock-call-history.js +248 -0
- package/node_modules/undici/lib/mock/mock-client.js +68 -0
- package/node_modules/undici/lib/mock/mock-errors.js +29 -0
- package/node_modules/undici/lib/mock/mock-interceptor.js +209 -0
- package/node_modules/undici/lib/mock/mock-pool.js +68 -0
- package/node_modules/undici/lib/mock/mock-symbols.js +32 -0
- package/node_modules/undici/lib/mock/mock-utils.js +486 -0
- package/node_modules/undici/lib/mock/pending-interceptors-formatter.js +43 -0
- package/node_modules/undici/lib/mock/snapshot-agent.js +353 -0
- package/node_modules/undici/lib/mock/snapshot-recorder.js +588 -0
- package/node_modules/undici/lib/mock/snapshot-utils.js +158 -0
- package/node_modules/undici/lib/util/cache.js +407 -0
- package/node_modules/undici/lib/util/date.js +653 -0
- package/node_modules/undici/lib/util/promise.js +28 -0
- package/node_modules/undici/lib/util/runtime-features.js +124 -0
- package/node_modules/undici/lib/util/stats.js +32 -0
- package/node_modules/undici/lib/util/timers.js +425 -0
- package/node_modules/undici/lib/web/cache/cache.js +864 -0
- package/node_modules/undici/lib/web/cache/cachestorage.js +152 -0
- package/node_modules/undici/lib/web/cache/util.js +45 -0
- package/node_modules/undici/lib/web/cookies/constants.js +12 -0
- package/node_modules/undici/lib/web/cookies/index.js +199 -0
- package/node_modules/undici/lib/web/cookies/parse.js +322 -0
- package/node_modules/undici/lib/web/cookies/util.js +282 -0
- package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +399 -0
- package/node_modules/undici/lib/web/eventsource/eventsource.js +501 -0
- package/node_modules/undici/lib/web/eventsource/util.js +29 -0
- package/node_modules/undici/lib/web/fetch/body.js +509 -0
- package/node_modules/undici/lib/web/fetch/constants.js +131 -0
- package/node_modules/undici/lib/web/fetch/data-url.js +596 -0
- package/node_modules/undici/lib/web/fetch/formdata-parser.js +575 -0
- package/node_modules/undici/lib/web/fetch/formdata.js +259 -0
- package/node_modules/undici/lib/web/fetch/global.js +40 -0
- package/node_modules/undici/lib/web/fetch/headers.js +719 -0
- package/node_modules/undici/lib/web/fetch/index.js +2397 -0
- package/node_modules/undici/lib/web/fetch/request.js +1115 -0
- package/node_modules/undici/lib/web/fetch/response.js +641 -0
- package/node_modules/undici/lib/web/fetch/util.js +1520 -0
- package/node_modules/undici/lib/web/infra/index.js +229 -0
- package/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +307 -0
- package/node_modules/undici/lib/web/webidl/index.js +1006 -0
- package/node_modules/undici/lib/web/websocket/connection.js +329 -0
- package/node_modules/undici/lib/web/websocket/constants.js +126 -0
- package/node_modules/undici/lib/web/websocket/events.js +331 -0
- package/node_modules/undici/lib/web/websocket/frame.js +133 -0
- package/node_modules/undici/lib/web/websocket/permessage-deflate.js +118 -0
- package/node_modules/undici/lib/web/websocket/receiver.js +450 -0
- package/node_modules/undici/lib/web/websocket/sender.js +109 -0
- package/node_modules/undici/lib/web/websocket/stream/websocketerror.js +104 -0
- package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +497 -0
- package/node_modules/undici/lib/web/websocket/util.js +347 -0
- package/node_modules/undici/lib/web/websocket/websocket.js +751 -0
- package/node_modules/undici/package.json +152 -0
- package/node_modules/undici/scripts/strip-comments.js +10 -0
- package/node_modules/util-deprecate/browser.js +67 -0
- package/node_modules/util-deprecate/node.js +6 -0
- package/node_modules/util-deprecate/package.json +27 -0
- package/node_modules/which/bin/node-which +52 -0
- package/node_modules/which/package.json +43 -0
- package/node_modules/which/which.js +125 -0
- package/node_modules/wrappy/package.json +29 -0
- package/node_modules/wrappy/wrappy.js +33 -0
- package/node_modules/ws/browser.js +8 -0
- package/node_modules/ws/index.js +22 -0
- package/node_modules/ws/lib/buffer-util.js +131 -0
- package/node_modules/ws/lib/constants.js +19 -0
- package/node_modules/ws/lib/event-target.js +292 -0
- package/node_modules/ws/lib/extension.js +203 -0
- package/node_modules/ws/lib/limiter.js +55 -0
- package/node_modules/ws/lib/permessage-deflate.js +528 -0
- package/node_modules/ws/lib/receiver.js +706 -0
- package/node_modules/ws/lib/sender.js +602 -0
- package/node_modules/ws/lib/stream.js +161 -0
- package/node_modules/ws/lib/subprotocol.js +62 -0
- package/node_modules/ws/lib/validation.js +152 -0
- package/node_modules/ws/lib/websocket-server.js +554 -0
- package/node_modules/ws/lib/websocket.js +1393 -0
- package/node_modules/ws/package.json +70 -0
- package/node_modules/ws/wrapper.mjs +21 -0
- package/node_modules/wsl-utils/index.js +57 -0
- package/node_modules/wsl-utils/license +9 -0
- package/node_modules/wsl-utils/package.json +46 -0
- package/node_modules/zod/index.cjs +33 -0
- package/node_modules/zod/index.js +4 -0
- package/node_modules/zod/locales/index.cjs +17 -0
- package/node_modules/zod/locales/index.js +1 -0
- package/node_modules/zod/locales/package.json +6 -0
- package/node_modules/zod/mini/index.cjs +32 -0
- package/node_modules/zod/mini/index.js +3 -0
- package/node_modules/zod/mini/package.json +6 -0
- package/node_modules/zod/package.json +135 -0
- package/node_modules/zod/v3/ZodError.cjs +138 -0
- package/node_modules/zod/v3/ZodError.js +133 -0
- package/node_modules/zod/v3/errors.cjs +17 -0
- package/node_modules/zod/v3/errors.js +9 -0
- package/node_modules/zod/v3/external.cjs +22 -0
- package/node_modules/zod/v3/external.js +6 -0
- package/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
- package/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
- package/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
- package/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/node_modules/zod/v3/helpers/util.cjs +137 -0
- package/node_modules/zod/v3/helpers/util.js +133 -0
- package/node_modules/zod/v3/index.cjs +33 -0
- package/node_modules/zod/v3/index.js +4 -0
- package/node_modules/zod/v3/locales/en.cjs +112 -0
- package/node_modules/zod/v3/locales/en.js +109 -0
- package/node_modules/zod/v3/package.json +6 -0
- package/node_modules/zod/v3/standard-schema.cjs +2 -0
- package/node_modules/zod/v3/standard-schema.js +1 -0
- package/node_modules/zod/v3/types.cjs +3777 -0
- package/node_modules/zod/v3/types.js +3695 -0
- package/node_modules/zod/v4/classic/checks.cjs +33 -0
- package/node_modules/zod/v4/classic/checks.js +1 -0
- package/node_modules/zod/v4/classic/coerce.cjs +47 -0
- package/node_modules/zod/v4/classic/coerce.js +17 -0
- package/node_modules/zod/v4/classic/compat.cjs +61 -0
- package/node_modules/zod/v4/classic/compat.js +31 -0
- package/node_modules/zod/v4/classic/errors.cjs +74 -0
- package/node_modules/zod/v4/classic/errors.js +48 -0
- package/node_modules/zod/v4/classic/external.cjs +73 -0
- package/node_modules/zod/v4/classic/external.js +20 -0
- package/node_modules/zod/v4/classic/from-json-schema.cjs +610 -0
- package/node_modules/zod/v4/classic/from-json-schema.js +584 -0
- package/node_modules/zod/v4/classic/index.cjs +33 -0
- package/node_modules/zod/v4/classic/index.js +4 -0
- package/node_modules/zod/v4/classic/iso.cjs +60 -0
- package/node_modules/zod/v4/classic/iso.js +30 -0
- package/node_modules/zod/v4/classic/package.json +6 -0
- package/node_modules/zod/v4/classic/parse.cjs +41 -0
- package/node_modules/zod/v4/classic/parse.js +15 -0
- package/node_modules/zod/v4/classic/schemas.cjs +1272 -0
- package/node_modules/zod/v4/classic/schemas.js +1157 -0
- package/node_modules/zod/v4/core/api.cjs +1222 -0
- package/node_modules/zod/v4/core/api.js +1082 -0
- package/node_modules/zod/v4/core/checks.cjs +601 -0
- package/node_modules/zod/v4/core/checks.js +575 -0
- package/node_modules/zod/v4/core/core.cjs +83 -0
- package/node_modules/zod/v4/core/core.js +76 -0
- package/node_modules/zod/v4/core/doc.cjs +39 -0
- package/node_modules/zod/v4/core/doc.js +35 -0
- package/node_modules/zod/v4/core/errors.cjs +213 -0
- package/node_modules/zod/v4/core/errors.js +182 -0
- package/node_modules/zod/v4/core/index.cjs +47 -0
- package/node_modules/zod/v4/core/index.js +16 -0
- package/node_modules/zod/v4/core/json-schema-generator.cjs +99 -0
- package/node_modules/zod/v4/core/json-schema-generator.js +95 -0
- package/node_modules/zod/v4/core/json-schema-processors.cjs +648 -0
- package/node_modules/zod/v4/core/json-schema-processors.js +605 -0
- package/node_modules/zod/v4/core/json-schema.cjs +2 -0
- package/node_modules/zod/v4/core/json-schema.js +1 -0
- package/node_modules/zod/v4/core/package.json +6 -0
- package/node_modules/zod/v4/core/parse.cjs +131 -0
- package/node_modules/zod/v4/core/parse.js +93 -0
- package/node_modules/zod/v4/core/regexes.cjs +166 -0
- package/node_modules/zod/v4/core/regexes.js +133 -0
- package/node_modules/zod/v4/core/registries.cjs +56 -0
- package/node_modules/zod/v4/core/registries.js +51 -0
- package/node_modules/zod/v4/core/schemas.cjs +2124 -0
- package/node_modules/zod/v4/core/schemas.js +2093 -0
- package/node_modules/zod/v4/core/standard-schema.cjs +2 -0
- package/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/node_modules/zod/v4/core/to-json-schema.cjs +446 -0
- package/node_modules/zod/v4/core/to-json-schema.js +437 -0
- package/node_modules/zod/v4/core/util.cjs +710 -0
- package/node_modules/zod/v4/core/util.js +651 -0
- package/node_modules/zod/v4/core/versions.cjs +8 -0
- package/node_modules/zod/v4/core/versions.js +5 -0
- package/node_modules/zod/v4/index.cjs +22 -0
- package/node_modules/zod/v4/index.js +3 -0
- package/node_modules/zod/v4/locales/ar.cjs +133 -0
- package/node_modules/zod/v4/locales/ar.js +106 -0
- package/node_modules/zod/v4/locales/az.cjs +132 -0
- package/node_modules/zod/v4/locales/az.js +105 -0
- package/node_modules/zod/v4/locales/be.cjs +183 -0
- package/node_modules/zod/v4/locales/be.js +156 -0
- package/node_modules/zod/v4/locales/bg.cjs +147 -0
- package/node_modules/zod/v4/locales/bg.js +120 -0
- package/node_modules/zod/v4/locales/ca.cjs +134 -0
- package/node_modules/zod/v4/locales/ca.js +107 -0
- package/node_modules/zod/v4/locales/cs.cjs +138 -0
- package/node_modules/zod/v4/locales/cs.js +111 -0
- package/node_modules/zod/v4/locales/da.cjs +142 -0
- package/node_modules/zod/v4/locales/da.js +115 -0
- package/node_modules/zod/v4/locales/de.cjs +135 -0
- package/node_modules/zod/v4/locales/de.js +108 -0
- package/node_modules/zod/v4/locales/en.cjs +136 -0
- package/node_modules/zod/v4/locales/en.js +109 -0
- package/node_modules/zod/v4/locales/eo.cjs +136 -0
- package/node_modules/zod/v4/locales/eo.js +109 -0
- package/node_modules/zod/v4/locales/es.cjs +159 -0
- package/node_modules/zod/v4/locales/es.js +132 -0
- package/node_modules/zod/v4/locales/fa.cjs +141 -0
- package/node_modules/zod/v4/locales/fa.js +114 -0
- package/node_modules/zod/v4/locales/fi.cjs +139 -0
- package/node_modules/zod/v4/locales/fi.js +112 -0
- package/node_modules/zod/v4/locales/fr-CA.cjs +134 -0
- package/node_modules/zod/v4/locales/fr-CA.js +107 -0
- package/node_modules/zod/v4/locales/fr.cjs +135 -0
- package/node_modules/zod/v4/locales/fr.js +108 -0
- package/node_modules/zod/v4/locales/he.cjs +241 -0
- package/node_modules/zod/v4/locales/he.js +214 -0
- package/node_modules/zod/v4/locales/hu.cjs +135 -0
- package/node_modules/zod/v4/locales/hu.js +108 -0
- package/node_modules/zod/v4/locales/hy.cjs +174 -0
- package/node_modules/zod/v4/locales/hy.js +147 -0
- package/node_modules/zod/v4/locales/id.cjs +133 -0
- package/node_modules/zod/v4/locales/id.js +106 -0
- package/node_modules/zod/v4/locales/index.cjs +104 -0
- package/node_modules/zod/v4/locales/index.js +49 -0
- package/node_modules/zod/v4/locales/is.cjs +136 -0
- package/node_modules/zod/v4/locales/is.js +109 -0
- package/node_modules/zod/v4/locales/it.cjs +135 -0
- package/node_modules/zod/v4/locales/it.js +108 -0
- package/node_modules/zod/v4/locales/ja.cjs +134 -0
- package/node_modules/zod/v4/locales/ja.js +107 -0
- package/node_modules/zod/v4/locales/ka.cjs +139 -0
- package/node_modules/zod/v4/locales/ka.js +112 -0
- package/node_modules/zod/v4/locales/kh.cjs +12 -0
- package/node_modules/zod/v4/locales/kh.js +5 -0
- package/node_modules/zod/v4/locales/km.cjs +137 -0
- package/node_modules/zod/v4/locales/km.js +110 -0
- package/node_modules/zod/v4/locales/ko.cjs +138 -0
- package/node_modules/zod/v4/locales/ko.js +111 -0
- package/node_modules/zod/v4/locales/lt.cjs +230 -0
- package/node_modules/zod/v4/locales/lt.js +203 -0
- package/node_modules/zod/v4/locales/mk.cjs +136 -0
- package/node_modules/zod/v4/locales/mk.js +109 -0
- package/node_modules/zod/v4/locales/ms.cjs +134 -0
- package/node_modules/zod/v4/locales/ms.js +107 -0
- package/node_modules/zod/v4/locales/nl.cjs +137 -0
- package/node_modules/zod/v4/locales/nl.js +110 -0
- package/node_modules/zod/v4/locales/no.cjs +135 -0
- package/node_modules/zod/v4/locales/no.js +108 -0
- package/node_modules/zod/v4/locales/ota.cjs +136 -0
- package/node_modules/zod/v4/locales/ota.js +109 -0
- package/node_modules/zod/v4/locales/package.json +6 -0
- package/node_modules/zod/v4/locales/pl.cjs +136 -0
- package/node_modules/zod/v4/locales/pl.js +109 -0
- package/node_modules/zod/v4/locales/ps.cjs +141 -0
- package/node_modules/zod/v4/locales/ps.js +114 -0
- package/node_modules/zod/v4/locales/pt.cjs +135 -0
- package/node_modules/zod/v4/locales/pt.js +108 -0
- package/node_modules/zod/v4/locales/ru.cjs +183 -0
- package/node_modules/zod/v4/locales/ru.js +156 -0
- package/node_modules/zod/v4/locales/sl.cjs +136 -0
- package/node_modules/zod/v4/locales/sl.js +109 -0
- package/node_modules/zod/v4/locales/sv.cjs +137 -0
- package/node_modules/zod/v4/locales/sv.js +110 -0
- package/node_modules/zod/v4/locales/ta.cjs +137 -0
- package/node_modules/zod/v4/locales/ta.js +110 -0
- package/node_modules/zod/v4/locales/th.cjs +137 -0
- package/node_modules/zod/v4/locales/th.js +110 -0
- package/node_modules/zod/v4/locales/tr.cjs +132 -0
- package/node_modules/zod/v4/locales/tr.js +105 -0
- package/node_modules/zod/v4/locales/ua.cjs +12 -0
- package/node_modules/zod/v4/locales/ua.js +5 -0
- package/node_modules/zod/v4/locales/uk.cjs +135 -0
- package/node_modules/zod/v4/locales/uk.js +108 -0
- package/node_modules/zod/v4/locales/ur.cjs +137 -0
- package/node_modules/zod/v4/locales/ur.js +110 -0
- package/node_modules/zod/v4/locales/uz.cjs +136 -0
- package/node_modules/zod/v4/locales/uz.js +109 -0
- package/node_modules/zod/v4/locales/vi.cjs +135 -0
- package/node_modules/zod/v4/locales/vi.js +108 -0
- package/node_modules/zod/v4/locales/yo.cjs +134 -0
- package/node_modules/zod/v4/locales/yo.js +107 -0
- package/node_modules/zod/v4/locales/zh-CN.cjs +136 -0
- package/node_modules/zod/v4/locales/zh-CN.js +109 -0
- package/node_modules/zod/v4/locales/zh-TW.cjs +134 -0
- package/node_modules/zod/v4/locales/zh-TW.js +107 -0
- package/node_modules/zod/v4/mini/checks.cjs +34 -0
- package/node_modules/zod/v4/mini/checks.js +1 -0
- package/node_modules/zod/v4/mini/coerce.cjs +52 -0
- package/node_modules/zod/v4/mini/coerce.js +22 -0
- package/node_modules/zod/v4/mini/external.cjs +63 -0
- package/node_modules/zod/v4/mini/external.js +14 -0
- package/node_modules/zod/v4/mini/index.cjs +32 -0
- package/node_modules/zod/v4/mini/index.js +3 -0
- package/node_modules/zod/v4/mini/iso.cjs +64 -0
- package/node_modules/zod/v4/mini/iso.js +34 -0
- package/node_modules/zod/v4/mini/package.json +6 -0
- package/node_modules/zod/v4/mini/parse.cjs +16 -0
- package/node_modules/zod/v4/mini/parse.js +1 -0
- package/node_modules/zod/v4/mini/schemas.cjs +1046 -0
- package/node_modules/zod/v4/mini/schemas.js +925 -0
- package/node_modules/zod/v4/package.json +6 -0
- package/node_modules/zod/v4-mini/index.cjs +32 -0
- package/node_modules/zod/v4-mini/index.js +3 -0
- package/node_modules/zod/v4-mini/package.json +6 -0
- package/package.json +22 -8
- /package/dist/ui/_next/static/{4umHEG-OKdgDgzE1LL9NX → oGyM-5BrCiJ88ytNayWRL}/_buildManifest.js +0 -0
- /package/dist/ui/_next/static/{4umHEG-OKdgDgzE1LL9NX → oGyM-5BrCiJ88ytNayWRL}/_clientMiddlewareManifest.json +0 -0
- /package/dist/ui/_next/static/{4umHEG-OKdgDgzE1LL9NX → oGyM-5BrCiJ88ytNayWRL}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,2397 @@
|
|
|
1
|
+
// https://github.com/Ethan-Arrowood/undici-fetch
|
|
2
|
+
|
|
3
|
+
'use strict'
|
|
4
|
+
|
|
5
|
+
const {
|
|
6
|
+
makeNetworkError,
|
|
7
|
+
makeAppropriateNetworkError,
|
|
8
|
+
filterResponse,
|
|
9
|
+
makeResponse,
|
|
10
|
+
fromInnerResponse,
|
|
11
|
+
getResponseState
|
|
12
|
+
} = require('./response')
|
|
13
|
+
const { HeadersList } = require('./headers')
|
|
14
|
+
const { Request, cloneRequest, getRequestDispatcher, getRequestState } = require('./request')
|
|
15
|
+
const zlib = require('node:zlib')
|
|
16
|
+
const {
|
|
17
|
+
makePolicyContainer,
|
|
18
|
+
clonePolicyContainer,
|
|
19
|
+
requestBadPort,
|
|
20
|
+
TAOCheck,
|
|
21
|
+
appendRequestOriginHeader,
|
|
22
|
+
responseLocationURL,
|
|
23
|
+
requestCurrentURL,
|
|
24
|
+
setRequestReferrerPolicyOnRedirect,
|
|
25
|
+
tryUpgradeRequestToAPotentiallyTrustworthyURL,
|
|
26
|
+
createOpaqueTimingInfo,
|
|
27
|
+
appendFetchMetadata,
|
|
28
|
+
corsCheck,
|
|
29
|
+
crossOriginResourcePolicyCheck,
|
|
30
|
+
determineRequestsReferrer,
|
|
31
|
+
coarsenedSharedCurrentTime,
|
|
32
|
+
sameOrigin,
|
|
33
|
+
isCancelled,
|
|
34
|
+
isAborted,
|
|
35
|
+
isErrorLike,
|
|
36
|
+
fullyReadBody,
|
|
37
|
+
readableStreamClose,
|
|
38
|
+
urlIsLocal,
|
|
39
|
+
urlIsHttpHttpsScheme,
|
|
40
|
+
urlHasHttpsScheme,
|
|
41
|
+
clampAndCoarsenConnectionTimingInfo,
|
|
42
|
+
simpleRangeHeaderValue,
|
|
43
|
+
buildContentRange,
|
|
44
|
+
createInflate,
|
|
45
|
+
extractMimeType,
|
|
46
|
+
hasAuthenticationEntry,
|
|
47
|
+
includesCredentials,
|
|
48
|
+
isTraversableNavigable
|
|
49
|
+
} = require('./util')
|
|
50
|
+
const assert = require('node:assert')
|
|
51
|
+
const { safelyExtractBody, extractBody } = require('./body')
|
|
52
|
+
const {
|
|
53
|
+
redirectStatusSet,
|
|
54
|
+
nullBodyStatus,
|
|
55
|
+
safeMethodsSet,
|
|
56
|
+
requestBodyHeader,
|
|
57
|
+
subresourceSet
|
|
58
|
+
} = require('./constants')
|
|
59
|
+
const EE = require('node:events')
|
|
60
|
+
const { Readable, pipeline, finished, isErrored, isReadable } = require('node:stream')
|
|
61
|
+
const { addAbortListener, bufferToLowerCasedHeaderName } = require('../../core/util')
|
|
62
|
+
const { dataURLProcessor, serializeAMimeType, minimizeSupportedMimeType } = require('./data-url')
|
|
63
|
+
const { getGlobalDispatcher } = require('../../global')
|
|
64
|
+
const { webidl } = require('../webidl')
|
|
65
|
+
const { STATUS_CODES } = require('node:http')
|
|
66
|
+
const { bytesMatch } = require('../subresource-integrity/subresource-integrity')
|
|
67
|
+
const { createDeferredPromise } = require('../../util/promise')
|
|
68
|
+
const { isomorphicEncode } = require('../infra')
|
|
69
|
+
const { runtimeFeatures } = require('../../util/runtime-features')
|
|
70
|
+
|
|
71
|
+
// Node.js v23.8.0+ and v22.15.0+ supports Zstandard
|
|
72
|
+
const hasZstd = runtimeFeatures.has('zstd')
|
|
73
|
+
|
|
74
|
+
const GET_OR_HEAD = ['GET', 'HEAD']
|
|
75
|
+
|
|
76
|
+
const defaultUserAgent = typeof __UNDICI_IS_NODE__ !== 'undefined' || typeof esbuildDetection !== 'undefined'
|
|
77
|
+
? 'node'
|
|
78
|
+
: 'undici'
|
|
79
|
+
|
|
80
|
+
/** @type {import('buffer').resolveObjectURL} */
|
|
81
|
+
let resolveObjectURL
|
|
82
|
+
|
|
83
|
+
class Fetch extends EE {
|
|
84
|
+
constructor (dispatcher) {
|
|
85
|
+
super()
|
|
86
|
+
|
|
87
|
+
this.dispatcher = dispatcher
|
|
88
|
+
this.connection = null
|
|
89
|
+
this.dump = false
|
|
90
|
+
this.state = 'ongoing'
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
terminate (reason) {
|
|
94
|
+
if (this.state !== 'ongoing') {
|
|
95
|
+
return
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
this.state = 'terminated'
|
|
99
|
+
this.connection?.destroy(reason)
|
|
100
|
+
this.emit('terminated', reason)
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
// https://fetch.spec.whatwg.org/#fetch-controller-abort
|
|
104
|
+
abort (error) {
|
|
105
|
+
if (this.state !== 'ongoing') {
|
|
106
|
+
return
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
// 1. Set controller’s state to "aborted".
|
|
110
|
+
this.state = 'aborted'
|
|
111
|
+
|
|
112
|
+
// 2. Let fallbackError be an "AbortError" DOMException.
|
|
113
|
+
// 3. Set error to fallbackError if it is not given.
|
|
114
|
+
if (!error) {
|
|
115
|
+
error = new DOMException('The operation was aborted.', 'AbortError')
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
// 4. Let serializedError be StructuredSerialize(error).
|
|
119
|
+
// If that threw an exception, catch it, and let
|
|
120
|
+
// serializedError be StructuredSerialize(fallbackError).
|
|
121
|
+
|
|
122
|
+
// 5. Set controller’s serialized abort reason to serializedError.
|
|
123
|
+
this.serializedAbortReason = error
|
|
124
|
+
|
|
125
|
+
this.connection?.destroy(error)
|
|
126
|
+
this.emit('terminated', error)
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
function handleFetchDone (response) {
|
|
131
|
+
finalizeAndReportTiming(response, 'fetch')
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
// https://fetch.spec.whatwg.org/#fetch-method
|
|
135
|
+
function fetch (input, init = undefined) {
|
|
136
|
+
webidl.argumentLengthCheck(arguments, 1, 'globalThis.fetch')
|
|
137
|
+
|
|
138
|
+
// 1. Let p be a new promise.
|
|
139
|
+
let p = createDeferredPromise()
|
|
140
|
+
|
|
141
|
+
// 2. Let requestObject be the result of invoking the initial value of
|
|
142
|
+
// Request as constructor with input and init as arguments. If this throws
|
|
143
|
+
// an exception, reject p with it and return p.
|
|
144
|
+
let requestObject
|
|
145
|
+
|
|
146
|
+
try {
|
|
147
|
+
requestObject = new Request(input, init)
|
|
148
|
+
} catch (e) {
|
|
149
|
+
p.reject(e)
|
|
150
|
+
return p.promise
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
// 3. Let request be requestObject’s request.
|
|
154
|
+
const request = getRequestState(requestObject)
|
|
155
|
+
|
|
156
|
+
// 4. If requestObject’s signal’s aborted flag is set, then:
|
|
157
|
+
if (requestObject.signal.aborted) {
|
|
158
|
+
// 1. Abort the fetch() call with p, request, null, and
|
|
159
|
+
// requestObject’s signal’s abort reason.
|
|
160
|
+
abortFetch(p, request, null, requestObject.signal.reason, null)
|
|
161
|
+
|
|
162
|
+
// 2. Return p.
|
|
163
|
+
return p.promise
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
// 5. Let globalObject be request’s client’s global object.
|
|
167
|
+
const globalObject = request.client.globalObject
|
|
168
|
+
|
|
169
|
+
// 6. If globalObject is a ServiceWorkerGlobalScope object, then set
|
|
170
|
+
// request’s service-workers mode to "none".
|
|
171
|
+
if (globalObject?.constructor?.name === 'ServiceWorkerGlobalScope') {
|
|
172
|
+
request.serviceWorkers = 'none'
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
// 7. Let responseObject be null.
|
|
176
|
+
let responseObject = null
|
|
177
|
+
|
|
178
|
+
// 8. Let relevantRealm be this’s relevant Realm.
|
|
179
|
+
|
|
180
|
+
// 9. Let locallyAborted be false.
|
|
181
|
+
let locallyAborted = false
|
|
182
|
+
|
|
183
|
+
// 10. Let controller be null.
|
|
184
|
+
let controller = null
|
|
185
|
+
|
|
186
|
+
// 11. Add the following abort steps to requestObject’s signal:
|
|
187
|
+
addAbortListener(
|
|
188
|
+
requestObject.signal,
|
|
189
|
+
() => {
|
|
190
|
+
// 1. Set locallyAborted to true.
|
|
191
|
+
locallyAborted = true
|
|
192
|
+
|
|
193
|
+
// 2. Assert: controller is non-null.
|
|
194
|
+
assert(controller != null)
|
|
195
|
+
|
|
196
|
+
// 3. Abort controller with requestObject’s signal’s abort reason.
|
|
197
|
+
controller.abort(requestObject.signal.reason)
|
|
198
|
+
|
|
199
|
+
const realResponse = responseObject?.deref()
|
|
200
|
+
|
|
201
|
+
// 4. Abort the fetch() call with p, request, responseObject,
|
|
202
|
+
// and requestObject’s signal’s abort reason.
|
|
203
|
+
abortFetch(p, request, realResponse, requestObject.signal.reason, controller.controller)
|
|
204
|
+
}
|
|
205
|
+
)
|
|
206
|
+
|
|
207
|
+
// 12. Let handleFetchDone given response response be to finalize and
|
|
208
|
+
// report timing with response, globalObject, and "fetch".
|
|
209
|
+
// see function handleFetchDone
|
|
210
|
+
|
|
211
|
+
// 13. Set controller to the result of calling fetch given request,
|
|
212
|
+
// with processResponseEndOfBody set to handleFetchDone, and processResponse
|
|
213
|
+
// given response being these substeps:
|
|
214
|
+
|
|
215
|
+
const processResponse = (response) => {
|
|
216
|
+
// 1. If locallyAborted is true, terminate these substeps.
|
|
217
|
+
if (locallyAborted) {
|
|
218
|
+
return
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
// 2. If response’s aborted flag is set, then:
|
|
222
|
+
if (response.aborted) {
|
|
223
|
+
// 1. Let deserializedError be the result of deserialize a serialized
|
|
224
|
+
// abort reason given controller’s serialized abort reason and
|
|
225
|
+
// relevantRealm.
|
|
226
|
+
|
|
227
|
+
// 2. Abort the fetch() call with p, request, responseObject, and
|
|
228
|
+
// deserializedError.
|
|
229
|
+
|
|
230
|
+
abortFetch(p, request, responseObject, controller.serializedAbortReason, controller.controller)
|
|
231
|
+
return
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
// 3. If response is a network error, then reject p with a TypeError
|
|
235
|
+
// and terminate these substeps.
|
|
236
|
+
if (response.type === 'error') {
|
|
237
|
+
p.reject(new TypeError('fetch failed', { cause: response.error }))
|
|
238
|
+
return
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
// 4. Set responseObject to the result of creating a Response object,
|
|
242
|
+
// given response, "immutable", and relevantRealm.
|
|
243
|
+
responseObject = new WeakRef(fromInnerResponse(response, 'immutable'))
|
|
244
|
+
|
|
245
|
+
// 5. Resolve p with responseObject.
|
|
246
|
+
p.resolve(responseObject.deref())
|
|
247
|
+
p = null
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
controller = fetching({
|
|
251
|
+
request,
|
|
252
|
+
processResponseEndOfBody: handleFetchDone,
|
|
253
|
+
processResponse,
|
|
254
|
+
dispatcher: getRequestDispatcher(requestObject), // undici
|
|
255
|
+
// Keep requestObject alive to prevent its AbortController from being GC'd
|
|
256
|
+
// See https://github.com/nodejs/undici/issues/4627
|
|
257
|
+
requestObject
|
|
258
|
+
})
|
|
259
|
+
|
|
260
|
+
// 14. Return p.
|
|
261
|
+
return p.promise
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
// https://fetch.spec.whatwg.org/#finalize-and-report-timing
|
|
265
|
+
function finalizeAndReportTiming (response, initiatorType = 'other') {
|
|
266
|
+
// 1. If response is an aborted network error, then return.
|
|
267
|
+
if (response.type === 'error' && response.aborted) {
|
|
268
|
+
return
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
// 2. If response’s URL list is null or empty, then return.
|
|
272
|
+
if (!response.urlList?.length) {
|
|
273
|
+
return
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
// 3. Let originalURL be response’s URL list[0].
|
|
277
|
+
const originalURL = response.urlList[0]
|
|
278
|
+
|
|
279
|
+
// 4. Let timingInfo be response’s timing info.
|
|
280
|
+
let timingInfo = response.timingInfo
|
|
281
|
+
|
|
282
|
+
// 5. Let cacheState be response’s cache state.
|
|
283
|
+
let cacheState = response.cacheState
|
|
284
|
+
|
|
285
|
+
// 6. If originalURL’s scheme is not an HTTP(S) scheme, then return.
|
|
286
|
+
if (!urlIsHttpHttpsScheme(originalURL)) {
|
|
287
|
+
return
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
// 7. If timingInfo is null, then return.
|
|
291
|
+
if (timingInfo === null) {
|
|
292
|
+
return
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
// 8. If response’s timing allow passed flag is not set, then:
|
|
296
|
+
if (!response.timingAllowPassed) {
|
|
297
|
+
// 1. Set timingInfo to a the result of creating an opaque timing info for timingInfo.
|
|
298
|
+
timingInfo = createOpaqueTimingInfo({
|
|
299
|
+
startTime: timingInfo.startTime
|
|
300
|
+
})
|
|
301
|
+
|
|
302
|
+
// 2. Set cacheState to the empty string.
|
|
303
|
+
cacheState = ''
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
// 9. Set timingInfo’s end time to the coarsened shared current time
|
|
307
|
+
// given global’s relevant settings object’s cross-origin isolated
|
|
308
|
+
// capability.
|
|
309
|
+
// TODO: given global’s relevant settings object’s cross-origin isolated
|
|
310
|
+
// capability?
|
|
311
|
+
timingInfo.endTime = coarsenedSharedCurrentTime()
|
|
312
|
+
|
|
313
|
+
// 10. Set response’s timing info to timingInfo.
|
|
314
|
+
response.timingInfo = timingInfo
|
|
315
|
+
|
|
316
|
+
// 11. Mark resource timing for timingInfo, originalURL, initiatorType,
|
|
317
|
+
// global, and cacheState.
|
|
318
|
+
markResourceTiming(
|
|
319
|
+
timingInfo,
|
|
320
|
+
originalURL.href,
|
|
321
|
+
initiatorType,
|
|
322
|
+
globalThis,
|
|
323
|
+
cacheState,
|
|
324
|
+
'', // bodyType
|
|
325
|
+
response.status
|
|
326
|
+
)
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
// https://w3c.github.io/resource-timing/#dfn-mark-resource-timing
|
|
330
|
+
const markResourceTiming = performance.markResourceTiming
|
|
331
|
+
|
|
332
|
+
// https://fetch.spec.whatwg.org/#abort-fetch
|
|
333
|
+
function abortFetch (p, request, responseObject, error, controller /* undici-specific */) {
|
|
334
|
+
// 1. Reject promise with error.
|
|
335
|
+
if (p) {
|
|
336
|
+
// We might have already resolved the promise at this stage
|
|
337
|
+
p.reject(error)
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
// 2. If request’s body is not null and is readable, then cancel request’s
|
|
341
|
+
// body with error.
|
|
342
|
+
if (request.body?.stream != null && isReadable(request.body.stream)) {
|
|
343
|
+
request.body.stream.cancel(error).catch((err) => {
|
|
344
|
+
if (err.code === 'ERR_INVALID_STATE') {
|
|
345
|
+
// Node bug?
|
|
346
|
+
return
|
|
347
|
+
}
|
|
348
|
+
throw err
|
|
349
|
+
})
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
// 3. If responseObject is null, then return.
|
|
353
|
+
if (responseObject == null) {
|
|
354
|
+
return
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
// 4. Let response be responseObject’s response.
|
|
358
|
+
const response = getResponseState(responseObject)
|
|
359
|
+
|
|
360
|
+
// 5. If response’s body is not null and is readable, then error response’s
|
|
361
|
+
// body with error.
|
|
362
|
+
if (response.body?.stream != null && isReadable(response.body.stream)) {
|
|
363
|
+
controller.error(error)
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
// https://fetch.spec.whatwg.org/#fetching
|
|
368
|
+
function fetching ({
|
|
369
|
+
request,
|
|
370
|
+
processRequestBodyChunkLength,
|
|
371
|
+
processRequestEndOfBody,
|
|
372
|
+
processResponse,
|
|
373
|
+
processResponseEndOfBody,
|
|
374
|
+
processResponseConsumeBody,
|
|
375
|
+
useParallelQueue = false,
|
|
376
|
+
dispatcher = getGlobalDispatcher(), // undici
|
|
377
|
+
requestObject = null // Keep alive to prevent AbortController GC, see #4627
|
|
378
|
+
}) {
|
|
379
|
+
// Ensure that the dispatcher is set accordingly
|
|
380
|
+
assert(dispatcher)
|
|
381
|
+
|
|
382
|
+
// 1. Let taskDestination be null.
|
|
383
|
+
let taskDestination = null
|
|
384
|
+
|
|
385
|
+
// 2. Let crossOriginIsolatedCapability be false.
|
|
386
|
+
let crossOriginIsolatedCapability = false
|
|
387
|
+
|
|
388
|
+
// 3. If request’s client is non-null, then:
|
|
389
|
+
if (request.client != null) {
|
|
390
|
+
// 1. Set taskDestination to request’s client’s global object.
|
|
391
|
+
taskDestination = request.client.globalObject
|
|
392
|
+
|
|
393
|
+
// 2. Set crossOriginIsolatedCapability to request’s client’s cross-origin
|
|
394
|
+
// isolated capability.
|
|
395
|
+
crossOriginIsolatedCapability =
|
|
396
|
+
request.client.crossOriginIsolatedCapability
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
// 4. If useParallelQueue is true, then set taskDestination to the result of
|
|
400
|
+
// starting a new parallel queue.
|
|
401
|
+
// TODO
|
|
402
|
+
|
|
403
|
+
// 5. Let timingInfo be a new fetch timing info whose start time and
|
|
404
|
+
// post-redirect start time are the coarsened shared current time given
|
|
405
|
+
// crossOriginIsolatedCapability.
|
|
406
|
+
const currentTime = coarsenedSharedCurrentTime(crossOriginIsolatedCapability)
|
|
407
|
+
const timingInfo = createOpaqueTimingInfo({
|
|
408
|
+
startTime: currentTime
|
|
409
|
+
})
|
|
410
|
+
|
|
411
|
+
// 6. Let fetchParams be a new fetch params whose
|
|
412
|
+
// request is request,
|
|
413
|
+
// timing info is timingInfo,
|
|
414
|
+
// process request body chunk length is processRequestBodyChunkLength,
|
|
415
|
+
// process request end-of-body is processRequestEndOfBody,
|
|
416
|
+
// process response is processResponse,
|
|
417
|
+
// process response consume body is processResponseConsumeBody,
|
|
418
|
+
// process response end-of-body is processResponseEndOfBody,
|
|
419
|
+
// task destination is taskDestination,
|
|
420
|
+
// and cross-origin isolated capability is crossOriginIsolatedCapability.
|
|
421
|
+
const fetchParams = {
|
|
422
|
+
controller: new Fetch(dispatcher),
|
|
423
|
+
request,
|
|
424
|
+
timingInfo,
|
|
425
|
+
processRequestBodyChunkLength,
|
|
426
|
+
processRequestEndOfBody,
|
|
427
|
+
processResponse,
|
|
428
|
+
processResponseConsumeBody,
|
|
429
|
+
processResponseEndOfBody,
|
|
430
|
+
taskDestination,
|
|
431
|
+
crossOriginIsolatedCapability,
|
|
432
|
+
// Keep requestObject alive to prevent its AbortController from being GC'd
|
|
433
|
+
requestObject
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
// 7. If request’s body is a byte sequence, then set request’s body to
|
|
437
|
+
// request’s body as a body.
|
|
438
|
+
// NOTE: Since fetching is only called from fetch, body should already be
|
|
439
|
+
// extracted.
|
|
440
|
+
assert(!request.body || request.body.stream)
|
|
441
|
+
|
|
442
|
+
// 8. If request’s window is "client", then set request’s window to request’s
|
|
443
|
+
// client, if request’s client’s global object is a Window object; otherwise
|
|
444
|
+
// "no-window".
|
|
445
|
+
if (request.window === 'client') {
|
|
446
|
+
// TODO: What if request.client is null?
|
|
447
|
+
request.window =
|
|
448
|
+
request.client?.globalObject?.constructor?.name === 'Window'
|
|
449
|
+
? request.client
|
|
450
|
+
: 'no-window'
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
// 9. If request’s origin is "client", then set request’s origin to request’s
|
|
454
|
+
// client’s origin.
|
|
455
|
+
if (request.origin === 'client') {
|
|
456
|
+
request.origin = request.client.origin
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
// 10. If all of the following conditions are true:
|
|
460
|
+
// TODO
|
|
461
|
+
|
|
462
|
+
// 11. If request’s policy container is "client", then:
|
|
463
|
+
if (request.policyContainer === 'client') {
|
|
464
|
+
// 1. If request’s client is non-null, then set request’s policy
|
|
465
|
+
// container to a clone of request’s client’s policy container. [HTML]
|
|
466
|
+
if (request.client != null) {
|
|
467
|
+
request.policyContainer = clonePolicyContainer(
|
|
468
|
+
request.client.policyContainer
|
|
469
|
+
)
|
|
470
|
+
} else {
|
|
471
|
+
// 2. Otherwise, set request’s policy container to a new policy
|
|
472
|
+
// container.
|
|
473
|
+
request.policyContainer = makePolicyContainer()
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
// 12. If request’s header list does not contain `Accept`, then:
|
|
478
|
+
if (!request.headersList.contains('accept', true)) {
|
|
479
|
+
// 1. Let value be `*/*`.
|
|
480
|
+
const value = '*/*'
|
|
481
|
+
|
|
482
|
+
// 2. A user agent should set value to the first matching statement, if
|
|
483
|
+
// any, switching on request’s destination:
|
|
484
|
+
// "document"
|
|
485
|
+
// "frame"
|
|
486
|
+
// "iframe"
|
|
487
|
+
// `text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8`
|
|
488
|
+
// "image"
|
|
489
|
+
// `image/png,image/svg+xml,image/*;q=0.8,*/*;q=0.5`
|
|
490
|
+
// "style"
|
|
491
|
+
// `text/css,*/*;q=0.1`
|
|
492
|
+
// TODO
|
|
493
|
+
|
|
494
|
+
// 3. Append `Accept`/value to request’s header list.
|
|
495
|
+
request.headersList.append('accept', value, true)
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
// 13. If request’s header list does not contain `Accept-Language`, then
|
|
499
|
+
// user agents should append `Accept-Language`/an appropriate value to
|
|
500
|
+
// request’s header list.
|
|
501
|
+
if (!request.headersList.contains('accept-language', true)) {
|
|
502
|
+
request.headersList.append('accept-language', '*', true)
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
// 14. If request’s priority is null, then use request’s initiator and
|
|
506
|
+
// destination appropriately in setting request’s priority to a
|
|
507
|
+
// user-agent-defined object.
|
|
508
|
+
if (request.priority === null) {
|
|
509
|
+
// TODO
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
// 15. If request is a subresource request, then:
|
|
513
|
+
if (subresourceSet.has(request.destination)) {
|
|
514
|
+
// TODO
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
// 16. Run main fetch given fetchParams.
|
|
518
|
+
mainFetch(fetchParams, false)
|
|
519
|
+
|
|
520
|
+
// 17. Return fetchParam's controller
|
|
521
|
+
return fetchParams.controller
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
// https://fetch.spec.whatwg.org/#concept-main-fetch
|
|
525
|
+
async function mainFetch (fetchParams, recursive) {
|
|
526
|
+
try {
|
|
527
|
+
// 1. Let request be fetchParams’s request.
|
|
528
|
+
const request = fetchParams.request
|
|
529
|
+
|
|
530
|
+
// 2. Let response be null.
|
|
531
|
+
let response = null
|
|
532
|
+
|
|
533
|
+
// 3. If request’s local-URLs-only flag is set and request’s current URL is
|
|
534
|
+
// not local, then set response to a network error.
|
|
535
|
+
if (request.localURLsOnly && !urlIsLocal(requestCurrentURL(request))) {
|
|
536
|
+
response = makeNetworkError('local URLs only')
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
// 4. Run report Content Security Policy violations for request.
|
|
540
|
+
// TODO
|
|
541
|
+
|
|
542
|
+
// 5. Upgrade request to a potentially trustworthy URL, if appropriate.
|
|
543
|
+
tryUpgradeRequestToAPotentiallyTrustworthyURL(request)
|
|
544
|
+
|
|
545
|
+
// 6. If should request be blocked due to a bad port, should fetching request
|
|
546
|
+
// be blocked as mixed content, or should request be blocked by Content
|
|
547
|
+
// Security Policy returns blocked, then set response to a network error.
|
|
548
|
+
if (requestBadPort(request) === 'blocked') {
|
|
549
|
+
response = makeNetworkError('bad port')
|
|
550
|
+
}
|
|
551
|
+
// TODO: should fetching request be blocked as mixed content?
|
|
552
|
+
// TODO: should request be blocked by Content Security Policy?
|
|
553
|
+
|
|
554
|
+
// 7. If request’s referrer policy is the empty string, then set request’s
|
|
555
|
+
// referrer policy to request’s policy container’s referrer policy.
|
|
556
|
+
if (request.referrerPolicy === '') {
|
|
557
|
+
request.referrerPolicy = request.policyContainer.referrerPolicy
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
// 8. If request’s referrer is not "no-referrer", then set request’s
|
|
561
|
+
// referrer to the result of invoking determine request’s referrer.
|
|
562
|
+
if (request.referrer !== 'no-referrer') {
|
|
563
|
+
request.referrer = determineRequestsReferrer(request)
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
// 9. Set request’s current URL’s scheme to "https" if all of the following
|
|
567
|
+
// conditions are true:
|
|
568
|
+
// - request’s current URL’s scheme is "http"
|
|
569
|
+
// - request’s current URL’s host is a domain
|
|
570
|
+
// - Matching request’s current URL’s host per Known HSTS Host Domain Name
|
|
571
|
+
// Matching results in either a superdomain match with an asserted
|
|
572
|
+
// includeSubDomains directive or a congruent match (with or without an
|
|
573
|
+
// asserted includeSubDomains directive). [HSTS]
|
|
574
|
+
// TODO
|
|
575
|
+
|
|
576
|
+
// 10. If recursive is false, then run the remaining steps in parallel.
|
|
577
|
+
// TODO
|
|
578
|
+
|
|
579
|
+
// 11. If response is null, then set response to the result of running
|
|
580
|
+
// the steps corresponding to the first matching statement:
|
|
581
|
+
if (response === null) {
|
|
582
|
+
const currentURL = requestCurrentURL(request)
|
|
583
|
+
if (
|
|
584
|
+
// - request’s current URL’s origin is same origin with request’s origin,
|
|
585
|
+
// and request’s response tainting is "basic"
|
|
586
|
+
(sameOrigin(currentURL, request.url) && request.responseTainting === 'basic') ||
|
|
587
|
+
// request’s current URL’s scheme is "data"
|
|
588
|
+
(currentURL.protocol === 'data:') ||
|
|
589
|
+
// - request’s mode is "navigate" or "websocket"
|
|
590
|
+
(request.mode === 'navigate' || request.mode === 'websocket')
|
|
591
|
+
) {
|
|
592
|
+
// 1. Set request’s response tainting to "basic".
|
|
593
|
+
request.responseTainting = 'basic'
|
|
594
|
+
|
|
595
|
+
// 2. Return the result of running scheme fetch given fetchParams.
|
|
596
|
+
response = await schemeFetch(fetchParams)
|
|
597
|
+
|
|
598
|
+
// request’s mode is "same-origin"
|
|
599
|
+
} else if (request.mode === 'same-origin') {
|
|
600
|
+
// 1. Return a network error.
|
|
601
|
+
response = makeNetworkError('request mode cannot be "same-origin"')
|
|
602
|
+
|
|
603
|
+
// request’s mode is "no-cors"
|
|
604
|
+
} else if (request.mode === 'no-cors') {
|
|
605
|
+
// 1. If request’s redirect mode is not "follow", then return a network
|
|
606
|
+
// error.
|
|
607
|
+
if (request.redirect !== 'follow') {
|
|
608
|
+
response = makeNetworkError(
|
|
609
|
+
'redirect mode cannot be "follow" for "no-cors" request'
|
|
610
|
+
)
|
|
611
|
+
} else {
|
|
612
|
+
// 2. Set request’s response tainting to "opaque".
|
|
613
|
+
request.responseTainting = 'opaque'
|
|
614
|
+
|
|
615
|
+
// 3. Return the result of running scheme fetch given fetchParams.
|
|
616
|
+
response = await schemeFetch(fetchParams)
|
|
617
|
+
}
|
|
618
|
+
// request’s current URL’s scheme is not an HTTP(S) scheme
|
|
619
|
+
} else if (!urlIsHttpHttpsScheme(requestCurrentURL(request))) {
|
|
620
|
+
// Return a network error.
|
|
621
|
+
response = makeNetworkError('URL scheme must be a HTTP(S) scheme')
|
|
622
|
+
|
|
623
|
+
// - request’s use-CORS-preflight flag is set
|
|
624
|
+
// - request’s unsafe-request flag is set and either request’s method is
|
|
625
|
+
// not a CORS-safelisted method or CORS-unsafe request-header names with
|
|
626
|
+
// request’s header list is not empty
|
|
627
|
+
// 1. Set request’s response tainting to "cors".
|
|
628
|
+
// 2. Let corsWithPreflightResponse be the result of running HTTP fetch
|
|
629
|
+
// given fetchParams and true.
|
|
630
|
+
// 3. If corsWithPreflightResponse is a network error, then clear cache
|
|
631
|
+
// entries using request.
|
|
632
|
+
// 4. Return corsWithPreflightResponse.
|
|
633
|
+
// TODO
|
|
634
|
+
|
|
635
|
+
// Otherwise
|
|
636
|
+
} else {
|
|
637
|
+
// 1. Set request’s response tainting to "cors".
|
|
638
|
+
request.responseTainting = 'cors'
|
|
639
|
+
|
|
640
|
+
// 2. Return the result of running HTTP fetch given fetchParams.
|
|
641
|
+
response = await httpFetch(fetchParams)
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
// 12. If recursive is true, then return response.
|
|
646
|
+
if (recursive) {
|
|
647
|
+
return response
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
// 13. If response is not a network error and response is not a filtered
|
|
651
|
+
// response, then:
|
|
652
|
+
if (response.status !== 0 && !response.internalResponse) {
|
|
653
|
+
// If request’s response tainting is "cors", then:
|
|
654
|
+
if (request.responseTainting === 'cors') {
|
|
655
|
+
// 1. Let headerNames be the result of extracting header list values
|
|
656
|
+
// given `Access-Control-Expose-Headers` and response’s header list.
|
|
657
|
+
// TODO
|
|
658
|
+
// 2. If request’s credentials mode is not "include" and headerNames
|
|
659
|
+
// contains `*`, then set response’s CORS-exposed header-name list to
|
|
660
|
+
// all unique header names in response’s header list.
|
|
661
|
+
// TODO
|
|
662
|
+
// 3. Otherwise, if headerNames is not null or failure, then set
|
|
663
|
+
// response’s CORS-exposed header-name list to headerNames.
|
|
664
|
+
// TODO
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
// Set response to the following filtered response with response as its
|
|
668
|
+
// internal response, depending on request’s response tainting:
|
|
669
|
+
if (request.responseTainting === 'basic') {
|
|
670
|
+
response = filterResponse(response, 'basic')
|
|
671
|
+
} else if (request.responseTainting === 'cors') {
|
|
672
|
+
response = filterResponse(response, 'cors')
|
|
673
|
+
} else if (request.responseTainting === 'opaque') {
|
|
674
|
+
response = filterResponse(response, 'opaque')
|
|
675
|
+
} else {
|
|
676
|
+
assert(false)
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
// 14. Let internalResponse be response, if response is a network error,
|
|
681
|
+
// and response’s internal response otherwise.
|
|
682
|
+
let internalResponse =
|
|
683
|
+
response.status === 0 ? response : response.internalResponse
|
|
684
|
+
|
|
685
|
+
// 15. If internalResponse’s URL list is empty, then set it to a clone of
|
|
686
|
+
// request’s URL list.
|
|
687
|
+
if (internalResponse.urlList.length === 0) {
|
|
688
|
+
internalResponse.urlList.push(...request.urlList)
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
// 16. If request’s timing allow failed flag is unset, then set
|
|
692
|
+
// internalResponse’s timing allow passed flag.
|
|
693
|
+
if (!request.timingAllowFailed) {
|
|
694
|
+
response.timingAllowPassed = true
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
// 17. If response is not a network error and any of the following returns
|
|
698
|
+
// blocked
|
|
699
|
+
// - should internalResponse to request be blocked as mixed content
|
|
700
|
+
// - should internalResponse to request be blocked by Content Security Policy
|
|
701
|
+
// - should internalResponse to request be blocked due to its MIME type
|
|
702
|
+
// - should internalResponse to request be blocked due to nosniff
|
|
703
|
+
// TODO
|
|
704
|
+
|
|
705
|
+
// 18. If response’s type is "opaque", internalResponse’s status is 206,
|
|
706
|
+
// internalResponse’s range-requested flag is set, and request’s header
|
|
707
|
+
// list does not contain `Range`, then set response and internalResponse
|
|
708
|
+
// to a network error.
|
|
709
|
+
if (
|
|
710
|
+
response.type === 'opaque' &&
|
|
711
|
+
internalResponse.status === 206 &&
|
|
712
|
+
internalResponse.rangeRequested &&
|
|
713
|
+
!request.headers.contains('range', true)
|
|
714
|
+
) {
|
|
715
|
+
response = internalResponse = makeNetworkError()
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
// 19. If response is not a network error and either request’s method is
|
|
719
|
+
// `HEAD` or `CONNECT`, or internalResponse’s status is a null body status,
|
|
720
|
+
// set internalResponse’s body to null and disregard any enqueuing toward
|
|
721
|
+
// it (if any).
|
|
722
|
+
if (
|
|
723
|
+
response.status !== 0 &&
|
|
724
|
+
(request.method === 'HEAD' ||
|
|
725
|
+
request.method === 'CONNECT' ||
|
|
726
|
+
nullBodyStatus.includes(internalResponse.status))
|
|
727
|
+
) {
|
|
728
|
+
internalResponse.body = null
|
|
729
|
+
fetchParams.controller.dump = true
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
// 20. If request’s integrity metadata is not the empty string, then:
|
|
733
|
+
if (request.integrity) {
|
|
734
|
+
// 1. Let processBodyError be this step: run fetch finale given fetchParams
|
|
735
|
+
// and a network error.
|
|
736
|
+
const processBodyError = (reason) =>
|
|
737
|
+
fetchFinale(fetchParams, makeNetworkError(reason))
|
|
738
|
+
|
|
739
|
+
// 2. If request’s response tainting is "opaque", or response’s body is null,
|
|
740
|
+
// then run processBodyError and abort these steps.
|
|
741
|
+
if (request.responseTainting === 'opaque' || response.body == null) {
|
|
742
|
+
processBodyError(response.error)
|
|
743
|
+
return
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
// 3. Let processBody given bytes be these steps:
|
|
747
|
+
const processBody = (bytes) => {
|
|
748
|
+
// 1. If bytes do not match request’s integrity metadata,
|
|
749
|
+
// then run processBodyError and abort these steps. [SRI]
|
|
750
|
+
if (!bytesMatch(bytes, request.integrity)) {
|
|
751
|
+
processBodyError('integrity mismatch')
|
|
752
|
+
return
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
// 2. Set response’s body to bytes as a body.
|
|
756
|
+
response.body = safelyExtractBody(bytes)[0]
|
|
757
|
+
|
|
758
|
+
// 3. Run fetch finale given fetchParams and response.
|
|
759
|
+
fetchFinale(fetchParams, response)
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
// 4. Fully read response’s body given processBody and processBodyError.
|
|
763
|
+
fullyReadBody(response.body, processBody, processBodyError)
|
|
764
|
+
} else {
|
|
765
|
+
// 21. Otherwise, run fetch finale given fetchParams and response.
|
|
766
|
+
fetchFinale(fetchParams, response)
|
|
767
|
+
}
|
|
768
|
+
} catch (err) {
|
|
769
|
+
fetchParams.controller.terminate(err)
|
|
770
|
+
}
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
// https://fetch.spec.whatwg.org/#concept-scheme-fetch
|
|
774
|
+
// given a fetch params fetchParams
|
|
775
|
+
function schemeFetch (fetchParams) {
|
|
776
|
+
// Note: since the connection is destroyed on redirect, which sets fetchParams to a
|
|
777
|
+
// cancelled state, we do not want this condition to trigger *unless* there have been
|
|
778
|
+
// no redirects. See https://github.com/nodejs/undici/issues/1776
|
|
779
|
+
// 1. If fetchParams is canceled, then return the appropriate network error for fetchParams.
|
|
780
|
+
if (isCancelled(fetchParams) && fetchParams.request.redirectCount === 0) {
|
|
781
|
+
return Promise.resolve(makeAppropriateNetworkError(fetchParams))
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
// 2. Let request be fetchParams’s request.
|
|
785
|
+
const { request } = fetchParams
|
|
786
|
+
|
|
787
|
+
const { protocol: scheme } = requestCurrentURL(request)
|
|
788
|
+
|
|
789
|
+
// 3. Switch on request’s current URL’s scheme and run the associated steps:
|
|
790
|
+
switch (scheme) {
|
|
791
|
+
case 'about:': {
|
|
792
|
+
// If request’s current URL’s path is the string "blank", then return a new response
|
|
793
|
+
// whose status message is `OK`, header list is « (`Content-Type`, `text/html;charset=utf-8`) »,
|
|
794
|
+
// and body is the empty byte sequence as a body.
|
|
795
|
+
|
|
796
|
+
// Otherwise, return a network error.
|
|
797
|
+
return Promise.resolve(makeNetworkError('about scheme is not supported'))
|
|
798
|
+
}
|
|
799
|
+
case 'blob:': {
|
|
800
|
+
if (!resolveObjectURL) {
|
|
801
|
+
resolveObjectURL = require('node:buffer').resolveObjectURL
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
// 1. Let blobURLEntry be request’s current URL’s blob URL entry.
|
|
805
|
+
const blobURLEntry = requestCurrentURL(request)
|
|
806
|
+
|
|
807
|
+
// https://github.com/web-platform-tests/wpt/blob/7b0ebaccc62b566a1965396e5be7bb2bc06f841f/FileAPI/url/resources/fetch-tests.js#L52-L56
|
|
808
|
+
// Buffer.resolveObjectURL does not ignore URL queries.
|
|
809
|
+
if (blobURLEntry.search.length !== 0) {
|
|
810
|
+
return Promise.resolve(makeNetworkError('NetworkError when attempting to fetch resource.'))
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
const blob = resolveObjectURL(blobURLEntry.toString())
|
|
814
|
+
|
|
815
|
+
// 2. If request’s method is not `GET`, blobURLEntry is null, or blobURLEntry’s
|
|
816
|
+
// object is not a Blob object, then return a network error.
|
|
817
|
+
if (request.method !== 'GET' || !webidl.is.Blob(blob)) {
|
|
818
|
+
return Promise.resolve(makeNetworkError('invalid method'))
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
// 3. Let blob be blobURLEntry’s object.
|
|
822
|
+
// Note: done above
|
|
823
|
+
|
|
824
|
+
// 4. Let response be a new response.
|
|
825
|
+
const response = makeResponse()
|
|
826
|
+
|
|
827
|
+
// 5. Let fullLength be blob’s size.
|
|
828
|
+
const fullLength = blob.size
|
|
829
|
+
|
|
830
|
+
// 6. Let serializedFullLength be fullLength, serialized and isomorphic encoded.
|
|
831
|
+
const serializedFullLength = isomorphicEncode(`${fullLength}`)
|
|
832
|
+
|
|
833
|
+
// 7. Let type be blob’s type.
|
|
834
|
+
const type = blob.type
|
|
835
|
+
|
|
836
|
+
// 8. If request’s header list does not contain `Range`:
|
|
837
|
+
// 9. Otherwise:
|
|
838
|
+
if (!request.headersList.contains('range', true)) {
|
|
839
|
+
// 1. Let bodyWithType be the result of safely extracting blob.
|
|
840
|
+
// Note: in the FileAPI a blob "object" is a Blob *or* a MediaSource.
|
|
841
|
+
// In node, this can only ever be a Blob. Therefore we can safely
|
|
842
|
+
// use extractBody directly.
|
|
843
|
+
const bodyWithType = extractBody(blob)
|
|
844
|
+
|
|
845
|
+
// 2. Set response’s status message to `OK`.
|
|
846
|
+
response.statusText = 'OK'
|
|
847
|
+
|
|
848
|
+
// 3. Set response’s body to bodyWithType’s body.
|
|
849
|
+
response.body = bodyWithType[0]
|
|
850
|
+
|
|
851
|
+
// 4. Set response’s header list to « (`Content-Length`, serializedFullLength), (`Content-Type`, type) ».
|
|
852
|
+
response.headersList.set('content-length', serializedFullLength, true)
|
|
853
|
+
response.headersList.set('content-type', type, true)
|
|
854
|
+
} else {
|
|
855
|
+
// 1. Set response’s range-requested flag.
|
|
856
|
+
response.rangeRequested = true
|
|
857
|
+
|
|
858
|
+
// 2. Let rangeHeader be the result of getting `Range` from request’s header list.
|
|
859
|
+
const rangeHeader = request.headersList.get('range', true)
|
|
860
|
+
|
|
861
|
+
// 3. Let rangeValue be the result of parsing a single range header value given rangeHeader and true.
|
|
862
|
+
const rangeValue = simpleRangeHeaderValue(rangeHeader, true)
|
|
863
|
+
|
|
864
|
+
// 4. If rangeValue is failure, then return a network error.
|
|
865
|
+
if (rangeValue === 'failure') {
|
|
866
|
+
return Promise.resolve(makeNetworkError('failed to fetch the data URL'))
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
// 5. Let (rangeStart, rangeEnd) be rangeValue.
|
|
870
|
+
let { rangeStartValue: rangeStart, rangeEndValue: rangeEnd } = rangeValue
|
|
871
|
+
|
|
872
|
+
// 6. If rangeStart is null:
|
|
873
|
+
// 7. Otherwise:
|
|
874
|
+
if (rangeStart === null) {
|
|
875
|
+
// 1. Set rangeStart to fullLength − rangeEnd.
|
|
876
|
+
rangeStart = fullLength - rangeEnd
|
|
877
|
+
|
|
878
|
+
// 2. Set rangeEnd to rangeStart + rangeEnd − 1.
|
|
879
|
+
rangeEnd = rangeStart + rangeEnd - 1
|
|
880
|
+
} else {
|
|
881
|
+
// 1. If rangeStart is greater than or equal to fullLength, then return a network error.
|
|
882
|
+
if (rangeStart >= fullLength) {
|
|
883
|
+
return Promise.resolve(makeNetworkError('Range start is greater than the blob\'s size.'))
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
// 2. If rangeEnd is null or rangeEnd is greater than or equal to fullLength, then set
|
|
887
|
+
// rangeEnd to fullLength − 1.
|
|
888
|
+
if (rangeEnd === null || rangeEnd >= fullLength) {
|
|
889
|
+
rangeEnd = fullLength - 1
|
|
890
|
+
}
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
// 8. Let slicedBlob be the result of invoking slice blob given blob, rangeStart,
|
|
894
|
+
// rangeEnd + 1, and type.
|
|
895
|
+
const slicedBlob = blob.slice(rangeStart, rangeEnd + 1, type)
|
|
896
|
+
|
|
897
|
+
// 9. Let slicedBodyWithType be the result of safely extracting slicedBlob.
|
|
898
|
+
// Note: same reason as mentioned above as to why we use extractBody
|
|
899
|
+
const slicedBodyWithType = extractBody(slicedBlob)
|
|
900
|
+
|
|
901
|
+
// 10. Set response’s body to slicedBodyWithType’s body.
|
|
902
|
+
response.body = slicedBodyWithType[0]
|
|
903
|
+
|
|
904
|
+
// 11. Let serializedSlicedLength be slicedBlob’s size, serialized and isomorphic encoded.
|
|
905
|
+
const serializedSlicedLength = isomorphicEncode(`${slicedBlob.size}`)
|
|
906
|
+
|
|
907
|
+
// 12. Let contentRange be the result of invoking build a content range given rangeStart,
|
|
908
|
+
// rangeEnd, and fullLength.
|
|
909
|
+
const contentRange = buildContentRange(rangeStart, rangeEnd, fullLength)
|
|
910
|
+
|
|
911
|
+
// 13. Set response’s status to 206.
|
|
912
|
+
response.status = 206
|
|
913
|
+
|
|
914
|
+
// 14. Set response’s status message to `Partial Content`.
|
|
915
|
+
response.statusText = 'Partial Content'
|
|
916
|
+
|
|
917
|
+
// 15. Set response’s header list to « (`Content-Length`, serializedSlicedLength),
|
|
918
|
+
// (`Content-Type`, type), (`Content-Range`, contentRange) ».
|
|
919
|
+
response.headersList.set('content-length', serializedSlicedLength, true)
|
|
920
|
+
response.headersList.set('content-type', type, true)
|
|
921
|
+
response.headersList.set('content-range', contentRange, true)
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
// 10. Return response.
|
|
925
|
+
return Promise.resolve(response)
|
|
926
|
+
}
|
|
927
|
+
case 'data:': {
|
|
928
|
+
// 1. Let dataURLStruct be the result of running the
|
|
929
|
+
// data: URL processor on request’s current URL.
|
|
930
|
+
const currentURL = requestCurrentURL(request)
|
|
931
|
+
const dataURLStruct = dataURLProcessor(currentURL)
|
|
932
|
+
|
|
933
|
+
// 2. If dataURLStruct is failure, then return a
|
|
934
|
+
// network error.
|
|
935
|
+
if (dataURLStruct === 'failure') {
|
|
936
|
+
return Promise.resolve(makeNetworkError('failed to fetch the data URL'))
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
// 3. Let mimeType be dataURLStruct’s MIME type, serialized.
|
|
940
|
+
const mimeType = serializeAMimeType(dataURLStruct.mimeType)
|
|
941
|
+
|
|
942
|
+
// 4. Return a response whose status message is `OK`,
|
|
943
|
+
// header list is « (`Content-Type`, mimeType) »,
|
|
944
|
+
// and body is dataURLStruct’s body as a body.
|
|
945
|
+
return Promise.resolve(makeResponse({
|
|
946
|
+
statusText: 'OK',
|
|
947
|
+
headersList: [
|
|
948
|
+
['content-type', { name: 'Content-Type', value: mimeType }]
|
|
949
|
+
],
|
|
950
|
+
body: safelyExtractBody(dataURLStruct.body)[0]
|
|
951
|
+
}))
|
|
952
|
+
}
|
|
953
|
+
case 'file:': {
|
|
954
|
+
// For now, unfortunate as it is, file URLs are left as an exercise for the reader.
|
|
955
|
+
// When in doubt, return a network error.
|
|
956
|
+
return Promise.resolve(makeNetworkError('not implemented... yet...'))
|
|
957
|
+
}
|
|
958
|
+
case 'http:':
|
|
959
|
+
case 'https:': {
|
|
960
|
+
// Return the result of running HTTP fetch given fetchParams.
|
|
961
|
+
|
|
962
|
+
return httpFetch(fetchParams)
|
|
963
|
+
.catch((err) => makeNetworkError(err))
|
|
964
|
+
}
|
|
965
|
+
default: {
|
|
966
|
+
return Promise.resolve(makeNetworkError('unknown scheme'))
|
|
967
|
+
}
|
|
968
|
+
}
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
// https://fetch.spec.whatwg.org/#finalize-response
|
|
972
|
+
function finalizeResponse (fetchParams, response) {
|
|
973
|
+
// 1. Set fetchParams’s request’s done flag.
|
|
974
|
+
fetchParams.request.done = true
|
|
975
|
+
|
|
976
|
+
// 2, If fetchParams’s process response done is not null, then queue a fetch
|
|
977
|
+
// task to run fetchParams’s process response done given response, with
|
|
978
|
+
// fetchParams’s task destination.
|
|
979
|
+
if (fetchParams.processResponseDone != null) {
|
|
980
|
+
queueMicrotask(() => fetchParams.processResponseDone(response))
|
|
981
|
+
}
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
// https://fetch.spec.whatwg.org/#fetch-finale
|
|
985
|
+
function fetchFinale (fetchParams, response) {
|
|
986
|
+
// 1. Let timingInfo be fetchParams’s timing info.
|
|
987
|
+
let timingInfo = fetchParams.timingInfo
|
|
988
|
+
|
|
989
|
+
// 2. If response is not a network error and fetchParams’s request’s client is a secure context,
|
|
990
|
+
// then set timingInfo’s server-timing headers to the result of getting, decoding, and splitting
|
|
991
|
+
// `Server-Timing` from response’s internal response’s header list.
|
|
992
|
+
// TODO
|
|
993
|
+
|
|
994
|
+
// 3. Let processResponseEndOfBody be the following steps:
|
|
995
|
+
const processResponseEndOfBody = () => {
|
|
996
|
+
// 1. Let unsafeEndTime be the unsafe shared current time.
|
|
997
|
+
const unsafeEndTime = Date.now() // ?
|
|
998
|
+
|
|
999
|
+
// 2. If fetchParams’s request’s destination is "document", then set fetchParams’s controller’s
|
|
1000
|
+
// full timing info to fetchParams’s timing info.
|
|
1001
|
+
if (fetchParams.request.destination === 'document') {
|
|
1002
|
+
fetchParams.controller.fullTimingInfo = timingInfo
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
// 3. Set fetchParams’s controller’s report timing steps to the following steps given a global object global:
|
|
1006
|
+
fetchParams.controller.reportTimingSteps = () => {
|
|
1007
|
+
// 1. If fetchParams’s request’s URL’s scheme is not an HTTP(S) scheme, then return.
|
|
1008
|
+
if (!urlIsHttpHttpsScheme(fetchParams.request.url)) {
|
|
1009
|
+
return
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
// 2. Set timingInfo’s end time to the relative high resolution time given unsafeEndTime and global.
|
|
1013
|
+
timingInfo.endTime = unsafeEndTime
|
|
1014
|
+
|
|
1015
|
+
// 3. Let cacheState be response’s cache state.
|
|
1016
|
+
let cacheState = response.cacheState
|
|
1017
|
+
|
|
1018
|
+
// 4. Let bodyInfo be response’s body info.
|
|
1019
|
+
const bodyInfo = response.bodyInfo
|
|
1020
|
+
|
|
1021
|
+
// 5. If response’s timing allow passed flag is not set, then set timingInfo to the result of creating an
|
|
1022
|
+
// opaque timing info for timingInfo and set cacheState to the empty string.
|
|
1023
|
+
if (!response.timingAllowPassed) {
|
|
1024
|
+
timingInfo = createOpaqueTimingInfo(timingInfo)
|
|
1025
|
+
|
|
1026
|
+
cacheState = ''
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
// 6. Let responseStatus be 0.
|
|
1030
|
+
let responseStatus = 0
|
|
1031
|
+
|
|
1032
|
+
// 7. If fetchParams’s request’s mode is not "navigate" or response’s has-cross-origin-redirects is false:
|
|
1033
|
+
if (fetchParams.request.mode !== 'navigator' || !response.hasCrossOriginRedirects) {
|
|
1034
|
+
// 1. Set responseStatus to response’s status.
|
|
1035
|
+
responseStatus = response.status
|
|
1036
|
+
|
|
1037
|
+
// 2. Let mimeType be the result of extracting a MIME type from response’s header list.
|
|
1038
|
+
const mimeType = extractMimeType(response.headersList)
|
|
1039
|
+
|
|
1040
|
+
// 3. If mimeType is not failure, then set bodyInfo’s content type to the result of minimizing a supported MIME type given mimeType.
|
|
1041
|
+
if (mimeType !== 'failure') {
|
|
1042
|
+
bodyInfo.contentType = minimizeSupportedMimeType(mimeType)
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
// 8. If fetchParams’s request’s initiator type is non-null, then mark resource timing given timingInfo,
|
|
1047
|
+
// fetchParams’s request’s URL, fetchParams’s request’s initiator type, global, cacheState, bodyInfo,
|
|
1048
|
+
// and responseStatus.
|
|
1049
|
+
if (fetchParams.request.initiatorType != null) {
|
|
1050
|
+
markResourceTiming(timingInfo, fetchParams.request.url.href, fetchParams.request.initiatorType, globalThis, cacheState, bodyInfo, responseStatus)
|
|
1051
|
+
}
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
// 4. Let processResponseEndOfBodyTask be the following steps:
|
|
1055
|
+
const processResponseEndOfBodyTask = () => {
|
|
1056
|
+
// 1. Set fetchParams’s request’s done flag.
|
|
1057
|
+
fetchParams.request.done = true
|
|
1058
|
+
|
|
1059
|
+
// 2. If fetchParams’s process response end-of-body is non-null, then run fetchParams’s process
|
|
1060
|
+
// response end-of-body given response.
|
|
1061
|
+
if (fetchParams.processResponseEndOfBody != null) {
|
|
1062
|
+
queueMicrotask(() => fetchParams.processResponseEndOfBody(response))
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
// 3. If fetchParams’s request’s initiator type is non-null and fetchParams’s request’s client’s
|
|
1066
|
+
// global object is fetchParams’s task destination, then run fetchParams’s controller’s report
|
|
1067
|
+
// timing steps given fetchParams’s request’s client’s global object.
|
|
1068
|
+
if (fetchParams.request.initiatorType != null) {
|
|
1069
|
+
fetchParams.controller.reportTimingSteps()
|
|
1070
|
+
}
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
// 5. Queue a fetch task to run processResponseEndOfBodyTask with fetchParams’s task destination
|
|
1074
|
+
queueMicrotask(() => processResponseEndOfBodyTask())
|
|
1075
|
+
}
|
|
1076
|
+
|
|
1077
|
+
// 4. If fetchParams’s process response is non-null, then queue a fetch task to run fetchParams’s
|
|
1078
|
+
// process response given response, with fetchParams’s task destination.
|
|
1079
|
+
if (fetchParams.processResponse != null) {
|
|
1080
|
+
queueMicrotask(() => {
|
|
1081
|
+
fetchParams.processResponse(response)
|
|
1082
|
+
fetchParams.processResponse = null
|
|
1083
|
+
})
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
// 5. Let internalResponse be response, if response is a network error; otherwise response’s internal response.
|
|
1087
|
+
const internalResponse = response.type === 'error' ? response : (response.internalResponse ?? response)
|
|
1088
|
+
|
|
1089
|
+
// 6. If internalResponse’s body is null, then run processResponseEndOfBody.
|
|
1090
|
+
// 7. Otherwise:
|
|
1091
|
+
if (internalResponse.body == null) {
|
|
1092
|
+
processResponseEndOfBody()
|
|
1093
|
+
} else {
|
|
1094
|
+
// mcollina: all the following steps of the specs are skipped.
|
|
1095
|
+
// The internal transform stream is not needed.
|
|
1096
|
+
// See https://github.com/nodejs/undici/pull/3093#issuecomment-2050198541
|
|
1097
|
+
|
|
1098
|
+
// 1. Let transformStream be a new TransformStream.
|
|
1099
|
+
// 2. Let identityTransformAlgorithm be an algorithm which, given chunk, enqueues chunk in transformStream.
|
|
1100
|
+
// 3. Set up transformStream with transformAlgorithm set to identityTransformAlgorithm and flushAlgorithm
|
|
1101
|
+
// set to processResponseEndOfBody.
|
|
1102
|
+
// 4. Set internalResponse’s body’s stream to the result of internalResponse’s body’s stream piped through transformStream.
|
|
1103
|
+
|
|
1104
|
+
finished(internalResponse.body.stream, () => {
|
|
1105
|
+
processResponseEndOfBody()
|
|
1106
|
+
})
|
|
1107
|
+
}
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
// https://fetch.spec.whatwg.org/#http-fetch
|
|
1111
|
+
async function httpFetch (fetchParams) {
|
|
1112
|
+
// 1. Let request be fetchParams’s request.
|
|
1113
|
+
const request = fetchParams.request
|
|
1114
|
+
|
|
1115
|
+
// 2. Let response be null.
|
|
1116
|
+
let response = null
|
|
1117
|
+
|
|
1118
|
+
// 3. Let actualResponse be null.
|
|
1119
|
+
let actualResponse = null
|
|
1120
|
+
|
|
1121
|
+
// 4. Let timingInfo be fetchParams’s timing info.
|
|
1122
|
+
const timingInfo = fetchParams.timingInfo
|
|
1123
|
+
|
|
1124
|
+
// 5. If request’s service-workers mode is "all", then:
|
|
1125
|
+
if (request.serviceWorkers === 'all') {
|
|
1126
|
+
// TODO
|
|
1127
|
+
}
|
|
1128
|
+
|
|
1129
|
+
// 6. If response is null, then:
|
|
1130
|
+
if (response === null) {
|
|
1131
|
+
// 1. If makeCORSPreflight is true and one of these conditions is true:
|
|
1132
|
+
// TODO
|
|
1133
|
+
|
|
1134
|
+
// 2. If request’s redirect mode is "follow", then set request’s
|
|
1135
|
+
// service-workers mode to "none".
|
|
1136
|
+
if (request.redirect === 'follow') {
|
|
1137
|
+
request.serviceWorkers = 'none'
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
// 3. Set response and actualResponse to the result of running
|
|
1141
|
+
// HTTP-network-or-cache fetch given fetchParams.
|
|
1142
|
+
actualResponse = response = await httpNetworkOrCacheFetch(fetchParams)
|
|
1143
|
+
|
|
1144
|
+
// 4. If request’s response tainting is "cors" and a CORS check
|
|
1145
|
+
// for request and response returns failure, then return a network error.
|
|
1146
|
+
if (
|
|
1147
|
+
request.responseTainting === 'cors' &&
|
|
1148
|
+
corsCheck(request, response) === 'failure'
|
|
1149
|
+
) {
|
|
1150
|
+
return makeNetworkError('cors failure')
|
|
1151
|
+
}
|
|
1152
|
+
|
|
1153
|
+
// 5. If the TAO check for request and response returns failure, then set
|
|
1154
|
+
// request’s timing allow failed flag.
|
|
1155
|
+
if (TAOCheck(request, response) === 'failure') {
|
|
1156
|
+
request.timingAllowFailed = true
|
|
1157
|
+
}
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
// 7. If either request’s response tainting or response’s type
|
|
1161
|
+
// is "opaque", and the cross-origin resource policy check with
|
|
1162
|
+
// request’s origin, request’s client, request’s destination,
|
|
1163
|
+
// and actualResponse returns blocked, then return a network error.
|
|
1164
|
+
if (
|
|
1165
|
+
(request.responseTainting === 'opaque' || response.type === 'opaque') &&
|
|
1166
|
+
crossOriginResourcePolicyCheck(
|
|
1167
|
+
request.origin,
|
|
1168
|
+
request.client,
|
|
1169
|
+
request.destination,
|
|
1170
|
+
actualResponse
|
|
1171
|
+
) === 'blocked'
|
|
1172
|
+
) {
|
|
1173
|
+
return makeNetworkError('blocked')
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
// 8. If actualResponse’s status is a redirect status, then:
|
|
1177
|
+
if (redirectStatusSet.has(actualResponse.status)) {
|
|
1178
|
+
// 1. If actualResponse’s status is not 303, request’s body is not null,
|
|
1179
|
+
// and the connection uses HTTP/2, then user agents may, and are even
|
|
1180
|
+
// encouraged to, transmit an RST_STREAM frame.
|
|
1181
|
+
// See, https://github.com/whatwg/fetch/issues/1288
|
|
1182
|
+
if (request.redirect !== 'manual') {
|
|
1183
|
+
fetchParams.controller.connection.destroy(undefined, false)
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
// 2. Switch on request’s redirect mode:
|
|
1187
|
+
if (request.redirect === 'error') {
|
|
1188
|
+
// Set response to a network error.
|
|
1189
|
+
response = makeNetworkError('unexpected redirect')
|
|
1190
|
+
} else if (request.redirect === 'manual') {
|
|
1191
|
+
// Set response to an opaque-redirect filtered response whose internal
|
|
1192
|
+
// response is actualResponse.
|
|
1193
|
+
// NOTE(spec): On the web this would return an `opaqueredirect` response,
|
|
1194
|
+
// but that doesn't make sense server side.
|
|
1195
|
+
// See https://github.com/nodejs/undici/issues/1193.
|
|
1196
|
+
response = actualResponse
|
|
1197
|
+
} else if (request.redirect === 'follow') {
|
|
1198
|
+
// Set response to the result of running HTTP-redirect fetch given
|
|
1199
|
+
// fetchParams and response.
|
|
1200
|
+
response = await httpRedirectFetch(fetchParams, response)
|
|
1201
|
+
} else {
|
|
1202
|
+
assert(false)
|
|
1203
|
+
}
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
// 9. Set response’s timing info to timingInfo.
|
|
1207
|
+
response.timingInfo = timingInfo
|
|
1208
|
+
|
|
1209
|
+
// 10. Return response.
|
|
1210
|
+
return response
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
// https://fetch.spec.whatwg.org/#http-redirect-fetch
|
|
1214
|
+
function httpRedirectFetch (fetchParams, response) {
|
|
1215
|
+
// 1. Let request be fetchParams’s request.
|
|
1216
|
+
const request = fetchParams.request
|
|
1217
|
+
|
|
1218
|
+
// 2. Let actualResponse be response, if response is not a filtered response,
|
|
1219
|
+
// and response’s internal response otherwise.
|
|
1220
|
+
const actualResponse = response.internalResponse
|
|
1221
|
+
? response.internalResponse
|
|
1222
|
+
: response
|
|
1223
|
+
|
|
1224
|
+
// 3. Let locationURL be actualResponse’s location URL given request’s current
|
|
1225
|
+
// URL’s fragment.
|
|
1226
|
+
let locationURL
|
|
1227
|
+
|
|
1228
|
+
try {
|
|
1229
|
+
locationURL = responseLocationURL(
|
|
1230
|
+
actualResponse,
|
|
1231
|
+
requestCurrentURL(request).hash
|
|
1232
|
+
)
|
|
1233
|
+
|
|
1234
|
+
// 4. If locationURL is null, then return response.
|
|
1235
|
+
if (locationURL == null) {
|
|
1236
|
+
return response
|
|
1237
|
+
}
|
|
1238
|
+
} catch (err) {
|
|
1239
|
+
// 5. If locationURL is failure, then return a network error.
|
|
1240
|
+
return Promise.resolve(makeNetworkError(err))
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
// 6. If locationURL’s scheme is not an HTTP(S) scheme, then return a network
|
|
1244
|
+
// error.
|
|
1245
|
+
if (!urlIsHttpHttpsScheme(locationURL)) {
|
|
1246
|
+
return Promise.resolve(makeNetworkError('URL scheme must be a HTTP(S) scheme'))
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
// 7. If request’s redirect count is 20, then return a network error.
|
|
1250
|
+
if (request.redirectCount === 20) {
|
|
1251
|
+
return Promise.resolve(makeNetworkError('redirect count exceeded'))
|
|
1252
|
+
}
|
|
1253
|
+
|
|
1254
|
+
// 8. Increase request’s redirect count by 1.
|
|
1255
|
+
request.redirectCount += 1
|
|
1256
|
+
|
|
1257
|
+
// 9. If request’s mode is "cors", locationURL includes credentials, and
|
|
1258
|
+
// request’s origin is not same origin with locationURL’s origin, then return
|
|
1259
|
+
// a network error.
|
|
1260
|
+
if (
|
|
1261
|
+
request.mode === 'cors' &&
|
|
1262
|
+
(locationURL.username || locationURL.password) &&
|
|
1263
|
+
!sameOrigin(request, locationURL)
|
|
1264
|
+
) {
|
|
1265
|
+
return Promise.resolve(makeNetworkError('cross origin not allowed for request mode "cors"'))
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1268
|
+
// 10. If request’s response tainting is "cors" and locationURL includes
|
|
1269
|
+
// credentials, then return a network error.
|
|
1270
|
+
if (
|
|
1271
|
+
request.responseTainting === 'cors' &&
|
|
1272
|
+
(locationURL.username || locationURL.password)
|
|
1273
|
+
) {
|
|
1274
|
+
return Promise.resolve(makeNetworkError(
|
|
1275
|
+
'URL cannot contain credentials for request mode "cors"'
|
|
1276
|
+
))
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
// 11. If actualResponse’s status is not 303, request’s body is non-null,
|
|
1280
|
+
// and request’s body’s source is null, then return a network error.
|
|
1281
|
+
if (
|
|
1282
|
+
actualResponse.status !== 303 &&
|
|
1283
|
+
request.body != null &&
|
|
1284
|
+
request.body.source == null
|
|
1285
|
+
) {
|
|
1286
|
+
return Promise.resolve(makeNetworkError())
|
|
1287
|
+
}
|
|
1288
|
+
|
|
1289
|
+
// 12. If one of the following is true
|
|
1290
|
+
// - actualResponse’s status is 301 or 302 and request’s method is `POST`
|
|
1291
|
+
// - actualResponse’s status is 303 and request’s method is not `GET` or `HEAD`
|
|
1292
|
+
if (
|
|
1293
|
+
([301, 302].includes(actualResponse.status) && request.method === 'POST') ||
|
|
1294
|
+
(actualResponse.status === 303 &&
|
|
1295
|
+
!GET_OR_HEAD.includes(request.method))
|
|
1296
|
+
) {
|
|
1297
|
+
// then:
|
|
1298
|
+
// 1. Set request’s method to `GET` and request’s body to null.
|
|
1299
|
+
request.method = 'GET'
|
|
1300
|
+
request.body = null
|
|
1301
|
+
|
|
1302
|
+
// 2. For each headerName of request-body-header name, delete headerName from
|
|
1303
|
+
// request’s header list.
|
|
1304
|
+
for (const headerName of requestBodyHeader) {
|
|
1305
|
+
request.headersList.delete(headerName)
|
|
1306
|
+
}
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1309
|
+
// 13. If request’s current URL’s origin is not same origin with locationURL’s
|
|
1310
|
+
// origin, then for each headerName of CORS non-wildcard request-header name,
|
|
1311
|
+
// delete headerName from request’s header list.
|
|
1312
|
+
if (!sameOrigin(requestCurrentURL(request), locationURL)) {
|
|
1313
|
+
// https://fetch.spec.whatwg.org/#cors-non-wildcard-request-header-name
|
|
1314
|
+
request.headersList.delete('authorization', true)
|
|
1315
|
+
|
|
1316
|
+
// https://fetch.spec.whatwg.org/#authentication-entries
|
|
1317
|
+
request.headersList.delete('proxy-authorization', true)
|
|
1318
|
+
|
|
1319
|
+
// "Cookie" and "Host" are forbidden request-headers, which undici doesn't implement.
|
|
1320
|
+
request.headersList.delete('cookie', true)
|
|
1321
|
+
request.headersList.delete('host', true)
|
|
1322
|
+
}
|
|
1323
|
+
|
|
1324
|
+
// 14. If request's body is non-null, then set request's body to the first return
|
|
1325
|
+
// value of safely extracting request's body's source.
|
|
1326
|
+
if (request.body != null) {
|
|
1327
|
+
assert(request.body.source != null)
|
|
1328
|
+
request.body = safelyExtractBody(request.body.source)[0]
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1331
|
+
// 15. Let timingInfo be fetchParams’s timing info.
|
|
1332
|
+
const timingInfo = fetchParams.timingInfo
|
|
1333
|
+
|
|
1334
|
+
// 16. Set timingInfo’s redirect end time and post-redirect start time to the
|
|
1335
|
+
// coarsened shared current time given fetchParams’s cross-origin isolated
|
|
1336
|
+
// capability.
|
|
1337
|
+
timingInfo.redirectEndTime = timingInfo.postRedirectStartTime =
|
|
1338
|
+
coarsenedSharedCurrentTime(fetchParams.crossOriginIsolatedCapability)
|
|
1339
|
+
|
|
1340
|
+
// 17. If timingInfo’s redirect start time is 0, then set timingInfo’s
|
|
1341
|
+
// redirect start time to timingInfo’s start time.
|
|
1342
|
+
if (timingInfo.redirectStartTime === 0) {
|
|
1343
|
+
timingInfo.redirectStartTime = timingInfo.startTime
|
|
1344
|
+
}
|
|
1345
|
+
|
|
1346
|
+
// 18. Append locationURL to request’s URL list.
|
|
1347
|
+
request.urlList.push(locationURL)
|
|
1348
|
+
|
|
1349
|
+
// 19. Invoke set request’s referrer policy on redirect on request and
|
|
1350
|
+
// actualResponse.
|
|
1351
|
+
setRequestReferrerPolicyOnRedirect(request, actualResponse)
|
|
1352
|
+
|
|
1353
|
+
// 20. Return the result of running main fetch given fetchParams and true.
|
|
1354
|
+
return mainFetch(fetchParams, true)
|
|
1355
|
+
}
|
|
1356
|
+
|
|
1357
|
+
// https://fetch.spec.whatwg.org/#http-network-or-cache-fetch
|
|
1358
|
+
async function httpNetworkOrCacheFetch (
|
|
1359
|
+
fetchParams,
|
|
1360
|
+
isAuthenticationFetch = false,
|
|
1361
|
+
isNewConnectionFetch = false
|
|
1362
|
+
) {
|
|
1363
|
+
// 1. Let request be fetchParams’s request.
|
|
1364
|
+
const request = fetchParams.request
|
|
1365
|
+
|
|
1366
|
+
// 2. Let httpFetchParams be null.
|
|
1367
|
+
let httpFetchParams = null
|
|
1368
|
+
|
|
1369
|
+
// 3. Let httpRequest be null.
|
|
1370
|
+
let httpRequest = null
|
|
1371
|
+
|
|
1372
|
+
// 4. Let response be null.
|
|
1373
|
+
let response = null
|
|
1374
|
+
|
|
1375
|
+
// 5. Let storedResponse be null.
|
|
1376
|
+
// TODO: cache
|
|
1377
|
+
|
|
1378
|
+
// 6. Let httpCache be null.
|
|
1379
|
+
const httpCache = null
|
|
1380
|
+
|
|
1381
|
+
// 7. Let the revalidatingFlag be unset.
|
|
1382
|
+
const revalidatingFlag = false
|
|
1383
|
+
|
|
1384
|
+
// 8. Run these steps, but abort when the ongoing fetch is terminated:
|
|
1385
|
+
|
|
1386
|
+
// 1. If request’s window is "no-window" and request’s redirect mode is
|
|
1387
|
+
// "error", then set httpFetchParams to fetchParams and httpRequest to
|
|
1388
|
+
// request.
|
|
1389
|
+
if (request.window === 'no-window' && request.redirect === 'error') {
|
|
1390
|
+
httpFetchParams = fetchParams
|
|
1391
|
+
httpRequest = request
|
|
1392
|
+
} else {
|
|
1393
|
+
// Otherwise:
|
|
1394
|
+
|
|
1395
|
+
// 1. Set httpRequest to a clone of request.
|
|
1396
|
+
httpRequest = cloneRequest(request)
|
|
1397
|
+
|
|
1398
|
+
// 2. Set httpFetchParams to a copy of fetchParams.
|
|
1399
|
+
httpFetchParams = { ...fetchParams }
|
|
1400
|
+
|
|
1401
|
+
// 3. Set httpFetchParams’s request to httpRequest.
|
|
1402
|
+
httpFetchParams.request = httpRequest
|
|
1403
|
+
}
|
|
1404
|
+
|
|
1405
|
+
// 3. Let includeCredentials be true if one of
|
|
1406
|
+
const includeCredentials =
|
|
1407
|
+
request.credentials === 'include' ||
|
|
1408
|
+
(request.credentials === 'same-origin' &&
|
|
1409
|
+
request.responseTainting === 'basic')
|
|
1410
|
+
|
|
1411
|
+
// 4. Let contentLength be httpRequest’s body’s length, if httpRequest’s
|
|
1412
|
+
// body is non-null; otherwise null.
|
|
1413
|
+
const contentLength = httpRequest.body ? httpRequest.body.length : null
|
|
1414
|
+
|
|
1415
|
+
// 5. Let contentLengthHeaderValue be null.
|
|
1416
|
+
let contentLengthHeaderValue = null
|
|
1417
|
+
|
|
1418
|
+
// 6. If httpRequest’s body is null and httpRequest’s method is `POST` or
|
|
1419
|
+
// `PUT`, then set contentLengthHeaderValue to `0`.
|
|
1420
|
+
if (
|
|
1421
|
+
httpRequest.body == null &&
|
|
1422
|
+
['POST', 'PUT'].includes(httpRequest.method)
|
|
1423
|
+
) {
|
|
1424
|
+
contentLengthHeaderValue = '0'
|
|
1425
|
+
}
|
|
1426
|
+
|
|
1427
|
+
// 7. If contentLength is non-null, then set contentLengthHeaderValue to
|
|
1428
|
+
// contentLength, serialized and isomorphic encoded.
|
|
1429
|
+
if (contentLength != null) {
|
|
1430
|
+
contentLengthHeaderValue = isomorphicEncode(`${contentLength}`)
|
|
1431
|
+
}
|
|
1432
|
+
|
|
1433
|
+
// 8. If contentLengthHeaderValue is non-null, then append
|
|
1434
|
+
// `Content-Length`/contentLengthHeaderValue to httpRequest’s header
|
|
1435
|
+
// list.
|
|
1436
|
+
if (contentLengthHeaderValue != null) {
|
|
1437
|
+
httpRequest.headersList.append('content-length', contentLengthHeaderValue, true)
|
|
1438
|
+
}
|
|
1439
|
+
|
|
1440
|
+
// 9. If contentLengthHeaderValue is non-null, then append (`Content-Length`,
|
|
1441
|
+
// contentLengthHeaderValue) to httpRequest’s header list.
|
|
1442
|
+
|
|
1443
|
+
// 10. If contentLength is non-null and httpRequest’s keepalive is true,
|
|
1444
|
+
// then:
|
|
1445
|
+
if (contentLength != null && httpRequest.keepalive) {
|
|
1446
|
+
// NOTE: keepalive is a noop outside of browser context.
|
|
1447
|
+
}
|
|
1448
|
+
|
|
1449
|
+
// 11. If httpRequest’s referrer is a URL, then append
|
|
1450
|
+
// `Referer`/httpRequest’s referrer, serialized and isomorphic encoded,
|
|
1451
|
+
// to httpRequest’s header list.
|
|
1452
|
+
if (webidl.is.URL(httpRequest.referrer)) {
|
|
1453
|
+
httpRequest.headersList.append('referer', isomorphicEncode(httpRequest.referrer.href), true)
|
|
1454
|
+
}
|
|
1455
|
+
|
|
1456
|
+
// 12. Append a request `Origin` header for httpRequest.
|
|
1457
|
+
appendRequestOriginHeader(httpRequest)
|
|
1458
|
+
|
|
1459
|
+
// 13. Append the Fetch metadata headers for httpRequest. [FETCH-METADATA]
|
|
1460
|
+
appendFetchMetadata(httpRequest)
|
|
1461
|
+
|
|
1462
|
+
// 14. If httpRequest’s header list does not contain `User-Agent`, then
|
|
1463
|
+
// user agents should append `User-Agent`/default `User-Agent` value to
|
|
1464
|
+
// httpRequest’s header list.
|
|
1465
|
+
if (!httpRequest.headersList.contains('user-agent', true)) {
|
|
1466
|
+
httpRequest.headersList.append('user-agent', defaultUserAgent, true)
|
|
1467
|
+
}
|
|
1468
|
+
|
|
1469
|
+
// 15. If httpRequest’s cache mode is "default" and httpRequest’s header
|
|
1470
|
+
// list contains `If-Modified-Since`, `If-None-Match`,
|
|
1471
|
+
// `If-Unmodified-Since`, `If-Match`, or `If-Range`, then set
|
|
1472
|
+
// httpRequest’s cache mode to "no-store".
|
|
1473
|
+
if (
|
|
1474
|
+
httpRequest.cache === 'default' &&
|
|
1475
|
+
(httpRequest.headersList.contains('if-modified-since', true) ||
|
|
1476
|
+
httpRequest.headersList.contains('if-none-match', true) ||
|
|
1477
|
+
httpRequest.headersList.contains('if-unmodified-since', true) ||
|
|
1478
|
+
httpRequest.headersList.contains('if-match', true) ||
|
|
1479
|
+
httpRequest.headersList.contains('if-range', true))
|
|
1480
|
+
) {
|
|
1481
|
+
httpRequest.cache = 'no-store'
|
|
1482
|
+
}
|
|
1483
|
+
|
|
1484
|
+
// 16. If httpRequest’s cache mode is "no-cache", httpRequest’s prevent
|
|
1485
|
+
// no-cache cache-control header modification flag is unset, and
|
|
1486
|
+
// httpRequest’s header list does not contain `Cache-Control`, then append
|
|
1487
|
+
// `Cache-Control`/`max-age=0` to httpRequest’s header list.
|
|
1488
|
+
if (
|
|
1489
|
+
httpRequest.cache === 'no-cache' &&
|
|
1490
|
+
!httpRequest.preventNoCacheCacheControlHeaderModification &&
|
|
1491
|
+
!httpRequest.headersList.contains('cache-control', true)
|
|
1492
|
+
) {
|
|
1493
|
+
httpRequest.headersList.append('cache-control', 'max-age=0', true)
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
// 17. If httpRequest’s cache mode is "no-store" or "reload", then:
|
|
1497
|
+
if (httpRequest.cache === 'no-store' || httpRequest.cache === 'reload') {
|
|
1498
|
+
// 1. If httpRequest’s header list does not contain `Pragma`, then append
|
|
1499
|
+
// `Pragma`/`no-cache` to httpRequest’s header list.
|
|
1500
|
+
if (!httpRequest.headersList.contains('pragma', true)) {
|
|
1501
|
+
httpRequest.headersList.append('pragma', 'no-cache', true)
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1504
|
+
// 2. If httpRequest’s header list does not contain `Cache-Control`,
|
|
1505
|
+
// then append `Cache-Control`/`no-cache` to httpRequest’s header list.
|
|
1506
|
+
if (!httpRequest.headersList.contains('cache-control', true)) {
|
|
1507
|
+
httpRequest.headersList.append('cache-control', 'no-cache', true)
|
|
1508
|
+
}
|
|
1509
|
+
}
|
|
1510
|
+
|
|
1511
|
+
// 18. If httpRequest’s header list contains `Range`, then append
|
|
1512
|
+
// `Accept-Encoding`/`identity` to httpRequest’s header list.
|
|
1513
|
+
if (httpRequest.headersList.contains('range', true)) {
|
|
1514
|
+
httpRequest.headersList.append('accept-encoding', 'identity', true)
|
|
1515
|
+
}
|
|
1516
|
+
|
|
1517
|
+
// 19. Modify httpRequest’s header list per HTTP. Do not append a given
|
|
1518
|
+
// header if httpRequest’s header list contains that header’s name.
|
|
1519
|
+
// TODO: https://github.com/whatwg/fetch/issues/1285#issuecomment-896560129
|
|
1520
|
+
if (!httpRequest.headersList.contains('accept-encoding', true)) {
|
|
1521
|
+
if (urlHasHttpsScheme(requestCurrentURL(httpRequest))) {
|
|
1522
|
+
httpRequest.headersList.append('accept-encoding', 'br, gzip, deflate', true)
|
|
1523
|
+
} else {
|
|
1524
|
+
httpRequest.headersList.append('accept-encoding', 'gzip, deflate', true)
|
|
1525
|
+
}
|
|
1526
|
+
}
|
|
1527
|
+
|
|
1528
|
+
httpRequest.headersList.delete('host', true)
|
|
1529
|
+
|
|
1530
|
+
// 21. If includeCredentials is true, then:
|
|
1531
|
+
if (includeCredentials) {
|
|
1532
|
+
// 1. If the user agent is not configured to block cookies for httpRequest
|
|
1533
|
+
// (see section 7 of [COOKIES]), then:
|
|
1534
|
+
// TODO: credentials
|
|
1535
|
+
|
|
1536
|
+
// 2. If httpRequest’s header list does not contain `Authorization`, then:
|
|
1537
|
+
if (!httpRequest.headersList.contains('authorization', true)) {
|
|
1538
|
+
// 1. Let authorizationValue be null.
|
|
1539
|
+
let authorizationValue = null
|
|
1540
|
+
|
|
1541
|
+
// 2. If there’s an authentication entry for httpRequest and either
|
|
1542
|
+
// httpRequest’s use-URL-credentials flag is unset or httpRequest’s
|
|
1543
|
+
// current URL does not include credentials, then set
|
|
1544
|
+
// authorizationValue to authentication entry.
|
|
1545
|
+
if (hasAuthenticationEntry(httpRequest) && (
|
|
1546
|
+
httpRequest.useURLCredentials === undefined || !includesCredentials(requestCurrentURL(httpRequest))
|
|
1547
|
+
)) {
|
|
1548
|
+
// TODO
|
|
1549
|
+
} else if (includesCredentials(requestCurrentURL(httpRequest)) && isAuthenticationFetch) {
|
|
1550
|
+
// 3. Otherwise, if httpRequest’s current URL does include credentials
|
|
1551
|
+
// and isAuthenticationFetch is true, set authorizationValue to
|
|
1552
|
+
// httpRequest’s current URL, converted to an `Authorization` value
|
|
1553
|
+
const { username, password } = requestCurrentURL(httpRequest)
|
|
1554
|
+
authorizationValue = `Basic ${Buffer.from(`${username}:${password}`).toString('base64')}`
|
|
1555
|
+
}
|
|
1556
|
+
|
|
1557
|
+
// 4. If authorizationValue is non-null, then append (`Authorization`,
|
|
1558
|
+
// authorizationValue) to httpRequest’s header list.
|
|
1559
|
+
if (authorizationValue !== null) {
|
|
1560
|
+
httpRequest.headersList.append('Authorization', authorizationValue, false)
|
|
1561
|
+
}
|
|
1562
|
+
}
|
|
1563
|
+
}
|
|
1564
|
+
|
|
1565
|
+
// 21. If there’s a proxy-authentication entry, use it as appropriate.
|
|
1566
|
+
// TODO: proxy-authentication
|
|
1567
|
+
|
|
1568
|
+
// 22. Set httpCache to the result of determining the HTTP cache
|
|
1569
|
+
// partition, given httpRequest.
|
|
1570
|
+
// TODO: cache
|
|
1571
|
+
|
|
1572
|
+
// 23. If httpCache is null, then set httpRequest’s cache mode to
|
|
1573
|
+
// "no-store".
|
|
1574
|
+
if (httpCache == null) {
|
|
1575
|
+
httpRequest.cache = 'no-store'
|
|
1576
|
+
}
|
|
1577
|
+
|
|
1578
|
+
// 24. If httpRequest’s cache mode is neither "no-store" nor "reload",
|
|
1579
|
+
// then:
|
|
1580
|
+
if (httpRequest.cache !== 'no-store' && httpRequest.cache !== 'reload') {
|
|
1581
|
+
// TODO: cache
|
|
1582
|
+
}
|
|
1583
|
+
|
|
1584
|
+
// 9. If aborted, then return the appropriate network error for fetchParams.
|
|
1585
|
+
// TODO
|
|
1586
|
+
|
|
1587
|
+
// 10. If response is null, then:
|
|
1588
|
+
if (response == null) {
|
|
1589
|
+
// 1. If httpRequest’s cache mode is "only-if-cached", then return a
|
|
1590
|
+
// network error.
|
|
1591
|
+
if (httpRequest.cache === 'only-if-cached') {
|
|
1592
|
+
return makeNetworkError('only if cached')
|
|
1593
|
+
}
|
|
1594
|
+
|
|
1595
|
+
// 2. Let forwardResponse be the result of running HTTP-network fetch
|
|
1596
|
+
// given httpFetchParams, includeCredentials, and isNewConnectionFetch.
|
|
1597
|
+
const forwardResponse = await httpNetworkFetch(
|
|
1598
|
+
httpFetchParams,
|
|
1599
|
+
includeCredentials,
|
|
1600
|
+
isNewConnectionFetch
|
|
1601
|
+
)
|
|
1602
|
+
|
|
1603
|
+
// 3. If httpRequest’s method is unsafe and forwardResponse’s status is
|
|
1604
|
+
// in the range 200 to 399, inclusive, invalidate appropriate stored
|
|
1605
|
+
// responses in httpCache, as per the "Invalidation" chapter of HTTP
|
|
1606
|
+
// Caching, and set storedResponse to null. [HTTP-CACHING]
|
|
1607
|
+
if (
|
|
1608
|
+
!safeMethodsSet.has(httpRequest.method) &&
|
|
1609
|
+
forwardResponse.status >= 200 &&
|
|
1610
|
+
forwardResponse.status <= 399
|
|
1611
|
+
) {
|
|
1612
|
+
// TODO: cache
|
|
1613
|
+
}
|
|
1614
|
+
|
|
1615
|
+
// 4. If the revalidatingFlag is set and forwardResponse’s status is 304,
|
|
1616
|
+
// then:
|
|
1617
|
+
if (revalidatingFlag && forwardResponse.status === 304) {
|
|
1618
|
+
// TODO: cache
|
|
1619
|
+
}
|
|
1620
|
+
|
|
1621
|
+
// 5. If response is null, then:
|
|
1622
|
+
if (response == null) {
|
|
1623
|
+
// 1. Set response to forwardResponse.
|
|
1624
|
+
response = forwardResponse
|
|
1625
|
+
|
|
1626
|
+
// 2. Store httpRequest and forwardResponse in httpCache, as per the
|
|
1627
|
+
// "Storing Responses in Caches" chapter of HTTP Caching. [HTTP-CACHING]
|
|
1628
|
+
// TODO: cache
|
|
1629
|
+
}
|
|
1630
|
+
}
|
|
1631
|
+
|
|
1632
|
+
// 11. Set response’s URL list to a clone of httpRequest’s URL list.
|
|
1633
|
+
response.urlList = [...httpRequest.urlList]
|
|
1634
|
+
|
|
1635
|
+
// 12. If httpRequest’s header list contains `Range`, then set response’s
|
|
1636
|
+
// range-requested flag.
|
|
1637
|
+
if (httpRequest.headersList.contains('range', true)) {
|
|
1638
|
+
response.rangeRequested = true
|
|
1639
|
+
}
|
|
1640
|
+
|
|
1641
|
+
// 13. Set response’s request-includes-credentials to includeCredentials.
|
|
1642
|
+
response.requestIncludesCredentials = includeCredentials
|
|
1643
|
+
|
|
1644
|
+
// 14. If response’s status is 401, httpRequest’s response tainting is not "cors",
|
|
1645
|
+
// includeCredentials is true, and request’s traversable for user prompts is
|
|
1646
|
+
// a traversable navigable:
|
|
1647
|
+
if (response.status === 401 && httpRequest.responseTainting !== 'cors' && includeCredentials && isTraversableNavigable(request.traversableForUserPrompts)) {
|
|
1648
|
+
// 2. If request’s body is non-null, then:
|
|
1649
|
+
if (request.body != null) {
|
|
1650
|
+
// 1. If request’s body’s source is null, then return a network error.
|
|
1651
|
+
if (request.body.source == null) {
|
|
1652
|
+
return makeNetworkError('expected non-null body source')
|
|
1653
|
+
}
|
|
1654
|
+
|
|
1655
|
+
// 2. Set request’s body to the body of the result of safely extracting
|
|
1656
|
+
// request’s body’s source.
|
|
1657
|
+
request.body = safelyExtractBody(request.body.source)[0]
|
|
1658
|
+
}
|
|
1659
|
+
|
|
1660
|
+
// 3. If request’s use-URL-credentials flag is unset or isAuthenticationFetch is
|
|
1661
|
+
// true, then:
|
|
1662
|
+
if (request.useURLCredentials === undefined || isAuthenticationFetch) {
|
|
1663
|
+
// 1. If fetchParams is canceled, then return the appropriate network error
|
|
1664
|
+
// for fetchParams.
|
|
1665
|
+
if (isCancelled(fetchParams)) {
|
|
1666
|
+
return makeAppropriateNetworkError(fetchParams)
|
|
1667
|
+
}
|
|
1668
|
+
|
|
1669
|
+
// 2. Let username and password be the result of prompting the end user for a
|
|
1670
|
+
// username and password, respectively, in request’s traversable for user prompts.
|
|
1671
|
+
// TODO
|
|
1672
|
+
|
|
1673
|
+
// 3. Set the username given request’s current URL and username.
|
|
1674
|
+
// requestCurrentURL(request).username = TODO
|
|
1675
|
+
|
|
1676
|
+
// 4. Set the password given request’s current URL and password.
|
|
1677
|
+
// requestCurrentURL(request).password = TODO
|
|
1678
|
+
|
|
1679
|
+
// In browsers, the user will be prompted to enter a username/password before the request
|
|
1680
|
+
// is re-sent. To prevent an infinite 401 loop, return the response for now.
|
|
1681
|
+
// https://github.com/nodejs/undici/pull/4756
|
|
1682
|
+
return response
|
|
1683
|
+
}
|
|
1684
|
+
|
|
1685
|
+
// 4. Set response to the result of running HTTP-network-or-cache fetch given
|
|
1686
|
+
// fetchParams and true.
|
|
1687
|
+
fetchParams.controller.connection.destroy()
|
|
1688
|
+
|
|
1689
|
+
response = await httpNetworkOrCacheFetch(fetchParams, true)
|
|
1690
|
+
}
|
|
1691
|
+
|
|
1692
|
+
// 15. If response’s status is 407, then:
|
|
1693
|
+
if (response.status === 407) {
|
|
1694
|
+
// 1. If request’s window is "no-window", then return a network error.
|
|
1695
|
+
if (request.window === 'no-window') {
|
|
1696
|
+
return makeNetworkError()
|
|
1697
|
+
}
|
|
1698
|
+
|
|
1699
|
+
// 2. ???
|
|
1700
|
+
|
|
1701
|
+
// 3. If fetchParams is canceled, then return the appropriate network error for fetchParams.
|
|
1702
|
+
if (isCancelled(fetchParams)) {
|
|
1703
|
+
return makeAppropriateNetworkError(fetchParams)
|
|
1704
|
+
}
|
|
1705
|
+
|
|
1706
|
+
// 4. Prompt the end user as appropriate in request’s window and store
|
|
1707
|
+
// the result as a proxy-authentication entry. [HTTP-AUTH]
|
|
1708
|
+
// TODO: Invoke some kind of callback?
|
|
1709
|
+
|
|
1710
|
+
// 5. Set response to the result of running HTTP-network-or-cache fetch given
|
|
1711
|
+
// fetchParams.
|
|
1712
|
+
// TODO
|
|
1713
|
+
return makeNetworkError('proxy authentication required')
|
|
1714
|
+
}
|
|
1715
|
+
|
|
1716
|
+
// 16. If all of the following are true
|
|
1717
|
+
if (
|
|
1718
|
+
// response’s status is 421
|
|
1719
|
+
response.status === 421 &&
|
|
1720
|
+
// isNewConnectionFetch is false
|
|
1721
|
+
!isNewConnectionFetch &&
|
|
1722
|
+
// request’s body is null, or request’s body is non-null and request’s body’s source is non-null
|
|
1723
|
+
(request.body == null || request.body.source != null)
|
|
1724
|
+
) {
|
|
1725
|
+
// then:
|
|
1726
|
+
|
|
1727
|
+
// 1. If fetchParams is canceled, then return the appropriate network error for fetchParams.
|
|
1728
|
+
if (isCancelled(fetchParams)) {
|
|
1729
|
+
return makeAppropriateNetworkError(fetchParams)
|
|
1730
|
+
}
|
|
1731
|
+
|
|
1732
|
+
// 2. Set response to the result of running HTTP-network-or-cache
|
|
1733
|
+
// fetch given fetchParams, isAuthenticationFetch, and true.
|
|
1734
|
+
|
|
1735
|
+
// TODO (spec): The spec doesn't specify this but we need to cancel
|
|
1736
|
+
// the active response before we can start a new one.
|
|
1737
|
+
// https://github.com/whatwg/fetch/issues/1293
|
|
1738
|
+
fetchParams.controller.connection.destroy()
|
|
1739
|
+
|
|
1740
|
+
response = await httpNetworkOrCacheFetch(
|
|
1741
|
+
fetchParams,
|
|
1742
|
+
isAuthenticationFetch,
|
|
1743
|
+
true
|
|
1744
|
+
)
|
|
1745
|
+
}
|
|
1746
|
+
|
|
1747
|
+
// 17. If isAuthenticationFetch is true, then create an authentication entry
|
|
1748
|
+
if (isAuthenticationFetch) {
|
|
1749
|
+
// TODO
|
|
1750
|
+
}
|
|
1751
|
+
|
|
1752
|
+
// 18. Return response.
|
|
1753
|
+
return response
|
|
1754
|
+
}
|
|
1755
|
+
|
|
1756
|
+
// https://fetch.spec.whatwg.org/#http-network-fetch
|
|
1757
|
+
async function httpNetworkFetch (
|
|
1758
|
+
fetchParams,
|
|
1759
|
+
includeCredentials = false,
|
|
1760
|
+
forceNewConnection = false
|
|
1761
|
+
) {
|
|
1762
|
+
assert(!fetchParams.controller.connection || fetchParams.controller.connection.destroyed)
|
|
1763
|
+
|
|
1764
|
+
fetchParams.controller.connection = {
|
|
1765
|
+
abort: null,
|
|
1766
|
+
destroyed: false,
|
|
1767
|
+
destroy (err, abort = true) {
|
|
1768
|
+
if (!this.destroyed) {
|
|
1769
|
+
this.destroyed = true
|
|
1770
|
+
if (abort) {
|
|
1771
|
+
this.abort?.(err ?? new DOMException('The operation was aborted.', 'AbortError'))
|
|
1772
|
+
}
|
|
1773
|
+
}
|
|
1774
|
+
}
|
|
1775
|
+
}
|
|
1776
|
+
|
|
1777
|
+
// 1. Let request be fetchParams’s request.
|
|
1778
|
+
const request = fetchParams.request
|
|
1779
|
+
|
|
1780
|
+
// 2. Let response be null.
|
|
1781
|
+
let response = null
|
|
1782
|
+
|
|
1783
|
+
// 3. Let timingInfo be fetchParams’s timing info.
|
|
1784
|
+
const timingInfo = fetchParams.timingInfo
|
|
1785
|
+
|
|
1786
|
+
// 4. Let httpCache be the result of determining the HTTP cache partition,
|
|
1787
|
+
// given request.
|
|
1788
|
+
// TODO: cache
|
|
1789
|
+
const httpCache = null
|
|
1790
|
+
|
|
1791
|
+
// 5. If httpCache is null, then set request’s cache mode to "no-store".
|
|
1792
|
+
if (httpCache == null) {
|
|
1793
|
+
request.cache = 'no-store'
|
|
1794
|
+
}
|
|
1795
|
+
|
|
1796
|
+
// 6. Let networkPartitionKey be the result of determining the network
|
|
1797
|
+
// partition key given request.
|
|
1798
|
+
// TODO
|
|
1799
|
+
|
|
1800
|
+
// 7. Let newConnection be "yes" if forceNewConnection is true; otherwise
|
|
1801
|
+
// "no".
|
|
1802
|
+
const newConnection = forceNewConnection ? 'yes' : 'no' // eslint-disable-line no-unused-vars
|
|
1803
|
+
|
|
1804
|
+
// 8. Switch on request’s mode:
|
|
1805
|
+
if (request.mode === 'websocket') {
|
|
1806
|
+
// Let connection be the result of obtaining a WebSocket connection,
|
|
1807
|
+
// given request’s current URL.
|
|
1808
|
+
// TODO
|
|
1809
|
+
} else {
|
|
1810
|
+
// Let connection be the result of obtaining a connection, given
|
|
1811
|
+
// networkPartitionKey, request’s current URL’s origin,
|
|
1812
|
+
// includeCredentials, and forceNewConnection.
|
|
1813
|
+
// TODO
|
|
1814
|
+
}
|
|
1815
|
+
|
|
1816
|
+
// 9. Run these steps, but abort when the ongoing fetch is terminated:
|
|
1817
|
+
|
|
1818
|
+
// 1. If connection is failure, then return a network error.
|
|
1819
|
+
|
|
1820
|
+
// 2. Set timingInfo’s final connection timing info to the result of
|
|
1821
|
+
// calling clamp and coarsen connection timing info with connection’s
|
|
1822
|
+
// timing info, timingInfo’s post-redirect start time, and fetchParams’s
|
|
1823
|
+
// cross-origin isolated capability.
|
|
1824
|
+
|
|
1825
|
+
// 3. If connection is not an HTTP/2 connection, request’s body is non-null,
|
|
1826
|
+
// and request’s body’s source is null, then append (`Transfer-Encoding`,
|
|
1827
|
+
// `chunked`) to request’s header list.
|
|
1828
|
+
|
|
1829
|
+
// 4. Set timingInfo’s final network-request start time to the coarsened
|
|
1830
|
+
// shared current time given fetchParams’s cross-origin isolated
|
|
1831
|
+
// capability.
|
|
1832
|
+
|
|
1833
|
+
// 5. Set response to the result of making an HTTP request over connection
|
|
1834
|
+
// using request with the following caveats:
|
|
1835
|
+
|
|
1836
|
+
// - Follow the relevant requirements from HTTP. [HTTP] [HTTP-SEMANTICS]
|
|
1837
|
+
// [HTTP-COND] [HTTP-CACHING] [HTTP-AUTH]
|
|
1838
|
+
|
|
1839
|
+
// - If request’s body is non-null, and request’s body’s source is null,
|
|
1840
|
+
// then the user agent may have a buffer of up to 64 kibibytes and store
|
|
1841
|
+
// a part of request’s body in that buffer. If the user agent reads from
|
|
1842
|
+
// request’s body beyond that buffer’s size and the user agent needs to
|
|
1843
|
+
// resend request, then instead return a network error.
|
|
1844
|
+
|
|
1845
|
+
// - Set timingInfo’s final network-response start time to the coarsened
|
|
1846
|
+
// shared current time given fetchParams’s cross-origin isolated capability,
|
|
1847
|
+
// immediately after the user agent’s HTTP parser receives the first byte
|
|
1848
|
+
// of the response (e.g., frame header bytes for HTTP/2 or response status
|
|
1849
|
+
// line for HTTP/1.x).
|
|
1850
|
+
|
|
1851
|
+
// - Wait until all the headers are transmitted.
|
|
1852
|
+
|
|
1853
|
+
// - Any responses whose status is in the range 100 to 199, inclusive,
|
|
1854
|
+
// and is not 101, are to be ignored, except for the purposes of setting
|
|
1855
|
+
// timingInfo’s final network-response start time above.
|
|
1856
|
+
|
|
1857
|
+
// - If request’s header list contains `Transfer-Encoding`/`chunked` and
|
|
1858
|
+
// response is transferred via HTTP/1.0 or older, then return a network
|
|
1859
|
+
// error.
|
|
1860
|
+
|
|
1861
|
+
// - If the HTTP request results in a TLS client certificate dialog, then:
|
|
1862
|
+
|
|
1863
|
+
// 1. If request’s window is an environment settings object, make the
|
|
1864
|
+
// dialog available in request’s window.
|
|
1865
|
+
|
|
1866
|
+
// 2. Otherwise, return a network error.
|
|
1867
|
+
|
|
1868
|
+
// To transmit request’s body body, run these steps:
|
|
1869
|
+
let requestBody = null
|
|
1870
|
+
// 1. If body is null and fetchParams’s process request end-of-body is
|
|
1871
|
+
// non-null, then queue a fetch task given fetchParams’s process request
|
|
1872
|
+
// end-of-body and fetchParams’s task destination.
|
|
1873
|
+
if (request.body == null && fetchParams.processRequestEndOfBody) {
|
|
1874
|
+
queueMicrotask(() => fetchParams.processRequestEndOfBody())
|
|
1875
|
+
} else if (request.body != null) {
|
|
1876
|
+
// 2. Otherwise, if body is non-null:
|
|
1877
|
+
|
|
1878
|
+
// 1. Let processBodyChunk given bytes be these steps:
|
|
1879
|
+
const processBodyChunk = async function * (bytes) {
|
|
1880
|
+
// 1. If the ongoing fetch is terminated, then abort these steps.
|
|
1881
|
+
if (isCancelled(fetchParams)) {
|
|
1882
|
+
return
|
|
1883
|
+
}
|
|
1884
|
+
|
|
1885
|
+
// 2. Run this step in parallel: transmit bytes.
|
|
1886
|
+
yield bytes
|
|
1887
|
+
|
|
1888
|
+
// 3. If fetchParams’s process request body is non-null, then run
|
|
1889
|
+
// fetchParams’s process request body given bytes’s length.
|
|
1890
|
+
fetchParams.processRequestBodyChunkLength?.(bytes.byteLength)
|
|
1891
|
+
}
|
|
1892
|
+
|
|
1893
|
+
// 2. Let processEndOfBody be these steps:
|
|
1894
|
+
const processEndOfBody = () => {
|
|
1895
|
+
// 1. If fetchParams is canceled, then abort these steps.
|
|
1896
|
+
if (isCancelled(fetchParams)) {
|
|
1897
|
+
return
|
|
1898
|
+
}
|
|
1899
|
+
|
|
1900
|
+
// 2. If fetchParams’s process request end-of-body is non-null,
|
|
1901
|
+
// then run fetchParams’s process request end-of-body.
|
|
1902
|
+
if (fetchParams.processRequestEndOfBody) {
|
|
1903
|
+
fetchParams.processRequestEndOfBody()
|
|
1904
|
+
}
|
|
1905
|
+
}
|
|
1906
|
+
|
|
1907
|
+
// 3. Let processBodyError given e be these steps:
|
|
1908
|
+
const processBodyError = (e) => {
|
|
1909
|
+
// 1. If fetchParams is canceled, then abort these steps.
|
|
1910
|
+
if (isCancelled(fetchParams)) {
|
|
1911
|
+
return
|
|
1912
|
+
}
|
|
1913
|
+
|
|
1914
|
+
// 2. If e is an "AbortError" DOMException, then abort fetchParams’s controller.
|
|
1915
|
+
if (e.name === 'AbortError') {
|
|
1916
|
+
fetchParams.controller.abort()
|
|
1917
|
+
} else {
|
|
1918
|
+
fetchParams.controller.terminate(e)
|
|
1919
|
+
}
|
|
1920
|
+
}
|
|
1921
|
+
|
|
1922
|
+
// 4. Incrementally read request’s body given processBodyChunk, processEndOfBody,
|
|
1923
|
+
// processBodyError, and fetchParams’s task destination.
|
|
1924
|
+
requestBody = (async function * () {
|
|
1925
|
+
try {
|
|
1926
|
+
for await (const bytes of request.body.stream) {
|
|
1927
|
+
yield * processBodyChunk(bytes)
|
|
1928
|
+
}
|
|
1929
|
+
processEndOfBody()
|
|
1930
|
+
} catch (err) {
|
|
1931
|
+
processBodyError(err)
|
|
1932
|
+
}
|
|
1933
|
+
})()
|
|
1934
|
+
}
|
|
1935
|
+
|
|
1936
|
+
try {
|
|
1937
|
+
// socket is only provided for websockets
|
|
1938
|
+
const { body, status, statusText, headersList, socket } = await dispatch({ body: requestBody })
|
|
1939
|
+
|
|
1940
|
+
if (socket) {
|
|
1941
|
+
response = makeResponse({ status, statusText, headersList, socket })
|
|
1942
|
+
} else {
|
|
1943
|
+
const iterator = body[Symbol.asyncIterator]()
|
|
1944
|
+
fetchParams.controller.next = () => iterator.next()
|
|
1945
|
+
|
|
1946
|
+
response = makeResponse({ status, statusText, headersList })
|
|
1947
|
+
}
|
|
1948
|
+
} catch (err) {
|
|
1949
|
+
// 10. If aborted, then:
|
|
1950
|
+
if (err.name === 'AbortError') {
|
|
1951
|
+
// 1. If connection uses HTTP/2, then transmit an RST_STREAM frame.
|
|
1952
|
+
fetchParams.controller.connection.destroy()
|
|
1953
|
+
|
|
1954
|
+
// 2. Return the appropriate network error for fetchParams.
|
|
1955
|
+
return makeAppropriateNetworkError(fetchParams, err)
|
|
1956
|
+
}
|
|
1957
|
+
|
|
1958
|
+
return makeNetworkError(err)
|
|
1959
|
+
}
|
|
1960
|
+
|
|
1961
|
+
// 11. Let pullAlgorithm be an action that resumes the ongoing fetch
|
|
1962
|
+
// if it is suspended.
|
|
1963
|
+
const pullAlgorithm = () => {
|
|
1964
|
+
return fetchParams.controller.resume()
|
|
1965
|
+
}
|
|
1966
|
+
|
|
1967
|
+
// 12. Let cancelAlgorithm be an algorithm that aborts fetchParams’s
|
|
1968
|
+
// controller with reason, given reason.
|
|
1969
|
+
const cancelAlgorithm = (reason) => {
|
|
1970
|
+
// If the aborted fetch was already terminated, then we do not
|
|
1971
|
+
// need to do anything.
|
|
1972
|
+
if (!isCancelled(fetchParams)) {
|
|
1973
|
+
fetchParams.controller.abort(reason)
|
|
1974
|
+
}
|
|
1975
|
+
}
|
|
1976
|
+
|
|
1977
|
+
// 13. Let highWaterMark be a non-negative, non-NaN number, chosen by
|
|
1978
|
+
// the user agent.
|
|
1979
|
+
// TODO
|
|
1980
|
+
|
|
1981
|
+
// 14. Let sizeAlgorithm be an algorithm that accepts a chunk object
|
|
1982
|
+
// and returns a non-negative, non-NaN, non-infinite number, chosen by the user agent.
|
|
1983
|
+
// TODO
|
|
1984
|
+
|
|
1985
|
+
// 15. Let stream be a new ReadableStream.
|
|
1986
|
+
// 16. Set up stream with byte reading support with pullAlgorithm set to pullAlgorithm,
|
|
1987
|
+
// cancelAlgorithm set to cancelAlgorithm.
|
|
1988
|
+
const stream = new ReadableStream(
|
|
1989
|
+
{
|
|
1990
|
+
start (controller) {
|
|
1991
|
+
fetchParams.controller.controller = controller
|
|
1992
|
+
},
|
|
1993
|
+
pull: pullAlgorithm,
|
|
1994
|
+
cancel: cancelAlgorithm,
|
|
1995
|
+
type: 'bytes'
|
|
1996
|
+
}
|
|
1997
|
+
)
|
|
1998
|
+
|
|
1999
|
+
// 17. Run these steps, but abort when the ongoing fetch is terminated:
|
|
2000
|
+
|
|
2001
|
+
// 1. Set response’s body to a new body whose stream is stream.
|
|
2002
|
+
response.body = { stream, source: null, length: null }
|
|
2003
|
+
|
|
2004
|
+
// 2. If response is not a network error and request’s cache mode is
|
|
2005
|
+
// not "no-store", then update response in httpCache for request.
|
|
2006
|
+
// TODO
|
|
2007
|
+
|
|
2008
|
+
// 3. If includeCredentials is true and the user agent is not configured
|
|
2009
|
+
// to block cookies for request (see section 7 of [COOKIES]), then run the
|
|
2010
|
+
// "set-cookie-string" parsing algorithm (see section 5.2 of [COOKIES]) on
|
|
2011
|
+
// the value of each header whose name is a byte-case-insensitive match for
|
|
2012
|
+
// `Set-Cookie` in response’s header list, if any, and request’s current URL.
|
|
2013
|
+
// TODO
|
|
2014
|
+
|
|
2015
|
+
// 18. If aborted, then:
|
|
2016
|
+
// TODO
|
|
2017
|
+
|
|
2018
|
+
// 19. Run these steps in parallel:
|
|
2019
|
+
|
|
2020
|
+
// 1. Run these steps, but abort when fetchParams is canceled:
|
|
2021
|
+
if (!fetchParams.controller.resume) {
|
|
2022
|
+
fetchParams.controller.on('terminated', onAborted)
|
|
2023
|
+
}
|
|
2024
|
+
|
|
2025
|
+
fetchParams.controller.resume = async () => {
|
|
2026
|
+
// 1. While true
|
|
2027
|
+
while (true) {
|
|
2028
|
+
// 1-3. See onData...
|
|
2029
|
+
|
|
2030
|
+
// 4. Set bytes to the result of handling content codings given
|
|
2031
|
+
// codings and bytes.
|
|
2032
|
+
let bytes
|
|
2033
|
+
let isFailure
|
|
2034
|
+
try {
|
|
2035
|
+
const { done, value } = await fetchParams.controller.next()
|
|
2036
|
+
|
|
2037
|
+
if (isAborted(fetchParams)) {
|
|
2038
|
+
break
|
|
2039
|
+
}
|
|
2040
|
+
|
|
2041
|
+
bytes = done ? undefined : value
|
|
2042
|
+
} catch (err) {
|
|
2043
|
+
if (fetchParams.controller.ended && !timingInfo.encodedBodySize) {
|
|
2044
|
+
// zlib doesn't like empty streams.
|
|
2045
|
+
bytes = undefined
|
|
2046
|
+
} else {
|
|
2047
|
+
bytes = err
|
|
2048
|
+
|
|
2049
|
+
// err may be propagated from the result of calling readablestream.cancel,
|
|
2050
|
+
// which might not be an error. https://github.com/nodejs/undici/issues/2009
|
|
2051
|
+
isFailure = true
|
|
2052
|
+
}
|
|
2053
|
+
}
|
|
2054
|
+
|
|
2055
|
+
if (bytes === undefined) {
|
|
2056
|
+
// 2. Otherwise, if the bytes transmission for response’s message
|
|
2057
|
+
// body is done normally and stream is readable, then close
|
|
2058
|
+
// stream, finalize response for fetchParams and response, and
|
|
2059
|
+
// abort these in-parallel steps.
|
|
2060
|
+
readableStreamClose(fetchParams.controller.controller)
|
|
2061
|
+
|
|
2062
|
+
finalizeResponse(fetchParams, response)
|
|
2063
|
+
|
|
2064
|
+
return
|
|
2065
|
+
}
|
|
2066
|
+
|
|
2067
|
+
// 5. Increase timingInfo’s decoded body size by bytes’s length.
|
|
2068
|
+
timingInfo.decodedBodySize += bytes?.byteLength ?? 0
|
|
2069
|
+
|
|
2070
|
+
// 6. If bytes is failure, then terminate fetchParams’s controller.
|
|
2071
|
+
if (isFailure) {
|
|
2072
|
+
fetchParams.controller.terminate(bytes)
|
|
2073
|
+
return
|
|
2074
|
+
}
|
|
2075
|
+
|
|
2076
|
+
// 7. Enqueue a Uint8Array wrapping an ArrayBuffer containing bytes
|
|
2077
|
+
// into stream.
|
|
2078
|
+
const buffer = new Uint8Array(bytes)
|
|
2079
|
+
if (buffer.byteLength) {
|
|
2080
|
+
fetchParams.controller.controller.enqueue(buffer)
|
|
2081
|
+
}
|
|
2082
|
+
|
|
2083
|
+
// 8. If stream is errored, then terminate the ongoing fetch.
|
|
2084
|
+
if (isErrored(stream)) {
|
|
2085
|
+
fetchParams.controller.terminate()
|
|
2086
|
+
return
|
|
2087
|
+
}
|
|
2088
|
+
|
|
2089
|
+
// 9. If stream doesn’t need more data ask the user agent to suspend
|
|
2090
|
+
// the ongoing fetch.
|
|
2091
|
+
if (fetchParams.controller.controller.desiredSize <= 0) {
|
|
2092
|
+
return
|
|
2093
|
+
}
|
|
2094
|
+
}
|
|
2095
|
+
}
|
|
2096
|
+
|
|
2097
|
+
// 2. If aborted, then:
|
|
2098
|
+
function onAborted (reason) {
|
|
2099
|
+
// 2. If fetchParams is aborted, then:
|
|
2100
|
+
if (isAborted(fetchParams)) {
|
|
2101
|
+
// 1. Set response’s aborted flag.
|
|
2102
|
+
response.aborted = true
|
|
2103
|
+
|
|
2104
|
+
// 2. If stream is readable, then error stream with the result of
|
|
2105
|
+
// deserialize a serialized abort reason given fetchParams’s
|
|
2106
|
+
// controller’s serialized abort reason and an
|
|
2107
|
+
// implementation-defined realm.
|
|
2108
|
+
if (isReadable(stream)) {
|
|
2109
|
+
fetchParams.controller.controller.error(
|
|
2110
|
+
fetchParams.controller.serializedAbortReason
|
|
2111
|
+
)
|
|
2112
|
+
}
|
|
2113
|
+
} else {
|
|
2114
|
+
// 3. Otherwise, if stream is readable, error stream with a TypeError.
|
|
2115
|
+
if (isReadable(stream)) {
|
|
2116
|
+
fetchParams.controller.controller.error(new TypeError('terminated', {
|
|
2117
|
+
cause: isErrorLike(reason) ? reason : undefined
|
|
2118
|
+
}))
|
|
2119
|
+
}
|
|
2120
|
+
}
|
|
2121
|
+
|
|
2122
|
+
// 4. If connection uses HTTP/2, then transmit an RST_STREAM frame.
|
|
2123
|
+
// 5. Otherwise, the user agent should close connection unless it would be bad for performance to do so.
|
|
2124
|
+
fetchParams.controller.connection.destroy()
|
|
2125
|
+
}
|
|
2126
|
+
|
|
2127
|
+
// 20. Return response.
|
|
2128
|
+
return response
|
|
2129
|
+
|
|
2130
|
+
function dispatch ({ body }) {
|
|
2131
|
+
const url = requestCurrentURL(request)
|
|
2132
|
+
/** @type {import('../../..').Agent} */
|
|
2133
|
+
const agent = fetchParams.controller.dispatcher
|
|
2134
|
+
|
|
2135
|
+
const path = url.pathname + url.search
|
|
2136
|
+
const hasTrailingQuestionMark = url.search.length === 0 && url.href[url.href.length - url.hash.length - 1] === '?'
|
|
2137
|
+
|
|
2138
|
+
return new Promise((resolve, reject) => agent.dispatch(
|
|
2139
|
+
{
|
|
2140
|
+
path: hasTrailingQuestionMark ? `${path}?` : path,
|
|
2141
|
+
origin: url.origin,
|
|
2142
|
+
method: request.method,
|
|
2143
|
+
body: agent.isMockActive ? request.body && (request.body.source || request.body.stream) : body,
|
|
2144
|
+
headers: request.headersList.entries,
|
|
2145
|
+
maxRedirections: 0,
|
|
2146
|
+
upgrade: request.mode === 'websocket' ? 'websocket' : undefined
|
|
2147
|
+
},
|
|
2148
|
+
{
|
|
2149
|
+
body: null,
|
|
2150
|
+
abort: null,
|
|
2151
|
+
|
|
2152
|
+
onConnect (abort) {
|
|
2153
|
+
// TODO (fix): Do we need connection here?
|
|
2154
|
+
const { connection } = fetchParams.controller
|
|
2155
|
+
|
|
2156
|
+
// Set timingInfo’s final connection timing info to the result of calling clamp and coarsen
|
|
2157
|
+
// connection timing info with connection’s timing info, timingInfo’s post-redirect start
|
|
2158
|
+
// time, and fetchParams’s cross-origin isolated capability.
|
|
2159
|
+
// TODO: implement connection timing
|
|
2160
|
+
timingInfo.finalConnectionTimingInfo = clampAndCoarsenConnectionTimingInfo(undefined, timingInfo.postRedirectStartTime, fetchParams.crossOriginIsolatedCapability)
|
|
2161
|
+
|
|
2162
|
+
if (connection.destroyed) {
|
|
2163
|
+
abort(new DOMException('The operation was aborted.', 'AbortError'))
|
|
2164
|
+
} else {
|
|
2165
|
+
fetchParams.controller.on('terminated', abort)
|
|
2166
|
+
this.abort = connection.abort = abort
|
|
2167
|
+
}
|
|
2168
|
+
|
|
2169
|
+
// Set timingInfo’s final network-request start time to the coarsened shared current time given
|
|
2170
|
+
// fetchParams’s cross-origin isolated capability.
|
|
2171
|
+
timingInfo.finalNetworkRequestStartTime = coarsenedSharedCurrentTime(fetchParams.crossOriginIsolatedCapability)
|
|
2172
|
+
},
|
|
2173
|
+
|
|
2174
|
+
onResponseStarted () {
|
|
2175
|
+
// Set timingInfo’s final network-response start time to the coarsened shared current
|
|
2176
|
+
// time given fetchParams’s cross-origin isolated capability, immediately after the
|
|
2177
|
+
// user agent’s HTTP parser receives the first byte of the response (e.g., frame header
|
|
2178
|
+
// bytes for HTTP/2 or response status line for HTTP/1.x).
|
|
2179
|
+
timingInfo.finalNetworkResponseStartTime = coarsenedSharedCurrentTime(fetchParams.crossOriginIsolatedCapability)
|
|
2180
|
+
},
|
|
2181
|
+
|
|
2182
|
+
onHeaders (status, rawHeaders, resume, statusText) {
|
|
2183
|
+
if (status < 200) {
|
|
2184
|
+
return false
|
|
2185
|
+
}
|
|
2186
|
+
|
|
2187
|
+
const headersList = new HeadersList()
|
|
2188
|
+
|
|
2189
|
+
for (let i = 0; i < rawHeaders.length; i += 2) {
|
|
2190
|
+
const nameStr = bufferToLowerCasedHeaderName(rawHeaders[i])
|
|
2191
|
+
const value = rawHeaders[i + 1]
|
|
2192
|
+
if (Array.isArray(value) && !Buffer.isBuffer(rawHeaders[i + 1])) {
|
|
2193
|
+
for (const val of value) {
|
|
2194
|
+
headersList.append(nameStr, val.toString('latin1'), true)
|
|
2195
|
+
}
|
|
2196
|
+
} else {
|
|
2197
|
+
headersList.append(nameStr, value.toString('latin1'), true)
|
|
2198
|
+
}
|
|
2199
|
+
}
|
|
2200
|
+
const location = headersList.get('location', true)
|
|
2201
|
+
|
|
2202
|
+
this.body = new Readable({ read: resume })
|
|
2203
|
+
|
|
2204
|
+
const willFollow = location && request.redirect === 'follow' &&
|
|
2205
|
+
redirectStatusSet.has(status)
|
|
2206
|
+
|
|
2207
|
+
const decoders = []
|
|
2208
|
+
|
|
2209
|
+
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding
|
|
2210
|
+
if (request.method !== 'HEAD' && request.method !== 'CONNECT' && !nullBodyStatus.includes(status) && !willFollow) {
|
|
2211
|
+
// https://www.rfc-editor.org/rfc/rfc7231#section-3.1.2.1
|
|
2212
|
+
const contentEncoding = headersList.get('content-encoding', true)
|
|
2213
|
+
// "All content-coding values are case-insensitive..."
|
|
2214
|
+
/** @type {string[]} */
|
|
2215
|
+
const codings = contentEncoding ? contentEncoding.toLowerCase().split(',') : []
|
|
2216
|
+
|
|
2217
|
+
// Limit the number of content-encodings to prevent resource exhaustion.
|
|
2218
|
+
// CVE fix similar to urllib3 (GHSA-gm62-xv2j-4w53) and curl (CVE-2022-32206).
|
|
2219
|
+
const maxContentEncodings = 5
|
|
2220
|
+
if (codings.length > maxContentEncodings) {
|
|
2221
|
+
reject(new Error(`too many content-encodings in response: ${codings.length}, maximum allowed is ${maxContentEncodings}`))
|
|
2222
|
+
return true
|
|
2223
|
+
}
|
|
2224
|
+
|
|
2225
|
+
for (let i = codings.length - 1; i >= 0; --i) {
|
|
2226
|
+
const coding = codings[i].trim()
|
|
2227
|
+
// https://www.rfc-editor.org/rfc/rfc9112.html#section-7.2
|
|
2228
|
+
if (coding === 'x-gzip' || coding === 'gzip') {
|
|
2229
|
+
decoders.push(zlib.createGunzip({
|
|
2230
|
+
// Be less strict when decoding compressed responses, since sometimes
|
|
2231
|
+
// servers send slightly invalid responses that are still accepted
|
|
2232
|
+
// by common browsers.
|
|
2233
|
+
// Always using Z_SYNC_FLUSH is what cURL does.
|
|
2234
|
+
flush: zlib.constants.Z_SYNC_FLUSH,
|
|
2235
|
+
finishFlush: zlib.constants.Z_SYNC_FLUSH
|
|
2236
|
+
}))
|
|
2237
|
+
} else if (coding === 'deflate') {
|
|
2238
|
+
decoders.push(createInflate({
|
|
2239
|
+
flush: zlib.constants.Z_SYNC_FLUSH,
|
|
2240
|
+
finishFlush: zlib.constants.Z_SYNC_FLUSH
|
|
2241
|
+
}))
|
|
2242
|
+
} else if (coding === 'br') {
|
|
2243
|
+
decoders.push(zlib.createBrotliDecompress({
|
|
2244
|
+
flush: zlib.constants.BROTLI_OPERATION_FLUSH,
|
|
2245
|
+
finishFlush: zlib.constants.BROTLI_OPERATION_FLUSH
|
|
2246
|
+
}))
|
|
2247
|
+
} else if (coding === 'zstd' && hasZstd) {
|
|
2248
|
+
decoders.push(zlib.createZstdDecompress({
|
|
2249
|
+
flush: zlib.constants.ZSTD_e_continue,
|
|
2250
|
+
finishFlush: zlib.constants.ZSTD_e_end
|
|
2251
|
+
}))
|
|
2252
|
+
} else {
|
|
2253
|
+
decoders.length = 0
|
|
2254
|
+
break
|
|
2255
|
+
}
|
|
2256
|
+
}
|
|
2257
|
+
}
|
|
2258
|
+
|
|
2259
|
+
const onError = this.onError.bind(this)
|
|
2260
|
+
|
|
2261
|
+
resolve({
|
|
2262
|
+
status,
|
|
2263
|
+
statusText,
|
|
2264
|
+
headersList,
|
|
2265
|
+
body: decoders.length
|
|
2266
|
+
? pipeline(this.body, ...decoders, (err) => {
|
|
2267
|
+
if (err) {
|
|
2268
|
+
this.onError(err)
|
|
2269
|
+
}
|
|
2270
|
+
}).on('error', onError)
|
|
2271
|
+
: this.body.on('error', onError)
|
|
2272
|
+
})
|
|
2273
|
+
|
|
2274
|
+
return true
|
|
2275
|
+
},
|
|
2276
|
+
|
|
2277
|
+
onData (chunk) {
|
|
2278
|
+
if (fetchParams.controller.dump) {
|
|
2279
|
+
return
|
|
2280
|
+
}
|
|
2281
|
+
|
|
2282
|
+
// 1. If one or more bytes have been transmitted from response’s
|
|
2283
|
+
// message body, then:
|
|
2284
|
+
|
|
2285
|
+
// 1. Let bytes be the transmitted bytes.
|
|
2286
|
+
const bytes = chunk
|
|
2287
|
+
|
|
2288
|
+
// 2. Let codings be the result of extracting header list values
|
|
2289
|
+
// given `Content-Encoding` and response’s header list.
|
|
2290
|
+
// See pullAlgorithm.
|
|
2291
|
+
|
|
2292
|
+
// 3. Increase timingInfo’s encoded body size by bytes’s length.
|
|
2293
|
+
timingInfo.encodedBodySize += bytes.byteLength
|
|
2294
|
+
|
|
2295
|
+
// 4. See pullAlgorithm...
|
|
2296
|
+
|
|
2297
|
+
return this.body.push(bytes)
|
|
2298
|
+
},
|
|
2299
|
+
|
|
2300
|
+
onComplete () {
|
|
2301
|
+
if (this.abort) {
|
|
2302
|
+
fetchParams.controller.off('terminated', this.abort)
|
|
2303
|
+
}
|
|
2304
|
+
|
|
2305
|
+
fetchParams.controller.ended = true
|
|
2306
|
+
|
|
2307
|
+
this.body.push(null)
|
|
2308
|
+
},
|
|
2309
|
+
|
|
2310
|
+
onError (error) {
|
|
2311
|
+
if (this.abort) {
|
|
2312
|
+
fetchParams.controller.off('terminated', this.abort)
|
|
2313
|
+
}
|
|
2314
|
+
|
|
2315
|
+
this.body?.destroy(error)
|
|
2316
|
+
|
|
2317
|
+
fetchParams.controller.terminate(error)
|
|
2318
|
+
|
|
2319
|
+
reject(error)
|
|
2320
|
+
},
|
|
2321
|
+
|
|
2322
|
+
onRequestUpgrade (_controller, status, headers, socket) {
|
|
2323
|
+
// We need to support 200 for websocket over h2 as per RFC-8441
|
|
2324
|
+
// Absence of session means H1
|
|
2325
|
+
if ((socket.session != null && status !== 200) || (socket.session == null && status !== 101)) {
|
|
2326
|
+
return false
|
|
2327
|
+
}
|
|
2328
|
+
|
|
2329
|
+
const headersList = new HeadersList()
|
|
2330
|
+
|
|
2331
|
+
for (const [name, value] of Object.entries(headers)) {
|
|
2332
|
+
if (value == null) {
|
|
2333
|
+
continue
|
|
2334
|
+
}
|
|
2335
|
+
|
|
2336
|
+
const headerName = name.toLowerCase()
|
|
2337
|
+
|
|
2338
|
+
if (Array.isArray(value)) {
|
|
2339
|
+
for (const entry of value) {
|
|
2340
|
+
headersList.append(headerName, String(entry), true)
|
|
2341
|
+
}
|
|
2342
|
+
} else {
|
|
2343
|
+
headersList.append(headerName, String(value), true)
|
|
2344
|
+
}
|
|
2345
|
+
}
|
|
2346
|
+
|
|
2347
|
+
resolve({
|
|
2348
|
+
status,
|
|
2349
|
+
statusText: STATUS_CODES[status],
|
|
2350
|
+
headersList,
|
|
2351
|
+
socket
|
|
2352
|
+
})
|
|
2353
|
+
|
|
2354
|
+
return true
|
|
2355
|
+
},
|
|
2356
|
+
|
|
2357
|
+
onUpgrade (status, rawHeaders, socket) {
|
|
2358
|
+
// We need to support 200 for websocket over h2 as per RFC-8441
|
|
2359
|
+
// Absence of session means H1
|
|
2360
|
+
if ((socket.session != null && status !== 200) || (socket.session == null && status !== 101)) {
|
|
2361
|
+
return false
|
|
2362
|
+
}
|
|
2363
|
+
|
|
2364
|
+
const headersList = new HeadersList()
|
|
2365
|
+
|
|
2366
|
+
for (let i = 0; i < rawHeaders.length; i += 2) {
|
|
2367
|
+
const nameStr = bufferToLowerCasedHeaderName(rawHeaders[i])
|
|
2368
|
+
const value = rawHeaders[i + 1]
|
|
2369
|
+
if (Array.isArray(value) && !Buffer.isBuffer(rawHeaders[i + 1])) {
|
|
2370
|
+
for (const val of value) {
|
|
2371
|
+
headersList.append(nameStr, val.toString('latin1'), true)
|
|
2372
|
+
}
|
|
2373
|
+
} else {
|
|
2374
|
+
headersList.append(nameStr, value.toString('latin1'), true)
|
|
2375
|
+
}
|
|
2376
|
+
}
|
|
2377
|
+
|
|
2378
|
+
resolve({
|
|
2379
|
+
status,
|
|
2380
|
+
statusText: STATUS_CODES[status],
|
|
2381
|
+
headersList,
|
|
2382
|
+
socket
|
|
2383
|
+
})
|
|
2384
|
+
|
|
2385
|
+
return true
|
|
2386
|
+
}
|
|
2387
|
+
}
|
|
2388
|
+
))
|
|
2389
|
+
}
|
|
2390
|
+
}
|
|
2391
|
+
|
|
2392
|
+
module.exports = {
|
|
2393
|
+
fetch,
|
|
2394
|
+
Fetch,
|
|
2395
|
+
fetching,
|
|
2396
|
+
finalizeAndReportTiming
|
|
2397
|
+
}
|