From 8460981ac92521fd240654b35b01a8c34455767e Mon Sep 17 00:00:00 2001 From: Jason Caldwell Date: Fri, 8 Mar 2024 17:56:40 -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 | 20 ++++++++++---------- package.json | 2 +- src/cfw.ts | 2 +- tsconfig.json | 2 +- wrangler.toml | 2 +- 14 files changed, 26 insertions(+), 26 deletions(-) diff --git a/.browserslistrc b/.browserslistrc index 70a5ac6..a108c59 100644 --- a/.browserslistrc +++ b/.browserslistrc @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Mar 8, 2024 10:52 PM UTC. +# Last generated Mar 8, 2024 10:56 PM UTC. [production] node >= 20.9.0 diff --git a/.dockerignore b/.dockerignore index 6ec80c4..3da6839 100644 --- a/.dockerignore +++ b/.dockerignore @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Mar 8, 2024 10:52 PM UTC. +# Last generated Mar 8, 2024 10:56 PM UTC. # Locals diff --git a/.env.vault b/.env.vault index e45646e..828ced0 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="lQjU80abgXBp7f2NIU2sBD8Vvvqu0LtGKe4VIp/perVw8XRjQTsnrfnKbo9CGCJK0F1FApgL2wzrmrumYB9SlHJc7//Q0ZO8iy66PfgWyjfyQRWXxXJKBxJqa26/SRQ7DVeL5R4ruq5687Q0dKfV0/KYH9S0Znn9QvjtHkx2GLwXOS/926xuE33gNv8ds1llqVdcIUuycqnA/fBWIi3z0uLL4FfJXW68vJWp2zoL/Yk8T/uUrZXp4/8P6IsWkQaWOBNZ6u3FmfR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nFkq7BdsDxXL3QSgy+HtuMKe8Yt9Ofsc052f+HVzR9RADA6FTc2lE8HWjl2kviHBJfzUHBaufosl4T65Fy31QvnKBWMhMhIrRGCM4VtbbM+mm808ryXS12lrLrXHztvVVIdz551NBYMGaCS/6z55ZapCbFrrx7HnpFOt+ukKNyQKWkDkhwxdZ9" +DOTENV_VAULT_CI_VERSION=265 # stage DOTENV_VAULT_STAGE="bfqZYD8oVLWMZ0JR5LICV+sB/btaXavszxZLxTfwSH8U5fg=" diff --git a/.gitattributes b/.gitattributes index 2436209..20c7176 100644 --- a/.gitattributes +++ b/.gitattributes @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Mar 8, 2024 10:52 PM UTC. +# Last generated Mar 8, 2024 10:56 PM UTC. # Default diff --git a/.gitignore b/.gitignore index 72001db..838b4db 100644 --- a/.gitignore +++ b/.gitignore @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Mar 8, 2024 10:52 PM UTC. +# Last generated Mar 8, 2024 10:56 PM UTC. # Locals diff --git a/.npmignore b/.npmignore index d77bb4c..3c4619e 100644 --- a/.npmignore +++ b/.npmignore @@ -25,7 +25,7 @@ # Generated data. # -# Last generated Mar 8, 2024 10:52 PM UTC. +# Last generated Mar 8, 2024 10:56 PM UTC. # Locals diff --git a/.prettierignore b/.prettierignore index 39d2227..7cc058f 100644 --- a/.prettierignore +++ b/.prettierignore @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Mar 8, 2024 10:52 PM UTC. +# Last generated Mar 8, 2024 10:56 PM UTC. # Packages diff --git a/.vscode/settings.json b/.vscode/settings.json index 9ab2221..aff3c8e 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 8, 2024 10:52 PM UTC. + * Last generated using `./settings.mjs` Mar 8, 2024 10:56 PM UTC. */ { "editor.formatOnType": false, diff --git a/.vscodeignore b/.vscodeignore index 587f503..16f6232 100644 --- a/.vscodeignore +++ b/.vscodeignore @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Mar 8, 2024 10:52 PM UTC. +# Last generated Mar 8, 2024 10:56 PM UTC. # Locals diff --git a/package-lock.json b/package-lock.json index c4e9293..22eb00b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@clevercanyon/utilities.cfw", - "version": "1.0.284", + "version": "1.0.285", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@clevercanyon/utilities.cfw", - "version": "1.0.284", + "version": "1.0.285", "cpu": [ "x64", "arm64" @@ -1077,9 +1077,9 @@ } }, "node_modules/@clevercanyon/utilities.cfp": { - "version": "1.0.231", - "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.cfp/-/utilities.cfp-1.0.231.tgz", - "integrity": "sha512-xRYfeKkt88QhLKcO9eiBt4EqoxuqVXPlauWkmkNSrLYq9KhALF/sqyDBSua5u0qPxc29swVI3sHX6kXkCZAc8Q==", + "version": "1.0.233", + "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.cfp/-/utilities.cfp-1.0.233.tgz", + "integrity": "sha512-UUSx+GR0QyeKn8ulF5ULTR0Hl6j51C8t1pMS0d+VR4J00B9OuzVYjNgc/9gezJDBMCKAFnW6eEPzWbyH/SqStA==", "cpu": [ "x64", "arm64" @@ -1097,15 +1097,15 @@ "url": "https://github.com/sponsors/clevercanyon" }, "peerDependencies": { - "@clevercanyon/utilities": "^1.0.890", - "@clevercanyon/utilities.cfw": "^1.0.283", + "@clevercanyon/utilities": "^1.0.891", + "@clevercanyon/utilities.cfw": "^1.0.285", "@clevercanyon/utilities.web": "^1.0.152" } }, "node_modules/@clevercanyon/utilities.cfw": { - "version": "1.0.284", - "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.cfw/-/utilities.cfw-1.0.284.tgz", - "integrity": "sha512-vjN7R7pDtViIJJE9vegskvovv98fJf40l1deEsJfRQ1yll5N6FZoprH2HETQcTYMTU3CnV65kTQN5F79pGPFhA==", + "version": "1.0.285", + "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.cfw/-/utilities.cfw-1.0.285.tgz", + "integrity": "sha512-jJ469H8RDYs03gS1FZnOnGBOPP5XXVI0G6H7na/ErInUvKlney0ThAYpf5Q5z5e+C2dJHSe3LhimL0/0zS8W/w==", "cpu": [ "x64", "arm64" diff --git a/package.json b/package.json index ff992a5..9156164 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "publishConfig": { "access": "public" }, - "version": "1.0.285", + "version": "1.0.286", "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/cfw.ts b/src/cfw.ts index 50413c5..7e7dba7 100644 --- a/src/cfw.ts +++ b/src/cfw.ts @@ -157,7 +157,7 @@ export const handleFetchEvent = async (ircData: InitialRequestContextData): Prom if (url.searchParams.has('utx_audit_log')) { const token = url.searchParams.get('utx_audit_log') || '', - validToken = $env.get('APP_AUDIT_LOGGER_BEARER_TOKEN', { type: 'string', require: true }).split(' ', 2)[1] || ''; + validToken = auditLoggerBearerToken.split(' ', 2)[1] || ''; if (token && validToken && $crypto.safeEqual(token, validToken)) { void auditLogger.log(url.toString(), { response: await response }); diff --git a/tsconfig.json b/tsconfig.json index b1f27d3..c9eccf9 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 8, 2024 10:52 PM UTC. + * Last generated using `./tsconfig.mjs` Mar 8, 2024 10:56 PM UTC. */ { "include": ["./src/**/*", "./dev-types.d.ts"], diff --git a/wrangler.toml b/wrangler.toml index e9ac005..e5bb3aa 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 8, 2024 10:52 PM UTC. +# Last generated using `./wrangler.mjs` Mar 8, 2024 10:56 PM UTC. ## send_metrics = false