From 575d08b35f32e16ff8bf49c2aa6397ca6675f6a2 Mon Sep 17 00:00:00 2001 From: Jason Caldwell Date: Mon, 11 Mar 2024 18:27:20 -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 | 10 +++++----- package.json | 2 +- src/resources/classes/logger.ts | 4 +--- tsconfig.json | 2 +- wrangler.toml | 2 +- 14 files changed, 21 insertions(+), 23 deletions(-) diff --git a/.browserslistrc b/.browserslistrc index ffc3b320..d2663e46 100644 --- a/.browserslistrc +++ b/.browserslistrc @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Mar 11, 2024 10:25 PM UTC. +# Last generated Mar 11, 2024 10:26 PM UTC. [production] node >= 20.9.0 diff --git a/.dockerignore b/.dockerignore index c8634764..c3317b53 100644 --- a/.dockerignore +++ b/.dockerignore @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Mar 11, 2024 10:25 PM UTC. +# Last generated Mar 11, 2024 10:26 PM UTC. # Locals diff --git a/.env.vault b/.env.vault index 7602628b..3a24b3be 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="vGryAIflbZ12exY9YMjES8ybsa7+PzHkgO06pWCyN4sfR7b7h28GbeHBBzzDIO0MCniXQLFz9yzE+k17wDgRNIG0QZEglVOpOous+0Jihb/IhtlKZGkKnyUhDmXL+uK4j7jB48DB3mJcu1jRRNQzKv9xrlEULpstsHn1KgTLdB1580Q+fq+mmNJd5kiQ1Ri91cWurpVehKi5W0bIJzznELJ8CUCWZuBJZ+eRGRqSnLocadb+VhhXoF90w19PxPvdng==" -DOTENV_VAULT_DEV_VERSION=415 +DOTENV_VAULT_DEV="NcBdOhE2O7BhafTlydX3SleW7c1jmJOwlyBePEOoRcMhh+UFwy+6T/FrAiRztIpSaXCOX1Tl2qATtVI2ICCaaBYWL9QcLjvpm0B5x6fDnV66VGL1biR+EItI4NXErehzQ08Ivl9zt67m0nVrUfHwjELZt48w18T4rov595WIYf9aBkfwn0hFbmtgO6JubYpdwc1m3i8uCY7ekk49J/++AGY/ZCSNfvUzqbvYZ5meqEQtKfsWTkkk3gt/J/KQomYd3w==" +DOTENV_VAULT_DEV_VERSION=417 # ci -DOTENV_VAULT_CI="WqZLRGXSE7Z3dnZxl4Z7lZSYnXqwIpwIfJeHwXpO6FCSXYd07UN+jLJb80pTBjpPErik2mYCqOnKLaJEcRMXpD5XTGZOvntOSCUf5hwulhhBLcR+RdFZxyvog5g0W0qqGslt9pX+GKnYkekrEUdHnMKN9TaIu2Ew9dXCGlI9pQ==" -DOTENV_VAULT_CI_VERSION=415 +DOTENV_VAULT_CI="dKoScg4+zi5R9CfqLLfwc7+1ZpXh4QwQaxRmG5TZEKMavbzYOjVq2zjxpuWahUWE7N5sVHtAFiMibLL7mo/ESblsY/zjU1MHnLzD/GsCzoztqlOF+/iHXhu9VTnPX8JxRdRTJ0e1JyH1laiD5s5CpNNsrnp7HR9Q9PdLbMqgWg==" +DOTENV_VAULT_CI_VERSION=417 # stage DOTENV_VAULT_STAGE="aRP8su2YV4jZu3w1HZ/SLaots0IwJDFw75TCpvXEFeNp7tw=" diff --git a/.gitattributes b/.gitattributes index 96200a90..7da424ef 100644 --- a/.gitattributes +++ b/.gitattributes @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Mar 11, 2024 10:25 PM UTC. +# Last generated Mar 11, 2024 10:26 PM UTC. # Default diff --git a/.gitignore b/.gitignore index 26704f1d..dcf165ec 100644 --- a/.gitignore +++ b/.gitignore @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Mar 11, 2024 10:25 PM UTC. +# Last generated Mar 11, 2024 10:26 PM UTC. # Locals diff --git a/.npmignore b/.npmignore index 38d07d2b..52709f48 100644 --- a/.npmignore +++ b/.npmignore @@ -25,7 +25,7 @@ # Generated data. # -# Last generated Mar 11, 2024 10:25 PM UTC. +# Last generated Mar 11, 2024 10:26 PM UTC. # Locals diff --git a/.prettierignore b/.prettierignore index 2cae947c..d0d83c4d 100644 --- a/.prettierignore +++ b/.prettierignore @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Mar 11, 2024 10:25 PM UTC. +# Last generated Mar 11, 2024 10:26 PM UTC. # Packages diff --git a/.vscode/settings.json b/.vscode/settings.json index ab90783c..212d2c44 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 11, 2024 10:25 PM UTC. + * Last generated using `./settings.mjs` Mar 11, 2024 10:26 PM UTC. */ { "editor.formatOnType": false, diff --git a/.vscodeignore b/.vscodeignore index 12e4c9fb..832c0598 100644 --- a/.vscodeignore +++ b/.vscodeignore @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Mar 11, 2024 10:25 PM UTC. +# Last generated Mar 11, 2024 10:26 PM UTC. # Locals diff --git a/package-lock.json b/package-lock.json index bbadf721..6fbcb643 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@clevercanyon/utilities", - "version": "1.0.893", + "version": "1.0.894", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@clevercanyon/utilities", - "version": "1.0.893", + "version": "1.0.894", "cpu": [ "x64", "arm64" @@ -1026,9 +1026,9 @@ } }, "node_modules/@clevercanyon/utilities": { - "version": "1.0.893", - "resolved": "https://registry.npmjs.org/@clevercanyon/utilities/-/utilities-1.0.893.tgz", - "integrity": "sha512-8h3GeowscgTpEoFGVj3AuQk6HNFxT9D1B+1GWmd7tpzJnotpMyHauEqt9XPX76Fxvb4PbsHWtZVM8BfyzoudLw==", + "version": "1.0.894", + "resolved": "https://registry.npmjs.org/@clevercanyon/utilities/-/utilities-1.0.894.tgz", + "integrity": "sha512-CRZRl8JGC4i4BHnEUQ3DXgx0sXCm8JccHbMxLZN35cylCuOsED9dZebFlcti2NVu46tdNM9BcO568lqjRaQ5Ww==", "cpu": [ "x64", "arm64" diff --git a/package.json b/package.json index 9e511c76..61049e5f 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "publishConfig": { "access": "public" }, - "version": "1.0.894", + "version": "1.0.895", "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 4bbef352..4dd595bb 100644 --- a/src/resources/classes/logger.ts +++ b/src/resources/classes/logger.ts @@ -548,10 +548,8 @@ export const getClass = (): Constructor => { this.logEntryCounter++; // Increments counter. const logged = this.possiblyThrottledFlush(); + if (this.cfw) this.cfw.ctx.waitUntil(logged); - if (this.cfw?.ctx) { - this.cfw.ctx.waitUntil(logged); - } return logged; } diff --git a/tsconfig.json b/tsconfig.json index 5f0ea1c8..d00b6d56 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 11, 2024 10:25 PM UTC. + * Last generated using `./tsconfig.mjs` Mar 11, 2024 10:26 PM UTC. */ { "include": ["./src/**/*", "./dev-types.d.ts"], diff --git a/wrangler.toml b/wrangler.toml index 2b43f20d..07b0257e 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 11, 2024 10:25 PM UTC. +# Last generated using `./wrangler.mjs` Mar 11, 2024 10:26 PM UTC. ## send_metrics = false