Skip to content

Commit

Permalink
Project update. [p][robotic]
Browse files Browse the repository at this point in the history
  • Loading branch information
jaswrks committed Mar 12, 2024
1 parent 4b38293 commit e924650
Show file tree
Hide file tree
Showing 15 changed files with 35 additions and 35 deletions.
2 changes: 1 addition & 1 deletion .browserslistrc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Generated data.
# <generated:start>

# Last generated Mar 12, 2024 7:32 AM UTC.
# Last generated Mar 12, 2024 8:18 AM UTC.

[production]
node >= 20.9.0
Expand Down
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Generated data.
# <generated:start>

# Last generated Mar 12, 2024 7:32 AM UTC.
# Last generated Mar 12, 2024 8:18 AM UTC.

# Locals

Expand Down
8 changes: 4 additions & 4 deletions .env.vault
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ DOTENV_VAULT_MAIN="7GW98NfL4hM4N6HbfeDXCKreVxKvcVPupFRnZ8XJ+pomaQ=="
DOTENV_VAULT_MAIN_VERSION=1

# dev
DOTENV_VAULT_DEV="f6fvCuMULB5G5/CefqOhtat3tZGZdFI+zXmmt48YZxUIIaHyoY9pnr/VDIvq/Knt46NWB6ozn+uT+IkC9To2fxvZGlBG19iZqhCDBPrNAqmP2pPdXGBDSsJmrbadVkuYygeEDXqm1oTlr2dT7+vvDcrr6NwfGJ+9NxQhPOtpC9GfZvFqv7rzr4+4OOkC71hRzRdNSNbidWNsZYrXg3EpoVavyZ7hXSjbfB3pYgzLADjPYS2eZDy8y/Tt3vyw4cLdxw=="
DOTENV_VAULT_DEV_VERSION=427
DOTENV_VAULT_DEV="2ZfaY0xpL+veG1Iyx1G58+gzVQQzc/mT7y+XBwVBQRiSsIFlS/JxZsElq9kwLKKIKoroI9KiBYB+5uE3AIcS1F9rcFOWbZ2JrtiZmqPBx/9N7JRfuhhKlJftceni1NXex1Wcl/WQtf/nMmdc/EwXf+rKn/fMz9uzcU57ybZsEL2B4VpJQeTGiVvQfgzWXNKDPE/eEua4tRMfLFjyTpnsfoMK8A24jggpltQwl7o90Rohq+4MX9O+6ASaL+XgCfCryg=="
DOTENV_VAULT_DEV_VERSION=429

# ci
DOTENV_VAULT_CI="EMQzntgl/21t/qxdkJzTDxV/P54bWaUcbJ05DZq8kTmtBlMoMqySQVOSZ+0IivvyOxMYO392SRPF7l00rsMhAwwzBM1rkkwPDX/5GYd0PWDAOyFTQwUKCaaLY5ICJ3VI8u2Rzct7ZDJ4MSdpfzYo7ql6605ZmUJscxEwTd5xDg=="
DOTENV_VAULT_CI_VERSION=427
DOTENV_VAULT_CI="36VuTdYCqb3Q3u54vvJckLH0UVTkOw9jBJ6FFGm7g8HY5rLsixA6RQt6BRNVZWvjDyKqbNRczjDU93KFSlAQN+DMcpVzhOQ2gG6bJfeVwxICgH5vsAl4IFAFYIHkEDfDmUkb1+eLBMed3RzMGHpiwF2Jq8Z+XoQyy5KeSJwcnQ=="
DOTENV_VAULT_CI_VERSION=429

# stage
DOTENV_VAULT_STAGE="aRP8su2YV4jZu3w1HZ/SLaots0IwJDFw75TCpvXEFeNp7tw="
Expand Down
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Generated data.
# <generated:start>

# Last generated Mar 12, 2024 7:32 AM UTC.
# Last generated Mar 12, 2024 8:18 AM UTC.

# Default

Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Generated data.
# <generated:start>

# Last generated Mar 12, 2024 7:32 AM UTC.
# Last generated Mar 12, 2024 8:18 AM UTC.

# Locals

Expand Down
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
# Generated data.
# <generated:start>

# Last generated Mar 12, 2024 7:32 AM UTC.
# Last generated Mar 12, 2024 8:18 AM UTC.

# Locals

Expand Down
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Generated data.
# <generated:start>

# Last generated Mar 12, 2024 7:32 AM UTC.
# Last generated Mar 12, 2024 8:18 AM UTC.

# Packages

Expand Down
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 12, 2024 7:32 AM UTC.
* Last generated using `./settings.mjs` Mar 12, 2024 8:18 AM UTC.
*/
{
"editor.formatOnType": false,
Expand Down
2 changes: 1 addition & 1 deletion .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Generated data.
# <generated:start>

# Last generated Mar 12, 2024 7:32 AM UTC.
# Last generated Mar 12, 2024 8:18 AM UTC.

# Locals

Expand Down
28 changes: 14 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"publishConfig": {
"access": "public"
},
"version": "1.0.900",
"version": "1.0.901",
"license": "GPL-3.0-or-later",
"name": "@clevercanyon/utilities",
"description": "Utilities for JavaScript apps running in any environment.",
Expand Down
2 changes: 1 addition & 1 deletion src/resources/classes/fetcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export const getClass = (): Constructor => {
* @returns {@see fetch()} Same as global native fetch.
*/
protected async fetcher(...args: Parameters<typeof globalThis.fetch>): ReturnType<typeof globalThis.fetch> {
const fetch = (this.cfw?.fetch || globalThis.fetch) as typeof globalThis.fetch;
const fetch = (this.cfw ? this.cfw.fetch : globalThis.fetch) as typeof globalThis.fetch;

if (!this.isCacheableRequest(args[1])) {
return fetch(...args); // Uses native fetch.
Expand Down
10 changes: 5 additions & 5 deletions src/tests/preact/apis/iso/ex-imports/routes/lazy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ export type ComponentProps = $preact.Props<{
* @note {@see globalThis.fetch()} is stubbed out in the main test file.
*/
export const Component = $preact.lazyComponent(async (props: ComponentProps): Promise<$preact.VNode<ComponentProps>> => {
const fetcher = $preact.useFetcher();
const { fetch } = $preact.useFetcher();

await fetcher.fetch('http://x.tld/a');
await fetcher.fetch('http://x.tld/b');
await fetcher.fetch('http://x.tld/c');
await fetcher.fetch('http://x.tld/d');
await fetch('http://x.tld/a');
await fetch('http://x.tld/b');
await fetch('http://x.tld/c');
await fetch('http://x.tld/d');

await (async () => null)();
await (async () => undefined)();
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 12, 2024 7:32 AM UTC.
* Last generated using `./tsconfig.mjs` Mar 12, 2024 8:18 AM UTC.
*/
{
"include": ["./src/**/*", "./dev-types.d.ts"],
Expand Down
2 changes: 1 addition & 1 deletion wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 12, 2024 7:32 AM UTC.
# Last generated using `./wrangler.mjs` Mar 12, 2024 8:18 AM UTC.
##

send_metrics = false
Expand Down

0 comments on commit e924650

Please sign in to comment.