@openclaw/googlechat 2026.5.20-beta.2 → 2026.5.22
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/node_modules/agent-base/LICENSE +22 -0
- package/node_modules/agent-base/README.md +69 -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/base64-js/LICENSE +21 -0
- package/node_modules/base64-js/README.md +34 -0
- package/node_modules/base64-js/base64js.min.js +1 -0
- package/node_modules/base64-js/index.d.ts +3 -0
- package/node_modules/base64-js/index.js +150 -0
- package/node_modules/base64-js/package.json +47 -0
- package/node_modules/bignumber.js/CHANGELOG.md +381 -0
- package/node_modules/bignumber.js/LICENCE.md +26 -0
- package/node_modules/bignumber.js/README.md +289 -0
- package/node_modules/bignumber.js/bignumber.d.mts +6 -0
- package/node_modules/bignumber.js/bignumber.d.ts +5 -0
- package/node_modules/bignumber.js/bignumber.js +2922 -0
- package/node_modules/bignumber.js/bignumber.mjs +2907 -0
- package/node_modules/bignumber.js/doc/API.html +2249 -0
- package/node_modules/bignumber.js/package.json +60 -0
- package/node_modules/bignumber.js/types.d.ts +1821 -0
- package/node_modules/buffer-equal-constant-time/.npmignore +2 -0
- package/node_modules/buffer-equal-constant-time/.travis.yml +4 -0
- package/node_modules/buffer-equal-constant-time/LICENSE.txt +12 -0
- package/node_modules/buffer-equal-constant-time/README.md +50 -0
- package/node_modules/buffer-equal-constant-time/index.js +41 -0
- package/node_modules/buffer-equal-constant-time/package.json +21 -0
- package/node_modules/buffer-equal-constant-time/test.js +42 -0
- package/node_modules/data-uri-to-buffer/README.md +88 -0
- package/node_modules/data-uri-to-buffer/dist/index.d.ts +15 -0
- package/node_modules/data-uri-to-buffer/dist/index.js +53 -0
- package/node_modules/data-uri-to-buffer/dist/index.js.map +1 -0
- package/node_modules/data-uri-to-buffer/package.json +62 -0
- package/node_modules/data-uri-to-buffer/src/index.ts +68 -0
- package/node_modules/debug/LICENSE +20 -0
- package/node_modules/debug/README.md +481 -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/ecdsa-sig-formatter/CODEOWNERS +1 -0
- package/node_modules/ecdsa-sig-formatter/LICENSE +201 -0
- package/node_modules/ecdsa-sig-formatter/README.md +65 -0
- package/node_modules/ecdsa-sig-formatter/package.json +46 -0
- package/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.d.ts +17 -0
- package/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.js +187 -0
- package/node_modules/ecdsa-sig-formatter/src/param-bytes-for-alg.js +23 -0
- package/node_modules/extend/.editorconfig +20 -0
- package/node_modules/extend/.eslintrc +17 -0
- package/node_modules/extend/.jscs.json +175 -0
- package/node_modules/extend/.travis.yml +230 -0
- package/node_modules/extend/CHANGELOG.md +83 -0
- package/node_modules/extend/LICENSE +23 -0
- package/node_modules/extend/README.md +81 -0
- package/node_modules/extend/component.json +32 -0
- package/node_modules/extend/index.js +117 -0
- package/node_modules/extend/package.json +42 -0
- package/node_modules/fetch-blob/LICENSE +21 -0
- package/node_modules/fetch-blob/README.md +106 -0
- package/node_modules/fetch-blob/file.d.ts +2 -0
- package/node_modules/fetch-blob/file.js +49 -0
- package/node_modules/fetch-blob/from.d.ts +26 -0
- package/node_modules/fetch-blob/from.js +100 -0
- package/node_modules/fetch-blob/index.d.ts +3 -0
- package/node_modules/fetch-blob/index.js +250 -0
- package/node_modules/fetch-blob/package.json +56 -0
- package/node_modules/fetch-blob/streams.cjs +51 -0
- package/node_modules/formdata-polyfill/FormData.js +441 -0
- package/node_modules/formdata-polyfill/LICENSE +21 -0
- package/node_modules/formdata-polyfill/README.md +145 -0
- package/node_modules/formdata-polyfill/esm.min.d.ts +5 -0
- package/node_modules/formdata-polyfill/esm.min.js +40 -0
- package/node_modules/formdata-polyfill/formdata-to-blob.js +39 -0
- package/node_modules/formdata-polyfill/formdata.min.js +21 -0
- package/node_modules/formdata-polyfill/package.json +50 -0
- package/node_modules/gaxios/LICENSE +202 -0
- package/node_modules/gaxios/README.md +240 -0
- package/node_modules/gaxios/build/cjs/browser-test/browser-test-runner.d.ts +1 -0
- package/node_modules/gaxios/build/cjs/browser-test/browser-test-runner.js +109 -0
- package/node_modules/gaxios/build/cjs/browser-test/browser-test-runner.js.map +1 -0
- package/node_modules/gaxios/build/cjs/browser-test/test.browser.d.ts +1 -0
- package/node_modules/gaxios/build/cjs/browser-test/test.browser.js +81 -0
- package/node_modules/gaxios/build/cjs/browser-test/test.browser.js.map +1 -0
- package/node_modules/gaxios/build/cjs/src/common.d.ts +329 -0
- package/node_modules/gaxios/build/cjs/src/common.js +311 -0
- package/node_modules/gaxios/build/cjs/src/common.js.map +1 -0
- package/node_modules/gaxios/build/cjs/src/gaxios.d.ts +104 -0
- package/node_modules/gaxios/build/cjs/src/gaxios.js +564 -0
- package/node_modules/gaxios/build/cjs/src/gaxios.js.map +1 -0
- package/node_modules/gaxios/build/cjs/src/index.d.ts +15 -0
- package/node_modules/gaxios/build/cjs/src/index.js +48 -0
- package/node_modules/gaxios/build/cjs/src/index.js.map +1 -0
- package/node_modules/gaxios/build/cjs/src/interceptor.d.ts +25 -0
- package/node_modules/gaxios/build/cjs/src/interceptor.js +22 -0
- package/node_modules/gaxios/build/cjs/src/interceptor.js.map +1 -0
- package/node_modules/gaxios/build/cjs/src/retry.d.ts +8 -0
- package/node_modules/gaxios/build/cjs/src/retry.js +165 -0
- package/node_modules/gaxios/build/cjs/src/retry.js.map +1 -0
- package/node_modules/gaxios/build/cjs/src/util.cjs +16 -0
- package/node_modules/gaxios/build/cjs/src/util.cjs.map +1 -0
- package/node_modules/gaxios/build/cjs/src/util.d.cts +7 -0
- package/node_modules/gaxios/build/cjs/system-test/test.install.d.ts +1 -0
- package/node_modules/gaxios/build/cjs/system-test/test.install.js +128 -0
- package/node_modules/gaxios/build/cjs/system-test/test.install.js.map +1 -0
- package/node_modules/gaxios/build/cjs/test/test.getch.d.ts +1 -0
- package/node_modules/gaxios/build/cjs/test/test.getch.js +1444 -0
- package/node_modules/gaxios/build/cjs/test/test.getch.js.map +1 -0
- package/node_modules/gaxios/build/cjs/test/test.index.d.ts +1 -0
- package/node_modules/gaxios/build/cjs/test/test.index.js +61 -0
- package/node_modules/gaxios/build/cjs/test/test.index.js.map +1 -0
- package/node_modules/gaxios/build/cjs/test/test.retry.d.ts +1 -0
- package/node_modules/gaxios/build/cjs/test/test.retry.js +367 -0
- package/node_modules/gaxios/build/cjs/test/test.retry.js.map +1 -0
- package/node_modules/gaxios/build/cjs/tsconfig.cjs.tsbuildinfo +1 -0
- package/node_modules/gaxios/build/esm/browser-test/browser-test-runner.d.ts +1 -0
- package/node_modules/gaxios/build/esm/browser-test/browser-test-runner.js +71 -0
- package/node_modules/gaxios/build/esm/browser-test/browser-test-runner.js.map +1 -0
- package/node_modules/gaxios/build/esm/browser-test/test.browser.d.ts +1 -0
- package/node_modules/gaxios/build/esm/browser-test/test.browser.js +76 -0
- package/node_modules/gaxios/build/esm/browser-test/test.browser.js.map +1 -0
- package/node_modules/gaxios/build/esm/package.json +1 -0
- package/node_modules/gaxios/build/esm/src/common.d.ts +329 -0
- package/node_modules/gaxios/build/esm/src/common.js +303 -0
- package/node_modules/gaxios/build/esm/src/common.js.map +1 -0
- package/node_modules/gaxios/build/esm/src/gaxios.d.ts +104 -0
- package/node_modules/gaxios/build/esm/src/gaxios.js +557 -0
- package/node_modules/gaxios/build/esm/src/gaxios.js.map +1 -0
- package/node_modules/gaxios/build/esm/src/index.d.ts +15 -0
- package/node_modules/gaxios/build/esm/src/index.js +29 -0
- package/node_modules/gaxios/build/esm/src/index.js.map +1 -0
- package/node_modules/gaxios/build/esm/src/interceptor.d.ts +25 -0
- package/node_modules/gaxios/build/esm/src/interceptor.js +18 -0
- package/node_modules/gaxios/build/esm/src/interceptor.js.map +1 -0
- package/node_modules/gaxios/build/esm/src/retry.d.ts +8 -0
- package/node_modules/gaxios/build/esm/src/retry.js +162 -0
- package/node_modules/gaxios/build/esm/src/retry.js.map +1 -0
- package/node_modules/gaxios/build/esm/src/util.cjs +15 -0
- package/node_modules/gaxios/build/esm/src/util.cjs.map +1 -0
- package/node_modules/gaxios/build/esm/src/util.d.cts +7 -0
- package/node_modules/gaxios/build/esm/system-test/test.install.d.ts +1 -0
- package/node_modules/gaxios/build/esm/system-test/test.install.js +123 -0
- package/node_modules/gaxios/build/esm/system-test/test.install.js.map +1 -0
- package/node_modules/gaxios/build/esm/test/test.getch.d.ts +1 -0
- package/node_modules/gaxios/build/esm/test/test.getch.js +1406 -0
- package/node_modules/gaxios/build/esm/test/test.getch.js.map +1 -0
- package/node_modules/gaxios/build/esm/test/test.index.d.ts +1 -0
- package/node_modules/gaxios/build/esm/test/test.index.js +23 -0
- package/node_modules/gaxios/build/esm/test/test.index.js.map +1 -0
- package/node_modules/gaxios/build/esm/test/test.retry.d.ts +1 -0
- package/node_modules/gaxios/build/esm/test/test.retry.js +362 -0
- package/node_modules/gaxios/build/esm/test/test.retry.js.map +1 -0
- package/node_modules/gaxios/build/esm/tsconfig.tsbuildinfo +1 -0
- package/node_modules/gaxios/package.json +107 -0
- package/node_modules/gcp-metadata/LICENSE +202 -0
- package/node_modules/gcp-metadata/README.md +235 -0
- package/node_modules/gcp-metadata/build/src/gcp-residency.d.ts +57 -0
- package/node_modules/gcp-metadata/build/src/gcp-residency.js +114 -0
- package/node_modules/gcp-metadata/build/src/gcp-residency.js.map +1 -0
- package/node_modules/gcp-metadata/build/src/index.d.ts +141 -0
- package/node_modules/gcp-metadata/build/src/index.js +402 -0
- package/node_modules/gcp-metadata/build/src/index.js.map +1 -0
- package/node_modules/gcp-metadata/package.json +77 -0
- package/node_modules/google-auth-library/LICENSE +202 -0
- package/node_modules/google-auth-library/README.md +1504 -0
- package/node_modules/google-auth-library/build/src/auth/authclient.d.ts +298 -0
- package/node_modules/google-auth-library/build/src/auth/authclient.js +286 -0
- package/node_modules/google-auth-library/build/src/auth/awsclient.d.ts +115 -0
- package/node_modules/google-auth-library/build/src/auth/awsclient.js +154 -0
- package/node_modules/google-auth-library/build/src/auth/awsrequestsigner.d.ts +40 -0
- package/node_modules/google-auth-library/build/src/auth/awsrequestsigner.js +213 -0
- package/node_modules/google-auth-library/build/src/auth/baseexternalclient.d.ts +318 -0
- package/node_modules/google-auth-library/build/src/auth/baseexternalclient.js +477 -0
- package/node_modules/google-auth-library/build/src/auth/certificatesubjecttokensupplier.d.ts +60 -0
- package/node_modules/google-auth-library/build/src/auth/certificatesubjecttokensupplier.js +223 -0
- package/node_modules/google-auth-library/build/src/auth/computeclient.d.ts +37 -0
- package/node_modules/google-auth-library/build/src/auth/computeclient.js +118 -0
- package/node_modules/google-auth-library/build/src/auth/credentials.d.ts +76 -0
- package/node_modules/google-auth-library/build/src/auth/credentials.js +16 -0
- package/node_modules/google-auth-library/build/src/auth/defaultawssecuritycredentialssupplier.d.ts +79 -0
- package/node_modules/google-auth-library/build/src/auth/defaultawssecuritycredentialssupplier.js +199 -0
- package/node_modules/google-auth-library/build/src/auth/downscopedclient.d.ts +149 -0
- package/node_modules/google-auth-library/build/src/auth/downscopedclient.js +273 -0
- package/node_modules/google-auth-library/build/src/auth/envDetect.d.ts +11 -0
- package/node_modules/google-auth-library/build/src/auth/envDetect.js +97 -0
- package/node_modules/google-auth-library/build/src/auth/executable-response.d.ts +137 -0
- package/node_modules/google-auth-library/build/src/auth/executable-response.js +178 -0
- package/node_modules/google-auth-library/build/src/auth/externalAccountAuthorizedUserClient.d.ts +72 -0
- package/node_modules/google-auth-library/build/src/auth/externalAccountAuthorizedUserClient.js +233 -0
- package/node_modules/google-auth-library/build/src/auth/externalclient.d.ts +29 -0
- package/node_modules/google-auth-library/build/src/auth/externalclient.js +68 -0
- package/node_modules/google-auth-library/build/src/auth/filesubjecttokensupplier.d.ts +41 -0
- package/node_modules/google-auth-library/build/src/auth/filesubjecttokensupplier.js +84 -0
- package/node_modules/google-auth-library/build/src/auth/googleauth.d.ts +527 -0
- package/node_modules/google-auth-library/build/src/auth/googleauth.js +899 -0
- package/node_modules/google-auth-library/build/src/auth/iam.d.ts +23 -0
- package/node_modules/google-auth-library/build/src/auth/iam.js +44 -0
- package/node_modules/google-auth-library/build/src/auth/identitypoolclient.d.ts +132 -0
- package/node_modules/google-auth-library/build/src/auth/identitypoolclient.js +131 -0
- package/node_modules/google-auth-library/build/src/auth/idtokenclient.d.ts +27 -0
- package/node_modules/google-auth-library/build/src/auth/idtokenclient.js +56 -0
- package/node_modules/google-auth-library/build/src/auth/impersonated.d.ts +134 -0
- package/node_modules/google-auth-library/build/src/auth/impersonated.js +197 -0
- package/node_modules/google-auth-library/build/src/auth/jwtaccess.d.ts +61 -0
- package/node_modules/google-auth-library/build/src/auth/jwtaccess.js +201 -0
- package/node_modules/google-auth-library/build/src/auth/jwtclient.d.ts +137 -0
- package/node_modules/google-auth-library/build/src/auth/jwtclient.js +301 -0
- package/node_modules/google-auth-library/build/src/auth/loginticket.d.ts +140 -0
- package/node_modules/google-auth-library/build/src/auth/loginticket.js +60 -0
- package/node_modules/google-auth-library/build/src/auth/oauth2client.d.ts +610 -0
- package/node_modules/google-auth-library/build/src/auth/oauth2client.js +820 -0
- package/node_modules/google-auth-library/build/src/auth/oauth2common.d.ts +103 -0
- package/node_modules/google-auth-library/build/src/auth/oauth2common.js +189 -0
- package/node_modules/google-auth-library/build/src/auth/passthrough.d.ts +37 -0
- package/node_modules/google-auth-library/build/src/auth/passthrough.js +60 -0
- package/node_modules/google-auth-library/build/src/auth/pluggable-auth-client.d.ts +141 -0
- package/node_modules/google-auth-library/build/src/auth/pluggable-auth-client.js +220 -0
- package/node_modules/google-auth-library/build/src/auth/pluggable-auth-handler.d.ts +61 -0
- package/node_modules/google-auth-library/build/src/auth/pluggable-auth-handler.js +174 -0
- package/node_modules/google-auth-library/build/src/auth/refreshclient.d.ts +75 -0
- package/node_modules/google-auth-library/build/src/auth/refreshclient.js +160 -0
- package/node_modules/google-auth-library/build/src/auth/stscredentials.d.ts +125 -0
- package/node_modules/google-auth-library/build/src/auth/stscredentials.js +107 -0
- package/node_modules/google-auth-library/build/src/auth/urlsubjecttokensupplier.d.ts +57 -0
- package/node_modules/google-auth-library/build/src/auth/urlsubjecttokensupplier.js +71 -0
- package/node_modules/google-auth-library/build/src/crypto/browser/crypto.d.ts +27 -0
- package/node_modules/google-auth-library/build/src/crypto/browser/crypto.js +127 -0
- package/node_modules/google-auth-library/build/src/crypto/crypto.d.ts +8 -0
- package/node_modules/google-auth-library/build/src/crypto/crypto.js +54 -0
- package/node_modules/google-auth-library/build/src/crypto/node/crypto.d.ts +25 -0
- package/node_modules/google-auth-library/build/src/crypto/node/crypto.js +88 -0
- package/node_modules/google-auth-library/build/src/crypto/shared.d.ts +47 -0
- package/node_modules/google-auth-library/build/src/crypto/shared.js +32 -0
- package/node_modules/google-auth-library/build/src/gtoken/errorWithCode.d.ts +5 -0
- package/node_modules/google-auth-library/build/src/gtoken/errorWithCode.js +25 -0
- package/node_modules/google-auth-library/build/src/gtoken/getCredentials.d.ts +14 -0
- package/node_modules/google-auth-library/build/src/gtoken/getCredentials.js +132 -0
- package/node_modules/google-auth-library/build/src/gtoken/getToken.d.ts +23 -0
- package/node_modules/google-auth-library/build/src/gtoken/getToken.js +66 -0
- package/node_modules/google-auth-library/build/src/gtoken/googleToken.d.ts +73 -0
- package/node_modules/google-auth-library/build/src/gtoken/googleToken.js +125 -0
- package/node_modules/google-auth-library/build/src/gtoken/jwsSign.d.ts +33 -0
- package/node_modules/google-auth-library/build/src/gtoken/jwsSign.js +54 -0
- package/node_modules/google-auth-library/build/src/gtoken/revokeToken.d.ts +9 -0
- package/node_modules/google-auth-library/build/src/gtoken/revokeToken.js +34 -0
- package/node_modules/google-auth-library/build/src/gtoken/tokenHandler.d.ts +43 -0
- package/node_modules/google-auth-library/build/src/gtoken/tokenHandler.js +97 -0
- package/node_modules/google-auth-library/build/src/gtoken/tokenOptions.d.ts +44 -0
- package/node_modules/google-auth-library/build/src/gtoken/tokenOptions.js +16 -0
- package/node_modules/google-auth-library/build/src/index.d.ts +38 -0
- package/node_modules/google-auth-library/build/src/index.js +85 -0
- package/node_modules/google-auth-library/build/src/shared.cjs +22 -0
- package/node_modules/google-auth-library/build/src/shared.d.cts +7 -0
- package/node_modules/google-auth-library/build/src/util.d.ts +151 -0
- package/node_modules/google-auth-library/build/src/util.js +176 -0
- package/node_modules/google-auth-library/package.json +92 -0
- package/node_modules/google-logging-utils/LICENSE +202 -0
- package/node_modules/google-logging-utils/README.md +73 -0
- package/node_modules/google-logging-utils/build/src/colours.d.ts +29 -0
- package/node_modules/google-logging-utils/build/src/colours.js +81 -0
- package/node_modules/google-logging-utils/build/src/colours.js.map +1 -0
- package/node_modules/google-logging-utils/build/src/index.d.ts +1 -0
- package/node_modules/google-logging-utils/build/src/index.js +31 -0
- package/node_modules/google-logging-utils/build/src/index.js.map +1 -0
- package/node_modules/google-logging-utils/build/src/logging-utils.d.ts +222 -0
- package/node_modules/google-logging-utils/build/src/logging-utils.js +437 -0
- package/node_modules/google-logging-utils/build/src/logging-utils.js.map +1 -0
- package/node_modules/google-logging-utils/build/src/temporal.d.ts +45 -0
- package/node_modules/google-logging-utils/build/src/temporal.js +68 -0
- package/node_modules/google-logging-utils/build/src/temporal.js.map +1 -0
- package/node_modules/google-logging-utils/package.json +45 -0
- package/node_modules/https-proxy-agent/LICENSE +22 -0
- package/node_modules/https-proxy-agent/README.md +70 -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/json-bigint/LICENSE +20 -0
- package/node_modules/json-bigint/README.md +240 -0
- package/node_modules/json-bigint/index.js +12 -0
- package/node_modules/json-bigint/lib/parse.js +443 -0
- package/node_modules/json-bigint/lib/stringify.js +384 -0
- package/node_modules/json-bigint/package.json +34 -0
- package/node_modules/jwa/LICENSE +17 -0
- package/node_modules/jwa/README.md +150 -0
- package/node_modules/jwa/index.js +266 -0
- package/node_modules/jwa/opslevel.yml +6 -0
- package/node_modules/jwa/package.json +37 -0
- package/node_modules/jws/CHANGELOG.md +56 -0
- package/node_modules/jws/LICENSE +17 -0
- package/node_modules/jws/index.js +22 -0
- package/node_modules/jws/lib/data-stream.js +55 -0
- package/node_modules/jws/lib/sign-stream.js +83 -0
- package/node_modules/jws/lib/tostring.js +10 -0
- package/node_modules/jws/lib/verify-stream.js +125 -0
- package/node_modules/jws/opslevel.yml +6 -0
- package/node_modules/jws/package.json +34 -0
- package/node_modules/jws/readme.md +255 -0
- package/node_modules/ms/index.js +162 -0
- package/node_modules/ms/license.md +21 -0
- package/node_modules/ms/package.json +38 -0
- package/node_modules/ms/readme.md +59 -0
- package/node_modules/node-domexception/LICENSE +21 -0
- package/node_modules/node-domexception/index.js +2 -0
- package/node_modules/node-domexception/package.json +19 -0
- package/node_modules/node-fetch/@types/index.d.ts +219 -0
- package/node_modules/node-fetch/LICENSE.md +22 -0
- package/node_modules/node-fetch/README.md +872 -0
- package/node_modules/node-fetch/package.json +131 -0
- package/node_modules/node-fetch/src/body.js +397 -0
- package/node_modules/node-fetch/src/errors/abort-error.js +10 -0
- package/node_modules/node-fetch/src/errors/base.js +17 -0
- package/node_modules/node-fetch/src/errors/fetch-error.js +26 -0
- package/node_modules/node-fetch/src/headers.js +267 -0
- package/node_modules/node-fetch/src/index.js +417 -0
- package/node_modules/node-fetch/src/request.js +313 -0
- package/node_modules/node-fetch/src/response.js +160 -0
- package/node_modules/node-fetch/src/utils/get-search.js +9 -0
- package/node_modules/node-fetch/src/utils/is-redirect.js +11 -0
- package/node_modules/node-fetch/src/utils/is.js +87 -0
- package/node_modules/node-fetch/src/utils/multipart-parser.js +432 -0
- package/node_modules/node-fetch/src/utils/referrer.js +340 -0
- package/node_modules/safe-buffer/LICENSE +21 -0
- package/node_modules/safe-buffer/README.md +584 -0
- package/node_modules/safe-buffer/index.d.ts +187 -0
- package/node_modules/safe-buffer/index.js +65 -0
- package/node_modules/safe-buffer/package.json +51 -0
- package/node_modules/web-streams-polyfill/LICENSE +22 -0
- package/node_modules/web-streams-polyfill/README.md +110 -0
- package/node_modules/web-streams-polyfill/dist/polyfill.es2018.js +4765 -0
- package/node_modules/web-streams-polyfill/dist/polyfill.es2018.js.map +1 -0
- package/node_modules/web-streams-polyfill/dist/polyfill.es2018.min.js +9 -0
- package/node_modules/web-streams-polyfill/dist/polyfill.es2018.min.js.map +1 -0
- package/node_modules/web-streams-polyfill/dist/polyfill.es2018.mjs +4745 -0
- package/node_modules/web-streams-polyfill/dist/polyfill.es2018.mjs.map +1 -0
- package/node_modules/web-streams-polyfill/dist/polyfill.es6.js +4838 -0
- package/node_modules/web-streams-polyfill/dist/polyfill.es6.js.map +1 -0
- package/node_modules/web-streams-polyfill/dist/polyfill.es6.min.js +9 -0
- package/node_modules/web-streams-polyfill/dist/polyfill.es6.min.js.map +1 -0
- package/node_modules/web-streams-polyfill/dist/polyfill.es6.mjs +4818 -0
- package/node_modules/web-streams-polyfill/dist/polyfill.es6.mjs.map +1 -0
- package/node_modules/web-streams-polyfill/dist/polyfill.js +5011 -0
- package/node_modules/web-streams-polyfill/dist/polyfill.js.map +1 -0
- package/node_modules/web-streams-polyfill/dist/polyfill.min.js +9 -0
- package/node_modules/web-streams-polyfill/dist/polyfill.min.js.map +1 -0
- package/node_modules/web-streams-polyfill/dist/polyfill.mjs +4991 -0
- package/node_modules/web-streams-polyfill/dist/polyfill.mjs.map +1 -0
- package/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js +4737 -0
- package/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js.map +1 -0
- package/node_modules/web-streams-polyfill/dist/ponyfill.es2018.mjs +4717 -0
- package/node_modules/web-streams-polyfill/dist/ponyfill.es2018.mjs.map +1 -0
- package/node_modules/web-streams-polyfill/dist/ponyfill.es6.js +4810 -0
- package/node_modules/web-streams-polyfill/dist/ponyfill.es6.js.map +1 -0
- package/node_modules/web-streams-polyfill/dist/ponyfill.es6.mjs +4790 -0
- package/node_modules/web-streams-polyfill/dist/ponyfill.es6.mjs.map +1 -0
- package/node_modules/web-streams-polyfill/dist/ponyfill.js +4983 -0
- package/node_modules/web-streams-polyfill/dist/ponyfill.js.map +1 -0
- package/node_modules/web-streams-polyfill/dist/ponyfill.mjs +4963 -0
- package/node_modules/web-streams-polyfill/dist/ponyfill.mjs.map +1 -0
- package/node_modules/web-streams-polyfill/dist/types/polyfill.d.ts +24 -0
- package/node_modules/web-streams-polyfill/dist/types/ponyfill.d.ts +780 -0
- package/node_modules/web-streams-polyfill/dist/types/ts3.6/polyfill.d.ts +28 -0
- package/node_modules/web-streams-polyfill/dist/types/ts3.6/ponyfill.d.ts +821 -0
- package/node_modules/web-streams-polyfill/dist/types/tsdoc-metadata.json +11 -0
- package/node_modules/web-streams-polyfill/es2018/package.json +14 -0
- package/node_modules/web-streams-polyfill/es6/package.json +14 -0
- package/node_modules/web-streams-polyfill/package.json +83 -0
- package/node_modules/web-streams-polyfill/ponyfill/es2018/package.json +13 -0
- package/node_modules/web-streams-polyfill/ponyfill/es6/package.json +13 -0
- package/node_modules/web-streams-polyfill/ponyfill/package.json +13 -0
- package/node_modules/zod/LICENSE +21 -0
- package/node_modules/zod/README.md +191 -0
- package/node_modules/zod/index.cjs +33 -0
- package/node_modules/zod/index.d.cts +4 -0
- package/node_modules/zod/index.d.ts +4 -0
- package/node_modules/zod/index.js +4 -0
- package/node_modules/zod/locales/index.cjs +17 -0
- package/node_modules/zod/locales/index.d.cts +1 -0
- package/node_modules/zod/locales/index.d.ts +1 -0
- package/node_modules/zod/locales/index.js +1 -0
- package/node_modules/zod/locales/package.json +7 -0
- package/node_modules/zod/mini/index.cjs +32 -0
- package/node_modules/zod/mini/index.d.cts +3 -0
- package/node_modules/zod/mini/index.d.ts +3 -0
- package/node_modules/zod/mini/index.js +3 -0
- package/node_modules/zod/mini/package.json +7 -0
- package/node_modules/zod/package.json +135 -0
- package/node_modules/zod/src/index.ts +4 -0
- package/node_modules/zod/src/locales/index.ts +1 -0
- package/node_modules/zod/src/mini/index.ts +3 -0
- package/node_modules/zod/src/v3/ZodError.ts +330 -0
- package/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
- package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
- package/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
- package/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
- package/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
- package/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
- package/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
- package/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
- package/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
- package/node_modules/zod/src/v3/errors.ts +13 -0
- package/node_modules/zod/src/v3/external.ts +6 -0
- package/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
- package/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
- package/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
- package/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
- package/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
- package/node_modules/zod/src/v3/helpers/util.ts +224 -0
- package/node_modules/zod/src/v3/index.ts +4 -0
- package/node_modules/zod/src/v3/locales/en.ts +124 -0
- package/node_modules/zod/src/v3/standard-schema.ts +113 -0
- package/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
- package/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
- package/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
- package/node_modules/zod/src/v3/tests/array.test.ts +71 -0
- package/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
- package/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
- package/node_modules/zod/src/v3/tests/base.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
- package/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
- package/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
- package/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
- package/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
- package/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
- package/node_modules/zod/src/v3/tests/date.test.ts +32 -0
- package/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
- package/node_modules/zod/src/v3/tests/default.test.ts +112 -0
- package/node_modules/zod/src/v3/tests/description.test.ts +33 -0
- package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
- package/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
- package/node_modules/zod/src/v3/tests/error.test.ts +551 -0
- package/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
- package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
- package/node_modules/zod/src/v3/tests/function.test.ts +261 -0
- package/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
- package/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
- package/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
- package/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
- package/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
- package/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
- package/node_modules/zod/src/v3/tests/map.test.ts +110 -0
- package/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
- package/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
- package/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
- package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
- package/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
- package/node_modules/zod/src/v3/tests/number.test.ts +176 -0
- package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/object.test.ts +434 -0
- package/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
- package/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
- package/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
- package/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
- package/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
- package/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
- package/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
- package/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
- package/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
- package/node_modules/zod/src/v3/tests/record.test.ts +171 -0
- package/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
- package/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
- package/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
- package/node_modules/zod/src/v3/tests/set.test.ts +142 -0
- package/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
- package/node_modules/zod/src/v3/tests/string.test.ts +916 -0
- package/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
- package/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
- package/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
- package/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
- package/node_modules/zod/src/v3/tests/void.test.ts +15 -0
- package/node_modules/zod/src/v3/types.ts +5138 -0
- package/node_modules/zod/src/v4/classic/checks.ts +32 -0
- package/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/node_modules/zod/src/v4/classic/compat.ts +70 -0
- package/node_modules/zod/src/v4/classic/errors.ts +82 -0
- package/node_modules/zod/src/v4/classic/external.ts +52 -0
- package/node_modules/zod/src/v4/classic/from-json-schema.ts +659 -0
- package/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/node_modules/zod/src/v4/classic/iso.ts +90 -0
- package/node_modules/zod/src/v4/classic/parse.ts +82 -0
- package/node_modules/zod/src/v4/classic/schemas.ts +2672 -0
- package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/apply.test.ts +59 -0
- package/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
- package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +216 -0
- package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
- package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
- package/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
- package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
- package/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
- package/node_modules/zod/src/v4/classic/tests/catch.test.ts +326 -0
- package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
- package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +573 -0
- package/node_modules/zod/src/v4/classic/tests/codec.test.ts +703 -0
- package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
- package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
- package/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
- package/node_modules/zod/src/v4/classic/tests/date.test.ts +62 -0
- package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +302 -0
- package/node_modules/zod/src/v4/classic/tests/default.test.ts +409 -0
- package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
- package/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
- package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +197 -0
- package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +694 -0
- package/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
- package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +807 -0
- package/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
- package/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
- package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
- package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +895 -0
- package/node_modules/zod/src/v4/classic/tests/function.test.ts +360 -0
- package/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
- package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +39 -0
- package/node_modules/zod/src/v4/classic/tests/hash.test.ts +68 -0
- package/node_modules/zod/src/v4/classic/tests/index.test.ts +939 -0
- package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +60 -0
- package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +198 -0
- package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +46 -0
- package/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
- package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
- package/node_modules/zod/src/v4/classic/tests/literal.test.ts +117 -0
- package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
- package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
- package/node_modules/zod/src/v4/classic/tests/map.test.ts +330 -0
- package/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
- package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
- package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
- package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
- package/node_modules/zod/src/v4/classic/tests/number.test.ts +325 -0
- package/node_modules/zod/src/v4/classic/tests/object.test.ts +717 -0
- package/node_modules/zod/src/v4/classic/tests/optional.test.ts +333 -0
- package/node_modules/zod/src/v4/classic/tests/partial.test.ts +450 -0
- package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
- package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
- package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +74 -0
- package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +351 -0
- package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
- package/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
- package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
- package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
- package/node_modules/zod/src/v4/classic/tests/record.test.ts +717 -0
- package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +631 -0
- package/node_modules/zod/src/v4/classic/tests/refine.test.ts +633 -0
- package/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
- package/node_modules/zod/src/v4/classic/tests/set.test.ts +181 -0
- package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +134 -0
- package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
- package/node_modules/zod/src/v4/classic/tests/string.test.ts +1224 -0
- package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +106 -0
- package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +771 -0
- package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
- package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +3125 -0
- package/node_modules/zod/src/v4/classic/tests/transform.test.ts +378 -0
- package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +496 -0
- package/node_modules/zod/src/v4/classic/tests/union.test.ts +273 -0
- package/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
- package/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
- package/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
- package/node_modules/zod/src/v4/core/api.ts +1823 -0
- package/node_modules/zod/src/v4/core/checks.ts +1293 -0
- package/node_modules/zod/src/v4/core/config.ts +15 -0
- package/node_modules/zod/src/v4/core/core.ts +153 -0
- package/node_modules/zod/src/v4/core/doc.ts +44 -0
- package/node_modules/zod/src/v4/core/errors.ts +455 -0
- package/node_modules/zod/src/v4/core/index.ts +16 -0
- package/node_modules/zod/src/v4/core/json-schema-generator.ts +126 -0
- package/node_modules/zod/src/v4/core/json-schema-processors.ts +666 -0
- package/node_modules/zod/src/v4/core/json-schema.ts +147 -0
- package/node_modules/zod/src/v4/core/parse.ts +195 -0
- package/node_modules/zod/src/v4/core/regexes.ts +190 -0
- package/node_modules/zod/src/v4/core/registries.ts +105 -0
- package/node_modules/zod/src/v4/core/schemas.ts +4730 -0
- package/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
- package/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
- package/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
- package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +215 -0
- package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
- package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +181 -0
- package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
- package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
- package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
- package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
- package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
- package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
- package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
- package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
- package/node_modules/zod/src/v4/core/to-json-schema.ts +622 -0
- package/node_modules/zod/src/v4/core/util.ts +983 -0
- package/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/node_modules/zod/src/v4/index.ts +4 -0
- package/node_modules/zod/src/v4/locales/ar.ts +115 -0
- package/node_modules/zod/src/v4/locales/az.ts +111 -0
- package/node_modules/zod/src/v4/locales/be.ts +176 -0
- package/node_modules/zod/src/v4/locales/bg.ts +128 -0
- package/node_modules/zod/src/v4/locales/ca.ts +116 -0
- package/node_modules/zod/src/v4/locales/cs.ts +118 -0
- package/node_modules/zod/src/v4/locales/da.ts +123 -0
- package/node_modules/zod/src/v4/locales/de.ts +116 -0
- package/node_modules/zod/src/v4/locales/el.ts +121 -0
- package/node_modules/zod/src/v4/locales/en.ts +123 -0
- package/node_modules/zod/src/v4/locales/eo.ts +118 -0
- package/node_modules/zod/src/v4/locales/es.ts +141 -0
- package/node_modules/zod/src/v4/locales/fa.ts +126 -0
- package/node_modules/zod/src/v4/locales/fi.ts +121 -0
- package/node_modules/zod/src/v4/locales/fr-CA.ts +116 -0
- package/node_modules/zod/src/v4/locales/fr.ts +132 -0
- package/node_modules/zod/src/v4/locales/he.ts +246 -0
- package/node_modules/zod/src/v4/locales/hr.ts +131 -0
- package/node_modules/zod/src/v4/locales/hu.ts +117 -0
- package/node_modules/zod/src/v4/locales/hy.ts +164 -0
- package/node_modules/zod/src/v4/locales/id.ts +115 -0
- package/node_modules/zod/src/v4/locales/index.ts +52 -0
- package/node_modules/zod/src/v4/locales/is.ts +119 -0
- package/node_modules/zod/src/v4/locales/it.ts +116 -0
- package/node_modules/zod/src/v4/locales/ja.ts +114 -0
- package/node_modules/zod/src/v4/locales/ka.ts +123 -0
- package/node_modules/zod/src/v4/locales/kh.ts +7 -0
- package/node_modules/zod/src/v4/locales/km.ts +119 -0
- package/node_modules/zod/src/v4/locales/ko.ts +121 -0
- package/node_modules/zod/src/v4/locales/lt.ts +239 -0
- package/node_modules/zod/src/v4/locales/mk.ts +118 -0
- package/node_modules/zod/src/v4/locales/ms.ts +115 -0
- package/node_modules/zod/src/v4/locales/nl.ts +121 -0
- package/node_modules/zod/src/v4/locales/no.ts +116 -0
- package/node_modules/zod/src/v4/locales/ota.ts +117 -0
- package/node_modules/zod/src/v4/locales/pl.ts +118 -0
- package/node_modules/zod/src/v4/locales/ps.ts +126 -0
- package/node_modules/zod/src/v4/locales/pt.ts +116 -0
- package/node_modules/zod/src/v4/locales/ro.ts +129 -0
- package/node_modules/zod/src/v4/locales/ru.ts +176 -0
- package/node_modules/zod/src/v4/locales/sl.ts +118 -0
- package/node_modules/zod/src/v4/locales/sv.ts +119 -0
- package/node_modules/zod/src/v4/locales/ta.ts +118 -0
- package/node_modules/zod/src/v4/locales/th.ts +119 -0
- package/node_modules/zod/src/v4/locales/tr.ts +111 -0
- package/node_modules/zod/src/v4/locales/ua.ts +7 -0
- package/node_modules/zod/src/v4/locales/uk.ts +117 -0
- package/node_modules/zod/src/v4/locales/ur.ts +119 -0
- package/node_modules/zod/src/v4/locales/uz.ts +117 -0
- package/node_modules/zod/src/v4/locales/vi.ts +117 -0
- package/node_modules/zod/src/v4/locales/yo.ts +124 -0
- package/node_modules/zod/src/v4/locales/zh-CN.ts +116 -0
- package/node_modules/zod/src/v4/locales/zh-TW.ts +115 -0
- package/node_modules/zod/src/v4/mini/checks.ts +32 -0
- package/node_modules/zod/src/v4/mini/coerce.ts +27 -0
- package/node_modules/zod/src/v4/mini/external.ts +41 -0
- package/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/node_modules/zod/src/v4/mini/iso.ts +66 -0
- package/node_modules/zod/src/v4/mini/parse.ts +14 -0
- package/node_modules/zod/src/v4/mini/schemas.ts +1947 -0
- package/node_modules/zod/src/v4/mini/tests/apply.test.ts +24 -0
- package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
- package/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
- package/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
- package/node_modules/zod/src/v4/mini/tests/codec.test.ts +548 -0
- package/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
- package/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
- package/node_modules/zod/src/v4/mini/tests/functions.test.ts +5 -0
- package/node_modules/zod/src/v4/mini/tests/index.test.ts +993 -0
- package/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
- package/node_modules/zod/src/v4/mini/tests/object.test.ts +227 -0
- package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
- package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +325 -0
- package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
- package/node_modules/zod/src/v4/mini/tests/string.test.ts +352 -0
- package/node_modules/zod/src/v4-mini/index.ts +3 -0
- package/node_modules/zod/v3/ZodError.cjs +138 -0
- package/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/node_modules/zod/v3/ZodError.d.ts +164 -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.d.cts +5 -0
- package/node_modules/zod/v3/errors.d.ts +5 -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.d.cts +6 -0
- package/node_modules/zod/v3/external.d.ts +6 -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.d.cts +8 -0
- package/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -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.d.cts +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.d.ts +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.d.cts +78 -0
- package/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -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.d.cts +8 -0
- package/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -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.d.cts +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.d.ts +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.d.cts +85 -0
- package/node_modules/zod/v3/helpers/util.d.ts +85 -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.d.cts +4 -0
- package/node_modules/zod/v3/index.d.ts +4 -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.d.cts +3 -0
- package/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/node_modules/zod/v3/locales/en.js +109 -0
- package/node_modules/zod/v3/package.json +7 -0
- package/node_modules/zod/v3/standard-schema.cjs +2 -0
- package/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/node_modules/zod/v3/standard-schema.d.ts +102 -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.d.cts +1034 -0
- package/node_modules/zod/v3/types.d.ts +1034 -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.d.cts +1 -0
- package/node_modules/zod/v4/classic/checks.d.ts +1 -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.d.cts +17 -0
- package/node_modules/zod/v4/classic/coerce.d.ts +17 -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.d.cts +50 -0
- package/node_modules/zod/v4/classic/compat.d.ts +50 -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.d.cts +30 -0
- package/node_modules/zod/v4/classic/errors.d.ts +30 -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.d.cts +16 -0
- package/node_modules/zod/v4/classic/external.d.ts +16 -0
- package/node_modules/zod/v4/classic/external.js +20 -0
- package/node_modules/zod/v4/classic/from-json-schema.cjs +625 -0
- package/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
- package/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
- package/node_modules/zod/v4/classic/from-json-schema.js +599 -0
- package/node_modules/zod/v4/classic/index.cjs +33 -0
- package/node_modules/zod/v4/classic/index.d.cts +4 -0
- package/node_modules/zod/v4/classic/index.d.ts +4 -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.d.cts +22 -0
- package/node_modules/zod/v4/classic/iso.d.ts +22 -0
- package/node_modules/zod/v4/classic/iso.js +30 -0
- package/node_modules/zod/v4/classic/package.json +7 -0
- package/node_modules/zod/v4/classic/parse.cjs +41 -0
- package/node_modules/zod/v4/classic/parse.d.cts +31 -0
- package/node_modules/zod/v4/classic/parse.d.ts +31 -0
- package/node_modules/zod/v4/classic/parse.js +15 -0
- package/node_modules/zod/v4/classic/schemas.cjs +1511 -0
- package/node_modules/zod/v4/classic/schemas.d.cts +767 -0
- package/node_modules/zod/v4/classic/schemas.d.ts +767 -0
- package/node_modules/zod/v4/classic/schemas.js +1395 -0
- package/node_modules/zod/v4/core/api.cjs +1227 -0
- package/node_modules/zod/v4/core/api.d.cts +325 -0
- package/node_modules/zod/v4/core/api.d.ts +325 -0
- package/node_modules/zod/v4/core/api.js +1087 -0
- package/node_modules/zod/v4/core/checks.cjs +601 -0
- package/node_modules/zod/v4/core/checks.d.cts +278 -0
- package/node_modules/zod/v4/core/checks.d.ts +278 -0
- package/node_modules/zod/v4/core/checks.js +575 -0
- package/node_modules/zod/v4/core/core.cjs +85 -0
- package/node_modules/zod/v4/core/core.d.cts +70 -0
- package/node_modules/zod/v4/core/core.d.ts +70 -0
- package/node_modules/zod/v4/core/core.js +78 -0
- package/node_modules/zod/v4/core/doc.cjs +39 -0
- package/node_modules/zod/v4/core/doc.d.cts +14 -0
- package/node_modules/zod/v4/core/doc.d.ts +14 -0
- package/node_modules/zod/v4/core/doc.js +35 -0
- package/node_modules/zod/v4/core/errors.cjs +216 -0
- package/node_modules/zod/v4/core/errors.d.cts +221 -0
- package/node_modules/zod/v4/core/errors.d.ts +221 -0
- package/node_modules/zod/v4/core/errors.js +185 -0
- package/node_modules/zod/v4/core/index.cjs +47 -0
- package/node_modules/zod/v4/core/index.d.cts +16 -0
- package/node_modules/zod/v4/core/index.d.ts +16 -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.d.cts +65 -0
- package/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
- package/node_modules/zod/v4/core/json-schema-generator.js +95 -0
- package/node_modules/zod/v4/core/json-schema-processors.cjs +644 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.cts +49 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.ts +49 -0
- package/node_modules/zod/v4/core/json-schema-processors.js +601 -0
- package/node_modules/zod/v4/core/json-schema.cjs +2 -0
- package/node_modules/zod/v4/core/json-schema.d.cts +88 -0
- package/node_modules/zod/v4/core/json-schema.d.ts +88 -0
- package/node_modules/zod/v4/core/json-schema.js +1 -0
- package/node_modules/zod/v4/core/package.json +7 -0
- package/node_modules/zod/v4/core/parse.cjs +131 -0
- package/node_modules/zod/v4/core/parse.d.cts +49 -0
- package/node_modules/zod/v4/core/parse.d.ts +49 -0
- package/node_modules/zod/v4/core/parse.js +93 -0
- package/node_modules/zod/v4/core/regexes.cjs +172 -0
- package/node_modules/zod/v4/core/regexes.d.cts +85 -0
- package/node_modules/zod/v4/core/regexes.d.ts +85 -0
- package/node_modules/zod/v4/core/regexes.js +139 -0
- package/node_modules/zod/v4/core/registries.cjs +56 -0
- package/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/node_modules/zod/v4/core/registries.js +51 -0
- package/node_modules/zod/v4/core/schemas.cjs +2270 -0
- package/node_modules/zod/v4/core/schemas.d.cts +1184 -0
- package/node_modules/zod/v4/core/schemas.d.ts +1184 -0
- package/node_modules/zod/v4/core/schemas.js +2239 -0
- package/node_modules/zod/v4/core/standard-schema.cjs +2 -0
- package/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
- package/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
- package/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/node_modules/zod/v4/core/to-json-schema.cjs +457 -0
- package/node_modules/zod/v4/core/to-json-schema.d.cts +114 -0
- package/node_modules/zod/v4/core/to-json-schema.d.ts +114 -0
- package/node_modules/zod/v4/core/to-json-schema.js +448 -0
- package/node_modules/zod/v4/core/util.cjs +734 -0
- package/node_modules/zod/v4/core/util.d.cts +200 -0
- package/node_modules/zod/v4/core/util.d.ts +200 -0
- package/node_modules/zod/v4/core/util.js +674 -0
- package/node_modules/zod/v4/core/versions.cjs +8 -0
- package/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/node_modules/zod/v4/core/versions.d.ts +5 -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.d.cts +3 -0
- package/node_modules/zod/v4/index.d.ts +3 -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.d.cts +5 -0
- package/node_modules/zod/v4/locales/ar.d.ts +4 -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.d.cts +5 -0
- package/node_modules/zod/v4/locales/az.d.ts +4 -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.d.cts +5 -0
- package/node_modules/zod/v4/locales/be.d.ts +4 -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.d.cts +5 -0
- package/node_modules/zod/v4/locales/bg.d.ts +4 -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.d.cts +5 -0
- package/node_modules/zod/v4/locales/ca.d.ts +4 -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.d.cts +5 -0
- package/node_modules/zod/v4/locales/cs.d.ts +4 -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.d.cts +5 -0
- package/node_modules/zod/v4/locales/da.d.ts +4 -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.d.cts +5 -0
- package/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/node_modules/zod/v4/locales/de.js +108 -0
- package/node_modules/zod/v4/locales/el.cjs +136 -0
- package/node_modules/zod/v4/locales/el.d.cts +5 -0
- package/node_modules/zod/v4/locales/el.d.ts +4 -0
- package/node_modules/zod/v4/locales/el.js +109 -0
- package/node_modules/zod/v4/locales/en.cjs +140 -0
- package/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/node_modules/zod/v4/locales/en.d.ts +4 -0
- package/node_modules/zod/v4/locales/en.js +113 -0
- package/node_modules/zod/v4/locales/eo.cjs +136 -0
- package/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/node_modules/zod/v4/locales/eo.d.ts +4 -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.d.cts +5 -0
- package/node_modules/zod/v4/locales/es.d.ts +4 -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.d.cts +5 -0
- package/node_modules/zod/v4/locales/fa.d.ts +4 -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.d.cts +5 -0
- package/node_modules/zod/v4/locales/fi.d.ts +4 -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.d.cts +5 -0
- package/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr-CA.js +107 -0
- package/node_modules/zod/v4/locales/fr.cjs +152 -0
- package/node_modules/zod/v4/locales/fr.d.cts +5 -0
- package/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr.js +125 -0
- package/node_modules/zod/v4/locales/he.cjs +241 -0
- package/node_modules/zod/v4/locales/he.d.cts +5 -0
- package/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/node_modules/zod/v4/locales/he.js +214 -0
- package/node_modules/zod/v4/locales/hr.cjs +149 -0
- package/node_modules/zod/v4/locales/hr.d.cts +5 -0
- package/node_modules/zod/v4/locales/hr.d.ts +4 -0
- package/node_modules/zod/v4/locales/hr.js +122 -0
- package/node_modules/zod/v4/locales/hu.cjs +135 -0
- package/node_modules/zod/v4/locales/hu.d.cts +5 -0
- package/node_modules/zod/v4/locales/hu.d.ts +4 -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.d.cts +5 -0
- package/node_modules/zod/v4/locales/hy.d.ts +4 -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.d.cts +5 -0
- package/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/node_modules/zod/v4/locales/id.js +106 -0
- package/node_modules/zod/v4/locales/index.cjs +111 -0
- package/node_modules/zod/v4/locales/index.d.cts +52 -0
- package/node_modules/zod/v4/locales/index.d.ts +52 -0
- package/node_modules/zod/v4/locales/index.js +52 -0
- package/node_modules/zod/v4/locales/is.cjs +136 -0
- package/node_modules/zod/v4/locales/is.d.cts +5 -0
- package/node_modules/zod/v4/locales/is.d.ts +4 -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.d.cts +5 -0
- package/node_modules/zod/v4/locales/it.d.ts +4 -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.d.cts +5 -0
- package/node_modules/zod/v4/locales/ja.d.ts +4 -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.d.cts +5 -0
- package/node_modules/zod/v4/locales/ka.d.ts +4 -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.d.cts +5 -0
- package/node_modules/zod/v4/locales/kh.d.ts +5 -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.d.cts +5 -0
- package/node_modules/zod/v4/locales/km.d.ts +4 -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.d.cts +5 -0
- package/node_modules/zod/v4/locales/ko.d.ts +4 -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.d.cts +5 -0
- package/node_modules/zod/v4/locales/lt.d.ts +4 -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.d.cts +5 -0
- package/node_modules/zod/v4/locales/mk.d.ts +4 -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.d.cts +5 -0
- package/node_modules/zod/v4/locales/ms.d.ts +4 -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.d.cts +5 -0
- package/node_modules/zod/v4/locales/nl.d.ts +4 -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.d.cts +5 -0
- package/node_modules/zod/v4/locales/no.d.ts +4 -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.d.cts +5 -0
- package/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/node_modules/zod/v4/locales/ota.js +109 -0
- package/node_modules/zod/v4/locales/package.json +7 -0
- package/node_modules/zod/v4/locales/pl.cjs +136 -0
- package/node_modules/zod/v4/locales/pl.d.cts +5 -0
- package/node_modules/zod/v4/locales/pl.d.ts +4 -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.d.cts +5 -0
- package/node_modules/zod/v4/locales/ps.d.ts +4 -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.d.cts +5 -0
- package/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/node_modules/zod/v4/locales/pt.js +108 -0
- package/node_modules/zod/v4/locales/ro.cjs +146 -0
- package/node_modules/zod/v4/locales/ro.d.cts +5 -0
- package/node_modules/zod/v4/locales/ro.d.ts +4 -0
- package/node_modules/zod/v4/locales/ro.js +119 -0
- package/node_modules/zod/v4/locales/ru.cjs +183 -0
- package/node_modules/zod/v4/locales/ru.d.cts +5 -0
- package/node_modules/zod/v4/locales/ru.d.ts +4 -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.d.cts +5 -0
- package/node_modules/zod/v4/locales/sl.d.ts +4 -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.d.cts +5 -0
- package/node_modules/zod/v4/locales/sv.d.ts +4 -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.d.cts +5 -0
- package/node_modules/zod/v4/locales/ta.d.ts +4 -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.d.cts +5 -0
- package/node_modules/zod/v4/locales/th.d.ts +4 -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.d.cts +5 -0
- package/node_modules/zod/v4/locales/tr.d.ts +4 -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.d.cts +5 -0
- package/node_modules/zod/v4/locales/ua.d.ts +5 -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.d.cts +5 -0
- package/node_modules/zod/v4/locales/uk.d.ts +4 -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.d.cts +5 -0
- package/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/node_modules/zod/v4/locales/ur.js +110 -0
- package/node_modules/zod/v4/locales/uz.cjs +137 -0
- package/node_modules/zod/v4/locales/uz.d.cts +5 -0
- package/node_modules/zod/v4/locales/uz.d.ts +4 -0
- package/node_modules/zod/v4/locales/uz.js +110 -0
- package/node_modules/zod/v4/locales/vi.cjs +135 -0
- package/node_modules/zod/v4/locales/vi.d.cts +5 -0
- package/node_modules/zod/v4/locales/vi.d.ts +4 -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.d.cts +5 -0
- package/node_modules/zod/v4/locales/yo.d.ts +4 -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.d.cts +5 -0
- package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -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.d.cts +5 -0
- package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -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.d.cts +1 -0
- package/node_modules/zod/v4/mini/checks.d.ts +1 -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.d.cts +7 -0
- package/node_modules/zod/v4/mini/coerce.d.ts +7 -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.d.cts +13 -0
- package/node_modules/zod/v4/mini/external.d.ts +13 -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.d.cts +3 -0
- package/node_modules/zod/v4/mini/index.d.ts +3 -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.d.cts +22 -0
- package/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/node_modules/zod/v4/mini/iso.js +34 -0
- package/node_modules/zod/v4/mini/package.json +7 -0
- package/node_modules/zod/v4/mini/parse.cjs +16 -0
- package/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/node_modules/zod/v4/mini/parse.js +1 -0
- package/node_modules/zod/v4/mini/schemas.cjs +1083 -0
- package/node_modules/zod/v4/mini/schemas.d.cts +445 -0
- package/node_modules/zod/v4/mini/schemas.d.ts +445 -0
- package/node_modules/zod/v4/mini/schemas.js +961 -0
- package/node_modules/zod/v4/package.json +7 -0
- package/node_modules/zod/v4-mini/index.cjs +32 -0
- package/node_modules/zod/v4-mini/index.d.cts +3 -0
- package/node_modules/zod/v4-mini/index.d.ts +3 -0
- package/node_modules/zod/v4-mini/index.js +3 -0
- package/node_modules/zod/v4-mini/package.json +7 -0
- package/npm-shrinkwrap.json +314 -0
- package/package.json +11 -9
|
@@ -0,0 +1,564 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2018 Google LLC
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
15
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
16
|
+
};
|
|
17
|
+
var _a;
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
+
exports.Gaxios = void 0;
|
|
20
|
+
const extend_1 = __importDefault(require("extend"));
|
|
21
|
+
const https_1 = require("https");
|
|
22
|
+
const common_js_1 = require("./common.js");
|
|
23
|
+
const retry_js_1 = require("./retry.js");
|
|
24
|
+
const stream_1 = require("stream");
|
|
25
|
+
const interceptor_js_1 = require("./interceptor.js");
|
|
26
|
+
const randomUUID = async () => globalThis.crypto?.randomUUID() || (await import('crypto')).randomUUID();
|
|
27
|
+
const HTTP_STATUS_NO_CONTENT = 204;
|
|
28
|
+
class Gaxios {
|
|
29
|
+
agentCache = new Map();
|
|
30
|
+
/**
|
|
31
|
+
* Default HTTP options that will be used for every HTTP request.
|
|
32
|
+
*/
|
|
33
|
+
defaults;
|
|
34
|
+
/**
|
|
35
|
+
* Interceptors
|
|
36
|
+
*/
|
|
37
|
+
interceptors;
|
|
38
|
+
/**
|
|
39
|
+
* The Gaxios class is responsible for making HTTP requests.
|
|
40
|
+
* @param defaults The default set of options to be used for this instance.
|
|
41
|
+
*/
|
|
42
|
+
constructor(defaults) {
|
|
43
|
+
this.defaults = defaults || {};
|
|
44
|
+
this.interceptors = {
|
|
45
|
+
request: new interceptor_js_1.GaxiosInterceptorManager(),
|
|
46
|
+
response: new interceptor_js_1.GaxiosInterceptorManager(),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* A {@link fetch `fetch`} compliant API for {@link Gaxios}.
|
|
51
|
+
*
|
|
52
|
+
* @remarks
|
|
53
|
+
*
|
|
54
|
+
* This is useful as a drop-in replacement for `fetch` API usage.
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
*
|
|
58
|
+
* ```ts
|
|
59
|
+
* const gaxios = new Gaxios();
|
|
60
|
+
* const myFetch: typeof fetch = (...args) => gaxios.fetch(...args);
|
|
61
|
+
* await myFetch('https://example.com');
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* @param args `fetch` API or `Gaxios#request` parameters
|
|
65
|
+
* @returns the {@link Response} with Gaxios-added properties
|
|
66
|
+
*/
|
|
67
|
+
fetch(...args) {
|
|
68
|
+
// Up to 2 parameters in either overload
|
|
69
|
+
const input = args[0];
|
|
70
|
+
const init = args[1];
|
|
71
|
+
let url = undefined;
|
|
72
|
+
const headers = new Headers();
|
|
73
|
+
// prepare URL
|
|
74
|
+
if (typeof input === 'string') {
|
|
75
|
+
url = new URL(input);
|
|
76
|
+
}
|
|
77
|
+
else if (input instanceof URL) {
|
|
78
|
+
url = input;
|
|
79
|
+
}
|
|
80
|
+
else if (input && input.url) {
|
|
81
|
+
url = new URL(input.url);
|
|
82
|
+
}
|
|
83
|
+
// prepare headers
|
|
84
|
+
if (input && typeof input === 'object' && 'headers' in input) {
|
|
85
|
+
_a.mergeHeaders(headers, input.headers);
|
|
86
|
+
}
|
|
87
|
+
if (init) {
|
|
88
|
+
_a.mergeHeaders(headers, new Headers(init.headers));
|
|
89
|
+
}
|
|
90
|
+
// prepare request
|
|
91
|
+
if (typeof input === 'object' && !(input instanceof URL)) {
|
|
92
|
+
// input must have been a non-URL object
|
|
93
|
+
return this.request({ ...init, ...input, headers, url });
|
|
94
|
+
}
|
|
95
|
+
else {
|
|
96
|
+
// input must have been a string or URL
|
|
97
|
+
return this.request({ ...init, headers, url });
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Perform an HTTP request with the given options.
|
|
102
|
+
* @param opts Set of HTTP options that will be used for this HTTP request.
|
|
103
|
+
*/
|
|
104
|
+
async request(opts = {}) {
|
|
105
|
+
let prepared = await this.#prepareRequest(opts);
|
|
106
|
+
prepared = await this.#applyRequestInterceptors(prepared);
|
|
107
|
+
return this.#applyResponseInterceptors(this._request(prepared));
|
|
108
|
+
}
|
|
109
|
+
async _defaultAdapter(config) {
|
|
110
|
+
const fetchImpl = config.fetchImplementation ||
|
|
111
|
+
this.defaults.fetchImplementation ||
|
|
112
|
+
(await _a.#getFetch());
|
|
113
|
+
// node-fetch v3 warns when `data` is present
|
|
114
|
+
// https://github.com/node-fetch/node-fetch/issues/1000
|
|
115
|
+
const preparedOpts = { ...config };
|
|
116
|
+
delete preparedOpts.data;
|
|
117
|
+
const res = (await fetchImpl(config.url, preparedOpts));
|
|
118
|
+
const data = await this.getResponseData(config, res);
|
|
119
|
+
if (!Object.getOwnPropertyDescriptor(res, 'data')?.configurable) {
|
|
120
|
+
// Work-around for `node-fetch` v3 as accessing `data` would otherwise throw
|
|
121
|
+
Object.defineProperties(res, {
|
|
122
|
+
data: {
|
|
123
|
+
configurable: true,
|
|
124
|
+
writable: true,
|
|
125
|
+
enumerable: true,
|
|
126
|
+
value: data,
|
|
127
|
+
},
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
// Keep object as an instance of `Response`
|
|
131
|
+
return Object.assign(res, { config, data });
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Internal, retryable version of the `request` method.
|
|
135
|
+
* @param opts Set of HTTP options that will be used for this HTTP request.
|
|
136
|
+
*/
|
|
137
|
+
async _request(opts) {
|
|
138
|
+
try {
|
|
139
|
+
let translatedResponse;
|
|
140
|
+
if (opts.adapter) {
|
|
141
|
+
translatedResponse = await opts.adapter(opts, this._defaultAdapter.bind(this));
|
|
142
|
+
}
|
|
143
|
+
else {
|
|
144
|
+
translatedResponse = await this._defaultAdapter(opts);
|
|
145
|
+
}
|
|
146
|
+
if (!opts.validateStatus(translatedResponse.status)) {
|
|
147
|
+
if (opts.responseType === 'stream') {
|
|
148
|
+
const response = [];
|
|
149
|
+
for await (const chunk of translatedResponse.data) {
|
|
150
|
+
response.push(chunk);
|
|
151
|
+
}
|
|
152
|
+
translatedResponse.data = response.toString();
|
|
153
|
+
}
|
|
154
|
+
const errorInfo = common_js_1.GaxiosError.extractAPIErrorFromResponse(translatedResponse, `Request failed with status code ${translatedResponse.status}`);
|
|
155
|
+
throw new common_js_1.GaxiosError(errorInfo?.message, opts, translatedResponse, errorInfo);
|
|
156
|
+
}
|
|
157
|
+
return translatedResponse;
|
|
158
|
+
}
|
|
159
|
+
catch (e) {
|
|
160
|
+
let err;
|
|
161
|
+
if (e instanceof common_js_1.GaxiosError) {
|
|
162
|
+
err = e;
|
|
163
|
+
}
|
|
164
|
+
else if (e instanceof Error) {
|
|
165
|
+
err = new common_js_1.GaxiosError(e.message, opts, undefined, e);
|
|
166
|
+
}
|
|
167
|
+
else {
|
|
168
|
+
err = new common_js_1.GaxiosError('Unexpected Gaxios Error', opts, undefined, e);
|
|
169
|
+
}
|
|
170
|
+
const { shouldRetry, config } = await (0, retry_js_1.getRetryConfig)(err);
|
|
171
|
+
if (shouldRetry && config) {
|
|
172
|
+
err.config.retryConfig.currentRetryAttempt =
|
|
173
|
+
config.retryConfig.currentRetryAttempt;
|
|
174
|
+
// The error's config could be redacted - therefore we only want to
|
|
175
|
+
// copy the retry state over to the existing config
|
|
176
|
+
opts.retryConfig = err.config?.retryConfig;
|
|
177
|
+
// re-prepare timeout for the next request
|
|
178
|
+
this.#appendTimeoutToSignal(opts);
|
|
179
|
+
return this._request(opts);
|
|
180
|
+
}
|
|
181
|
+
if (opts.errorRedactor) {
|
|
182
|
+
opts.errorRedactor(err);
|
|
183
|
+
}
|
|
184
|
+
throw err;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
async getResponseData(opts, res) {
|
|
188
|
+
if (res.status === HTTP_STATUS_NO_CONTENT) {
|
|
189
|
+
return '';
|
|
190
|
+
}
|
|
191
|
+
if (opts.maxContentLength &&
|
|
192
|
+
res.headers.has('content-length') &&
|
|
193
|
+
opts.maxContentLength <
|
|
194
|
+
Number.parseInt(res.headers?.get('content-length') || '')) {
|
|
195
|
+
throw new common_js_1.GaxiosError("Response's `Content-Length` is over the limit.", opts, Object.assign(res, { config: opts }));
|
|
196
|
+
}
|
|
197
|
+
switch (opts.responseType) {
|
|
198
|
+
case 'stream':
|
|
199
|
+
return res.body;
|
|
200
|
+
case 'json': {
|
|
201
|
+
const data = await res.text();
|
|
202
|
+
try {
|
|
203
|
+
return JSON.parse(data);
|
|
204
|
+
}
|
|
205
|
+
catch {
|
|
206
|
+
return data;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
case 'arraybuffer':
|
|
210
|
+
return res.arrayBuffer();
|
|
211
|
+
case 'blob':
|
|
212
|
+
return res.blob();
|
|
213
|
+
case 'text':
|
|
214
|
+
return res.text();
|
|
215
|
+
default:
|
|
216
|
+
return this.getResponseDataFromContentType(res);
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
#urlMayUseProxy(url, noProxy = []) {
|
|
220
|
+
const candidate = new URL(url);
|
|
221
|
+
const noProxyList = [...noProxy];
|
|
222
|
+
const noProxyEnvList = (process.env.NO_PROXY ?? process.env.no_proxy)?.split(',') || [];
|
|
223
|
+
for (const rule of noProxyEnvList) {
|
|
224
|
+
noProxyList.push(rule.trim());
|
|
225
|
+
}
|
|
226
|
+
for (const rule of noProxyList) {
|
|
227
|
+
// Match regex
|
|
228
|
+
if (rule instanceof RegExp) {
|
|
229
|
+
if (rule.test(candidate.toString())) {
|
|
230
|
+
return false;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
// Match URL
|
|
234
|
+
else if (rule instanceof URL) {
|
|
235
|
+
if (rule.origin === candidate.origin) {
|
|
236
|
+
return false;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
// Match string regex
|
|
240
|
+
else if (rule.startsWith('*.') || rule.startsWith('.')) {
|
|
241
|
+
const cleanedRule = rule.replace(/^\*\./, '.');
|
|
242
|
+
if (candidate.hostname.endsWith(cleanedRule)) {
|
|
243
|
+
return false;
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
// Basic string match
|
|
247
|
+
else if (rule === candidate.origin ||
|
|
248
|
+
rule === candidate.hostname ||
|
|
249
|
+
rule === candidate.href) {
|
|
250
|
+
return false;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
return true;
|
|
254
|
+
}
|
|
255
|
+
/**
|
|
256
|
+
* Applies the request interceptors. The request interceptors are applied after the
|
|
257
|
+
* call to prepareRequest is completed.
|
|
258
|
+
*
|
|
259
|
+
* @param {GaxiosOptionsPrepared} options The current set of options.
|
|
260
|
+
*
|
|
261
|
+
* @returns {Promise<GaxiosOptionsPrepared>} Promise that resolves to the set of options or response after interceptors are applied.
|
|
262
|
+
*/
|
|
263
|
+
async #applyRequestInterceptors(options) {
|
|
264
|
+
let promiseChain = Promise.resolve(options);
|
|
265
|
+
for (const interceptor of this.interceptors.request.values()) {
|
|
266
|
+
if (interceptor) {
|
|
267
|
+
promiseChain = promiseChain.then(interceptor.resolved, interceptor.rejected);
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
return promiseChain;
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* Applies the response interceptors. The response interceptors are applied after the
|
|
274
|
+
* call to request is made.
|
|
275
|
+
*
|
|
276
|
+
* @param {GaxiosOptionsPrepared} options The current set of options.
|
|
277
|
+
*
|
|
278
|
+
* @returns {Promise<GaxiosOptionsPrepared>} Promise that resolves to the set of options or response after interceptors are applied.
|
|
279
|
+
*/
|
|
280
|
+
async #applyResponseInterceptors(response) {
|
|
281
|
+
let promiseChain = Promise.resolve(response);
|
|
282
|
+
for (const interceptor of this.interceptors.response.values()) {
|
|
283
|
+
if (interceptor) {
|
|
284
|
+
promiseChain = promiseChain.then(interceptor.resolved, interceptor.rejected);
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
return promiseChain;
|
|
288
|
+
}
|
|
289
|
+
/**
|
|
290
|
+
* Validates the options, merges them with defaults, and prepare request.
|
|
291
|
+
*
|
|
292
|
+
* @param options The original options passed from the client.
|
|
293
|
+
* @returns Prepared options, ready to make a request
|
|
294
|
+
*/
|
|
295
|
+
async #prepareRequest(options) {
|
|
296
|
+
// Prepare Headers - copy in order to not mutate the original objects
|
|
297
|
+
const preparedHeaders = new Headers(this.defaults.headers);
|
|
298
|
+
_a.mergeHeaders(preparedHeaders, options.headers);
|
|
299
|
+
// Merge options
|
|
300
|
+
const opts = (0, extend_1.default)(true, {}, this.defaults, options);
|
|
301
|
+
if (!opts.url) {
|
|
302
|
+
throw new Error('URL is required.');
|
|
303
|
+
}
|
|
304
|
+
if (opts.baseURL) {
|
|
305
|
+
opts.url = new URL(opts.url, opts.baseURL);
|
|
306
|
+
}
|
|
307
|
+
// don't modify the properties of a default or provided URL
|
|
308
|
+
opts.url = new URL(opts.url);
|
|
309
|
+
if (opts.params) {
|
|
310
|
+
if (opts.paramsSerializer) {
|
|
311
|
+
let additionalQueryParams = opts.paramsSerializer(opts.params);
|
|
312
|
+
if (additionalQueryParams.startsWith('?')) {
|
|
313
|
+
additionalQueryParams = additionalQueryParams.slice(1);
|
|
314
|
+
}
|
|
315
|
+
const prefix = opts.url.toString().includes('?') ? '&' : '?';
|
|
316
|
+
opts.url = opts.url + prefix + additionalQueryParams;
|
|
317
|
+
}
|
|
318
|
+
else {
|
|
319
|
+
const url = opts.url instanceof URL ? opts.url : new URL(opts.url);
|
|
320
|
+
for (const [key, value] of new URLSearchParams(opts.params)) {
|
|
321
|
+
url.searchParams.append(key, value);
|
|
322
|
+
}
|
|
323
|
+
opts.url = url;
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
if (typeof options.maxContentLength === 'number') {
|
|
327
|
+
opts.size = options.maxContentLength;
|
|
328
|
+
}
|
|
329
|
+
if (typeof options.maxRedirects === 'number') {
|
|
330
|
+
opts.follow = options.maxRedirects;
|
|
331
|
+
}
|
|
332
|
+
const shouldDirectlyPassData = typeof opts.data === 'string' ||
|
|
333
|
+
opts.data instanceof ArrayBuffer ||
|
|
334
|
+
opts.data instanceof Blob ||
|
|
335
|
+
// Node 18 does not have a global `File` object
|
|
336
|
+
(globalThis.File && opts.data instanceof File) ||
|
|
337
|
+
opts.data instanceof FormData ||
|
|
338
|
+
opts.data instanceof stream_1.Readable ||
|
|
339
|
+
opts.data instanceof ReadableStream ||
|
|
340
|
+
opts.data instanceof String ||
|
|
341
|
+
opts.data instanceof URLSearchParams ||
|
|
342
|
+
ArrayBuffer.isView(opts.data) || // `Buffer` (Node.js), `DataView`, `TypedArray`
|
|
343
|
+
/**
|
|
344
|
+
* @deprecated `node-fetch` or another third-party's request types
|
|
345
|
+
*/
|
|
346
|
+
['Blob', 'File', 'FormData'].includes(opts.data?.constructor?.name || '');
|
|
347
|
+
if (opts.multipart?.length) {
|
|
348
|
+
const boundary = await randomUUID();
|
|
349
|
+
preparedHeaders.set('content-type', `multipart/related; boundary=${boundary}`);
|
|
350
|
+
opts.body = stream_1.Readable.from(this.getMultipartRequest(opts.multipart, boundary));
|
|
351
|
+
}
|
|
352
|
+
else if (shouldDirectlyPassData) {
|
|
353
|
+
opts.body = opts.data;
|
|
354
|
+
}
|
|
355
|
+
else if (typeof opts.data === 'object') {
|
|
356
|
+
if (preparedHeaders.get('Content-Type') ===
|
|
357
|
+
'application/x-www-form-urlencoded') {
|
|
358
|
+
// If www-form-urlencoded content type has been set, but data is
|
|
359
|
+
// provided as an object, serialize the content
|
|
360
|
+
opts.body = opts.paramsSerializer
|
|
361
|
+
? opts.paramsSerializer(opts.data)
|
|
362
|
+
: new URLSearchParams(opts.data);
|
|
363
|
+
}
|
|
364
|
+
else {
|
|
365
|
+
if (!preparedHeaders.has('content-type')) {
|
|
366
|
+
preparedHeaders.set('content-type', 'application/json');
|
|
367
|
+
}
|
|
368
|
+
opts.body = JSON.stringify(opts.data);
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
else if (opts.data) {
|
|
372
|
+
opts.body = opts.data;
|
|
373
|
+
}
|
|
374
|
+
opts.validateStatus = opts.validateStatus || this.validateStatus;
|
|
375
|
+
opts.responseType = opts.responseType || 'unknown';
|
|
376
|
+
if (!preparedHeaders.has('accept') && opts.responseType === 'json') {
|
|
377
|
+
preparedHeaders.set('accept', 'application/json');
|
|
378
|
+
}
|
|
379
|
+
const proxy = opts.proxy ||
|
|
380
|
+
process?.env?.HTTPS_PROXY ||
|
|
381
|
+
process?.env?.https_proxy ||
|
|
382
|
+
process?.env?.HTTP_PROXY ||
|
|
383
|
+
process?.env?.http_proxy;
|
|
384
|
+
if (opts.agent) {
|
|
385
|
+
// don't do any of the following options - use the user-provided agent.
|
|
386
|
+
}
|
|
387
|
+
else if (proxy && this.#urlMayUseProxy(opts.url, opts.noProxy)) {
|
|
388
|
+
const HttpsProxyAgent = await _a.#getProxyAgent();
|
|
389
|
+
if (this.agentCache.has(proxy)) {
|
|
390
|
+
opts.agent = this.agentCache.get(proxy);
|
|
391
|
+
}
|
|
392
|
+
else {
|
|
393
|
+
opts.agent = new HttpsProxyAgent(proxy, {
|
|
394
|
+
cert: opts.cert,
|
|
395
|
+
key: opts.key,
|
|
396
|
+
});
|
|
397
|
+
this.agentCache.set(proxy, opts.agent);
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
else if (opts.cert && opts.key) {
|
|
401
|
+
// Configure client for mTLS
|
|
402
|
+
if (this.agentCache.has(opts.key)) {
|
|
403
|
+
opts.agent = this.agentCache.get(opts.key);
|
|
404
|
+
}
|
|
405
|
+
else {
|
|
406
|
+
opts.agent = new https_1.Agent({
|
|
407
|
+
cert: opts.cert,
|
|
408
|
+
key: opts.key,
|
|
409
|
+
});
|
|
410
|
+
this.agentCache.set(opts.key, opts.agent);
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
if (typeof opts.errorRedactor !== 'function' &&
|
|
414
|
+
opts.errorRedactor !== false) {
|
|
415
|
+
opts.errorRedactor = common_js_1.defaultErrorRedactor;
|
|
416
|
+
}
|
|
417
|
+
if (opts.body && !('duplex' in opts)) {
|
|
418
|
+
/**
|
|
419
|
+
* required for Node.js and the type isn't available today
|
|
420
|
+
* @link https://github.com/nodejs/node/issues/46221
|
|
421
|
+
* @link https://github.com/microsoft/TypeScript-DOM-lib-generator/issues/1483
|
|
422
|
+
*/
|
|
423
|
+
opts.duplex = 'half';
|
|
424
|
+
}
|
|
425
|
+
this.#appendTimeoutToSignal(opts);
|
|
426
|
+
return Object.assign(opts, {
|
|
427
|
+
headers: preparedHeaders,
|
|
428
|
+
url: opts.url instanceof URL ? opts.url : new URL(opts.url),
|
|
429
|
+
});
|
|
430
|
+
}
|
|
431
|
+
#appendTimeoutToSignal(opts) {
|
|
432
|
+
if (opts.timeout) {
|
|
433
|
+
const timeoutSignal = AbortSignal.timeout(opts.timeout);
|
|
434
|
+
if (opts.signal && !opts.signal.aborted) {
|
|
435
|
+
opts.signal = AbortSignal.any([opts.signal, timeoutSignal]);
|
|
436
|
+
}
|
|
437
|
+
else {
|
|
438
|
+
opts.signal = timeoutSignal;
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
/**
|
|
443
|
+
* By default, throw for any non-2xx status code
|
|
444
|
+
* @param status status code from the HTTP response
|
|
445
|
+
*/
|
|
446
|
+
validateStatus(status) {
|
|
447
|
+
return status >= 200 && status < 300;
|
|
448
|
+
}
|
|
449
|
+
/**
|
|
450
|
+
* Attempts to parse a response by looking at the Content-Type header.
|
|
451
|
+
* @param {Response} response the HTTP response.
|
|
452
|
+
* @returns a promise that resolves to the response data.
|
|
453
|
+
*/
|
|
454
|
+
async getResponseDataFromContentType(response) {
|
|
455
|
+
let contentType = response.headers.get('Content-Type');
|
|
456
|
+
if (contentType === null) {
|
|
457
|
+
// Maintain existing functionality by calling text()
|
|
458
|
+
return response.text();
|
|
459
|
+
}
|
|
460
|
+
contentType = contentType.toLowerCase();
|
|
461
|
+
if (contentType.includes('application/json')) {
|
|
462
|
+
let data = await response.text();
|
|
463
|
+
try {
|
|
464
|
+
data = JSON.parse(data);
|
|
465
|
+
}
|
|
466
|
+
catch {
|
|
467
|
+
// continue
|
|
468
|
+
}
|
|
469
|
+
return data;
|
|
470
|
+
}
|
|
471
|
+
else if (contentType.match(/^text\//)) {
|
|
472
|
+
return response.text();
|
|
473
|
+
}
|
|
474
|
+
else {
|
|
475
|
+
// If the content type is something not easily handled, just return the raw data (blob)
|
|
476
|
+
return response.blob();
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
/**
|
|
480
|
+
* Creates an async generator that yields the pieces of a multipart/related request body.
|
|
481
|
+
* This implementation follows the spec: https://www.ietf.org/rfc/rfc2387.txt. However, recursive
|
|
482
|
+
* multipart/related requests are not currently supported.
|
|
483
|
+
*
|
|
484
|
+
* @param {GaxiosMultipartOptions[]} multipartOptions the pieces to turn into a multipart/related body.
|
|
485
|
+
* @param {string} boundary the boundary string to be placed between each part.
|
|
486
|
+
*/
|
|
487
|
+
async *getMultipartRequest(multipartOptions, boundary) {
|
|
488
|
+
const finale = `--${boundary}--`;
|
|
489
|
+
for (const currentPart of multipartOptions) {
|
|
490
|
+
const partContentType = currentPart.headers.get('Content-Type') || 'application/octet-stream';
|
|
491
|
+
const preamble = `--${boundary}\r\nContent-Type: ${partContentType}\r\n\r\n`;
|
|
492
|
+
yield preamble;
|
|
493
|
+
if (typeof currentPart.content === 'string') {
|
|
494
|
+
yield currentPart.content;
|
|
495
|
+
}
|
|
496
|
+
else {
|
|
497
|
+
yield* currentPart.content;
|
|
498
|
+
}
|
|
499
|
+
yield '\r\n';
|
|
500
|
+
}
|
|
501
|
+
yield finale;
|
|
502
|
+
}
|
|
503
|
+
/**
|
|
504
|
+
* A cache for the lazily-loaded proxy agent.
|
|
505
|
+
*
|
|
506
|
+
* Should use {@link Gaxios[#getProxyAgent]} to retrieve.
|
|
507
|
+
*/
|
|
508
|
+
// using `import` to dynamically import the types here
|
|
509
|
+
static #proxyAgent;
|
|
510
|
+
/**
|
|
511
|
+
* A cache for the lazily-loaded fetch library.
|
|
512
|
+
*
|
|
513
|
+
* Should use {@link Gaxios[#getFetch]} to retrieve.
|
|
514
|
+
*/
|
|
515
|
+
//
|
|
516
|
+
static #fetch;
|
|
517
|
+
/**
|
|
518
|
+
* Imports, caches, and returns a proxy agent - if not already imported
|
|
519
|
+
*
|
|
520
|
+
* @returns A proxy agent
|
|
521
|
+
*/
|
|
522
|
+
static async #getProxyAgent() {
|
|
523
|
+
this.#proxyAgent ||= (await import('https-proxy-agent')).HttpsProxyAgent;
|
|
524
|
+
return this.#proxyAgent;
|
|
525
|
+
}
|
|
526
|
+
static async #getFetch() {
|
|
527
|
+
const hasWindow = typeof window !== 'undefined' && !!window;
|
|
528
|
+
this.#fetch ||= hasWindow
|
|
529
|
+
? window.fetch
|
|
530
|
+
: (await import('node-fetch')).default;
|
|
531
|
+
return this.#fetch;
|
|
532
|
+
}
|
|
533
|
+
/**
|
|
534
|
+
* Merges headers.
|
|
535
|
+
* If the base headers do not exist a new `Headers` object will be returned.
|
|
536
|
+
*
|
|
537
|
+
* @remarks
|
|
538
|
+
*
|
|
539
|
+
* Using this utility can be helpful when the headers are not known to exist:
|
|
540
|
+
* - if they exist as `Headers`, that instance will be used
|
|
541
|
+
* - it improves performance and allows users to use their existing references to their `Headers`
|
|
542
|
+
* - if they exist in another form (`HeadersInit`), they will be used to create a new `Headers` object
|
|
543
|
+
* - if the base headers do not exist a new `Headers` object will be created
|
|
544
|
+
*
|
|
545
|
+
* @param base headers to append/overwrite to
|
|
546
|
+
* @param append headers to append/overwrite with
|
|
547
|
+
* @returns the base headers instance with merged `Headers`
|
|
548
|
+
*/
|
|
549
|
+
static mergeHeaders(base, ...append) {
|
|
550
|
+
base = base instanceof Headers ? base : new Headers(base);
|
|
551
|
+
for (const headers of append) {
|
|
552
|
+
const add = headers instanceof Headers ? headers : new Headers(headers);
|
|
553
|
+
add.forEach((value, key) => {
|
|
554
|
+
// set-cookie is the only header that would repeat.
|
|
555
|
+
// A bit of background: https://developer.mozilla.org/en-US/docs/Web/API/Headers/getSetCookie
|
|
556
|
+
key === 'set-cookie' ? base.append(key, value) : base.set(key, value);
|
|
557
|
+
});
|
|
558
|
+
}
|
|
559
|
+
return base;
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
exports.Gaxios = Gaxios;
|
|
563
|
+
_a = Gaxios;
|
|
564
|
+
//# sourceMappingURL=gaxios.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gaxios.js","sourceRoot":"","sources":["../../../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O,MAAM,KAAK,WAAW,IAAI,CAAC,CAAC,MAAM,CAAC;QAE5D,IAAI,CAAC,MAAM,KAAK,SAAS;YACvB,CAAC,CAAC,MAAM,CAAC,KAAK;YACd,CAAC,CAAC,CAAC,MAAM,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,OAAO,CAAC;QAEzC,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,YAAY,CAAC,IAAkB,EAAE,GAAG,MAAqB;QAC9D,IAAI,GAAG,IAAI,YAAY,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;QAE1D,KAAK,MAAM,OAAO,IAAI,MAAM,EAAE,CAAC;YAC7B,MAAM,GAAG,GAAG,OAAO,YAAY,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;YAExE,GAAG,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;gBACzB,mDAAmD;gBACnD,6FAA6F;gBAC7F,GAAG,KAAK,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;YACxE,CAAC,CAAC,CAAC;QACL,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AAtpBD,wBAspBC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { GaxiosOptions } from './common.js';
|
|
2
|
+
import { Gaxios } from './gaxios.js';
|
|
3
|
+
export { GaxiosError, GaxiosPromise, GaxiosResponse, GaxiosOptionsPrepared, RetryConfig, } from './common.js';
|
|
4
|
+
export { Gaxios, GaxiosOptions };
|
|
5
|
+
export * from './interceptor.js';
|
|
6
|
+
/**
|
|
7
|
+
* The default instance used when the `request` method is directly
|
|
8
|
+
* invoked.
|
|
9
|
+
*/
|
|
10
|
+
export declare const instance: Gaxios;
|
|
11
|
+
/**
|
|
12
|
+
* Make an HTTP request using the given options.
|
|
13
|
+
* @param opts Options for the request
|
|
14
|
+
*/
|
|
15
|
+
export declare function request<T>(opts: GaxiosOptions): Promise<import("./common.js").GaxiosResponse<T>>;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2018 Google LLC
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
17
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
18
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
19
|
+
}
|
|
20
|
+
Object.defineProperty(o, k2, desc);
|
|
21
|
+
}) : (function(o, m, k, k2) {
|
|
22
|
+
if (k2 === undefined) k2 = k;
|
|
23
|
+
o[k2] = m[k];
|
|
24
|
+
}));
|
|
25
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
26
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.instance = exports.Gaxios = exports.GaxiosError = void 0;
|
|
30
|
+
exports.request = request;
|
|
31
|
+
const gaxios_js_1 = require("./gaxios.js");
|
|
32
|
+
Object.defineProperty(exports, "Gaxios", { enumerable: true, get: function () { return gaxios_js_1.Gaxios; } });
|
|
33
|
+
var common_js_1 = require("./common.js");
|
|
34
|
+
Object.defineProperty(exports, "GaxiosError", { enumerable: true, get: function () { return common_js_1.GaxiosError; } });
|
|
35
|
+
__exportStar(require("./interceptor.js"), exports);
|
|
36
|
+
/**
|
|
37
|
+
* The default instance used when the `request` method is directly
|
|
38
|
+
* invoked.
|
|
39
|
+
*/
|
|
40
|
+
exports.instance = new gaxios_js_1.Gaxios();
|
|
41
|
+
/**
|
|
42
|
+
* Make an HTTP request using the given options.
|
|
43
|
+
* @param opts Options for the request
|
|
44
|
+
*/
|
|
45
|
+
async function request(opts) {
|
|
46
|
+
return exports.instance.request(opts);
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;;;;;;;;;;;;;;;AAyBjC,0BAEC;AAxBD,2CAAmC;AAS3B,uFATA,kBAAM,OASA;AAPd,yCAMqB;AALnB,wGAAA,WAAW,OAAA;AAOb,mDAAiC;AAEjC;;;GAGG;AACU,QAAA,QAAQ,GAAG,IAAI,kBAAM,EAAE,CAAC;AAErC;;;GAGG;AACI,KAAK,UAAU,OAAO,CAAI,IAAmB;IAClD,OAAO,gBAAQ,CAAC,OAAO,CAAI,IAAI,CAAC,CAAC;AACnC,CAAC"}
|