From 7c8a60e91b5dc1f1206c9c08fe9b5d82247cdd76 Mon Sep 17 00:00:00 2001 From: Jason Caldwell Date: Thu, 14 Mar 2024 05:41:23 -0400 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 | 62 ++++++++++++++++----------------- package.json | 2 +- src/resources/classes/logger.ts | 6 ++-- tsconfig.json | 2 +- wrangler.toml | 2 +- 14 files changed, 49 insertions(+), 49 deletions(-) diff --git a/.browserslistrc b/.browserslistrc index dd3b8b51..404bcc14 100644 --- a/.browserslistrc +++ b/.browserslistrc @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Mar 14, 2024 3:58 AM UTC. +# Last generated Mar 14, 2024 9:40 AM UTC. [production] node >= 20.9.0 diff --git a/.dockerignore b/.dockerignore index 8e9a794a..b6bf381e 100644 --- a/.dockerignore +++ b/.dockerignore @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Mar 14, 2024 3:58 AM UTC. +# Last generated Mar 14, 2024 9:40 AM UTC. # Locals diff --git a/.env.vault b/.env.vault index 3314fdab..0f469df9 100644 --- a/.env.vault +++ b/.env.vault @@ -8,12 +8,12 @@ DOTENV_VAULT_MAIN="7GW98NfL4hM4N6HbfeDXCKreVxKvcVPupFRnZ8XJ+pomaQ==" DOTENV_VAULT_MAIN_VERSION=1 # dev -DOTENV_VAULT_DEV="W2QKO2D46OH7Cp/d8ErvsKrL6FekKKVwl1zUNI4WpqJV+vOnKaL1ey/Od9wcgkD2b34oRvz5sAGHDCWmTtKj6Wpfx0KPAMwXSYdsWtFQ2iwRw3ZGzwbhN2bTFHaPdmNlC3rpevxlR6yzmX9Gd0IjQ0OjDedDTF2mI3IQERZo7YN1p6IzAfRtBoDh6C4dKM4sFX0KXS1Tx7TMH7CHMSJqdd58TXJust9NdbdJFdhnxwTiRuJIPl99/ivVW2UxQxyZ5A==" -DOTENV_VAULT_DEV_VERSION=453 +DOTENV_VAULT_DEV="TjKDMjbldPaEZ6UqGTuHdeL5T12wMuF1cTp3MgPSPL4V5KkCqeym8ihPQQGZw8T8G/ZXtFXXoYpIOa9jg9JxErbvFv79mEpynP7LMdPKmTuNpxqplECjiefAJURcQ3WKMDUetX/Khl8EvGlx83YLEEQf+MkNFWBqVtrOwBPUVcAC3rks6p/g4uTfA2Uq8UQGTIEsj+6xVQTrv9ZUpW5jPG6MoDErDZRJoHr31kpjFYOd760TEqQsR8tZBt89zQ3pSA==" +DOTENV_VAULT_DEV_VERSION=455 # ci -DOTENV_VAULT_CI="8hiwLNnPtuukNIXtCElQcOGk4AZMm4lEtZfKgsqdRG45pfI50G/WkxHlgvKQdpY2IReZm6EIyY5ysoJXACmbt8WtJKvBvp+gZDRI4guLKY85m93zqHrVCO7rJRev6XDifbFmoqIsFkq82Vw3qehsoiuRON3fwqXYTGZAoHVroQ==" -DOTENV_VAULT_CI_VERSION=453 +DOTENV_VAULT_CI="dVLmOB2899TFOxqIajP7in+50t9zbJ1lrlVZIOJgKwWDOevtRbzN8qwdBP84zisA0ZJtjT15RNY872zJVpWcXFf3Z0WsiibVbADXXcVk4qjKzjzvEMSeMzwEyxEFrRxwLAf5xkmLykwpeMJOWyK0NVwZ3TZipyCrLAEB6lwdwA==" +DOTENV_VAULT_CI_VERSION=455 # stage DOTENV_VAULT_STAGE="aRP8su2YV4jZu3w1HZ/SLaots0IwJDFw75TCpvXEFeNp7tw=" diff --git a/.gitattributes b/.gitattributes index 5539f03d..07ab259a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Mar 14, 2024 3:58 AM UTC. +# Last generated Mar 14, 2024 9:40 AM UTC. # Default diff --git a/.gitignore b/.gitignore index 5d103934..3112fdcd 100644 --- a/.gitignore +++ b/.gitignore @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Mar 14, 2024 3:58 AM UTC. +# Last generated Mar 14, 2024 9:40 AM UTC. # Locals diff --git a/.npmignore b/.npmignore index de0cc2f3..38819e08 100644 --- a/.npmignore +++ b/.npmignore @@ -25,7 +25,7 @@ # Generated data. # -# Last generated Mar 14, 2024 3:58 AM UTC. +# Last generated Mar 14, 2024 9:40 AM UTC. # Locals diff --git a/.prettierignore b/.prettierignore index b4c0414d..71b84898 100644 --- a/.prettierignore +++ b/.prettierignore @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Mar 14, 2024 3:58 AM UTC. +# Last generated Mar 14, 2024 9:40 AM UTC. # Packages diff --git a/.vscode/settings.json b/.vscode/settings.json index 84d8445c..209ecde5 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 3:58 AM UTC. + * Last generated using `./settings.mjs` Mar 14, 2024 9:40 AM UTC. */ { "editor.formatOnType": false, diff --git a/.vscodeignore b/.vscodeignore index 27b320da..08206443 100644 --- a/.vscodeignore +++ b/.vscodeignore @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Mar 14, 2024 3:58 AM UTC. +# Last generated Mar 14, 2024 9:40 AM UTC. # Locals diff --git a/package-lock.json b/package-lock.json index 2eca05f4..f19e7e6e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@clevercanyon/utilities", - "version": "1.0.912", + "version": "1.0.913", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@clevercanyon/utilities", - "version": "1.0.912", + "version": "1.0.913", "cpu": [ "x64", "arm64" @@ -1026,9 +1026,9 @@ } }, "node_modules/@clevercanyon/utilities": { - "version": "1.0.912", - "resolved": "https://registry.npmjs.org/@clevercanyon/utilities/-/utilities-1.0.912.tgz", - "integrity": "sha512-I6+NWRh2tJs/L8kuoeHjo+pHzKguqSzIfCXOLSC3V33RlXYqX5PfK2cTC+v0QNBbCnYK6gsR9m6ma8k2Vq6GzQ==", + "version": "1.0.913", + "resolved": "https://registry.npmjs.org/@clevercanyon/utilities/-/utilities-1.0.913.tgz", + "integrity": "sha512-SnHYYtQaJrE25kKBm1vVj424LZ9Wemyn7cpf2iNefn27VrWua20j0iR0dVsscc9KrjUpjMcgXwRiUW2nCfa9tw==", "cpu": [ "x64", "arm64" @@ -1053,7 +1053,7 @@ "ignore": "5.3.0", "ip-regex": "5.0.0", "micro-memoize": "4.1.2", - "micromatch": "npm:@clevercanyon/micromatch.fork@^4.0.138", + "micromatch": "npm:@clevercanyon/micromatch.fork@^4.0.139", "parse-css-color": "0.2.1", "preact": "10.19.2", "preact-render-to-string": "6.3.1", @@ -1062,9 +1062,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" @@ -1082,14 +1082,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" @@ -1107,15 +1107,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" @@ -1134,16 +1134,16 @@ "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" } }, "node_modules/@clevercanyon/utilities.node": { - "version": "1.0.200", - "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.node/-/utilities.node-1.0.200.tgz", - "integrity": "sha512-ZQT5lDNFt3x9DTjeO7/WOS+5L6Ri1+B6yjUaycWvXGbpmVvW1zQPFJjduwUfh7TrJyMaO8HtDSyLYKw5DCKMxA==", + "version": "1.0.201", + "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.node/-/utilities.node-1.0.201.tgz", + "integrity": "sha512-mJ/Cn9LJyyy9r0ay7mtVd5YF5oxFaPqqnMLrji66cpbIsAyXu/NYThQr7QYVuBs2cK+/Fl6eB8UZAMNnzBtCng==", "cpu": [ "x64", "arm64" @@ -1161,8 +1161,8 @@ "url": "https://github.com/sponsors/clevercanyon" }, "peerDependencies": { - "@clevercanyon/split-cmd.fork": "^1.0.136", - "@clevercanyon/utilities": "^1.0.912", + "@clevercanyon/split-cmd.fork": "^1.0.137", + "@clevercanyon/utilities": "^1.0.913", "@upstash/ratelimit": "1.0.0", "@upstash/redis": "1.28.0", "archiver": "6.0.1", @@ -1175,16 +1175,16 @@ "globby": "14.0.0", "prettier": "3.1.0", "shescape": "2.0.2", - "spawn-please": "npm:@clevercanyon/spawn-please.fork@^2.0.130", + "spawn-please": "npm:@clevercanyon/spawn-please.fork@^2.0.131", "term-img": "6.0.0", "yargs": "17.7.2", "yargs-parser": "21.1.1" } }, "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" @@ -1203,7 +1203,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 6fa6bd42..921f26d9 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "publishConfig": { "access": "public" }, - "version": "1.0.913", + "version": "1.0.914", "license": "GPL-3.0-or-later", "name": "@clevercanyon/utilities", "description": "Utilities for JavaScript apps running in any environment.", diff --git a/src/resources/classes/logger.ts b/src/resources/classes/logger.ts index 82e6e159..fb9f76c4 100644 --- a/src/resources/classes/logger.ts +++ b/src/resources/classes/logger.ts @@ -628,9 +628,9 @@ export const getClass = (): Constructor => { const httpPost = (): Promise => { return new Promise((resolve): void => { void fetch(this.endpoint, { - keepalive: true, - redirect: 'manual', - method: 'POST', + keepalive: true, // Similar to beacon API. + method: 'POST', // We are posting log entries. + redirect: 'manual', // Do not follow automatically. signal: AbortSignal.timeout(this.configMinutia.httpTimeout), headers: { 'content-type': $json.contentType(), 'authorization': this.endpointToken }, body: currentQueueJSONSnapshot, diff --git a/tsconfig.json b/tsconfig.json index a2b8e828..1a215513 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 3:58 AM UTC. + * Last generated using `./tsconfig.mjs` Mar 14, 2024 9:40 AM UTC. */ { "include": ["./src/**/*", "./dev-types.d.ts"], diff --git a/wrangler.toml b/wrangler.toml index 14f403a2..eacb41eb 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 3:58 AM UTC. +# Last generated using `./wrangler.mjs` Mar 14, 2024 9:40 AM UTC. ## send_metrics = false