diff --git a/.browserslistrc b/.browserslistrc index bfdbb09..714c400 100644 --- a/.browserslistrc +++ b/.browserslistrc @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Mar 14, 2024 4:00 AM UTC. +# Last generated Mar 14, 2024 9:41 AM UTC. [production] node >= 20.9.0 diff --git a/.dockerignore b/.dockerignore index 8584dad..e1d04ec 100644 --- a/.dockerignore +++ b/.dockerignore @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Mar 14, 2024 4:00 AM UTC. +# Last generated Mar 14, 2024 9:41 AM UTC. # Locals diff --git a/.env.vault b/.env.vault index 2df1afd..52d7597 100644 --- a/.env.vault +++ b/.env.vault @@ -8,12 +8,12 @@ DOTENV_VAULT_MAIN="3rfi+ClkONvfHPiU9FTBcC1+Um/L8QeM9dRw1jFzEqzZXw==" DOTENV_VAULT_MAIN_VERSION=1 # dev -DOTENV_VAULT_DEV="q5XPZcAGWwwSq/qXkcoRNkuqaS4qiI6x+Ra9Rfn4zdgZM7Io+MKzrIKwL7yAi6PEUn04ebxvtRRXYm/H3IBBC9mTGKxqWxXhqGA7LDCou8q0BuOhrLDn2eS6H2Bk/tCyaWoEe+H04Au06/1mcgiAPYxOmneJNJ2DDUL21QXJDgZL6YqRiFMKVJVXIxKeK62JGrLzkKlRynsz3rHqk6ufAT1iZQjx2j93EVWd4VkZHaljzYOAku//5dBhrpgEdO9fy6rny0VjvuiLaQrUI06xe/qR3Z5V3V0beQ/HEPFiJ5oO7PTLT7Bs2vCajFhZE/tLHpa2z7mvPEAwXU5Q/xX/y/HvFq/ZMtXSXkCQ1nBAQUaYeJIR8bYuNAm5z6ORjhKig3gExPkvKfoJ7+RzFA13bs4K8g/mMCI6Hg3GGmlfjT9qB4elrTm88LM0IkLxGdOz7VuGscXRGaxZx5Hp9edklv5NwF4gi4GuSJYGx1M7MJ8VNNZokamplsjkzyzzhuzTwfYqaBZEHyGMiHu49QQpAClFZAhHwPrFd2ItzLUhOcyQbXs3hoMUhasX5Nt9qX/zrgC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9VlhEGb5sipg6gnyAl48ZauxIGJ+K3hP" -DOTENV_VAULT_CI_VERSION=289 +DOTENV_VAULT_CI="kyEd3kor+dLBbVj1TiQONYjvNgkwQPkeAIJKANN4PmFLzUdk/ZcKPZ2zy/gVSZ0t2MIjlQGTUDzTrFCyywr3M1KMC4AHPEIi5u9BznGM9LuMmCwqrprcE1yebAn1YgQFVwzfihpKOrz7DHqJj9oI2/kt0Su11dG+bEXHTxjk7QpKW0NyQ7xa0MmCB6G3NEcK8q0DmLowqfYMoXkTzAaTCV4Q7G2tVBTwkEpXO1iGpQ9unSSUDSYu2l27yFuvOJZUo4mJ4lWJjT1F3X1ArxNdOAdaFJZwMK4vUve2S3SE6MOnT//R55C+NQdFTFAFY4O6CSie8qm10w5+vpJCrtHCFULBe6maL6x/O6WTCslaFassKk40PqQY5ZSImj74DW6c7J8gW+UIVyliwhrF2PNvMHJBMDwoHSJclu5hckFs1g0gC+QDVjzSxoQlyzhdt2zdW9wxhAiloAyksJ7y0Sd8slAVIVy5P8a6G7EKlD6hmUOOvmIkuA0v6l4W1r9cQUgiOS/LKeoc071SNzzsK7mxEHSgvcJ0HbBC48h788Oieur2lhFiLOolvMnAnDeO/vTQAD/x7Y8A+VgAcAl12iCbwdXDV5SGcM8Rs8uDsh+yuuHw4kck4AdUoO5derGtCconyjO8QjALBpj9wE4a8zcShdtebHoaItOCPMRCIMCE8sLDfvJq91ek76IHdTq2ssCxIKyA/Pc/I9QCBt7JGxZeXZGvXIhpYTjyTZQAuss+BTcRCMXnvDPP9fodW7AepVeL7A6gez8e8PVnJGh6GL8++Uyw5JIASHDSLhV8SQPNiOkirDjQTzKsJw/Rw3owsy0NKLwJBb69YlnyRDFLw/oMumTYdGLLE51uFGi+ks9af+dqsvUoKva2Pldemcf8" +DOTENV_VAULT_CI_VERSION=291 # stage DOTENV_VAULT_STAGE="bfqZYD8oVLWMZ0JR5LICV+sB/btaXavszxZLxTfwSH8U5fg=" diff --git a/.gitattributes b/.gitattributes index 6924758..56f0359 100644 --- a/.gitattributes +++ b/.gitattributes @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Mar 14, 2024 4:00 AM UTC. +# Last generated Mar 14, 2024 9:41 AM UTC. # Default diff --git a/.gitignore b/.gitignore index f87f0ec..f9075eb 100644 --- a/.gitignore +++ b/.gitignore @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Mar 14, 2024 4:00 AM UTC. +# Last generated Mar 14, 2024 9:41 AM UTC. # Locals diff --git a/.npmignore b/.npmignore index 334e862..7aca195 100644 --- a/.npmignore +++ b/.npmignore @@ -25,7 +25,7 @@ # Generated data. # -# Last generated Mar 14, 2024 4:00 AM UTC. +# Last generated Mar 14, 2024 9:41 AM UTC. # Locals diff --git a/.prettierignore b/.prettierignore index 5b7857a..658e2c8 100644 --- a/.prettierignore +++ b/.prettierignore @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Mar 14, 2024 4:00 AM UTC. +# Last generated Mar 14, 2024 9:41 AM UTC. # Packages diff --git a/.vscode/settings.json b/.vscode/settings.json index e2085df..6420bc5 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -7,7 +7,7 @@ * @note This entire file will be updated automatically. * @note Instead of editing here, please review `./settings.mjs`. * - * Last generated using `./settings.mjs` Mar 14, 2024 4:00 AM UTC. + * Last generated using `./settings.mjs` Mar 14, 2024 9:41 AM UTC. */ { "editor.formatOnType": false, diff --git a/.vscodeignore b/.vscodeignore index 80755e6..bbee6c3 100644 --- a/.vscodeignore +++ b/.vscodeignore @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Mar 14, 2024 4:00 AM UTC. +# Last generated Mar 14, 2024 9:41 AM UTC. # Locals diff --git a/package-lock.json b/package-lock.json index e07d48d..ec904e3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@clevercanyon/utilities.cfw", - "version": "1.0.297", + "version": "1.0.298", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@clevercanyon/utilities.cfw", - "version": "1.0.297", + "version": "1.0.298", "cpu": [ "x64", "arm64" @@ -27,7 +27,7 @@ "url": "https://github.com/sponsors/clevercanyon" }, "peerDependencies": { - "@clevercanyon/utilities": "^1.0.913", + "@clevercanyon/utilities": "^1.0.914", "@cloudflare/ai": "1.0.53", "@upstash/ratelimit": "1.0.0", "@upstash/redis": "1.28.0" @@ -1017,9 +1017,9 @@ } }, "node_modules/@clevercanyon/utilities": { - "version": "1.0.913", - "resolved": "https://registry.npmjs.org/@clevercanyon/utilities/-/utilities-1.0.913.tgz", - "integrity": "sha512-SnHYYtQaJrE25kKBm1vVj424LZ9Wemyn7cpf2iNefn27VrWua20j0iR0dVsscc9KrjUpjMcgXwRiUW2nCfa9tw==", + "version": "1.0.914", + "resolved": "https://registry.npmjs.org/@clevercanyon/utilities/-/utilities-1.0.914.tgz", + "integrity": "sha512-ZyX+pYjbJqpKXXfyKwKcsuWnGGzOp2cnJURTw8K/O0my5rwxGE8RiINdDcDmPLRvNQOqdhh872h4ebM7ysOcxw==", "cpu": [ "x64", "arm64" @@ -1052,9 +1052,9 @@ } }, "node_modules/@clevercanyon/utilities.bash": { - "version": "1.0.205", - "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.bash/-/utilities.bash-1.0.205.tgz", - "integrity": "sha512-feobwKWPt+I+w4J2mRPGMqjTcyHXt5o5dftgRn629ubkqYxrY8uYqt+nb4IE47FKFBd6mmAcRXmWN0q1BVu1Bw==", + "version": "1.0.206", + "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.bash/-/utilities.bash-1.0.206.tgz", + "integrity": "sha512-RX3VwIXDh/lBtFtniMV4+FwCOBOi/3zF9+mCWmRT4VTQv0+zBSJndghMHDLrwvo30aTfISxwE+fkPW2kNSklLQ==", "cpu": [ "x64", "arm64" @@ -1072,14 +1072,14 @@ "url": "https://github.com/sponsors/clevercanyon" }, "peerDependencies": { - "@clevercanyon/utilities": "^1.0.912", - "@clevercanyon/utilities.node": "^1.0.199" + "@clevercanyon/utilities": "^1.0.913", + "@clevercanyon/utilities.node": "^1.0.201" } }, "node_modules/@clevercanyon/utilities.cfp": { - "version": "1.0.241", - "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.cfp/-/utilities.cfp-1.0.241.tgz", - "integrity": "sha512-dnasfnnBpHqliNA5Weoag0DL3Zg3TWwAU3p4rMDbva50JXmR7p8S1sZy1FQBsCqsw9TH7FhmLGrkp3wxSsuwZQ==", + "version": "1.0.242", + "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.cfp/-/utilities.cfp-1.0.242.tgz", + "integrity": "sha512-lSziHxKl6M9dkDqsKZKCTxl3NfvZUb9HnmhbTc00PVvGhmjzd01TlpRP5pI8HxulQ+IdeGZRI6+z/PToRM84NQ==", "cpu": [ "x64", "arm64" @@ -1097,15 +1097,15 @@ "url": "https://github.com/sponsors/clevercanyon" }, "peerDependencies": { - "@clevercanyon/utilities": "^1.0.912", - "@clevercanyon/utilities.cfw": "^1.0.295", - "@clevercanyon/utilities.web": "^1.0.153" + "@clevercanyon/utilities": "^1.0.913", + "@clevercanyon/utilities.cfw": "^1.0.298", + "@clevercanyon/utilities.web": "^1.0.154" } }, "node_modules/@clevercanyon/utilities.cfw": { - "version": "1.0.297", - "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.cfw/-/utilities.cfw-1.0.297.tgz", - "integrity": "sha512-Ha4O75IT4haAplFRShoRRoVr6GVoVuCTa6KBMqJNCWk/jUX8KWIC8S1Rr8qVBoQtZP/fNushlfGRg3Dgc1rWqw==", + "version": "1.0.298", + "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.cfw/-/utilities.cfw-1.0.298.tgz", + "integrity": "sha512-rCKAmXJVke33c/hNi9Xl7FNmj3tKlNaDVLVSQdHyxd9hnO0Hx+/r+XvwJuHqhSQyr2/bMvTzUe6bsgV91/coPw==", "cpu": [ "x64", "arm64" @@ -1124,7 +1124,7 @@ "url": "https://github.com/sponsors/clevercanyon" }, "peerDependencies": { - "@clevercanyon/utilities": "^1.0.912", + "@clevercanyon/utilities": "^1.0.913", "@cloudflare/ai": "1.0.53", "@upstash/ratelimit": "1.0.0", "@upstash/redis": "1.28.0" @@ -1172,9 +1172,9 @@ } }, "node_modules/@clevercanyon/utilities.web": { - "version": "1.0.154", - "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.web/-/utilities.web-1.0.154.tgz", - "integrity": "sha512-9/IK81wBOjiBwJ+pNwIX+KCkzqwQVMkFP3YVQvWPa7ENa8bQJBNVjgFPaJU885Pa89F3ODXYh8VdOuiGstc6uA==", + "version": "1.0.155", + "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.web/-/utilities.web-1.0.155.tgz", + "integrity": "sha512-zBux5Ke+XLZBeacOC3OlK/eRAZxrSnxAoLz8fVdQPvu8cnDhI3adK56/rSzaZwd2r3J2h32mvI1xA7sMyRBCcA==", "cpu": [ "x64", "arm64" @@ -1193,7 +1193,7 @@ "url": "https://github.com/sponsors/clevercanyon" }, "peerDependencies": { - "@clevercanyon/utilities": "^1.0.912" + "@clevercanyon/utilities": "^1.0.913" } }, "node_modules/@cloudflare/ai": { diff --git a/package.json b/package.json index c361f94..8dfa57a 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "publishConfig": { "access": "public" }, - "version": "1.0.298", + "version": "1.0.299", "license": "GPL-3.0-or-later", "name": "@clevercanyon/utilities.cfw", "description": "Utilities for JavaScript apps running in a Cloudflare Worker environment.", @@ -69,7 +69,7 @@ }, "dependencies": {}, "peerDependencies": { - "@clevercanyon/utilities": "^1.0.913", + "@clevercanyon/utilities": "^1.0.914", "@cloudflare/ai": "1.0.53", "@upstash/ratelimit": "1.0.0", "@upstash/redis": "1.28.0" diff --git a/src/proxy.ts b/src/proxy.ts index 653da94..959c06f 100644 --- a/src/proxy.ts +++ b/src/proxy.ts @@ -59,7 +59,7 @@ export const fetch = async (rcData: $type.$cfw.RequestContextData, parseable: $t uaBotAppend: '', redirect: 'follow', - maxRedirects: 3, + maxRedirects: 20, timeout: $time.secondInMilliseconds * 15, }) as RequiredFetchOptions; diff --git a/tsconfig.json b/tsconfig.json index ba69ae3..c141746 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,7 +7,7 @@ * @note This entire file will be updated automatically. * @note Instead of editing here, please review `./tsconfig.mjs`. * - * Last generated using `./tsconfig.mjs` Mar 14, 2024 4:00 AM UTC. + * Last generated using `./tsconfig.mjs` Mar 14, 2024 9:41 AM UTC. */ { "include": ["./src/**/*", "./dev-types.d.ts"], diff --git a/wrangler.toml b/wrangler.toml index ad02e7a..b3e6fdb 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -7,7 +7,7 @@ # @note This entire file will be updated automatically. # @note Instead of editing here, please review `./wrangler.mjs`. # -# Last generated using `./wrangler.mjs` Mar 14, 2024 4:00 AM UTC. +# Last generated using `./wrangler.mjs` Mar 14, 2024 9:41 AM UTC. ## send_metrics = false