diff --git a/.browserslistrc b/.browserslistrc index 112742e..5f4fe28 100644 --- a/.browserslistrc +++ b/.browserslistrc @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Mar 2, 2024 11:02 PM UTC. +# Last generated Mar 3, 2024 8:35 AM UTC. [production] node >= 20.9.0 diff --git a/.dockerignore b/.dockerignore index a0e7a33..9f6e995 100644 --- a/.dockerignore +++ b/.dockerignore @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Mar 2, 2024 11:02 PM UTC. +# Last generated Mar 3, 2024 8:35 AM UTC. # Locals diff --git a/.env.vault b/.env.vault index e783e1e..8ddea8a 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="De4C9Lb71lUSEUN2tI5Nwb/UckL8uOGX5tPhhbXTR4t7esSA7ga7cTf0KIGIPm8avWrUDLTSJzupjguYBhM9cTP13Ve2AmmwKvj0++YNUoIn/8NwG/FxfMtfKM3Kdn1Ld6j3O+QlsZrQ5C7ahojDGiH2NYq6bLU8FbLx9sjIIybHPawPaE7PIcxlc3kasBl6w9ixzWFAyfg4NM1V33iabEDkeawFs14lHtZ0pjaltQosM3Tbf6xqPr4tSVkwfrxa7cRxTBKFSeAmiFl4Dtb79RAxe1Qp+Qj9E9VnoBApt8w8DqCz8IrbfCFMFm40rrBm+1WqVvYz+4bTaj54w2g/oququF96o5BrsxtzQeekgJfXO7I35ImgxeKwUBIlRUibh+xT9YqyZ1iRcIZLDQ0zyLHGoXa74H+2hTo/M5pYSxj6V13eHXxpSwclXSl7Qg0qu/WreEDVcbQ/ukzApnnLVkt0XGIsu4YWmTDPyRV22bklRemGi+yAZzT+L6pheaE6Konw5HZtRcZM0BiTs4jkB6eamSkXMDmi2o59gygZFcDwmM3u/yX+W2i+WW3Ib46jitG5DYHiie+SH2Qcm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-DOTENV_VAULT_CI_VERSION=225 +DOTENV_VAULT_CI="odla2pv7YX0uy3M6RhdP2p70kYugxSOk1lEZRu2KLmoCHWz5+UfXRZv4glvYmaDgOLl5An7gC8gAP0nRPkamb9u5JzOng5gBDNWjhg6Gfg3lZYFsh+LdIw5yzXoJwuR+gSDRRB+cRZlTo1T+emS5UzZDjJAYMQHJDqVxYm3Np4A2Cs2cU0d2+auJ00ZuQSRcutbBl5RqI23YdK9l1+kmGg7m5i6Bw/w0gAs1ebepknkja04CSo2lVBmIKMZRdxABW8+1hQhha0sUb3FDwc/9W6ZzHaSdeY0jkUL3eYfFKMvAAYSkWKkn+7QEENleKdtynvuKcyvq8NsbMpq38QEdfCUYZfND4qJCb62dQTHf23edTGfxa45att5jkLXa8n2R/NDFKT1b2UYiPKvZDR6Upnsh4bjpdse0uNBYFI//xazMoT9WdYHVEPhJo9/W1fHVvCOrLTZkJWN00Ecv4bSrB0M3M/uPmbF+Q9uEO2l4Loc2vrqrzWppOz2ClaJv3Me0rTlgb2tVqM/Q378bKfAu1ltQBmbdp6Xt8ApUcXkYzckgqZCl0Y9AsMQpFMC6nx2ZONUpasz6xnLv+x3brnb8ogMZsyfUQBHL/ZOVjubKCAIB5KALd/AYUq5A4iWd4S+o4/CKUEjnYwAuS93oh1dydwULgGPS5rizuc+ivSIh64NLhbMf5198G1pgEi+CLA1LwX22AWEsucLE9ja0L8EO3Bwa4eugfdPs99iNUM5ZTl77sYCs1etRILW3y8HTOCs7YttxrGnxyfe/Fr3mCulIvS+fHVaxD/Lf8QFkDid1aMEzNaG1+TzAszjckI2U/KVL7X0ztcFWzXwYSUEIs+LTHZ+j7f/c5Sw3NKZWD8JNNQkWMJI8Azvrx7OXjRgS" +DOTENV_VAULT_CI_VERSION=227 # stage DOTENV_VAULT_STAGE="bfqZYD8oVLWMZ0JR5LICV+sB/btaXavszxZLxTfwSH8U5fg=" diff --git a/.gitattributes b/.gitattributes index 7b35667..d348119 100644 --- a/.gitattributes +++ b/.gitattributes @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Mar 2, 2024 11:02 PM UTC. +# Last generated Mar 3, 2024 8:35 AM UTC. # Default diff --git a/.gitignore b/.gitignore index 7d5cdb9..9eeff28 100644 --- a/.gitignore +++ b/.gitignore @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Mar 2, 2024 11:02 PM UTC. +# Last generated Mar 3, 2024 8:35 AM UTC. # Locals diff --git a/.npmignore b/.npmignore index 09a268e..56a8e2f 100644 --- a/.npmignore +++ b/.npmignore @@ -25,7 +25,7 @@ # Generated data. # -# Last generated Mar 2, 2024 11:02 PM UTC. +# Last generated Mar 3, 2024 8:35 AM UTC. # Locals diff --git a/.prettierignore b/.prettierignore index 4906056..b5fe3a2 100644 --- a/.prettierignore +++ b/.prettierignore @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Mar 2, 2024 11:02 PM UTC. +# Last generated Mar 3, 2024 8:35 AM UTC. # Packages diff --git a/.vscode/settings.json b/.vscode/settings.json index a842b15..648b531 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 2, 2024 11:02 PM UTC. + * Last generated using `./settings.mjs` Mar 3, 2024 8:35 AM UTC. */ { "editor.formatOnType": false, diff --git a/.vscodeignore b/.vscodeignore index 4ed7a89..0ff2bfc 100644 --- a/.vscodeignore +++ b/.vscodeignore @@ -17,7 +17,7 @@ # Generated data. # -# Last generated Mar 2, 2024 11:02 PM UTC. +# Last generated Mar 3, 2024 8:35 AM UTC. # Locals diff --git a/package-lock.json b/package-lock.json index 91dbedf..a89788b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@clevercanyon/utilities.cfw", - "version": "1.0.265", + "version": "1.0.266", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@clevercanyon/utilities.cfw", - "version": "1.0.265", + "version": "1.0.266", "cpu": [ "x64", "arm64" @@ -27,7 +27,7 @@ "url": "https://github.com/sponsors/clevercanyon" }, "peerDependencies": { - "@clevercanyon/utilities": "^1.0.878", + "@clevercanyon/utilities": "^1.0.879", "@upstash/ratelimit": "1.0.0", "@upstash/redis": "1.28.0" } @@ -1016,9 +1016,9 @@ } }, "node_modules/@clevercanyon/utilities": { - "version": "1.0.878", - "resolved": "https://registry.npmjs.org/@clevercanyon/utilities/-/utilities-1.0.878.tgz", - "integrity": "sha512-txs/USUXxh+YljYk71i3nSXzi5ylDYheofIFsTdvtemjnRdkTiAYKeVQ54gt7AtgOzHfspUnbxFkuir6KMLAAA==", + "version": "1.0.879", + "resolved": "https://registry.npmjs.org/@clevercanyon/utilities/-/utilities-1.0.879.tgz", + "integrity": "sha512-lvQnfQKwvSHljjiTZDiIOH/shEU3m960ONcRTxgQRcWbifllSeCWnF6DF8LZOTYTgWfQsriwMfKYl7M1Ip4+Wg==", "cpu": [ "x64", "arm64" @@ -1051,9 +1051,9 @@ } }, "node_modules/@clevercanyon/utilities.bash": { - "version": "1.0.200", - "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.bash/-/utilities.bash-1.0.200.tgz", - "integrity": "sha512-GNiNxAahi7hljoMGVXHxPd+Ge2bHZtx67zTUYjbKgY87dTDDsJmXNlFavcb3jOtfn1O6XgClPBfde8IUPiEhuQ==", + "version": "1.0.201", + "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.bash/-/utilities.bash-1.0.201.tgz", + "integrity": "sha512-pSLWEu/fqY7AB0DU/reyC2xx1VwKNdQcTuftl0ehCP5L2oAOTJUtfQfAEeNR9STje2xJ+qOhatdC48KWoEUYtQ==", "cpu": [ "x64", "arm64" @@ -1071,14 +1071,14 @@ "url": "https://github.com/sponsors/clevercanyon" }, "peerDependencies": { - "@clevercanyon/utilities": "^1.0.877", - "@clevercanyon/utilities.node": "^1.0.195" + "@clevercanyon/utilities": "^1.0.878", + "@clevercanyon/utilities.node": "^1.0.196" } }, "node_modules/@clevercanyon/utilities.cfp": { - "version": "1.0.223", - "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.cfp/-/utilities.cfp-1.0.223.tgz", - "integrity": "sha512-bxNsCtOwzpMZA0NtNBBale69eW9J9Kaxn3m7cC2jr/Z42vK4ObJe7JyjejNk/d3CtY1zfqR0V0Wbg6jQkTINfw==", + "version": "1.0.224", + "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.cfp/-/utilities.cfp-1.0.224.tgz", + "integrity": "sha512-m3tMt8Lwczxd7DRGczbLSo4Yj0LiwzudvnIdz0XmPE7ezuDGqH2+8+JSRq/hpYlJMFSRxSz1xT0byeM3yEGOUg==", "cpu": [ "x64", "arm64" @@ -1096,15 +1096,15 @@ "url": "https://github.com/sponsors/clevercanyon" }, "peerDependencies": { - "@clevercanyon/utilities": "^1.0.877", - "@clevercanyon/utilities.cfw": "^1.0.265", - "@clevercanyon/utilities.web": "^1.0.148" + "@clevercanyon/utilities": "^1.0.878", + "@clevercanyon/utilities.cfw": "^1.0.266", + "@clevercanyon/utilities.web": "^1.0.149" } }, "node_modules/@clevercanyon/utilities.cfw": { - "version": "1.0.265", - "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.cfw/-/utilities.cfw-1.0.265.tgz", - "integrity": "sha512-hh6j6uwiy/CMwRFF1PcQ1LXd0WaMmJoIqW6DfXX1F13O+URJ2cbRfXUkBLNdHl1I2lnq32sJe/QlKEmNVbI/UQ==", + "version": "1.0.266", + "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.cfw/-/utilities.cfw-1.0.266.tgz", + "integrity": "sha512-QGal0HXLuB7sea1q5wyoJIyK6bUB0FFrLl/RNT4x1lY+NMQ0WU2Ql7KDMxBQIg0xjR+j25TR49rnHVvz0ED2tg==", "cpu": [ "x64", "arm64" @@ -1123,7 +1123,7 @@ "url": "https://github.com/sponsors/clevercanyon" }, "peerDependencies": { - "@clevercanyon/utilities": "^1.0.877", + "@clevercanyon/utilities": "^1.0.878", "@upstash/ratelimit": "1.0.0", "@upstash/redis": "1.28.0" } @@ -1170,9 +1170,9 @@ } }, "node_modules/@clevercanyon/utilities.web": { - "version": "1.0.149", - "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.web/-/utilities.web-1.0.149.tgz", - "integrity": "sha512-f/RaiRhamPiWVSSvA8X5QmjA6vAHohaYtIb3B6Ixpofd7PF3HOqvITjCBNt2Eoxb78Brwz390hEZxQTeLp2fnA==", + "version": "1.0.150", + "resolved": "https://registry.npmjs.org/@clevercanyon/utilities.web/-/utilities.web-1.0.150.tgz", + "integrity": "sha512-sDaWbiObyz+qkrnUEJbV2qY4i0xslwe7ITAra0WmwU4u85Cyx/J6eXSO6+13a7pkQEmzwWs0VVba3D+9qh1vkw==", "cpu": [ "x64", "arm64" @@ -1191,7 +1191,7 @@ "url": "https://github.com/sponsors/clevercanyon" }, "peerDependencies": { - "@clevercanyon/utilities": "^1.0.877" + "@clevercanyon/utilities": "^1.0.878" } }, "node_modules/@cloudflare/kv-asset-handler": { diff --git a/package.json b/package.json index 9c0bd01..a8d25e2 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "publishConfig": { "access": "public" }, - "version": "1.0.266", + "version": "1.0.267", "license": "GPL-3.0-or-later", "name": "@clevercanyon/utilities.cfw", "description": "Utilities for JavaScript apps running in a Cloudflare Worker environment.", @@ -59,7 +59,7 @@ }, "dependencies": {}, "peerDependencies": { - "@clevercanyon/utilities": "^1.0.878", + "@clevercanyon/utilities": "^1.0.879", "@upstash/ratelimit": "1.0.0", "@upstash/redis": "1.28.0" }, diff --git a/src/cfw.ts b/src/cfw.ts index 61106f8..4239857 100644 --- a/src/cfw.ts +++ b/src/cfw.ts @@ -47,6 +47,7 @@ export type StdExecutionContext = Readonly< export type StdEnvironment = Readonly<{ RT: $type.cfw.Fetcher; RT_KV: $type.cfw.KVNamespace; + AI: unknown; // Not yet available. D1: $type.cfw.D1Database; R2: $type.cfw.R2Bucket; KV: $type.cfw.KVNamespace; diff --git a/tsconfig.json b/tsconfig.json index 04a040c..03d3077 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 2, 2024 11:02 PM UTC. + * Last generated using `./tsconfig.mjs` Mar 3, 2024 8:35 AM UTC. */ { "include": ["./src/**/*", "./dev-types.d.ts"], diff --git a/wrangler.toml b/wrangler.toml index 0553a75..afc285a 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 2, 2024 11:02 PM UTC. +# Last generated using `./wrangler.mjs` Mar 3, 2024 8:35 AM UTC. ## send_metrics = false