From b7af04e71b31ba69af815d35f8e1033bee30b688 Mon Sep 17 00:00:00 2001 From: Jason Caldwell Date: Wed, 6 Mar 2024 16:04:31 -0500 Subject: [PATCH] Project update. [p][robotic] --- .browserslistrc | 2 +- .dockerignore | 2 +- .env.vault | 8 ++++---- .gitattributes | 2 +- .gitignore | 2 +- .npmignore | 2 +- .prettierignore | 2 +- .vscode/settings.json | 2 +- .vscodeignore | 2 +- package-lock.json | 21 ++++++++++++--------- package.json | 2 +- src/proxy.ts | 2 +- tsconfig.json | 2 +- wrangler.toml | 2 +- 14 files changed, 28 insertions(+), 25 deletions(-) diff --git a/.browserslistrc b/.browserslistrc index 1ff6fcf..a3c4ef6 100644 --- a/.browserslistrc +++ b/.browserslistrc @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Mar 6, 2024 5:15 PM UTC. +# Last generated Mar 6, 2024 9:04 PM UTC. [production] node >= 20.9.0 diff --git a/.dockerignore b/.dockerignore index c36d31b..7117486 100644 --- a/.dockerignore +++ b/.dockerignore @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Mar 6, 2024 5:15 PM UTC. +# Last generated Mar 6, 2024 9:04 PM UTC. # Locals diff --git a/.env.vault b/.env.vault index a19c9e4..1365d2a 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="lW9wwGT6/YDqTcBdNQf6EvbQ3axcaTHzm0v0/UfRT9mDwwDPZfMs0E5KFT/LRKHtME0GVtt3680wHzig2IMV15svQ3nYl67f8yyG2ypJd+YRMzv11XHm3KpSSAW1bgTi6YOokYVqAT2LF7QphbYl+jpQsFdfvPJDKMXv3Adyh9VB8SISrmkXgJHATxY0p1vf8oKp0PaZVbddZH4DhZ2uJYFeFzoUN5sdmJhehSxuDrMR9WlKIxvHnp9laedIGF3NQohQY1j4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qMCwxwLDbafMe1TwBl5F1JufLvGlJvmBWIaU08zJlvddAmrwKrcKCWH5q5KCMkxBq8PSKF0syRP4LTylEhWr8yr6mZFWU0a63Mub4v8B6vgLs+wQIPLA0KZPn1au2CXsqxfGU70W5VPPBHZvhms4BtfXrg6ojBWMS08Nc7piX7RTOYI4SMdGVLYbO8URXZxjRnD4" +DOTENV_VAULT_CI_VERSION=253 # stage DOTENV_VAULT_STAGE="bfqZYD8oVLWMZ0JR5LICV+sB/btaXavszxZLxTfwSH8U5fg=" diff --git a/.gitattributes b/.gitattributes index 15040e8..7accba4 100644 --- a/.gitattributes +++ b/.gitattributes @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Mar 6, 2024 5:15 PM UTC. +# Last generated Mar 6, 2024 9:04 PM UTC. # Default diff --git a/.gitignore b/.gitignore index 6e761ad..8d5a243 100644 --- a/.gitignore +++ b/.gitignore @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Mar 6, 2024 5:15 PM UTC. +# Last generated Mar 6, 2024 9:04 PM UTC. # Locals diff --git a/.npmignore b/.npmignore index 414c955..0771dca 100644 --- a/.npmignore +++ b/.npmignore @@ -25,7 +25,7 @@ # Generated data. # -# Last generated Mar 6, 2024 5:15 PM UTC. +# Last generated Mar 6, 2024 9:04 PM UTC. # Locals diff --git a/.prettierignore b/.prettierignore index 20501ca..7c972ae 100644 --- a/.prettierignore +++ b/.prettierignore @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Mar 6, 2024 5:15 PM UTC. +# Last generated Mar 6, 2024 9:04 PM UTC. # Packages diff --git a/.vscode/settings.json b/.vscode/settings.json index 68cff8e..ed14b33 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 6, 2024 5:15 PM UTC. + * Last generated using `./settings.mjs` Mar 6, 2024 9:04 PM UTC. */ { "editor.formatOnType": false, diff --git a/.vscodeignore b/.vscodeignore index fe89077..3e9d0de 100644 --- a/.vscodeignore +++ b/.vscodeignore @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Mar 6, 2024 5:15 PM UTC. +# Last generated Mar 6, 2024 9:04 PM UTC. # Locals diff --git a/package-lock.json b/package-lock.json index 665abff..bff3995 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@clevercanyon/utilities.cfw", - "version": "1.0.278", + "version": "1.0.279", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@clevercanyon/utilities.cfw", - "version": "1.0.278", + "version": "1.0.279", "cpu": [ "x64", "arm64" @@ -1103,9 +1103,9 @@ } }, "node_modules/@clevercanyon/utilities.cfw": { - "version": "1.0.278", - "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.cfw/-/utilities.cfw-1.0.278.tgz", - "integrity": "sha512-zFSx8tiRltCX4iR1viEzv5+rMchT0Oy+pcMWJXYkVm+KR65vgAPAc/z+deuDAFGlQTQuMD0HJn+awimxqCq8oA==", + "version": "1.0.279", + "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.cfw/-/utilities.cfw-1.0.279.tgz", + "integrity": "sha512-tEh40i13x0+wMjVDTSR2l3Ue11MODwMHmKzmsvpdufDoNstH+lSdJPKmVbuhgCCCsKB0p6GQbeo0ZRisGMzyrg==", "cpu": [ "x64", "arm64" @@ -1124,7 +1124,7 @@ "url": "https://github.com/sponsors/clevercanyon" }, "peerDependencies": { - "@clevercanyon/utilities": "^1.0.886", + "@clevercanyon/utilities": "^1.0.887", "@cloudflare/ai": "1.0.53", "@upstash/ratelimit": "1.0.0", "@upstash/redis": "1.28.0" @@ -29928,15 +29928,18 @@ } }, "node_modules/unplugin": { - "version": "1.8.2", - "resolved": "https://registry.npmjs.org/unplugin/-/unplugin-1.8.2.tgz", - "integrity": "sha512-fgldo8hwP8dV94ne3rwQqlZkZWdcqH4K48bXax+N0MrBapfvoTbIQt9L2Vj/DzZAbWI/+kd2b9ZDsB7QZgz/hw==", + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/unplugin/-/unplugin-1.8.3.tgz", + "integrity": "sha512-ZlLteXGDcyJgsbN2g4sZ3Dw6fpX1O5rjgeaA5MmQhhA2YxnTxsh43f8nDQgFOzcir0iv8GYMjtCV8MtyNnrhEg==", "dev": true, "dependencies": { "acorn": "^8.11.3", "chokidar": "^3.6.0", "webpack-sources": "^3.2.3", "webpack-virtual-modules": "^0.6.1" + }, + "engines": { + "node": ">=14.0.0" } }, "node_modules/unplugin-icons": { diff --git a/package.json b/package.json index 76235d5..48bb646 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "publishConfig": { "access": "public" }, - "version": "1.0.279", + "version": "1.0.280", "license": "GPL-3.0-or-later", "name": "@clevercanyon/utilities.cfw", "description": "Utilities for JavaScript apps running in a Cloudflare Worker environment.", diff --git a/src/proxy.ts b/src/proxy.ts index 35f584b..9940f94 100644 --- a/src/proxy.ts +++ b/src/proxy.ts @@ -113,7 +113,7 @@ export const fetch = async (rcData: $cfw.StdRequestContextData, parseable: $type */ export const fetchWorker = async (rcData: $cfw.StdRequestContextData, requestInfo: $type.cfw.RequestInfo, requestInit?: $type.cfw.RequestInit): Promise<$type.cfw.Response> => { const { fetch, Request } = cfw, - proxyRoute = 'https://worker-proxy.c10n.workers.dev/'; + proxyRoute = 'https://workers.o5p.me/worker-proxy/'; if ($is.string(requestInfo) || $is.url(requestInfo)) { requestInfo = $url.addQueryVar('url', requestInfo.toString(), proxyRoute); diff --git a/tsconfig.json b/tsconfig.json index cad67cd..1ac49c1 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 6, 2024 5:15 PM UTC. + * Last generated using `./tsconfig.mjs` Mar 6, 2024 9:04 PM UTC. */ { "include": ["./src/**/*", "./dev-types.d.ts"], diff --git a/wrangler.toml b/wrangler.toml index b5d7547..040ba33 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 6, 2024 5:15 PM UTC. +# Last generated using `./wrangler.mjs` Mar 6, 2024 9:04 PM UTC. ## send_metrics = false