diff --git a/.browserslistrc b/.browserslistrc index 5997ed3..124e0b8 100644 --- a/.browserslistrc +++ b/.browserslistrc @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Jan 9, 2024 9:20 PM UTC. +# Last generated Jan 10, 2024 8:55 AM UTC. [production] node >= 20.9.0 diff --git a/.dockerignore b/.dockerignore index 462239c..3644c54 100644 --- a/.dockerignore +++ b/.dockerignore @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Jan 9, 2024 9:20 PM UTC. +# Last generated Jan 10, 2024 8:55 AM UTC. # Locals diff --git a/.env.vault b/.env.vault index ab7654a..c4cb159 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="cPngW8K/j9VjYQEBZE5gkNUKyGMOsdpZRO+s7DYBTIp4MNLhQaYNPN6OlSkBKgkLRULdvv/Z1ofd0Gh6oK75hbd+lgL9OWGnyTNVGvPfIjm7clQXzjBhqqsKBQgvK42TcHP1rFWGvxlmqOp4FI+MlEf2M16KD+XZ1hami8HH7wdCVvdD4/h0qLcm+gp63fVbuSfleMPfLYf37L7+XV1Q+tV+qBMfgGf6/goO8UiVxB7BN3PYSpD6Rd+/SBKXNn15Xt6+56E7isUX3sp0fPMfetFCOtaQXhYc1Z3Lcn+K/HJ+mmdkkUhEX2rKk9k//7Fj6a7H5//0Kyy2xzPSjxpuhGWpelz3l2bmf845SXlg3l2IRyEZG4LW+sXNVWGDLgsVBhRhJcTwNPVkY66bQDRMIeHPIHjmXxrn1KalpMZuG2QYkwIdgNlopi47yRLTQJ50T3WUkEYSclxlHtWUGKnkPR6Deyhf3J+loZ13HcF7QlAY72aJ/N6czhfrahXKFRIRNbDEAGXqPawjvBqSJbD7rISDgaJ0OCUGixFKG4C5GpBHRzZtIYDr5rdvW6nRiO42JOA4sjznkbnB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6uoIGUsz7A7CAb7cx/akbjPSA+SkSLKk3/V17FNrMgwPBFbD3+Pt5Ghl6BuvDwy5kj42G1LyduiIcQrrkb+rmtnSvcroEObMT8MiOAECqEJdf/FQE0h98QZzZVj40W3B4YoEmwjVmy0zHr5Lodxo0TTYR5/SEPvhCMK9aCTifK5F1eaodXo3TAgEpzyHp4Cdo/Rdz2kZmXl2HXer6MCIvhUIo6IBG3MIEtqqmH/UB6UnVFDQ/nxptFVcHsaSjeWX5IwKDoSyX7cXZZ4O8Be5pBxHkaMdWHY7Avxd2pOXnoTMo8W4eEc1jI56SsWgX+1RcMozHqO5naGYV5WvH1BpCMBbpGw1Zgdv/NPQNxFWk0eRIh7dS5u7Xl9XmiyuNI9Y0ecfQIhWvECB96ILwOA2xChR5qJr2UKHLOL0g07yfi0xbm4XxhStyAa6plrHrWeet3OT7p3Q==" +DOTENV_VAULT_CI_VERSION=37 # stage DOTENV_VAULT_STAGE="bfqZYD8oVLWMZ0JR5LICV+sB/btaXavszxZLxTfwSH8U5fg=" diff --git a/.gitattributes b/.gitattributes index 997f716..24d8ec7 100644 --- a/.gitattributes +++ b/.gitattributes @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Jan 9, 2024 9:20 PM UTC. +# Last generated Jan 10, 2024 8:55 AM UTC. # Default diff --git a/.gitignore b/.gitignore index d129c4c..ac5fdb1 100644 --- a/.gitignore +++ b/.gitignore @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Jan 9, 2024 9:20 PM UTC. +# Last generated Jan 10, 2024 8:55 AM UTC. # Locals diff --git a/.npmignore b/.npmignore index 99337cf..73c87cb 100644 --- a/.npmignore +++ b/.npmignore @@ -25,7 +25,7 @@ # Generated data. # -# Last generated Jan 9, 2024 9:20 PM UTC. +# Last generated Jan 10, 2024 8:55 AM UTC. # Locals diff --git a/.prettierignore b/.prettierignore index 94b968b..d9a7fa3 100644 --- a/.prettierignore +++ b/.prettierignore @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Jan 9, 2024 9:20 PM UTC. +# Last generated Jan 10, 2024 8:55 AM UTC. # Packages diff --git a/.vscode/settings.json b/.vscode/settings.json index bd1766d..51cb79f 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` Jan 9, 2024 9:20 PM UTC. + * Last generated using `./settings.mjs` Jan 10, 2024 8:55 AM UTC. */ { "editor.formatOnType": false, diff --git a/.vscodeignore b/.vscodeignore index a8bbd4f..0a7200f 100644 --- a/.vscodeignore +++ b/.vscodeignore @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Jan 9, 2024 9:20 PM UTC. +# Last generated Jan 10, 2024 8:55 AM UTC. # Locals diff --git a/package-lock.json b/package-lock.json index 9684cd2..7001c64 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@clevercanyon/utilities.cfw", - "version": "1.0.169", + "version": "1.0.170", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@clevercanyon/utilities.cfw", - "version": "1.0.169", + "version": "1.0.170", "cpu": [ "x64", "arm64" @@ -17,7 +17,7 @@ "linux" ], "devDependencies": { - "@clevercanyon/dev-deps": "^1.0.320" + "@clevercanyon/dev-deps": "^1.0.321" }, "engines": { "node": "^20.5.0 || ^20.9.0", @@ -27,7 +27,7 @@ "url": "https://github.com/sponsors/clevercanyon" }, "peerDependencies": { - "@clevercanyon/utilities": "^1.0.708", + "@clevercanyon/utilities": "^1.0.712", "@cloudflare/kv-asset-handler": "0.2.0", "@upstash/ratelimit": "1.0.0", "@upstash/redis": "1.28.0" @@ -838,9 +838,9 @@ "dev": true }, "node_modules/@clevercanyon/dev-deps": { - "version": "1.0.320", - "resolved": "https://registry.npmjs.org/@clevercanyon/dev-deps/-/dev-deps-1.0.320.tgz", - "integrity": "sha512-d+bpa1/P4odvdNCphlz1XYSdfvAnsad4kK1kVVqw2rAtn+E9ukBk4GW29w0zYJtUg6xt0A2nx+zSUCAr4MxYYA==", + "version": "1.0.321", + "resolved": "https://registry.npmjs.org/@clevercanyon/dev-deps/-/dev-deps-1.0.321.tgz", + "integrity": "sha512-P0MQzLMUi92oUtLPiUcSS4fxGEJ5aGwvqlEcLNMMVaq4tr9qLbbpyaMCa6W6lisICN+bsB3frAvr3mcEvkvxBQ==", "cpu": [ "x64", "arm64" @@ -851,11 +851,11 @@ "linux" ], "dependencies": { - "@clevercanyon/madrun": "^1.0.143", - "@clevercanyon/utilities": "^1.0.699", - "@clevercanyon/utilities.bash": "^1.0.158", - "@clevercanyon/utilities.cfp": "^1.0.158", - "@clevercanyon/utilities.node": "^1.0.152", + "@clevercanyon/madrun": "^1.0.144", + "@clevercanyon/utilities": "^1.0.708", + "@clevercanyon/utilities.bash": "^1.0.159", + "@clevercanyon/utilities.cfp": "^1.0.162", + "@clevercanyon/utilities.node": "^1.0.153", "@cloudflare/workers-types": "4.20231121.0", "@eslint/js": "8.48.0", "@iarna/toml": "2.2.5", @@ -967,9 +967,9 @@ } }, "node_modules/@clevercanyon/madrun": { - "version": "1.0.144", - "resolved": "https://registry.npmjs.org/@clevercanyon/madrun/-/madrun-1.0.144.tgz", - "integrity": "sha512-yQOxEg8vXEnTXE1qu7uQxn7IQT/EzOmYKyeXtDZc3w0Uw/Qwz7GvPW0x3KWuQAyJb3PSVT7JDp0ZPEU9dR4JEg==", + "version": "1.0.145", + "resolved": "https://registry.npmjs.org/@clevercanyon/madrun/-/madrun-1.0.145.tgz", + "integrity": "sha512-FLKEhH4gMyf4oI6Tw9RmHXvcDk+zNJWHg+FmDcnziIUm9Rn5IEDIeKT76ncDEKeSltpUuxpu5DvGdbggr0WRWg==", "cpu": [ "x64", "arm64" @@ -980,8 +980,8 @@ "linux" ], "dependencies": { - "@clevercanyon/utilities": "^1.0.699", - "@clevercanyon/utilities.node": "^1.0.152" + "@clevercanyon/utilities": "^1.0.708", + "@clevercanyon/utilities.node": "^1.0.153" }, "bin": { "madrun": "dist/bin/cli.js" @@ -995,9 +995,9 @@ } }, "node_modules/@clevercanyon/split-cmd.fork": { - "version": "1.0.93", - "resolved": "https://registry.npmjs.org/@clevercanyon/split-cmd.fork/-/split-cmd.fork-1.0.93.tgz", - "integrity": "sha512-Zra1o3n96Oh4T1jQN5CUncB2w72YhVHNeD+AceUDKsw1akWK95rppRaYG+68HqouwzBO4vJOgUWdD8NuYnVxmw==", + "version": "1.0.94", + "resolved": "https://registry.npmjs.org/@clevercanyon/split-cmd.fork/-/split-cmd.fork-1.0.94.tgz", + "integrity": "sha512-l6c0CxYy4rongt8XsFbEkMPbhVorSxf0OlHtG/clPUArbP+O6BbXvZrHBkaSwaSAZOiN7mVUenuo3uDb9Gc0Ng==", "cpu": [ "x64", "arm64" @@ -1017,9 +1017,9 @@ } }, "node_modules/@clevercanyon/utilities": { - "version": "1.0.708", - "resolved": "https://registry.npmjs.org/@clevercanyon/utilities/-/utilities-1.0.708.tgz", - "integrity": "sha512-p9U8rN2XPlLqfxCPcx/N5G0Yds86/LFgbGcfeXV3sKrzC76jGOm6a/qdwE0RIQyYRyZz2QxDZoL7rokneFSqGw==", + "version": "1.0.712", + "resolved": "https://registry.npmjs.org/@clevercanyon/utilities/-/utilities-1.0.712.tgz", + "integrity": "sha512-1F+fC+UcSOWyitUO74ZcUszmS3o44N1+kqJo2k44eHkWVuarfcdB+kfqrJ6Js3dkHmnq4+H/+C5/Uqhjz7gEyA==", "cpu": [ "x64", "arm64" @@ -1043,7 +1043,7 @@ "ignore": "5.3.0", "ip-regex": "5.0.0", "micro-memoize": "4.1.2", - "micromatch": "npm:@clevercanyon/micromatch.fork@^4.0.95", + "micromatch": "npm:@clevercanyon/micromatch.fork@^4.0.96", "parse-css-color": "0.2.1", "preact": "10.19.2", "preact-render-to-string": "6.3.1", @@ -1052,9 +1052,9 @@ } }, "node_modules/@clevercanyon/utilities.bash": { - "version": "1.0.159", - "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.bash/-/utilities.bash-1.0.159.tgz", - "integrity": "sha512-XLrDXEQwNV7meZBm45yZzqAfcEa0Likq1a4Z4cvprLdHVlvykxAQG41SZ9RKAjMESJKN60mLytCJKNtgVuss3w==", + "version": "1.0.160", + "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.bash/-/utilities.bash-1.0.160.tgz", + "integrity": "sha512-6iFqReKeMbihqwnOMxZnmGZKkWlJAmrHD2EuL9Br1TJrbcYcSCGqDNSSpAbUusBq+b+cVvHiOTys+Et36c58Mw==", "cpu": [ "x64", "arm64" @@ -1072,14 +1072,14 @@ "url": "https://github.com/sponsors/clevercanyon" }, "peerDependencies": { - "@clevercanyon/utilities": "^1.0.699", - "@clevercanyon/utilities.node": "^1.0.152" + "@clevercanyon/utilities": "^1.0.708", + "@clevercanyon/utilities.node": "^1.0.153" } }, "node_modules/@clevercanyon/utilities.cfp": { - "version": "1.0.162", - "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.cfp/-/utilities.cfp-1.0.162.tgz", - "integrity": "sha512-tPhn9WO77wfgh8tPPbRpLX1y+WaMy586IyD/DmTmGTO5x3f/Rs0NVK4qmlCKAD5B6dKiXid3mCFtQBa6Fx8/WA==", + "version": "1.0.163", + "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.cfp/-/utilities.cfp-1.0.163.tgz", + "integrity": "sha512-Vwnin1h2XIy/haoQQBcEnbKwemFOxzl3cWZNmgQzjs9WuODvQED3bKXAPKjaucJlgGrYEXwcKfRbrKhSCZfZDQ==", "cpu": [ "x64", "arm64" @@ -1097,15 +1097,15 @@ "url": "https://github.com/sponsors/clevercanyon" }, "peerDependencies": { - "@clevercanyon/utilities": "^1.0.704", + "@clevercanyon/utilities": "^1.0.708", "@clevercanyon/utilities.cfw": "^1.0.169", "@clevercanyon/utilities.web": "^1.0.108" } }, "node_modules/@clevercanyon/utilities.cfw": { - "version": "1.0.169", - "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.cfw/-/utilities.cfw-1.0.169.tgz", - "integrity": "sha512-gqIUGZZuuVk5Ylmg4dd0M1SFxiUMOBFXKbI4nZHXgXsyqaEdALnmj4//fhLM4JiROrisRf4OHHkJaVGJQ5hq+g==", + "version": "1.0.170", + "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.cfw/-/utilities.cfw-1.0.170.tgz", + "integrity": "sha512-hOHcdiwOLCsvAaj4PswTxbCccKvpGGmExL77kDgOmW/4DFywa2iP9LgPwM890t6nmEKd35RoRxm+a+cq8hBnyA==", "cpu": [ "x64", "arm64" @@ -1124,16 +1124,16 @@ "url": "https://github.com/sponsors/clevercanyon" }, "peerDependencies": { - "@clevercanyon/utilities": "^1.0.704", + "@clevercanyon/utilities": "^1.0.708", "@cloudflare/kv-asset-handler": "0.2.0", "@upstash/ratelimit": "1.0.0", "@upstash/redis": "1.28.0" } }, "node_modules/@clevercanyon/utilities.node": { - "version": "1.0.153", - "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.node/-/utilities.node-1.0.153.tgz", - "integrity": "sha512-5APD39QluBz6X3KTnAfo+VZjZrTNyh76zWdjiAvcrbWbP1W8NWLb285/dh1DSvwjGWn9NDvYO/mk21AQ/t9OIg==", + "version": "1.0.154", + "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.node/-/utilities.node-1.0.154.tgz", + "integrity": "sha512-nmsWuq/6XxM7cWqDrFUDqoVYn4Ku8xHKjaXGaO3CjhMmzLnW3ddITpiJ9qYM6HKBpenyK0Y24F3uLGs/Ihj0tg==", "cpu": [ "x64", "arm64" @@ -1151,8 +1151,8 @@ "url": "https://github.com/sponsors/clevercanyon" }, "peerDependencies": { - "@clevercanyon/split-cmd.fork": "^1.0.92", - "@clevercanyon/utilities": "^1.0.699", + "@clevercanyon/split-cmd.fork": "^1.0.93", + "@clevercanyon/utilities": "^1.0.708", "@upstash/ratelimit": "1.0.0", "@upstash/redis": "1.28.0", "archiver": "6.0.1", @@ -1165,16 +1165,16 @@ "globby": "14.0.0", "prettier": "3.1.0", "shescape": "2.0.2", - "spawn-please": "npm:@clevercanyon/spawn-please.fork@^2.0.86", + "spawn-please": "npm:@clevercanyon/spawn-please.fork@^2.0.87", "term-img": "6.0.0", "yargs": "17.7.2", "yargs-parser": "21.1.1" } }, "node_modules/@clevercanyon/utilities.web": { - "version": "1.0.108", - "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.web/-/utilities.web-1.0.108.tgz", - "integrity": "sha512-MFVfpgBnZnGb8kEDwRRxwa04BcDRYeIX3tTVwV5wbr4Gx586JF/MTsIrmeOcimFHSvMWOWHPWU1tsmN2bQ3HgA==", + "version": "1.0.109", + "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.web/-/utilities.web-1.0.109.tgz", + "integrity": "sha512-/tD5/HcXBYazhdhYRUyaSVLZb3JzyDdSOWSbi/9HFHESDum57+3ZdAzsQr0pV4XzkIqwIkzNHmmBRFyRgnyyoA==", "cpu": [ "x64", "arm64" @@ -1193,7 +1193,7 @@ "url": "https://github.com/sponsors/clevercanyon" }, "peerDependencies": { - "@clevercanyon/utilities": "^1.0.699" + "@clevercanyon/utilities": "^1.0.708" } }, "node_modules/@cloudflare/kv-asset-handler": { @@ -3548,9 +3548,9 @@ } }, "node_modules/@mdn/browser-compat-data": { - "version": "5.5.4", - "resolved": "https://registry.npmjs.org/@mdn/browser-compat-data/-/browser-compat-data-5.5.4.tgz", - "integrity": "sha512-3Ut58LMJig1igriRHsbRHd7tRi4zz3dlnM/6msgl6FqDglxWZLN+ikYsluOg4D6CFmsXBq5WyYF/7HLwHMzDzA==", + "version": "5.5.5", + "resolved": "https://registry.npmjs.org/@mdn/browser-compat-data/-/browser-compat-data-5.5.5.tgz", + "integrity": "sha512-gYj8JhdT7qvc7Baq4KxFDu7TJUywiOvml3D8qZsIkhxkiVfeT11ZczLBAuEPZ05neE9wPAVxHOFws45OEGU99w==", "dev": true }, "node_modules/@mdx-js/esbuild": { @@ -7781,9 +7781,9 @@ }, "node_modules/braces": { "name": "@clevercanyon/braces.fork", - "version": "3.0.91", - "resolved": "https://registry.npmjs.org/@clevercanyon/braces.fork/-/braces.fork-3.0.91.tgz", - "integrity": "sha512-KGPhVEscuYlUx+6CjPrCIOiSqiHNVkM3GctvswP2/Az/fDROP/qlxmcKnXfITY8YxDynsypA1o0Xt7pDwL5Gzg==", + "version": "3.0.92", + "resolved": "https://registry.npmjs.org/@clevercanyon/braces.fork/-/braces.fork-3.0.92.tgz", + "integrity": "sha512-qtFbC64jdev7qtIbaAbVILNxT3Md6bMGWQHDFs0s7K9A2GkSD3HJlIVmEfrsLeerFUlm3W5PsDiPaL0swtu15Q==", "cpu": [ "x64", "arm64" @@ -7793,7 +7793,7 @@ "linux" ], "dependencies": { - "fill-range": "npm:@clevercanyon/fill-range.fork@^7.0.89" + "fill-range": "npm:@clevercanyon/fill-range.fork@^7.0.90" }, "engines": { "node": "^20.5.0 || ^20.9.0", @@ -9436,9 +9436,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.625", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.625.tgz", - "integrity": "sha512-DENMhh3MFgaPDoXWrVIqSPInQoLImywfCwrSmVl3cf9QHzoZSiutHwGaB/Ql3VkqcQV30rzgdM+BjKqBAJxo5Q==", + "version": "1.4.626", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.626.tgz", + "integrity": "sha512-f7/be56VjRRQk+Ric6PmIrEtPcIqsn3tElyAu9Sh6egha2VLJ82qwkcOdcnT06W+Pb6RUulV1ckzrGbKzVcTHg==", "dev": true }, "node_modules/emittery": { @@ -12583,9 +12583,9 @@ }, "node_modules/fill-range": { "name": "@clevercanyon/fill-range.fork", - "version": "7.0.90", - "resolved": "https://registry.npmjs.org/@clevercanyon/fill-range.fork/-/fill-range.fork-7.0.90.tgz", - "integrity": "sha512-wtZJRUTmDJZbzbpVlEyET4hcSnfr+Pp7wR4Lv2Az6rYM9by9+PYNmfcEGBva+LrI2O3GT+5mzY1pQ+dUI8leNw==", + "version": "7.0.91", + "resolved": "https://registry.npmjs.org/@clevercanyon/fill-range.fork/-/fill-range.fork-7.0.91.tgz", + "integrity": "sha512-MffVks0YksqZ7iSFnQJVrBzEvqsPUExNB1HrCZu6M3Q2vp7szpY+Trxz4cATlzOUpaOgafD28/PJFm7eAhsbxw==", "cpu": [ "x64", "arm64" @@ -12595,7 +12595,7 @@ "linux" ], "dependencies": { - "to-regex-range": "npm:@clevercanyon/to-regex-range.fork@^5.0.89" + "to-regex-range": "npm:@clevercanyon/to-regex-range.fork@^5.0.90" }, "engines": { "node": "^20.5.0 || ^20.9.0", @@ -14154,9 +14154,9 @@ }, "node_modules/is-number": { "name": "@clevercanyon/is-number.fork", - "version": "7.0.93", - "resolved": "https://registry.npmjs.org/@clevercanyon/is-number.fork/-/is-number.fork-7.0.93.tgz", - "integrity": "sha512-exXQBu8ETk+KKbuRylUTJ1C67pxbfpawCRxazvHQMG85NIusChZ0t2hvH9sxJW+bmP/uOZtonmHk484uKA772g==", + "version": "7.0.94", + "resolved": "https://registry.npmjs.org/@clevercanyon/is-number.fork/-/is-number.fork-7.0.94.tgz", + "integrity": "sha512-JJuIXkUNOzXYHG420TKubhF8Pf5SqAMt3762o5zgux+65tWQe7F3KLYT8veg7dzWiB9IWWdShM52nt8tPzcNVA==", "cpu": [ "x64", "arm64" @@ -19889,9 +19889,9 @@ }, "node_modules/micromatch": { "name": "@clevercanyon/micromatch.fork", - "version": "4.0.95", - "resolved": "https://registry.npmjs.org/@clevercanyon/micromatch.fork/-/micromatch.fork-4.0.95.tgz", - "integrity": "sha512-4uM2sWyP1AuH6WFRr1fNEzOm1m9va6SlLnKkm7IME3xBePxoL+ZyEiqI9wpZ9cEqvH87qeVu+f+Z7MenSWQ0Vg==", + "version": "4.0.96", + "resolved": "https://registry.npmjs.org/@clevercanyon/micromatch.fork/-/micromatch.fork-4.0.96.tgz", + "integrity": "sha512-vcpfgfP2OwQzFdlfH3z4Q013KpF8JC5oCGfLK7PpGsi6yLW7xQELv9rJukw35zaWBDEpb/4k+WeLrHtECTWvog==", "cpu": [ "x64", "arm64" @@ -19901,8 +19901,8 @@ "linux" ], "dependencies": { - "braces": "npm:@clevercanyon/braces.fork@^3.0.90", - "picomatch": "npm:@clevercanyon/picomatch.fork@^2.3.89" + "braces": "npm:@clevercanyon/braces.fork@^3.0.91", + "picomatch": "npm:@clevercanyon/picomatch.fork@^2.3.90" }, "engines": { "node": "^20.5.0 || ^20.9.0", @@ -19914,9 +19914,9 @@ }, "node_modules/micromatch/node_modules/picomatch": { "name": "@clevercanyon/picomatch.fork", - "version": "2.3.90", - "resolved": "https://registry.npmjs.org/@clevercanyon/picomatch.fork/-/picomatch.fork-2.3.90.tgz", - "integrity": "sha512-3FWn4bCN+F8yty+IzqYa+cwsArpj2MI2QK2ZNPtP343Fd0ZhfC7DnIiNAeGbnxcikAW2Qw7cyj7YjBPe1jJqnA==", + "version": "2.3.91", + "resolved": "https://registry.npmjs.org/@clevercanyon/picomatch.fork/-/picomatch.fork-2.3.91.tgz", + "integrity": "sha512-U0Vfl0yJliYDY92lHrHq9K9TmMzSge1XBx6NH21xgwLvXBdbHmWnCW3DPKxEUP9Knyi/dSB9u/X6jh9jwN/hPg==", "cpu": [ "x64", "arm64" @@ -27115,9 +27115,9 @@ }, "node_modules/spawn-please": { "name": "@clevercanyon/spawn-please.fork", - "version": "2.0.87", - "resolved": "https://registry.npmjs.org/@clevercanyon/spawn-please.fork/-/spawn-please.fork-2.0.87.tgz", - "integrity": "sha512-WBwJBTBO5nAbkmvuboiHCCD35PMXF5PJtxDfAUtsACj8bgg+aGSZdvleTGxx5acp+k6etkBBeWn0eEex9dXA8g==", + "version": "2.0.88", + "resolved": "https://registry.npmjs.org/@clevercanyon/spawn-please.fork/-/spawn-please.fork-2.0.88.tgz", + "integrity": "sha512-rVBXlV1ilYkhbDUrbffK/L5QsUWsg7qcTdCL8Fl1PLCuqfBwMKGUxO9QfYay+ipahHoupWFrrODI2Z9b/smpRA==", "cpu": [ "x64", "arm64" @@ -28430,9 +28430,9 @@ }, "node_modules/to-regex-range": { "name": "@clevercanyon/to-regex-range.fork", - "version": "5.0.90", - "resolved": "https://registry.npmjs.org/@clevercanyon/to-regex-range.fork/-/to-regex-range.fork-5.0.90.tgz", - "integrity": "sha512-8DB1ueLAnhKviPULFmwQyCuIW8OPoqgO8B3FyQMCTe4pun+wfHPq/Ge4L9TJUG8oHWqG9pYtWmwj/i2nxWH+tA==", + "version": "5.0.91", + "resolved": "https://registry.npmjs.org/@clevercanyon/to-regex-range.fork/-/to-regex-range.fork-5.0.91.tgz", + "integrity": "sha512-0qEndsxyQ38JT2ci0NzXR3Qv+TTpdg2FAylHH7yQrFaMRKp5IjdaTpYaWKuboG9enjJUtd4QhGk6FCr1x5fd3g==", "cpu": [ "x64", "arm64" @@ -28442,7 +28442,7 @@ "linux" ], "dependencies": { - "is-number": "npm:@clevercanyon/is-number.fork@^7.0.92" + "is-number": "npm:@clevercanyon/is-number.fork@^7.0.93" }, "engines": { "node": "^20.5.0 || ^20.9.0", diff --git a/package.json b/package.json index c6ba1b7..f81aa24 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "publishConfig": { "access": "public" }, - "version": "1.0.170", + "version": "1.0.171", "license": "GPL-3.0-or-later", "name": "@clevercanyon/utilities.cfw", "description": "Utilities for JavaScript apps running in a Cloudflare Worker environment.", @@ -54,7 +54,7 @@ }, "dependencies": {}, "peerDependencies": { - "@clevercanyon/utilities": "^1.0.708", + "@clevercanyon/utilities": "^1.0.712", "@cloudflare/kv-asset-handler": "0.2.0", "@upstash/ratelimit": "1.0.0", "@upstash/redis": "1.28.0" @@ -63,7 +63,7 @@ "optionalDependencies": {}, "bundleDependencies": [], "devDependencies": { - "@clevercanyon/dev-deps": "^1.0.320" + "@clevercanyon/dev-deps": "^1.0.321" }, "overrides": {}, "cpu": ["x64", "arm64"], diff --git a/src/cfw.ts b/src/cfw.ts index 9bb8c12..6a26f2d 100644 --- a/src/cfw.ts +++ b/src/cfw.ts @@ -88,16 +88,13 @@ const maybeInitialize = async (ifeData: InitialFetchEventData): Promise => if (initialized) return; initialized = true; - const Logger = $class.getLogger(); - const { ctx, env, request } = ifeData; + const { env } = ifeData, + Logger = $class.getLogger(); $env.capture('@global', env); // Captures environment variables. (baseAuditLogger = new Logger({ endpointToken: $env.get('APP_AUDIT_LOGGER_BEARER_TOKEN', { type: 'string', require: true }) })), (baseConsentLogger = new Logger({ endpointToken: $env.get('APP_CONSENT_LOGGER_BEARER_TOKEN', { type: 'string', require: true }) })); - - const colo = String(request.cf?.colo || ''); // Three-letter IATA airport code of the data center. - void baseAuditLogger.withContext({ colo }, { cfwContext: ctx, request }).info('Worker initialized: ' + colo + '.', { ifeData }); }; /** @@ -142,7 +139,6 @@ export const handleFetchEvent = async (ifeData: InitialFetchEventData): Promise< // } catch (thrown) { if ($is.response(thrown)) { - void auditLogger.info(String(thrown.status) + ': Response thrown.', { thrown }); return thrown as unknown as $type.cf.Response; } const message = $error.safeMessageFrom(thrown, { default: '9eMw8Ave' }); diff --git a/tsconfig.json b/tsconfig.json index 48606ac..af43268 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` Jan 9, 2024 9:20 PM UTC. + * Last generated using `./tsconfig.mjs` Jan 10, 2024 8:55 AM UTC. */ { "include": ["./src/**/*", "./dev-types.d.ts"], diff --git a/wrangler.toml b/wrangler.toml index 51c8145..72b328f 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` Jan 9, 2024 9:20 PM UTC. +# Last generated using `./wrangler.mjs` Jan 10, 2024 8:55 AM UTC. ## send_metrics = false