From 45fcc11457ea0ae737d288691d149d2deaad1850 Mon Sep 17 00:00:00 2001 From: monarcode Date: Sat, 28 Nov 2026 20:01:16 +0100 Subject: [PATCH 1/7] ci(release): publish stable versions, and prereleases to next prepare-release accepts X.Y.Z and X.Y.Z-(alpha|beta|rc).N and picks the npm dist-tag from the registry: stable versions go to latest, and prereleases go to latest until a stable version exists, then to next. It refuses a version older than a released stable one, and fails when the registry's answer lists no versions. The GitHub release is a job of its own, so it can be rerun without publishing again. RELEASING.md documents it all, and moving next by hand after a stable release. --- .github/workflows/release.yml | 55 ++++++++++-- CHANGELOG.md | 3 + RELEASING.md | 90 +++++++++++++------ scripts/prepare-release.mjs | 94 +++++++++++++++----- tests/release.test.ts | 159 +++++++++++++++++++++++++++++----- 5 files changed, 319 insertions(+), 82 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 080b9f0..4592816 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,7 @@ on: workflow_dispatch: inputs: version: - description: Alpha or release candidate version already committed in package.json (without v) + description: Version already committed in package.json, without v (0.1.0, 0.1.0-rc.0, 0.1.0-alpha.3) required: true type: string @@ -68,7 +68,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 10 permissions: - contents: write + contents: read id-token: write steps: - name: Set up Node.js @@ -87,25 +87,62 @@ jobs: - name: Publish to npm env: RELEASE_VERSION: ${{ inputs.version }} - run: npm publish "$RUNNER_TEMP/release/monarcode-session-kit-$RELEASE_VERSION.tgz" --tag latest --access public --ignore-scripts - - name: Create GitHub prerelease and tag + run: | + DIST_TAG=$(jq -er .distTag "$RUNNER_TEMP/release/release.json") + npm publish "$RUNNER_TEMP/release/monarcode-session-kit-$RELEASE_VERSION.tgz" --tag "$DIST_TAG" --access public --ignore-scripts + + # Jobs of their own after publishing, so a failure can be rerun without + # publishing again. + github-release: + needs: publish + runs-on: ubuntu-latest + timeout-minutes: 5 + permissions: + contents: write + steps: + - name: Download verified release artifact + uses: actions/download-artifact@v8 + with: + name: session-kit-release + path: ${{ runner.temp }}/release + - name: Create GitHub release and tag env: GH_TOKEN: ${{ github.token }} GH_REPO: ${{ github.repository }} RELEASE_VERSION: ${{ inputs.version }} RELEASE_COMMIT: ${{ github.sha }} run: | + PRERELEASE=$(jq -r '.prerelease | if type == "boolean" then tostring else error("release.json has no prerelease flag") end' "$RUNNER_TEMP/release/release.json") + if [ "$PRERELEASE" = true ]; then + KIND=(--prerelease --latest=false) + else + KIND=(--latest) + fi gh release create "v$RELEASE_VERSION" \ --target "$RELEASE_COMMIT" \ --title "v$RELEASE_VERSION" \ - --prerelease --latest=false \ + "${KIND[@]}" \ --notes-file "$RUNNER_TEMP/release/release-notes.md" - # Cloudflare Pages deploys the `site` branch as the live docs, so the - # docs change with the release that publishes their API. + + # Cloudflare Pages deploys the `site` branch as the live docs, so the docs + # change with the release that publishes their API. Forced, because a docs + # fix cherry-picked onto `site` between releases has been merged to `main` + # first, so a release made after it includes it. That also means a rerun + # after a newer release would move the docs back to this one. + docs-site: + needs: publish + runs-on: ubuntu-latest + timeout-minutes: 5 + permissions: + contents: write + steps: - name: Move the docs site to the release env: GH_TOKEN: ${{ github.token }} RELEASE_COMMIT: ${{ github.sha }} run: | - gh api -X PATCH "repos/$GITHUB_REPOSITORY/git/refs/heads/site" \ - -f sha="$RELEASE_COMMIT" -F force=true + if ! gh api -X PATCH "repos/$GITHUB_REPOSITORY/git/refs/heads/site" \ + -f sha="$RELEASE_COMMIT" -F force=true; then + echo "::error::The package is published, but the docs site wasn't moved. Move it with: git push --force origin $RELEASE_COMMIT:refs/heads/site. A release that changes workflow files always fails here. Otherwise, rerunning this job can work, but not after a newer release." + exit 1 + fi diff --git a/CHANGELOG.md b/CHANGELOG.md index 25a9426..7b49606 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ - The documentation site moved to https://session-kit.monarcode.dev. The old address, https://session-kit.pages.dev, still serves it. +- Stable versions are published to npm's `latest` tag. Once 0.1.0 is out, + prereleases are published to `next`, so `npm install @monarcode/session-kit` + keeps getting the stable version. ### Docs diff --git a/RELEASING.md b/RELEASING.md index 2af3f02..431a6bd 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -1,10 +1,11 @@ # Releasing session-kit -The `Release` workflow is manually triggered. It releases an alpha or release -candidate version already committed to `main`; it does not change versions or +The `Release` workflow is manually triggered. It releases a version already +committed to `main`, stable or a prerelease; it does not change versions or commit files. -It checks and packs with pnpm, publishes the verified tarball to npm using `latest`, -then creates a Git tag and GitHub prerelease at the workflow's commit. +It checks and packs with pnpm, publishes the verified tarball to npm, then +creates a Git tag and GitHub release at the workflow's commit, and moves the +docs site to it. ## One-time npm setup @@ -26,26 +27,54 @@ See [npm's trusted publishing documentation](https://docs.npmjs.com/trusted-publ The workflow runs on GitHub-hosted runners with Node.js 24 and npm >=11.5.1. For this public repository/package, trusted publishing also generates provenance. -## Release an alpha or release candidate +## Release a version 1. Make the intended package changes. Set `package.json` to the new version, - such as `0.1.0-rc.0`, and rename `CHANGELOG.md`'s `## Unreleased` heading - to `## 0.1.0-rc.0`. + such as `0.1.1` or `0.2.0-rc.0`, and rename `CHANGELOG.md`'s + `## Unreleased` heading to `## 0.1.1`. 2. Run `pnpm run check`, then commit and push those changes to `main`. 3. Open GitHub Actions → **Release** → **Run workflow**. Choose `main` and enter the exact package version, without a `v` prefix. -4. Verify the run succeeds, npm exposes the version through `latest`, and the - matching GitHub prerelease exists. +4. Verify the run succeeds, npm exposes the version through its dist-tag, and + the matching GitHub release exists. +5. After a stable release, run `npm view @monarcode/session-kit dist-tags`. + If `next` points at a version older than the release, so that `@next` + would install something older than `latest`, move it to the release or + remove it: + + ```sh + npm dist-tag add @monarcode/session-kit@0.1.1 next + ``` + + ```sh + npm dist-tag rm @monarcode/session-kit next + ``` + + The workflow doesn't do this. With trusted publishing, changing a + dist-tag needs **Allow npm dist-tag** on the trusted publisher and npm + 11.21 or newer. + +The workflow takes stable versions (`0.1.0`) and `-alpha.N`, `-beta.N` and +`-rc.N` prereleases. It picks the npm dist-tag from what's published: + +- a stable version goes to `latest`, and its GitHub release is marked latest; +- a prerelease goes to `next` once a stable version exists, and to `latest` + before that. Its GitHub release is marked as a prerelease. + +The workflow refuses a version older than a released stable one, such as +`0.1.5` after `0.2.0`, or `0.1.0-rc.4` after `0.1.0`: it would take +`latest` and move the docs site back to that line. Releasing an older line +needs a dist-tag of its own, which isn't built yet. The workflow rejects a different branch, invalid or mismatched versions, missing -release notes, an existing npm version, and an existing Git tag. It takes -`-alpha.N` and `-rc.N` versions only, not stable releases yet. The published +release notes, an existing npm version, and an existing Git tag. The published `0.1.0-alpha.0` cannot be republished. -The build job has read-only repository permissions. Only the publishing job -receives OIDC and release-write permissions. Its tarball and release notes come -from the same run's artifact, retained for 14 days. Publishing uses npm only for -the OIDC-authenticated upload; installation, tests, and packing use pnpm. +The build job has read-only repository permissions. Only the `publish` job +receives OIDC, and only the `github-release` and `docs-site` jobs after it can +write to the repository. The tarball and release notes come from the same +run's artifact, retained for 14 days. Publishing uses npm only for the +OIDC-authenticated upload; installation, tests, and packing use pnpm. ## The docs site @@ -62,11 +91,13 @@ output directory to `site/dist/client`, and the `NODE_VERSION` variable to git push origin main:refs/heads/site ``` -After publishing, the Release workflow moves `site` to the released commit. -If that step fails, the package is published: move the branch yourself, with -the run's full commit SHA. A release whose changes include -`.github/workflows/` may need this, since the workflow's token can't update -a branch to a commit that changes workflow files. +After publishing, the Release workflow's `docs-site` job moves `site` to the +released commit. If that job fails, the package is published: move the +branch yourself with the run's full commit SHA, which the job's error +prints. A release whose changes include `.github/workflows/` always needs +this, since the workflow's token can't update a branch to a commit that +changes workflow files. For any other failure, rerunning the job can work +too, but never rerun it after a newer release: it would move the docs back. ```sh git push --force origin FULL_COMMIT_SHA_FROM_THE_RUN:refs/heads/site @@ -100,18 +131,21 @@ If npm publishing fails, resolve the reported problem before rerunning. Check whether npm already contains the version before attempting another publication. If npm succeeds but GitHub release creation fails, do not bump the version or -republish. Download the `session-kit-release` artifact from that run and create -the missing GitHub prerelease with its `release-notes.md`, using the original -run's full commit SHA: +republish. Rerun the run's `github-release` job. If it still fails, download +the `session-kit-release` artifact from that run and create the missing +GitHub release with its `release-notes.md`, using the original run's full +commit SHA: ```sh -gh release create v0.1.0-alpha.1 \ +gh release create v0.1.1 \ --repo monarcode/session-kit \ --target FULL_COMMIT_SHA_FROM_THE_RUN \ - --title v0.1.0-alpha.1 \ - --prerelease --latest=false \ + --title v0.1.1 \ + --latest \ --notes-file /absolute/path/to/release-notes.md ``` -Use the affected version in that command. If the tag or release already exists, -inspect it and complete the missing step rather than creating it again. +Use the affected version in that command. For a prerelease, replace +`--latest` with `--prerelease --latest=false`. If the tag or release already +exists, inspect it and complete the missing step rather than creating it +again. diff --git a/scripts/prepare-release.mjs b/scripts/prepare-release.mjs index 2b4f25d..c4d5204 100644 --- a/scripts/prepare-release.mjs +++ b/scripts/prepare-release.mjs @@ -2,18 +2,20 @@ import { readFile, mkdir, writeFile } from "node:fs/promises"; import { resolve } from "node:path"; import { pathToFileURL } from "node:url"; +const number = "(?:0|[1-9][0-9]*)"; +const release = new RegExp( + `^${number}\\.${number}\\.${number}(?:-(?:alpha|beta|rc)\\.${number})?$`, +); +const stable = new RegExp(`^${number}\\.${number}\\.${number}$`); + export function prepareRelease(manifest, changelog, version) { - const number = "(?:0|[1-9][0-9]*)"; - const prerelease = new RegExp( - `^${number}\\.${number}\\.${number}-(?:alpha|rc)\\.${number}$`, - ); if ( typeof version !== "string" || version.trim() !== version || - !prerelease.test(version) + !release.test(version) ) { throw new Error( - "Use a prerelease version such as 0.1.0-rc.0, without a v prefix.", + "Use a version such as 0.1.0, 0.1.0-rc.0 or 0.1.0-alpha.3, without a v prefix.", ); } if (manifest.version !== version) @@ -41,16 +43,72 @@ export function prepareRelease(manifest, changelog, version) { .slice(section.index + section[0].length, next?.index) .trim(); if (!notes) throw new Error("Release notes must not be empty."); - return { version, tag: `v${version}`, notes }; + return { + version, + tag: `v${version}`, + prerelease: !stable.test(version), + notes, + }; +} + +/** Whether version `a`'s major, minor and patch are higher than `b`'s. */ +function isAfter(a, b) { + const [x, y] = [a, b].map((v) => v.split("-")[0].split(".").map(Number)); + for (let i = 0; i < 3; i++) if (x[i] !== y[i]) return x[i] > y[i]; + return false; +} + +/** + * The npm dist-tag a release goes to. A stable version goes to `latest`. A + * prerelease does too until a stable version exists, then it goes to `next`, + * so `npm install` keeps getting the stable one. + */ +export function chooseDistTag(version, published) { + const stables = published.filter((existing) => stable.test(existing)); + // A release older than a stable one would take `latest` and move the docs + // back to its line. That needs a dist-tag of its own, not built yet. + const newer = stables.find((existing) => !isAfter(version, existing)); + if (newer) + throw new Error( + `Version ${version} isn't newer than ${newer}, which is released. The workflow can't release an older line yet.`, + ); + if (stable.test(version)) return "latest"; + return stables.length > 0 ? "next" : "latest"; } export async function checkRegistry(version, request = fetch) { const response = await request( - `https://registry.npmjs.org/@monarcode%2Fsession-kit/${version}`, + "https://registry.npmjs.org/@monarcode%2Fsession-kit", + ); + if (!response.ok) + throw new Error( + `npm registry check failed with HTTP ${response.status}.`, + ); + const { versions } = await response.json(); + // The dist-tag depends on what's published, so an answer without the + // versions mustn't pass for a package with none. + if (typeof versions !== "object" || versions === null) + throw new Error("npm registry check found no list of versions."); + const published = Object.keys(versions); + if (published.includes(version)) + throw new Error(`Version ${version} is already published.`); + return { distTag: chooseDistTag(version, published) }; +} + +/** + * Writes the release notes, and `release.json`, which the workflow reads the + * dist-tag and the prerelease flag from. + */ +export async function writeRelease(directory, prepared, registry = {}) { + await mkdir(directory, { recursive: true }); + await writeFile( + resolve(directory, "release-notes.md"), + `${prepared.notes}\n`, + ); + await writeFile( + resolve(directory, "release.json"), + `${JSON.stringify({ ...prepared, ...registry }, null, 2)}\n`, ); - if (response.status === 404) return; - if (response.ok) throw new Error(`Version ${version} is already published.`); - throw new Error(`npm registry check failed with HTTP ${response.status}.`); } // Runs only as a script (the Release workflow), so tests can import the @@ -67,15 +125,7 @@ if ( } const manifest = JSON.parse(await readFile("package.json", "utf8")); const changelog = await readFile("CHANGELOG.md", "utf8"); - const release = prepareRelease(manifest, changelog, version); - if (registryFlag) await checkRegistry(release.version); - await mkdir(directory, { recursive: true }); - await writeFile( - resolve(directory, "release-notes.md"), - `${release.notes}\n`, - ); - await writeFile( - resolve(directory, "release.json"), - `${JSON.stringify(release, null, 2)}\n`, - ); + const prepared = prepareRelease(manifest, changelog, version); + const registry = registryFlag ? await checkRegistry(prepared.version) : {}; + await writeRelease(directory, prepared, registry); } diff --git a/tests/release.test.ts b/tests/release.test.ts index e17f913..f362155 100644 --- a/tests/release.test.ts +++ b/tests/release.test.ts @@ -1,7 +1,15 @@ import assert from "node:assert/strict"; +import { mkdtemp, readFile, rm } from "node:fs/promises"; +import { tmpdir } from "node:os"; +import { join } from "node:path"; import { test } from "node:test"; -import { checkRegistry, prepareRelease } from "../scripts/prepare-release.mjs"; +import { + checkRegistry, + chooseDistTag, + prepareRelease, + writeRelease, +} from "../scripts/prepare-release.mjs"; const manifest = { name: "@monarcode/session-kit", @@ -19,6 +27,7 @@ test("release notes contain only the selected version, including subsections", ( assert.deepEqual(prepareRelease(manifest, changelog, manifest.version), { version: manifest.version, tag: "v0.1.0-alpha.1", + prerelease: true, notes: "New fix.\n\n### Tests\n\nVerified.", }); assert.equal( @@ -31,33 +40,47 @@ test("release notes contain only the selected version, including subsections", ( ); }); -test("release accepts a release candidate", () => { - const rc = { ...manifest, version: "0.1.0-rc.0" }; - assert.equal( - prepareRelease( - rc, - "# Changelog\n\n## 0.1.0-rc.0\n\nFrozen.\n", - "0.1.0-rc.0", - ).tag, - "v0.1.0-rc.0", - ); +test("release accepts stable versions and alpha, beta and rc prereleases", () => { + for (const [version, prerelease] of [ + ["0.1.0", false], + ["1.0.0", false], + ["0.1.0-alpha.3", true], + ["0.1.0-beta.0", true], + ["0.1.0-rc.0", true], + ["0.1.0-rc.12", true], + ] as const) { + assert.deepEqual( + prepareRelease( + { ...manifest, version }, + `# Changelog\n\n## ${version}\n\nNotes.\n`, + version, + ), + { version, tag: `v${version}`, prerelease, notes: "Notes." }, + ); + } }); -test("release rejects invalid prerelease versions and a package version mismatch", () => { +test("release rejects invalid versions and a package version mismatch", () => { for (const version of [ - "0.1.0", - "0.1.0-beta.1", - "0.1.0-rc.01", + "v0.1.0", "v0.1.0-alpha.1", + "0.1", + "0.1.0-rc", + "0.1.0-rc.0.1", + "0.1.0-pre.1", + "0.1.0-RC.1", + "0.1.0-rc.01", "0.1.0-alpha.01", "01.1.0-alpha.1", + "0.1.0+build.1", + " 0.1.0-alpha.1", "0.1.0-alpha.1\n", "$(echo bad)", undefined, ]) { assert.throws( () => prepareRelease(manifest, changelog, version), - /prerelease version/, + /Use a version such as/, ); } assert.throws( @@ -97,20 +120,85 @@ test("release requires unique, nonempty notes for the version", () => { } }); -/** A fetch stand-in answering with only what `checkRegistry` reads. */ -const registry = (status: number, ok: boolean) => - (async () => ({ status, ok })) as unknown as typeof fetch; +test("a stable release goes to latest, and a prerelease to next once a stable one exists", () => { + for (const [version, published, tag] of [ + ["0.1.0", [], "latest"], + ["0.1.0", ["0.1.0-rc.3"], "latest"], + ["0.2.0", ["0.1.0"], "latest"], + ["0.1.0-rc.0", [], "latest"], + ["0.1.0-rc.4", ["0.1.0-alpha.8", "0.1.0-rc.3"], "latest"], + ["0.2.0-rc.0", ["0.1.0-rc.3", "0.1.0"], "next"], + ] as const) { + assert.equal(chooseDistTag(version, published), tag); + } +}); -test("registry preflight allows only an unpublished version and propagates failures", async () => { - await checkRegistry(manifest.version, registry(404, false)); +test("a release older than a stable one is refused", () => { + for (const [version, published] of [ + ["0.1.5", ["0.1.0", "0.2.0"]], + ["0.1.0-rc.4", ["0.1.0-rc.3", "0.1.0"]], + ["0.2.0-rc.0", ["0.1.0", "0.2.0"]], + ] as const) { + assert.throws(() => chooseDistTag(version, published), /older line/); + } +}); + +/** + * A fetch stand-in answering with only what `checkRegistry` reads: the + * status, and the package document's published versions. + */ +function registry(status: number, versions: string[] = []) { + const urls: string[] = []; + const request = (async (url: string) => { + urls.push(url); + return { + status, + ok: status >= 200 && status < 300, + json: async () => ({ + versions: Object.fromEntries(versions.map((v) => [v, {}])), + }), + }; + }) as unknown as typeof fetch; + return { urls, request }; +} + +test("registry preflight allows only an unpublished version and picks its dist-tag", async () => { + const answer = registry(200, ["0.1.0-rc.3"]); + assert.deepEqual(await checkRegistry("0.1.0", answer.request), { + distTag: "latest", + }); + assert.deepEqual(answer.urls, [ + "https://registry.npmjs.org/@monarcode%2Fsession-kit", + ]); + assert.deepEqual( + await checkRegistry("0.2.0-rc.0", registry(200, ["0.1.0"]).request), + { distTag: "next" }, + ); await assert.rejects( - checkRegistry(manifest.version, registry(200, true)), + checkRegistry("0.1.0-rc.3", registry(200, ["0.1.0-rc.3"]).request), /already published/, ); +}); + +test("registry preflight fails when it can't see what's published", async () => { + // The package is on npm, so a 404 is the registry failing. await assert.rejects( - checkRegistry(manifest.version, registry(503, false)), + checkRegistry(manifest.version, registry(404).request), + /HTTP 404/, + ); + await assert.rejects( + checkRegistry(manifest.version, registry(503).request), /HTTP 503/, ); + const noVersions = (async () => ({ + status: 200, + ok: true, + json: async () => ({ error: "not found" }), + })) as unknown as typeof fetch; + await assert.rejects( + checkRegistry(manifest.version, noVersions), + /no list of versions/, + ); await assert.rejects( checkRegistry(manifest.version, async () => { throw new Error("Network unavailable"); @@ -118,3 +206,28 @@ test("registry preflight allows only an unpublished version and propagates failu /Network unavailable/, ); }); + +test("release.json carries the dist-tag and prerelease flag the workflow reads", async (t) => { + const directory = await mkdtemp(join(tmpdir(), "session-kit-release-")); + t.after(() => rm(directory, { recursive: true, force: true })); + const version = "0.2.0-rc.0"; + const prepared = prepareRelease( + { ...manifest, version }, + `# Changelog\n\n## ${version}\n\nNotes.\n`, + version, + ); + await writeRelease( + directory, + prepared, + await checkRegistry(version, registry(200, ["0.1.0"]).request), + ); + const written = JSON.parse( + await readFile(join(directory, "release.json"), "utf8"), + ); + assert.equal(written.distTag, "next"); + assert.equal(written.prerelease, true); + assert.equal( + await readFile(join(directory, "release-notes.md"), "utf8"), + "Notes.\n", + ); +}); From 4c84bba3cc25c32e49447b7548260ad8e2d6b474 Mon Sep 17 00:00:00 2001 From: monarcode Date: Sat, 28 Nov 2026 20:07:56 +0100 Subject: [PATCH 2/7] build(deps)!: require effetch 0.1.0 Raise the @monarcode/effetch peer range to ^0.1.0, up from ^0.1.0-rc.4, now that effetch 0.1.0 is stable, and move the dev dependencies and the Effect example to effetch and effetch-query 0.1.0. CI's oldest-peers job installs effetch 0.1.0. The Effect page and Compatibility name 0.1.0. BREAKING CHANGE: apps using ./effetch need @monarcode/effetch 0.1.0 or later in 0.1. --- .github/workflows/ci.yml | 2 +- CHANGELOG.md | 4 +++ .../tanstack-start-spa-effetch/package.json | 4 +-- package.json | 6 ++-- pnpm-lock.yaml | 32 +++++++++---------- site/content/docs/(latest)/effect/browser.mdx | 4 +-- .../docs/(latest)/reference/compatibility.mdx | 2 +- 7 files changed, 29 insertions(+), 25 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9d54f0c..9096eb1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -81,7 +81,7 @@ jobs: @tanstack/react-router@1.132.0 @tanstack/react-start@1.169.0 \ react-router@7.0.0 next@16.0.0 expo-router@5.0.2 \ expo-secure-store@14.2.0 react-native@0.79.0 effect@4.1.0 \ - @monarcode/effetch@0.1.0-rc.4 + @monarcode/effetch@0.1.0 - name: Build and test run: pnpm run build && pnpm test && pnpm run test:types diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b49606..112f32c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,10 @@ - Stable versions are published to npm's `latest` tag. Once 0.1.0 is out, prereleases are published to `next`, so `npm install @monarcode/session-kit` keeps getting the stable version. +- **Breaking for effetch users:** the `@monarcode/effetch` peer range is + `^0.1.0`, up from `^0.1.0-rc.4`, now that effetch 0.1.0 is stable. + `./effetch` works as before. If your app is on an effetch release + candidate, upgrade it to 0.1.0, which effetch-query 0.1.0 needs too. ### Docs diff --git a/examples/tanstack-start-spa-effetch/package.json b/examples/tanstack-start-spa-effetch/package.json index b8f0e83..b6d7eba 100644 --- a/examples/tanstack-start-spa-effetch/package.json +++ b/examples/tanstack-start-spa-effetch/package.json @@ -10,8 +10,8 @@ }, "dependencies": { "@effect/atom-react": "4.1.3", - "@monarcode/effetch": "0.1.0-rc.4", - "@monarcode/effetch-query": "0.1.0-rc.4", + "@monarcode/effetch": "0.1.0", + "@monarcode/effetch-query": "0.1.0", "@monarcode/session-kit": "workspace:*", "@tanstack/react-router": "1.170.46", "@tanstack/react-start": "1.169.5", diff --git a/package.json b/package.json index 3d7dc6b..3956313 100644 --- a/package.json +++ b/package.json @@ -123,8 +123,8 @@ "use-sync-external-store": "^1.6.0" }, "devDependencies": { - "@monarcode/effetch": "0.1.0-rc.4", - "@monarcode/effetch-query": "0.1.0-rc.4", + "@monarcode/effetch": "0.1.0", + "@monarcode/effetch-query": "0.1.0", "@tanstack/react-router": "1.170.46", "@tanstack/react-start": "1.169.5", "@types/jsdom": "21.1.7", @@ -151,7 +151,7 @@ "zod": "4.6.7" }, "peerDependencies": { - "@monarcode/effetch": "^0.1.0-rc.4", + "@monarcode/effetch": "^0.1.0", "@tanstack/react-router": "^1.132.0", "@tanstack/react-start": "^1.169.0", "effect": "^4.1.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d165185..c1923b1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -19,11 +19,11 @@ importers: version: 1.7.0(react@19.3.1) devDependencies: '@monarcode/effetch': - specifier: 0.1.0-rc.4 - version: 0.1.0-rc.4(effect@4.1.3) + specifier: 0.1.0 + version: 0.1.0(effect@4.1.3) '@monarcode/effetch-query': - specifier: 0.1.0-rc.4 - version: 0.1.0-rc.4(@effect/atom-react@4.1.3(effect@4.1.3)(react@19.3.1)(scheduler@0.28.0))(@monarcode/effetch@0.1.0-rc.4(effect@4.1.3))(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(effect@4.1.3)(react@19.3.1) + specifier: 0.1.0 + version: 0.1.0(@effect/atom-react@4.1.3(effect@4.1.3)(react@19.3.1)(scheduler@0.28.0))(@monarcode/effetch@0.1.0(effect@4.1.3))(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(effect@4.1.3)(react@19.3.1) '@tanstack/react-router': specifier: 1.170.46 version: 1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1) @@ -408,11 +408,11 @@ importers: specifier: 4.1.3 version: 4.1.3(effect@4.1.3)(react@19.3.1)(scheduler@0.28.0) '@monarcode/effetch': - specifier: 0.1.0-rc.4 - version: 0.1.0-rc.4(effect@4.1.3) + specifier: 0.1.0 + version: 0.1.0(effect@4.1.3) '@monarcode/effetch-query': - specifier: 0.1.0-rc.4 - version: 0.1.0-rc.4(@effect/atom-react@4.1.3(effect@4.1.3)(react@19.3.1)(scheduler@0.28.0))(@monarcode/effetch@0.1.0-rc.4(effect@4.1.3))(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(effect@4.1.3)(react@19.3.1) + specifier: 0.1.0 + version: 0.1.0(@effect/atom-react@4.1.3(effect@4.1.3)(react@19.3.1)(scheduler@0.28.0))(@monarcode/effetch@0.1.0(effect@4.1.3))(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(effect@4.1.3)(react@19.3.1) '@monarcode/session-kit': specifier: workspace:* version: link:../.. @@ -1630,11 +1630,11 @@ packages: '@mdx-js/mdx@3.1.1': resolution: {integrity: sha512-f6ZO2ifpwAQIpzGWaBQT2TXxPv6z3RBzQKpVftEWN78Vl/YweF1uwussDx8ECAXVtr3Rs89fKyG9YlzUs9DyGQ==} - '@monarcode/effetch-query@0.1.0-rc.4': - resolution: {integrity: sha512-U6rILi7Qe4NAwUZH2xMKgqvfyci9BfPEuxFE78gr+/Nw/DcT0ycr5skAG4CriB/mqFRLcuCfQAQYZEtauLtlMA==} + '@monarcode/effetch-query@0.1.0': + resolution: {integrity: sha512-KNryfC5Vlwqq+Mmsru/1b4EI0MBd2kPbjElcVwQl4TDh6jW4qeTCxeOMQUWrWGXd0hH70n/xG9jaS4z32CyEYA==} peerDependencies: '@effect/atom-react': ^4.1.0 - '@monarcode/effetch': '>=0.1.0-rc.4 <0.2.0' + '@monarcode/effetch': '>=0.1.0 <0.2.0' '@tanstack/react-router': '>=1.170.33 <2.0.0' effect: ^4.1.0 react: '>=19.0.0 <20.0.0' @@ -1648,8 +1648,8 @@ packages: react: optional: true - '@monarcode/effetch@0.1.0-rc.4': - resolution: {integrity: sha512-457QGbcXWm8BqogaF4twl+2PsxJtszhFa3FPKLiioRMATc1PGqJBzpErCD+hxluiPkB1tgKBn8Abg3+erBv/OA==} + '@monarcode/effetch@0.1.0': + resolution: {integrity: sha512-nFrgIadf4lJqDeaShqM8MEopRrqVDBGqn2LZi+5NgakLXf5yxaeD6YM12JQuUylQJWnwqL7bli02CN4vjSEHWw==} hasBin: true peerDependencies: effect: ^4.0.0 @@ -7367,16 +7367,16 @@ snapshots: transitivePeerDependencies: - supports-color - '@monarcode/effetch-query@0.1.0-rc.4(@effect/atom-react@4.1.3(effect@4.1.3)(react@19.3.1)(scheduler@0.28.0))(@monarcode/effetch@0.1.0-rc.4(effect@4.1.3))(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(effect@4.1.3)(react@19.3.1)': + '@monarcode/effetch-query@0.1.0(@effect/atom-react@4.1.3(effect@4.1.3)(react@19.3.1)(scheduler@0.28.0))(@monarcode/effetch@0.1.0(effect@4.1.3))(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(effect@4.1.3)(react@19.3.1)': dependencies: effect: 4.1.3 optionalDependencies: '@effect/atom-react': 4.1.3(effect@4.1.3)(react@19.3.1)(scheduler@0.28.0) - '@monarcode/effetch': 0.1.0-rc.4(effect@4.1.3) + '@monarcode/effetch': 0.1.0(effect@4.1.3) '@tanstack/react-router': 1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1) react: 19.3.1 - '@monarcode/effetch@0.1.0-rc.4(effect@4.1.3)': + '@monarcode/effetch@0.1.0(effect@4.1.3)': dependencies: effect: 4.1.3 diff --git a/site/content/docs/(latest)/effect/browser.mdx b/site/content/docs/(latest)/effect/browser.mdx index 507b4f8..960fa20 100644 --- a/site/content/docs/(latest)/effect/browser.mdx +++ b/site/content/docs/(latest)/effect/browser.mdx @@ -44,7 +44,7 @@ npm install @monarcode/session-kit effect @monarcode/effetch `effect` and `@monarcode/effetch` are optional peer dependencies of Session kit. `./effect` and `./effetch` need `effect` 4.1 or newer, and `./effetch` -also needs `@monarcode/effetch` 0.1.0-rc.4 or newer. effetch-query has its +also needs `@monarcode/effetch` 0.1.0 or newer in 0.1. effetch-query has its own install, in [Cache with effetch-query](#cache-with-effetch-query). ## 1. Describe your backend @@ -464,7 +464,7 @@ export const logStatus = Auth.changes.pipe( effetch-query keeps what your endpoints return in a cache, and your components read it from there. The steps in this section are optional, and -need React 19. To install effetch-query 0.1.0-rc.4 or newer, with its +need React 19. To install effetch-query 0.1.0 or newer, with its `@effect/atom-react` peer for React, run the following command: ```npm diff --git a/site/content/docs/(latest)/reference/compatibility.mdx b/site/content/docs/(latest)/reference/compatibility.mdx index 0542403..fc43e7f 100644 --- a/site/content/docs/(latest)/reference/compatibility.mdx +++ b/site/content/docs/(latest)/reference/compatibility.mdx @@ -20,7 +20,7 @@ points you import: | `react-router` | `^7.0.0 \|\| ^8.0.0` | `/react-router`, `/react-router/server` | | `next` | `^16.0.0` | `/next` | | `effect` | `^4.1.0` | `/effect`, `/effetch` | -| `@monarcode/effetch` | `^0.1.0-rc.4` | `/effetch` | +| `@monarcode/effetch` | `^0.1.0` | `/effetch` | | `expo-router` | `^5.0.2` through `^58` | `/expo` | | `expo-secure-store` | `^14.2.0` through `^58` | `/expo` | | `expo-file-system` | `^18.1.0` through `^58` | `/expo` | From 8f8cde6153699fa5dadd46d2fcefa013645f9f8a Mon Sep 17 00:00:00 2001 From: monarcode Date: Sat, 28 Nov 2026 20:10:10 +0100 Subject: [PATCH 3/7] ci(release): move the live docs only for releases to latest The docs-site job now runs only when the release goes to npm's latest tag, so the live site matches what npm install gets. Once a stable version exists, a prerelease on next is previewed on main's deploy instead. RELEASING.md, CONTRIBUTING.md and site/PRODUCT.md say so. --- .github/workflows/release.yml | 19 +++++++++++++------ CHANGELOG.md | 3 ++- CONTRIBUTING.md | 6 +++--- RELEASING.md | 22 +++++++++++++--------- site/PRODUCT.md | 4 ++-- 5 files changed, 33 insertions(+), 21 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4592816..a79ee0b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,6 +22,8 @@ jobs: prepare: runs-on: ubuntu-latest timeout-minutes: 15 + outputs: + dist_tag: ${{ steps.release.outputs.dist_tag }} steps: - name: Require main env: @@ -41,6 +43,7 @@ jobs: node-version: 24 package-manager-cache: false - name: Validate version and release notes + id: release env: RELEASE_VERSION: ${{ inputs.version }} run: | @@ -49,6 +52,8 @@ jobs: echo "The release tag already exists." exit 1 fi + DIST_TAG=$(jq -er .distTag "$RUNNER_TEMP/release/release.json") + echo "dist_tag=$DIST_TAG" >> "$GITHUB_OUTPUT" - name: Install dependencies run: pnpm install --frozen-lockfile - name: Build and test @@ -124,13 +129,15 @@ jobs: "${KIND[@]}" \ --notes-file "$RUNNER_TEMP/release/release-notes.md" - # Cloudflare Pages deploys the `site` branch as the live docs, so the docs - # change with the release that publishes their API. Forced, because a docs - # fix cherry-picked onto `site` between releases has been merged to `main` - # first, so a release made after it includes it. That also means a rerun - # after a newer release would move the docs back to this one. + # Cloudflare Pages deploys the `site` branch as the live docs, so they + # change with the release `npm install` gets: one published to `latest`. + # A release to `next` is previewed on `main`'s deploy instead. Forced, + # because a docs fix cherry-picked onto `site` between releases has been + # merged to `main` first, so a release made after it includes it. That + # also means a rerun after a newer release would move the docs back. docs-site: - needs: publish + needs: [prepare, publish] + if: needs.prepare.outputs.dist_tag == 'latest' runs-on: ubuntu-latest timeout-minutes: 5 permissions: diff --git a/CHANGELOG.md b/CHANGELOG.md index 112f32c..f101be3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,8 @@ address, https://session-kit.pages.dev, still serves it. - Stable versions are published to npm's `latest` tag. Once 0.1.0 is out, prereleases are published to `next`, so `npm install @monarcode/session-kit` - keeps getting the stable version. + keeps getting the stable version, and the docs site keeps showing its + docs. - **Breaking for effetch users:** the `@monarcode/effetch` peer range is `^0.1.0`, up from `^0.1.0-rc.4`, now that effetch 0.1.0 is stable. `./effetch` works as before. If your app is on an effetch release diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e21536f..d3633b5 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -59,9 +59,9 @@ pnpm --dir site run dev also catches MDX syntax errors and type errors in Twoslash blocks, which `check` doesn't build. -The live site shows the newest release. Older release lines are kept as -snapshots in `site/content/docs//`, made by `scripts/snapshot-docs.mjs`. -[RELEASING.md](./RELEASING.md) covers both. +The live site shows the release on npm's `latest` tag. Older release lines +are kept as snapshots in `site/content/docs//`, made by +`scripts/snapshot-docs.mjs`. [RELEASING.md](./RELEASING.md) covers both. ## Try a local build diff --git a/RELEASING.md b/RELEASING.md index 431a6bd..601b380 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -4,8 +4,8 @@ The `Release` workflow is manually triggered. It releases a version already committed to `main`, stable or a prerelease; it does not change versions or commit files. It checks and packs with pnpm, publishes the verified tarball to npm, then -creates a Git tag and GitHub release at the workflow's commit, and moves the -docs site to it. +creates a Git tag and GitHub release at the workflow's commit. For a release +to npm's `latest` tag, it also moves the docs site to that commit. ## One-time npm setup @@ -61,6 +61,9 @@ The workflow takes stable versions (`0.1.0`) and `-alpha.N`, `-beta.N` and - a prerelease goes to `next` once a stable version exists, and to `latest` before that. Its GitHub release is marked as a prerelease. +Only a release to `latest` moves the docs site, so the live docs match what +`npm install` gets. A release to `next` is previewed on `main`'s deploy. + The workflow refuses a version older than a released stable one, such as `0.1.5` after `0.2.0`, or `0.1.0-rc.4` after `0.1.0`: it would take `latest` and move the docs site back to that line. Releasing an older line @@ -79,8 +82,9 @@ OIDC-authenticated upload; installation, tests, and packing use pnpm. ## The docs site Cloudflare Pages builds the site from this repository. Its production branch -is `site`, so the live docs show the newest release, and `main` deploys as a -preview: the docs for what's next. Every pull request gets a preview too. +is `site`, so the live docs show the release on npm's `latest` tag, and +`main` deploys as a preview: the docs for what's next, including a +prerelease on `next`. Every pull request gets a preview too. One-time setup, in Cloudflare Pages: connect the repository, set the production branch to `site`, the build command to `pnpm run build:site`, the @@ -91,13 +95,13 @@ output directory to `site/dist/client`, and the `NODE_VERSION` variable to git push origin main:refs/heads/site ``` -After publishing, the Release workflow's `docs-site` job moves `site` to the -released commit. If that job fails, the package is published: move the -branch yourself with the run's full commit SHA, which the job's error +After publishing to `latest`, the Release workflow's `docs-site` job moves +`site` to the released commit. If that job fails, the package is published: +move the branch yourself with the run's full commit SHA, which the job's error prints. A release whose changes include `.github/workflows/` always needs this, since the workflow's token can't update a branch to a commit that -changes workflow files. For any other failure, rerunning the job can work -too, but never rerun it after a newer release: it would move the docs back. +changes workflow files. For any other failure, rerunning the job can work too, +but never rerun it after a newer release: it would move the docs back. ```sh git push --force origin FULL_COMMIT_SHA_FROM_THE_RUN:refs/heads/site diff --git a/site/PRODUCT.md b/site/PRODUCT.md index 9e52d85..c3b909a 100644 --- a/site/PRODUCT.md +++ b/site/PRODUCT.md @@ -55,8 +55,8 @@ those same checked examples, so the code shown is code that compiles. generated from that JSDoc. - One docs version per release line (`0.1`, `0.2`, …). The current line is at `/docs/…`; older lines are snapshots at `/docs//…`, switched with a - version dropdown. The live site shows the newest release (Cloudflare's - production branch `site`); `main` deploys as a preview. + version dropdown. The live site shows the release on npm's `latest` tag + (Cloudflare's production branch `site`); `main` deploys as a preview. - The package is pre-1.0 and in release candidates: the 0.1 API is frozen, and later 0.1 releases only add to it. From b8380a2dadd94a5852c4ffeecac3232fd569fb4a Mon Sep 17 00:00:00 2001 From: monarcode Date: Sat, 28 Nov 2026 20:27:29 +0100 Subject: [PATCH 4/7] docs: add a versioning policy, and drop the release-candidate notes An update within 0.1.x doesn't break code written for 0.1.0: the API, the formats of saved sessions, the session cookie and the session route, and the supported peers, TypeScript versions and runtimes stay as they are, and breaking changes wait for 0.2.0. An update can add an AuthErrorCode for something new. The one exception follows Effect's unstable HTTP modules, which /effetch's types come from. The policy is on Compatibility, summarised in the README and on Installation, and AGENTS.md rule 9 now enforces it. --- AGENTS.md | 13 +++-- CHANGELOG.md | 10 ++++ README.md | 10 ++-- site/PRODUCT.md | 4 +- site/content/docs/(latest)/installation.mdx | 11 +++-- .../docs/(latest)/reference/compatibility.mdx | 49 +++++++++++++++++-- site/src/routes/llms[.]txt.ts | 2 +- 7 files changed, 77 insertions(+), 22 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index cbefc1e..d29f20f 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -61,11 +61,14 @@ Consumers import from the root and from subpaths: 8. **Ask before changing a settled decision** (`.stash/roadmap.md`, "Decisions made"). If the code shows a decision can't work, stop and explain why rather than working around it. -9. **No compatibility shims during alpha.** Make clean breaking changes and - note each one in `CHANGELOG.md`. From `0.1.0-rc.0` the public API is - frozen: no renames, removals or changed signatures of anything a subpath - exports (functions, types, options, `AuthErrorCode`s). Additive changes - only, and only with the maintainer's agreement. +9. **0.1.x keeps the versioning promise** (Compatibility, "Versioning"): no + renames, removals or changed signatures of anything a subpath exports + (functions, types, options, `AuthErrorCode`s); no change to the format of + the saved session, the session cookie or the session route; and no + dropped support for a peer version, a TypeScript version or a runtime. + Changes are additive only, and only with the maintainer's agreement. A + breaking change waits for 0.2.0: make it cleanly, without compatibility + shims, and note it in `CHANGELOG.md`. 10. **CI never calls dummyjson.com.** Examples may use it; tests mock it. ## Code style diff --git a/CHANGELOG.md b/CHANGELOG.md index f101be3..924e50d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,16 @@ ### Docs +- Session kit has a versioning policy, on the + [Compatibility](https://session-kit.monarcode.dev/docs/reference/compatibility#versioning) + page and in the README. An update within 0.1.x doesn't break code written + for 0.1.0: the API, the format of saved sessions, the session cookie and + the session route, and the supported peers, TypeScript versions and + runtimes stay as they are, and breaking changes wait for 0.2.0. An update + can add an `AuthErrorCode` for something new. The exception follows + Effect, which marks its HTTP modules unstable: when they change, a 0.1.x + update can change the types `/effetch` gets from them, or raise its oldest + `effect`. The release-candidate notes are gone. - A link to any page of the docs site shows its own preview image, with the page's title, description and place in the docs. Each page names its canonical URL on the new domain and links to its Markdown version. diff --git a/README.md b/README.md index 9139cd2..19e05d2 100644 --- a/README.md +++ b/README.md @@ -28,8 +28,11 @@ server with TanStack Start, Next.js, and React Router, and comes with an [Effect](https://effect.website) service and an [effetch](https://github.com/monarcode/effetch) plugin. -> **Release candidate.** The API is frozen for 0.1, and later 0.1 releases -> only add to it. See the [release notes](./CHANGELOG.md). +> **Versioning.** An update within 0.1.x doesn't break code written for +> 0.1.0, and keeps restoring the sessions your users saved. Breaking changes +> wait for 0.2.0, with notes in the [changelog](./CHANGELOG.md). +> [Versioning](https://session-kit.monarcode.dev/docs/reference/compatibility#versioning) +> lists what an update can change. **Documentation: [session-kit.monarcode.dev](https://session-kit.monarcode.dev)** @@ -48,9 +51,6 @@ or newer (Effect asks for 5.9), and [Compatibility](https://session-kit.monarcode.dev/docs/reference/compatibility) lists the supported versions. -Release candidates are published to the `latest` tag, so pin an exact version -and read the [release notes](./CHANGELOG.md) before upgrading. - ## Quick start Your backend keeps its sign-in and refresh endpoints. Session kit takes the diff --git a/site/PRODUCT.md b/site/PRODUCT.md index c3b909a..58e52b0 100644 --- a/site/PRODUCT.md +++ b/site/PRODUCT.md @@ -57,8 +57,8 @@ those same checked examples, so the code shown is code that compiles. `/docs/…`; older lines are snapshots at `/docs//…`, switched with a version dropdown. The live site shows the release on npm's `latest` tag (Cloudflare's production branch `site`); `main` deploys as a preview. -- The package is pre-1.0 and in release candidates: the 0.1 API is frozen, - and later 0.1 releases only add to it. +- The package is at 0.1, its first stable line: an update within 0.1.x + doesn't break code written for 0.1.0 (Compatibility, "Versioning"). ## Capabilities and Constraints diff --git a/site/content/docs/(latest)/installation.mdx b/site/content/docs/(latest)/installation.mdx index 64d09b7..c92d11c 100644 --- a/site/content/docs/(latest)/installation.mdx +++ b/site/content/docs/(latest)/installation.mdx @@ -13,11 +13,12 @@ To install Session kit, run the following command: npm install @monarcode/session-kit ``` -Release candidates are published to the `latest` distribution tag. The API -is frozen for 0.1: later 0.1 releases only add to it. Pin an exact version, -and read the -[release notes](https://github.com/monarcode/session-kit/blob/main/CHANGELOG.md) -before upgrading. +An update within 0.1.x doesn't break code written for 0.1.0, and keeps +restoring the sessions your users saved. Breaking changes wait for 0.2.0, +with notes in the [changelog](https://github.com/monarcode/session-kit/blob/main/CHANGELOG.md). +[Versioning](/docs/reference/compatibility#versioning) lists what an update +can change. Prereleases of the next version are published to npm's `next` +tag. Session kit checks each user against a schema from any [Standard Schema](https://standardschema.dev) library. The examples use Zod. diff --git a/site/content/docs/(latest)/reference/compatibility.mdx b/site/content/docs/(latest)/reference/compatibility.mdx index fc43e7f..784d8e4 100644 --- a/site/content/docs/(latest)/reference/compatibility.mdx +++ b/site/content/docs/(latest)/reference/compatibility.mdx @@ -1,11 +1,52 @@ --- title: Compatibility -description: The peer dependency versions, runtimes and TypeScript versions Session kit supports, and which of them CI tests. +description: What a 0.1.x update can change, and the peer dependencies, runtimes and TypeScript versions Session kit supports and CI tests. --- -Before you upgrade React, a router or a framework, check here that Session kit -supports the new version. This page also lists the runtimes Session kit is -built for, and which of them CI tests. +This page says what a Session kit update can change, and what Session kit +supports. Before you upgrade React, a router or a framework, check here that +Session kit supports the new version. The page also lists the runtimes +Session kit is built for, and which of them CI tests. + +## Versioning + +Session kit uses semantic versioning, with the rule most 0.x packages follow: +while it's at 0.x, the second number marks a breaking change. So an update +within 0.1.x doesn't break code written for 0.1.0, apart from the exception +below. A breaking change waits for 0.2.0, and the +[changelog](https://github.com/monarcode/session-kit/blob/main/CHANGELOG.md) says +what to change in your code. + +Through 0.1.x, these stay as they are: + +- **The API.** What each entry point exports, its types and options, the + `AuthErrorCode`s, and the behaviour these docs describe. +- **Saved sessions.** The format of the session a client saves, and of the + server's session cookie. An update restores the sessions your users saved + with an earlier 0.1.x, so it doesn't sign anyone out. +- **The session route.** What a `createMirrorAuth` client and your server's + session route send each other. A tab still running your previous deploy + keeps working with the new one. +- **What Session kit supports.** The oldest version in each peer range, + TypeScript 5.4 and later, and the runtimes on this page. Dropping one is a + breaking change. A new major version of a peer, such as Expo SDK 59, can be + added in a 0.1.x update. + +An update can add exports, options and methods, and an `AuthErrorCode` for +something new, so give a `switch` over `error.code` a `default` branch. It +can also fix a bug, even when your code relied on the old behaviour, if that +behaviour contradicted the docs. The changelog lists each fix under +**Fixed**. + +Some things aren't part of the API, so any update can change them: the +wording of error messages, the `message` and `data` of `debug` events, and +how a type displays in your editor. + +One exception comes from Effect, which marks its HTTP modules unstable. +`sessionBearer`, from `/effetch`, is an effetch plugin built on them. When an +Effect 4.x release changes them, effetch follows in a 0.1.x update, and so +does Session kit. That can change the types that come from those modules, or +raise the oldest `effect` that `/effetch` supports. The changelog says when. ## Peer dependencies diff --git a/site/src/routes/llms[.]txt.ts b/site/src/routes/llms[.]txt.ts index 71da255..0094a13 100644 --- a/site/src/routes/llms[.]txt.ts +++ b/site/src/routes/llms[.]txt.ts @@ -14,7 +14,7 @@ export const Route = createFileRoute("/llms.txt")({ "", "> Schema-driven auth state and sessions for React. It stores the tokens your backend issues and manages the session around them: restoring, refreshing, expiring, locking and syncing tabs. It never signs users in.", "", - `Each link is a page as Markdown, in the order the docs read. [llms-full.txt](${SITE_URL}/llms-full.txt) has every page in one file. They cover the newest release of \`@monarcode/session-kit\`.`, + `Each link is a page as Markdown, in the order the docs read. [llms-full.txt](${SITE_URL}/llms-full.txt) has every page in one file. They cover the release of \`@monarcode/session-kit\` these docs are for: on the live site, the one on npm's \`latest\` tag.`, "", ...(folder.index ? [docsLlms.indexNode(folder.index)] : []), ...folder.children.map((node) => docsLlms.indexNode(node)), From 2ceacd3d083181472f41d0dcaf9188e3a0efb5e7 Mon Sep 17 00:00:00 2001 From: monarcode Date: Sat, 28 Nov 2026 21:23:50 +0100 Subject: [PATCH 5/7] fix(release): refuse a prerelease older than one already out A prerelease such as 0.1.1-rc.0 after 0.2.0-rc.1 would move npm's next tag back to the older line. The registry check now refuses it, as it refuses a release older than a stable one. --- RELEASING.md | 6 ++++-- scripts/prepare-release.mjs | 11 +++++++++-- tests/release.test.ts | 3 ++- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/RELEASING.md b/RELEASING.md index 601b380..d2c0d4a 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -66,8 +66,10 @@ Only a release to `latest` moves the docs site, so the live docs match what The workflow refuses a version older than a released stable one, such as `0.1.5` after `0.2.0`, or `0.1.0-rc.4` after `0.1.0`: it would take -`latest` and move the docs site back to that line. Releasing an older line -needs a dist-tag of its own, which isn't built yet. +`latest` and move the docs site back to that line. It also refuses a +prerelease older than another one, such as `0.1.1-rc.0` after +`0.2.0-rc.1`, which would move `next` back. Releasing an older line needs a +dist-tag of its own, which isn't built yet. The workflow rejects a different branch, invalid or mismatched versions, missing release notes, an existing npm version, and an existing Git tag. The published diff --git a/scripts/prepare-release.mjs b/scripts/prepare-release.mjs index c4d5204..40068af 100644 --- a/scripts/prepare-release.mjs +++ b/scripts/prepare-release.mjs @@ -66,8 +66,15 @@ function isAfter(a, b) { export function chooseDistTag(version, published) { const stables = published.filter((existing) => stable.test(existing)); // A release older than a stable one would take `latest` and move the docs - // back to its line. That needs a dist-tag of its own, not built yet. - const newer = stables.find((existing) => !isAfter(version, existing)); + // back to its line, and a prerelease older than another one would move + // `next` back. That needs a dist-tag of its own, not built yet. + const newer = stable.test(version) + ? stables.find((existing) => !isAfter(version, existing)) + : published.find((existing) => + stable.test(existing) + ? !isAfter(version, existing) + : isAfter(existing, version), + ); if (newer) throw new Error( `Version ${version} isn't newer than ${newer}, which is released. The workflow can't release an older line yet.`, diff --git a/tests/release.test.ts b/tests/release.test.ts index f362155..f0377e0 100644 --- a/tests/release.test.ts +++ b/tests/release.test.ts @@ -133,11 +133,12 @@ test("a stable release goes to latest, and a prerelease to next once a stable on } }); -test("a release older than a stable one is refused", () => { +test("a release older than one already out is refused", () => { for (const [version, published] of [ ["0.1.5", ["0.1.0", "0.2.0"]], ["0.1.0-rc.4", ["0.1.0-rc.3", "0.1.0"]], ["0.2.0-rc.0", ["0.1.0", "0.2.0"]], + ["0.1.1-rc.0", ["0.1.0", "0.2.0-rc.1"]], ] as const) { assert.throws(() => chooseDistTag(version, published), /older line/); } From 7e18cea07f5deaa9b841a95f6f6fdfdeed940cfe Mon Sep 17 00:00:00 2001 From: monarcode Date: Sat, 28 Nov 2026 21:24:08 +0100 Subject: [PATCH 6/7] test: compare the published API with a committed snapshot tests/api.test.ts compares the published declarations, without comments, with tests/public-api.snapshot: the subpaths, what they export, and every declaration and import their types reach. A JSDoc edit or an internal change leaves it alone; a change to the API fails it until `pnpm run api:update` records it, so within 0.1.x the diff shows that a change only adds. CI's oldest-peers job skips it, since some declarations are inferred from a peer's types. --- .github/workflows/ci.yml | 4 + AGENTS.md | 9 + CONTRIBUTING.md | 5 + package.json | 1 + scripts/api-snapshot.mjs | 325 ++++++++++++++ tests/api.test.ts | 49 +++ tests/public-api.snapshot | 886 ++++++++++++++++++++++++++++++++++++++ 7 files changed, 1279 insertions(+) create mode 100644 scripts/api-snapshot.mjs create mode 100644 tests/api.test.ts create mode 100644 tests/public-api.snapshot diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9096eb1..af36dca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -83,7 +83,11 @@ jobs: expo-secure-store@14.2.0 react-native@0.79.0 effect@4.1.0 \ @monarcode/effetch@0.1.0 + # The API snapshot holds for the lockfile's peers, whose types some + # declarations are inferred from. - name: Build and test + env: + SESSION_KIT_API_SNAPSHOT: "off" run: pnpm run build && pnpm test && pnpm run test:types examples: diff --git a/AGENTS.md b/AGENTS.md index d29f20f..7bd297d 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -166,6 +166,15 @@ developers, not for us. Every comment ships: keep it short, plain and true. NodeNext and Bundler resolution. Use `// @ts-expect-error` with a reason. - Type tests also run with `exactOptionalPropertyTypes` off, as most apps have it. +- `tests/api.test.ts` compares the published declarations, without + comments, with `tests/public-api.snapshot`: the subpaths, what they + export, and every declaration and import their types reach. A JSDoc edit + leaves it alone, and so does a change to internal declarations. When the + API changes on purpose, run `pnpm run api:update` and check its diff: in + 0.1.x it may only add (rule 9). A public declaration that moves to another + file shows as removed and added. CI skips it on the oldest peers + (`SESSION_KIT_API_SNAPSHOT=off`), since some declarations are inferred + from a peer's types. - The site's pages live in `site/content/docs/(latest)/`. A `ts` or `tsx` block with `title="path"` is an example, and each page's examples are type-checked as one small app by `scripts/check-docs.mjs`, together with diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d3633b5..7f7a11b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -36,6 +36,11 @@ example: storage that settles every operation late, removals last, to catch ordering bugs. `pnpm run build:examples` builds the package and every example app. +The tests also compare the published API with `tests/public-api.snapshot`, +so a change to an export's types fails them. When the change is intended, +run `pnpm run api:update`, and check in its diff that it only adds to the +API: within 0.1.x, nothing may break code written for 0.1.0. + Tests are TypeScript files that Node runs directly. Behavior tests are split by area and share the browser mocks in `tests/helpers.ts`. React tests mount real React DOM, TanStack Router, and React Router in jsdom, and server tests diff --git a/package.json b/package.json index 3956313..09f94c9 100644 --- a/package.json +++ b/package.json @@ -114,6 +114,7 @@ "test:types": "tsc -p tests/tsconfig.tests.json && tsc -p tests/tsconfig.json && tsc -p tests/tsconfig.bundler.json && tsc -p tests/tsconfig.json --exactOptionalPropertyTypes false && tsc -p tests/tsconfig.mirror.json && tsc -p tests/tsconfig.mirror.bundler.json && tsc -p tests/tsconfig.mirror.json --exactOptionalPropertyTypes false && tsc -p tests/tsconfig.unregistered.json && tsc -p tests/tsconfig.unregistered.bundler.json && tsc -p tests/tsconfig.unregistered.json --exactOptionalPropertyTypes false && node scripts/check-middleware-types.mjs && pnpm run test:docs", "test:docs": "node scripts/check-docs.mjs", "docs:reference": "node scripts/reference-docs.mjs && oxfmt --write \"site/content/docs/(latest)/reference\"", + "api:update": "pnpm run build && node scripts/api-snapshot.mjs", "check": "pnpm run lint && pnpm run format:check && pnpm run build && pnpm test && pnpm run test:types", "prepack": "pnpm run check" }, diff --git a/scripts/api-snapshot.mjs b/scripts/api-snapshot.mjs new file mode 100644 index 0000000..368d20b --- /dev/null +++ b/scripts/api-snapshot.mjs @@ -0,0 +1,325 @@ +// The public API as the package publishes it: the subpaths, what each one +// exports, and every declaration their types reach, with the imports those +// declarations use, printed without comments, so a JSDoc edit leaves it +// alone. Internal declarations that share a file with public ones are left +// out, so changing them doesn't change it. `tests/api.test.ts` compares it +// with `tests/public-api.snapshot`, so a change to the API fails the tests +// until `pnpm run api:update` records it, and the diff shows what changed. +// +// It reads the forms tsc emits. A declaration form it doesn't follow throws, +// so the snapshot can't quietly miss part of the API. +import { readFileSync, writeFileSync } from "node:fs"; +import { dirname, join, relative, resolve, sep } from "node:path"; +import { fileURLToPath, pathToFileURL } from "node:url"; + +import ts from "typescript"; + +const root = fileURLToPath(new URL("..", import.meta.url)); + +export const SNAPSHOT = join(root, "tests/public-api.snapshot"); + +const printer = ts.createPrinter({ removeComments: true }); + +const posix = (file) => relative(root, file).split(sep).join("/"); + +/** Each subpath and its declaration file, from `package.json`'s `exports`. */ +function entryDeclarations() { + const { exports } = JSON.parse( + readFileSync(join(root, "package.json"), "utf8"), + ); + return Object.entries(exports).flatMap(([subpath, target]) => + typeof target === "object" && target.types + ? [{ subpath, file: join(root, target.types) }] + : [], + ); +} + +/** The declaration file a relative specifier names, or `undefined`. */ +function target(from, specifier) { + return specifier?.startsWith(".") + ? resolve(dirname(from), specifier.replace(/\.js$/, ".d.ts")) + : undefined; +} + +const isExported = (node) => + ts.canHaveModifiers(node) && + (ts.getModifiers(node) ?? []).some( + (modifier) => modifier.kind === ts.SyntaxKind.ExportKeyword, + ); + +/** The names a top-level statement declares. */ +function declaredNames(statement) { + if (ts.isVariableStatement(statement)) + return statement.declarationList.declarations.map((declaration) => + ts.isIdentifier(declaration.name) ? declaration.name.text : undefined, + ); + if ( + ts.isFunctionDeclaration(statement) || + ts.isClassDeclaration(statement) || + ts.isInterfaceDeclaration(statement) || + ts.isTypeAliasDeclaration(statement) || + ts.isEnumDeclaration(statement) || + ts.isModuleDeclaration(statement) + ) + return [statement.name?.text]; + return [undefined]; +} + +/** What a declaration file declares, imports and re-exports, by name. */ +function parse(file) { + const source = ts.createSourceFile( + file, + readFileSync(file, "utf8"), + ts.ScriptTarget.Latest, + false, + ts.ScriptKind.TS, + ); + const unsupported = (statement) => { + const line = source.getLineAndCharacterOfPosition( + statement.getStart(source), + ).line; + return new Error( + `${posix(file)}:${line + 1}: the API snapshot doesn't follow a ${ts.SyntaxKind[statement.kind]} here. Teach scripts/api-snapshot.mjs this form, so the snapshot covers it.`, + ); + }; + const declarations = new Map(); + const exported = new Map(); + const imports = new Map(); + const reexports = []; + const augmentations = []; + for (const statement of source.statements) { + if (ts.isImportDeclaration(statement)) { + const clause = statement.importClause; + // A bare `import "…"` can change types, and isn't followed. + if (!clause) throw unsupported(statement); + const from = target(file, statement.moduleSpecifier.text); + if (!from) continue; + if (clause.name) + imports.set(clause.name.text, { from, name: "default" }); + const bindings = clause.namedBindings; + if (bindings && ts.isNamespaceImport(bindings)) + imports.set(bindings.name.text, { from, name: "*" }); + else if (bindings) + for (const element of bindings.elements) + imports.set(element.name.text, { + from, + name: (element.propertyName ?? element.name).text, + }); + } else if (ts.isExportDeclaration(statement)) { + const from = target(file, statement.moduleSpecifier?.text); + const external = Boolean(statement.moduleSpecifier && !from); + const clause = statement.exportClause; + if (!clause) reexports.push({ statement, from, external }); + else if (ts.isNamespaceExport(clause)) + reexports.push({ + statement, + from, + external, + names: new Map([[clause.name.text, "*"]]), + }); + else { + const names = new Map( + clause.elements.map((element) => [ + element.name.text, + (element.propertyName ?? element.name).text, + ]), + ); + if (statement.moduleSpecifier) + reexports.push({ statement, from, external, names }); + else for (const [name, local] of names) exported.set(name, local); + } + } else if ( + ts.isModuleDeclaration(statement) && + (!ts.isIdentifier(statement.name) || + statement.flags & ts.NodeFlags.GlobalAugmentation) + ) { + // `declare module "…"` and `declare global` change the consumer's + // types wherever they are. + augmentations.push(statement); + } else { + const names = declaredNames(statement); + if (names.includes(undefined)) throw unsupported(statement); + for (const name of names) { + declarations.set(name, [ + ...(declarations.get(name) ?? []), + statement, + ]); + if (isExported(statement)) exported.set(name, name); + } + } + } + return { source, declarations, exported, imports, reexports, augmentations }; +} + +/** Builds the snapshot's text from `dist`, which must be built first. */ +export function apiSnapshot() { + const files = new Map(); + const load = (file) => { + if (!files.has(file)) files.set(file, parse(file)); + return files.get(file); + }; + const kept = new Map(); + const queue = []; + const keep = (file, statement) => { + const statements = kept.get(file) ?? new Set(); + kept.set(file, statements); + if (statements.has(statement)) return; + statements.add(statement); + queue.push({ file, statement }); + }; + + const keepLocal = (file, name) => { + const parsed = load(file); + for (const statement of parsed.declarations.get(name) ?? []) + keep(file, statement); + const imported = parsed.imports.get(name); + if (imported?.name === "*") keepAll(imported.from); + else if (imported) keepExport(imported.from, imported.name); + }; + const keepExport = (file, name) => { + const parsed = load(file); + const local = parsed.exported.get(name); + if (local) return keepLocal(file, local); + for (const { statement, from, external, names } of parsed.reexports) { + const original = names?.get(name); + if (!original && (names || external || !exportedNames(from).has(name))) + continue; + keep(file, statement); + if (external) return; + if (original === "*") return keepAll(from); + return keepExport(from, original ?? name); + } + // An `export *` from a package can hold the name. + if ( + parsed.reexports.some( + (reexport) => reexport.external && !reexport.names, + ) + ) + return; + throw new Error( + `${posix(file)} doesn't export ${name}, which another declaration imports.`, + ); + }; + const names = new Map(); + const exportedNames = (file) => { + if (names.has(file)) return names.get(file); + const parsed = load(file); + const found = new Set(parsed.exported.keys()); + names.set(file, found); + for (const { from, external, names: named } of parsed.reexports) + for (const name of named?.keys() ?? + (external ? [] : exportedNames(from))) + found.add(name); + return found; + }; + const keepAll = (file) => { + for (const name of exportedNames(file)) keepExport(file, name); + }; + + const entries = entryDeclarations(); + for (const { file } of entries) { + const parsed = load(file); + for (const statement of parsed.source.statements) + if (!ts.isImportDeclaration(statement)) keep(file, statement); + keepAll(file); + } + + /** Every name a statement mentions. */ + const mentions = (statement) => { + const found = new Set(); + const visit = (node) => { + if (ts.isIdentifier(node)) found.add(node.text); + ts.forEachChild(node, visit); + }; + visit(statement); + return found; + }; + + /** Keeps what each `import("./…")` type in a statement names. */ + const keepImportTypes = (file, statement) => { + const visit = (node) => { + if (ts.isImportTypeNode(node) && ts.isLiteralTypeNode(node.argument)) { + const from = target(file, node.argument.literal.text); + let name = node.qualifier; + while (name && ts.isQualifiedName(name)) name = name.left; + if (from && name) keepExport(from, name.text); + else if (from) keepAll(from); + } + ts.forEachChild(node, visit); + }; + visit(statement); + }; + + // Follow every name a kept declaration mentions. A property that shares + // a name with a declaration keeps that one too, which only adds. + while (queue.length > 0) { + const { file, statement } = queue.shift(); + for (const augmentation of load(file).augmentations) + keep(file, augmentation); + for (const name of mentions(statement)) keepLocal(file, name); + keepImportTypes(file, statement); + } + + /** A file's imports, narrowed to the names its kept statements use. */ + const usedImports = (file, statements) => { + const { source } = files.get(file); + const used = new Set( + [...statements].flatMap((statement) => [...mentions(statement)]), + ); + return source.statements.flatMap((statement) => { + if (!ts.isImportDeclaration(statement)) return []; + const clause = statement.importClause; + const bindings = clause.namedBindings; + const parts = []; + if (clause.name && used.has(clause.name.text)) + parts.push(clause.name.text); + if (bindings && ts.isNamespaceImport(bindings)) { + if (used.has(bindings.name.text)) + parts.push(`* as ${bindings.name.text}`); + } else if (bindings) { + const elements = bindings.elements + .filter((element) => used.has(element.name.text)) + .map((element) => + source.text.slice(element.getStart(source), element.end), + ); + if (elements.length > 0) parts.push(`{ ${elements.join(", ")} }`); + } + if (parts.length === 0) return []; + const type = + clause.phaseModifier === ts.SyntaxKind.TypeKeyword ? "type " : ""; + return [ + `import ${type}${parts.join(", ")} from "${statement.moduleSpecifier.text}";`, + ]; + }); + }; + + const subpaths = entries.map( + ({ subpath, file }) => `// "${subpath}": ${posix(file)}`, + ); + const sections = [...kept] + .map(([file, statements]) => { + const { source } = files.get(file); + const printed = source.statements + .filter((statement) => statements.has(statement)) + .map((statement) => + printer.printNode(ts.EmitHint.Unspecified, statement, source), + ); + return { + path: posix(file), + text: [...usedImports(file, statements), ...printed].join("\n"), + }; + }) + .sort((a, b) => (a.path < b.path ? -1 : 1)) + .map(({ path, text }) => `// ${path}\n${text}\n`); + return [`${subpaths.join("\n")}\n`, ...sections].join("\n"); +} + +// Runs only as a script (`pnpm run api:update`), so the test can import the +// functions above. +if ( + process.argv[1] && + import.meta.url === pathToFileURL(resolve(process.argv[1])).href +) { + writeFileSync(SNAPSHOT, apiSnapshot()); + console.log(`Wrote ${posix(SNAPSHOT)}`); +} diff --git a/tests/api.test.ts b/tests/api.test.ts new file mode 100644 index 0000000..12d224f --- /dev/null +++ b/tests/api.test.ts @@ -0,0 +1,49 @@ +import assert from "node:assert/strict"; +import { readFileSync } from "node:fs"; +import { test } from "node:test"; + +import { apiSnapshot, SNAPSHOT } from "../scripts/api-snapshot.mjs"; + +/** The lines of `from` that `to` doesn't have, each marked with `sign`. */ +function missingLines(from: string[], to: string[], sign: string) { + const left = new Map(); + for (const line of to) left.set(line, (left.get(line) ?? 0) + 1); + return from.flatMap((line) => { + const count = left.get(line) ?? 0; + left.set(line, count - 1); + return count > 0 ? [] : [`${sign} ${line}`]; + }); +} + +test( + "the published declarations match the API snapshot", + { + // Some declarations are types tsc infers from a peer's, such as + // Effect's service classes, so the snapshot holds for the lockfile's + // peers. CI's job on the oldest supported peers turns it off. + skip: + process.env.SESSION_KIT_API_SNAPSHOT === "off" && + "SESSION_KIT_API_SNAPSHOT is off", + }, + () => { + const actual = apiSnapshot(); + const expected = readFileSync(SNAPSHOT, "utf8").replaceAll("\r\n", "\n"); + if (actual === expected) return; + const [now, before] = [actual, expected].map((text) => text.split("\n")); + const changed = [ + ...missingLines(before!, now!, "-"), + ...missingLines(now!, before!, "+"), + ]; + assert.fail( + [ + "The published API changed:", + "", + ...(changed.length > 0 + ? changed + : ["(Only the order of the declarations changed.)"]), + "", + "If that's intended, run `pnpm run api:update` and check the diff of tests/public-api.snapshot: within 0.1.x, it may only add to the API, or the update breaks the versioning promise. A declaration that moved to another file shows as removed and added.", + ].join("\n"), + ); + }, +); diff --git a/tests/public-api.snapshot b/tests/public-api.snapshot new file mode 100644 index 0000000..485a4ba --- /dev/null +++ b/tests/public-api.snapshot @@ -0,0 +1,886 @@ +// ".": dist/index.d.ts +// "./react": dist/react/index.d.ts +// "./tanstack-router": dist/tanstack-router/index.d.ts +// "./react-router": dist/react-router/index.d.ts +// "./react-router/server": dist/react-router/server.d.ts +// "./http": dist/http/index.d.ts +// "./server": dist/server/index.d.ts +// "./tanstack-start": dist/tanstack-start/index.d.ts +// "./tanstack-start/server": dist/tanstack-start/server.d.ts +// "./next": dist/next/index.d.ts +// "./expo": dist/expo/index.d.ts +// "./effect": dist/effect/index.d.ts +// "./effetch": dist/effetch/index.d.ts + +// dist/core/client.d.ts +import { type UserSource } from "./sources.js"; +import type { AuthClient, AuthOptions, User, UserInput } from "./types.js"; +export declare function createAuth(options: AuthOptions): AuthClient, UserInput>; + +// dist/core/debug.d.ts +import { AuthError } from "./errors.js"; +export type AuthDebugType = "state" | "restore" | "storage" | "refresh" | "timer" | "sync" | "sign-in" | "sign-out" | "mount" | "gate" | "deep-link" | "foreground" | "lock"; +export type AuthDebugEvent = Readonly<{ + name: string; + type: AuthDebugType; + message: string; + data?: Readonly> | undefined; + error?: AuthError | undefined; +}>; +export type AuthDebugOptions = { + log?: ((event: AuthDebugEvent) => void) | undefined; + sensitive?: boolean | undefined; +}; +export type AuthDebug = boolean | ((event: AuthDebugEvent) => void) | AuthDebugOptions; + +// dist/core/errors.d.ts +import type { StandardSchemaV1 } from "@standard-schema/spec"; +export type AuthErrorCode = "USER_VALIDATION_FAILED" | "INVALID_SESSION" | "PERSISTENCE_FAILED" | "REFRESH_FAILED" | "REVOKE_FAILED" | "SESSION_CHANGED" | "UNAUTHENTICATED" | "LOCKED" | "UNLOCK_FAILED" | "INVALID_OPTIONS"; +export type AuthErrorOptions = ErrorOptions & { + issues?: readonly StandardSchemaV1.Issue[] | undefined; +}; +export declare class AuthError extends Error { + readonly code: AuthErrorCode; + readonly issues?: readonly StandardSchemaV1.Issue[] | undefined; + constructor(code: AuthErrorCode, message: string, options?: AuthErrorOptions); +} + +// dist/core/guard.d.ts +import type { AuthClient } from "./types.js"; +export type GuardClient = Pick, "getSession" | "isCurrent">; + +// dist/core/infer.d.ts +export type SessionOf Promise; +}> = NonNullable>>; +export type UserOf Promise; +}> = SessionOf extends { + readonly user: infer U; +} ? U : never; + +// dist/core/mirror.d.ts +import { type AuthDebug } from "./debug.js"; +import type { AuthState, Credentials, Session } from "./types.js"; +export type ClientCredentials = Readonly<{ + sessionId: string; + accessToken: string; + expiresIn?: number | undefined; +}>; +export type MirrorCredentials = { + get: () => Promise; + renew: (rejected: { + sessionId: string; + accessToken: string; + }) => Promise; +}; +export type MirrorAuthOptions = MirrorAuthBaseOptions & (EndpointOption | ServerFunctions); +type EndpointOption = { + endpoint: string; +}; +type ServerFunctions = { + revalidate: () => Promise | null>; + signOut: () => Promise; +}; +type MirrorAuthBaseOptions = { + name: string; + session: Session | null; + endpoint?: string | undefined; + revalidate?: (() => Promise | null>) | undefined; + signOut?: (() => Promise) | undefined; + signIn?: ((input: In) => Promise>) | undefined; + credentials?: MirrorCredentials | undefined; + debug?: AuthDebug | undefined; +}; +type MirrorAuthBase = { + state: { + get: () => AuthState; + subscribe: (listener: (state: AuthState) => void) => { + unsubscribe: () => void; + }; + }; + getSession: () => Promise | null>; + retry: () => Promise | null>; + refresh: () => Promise | null>; + isCurrent: (session: { + sessionId: string; + }) => boolean; + signOut: () => Promise; + adopt: (session: Session | null) => void; + mount: () => () => void; + credentials: { + get: () => Promise; + renew: (credentials: Credentials) => Promise; + reject: (credentials: Credentials) => Promise; + }; +}; +export type MirrorAuth = MirrorAuthBase & ([ + In +] extends [ + never +] ? unknown : { + signIn: (input: In) => Promise>; +}); +export declare function createMirrorAuth(options: MirrorAuthBaseOptions & EndpointOption): MirrorAuth; +export declare function createMirrorAuth(options: MirrorAuthBaseOptions & ServerFunctions): MirrorAuth; +export declare function createMirrorAuth(options: MirrorAuthOptions): MirrorAuth; + +// dist/core/register.d.ts +import type { AuthClient } from "./types.js"; +export interface Register { +} +type RegisterableAuth = Pick, "state" | "mount" | "getSession" | "signOut" | "isCurrent" | "credentials">; +export type RegisteredAuth = Register extends { + readonly auth: infer Client; +} ? Client extends RegisterableAuth ? Client : never : AuthClient; + +// dist/core/return-to.d.ts +export type SafeReturnToOptions = { + loginPath?: string | readonly string[] | undefined; +}; +export declare function safeReturnTo(value: unknown, options?: SafeReturnToOptions): string; +export declare function loginHref(loginPath: string, returnTo: string): string; + +// dist/core/signed-in.d.ts +import type { AuthState } from "./types.js"; +export declare function isSignedIn(state: AuthState): state is Extract, { + status: "authenticated" | "refreshing"; +}>; + +// dist/core/sources.d.ts +import type { StandardSchemaV1 } from "@standard-schema/spec"; +export type AccessTokenUser = { + readonly kind: "accessToken"; + readonly claims: StandardSchemaV1; + readonly map: (claims: C) => U; + readonly decode: (accessToken: string) => unknown; +}; +export type UserSource = StandardSchemaV1 | AccessTokenUser; +export type FromAccessTokenOptions = { + decode?: ((accessToken: string) => unknown) | undefined; +}; +export declare function fromAccessToken>(claims: S, map?: (claims: StandardSchemaV1.InferOutput) => U, options?: FromAccessTokenOptions): AccessTokenUser, U>; + +// dist/core/storage.d.ts +type MaybePromise = T | Promise; +export type AuthStorage = { + get: (key: string) => MaybePromise; + set: (key: string, value: string, meta: { + expiresAt: number; + }) => MaybePromise; + remove: (key: string) => MaybePromise; + subscribe?: ((key: string, onChange: () => void) => () => void) | undefined; + lock?: ((name: string, signal: AbortSignal, work: () => Promise) => Promise) | undefined; + debug?: ((key: string, report: (message: string, data?: Record) => void, sensitive: boolean) => void) | undefined; +}; +export type WebStorageOptions = { + area?: "local" | "session" | undefined; +}; +export declare function webStorage(options?: WebStorageOptions): AuthStorage; +export declare function memoryStorage(): AuthStorage; + +// dist/core/types.d.ts +import type { StandardSchemaV1 } from "@standard-schema/spec"; +import type { AuthDebug } from "./debug.js"; +import type { AuthError } from "./errors.js"; +import type { AccessTokenUser, UserSource } from "./sources.js"; +import type { AuthStorage } from "./storage.js"; +export type User = Src extends AccessTokenUser ? U : Src extends StandardSchemaV1 ? StandardSchemaV1.InferOutput : never; +export type UserInput = Src extends AccessTokenUser ? never : Src extends StandardSchemaV1 ? StandardSchemaV1.InferInput : never; +export type Tokens = { + accessToken: string; + refreshToken?: string | undefined; + expiresIn?: number | undefined; + expiresAt?: number | undefined; +}; +export type SignInInput = [ + I +] extends [ + never +] ? Tokens & { + user?: undefined; +} : Tokens & { + user: I; +}; +export type RefreshResult = (Tokens & ([ + I +] extends [ + never +] ? { + user?: undefined; +} : { + user?: I | undefined; +})) | null; +export type RefreshFn = (context: { + refreshToken: string; + signal: AbortSignal; +}) => Promise>; +export type RevokeFn = (context: { + accessToken: string; + refreshToken?: string | undefined; + signal: AbortSignal; +}) => Promise; +export type Session = Readonly<{ + sessionId: string; + user: U; +}>; +export type Credentials = Readonly<{ + sessionId: string; + accessToken: string; + expiresAt?: number | undefined; +}>; +export type AuthStatus = "initializing" | "authenticated" | "refreshing" | "locked" | "unauthenticated" | "unavailable"; +type StateFields = { + readonly version: number; + readonly error: AuthError | null; +}; +type SignedInState = StateFields & { + readonly status: Status; + readonly user: U; + readonly sessionId: string; +}; +type SignedOutState = StateFields & { + readonly status: Status; + readonly user: null; + readonly sessionId: null; +}; +export type AuthState = SignedInState | SignedInState | SignedInState | SignedOutState<"initializing"> | SignedOutState<"unauthenticated"> | (StateFields & { + readonly status: "unavailable"; + readonly user: null; + readonly sessionId: string | null; +}); +type AuthClientBase = { + state: { + get: () => AuthState; + subscribe: (listener: (state: AuthState) => void) => { + unsubscribe: () => void; + }; + }; + signIn: (input: SignInInput) => Promise; + signOut: () => Promise; + getSession: () => Promise | null>; + retry: () => Promise | null>; + refresh: () => Promise | null>; + isCurrent: (session: { + sessionId: string; + }) => boolean; + lock: () => Promise; + unlock: () => Promise | null>; + mount: () => () => void; + credentials: { + get: () => Promise; + renew: (credentials: Credentials) => Promise; + reject: (credentials: Credentials) => Promise; + }; +}; +export type AuthClient = AuthClientBase & ([ + I +] extends [ + never +] ? unknown : { + updateUser: (input: I | (() => Promise)) => Promise; +}); +export type AuthLocking = { + seal: (payload: string) => string | Promise; + open: (sealed: string) => string | Promise; +}; +export type AuthOptions = { + name: string; + user: Src; + storage: AuthStorage; + refresh?: RefreshFn>> | undefined; + revoke?: RevokeFn | undefined; + maxAge?: number | undefined; + debug?: AuthDebug | undefined; + locking?: (Src extends AccessTokenUser ? never : true | AuthLocking) | undefined; +}; + +// dist/effect/auth.d.ts +import * as Context from "effect/Context"; +import * as Effect from "effect/Effect"; +import * as Layer from "effect/Layer"; +import * as Option from "effect/Option"; +import * as Stream from "effect/Stream"; +import type { SessionOf, UserOf } from "../core/infer.js"; +import type { Register, RegisteredAuth } from "../core/register.js"; +import type { Credentials } from "../core/types.js"; +import type { RequestAuth } from "../server/auth.js"; +import { type AuthFailure, fromAuthError } from "./failure.js"; +export type AuthServiceClient = { + state: { + get: () => unknown; + subscribe: (listener: (state: unknown) => void) => { + unsubscribe: () => void; + }; + }; + signIn?: ((input: never) => Promise) | undefined; + signOut: () => Promise; + getSession: () => Promise; + isCurrent: (session: { + sessionId: string; + }) => boolean; + credentials: { + get: () => Promise; + renew: (credentials: Credentials) => Promise; + reject: (credentials: Credentials) => Promise; + }; +}; +export type AuthLayerClient = Register extends { + readonly auth: object; +} ? RegisteredAuth | RequestAuth, any> | RequestAuth, never> : AuthServiceClient; +export type RegisteredSession = SessionOf; +export type RegisteredState = ReturnType; +export type RegisteredSignIn = RegisteredAuth extends { + signIn: (input: infer Input) => Promise; +} ? Input : never; +export type RegisteredUserInput = RegisteredAuth extends { + updateUser: (input: infer Input) => Promise; +} ? Exclude Promise> : never; +declare const Auth_base: Context.ServiceClass>; +export declare class Auth extends Auth_base { + static readonly layer: (client: AuthLayerClient) => Layer.Layer; + static readonly session: Effect.Effect; + static readonly sessionOption: Effect.Effect, AuthFailure, Auth>; + static readonly credentials: Effect.Effect; + static readonly renew: (credentials: Credentials) => Effect.Effect; + static readonly signIn: (input: RegisteredSignIn) => Effect.Effect; + static readonly signOut: Effect.Effect; + static readonly updateUser: (input: RegisteredUserInput | Effect.Effect) => Effect.Effect; + static readonly changes: Stream.Stream; + static readonly fromAuthError: typeof fromAuthError; +} + +// dist/effect/failure.d.ts +import * as Effect from "effect/Effect"; +import { AuthError, type AuthErrorCode } from "../core/errors.js"; +export type AuthFailureCode = Exclude; +declare const AuthFailure_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ + readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; +}>) => import("effect/Cause").YieldableError & { + readonly _tag: "AuthFailure"; +} & Readonly; +export declare class AuthFailure extends AuthFailure_base<{ + readonly code: AuthFailureCode; + readonly message: string; + readonly cause: AuthError; +}> { +} +export declare function fromAuthError(error: unknown): Effect.Effect; + +// dist/effect/index.d.ts +export { Auth } from "./auth.js"; +export { AuthFailure } from "./failure.js"; +export type { AuthLayerClient, AuthServiceClient, RegisteredSession, RegisteredSignIn, RegisteredState, RegisteredUserInput, } from "./auth.js"; +export type { AuthFailureCode } from "./failure.js"; + +// dist/effetch/index.d.ts +import { Fetch } from "@monarcode/effetch"; +import { Auth } from "../effect/auth.js"; +import { type AuthFailure } from "../effect/failure.js"; +export interface SessionBearerOptions { + baseUrl: string; + optional?: boolean | undefined; + signOutOnRepeated401?: boolean | undefined; +} +export type SessionBearerPlugin = Fetch.Plugin<"sessionBearer", AuthFailure, Auth, { + readonly optional: boolean; + readonly signOutOnRepeated401: boolean; +}>; +export declare function sessionBearer(options: SessionBearerOptions): SessionBearerPlugin; + +// dist/expo/deep-link.d.ts +import { type SafeReturnToOptions } from "../core/return-to.js"; +import type { AuthSource } from "../react/context.js"; +export type RememberDeepLinkOptions = SafeReturnToOptions; +export declare function rememberDeepLink(auth: AuthSource, url: string, options?: RememberDeepLinkOptions): void; +export type DeepLinkHandler = (event: { + path: string; + initial: boolean; +}) => string; +export declare function deepLinkHandler(auth: AuthSource, options?: RememberDeepLinkOptions): DeepLinkHandler; + +// dist/expo/gate.d.ts +import { type ReactElement, type ReactNode } from "react"; +import { type RetryableSource, type UnavailableProps } from "../react/context.js"; +export type SessionGateProps = { + children?: ReactNode | undefined; + unavailable?: ((props: UnavailableProps) => ReactNode) | undefined; + client?: RetryableSource | undefined; + ready?: boolean | undefined; +}; +export declare function SessionGate({ children, unavailable, client, ready, }: SessionGateProps): ReactElement; + +// dist/expo/index.d.ts +export { deepLinkHandler, rememberDeepLink } from "./deep-link.js"; +export { SessionGate } from "./gate.js"; +export { secureStorage } from "./secure-storage.js"; +export type { DeepLinkHandler, RememberDeepLinkOptions } from "./deep-link.js"; +export type { SessionGateProps, UnavailableProps } from "./gate.js"; +export type { SecureStorageOptions } from "./secure-storage.js"; + +// dist/expo/secure-storage.d.ts +import { type KeychainAccessibilityConstant } from "expo-secure-store"; +import type { AuthStorage } from "../core/storage.js"; +export type SecureStorageOptions = { + keychainAccessible?: KeychainAccessibilityConstant | undefined; + clearOnReinstall?: boolean | undefined; +}; +export declare function secureStorage(options?: SecureStorageOptions): AuthStorage; + +// dist/http/index.d.ts +import type { AuthClient } from "../core/types.js"; +export type AuthFetchClient = Pick, "credentials" | "isCurrent" | "state">; +export type AuthFetchOptions = { + baseUrl: string; + optional?: boolean | undefined; + signOutOnRepeated401?: boolean | undefined; +}; +export type AuthFetch = (input: string | URL | Request, init?: RequestInit) => Promise; +export declare function createAuthFetch(auth: AuthFetchClient, options: AuthFetchOptions): AuthFetch; + +// dist/index.d.ts +export { createAuth } from "./core/client.js"; +export { AuthError } from "./core/errors.js"; +export { createMirrorAuth } from "./core/mirror.js"; +export { loginHref, safeReturnTo } from "./core/return-to.js"; +export { isSignedIn } from "./core/signed-in.js"; +export { fromAccessToken } from "./core/sources.js"; +export { memoryStorage, webStorage } from "./core/storage.js"; +export type { AuthDebug, AuthDebugEvent, AuthDebugOptions, AuthDebugType, } from "./core/debug.js"; +export type { AuthErrorCode, AuthErrorOptions } from "./core/errors.js"; +export type { SessionOf, UserOf } from "./core/infer.js"; +export type { ClientCredentials, MirrorAuth, MirrorAuthOptions, MirrorCredentials, } from "./core/mirror.js"; +export type { Register, RegisteredAuth } from "./core/register.js"; +export type { SafeReturnToOptions } from "./core/return-to.js"; +export type { AccessTokenUser, FromAccessTokenOptions, UserSource, } from "./core/sources.js"; +export type { AuthStorage, WebStorageOptions } from "./core/storage.js"; +export type { AuthClient, AuthLocking, AuthOptions, AuthState, AuthStatus, Credentials, RefreshFn, RefreshResult, RevokeFn, Session, SignInInput, Tokens, User, UserInput, } from "./core/types.js"; + +// dist/next/index.d.ts +import type { Session, SignInInput } from "../core/types.js"; +import { type RequestAuth, type ServerAuth } from "../server/auth.js"; +import { type CookieJar, type CookieOptions } from "../server/cookies.js"; +export type NextCookies = { + get: (name: string) => { + value: string; + } | undefined; + set: (name: string, value: string, options: CookieOptions) => unknown; + delete: (options: { + name: string; + } & Omit) => unknown; +}; +export type ProxyRequest = { + cookies: Pick; +}; +export type ProxyResponse = { + cookies: Pick; +}; +export type NextJarOptions = { + writable?: boolean | undefined; +}; +export declare function nextJar(store: NextCookies, options?: NextJarOptions): CookieJar; +export declare function proxyJar(request: ProxyRequest, response: ProxyResponse): CookieJar; +export type NextSessionOptions = { + cookies: () => Promise; + redirect: (url: string) => never; + loginPath?: string | undefined; + within?: number | undefined; +}; +export type NextSession = { + [K in keyof NextSessionMembers as K extends "updateUser" ? [ + I + ] extends [ + never + ] ? never : K : K]: NextSessionMembers[K]; +}; +type NextSessionMembers = NextSessionBase & { + updateUser: (input: I | (() => Promise)) => Promise>; +}; +type NextSessionBase = { + get: () => Promise | null>; + require: (path: string) => Promise>; + redirectIfSignedIn: (redirectTo: unknown) => Promise; + readOnly: () => Promise>; + writable: () => Promise>; + signIn: (input: SignInInput) => Promise>; + signOut: () => Promise; + refresh: (request: ProxyRequest, response: R) => Promise; +}; +export declare function nextSession(serverAuth: ServerAuth, options: NextSessionOptions): NextSession; +export type NextSessionRoute = { + GET: (request: Request) => Promise; + POST: (request: Request) => Promise; +}; +export type NextSessionRouteOptions = { + cookies: () => Promise; +}; +export declare function sessionRoute(serverAuth: ServerAuth, options: NextSessionRouteOptions): NextSessionRoute; +export {}; + +// dist/react-router/guards.d.ts +import { type GuardClient } from "../core/guard.js"; +import type { Session } from "../core/types.js"; +export type RequireSessionOptions = RequireSessionLoaderOptions & { + request: Request; +}; +export type RequireSessionLoaderOptions = { + loginPath?: string | undefined; + basename?: string | undefined; +}; +export type RequireSessionLoader = (args: { + request: Request; +}) => Promise<{ + session: Session; +}>; +export declare function requireSession(auth: GuardClient, options: RequireSessionOptions): Promise<{ + session: Session; +}>; +export declare function requireSessionLoader(auth: GuardClient, options?: RequireSessionLoaderOptions): RequireSessionLoader; +export type RedirectIfSignedInOptions = RedirectIfSignedInLoaderOptions & { + redirectTo: unknown; +}; +export type RedirectIfSignedInLoaderOptions = { + loginPath?: string | readonly string[] | undefined; +}; +export type RedirectIfSignedInLoader = (args: { + request: Request; +}) => Promise; +export declare function redirectIfSignedIn(auth: GuardClient, options: RedirectIfSignedInOptions): Promise; +export declare function redirectIfSignedInLoader(auth: GuardClient, options?: RedirectIfSignedInLoaderOptions): RedirectIfSignedInLoader; + +// dist/react-router/index.d.ts +export { redirectIfSignedIn, redirectIfSignedInLoader, requireSession, requireSessionLoader, } from "./guards.js"; +export { SessionOutlet } from "./outlet.js"; +export { useAuthRevalidation } from "./revalidation.js"; +export type { RedirectIfSignedInLoader, RedirectIfSignedInLoaderOptions, RedirectIfSignedInOptions, RequireSessionLoader, RequireSessionLoaderOptions, RequireSessionOptions, } from "./guards.js"; +export type { SessionOutletProps } from "./outlet.js"; +export type { UnavailableProps } from "../react/context.js"; + +// dist/react-router/outlet.d.ts +import { type ReactElement, type ReactNode } from "react"; +import { type RetryableSource, type UnavailableProps } from "../react/context.js"; +export type SessionOutletProps = { + loginPath?: string | undefined; + pending?: ReactNode | undefined; + unavailable?: ((props: UnavailableProps) => ReactNode) | undefined; + client?: RetryableSource | undefined; +}; +export declare function SessionOutlet({ loginPath, pending, unavailable, client, }: SessionOutletProps): ReactElement; + +// dist/react-router/revalidation.d.ts +import { type AuthSource } from "../react/context.js"; +export declare function useAuthRevalidation(client?: AuthSource): void; + +// dist/react-router/server.d.ts +import { type SafeReturnToOptions } from "../core/return-to.js"; +import type { Session } from "../core/types.js"; +import { type RequestAuth, type ServerAuth, type SessionMiddlewareOptions } from "../server/auth.js"; +import type { CookieJar } from "../server/cookies.js"; +export type RouterContextLike = { + get: (key: never) => unknown; + set: (key: never, value: never) => unknown; +}; +export declare function cookieJarMiddleware({ request, context }: { + request: Request; + context: RouterContextLike; +}, next: () => Promise): Promise; +export declare function routerJar(context: RouterContextLike): CookieJar; +export declare function routerAuth(serverAuth: ServerAuth): (context: RouterContextLike) => RequestAuth; +export type RouterArgs = { + request: Request; + context: RouterContextLike; + url?: URL | undefined; +}; +export type RouterMiddleware = (args: RouterArgs, next: () => Promise) => Promise; +export declare function sessionMiddleware(serverAuth: ServerAuth, options?: SessionMiddlewareOptions): RouterMiddleware[]; +export type SessionGuardOptions = { + loginPath?: string | undefined; + basename?: string | undefined; +}; +export type SessionGuard = RouterMiddleware & { + readonly session: (context: RouterContextLike) => Session; +}; +export declare function requireSession(serverAuth: ServerAuth, options?: SessionGuardOptions): SessionGuard; +export type RouterLoader = (args: RouterArgs) => Promise; +export declare function redirectIfSignedIn(serverAuth: ServerAuth, options?: SafeReturnToOptions): RouterLoader; +export type RouterSessionRoute = { + loader: (args: RouterArgs) => Promise; + action: (args: RouterArgs) => Promise; +}; +export declare function sessionRoute(serverAuth: ServerAuth): RouterSessionRoute; + +// dist/react/context.d.ts +import { AuthError } from "../core/errors.js"; +import type { AuthClient } from "../core/types.js"; +export type AuthSource = Pick, "state" | "mount">; +export type StateOf = ReturnType; +export type RetryableSource = AuthSource & Pick, "retry">; +export type UnavailableProps = { + error: AuthError | null; + retry: () => void; +}; + +// dist/react/hooks.d.ts +import { type ReactElement, type ReactNode } from "react"; +import type { Register, RegisteredAuth } from "../core/register.js"; +import type { AuthClient } from "../core/types.js"; +import { type AuthSource, type StateOf } from "./context.js"; +export type AuthHooksOptions = { + useClient?: (() => Client) | undefined; +}; +export type AuthProviderProps = { + client: Client; + children?: ReactNode | undefined; +}; +export type AuthHooks = { + AuthProvider: (props: AuthProviderProps) => ReactElement; + useAuthClient: () => Client; + useAuth: { + (): StateOf; + (selector: (state: StateOf) => T): T; + }; +}; +export declare function createAuthHooks(options?: AuthHooksOptions): AuthHooks; +export type ProvidedAuth = Register extends { + readonly auth: unknown; +} ? RegisteredAuth : Pick, "state" | "mount" | "getSession" | "signOut" | "isCurrent" | "credentials">; +export declare function AuthProvider(props: AuthProviderProps): ReactElement; +export declare const useAuth: { + (): StateOf; + (selector: (state: StateOf) => T): T; +}; +export declare function useAuthClient(): ProvidedAuth; + +// dist/react/index.d.ts +export { AuthProvider, createAuthHooks, useAuth, useAuthClient, } from "./hooks.js"; +export { useMirrorAuth } from "./mirror.js"; +export type { AuthSource, StateOf } from "./context.js"; +export type { AuthHooks, AuthHooksOptions, AuthProviderProps, ProvidedAuth, } from "./hooks.js"; +export type { UseMirrorAuthOptions } from "./mirror.js"; + +// dist/react/mirror.d.ts +import type { MirrorAuth } from "../core/mirror.js"; +import type { Session } from "../core/types.js"; +export interface UseMirrorAuthOptions> { + create: (session: Session | null) => C; + session: Session | null; + onChange: () => unknown; +} +export declare function useMirrorAuth>(options: UseMirrorAuthOptions): C; + +// dist/server/auth.d.ts +import type { AuthDebug } from "../core/debug.js"; +import type { ClientCredentials } from "../core/mirror.js"; +import { type UserSource } from "../core/sources.js"; +import type { AuthClient, Credentials, RefreshFn, RevokeFn, Session, SignInInput, User, UserInput } from "../core/types.js"; +import { type CookieJar } from "./cookies.js"; +export type SessionCookieOptions = { + secure?: boolean | undefined; + sameSite?: "lax" | "strict" | "none" | undefined; + path?: string | undefined; + domain?: string | undefined; +}; +export type ServerAuthOptions = { + name: string; + user: Src; + secret: string | readonly string[]; + refresh?: RefreshFn>> | undefined; + revoke?: RevokeFn | undefined; + maxAge?: number | undefined; + cookie?: SessionCookieOptions | undefined; + clientCredentials?: boolean | undefined; + debug?: AuthDebug | undefined; +}; +export type RefreshIfDueOptions = { + within?: number | undefined; +}; +export type SessionMiddlewareOptions = { + within?: number | undefined; + cacheControl?: string | false | undefined; +}; +declare const requestAuth: unique symbol; +type RequestAuthBase = { + [requestAuth]: true; + getSession: () => Promise | null>; + refreshIfDue: (options?: RefreshIfDueOptions) => Promise | null>; + signIn: (input: SignInInput) => Promise>; + signOut: () => Promise; + credentials: Readonly<{ + get: () => Promise; + renew: (credentials: Credentials) => Promise; + reject: (credentials: Credentials) => Promise; + }>; + clientCredentials: Readonly<{ + get: () => Promise; + renew: (credentials: unknown) => Promise; + }>; + isCurrent: (session: { + sessionId: string; + }) => boolean; + state: Readonly["state"]>; +}; +export type RequestAuth = { + readonly [K in keyof RequestAuthMembers as K extends "updateUser" ? [ + I + ] extends [ + never + ] ? never : K : K]: RequestAuthMembers[K]; +}; +type RequestAuthMembers = RequestAuthBase & { + updateUser: (input: I | (() => Promise)) => Promise>; +}; +type ServerAuthBase = { + getSession: (jar: CookieJar) => Promise | null>; + refreshIfDue: (jar: CookieJar, options?: RefreshIfDueOptions) => Promise | null>; + signIn: (jar: CookieJar, input: SignInInput) => Promise>; + signOut: (jar: CookieJar) => Promise; + credentials: { + get: (jar: CookieJar) => Promise; + renew: (jar: CookieJar, credentials: Credentials) => Promise; + reject: (jar: CookieJar, credentials: Credentials) => Promise; + }; + clientCredentials: { + get: (jar: CookieJar) => Promise; + renew: (jar: CookieJar, credentials: unknown) => Promise; + }; + forRequest: (jar: CookieJar) => RequestAuth; +}; +export type ServerAuth = { + [K in keyof ServerAuthMembers as K extends "updateUser" ? [ + I + ] extends [ + never + ] ? never : K : K]: ServerAuthMembers[K]; +}; +type ServerAuthMembers = ServerAuthBase & { + updateUser: (jar: CookieJar, input: I | (() => Promise)) => Promise>; +}; +export declare function createServerAuth(options: ServerAuthOptions): ServerAuth, UserInput>; + +// dist/server/cookies.d.ts +export type CookieOptions = Readonly<{ + httpOnly: true; + secure: boolean; + sameSite: "lax" | "strict" | "none"; + path: string; + domain?: string | undefined; + maxAge?: number | undefined; +}>; +export type CookieJar = { + get: (name: string) => string | undefined; + set: (name: string, value: string, options: CookieOptions) => void; + delete: (name: string, options: CookieOptions) => void; + readonly writable: boolean; +}; + +// dist/server/handler.d.ts +import type { ServerAuth } from "./auth.js"; +import type { CookieJar } from "./cookies.js"; +export type SessionHandler = (request: Request, jar: CookieJar) => Promise; +export declare function sessionHandler(serverAuth: ServerAuth): SessionHandler; + +// dist/server/index.d.ts +export { createServerAuth } from "./auth.js"; +export { sessionHandler } from "./handler.js"; +export type { ClientCredentials } from "../core/mirror.js"; +export type { RefreshIfDueOptions, RequestAuth, ServerAuth, ServerAuthOptions, SessionCookieOptions, SessionMiddlewareOptions, } from "./auth.js"; +export type { CookieJar, CookieOptions } from "./cookies.js"; +export type { SessionHandler } from "./handler.js"; + +// dist/tanstack-router/connect.d.ts +import { type AuthSource } from "../react/context.js"; +export type AuthRouter = { + options: { + context: { + auth: AuthSource; + }; + }; + invalidate: () => Promise; + clearCache: () => void; + isServer?: boolean | undefined; +}; +export declare function connectAuth(router: AuthRouter): () => void; + +// dist/tanstack-router/guards.d.ts +import { type GuardClient } from "../core/guard.js"; +import type { Session } from "../core/types.js"; +export type RequireSessionOptions = { + location: { + href: string; + }; + loginPath?: string | undefined; +}; +export declare function requireSession(auth: GuardClient, options: RequireSessionOptions): Promise<{ + session: Session; +}>; +export type RedirectIfSignedInOptions = { + redirectTo: unknown; + loginPath?: string | readonly string[] | undefined; +}; +export declare function redirectIfSignedIn(auth: GuardClient, options: RedirectIfSignedInOptions): Promise; + +// dist/tanstack-router/index.d.ts +import { type Register } from "@tanstack/react-router"; +import { type AuthSource, type StateOf } from "../react/context.js"; +export { connectAuth } from "./connect.js"; +export { redirectIfSignedIn, requireSession } from "./guards.js"; +export { SessionOutlet } from "./outlet.js"; +export type { AuthRouter } from "./connect.js"; +export type { RedirectIfSignedInOptions, RequireSessionOptions, } from "./guards.js"; +export type { SessionOutletProps } from "./outlet.js"; +export type RouterAuth = Register extends { + router: { + options: { + context: { + auth?: infer Client; + }; + }; + }; +} ? NonNullable extends AuthSource ? NonNullable : never : never; +export declare function useAuthClient(): RouterAuth; +export declare const useAuth: { + (): StateOf; + (selector: (state: StateOf) => T): T; +}; + +// dist/tanstack-router/outlet.d.ts +import { type ReactElement, type ReactNode } from "react"; +import { type AuthSource } from "../react/context.js"; +export type SessionOutletProps = { + pending?: ReactNode | undefined; + client?: AuthSource | undefined; +}; +export declare function SessionOutlet({ pending, client, }: SessionOutletProps): ReactElement; + +// dist/tanstack-start/index.d.ts +import { type MirrorAuth } from "../core/mirror.js"; +import { type AuthRouter } from "../tanstack-router/connect.js"; +type SessionRouter = AuthRouter & { + options: { + context: { + auth: MirrorAuth; + }; + dehydrate?: (() => unknown) | undefined; + hydrate?: ((dehydrated: never) => unknown) | undefined; + }; +}; +export declare function connectSession(router: SessionRouter): () => void; +export declare function loadSession(auth: MirrorAuth): Promise; +export {}; + +// dist/tanstack-start/server.d.ts +import type { RequestServerFn } from "@tanstack/react-start"; +import { type RequestAuth, type ServerAuth, type SessionMiddlewareOptions } from "../server/auth.js"; +import type { CookieJar } from "../server/cookies.js"; +export declare function startJar(): CookieJar; +export declare function startAuth(serverAuth: ServerAuth): RequestAuth; +export declare function refreshSession(serverAuth: ServerAuth, options?: SessionMiddlewareOptions): RequestServerFn; +export type StartSessionRoute = { + GET: (context: { + request: Request; + }) => Promise; + POST: (context: { + request: Request; + }) => Promise; +}; +export declare function sessionRoute(serverAuth: ServerAuth): StartSessionRoute; From abd00cee89fbc54402ed1013e474736240a947b8 Mon Sep 17 00:00:00 2001 From: monarcode Date: Sat, 28 Nov 2026 22:25:23 +0100 Subject: [PATCH 7/7] chore(release): 0.1.0 The first stable release. - fix(effect): type the Auth service's base class by name, so `yield* Auth` and `Auth.use` give the registered client - ci: install the packed package in an app of its own, typecheck it with TypeScript 5.4 and 7, and run it on Node.js 20 and 22 (scripts/compat.sh) - fix(release): refuse an older prerelease of the same version - test(api): the snapshot keeps local export lists, and throws on a subpath without top-level types - docs: add SECURITY.md and link it from the Security page, remove the docs/ stubs, and stop the Markdown copies repeating type-table headings - build(deps): update the tested peers to effect 4.1.7, react-router 8.5.3, @tanstack/react-start 1.169.7 and @types/react 19.3.3 - chore(examples): drop tanstack-start-ssr's unneeded errorComponent --- .github/workflows/ci.yml | 53 ++ AGENTS.md | 2 +- CHANGELOG.md | 36 +- CONTRIBUTING.md | 7 +- RELEASING.md | 157 ---- SECURITY.md | 25 + docs/.gitkeep | 0 docs/effect.md | 3 - docs/expo.md | 3 - docs/next.md | 3 - docs/react-router-ssr.md | 3 - docs/react-router.md | 3 - docs/server-sessions.md | 3 - docs/tanstack-router.md | 3 - docs/tanstack-start.md | 3 - examples/next-app/package.json | 2 +- examples/react-router-data/package.json | 4 +- .../react-router-declarative/package.json | 4 +- .../react-router-framework-spa/package.json | 6 +- .../react-router-framework-ssr/package.json | 10 +- examples/tanstack-router/package.json | 2 +- .../tanstack-start-spa-effetch/package.json | 8 +- examples/tanstack-start-spa/package.json | 4 +- examples/tanstack-start-ssr/package.json | 4 +- .../src/routes/_authenticated.tsx | 3 +- package.json | 10 +- pnpm-lock.yaml | 787 +++++++++--------- scripts/api-snapshot.mjs | 39 +- scripts/compat.sh | 67 ++ scripts/compat/consumer.ts | 83 ++ scripts/prepare-release.mjs | 37 +- .../docs/(latest)/reference/compatibility.mdx | 9 +- site/content/docs/(latest)/security.mdx | 3 + site/package.json | 4 +- site/src/lib/source.ts | 53 +- src/effect/auth.ts | 15 +- tests/consumer.ts | 12 + tests/examples.test.ts | 3 +- tests/public-api.snapshot | 5 +- tests/release.test.ts | 14 +- 40 files changed, 859 insertions(+), 633 deletions(-) delete mode 100644 RELEASING.md create mode 100644 SECURITY.md delete mode 100644 docs/.gitkeep delete mode 100644 docs/effect.md delete mode 100644 docs/expo.md delete mode 100644 docs/next.md delete mode 100644 docs/react-router-ssr.md delete mode 100644 docs/react-router.md delete mode 100644 docs/server-sessions.md delete mode 100644 docs/tanstack-router.md delete mode 100644 docs/tanstack-start.md create mode 100644 scripts/compat.sh create mode 100644 scripts/compat/consumer.ts diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index af36dca..f8e0006 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -125,6 +125,59 @@ jobs: EXPO_OFFLINE: 1 EXPO_NO_TELEMETRY: 1 + # The packed package as an app installs it, outside the workspace: its + # types under the oldest and newest TypeScript, and a sign-in on the + # Node.js versions the other jobs don't run (scripts/compat.sh). + compatibility: + name: ${{ matrix.name }} + runs-on: ubuntu-latest + timeout-minutes: 10 + strategy: + fail-fast: false + matrix: + include: + - name: typescript 5.4 (oldest supported) + mode: typescript + target: "5.4" + - name: typescript 7 + mode: typescript + target: "7" + - name: node.js 20 + mode: runtime + node: 20 + - name: node.js 22 + mode: runtime + node: 22 + steps: + - name: Check out repository + uses: actions/checkout@v7 + + - name: Set up pnpm + uses: pnpm/action-setup@v6 + with: + version: 10.12.1 + + - name: Set up Node.js + uses: actions/setup-node@v7 + with: + node-version: 24 + cache: pnpm + + - name: Install dependencies + run: pnpm install --frozen-lockfile + + - name: Build the package + run: pnpm run build + + - name: Set up Node.js ${{ matrix.node }} + if: matrix.node + uses: actions/setup-node@v7 + with: + node-version: ${{ matrix.node }} + + - name: Check the installed package + run: bash scripts/compat.sh ${{ matrix.mode }} ${{ matrix.target }} + site: runs-on: ubuntu-latest timeout-minutes: 10 diff --git a/AGENTS.md b/AGENTS.md index 7bd297d..f160b60 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -17,7 +17,7 @@ Consumers import from the root and from subpaths: decisions ("Decisions made", "Open decisions"). Read it before any work, and add each new decision there. - `.stash/` also holds API drafts for work in progress (for example - `alpha6-lock-api.md`). + `alpha6-lock-api.md`), and `releasing.md`, how a release is published. - `.stash/` is gitignored and lives on the maintainer's machine. Never commit it, and never link to it from the README, the docs or the code. If it's missing, ask for it. diff --git a/CHANGELOG.md b/CHANGELOG.md index 924e50d..a0b2425 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ # Changelog -## Unreleased +## 0.1.0 + +The first stable release. From here, an update within 0.1.x doesn't break +code written for 0.1.0, apart from the one exception that +[Versioning](https://session-kit.monarcode.dev/docs/reference/compatibility#versioning) +lists, which follows Effect's unstable HTTP modules. The changes since +0.1.0-rc.3: ### Changed @@ -14,6 +20,22 @@ `^0.1.0`, up from `^0.1.0-rc.4`, now that effetch 0.1.0 is stable. `./effetch` works as before. If your app is on an effetch release candidate, upgrade it to 0.1.0, which effetch-query 0.1.0 needs too. +- CI now installs the packed package in an app of its own and runs it on + Node.js 20 and 22, and compiles its types with TypeScript 5.4 (the oldest + supported) and 7. It also compares the published API with a snapshot, so + a 0.1.x update can't change it by accident. + [Compatibility](https://session-kit.monarcode.dev/docs/reference/compatibility#what-ci-tests) + lists what CI covers. + +### Fixed + +- **`yield* Auth` and `Auth.use` give your registered client.** In an app + that registers its client, the `Auth` service from `./effect` was typed as + a client with an `unknown` user, so a session read through it had to be + cast. The static Effects, such as `Auth.session`, were already typed + correctly. Apps that don't register a client are unaffected. On the + server, the service is still the request's session, not your browser + client, so use only `Auth`'s Effects there. ### Docs @@ -36,6 +58,14 @@ - Docs pages are served at the URLs the site links to, without a trailing slash, so following a link no longer redirects. A URL with a trailing slash still works: it redirects to the one without. +- A page's Markdown copy, and `llms-full.txt`, no longer repeat a type's + heading and description above its table of members. +- Session kit has a security policy, in + [`SECURITY.md`](https://github.com/monarcode/session-kit/blob/main/SECURITY.md): + report a vulnerability privately, from the repository's Security tab. The + Security page links to it. +- The `docs/` folder is gone. Its files only pointed to the docs site's + pages, which have everything they had. ## 0.1.0-rc.3 @@ -673,7 +703,7 @@ later `0.1` releases only add to it. `Auth.updateUser` (which also takes an Effect that fetches the user) and `Auth.changes`, a `Stream` of the state. They fail with `AuthFailure`, a tagged error carrying the `AuthErrorCode` as `code`; `INVALID_OPTIONS` is - a defect. The [Effect guide](./docs/effect.md) walks through it. + a defect. The [Effect guide](https://session-kit.monarcode.dev/docs/effect) walks through it. - `@monarcode/session-kit/effetch` adds `sessionBearer({ baseUrl })`, a plugin for `@monarcode/effetch` (an optional peer dependency) with `createAuthFetch`'s behaviour: it sends the access token only to @@ -780,7 +810,7 @@ later `0.1` releases only add to it. `unavailable` render prop, is exported from `/react-router` and `/expo`. - Optional peer dependencies for Expo SDK 53 and later: `expo-router`, `expo-secure-store`, `expo-file-system`, and `react-native`. -- An [Expo Router guide](./docs/expo.md) and an +- An [Expo Router guide](https://session-kit.monarcode.dev/docs/setups/expo) and an [`expo-router` example app](./examples/expo-router) for iOS and Android. ### Fixed diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7f7a11b..31c777c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -36,6 +36,11 @@ example: storage that settles every operation late, removals last, to catch ordering bugs. `pnpm run build:examples` builds the package and every example app. +`bash scripts/compat.sh typescript 5.4` and `bash scripts/compat.sh runtime` +check the packed package as an app installs it, with a TypeScript version +or the Node.js on your `PATH`. CI runs them with TypeScript 5.4 and 7, and +on Node.js 20 and 22. + The tests also compare the published API with `tests/public-api.snapshot`, so a change to an export's types fails them. When the change is intended, run `pnpm run api:update`, and check in its diff that it only adds to the @@ -66,7 +71,7 @@ also catches MDX syntax errors and type errors in Twoslash blocks, which The live site shows the release on npm's `latest` tag. Older release lines are kept as snapshots in `site/content/docs//`, made by -`scripts/snapshot-docs.mjs`. [RELEASING.md](./RELEASING.md) covers both. +`scripts/snapshot-docs.mjs`. ## Try a local build diff --git a/RELEASING.md b/RELEASING.md deleted file mode 100644 index d2c0d4a..0000000 --- a/RELEASING.md +++ /dev/null @@ -1,157 +0,0 @@ -# Releasing session-kit - -The `Release` workflow is manually triggered. It releases a version already -committed to `main`, stable or a prerelease; it does not change versions or -commit files. -It checks and packs with pnpm, publishes the verified tarball to npm, then -creates a Git tag and GitHub release at the workflow's commit. For a release -to npm's `latest` tag, it also moves the docs site to that commit. - -## One-time npm setup - -Push `.github/workflows/release.yml` to `main` before configuring npm. -In the npm settings for `@monarcode/session-kit`, add a GitHub Actions trusted -publisher with these values: - -| Field | Value | -| -------------------- | ---------------------------- | -| Organization or user | `monarcode` | -| Repository | `session-kit` | -| Workflow filename | `release.yml` | -| Environment | Leave blank | -| Allowed action | Enable **Allow npm publish** | - -The workflow uses direct publishing. npm's newer default allowing staged -publishing alone is insufficient. No npm token secret is required. -See [npm's trusted publishing documentation](https://docs.npmjs.com/trusted-publishers/). -The workflow runs on GitHub-hosted runners with Node.js 24 and npm >=11.5.1. -For this public repository/package, trusted publishing also generates provenance. - -## Release a version - -1. Make the intended package changes. Set `package.json` to the new version, - such as `0.1.1` or `0.2.0-rc.0`, and rename `CHANGELOG.md`'s - `## Unreleased` heading to `## 0.1.1`. -2. Run `pnpm run check`, then commit and push those changes to `main`. -3. Open GitHub Actions → **Release** → **Run workflow**. Choose `main` - and enter the exact package version, without a `v` prefix. -4. Verify the run succeeds, npm exposes the version through its dist-tag, and - the matching GitHub release exists. -5. After a stable release, run `npm view @monarcode/session-kit dist-tags`. - If `next` points at a version older than the release, so that `@next` - would install something older than `latest`, move it to the release or - remove it: - - ```sh - npm dist-tag add @monarcode/session-kit@0.1.1 next - ``` - - ```sh - npm dist-tag rm @monarcode/session-kit next - ``` - - The workflow doesn't do this. With trusted publishing, changing a - dist-tag needs **Allow npm dist-tag** on the trusted publisher and npm - 11.21 or newer. - -The workflow takes stable versions (`0.1.0`) and `-alpha.N`, `-beta.N` and -`-rc.N` prereleases. It picks the npm dist-tag from what's published: - -- a stable version goes to `latest`, and its GitHub release is marked latest; -- a prerelease goes to `next` once a stable version exists, and to `latest` - before that. Its GitHub release is marked as a prerelease. - -Only a release to `latest` moves the docs site, so the live docs match what -`npm install` gets. A release to `next` is previewed on `main`'s deploy. - -The workflow refuses a version older than a released stable one, such as -`0.1.5` after `0.2.0`, or `0.1.0-rc.4` after `0.1.0`: it would take -`latest` and move the docs site back to that line. It also refuses a -prerelease older than another one, such as `0.1.1-rc.0` after -`0.2.0-rc.1`, which would move `next` back. Releasing an older line needs a -dist-tag of its own, which isn't built yet. - -The workflow rejects a different branch, invalid or mismatched versions, missing -release notes, an existing npm version, and an existing Git tag. The published -`0.1.0-alpha.0` cannot be republished. - -The build job has read-only repository permissions. Only the `publish` job -receives OIDC, and only the `github-release` and `docs-site` jobs after it can -write to the repository. The tarball and release notes come from the same -run's artifact, retained for 14 days. Publishing uses npm only for the -OIDC-authenticated upload; installation, tests, and packing use pnpm. - -## The docs site - -Cloudflare Pages builds the site from this repository. Its production branch -is `site`, so the live docs show the release on npm's `latest` tag, and -`main` deploys as a preview: the docs for what's next, including a -prerelease on `next`. Every pull request gets a preview too. - -One-time setup, in Cloudflare Pages: connect the repository, set the -production branch to `site`, the build command to `pnpm run build:site`, the -output directory to `site/dist/client`, and the `NODE_VERSION` variable to -`24`. Then create the branch once from `main`: - -```sh -git push origin main:refs/heads/site -``` - -After publishing to `latest`, the Release workflow's `docs-site` job moves -`site` to the released commit. If that job fails, the package is published: -move the branch yourself with the run's full commit SHA, which the job's error -prints. A release whose changes include `.github/workflows/` always needs -this, since the workflow's token can't update a branch to a commit that -changes workflow files. For any other failure, rerunning the job can work too, -but never rerun it after a newer release: it would move the docs back. - -```sh -git push --force origin FULL_COMMIT_SHA_FROM_THE_RUN:refs/heads/site -``` - -**Fixing the live docs between releases.** Fix it on `main` first, then -cherry-pick the commit onto `site`. The next release moves `site` to a -commit that already has the fix. A fix made only on `site` is lost. - -```sh -git switch site -git cherry-pick FIX_SHA -git push origin site -``` - -**Starting a new release line.** Before releasing the first version of a new -line, such as `0.2.0-rc.0`, freeze the outgoing line's docs: - -```sh -node scripts/snapshot-docs.mjs 0.1 -``` - -It copies the pages from the line's newest release tag into -`site/content/docs/0.1/`, with that release's types from npm, and adds it to -the site's version dropdown. Commit the result with the release. After a -later patch to an old line, run it again for that line. - -## Recover a partial release - -If npm publishing fails, resolve the reported problem before rerunning. Check -whether npm already contains the version before attempting another publication. - -If npm succeeds but GitHub release creation fails, do not bump the version or -republish. Rerun the run's `github-release` job. If it still fails, download -the `session-kit-release` artifact from that run and create the missing -GitHub release with its `release-notes.md`, using the original run's full -commit SHA: - -```sh -gh release create v0.1.1 \ - --repo monarcode/session-kit \ - --target FULL_COMMIT_SHA_FROM_THE_RUN \ - --title v0.1.1 \ - --latest \ - --notes-file /absolute/path/to/release-notes.md -``` - -Use the affected version in that command. For a prerelease, replace -`--latest` with `--prerelease --latest=false`. If the tag or release already -exists, inspect it and complete the missing step rather than creating it -again. diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..c5e10fc --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,25 @@ +# Security policy + +## Supported versions + +Security fixes ship in 0.1.x releases. Prereleases of 0.1.0 (alphas and +release candidates) don't get fixes: upgrade to 0.1.0 or later. + +## Reporting a vulnerability + +Please don't open a public issue for a vulnerability. Report it privately +on GitHub instead: open the repository's **Security** tab and choose +[**Report a vulnerability**](https://github.com/monarcode/session-kit/security/advisories/new). + +Include what an attacker can do, the steps or code that show it, and the +Session kit version, setup and runtime you used. The report stays private +between you and the maintainer until a fix is released. + +A confirmed vulnerability is fixed in a 0.1.x release. The fix is announced +in a GitHub security advisory and in the +[changelog](https://github.com/monarcode/session-kit/blob/main/CHANGELOG.md), +with credit to you unless you'd rather not have it. + +Session kit stores the tokens your backend issues and manages the session +around them. It doesn't sign users in, so a flaw in your backend's sign-in +or token checks belongs with that backend. diff --git a/docs/.gitkeep b/docs/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/docs/effect.md b/docs/effect.md deleted file mode 100644 index 86e832a..0000000 --- a/docs/effect.md +++ /dev/null @@ -1,3 +0,0 @@ -# Effect and effetch - -This guide moved to the documentation site: [Effect and effetch](https://session-kit.monarcode.dev/docs/effect). diff --git a/docs/expo.md b/docs/expo.md deleted file mode 100644 index 9dbef72..0000000 --- a/docs/expo.md +++ /dev/null @@ -1,3 +0,0 @@ -# Expo Router - -This guide moved to the documentation site: [Expo Router](https://session-kit.monarcode.dev/docs/setups/expo). diff --git a/docs/next.md b/docs/next.md deleted file mode 100644 index a2de2c7..0000000 --- a/docs/next.md +++ /dev/null @@ -1,3 +0,0 @@ -# Next.js - -This guide moved to the documentation site: [Next.js](https://session-kit.monarcode.dev/docs/setups/next). diff --git a/docs/react-router-ssr.md b/docs/react-router-ssr.md deleted file mode 100644 index 2a94dd4..0000000 --- a/docs/react-router-ssr.md +++ /dev/null @@ -1,3 +0,0 @@ -# React Router with server rendering - -This guide moved to the documentation site: [React Router with server rendering](https://session-kit.monarcode.dev/docs/setups/react-router-ssr). diff --git a/docs/react-router.md b/docs/react-router.md deleted file mode 100644 index f4b7a6a..0000000 --- a/docs/react-router.md +++ /dev/null @@ -1,3 +0,0 @@ -# React Router - -This guide moved to the documentation site: [React Router](https://session-kit.monarcode.dev/docs/setups/react-router). diff --git a/docs/server-sessions.md b/docs/server-sessions.md deleted file mode 100644 index e6f532e..0000000 --- a/docs/server-sessions.md +++ /dev/null @@ -1,3 +0,0 @@ -# Server sessions - -This guide moved to the documentation site: [Server sessions](https://session-kit.monarcode.dev/docs/server-rendering/server-sessions). diff --git a/docs/tanstack-router.md b/docs/tanstack-router.md deleted file mode 100644 index 1b44e61..0000000 --- a/docs/tanstack-router.md +++ /dev/null @@ -1,3 +0,0 @@ -# TanStack Router - -This guide moved to the documentation site: [TanStack Router](https://session-kit.monarcode.dev/docs/setups/tanstack-router). diff --git a/docs/tanstack-start.md b/docs/tanstack-start.md deleted file mode 100644 index 0327b4b..0000000 --- a/docs/tanstack-start.md +++ /dev/null @@ -1,3 +0,0 @@ -# TanStack Start - -This guide moved to the documentation site: [TanStack Start](https://session-kit.monarcode.dev/docs/setups/tanstack-start). diff --git a/examples/next-app/package.json b/examples/next-app/package.json index 403303f..344cbc7 100644 --- a/examples/next-app/package.json +++ b/examples/next-app/package.json @@ -17,7 +17,7 @@ }, "devDependencies": { "@types/node": "22.20.4", - "@types/react": "19.3.0", + "@types/react": "19.3.3", "@types/react-dom": "19.3.0", "typescript": "6.0.3" } diff --git a/examples/react-router-data/package.json b/examples/react-router-data/package.json index 3eaad5e..b74251c 100644 --- a/examples/react-router-data/package.json +++ b/examples/react-router-data/package.json @@ -12,11 +12,11 @@ "@monarcode/session-kit": "workspace:*", "react": "19.3.1", "react-dom": "19.3.1", - "react-router": "8.5.1", + "react-router": "8.5.3", "zod": "4.6.7" }, "devDependencies": { - "@types/react": "19.3.0", + "@types/react": "19.3.3", "@types/react-dom": "19.3.0", "@vitejs/plugin-react": "6.3.0", "typescript": "6.0.3", diff --git a/examples/react-router-declarative/package.json b/examples/react-router-declarative/package.json index 0d656e9..9a72ffe 100644 --- a/examples/react-router-declarative/package.json +++ b/examples/react-router-declarative/package.json @@ -12,11 +12,11 @@ "@monarcode/session-kit": "workspace:*", "react": "19.3.1", "react-dom": "19.3.1", - "react-router": "8.5.1", + "react-router": "8.5.3", "zod": "4.6.7" }, "devDependencies": { - "@types/react": "19.3.0", + "@types/react": "19.3.3", "@types/react-dom": "19.3.0", "@vitejs/plugin-react": "6.3.0", "typescript": "6.0.3", diff --git a/examples/react-router-framework-spa/package.json b/examples/react-router-framework-spa/package.json index 7d8ac30..fb3a321 100644 --- a/examples/react-router-framework-spa/package.json +++ b/examples/react-router-framework-spa/package.json @@ -13,12 +13,12 @@ "isbot": "^5.2.3", "react": "19.3.1", "react-dom": "19.3.1", - "react-router": "8.5.1", + "react-router": "8.5.3", "zod": "4.6.7" }, "devDependencies": { - "@react-router/dev": "8.5.1", - "@types/react": "19.3.0", + "@react-router/dev": "8.5.3", + "@types/react": "19.3.3", "@types/react-dom": "19.3.0", "typescript": "6.0.3", "vite": "8.3.7" diff --git a/examples/react-router-framework-ssr/package.json b/examples/react-router-framework-ssr/package.json index 8cce791..0a45104 100644 --- a/examples/react-router-framework-ssr/package.json +++ b/examples/react-router-framework-ssr/package.json @@ -10,18 +10,18 @@ }, "dependencies": { "@monarcode/session-kit": "workspace:*", - "@react-router/node": "8.5.1", - "@react-router/serve": "8.5.1", + "@react-router/node": "8.5.3", + "@react-router/serve": "8.5.3", "isbot": "^5.2.3", "react": "19.3.1", "react-dom": "19.3.1", - "react-router": "8.5.1", + "react-router": "8.5.3", "zod": "4.6.7" }, "devDependencies": { - "@react-router/dev": "8.5.1", + "@react-router/dev": "8.5.3", "@types/node": "22.20.4", - "@types/react": "19.3.0", + "@types/react": "19.3.3", "@types/react-dom": "19.3.0", "typescript": "6.0.3", "vite": "8.3.7" diff --git a/examples/tanstack-router/package.json b/examples/tanstack-router/package.json index c83ac1f..c8b7ccf 100644 --- a/examples/tanstack-router/package.json +++ b/examples/tanstack-router/package.json @@ -17,7 +17,7 @@ }, "devDependencies": { "@tanstack/router-plugin": "1.169.0", - "@types/react": "19.3.0", + "@types/react": "19.3.3", "@types/react-dom": "19.3.0", "@vitejs/plugin-react": "6.3.0", "typescript": "6.0.3", diff --git a/examples/tanstack-start-spa-effetch/package.json b/examples/tanstack-start-spa-effetch/package.json index b6d7eba..94a8569 100644 --- a/examples/tanstack-start-spa-effetch/package.json +++ b/examples/tanstack-start-spa-effetch/package.json @@ -9,18 +9,18 @@ "preview": "vite preview" }, "dependencies": { - "@effect/atom-react": "4.1.3", + "@effect/atom-react": "4.1.7", "@monarcode/effetch": "0.1.0", "@monarcode/effetch-query": "0.1.0", "@monarcode/session-kit": "workspace:*", "@tanstack/react-router": "1.170.46", - "@tanstack/react-start": "1.169.5", - "effect": "4.1.3", + "@tanstack/react-start": "1.169.7", + "effect": "4.1.7", "react": "19.3.1", "react-dom": "19.3.1" }, "devDependencies": { - "@types/react": "19.3.0", + "@types/react": "19.3.3", "@types/react-dom": "19.3.0", "@vitejs/plugin-react": "6.3.0", "typescript": "6.0.3", diff --git a/examples/tanstack-start-spa/package.json b/examples/tanstack-start-spa/package.json index 90d90f8..1d9df75 100644 --- a/examples/tanstack-start-spa/package.json +++ b/examples/tanstack-start-spa/package.json @@ -11,13 +11,13 @@ "dependencies": { "@monarcode/session-kit": "workspace:*", "@tanstack/react-router": "1.170.46", - "@tanstack/react-start": "1.169.5", + "@tanstack/react-start": "1.169.7", "react": "19.3.1", "react-dom": "19.3.1", "zod": "4.6.7" }, "devDependencies": { - "@types/react": "19.3.0", + "@types/react": "19.3.3", "@types/react-dom": "19.3.0", "@vitejs/plugin-react": "6.3.0", "typescript": "6.0.3", diff --git a/examples/tanstack-start-ssr/package.json b/examples/tanstack-start-ssr/package.json index eda8d54..d18b94b 100644 --- a/examples/tanstack-start-ssr/package.json +++ b/examples/tanstack-start-ssr/package.json @@ -11,14 +11,14 @@ "dependencies": { "@monarcode/session-kit": "workspace:*", "@tanstack/react-router": "1.170.46", - "@tanstack/react-start": "1.169.5", + "@tanstack/react-start": "1.169.7", "react": "19.3.1", "react-dom": "19.3.1", "zod": "4.6.7" }, "devDependencies": { "@types/node": "22.20.4", - "@types/react": "19.3.0", + "@types/react": "19.3.3", "@types/react-dom": "19.3.0", "@vitejs/plugin-react": "6.3.0", "typescript": "6.0.3", diff --git a/examples/tanstack-start-ssr/src/routes/_authenticated.tsx b/examples/tanstack-start-ssr/src/routes/_authenticated.tsx index 11e5f0c..a4ecb95 100644 --- a/examples/tanstack-start-ssr/src/routes/_authenticated.tsx +++ b/examples/tanstack-start-ssr/src/routes/_authenticated.tsx @@ -4,11 +4,10 @@ import { } from "@monarcode/session-kit/tanstack-router"; import { createFileRoute } from "@tanstack/react-router"; -import { Pending, Unavailable } from "../ui"; +import { Pending } from "../ui"; export const Route = createFileRoute("/_authenticated")({ beforeLoad: ({ context, location }) => requireSession(context.auth, { location }), - errorComponent: ({ error }) => , component: () => } />, }); diff --git a/package.json b/package.json index 09f94c9..1a241cc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@monarcode/session-kit", - "version": "0.1.0-rc.3", + "version": "0.1.0", "description": "Schema-driven, type-safe sessions for React, with TanStack Router, React Router, Expo Router, Next.js, TanStack Start, and Effect support", "keywords": [ "auth", @@ -127,14 +127,14 @@ "@monarcode/effetch": "0.1.0", "@monarcode/effetch-query": "0.1.0", "@tanstack/react-router": "1.170.46", - "@tanstack/react-start": "1.169.5", + "@tanstack/react-start": "1.169.7", "@types/jsdom": "21.1.7", "@types/node": "22.20.4", - "@types/react": "19.3.0", + "@types/react": "19.3.3", "@types/react-dom": "19.3.0", "@types/use-sync-external-store": "1.7.0", "axios": "1.21.1", - "effect": "4.1.3", + "effect": "4.1.7", "expo-file-system": "58.0.13", "expo-router": "58.0.30", "expo-secure-store": "58.0.2", @@ -147,7 +147,7 @@ "react": "19.3.1", "react-dom": "19.3.1", "react-native": "0.88.1", - "react-router": "8.5.1", + "react-router": "8.5.3", "typescript": "6.0.3", "zod": "4.6.7" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c1923b1..95ccc7a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -20,16 +20,16 @@ importers: devDependencies: '@monarcode/effetch': specifier: 0.1.0 - version: 0.1.0(effect@4.1.3) + version: 0.1.0(effect@4.1.7) '@monarcode/effetch-query': specifier: 0.1.0 - version: 0.1.0(@effect/atom-react@4.1.3(effect@4.1.3)(react@19.3.1)(scheduler@0.28.0))(@monarcode/effetch@0.1.0(effect@4.1.3))(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(effect@4.1.3)(react@19.3.1) + version: 0.1.0(@effect/atom-react@4.1.7(effect@4.1.7)(react@19.3.1)(scheduler@0.28.0))(@monarcode/effetch@0.1.0(effect@4.1.7))(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(effect@4.1.7)(react@19.3.1) '@tanstack/react-router': specifier: 1.170.46 version: 1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1) '@tanstack/react-start': - specifier: 1.169.5 - version: 1.169.5(esbuild@0.28.2)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(rolldown@1.2.18)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1)) + specifier: 1.169.7 + version: 1.169.7(esbuild@0.28.2)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(rolldown@1.2.18)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1)) '@types/jsdom': specifier: 21.1.7 version: 21.1.7 @@ -37,11 +37,11 @@ importers: specifier: 22.20.4 version: 22.20.4 '@types/react': - specifier: 19.3.0 - version: 19.3.0 + specifier: 19.3.3 + version: 19.3.3 '@types/react-dom': specifier: 19.3.0 - version: 19.3.0(@types/react@19.3.0) + version: 19.3.0(@types/react@19.3.3) '@types/use-sync-external-store': specifier: 1.7.0 version: 1.7.0 @@ -49,14 +49,14 @@ importers: specifier: 1.21.1 version: 1.21.1 effect: - specifier: 4.1.3 - version: 4.1.3 + specifier: 4.1.7 + version: 4.1.7 expo-file-system: specifier: 58.0.13 - version: 58.0.13(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1)) + version: 58.0.13(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1)) expo-router: specifier: 58.0.30 - version: 58.0.30(4fd3e8be9c12fa0595425842b943ceb9) + version: 58.0.30(48056d983f33b181763bc6ae8568ce96) expo-secure-store: specifier: 58.0.2 version: 58.0.2(expo@58.0.23) @@ -86,10 +86,10 @@ importers: version: 19.3.1(react@19.3.1) react-native: specifier: 0.88.1 - version: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1) + version: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1) react-router: - specifier: 8.5.1 - version: 8.5.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) + specifier: 8.5.3 + version: 8.5.3(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) typescript: specifier: 6.0.3 version: 6.0.3 @@ -168,11 +168,11 @@ importers: specifier: 22.20.4 version: 22.20.4 '@types/react': - specifier: 19.3.0 - version: 19.3.0 + specifier: 19.3.3 + version: 19.3.3 '@types/react-dom': specifier: 19.3.0 - version: 19.3.0(@types/react@19.3.0) + version: 19.3.0(@types/react@19.3.3) typescript: specifier: 6.0.3 version: 6.0.3 @@ -189,18 +189,18 @@ importers: specifier: 19.3.1 version: 19.3.1(react@19.3.1) react-router: - specifier: 8.5.1 - version: 8.5.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) + specifier: 8.5.3 + version: 8.5.3(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) zod: specifier: 4.6.7 version: 4.6.7 devDependencies: '@types/react': - specifier: 19.3.0 - version: 19.3.0 + specifier: 19.3.3 + version: 19.3.3 '@types/react-dom': specifier: 19.3.0 - version: 19.3.0(@types/react@19.3.0) + version: 19.3.0(@types/react@19.3.3) '@vitejs/plugin-react': specifier: 6.3.0 version: 6.3.0(babel-plugin-react-compiler@1.0.0)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1)) @@ -223,18 +223,18 @@ importers: specifier: 19.3.1 version: 19.3.1(react@19.3.1) react-router: - specifier: 8.5.1 - version: 8.5.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) + specifier: 8.5.3 + version: 8.5.3(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) zod: specifier: 4.6.7 version: 4.6.7 devDependencies: '@types/react': - specifier: 19.3.0 - version: 19.3.0 + specifier: 19.3.3 + version: 19.3.3 '@types/react-dom': specifier: 19.3.0 - version: 19.3.0(@types/react@19.3.0) + version: 19.3.0(@types/react@19.3.3) '@vitejs/plugin-react': specifier: 6.3.0 version: 6.3.0(babel-plugin-react-compiler@1.0.0)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1)) @@ -260,21 +260,21 @@ importers: specifier: 19.3.1 version: 19.3.1(react@19.3.1) react-router: - specifier: 8.5.1 - version: 8.5.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) + specifier: 8.5.3 + version: 8.5.3(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) zod: specifier: 4.6.7 version: 4.6.7 devDependencies: '@react-router/dev': - specifier: 8.5.1 - version: 8.5.1(@react-router/serve@8.5.1(react-router@8.5.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(typescript@6.0.3))(react-router@8.5.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(typescript@6.0.3)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1)) + specifier: 8.5.3 + version: 8.5.3(@react-router/serve@8.5.3(react-router@8.5.3(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(typescript@6.0.3))(react-router@8.5.3(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(typescript@6.0.3)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1)) '@types/react': - specifier: 19.3.0 - version: 19.3.0 + specifier: 19.3.3 + version: 19.3.3 '@types/react-dom': specifier: 19.3.0 - version: 19.3.0(@types/react@19.3.0) + version: 19.3.0(@types/react@19.3.3) typescript: specifier: 6.0.3 version: 6.0.3 @@ -288,11 +288,11 @@ importers: specifier: workspace:* version: link:../.. '@react-router/node': - specifier: 8.5.1 - version: 8.5.1(react-router@8.5.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(typescript@6.0.3) + specifier: 8.5.3 + version: 8.5.3(react-router@8.5.3(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(typescript@6.0.3) '@react-router/serve': - specifier: 8.5.1 - version: 8.5.1(react-router@8.5.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(typescript@6.0.3) + specifier: 8.5.3 + version: 8.5.3(react-router@8.5.3(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(typescript@6.0.3) isbot: specifier: ^5.2.3 version: 5.2.3 @@ -303,24 +303,24 @@ importers: specifier: 19.3.1 version: 19.3.1(react@19.3.1) react-router: - specifier: 8.5.1 - version: 8.5.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) + specifier: 8.5.3 + version: 8.5.3(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) zod: specifier: 4.6.7 version: 4.6.7 devDependencies: '@react-router/dev': - specifier: 8.5.1 - version: 8.5.1(@react-router/serve@8.5.1(react-router@8.5.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(typescript@6.0.3))(react-router@8.5.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(typescript@6.0.3)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1)) + specifier: 8.5.3 + version: 8.5.3(@react-router/serve@8.5.3(react-router@8.5.3(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(typescript@6.0.3))(react-router@8.5.3(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(typescript@6.0.3)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1)) '@types/node': specifier: 22.20.4 version: 22.20.4 '@types/react': - specifier: 19.3.0 - version: 19.3.0 + specifier: 19.3.3 + version: 19.3.3 '@types/react-dom': specifier: 19.3.0 - version: 19.3.0(@types/react@19.3.0) + version: 19.3.0(@types/react@19.3.3) typescript: specifier: 6.0.3 version: 6.0.3 @@ -350,11 +350,11 @@ importers: specifier: 1.169.0 version: 1.169.0(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(esbuild@0.28.2)(rolldown@1.2.18)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1)) '@types/react': - specifier: 19.3.0 - version: 19.3.0 + specifier: 19.3.3 + version: 19.3.3 '@types/react-dom': specifier: 19.3.0 - version: 19.3.0(@types/react@19.3.0) + version: 19.3.0(@types/react@19.3.3) '@vitejs/plugin-react': specifier: 6.3.0 version: 6.3.0(babel-plugin-react-compiler@1.0.0)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1)) @@ -374,8 +374,8 @@ importers: specifier: 1.170.46 version: 1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1) '@tanstack/react-start': - specifier: 1.169.5 - version: 1.169.5(esbuild@0.28.2)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(rolldown@1.2.18)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1)) + specifier: 1.169.7 + version: 1.169.7(esbuild@0.28.2)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(rolldown@1.2.18)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1)) react: specifier: 19.3.1 version: 19.3.1 @@ -387,11 +387,11 @@ importers: version: 4.6.7 devDependencies: '@types/react': - specifier: 19.3.0 - version: 19.3.0 + specifier: 19.3.3 + version: 19.3.3 '@types/react-dom': specifier: 19.3.0 - version: 19.3.0(@types/react@19.3.0) + version: 19.3.0(@types/react@19.3.3) '@vitejs/plugin-react': specifier: 6.3.0 version: 6.3.0(babel-plugin-react-compiler@1.0.0)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1)) @@ -405,14 +405,14 @@ importers: examples/tanstack-start-spa-effetch: dependencies: '@effect/atom-react': - specifier: 4.1.3 - version: 4.1.3(effect@4.1.3)(react@19.3.1)(scheduler@0.28.0) + specifier: 4.1.7 + version: 4.1.7(effect@4.1.7)(react@19.3.1)(scheduler@0.28.0) '@monarcode/effetch': specifier: 0.1.0 - version: 0.1.0(effect@4.1.3) + version: 0.1.0(effect@4.1.7) '@monarcode/effetch-query': specifier: 0.1.0 - version: 0.1.0(@effect/atom-react@4.1.3(effect@4.1.3)(react@19.3.1)(scheduler@0.28.0))(@monarcode/effetch@0.1.0(effect@4.1.3))(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(effect@4.1.3)(react@19.3.1) + version: 0.1.0(@effect/atom-react@4.1.7(effect@4.1.7)(react@19.3.1)(scheduler@0.28.0))(@monarcode/effetch@0.1.0(effect@4.1.7))(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(effect@4.1.7)(react@19.3.1) '@monarcode/session-kit': specifier: workspace:* version: link:../.. @@ -420,11 +420,11 @@ importers: specifier: 1.170.46 version: 1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1) '@tanstack/react-start': - specifier: 1.169.5 - version: 1.169.5(esbuild@0.28.2)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(rolldown@1.2.18)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1)) + specifier: 1.169.7 + version: 1.169.7(esbuild@0.28.2)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(rolldown@1.2.18)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1)) effect: - specifier: 4.1.3 - version: 4.1.3 + specifier: 4.1.7 + version: 4.1.7 react: specifier: 19.3.1 version: 19.3.1 @@ -433,11 +433,11 @@ importers: version: 19.3.1(react@19.3.1) devDependencies: '@types/react': - specifier: 19.3.0 - version: 19.3.0 + specifier: 19.3.3 + version: 19.3.3 '@types/react-dom': specifier: 19.3.0 - version: 19.3.0(@types/react@19.3.0) + version: 19.3.0(@types/react@19.3.3) '@vitejs/plugin-react': specifier: 6.3.0 version: 6.3.0(babel-plugin-react-compiler@1.0.0)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1)) @@ -457,8 +457,8 @@ importers: specifier: 1.170.46 version: 1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1) '@tanstack/react-start': - specifier: 1.169.5 - version: 1.169.5(esbuild@0.28.2)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(rolldown@1.2.18)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1)) + specifier: 1.169.7 + version: 1.169.7(esbuild@0.28.2)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(rolldown@1.2.18)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1)) react: specifier: 19.3.1 version: 19.3.1 @@ -473,11 +473,11 @@ importers: specifier: 22.20.4 version: 22.20.4 '@types/react': - specifier: 19.3.0 - version: 19.3.0 + specifier: 19.3.3 + version: 19.3.3 '@types/react-dom': specifier: 19.3.0 - version: 19.3.0(@types/react@19.3.0) + version: 19.3.0(@types/react@19.3.3) '@vitejs/plugin-react': specifier: 6.3.0 version: 6.3.0(babel-plugin-react-compiler@1.0.0)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1)) @@ -503,32 +503,32 @@ importers: specifier: 1.170.46 version: 1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1) '@tanstack/react-start': - specifier: 1.169.5 - version: 1.169.5(esbuild@0.28.2)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(rolldown@1.2.18)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1)) + specifier: 1.169.7 + version: 1.169.7(esbuild@0.28.2)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(rolldown@1.2.18)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1)) '@tanstack/start-static-server-functions': specifier: 1.167.44 - version: 1.167.44(@tanstack/react-start@1.169.5(esbuild@0.28.2)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(rolldown@1.2.18)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1))) + version: 1.167.44(@tanstack/react-start@1.169.7(esbuild@0.28.2)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(rolldown@1.2.18)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1))) '@types/hast': specifier: 3.0.4 version: 3.0.4 fumadocs-core: specifier: 16.19.0 - version: 16.19.0(@mdx-js/mdx@3.1.1)(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.72.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.6(@babel/core@7.29.13)(@types/node@22.20.4)(babel-plugin-react-compiler@1.0.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react-router@8.5.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react@19.3.1)(zod@4.6.7) + version: 16.19.0(@mdx-js/mdx@3.1.1)(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.3.3)(lucide-react@1.72.0(@types/react@19.3.3)(react@19.3.1))(next@16.4.6(@babel/core@7.29.13)(@types/node@22.20.4)(babel-plugin-react-compiler@1.0.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react-router@8.5.3(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react@19.3.1)(zod@4.6.7) fumadocs-mdx: specifier: 15.6.0 - version: 15.6.0(@types/mdast@4.0.4)(@types/mdx@2.0.14)(@types/react@19.3.0)(fumadocs-core@16.19.0(@mdx-js/mdx@3.1.1)(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.72.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.6(@babel/core@7.29.13)(@types/node@22.20.4)(babel-plugin-react-compiler@1.0.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react-router@8.5.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react@19.3.1)(zod@4.6.7))(next@16.4.6(@babel/core@7.29.13)(@types/node@22.20.4)(babel-plugin-react-compiler@1.0.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react@19.3.1)(rolldown@1.2.18)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1)) + version: 15.6.0(@types/mdast@4.0.4)(@types/mdx@2.0.14)(@types/react@19.3.3)(fumadocs-core@16.19.0(@mdx-js/mdx@3.1.1)(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.3.3)(lucide-react@1.72.0(@types/react@19.3.3)(react@19.3.1))(next@16.4.6(@babel/core@7.29.13)(@types/node@22.20.4)(babel-plugin-react-compiler@1.0.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react-router@8.5.3(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react@19.3.1)(zod@4.6.7))(next@16.4.6(@babel/core@7.29.13)(@types/node@22.20.4)(babel-plugin-react-compiler@1.0.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react@19.3.1)(rolldown@1.2.18)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1)) fumadocs-twoslash: specifier: 4.0.4 - version: 4.0.4(a4d2b5dee7a2f0877ec417a3c5a37666) + version: 4.0.4(424da543327391fb896ffcec6d7586b0) fumadocs-typescript: specifier: 5.6.0 - version: 5.6.0(4973353664af70f989eae4d3cc58d556) + version: 5.6.0(83557b0baa7adc5feea546db31cdfc43) fumadocs-ui: specifier: npm:@fumadocs/base-ui@16.19.0 - version: '@fumadocs/base-ui@16.19.0(@types/mdx@2.0.14)(@types/react@19.3.0)(fumadocs-core@16.19.0(@mdx-js/mdx@3.1.1)(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.72.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.6(@babel/core@7.29.13)(@types/node@22.20.4)(babel-plugin-react-compiler@1.0.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react-router@8.5.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react@19.3.1)(zod@4.6.7))(next@16.4.6(@babel/core@7.29.13)(@types/node@22.20.4)(babel-plugin-react-compiler@1.0.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(tailwindcss@4.3.5)(takumi-js@2.22.1(csstype@3.2.3)(react@19.3.1))' + version: '@fumadocs/base-ui@16.19.0(@types/mdx@2.0.14)(@types/react@19.3.3)(fumadocs-core@16.19.0(@mdx-js/mdx@3.1.1)(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.3.3)(lucide-react@1.72.0(@types/react@19.3.3)(react@19.3.1))(next@16.4.6(@babel/core@7.29.13)(@types/node@22.20.4)(babel-plugin-react-compiler@1.0.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react-router@8.5.3(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react@19.3.1)(zod@4.6.7))(next@16.4.6(@babel/core@7.29.13)(@types/node@22.20.4)(babel-plugin-react-compiler@1.0.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(tailwindcss@4.3.5)(takumi-js@2.22.1(csstype@3.2.3)(react@19.3.1))' lucide-react: specifier: 1.72.0 - version: 1.72.0(@types/react@19.3.0)(react@19.3.1) + version: 1.72.0(@types/react@19.3.3)(react@19.3.1) react: specifier: 19.3.1 version: 19.3.1 @@ -549,11 +549,11 @@ importers: specifier: 22.20.4 version: 22.20.4 '@types/react': - specifier: 19.3.0 - version: 19.3.0 + specifier: 19.3.3 + version: 19.3.3 '@types/react-dom': specifier: 19.3.0 - version: 19.3.0(@types/react@19.3.0) + version: 19.3.0(@types/react@19.3.3) '@vitejs/plugin-react': specifier: 6.3.0 version: 6.3.0(babel-plugin-react-compiler@1.0.0)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1)) @@ -1021,10 +1021,10 @@ packages: resolution: {integrity: sha512-Vd/9EVDiu6PPJt9yAh6roZP6El1xHrdvIVGjyBsHR0RYwNHgL7FJPyIIW4fANJNG6FtyZfvlRPpFI4ZM/lubvw==} engines: {node: '>=18'} - '@effect/atom-react@4.1.3': - resolution: {integrity: sha512-sEAsM6NylBJWbd1VlVwKV8QLZB6pIt37PjGfwphQzoVdrAjJnWrJzirBW+B65ndzybnCl8g69t7aY1SGOJxoaA==} + '@effect/atom-react@4.1.7': + resolution: {integrity: sha512-DDyKohcd4NsdHygwNW2BPzqoR4axSocMOhwQN2rEHfMYKo6EqpRcAsoFRs+rkyHp7YasFcYI8KyasW2sQhvQDQ==} peerDependencies: - effect: ^4.1.3 + effect: ^4.1.7 react: '>=19.0.0 <20.0.0' scheduler: '>=0.25.0 <0.29.0' @@ -2243,14 +2243,14 @@ packages: '@types/react': optional: true - '@react-router/dev@8.5.1': - resolution: {integrity: sha512-1NQ/lP8m7Kd9G4cGKPoEMZe0qcWOnRkf8QxpAcnX/3V5wJp+/mDvM9QUqwUxI+RywytNNGtc4uuDFhwt0xMLbg==} + '@react-router/dev@8.5.3': + resolution: {integrity: sha512-Xph3iTJjoR/zA09Zek+E437GK5Undj/3NdF6N1Gu7CgMBd+aQJminD5YOURSbPmA0cn2GWGZXbfbMhELF+8QqQ==} engines: {node: '>=22.22.0'} hasBin: true peerDependencies: - '@react-router/serve': ^8.5.1 - '@vitejs/plugin-rsc': ~0.5.26 - react-router: ^8.5.1 + '@react-router/serve': ^8.5.3 + '@vitejs/plugin-rsc': ~0.5.38 + react-router: ^8.5.3 react-server-dom-webpack: ^19.2.7 typescript: ^5.1.0 || ^6.0.0 || ^7.0.0 vite: ^7.0.0 || ^8.0.0 @@ -2267,33 +2267,33 @@ packages: wrangler: optional: true - '@react-router/express@8.5.1': - resolution: {integrity: sha512-pWx/cvrOztywTanlaUI/i0T3EbK+OGxdOL0HASHlc1QSLsadx39bNqKuMJFacZscBtZh8NgR1glAcrkIpUL06Q==} + '@react-router/express@8.5.3': + resolution: {integrity: sha512-czW1YAZwfL58nqCasbN2ZRoKAAlpWvQDiMoNtwkGfMYkOSfDoyF4Ipl55fDTOxwvTVdg2G9a6AfAheE6llSkFA==} engines: {node: '>=22.22.0'} peerDependencies: express: ^4.22.2 || ^5 - react-router: 8.5.1 + react-router: 8.5.3 typescript: ^5.1.0 || ^6.0.0 || ^7.0.0 peerDependenciesMeta: typescript: optional: true - '@react-router/node@8.5.1': - resolution: {integrity: sha512-hEr3YFQaSoQL8T85+DqNOpdDLfuD2mKEeGdQAEvfix2bQdCtcpatE0uzB3zYidIUex0iEJG/eOZdAjLrzlJrjA==} + '@react-router/node@8.5.3': + resolution: {integrity: sha512-QqrRKldHLGzcbbZQVPbLSQHLSGG/G3TbqqtQSiEBgViFQQik9d1BmnM9L95yT1q+bhHhbVlxa3Qovvq2JbF6Pw==} engines: {node: '>=22.22.0'} peerDependencies: - react-router: 8.5.1 + react-router: 8.5.3 typescript: ^5.1.0 || ^6.0.0 || ^7.0.0 peerDependenciesMeta: typescript: optional: true - '@react-router/serve@8.5.1': - resolution: {integrity: sha512-frPpfYqIA4f9ynW+tBxUox0BD+yaJJttu1SLPkTOyE5o6/h8Y9ueD4+4dtoCaxmlnF4rKWbcXptRPcwX+KEEZw==} + '@react-router/serve@8.5.3': + resolution: {integrity: sha512-8ZqoMi945qtrNLbM23tNVWjQbmbQO3034tMTQXSnHb+baglcHq9bLaKlSL/Oi1xwVGlKVEST+5qCcnCl3zGflA==} engines: {node: '>=22.22.0'} hasBin: true peerDependencies: - react-router: 8.5.1 + react-router: 8.5.3 '@remix-run/node-fetch-server@0.14.2': resolution: {integrity: sha512-1cpM/f5i1ka/9CUMBwZXZp7Bn92x8VQjzg+F4eEe88DlVdNHkAKrf/vvbZoYgdkfy2bWHtGC6LQGLmojEqOF4Q==} @@ -2619,15 +2619,15 @@ packages: react: '>=18.0.0 || >=19.0.0' react-dom: '>=18.0.0 || >=19.0.0' - '@tanstack/react-start-rsc@0.1.66': - resolution: {integrity: sha512-Utk9e3xJBZGvg0CcmiciW0m2dL45QOHFm/UGgQUcu1w32QvV6p5i8NmewwVcfr8utnexJXifDZZUWeO2NWiLpg==} + '@tanstack/react-start-rsc@0.1.68': + resolution: {integrity: sha512-vwJ41g2HMlxeF1ctnzORXBcpiXBij/IqENHKl1zOv8hsS0mslvqfio5SdCFo/4GKAOjcZWmxqG5GJoJWmryDbg==} engines: {node: '>=22.12.0'} peerDependencies: '@rspack/core': '>=2.0.0-0' - '@vitejs/plugin-rsc': '>=0.5.30' + '@vitejs/plugin-rsc': '>=0.5.38' react: '>=18.0.0 || >=19.0.0' react-dom: '>=18.0.0 || >=19.0.0' - react-server-dom-rspack: '>=0.0.2' + react-server-dom-rspack: '>=0.1.1' peerDependenciesMeta: '@rspack/core': optional: true @@ -2643,8 +2643,8 @@ packages: react: '>=18.0.0 || >=19.0.0' react-dom: '>=18.0.0 || >=19.0.0' - '@tanstack/react-start@1.169.5': - resolution: {integrity: sha512-wbI+pitXm5J2uvFe9aLXVgIjY85ju4efsQ76reE19bZTkqyZzpSb+cBkNV5rZMSrsMzWUsbN5CRctHuWeMkRiA==} + '@tanstack/react-start@1.169.7': + resolution: {integrity: sha512-8/Qg9iVC2oTtAqSdLdML2K+MZ8eBZe00pe6k54CkWYA4nRmrNyN/n2zbMW+rtjDbLAPeQck/1hgS6QBlblPGnw==} engines: {node: '>=22.12.0'} peerDependencies: '@rsbuild/core': ^2.0.5 @@ -2707,8 +2707,8 @@ packages: resolution: {integrity: sha512-QWfUZ3Yo923tdQn38LyKMU8rcTw69zc+T4dAvgTWV4O56SqFRsGfS0lSWIMhJRwXIx/bvdi7nTUBDdZtTHtpTQ==} engines: {node: '>=22.12.0'} - '@tanstack/start-plugin-core@1.171.56': - resolution: {integrity: sha512-xTzXpxfuBsJjBq4xLbQ0Go0/87SReVukjevkqNR3k/rgeKHfjt8nHJDMaQByS97ko+jmSoVY8+TXtRLaCYvI0A==} + '@tanstack/start-plugin-core@1.172.0': + resolution: {integrity: sha512-8VbVDauTOvlersYJcJe/wlIQ3LqPV1oQnWiGwMKilA2Z9r1sDhts+7SCIHBHqr9BjK0Z8w1+X0CKvCygNeD/5g==} engines: {node: '>=22.12.0'} peerDependencies: '@rsbuild/core': ^2.0.5 @@ -2796,6 +2796,9 @@ packages: '@types/react@19.3.0': resolution: {integrity: sha512-N0rFCuH9YoxG9/m61l9MfpJKfmLOVU0em7ipIz6TRgSSkvReLB9vL85GB+yr8Bs5leqpvg96JSwF4ZS1s4viQg==} + '@types/react@19.3.3': + resolution: {integrity: sha512-K8uWpJc4teiuOPdiP1umjeA9rGMgVPiXuoL66fcS1QlwBT1WMqY8PORmub9FadopIs+RCW6siYEs7Lpq+vDlog==} + '@types/tough-cookie@4.0.5': resolution: {integrity: sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==} @@ -3485,8 +3488,8 @@ packages: ee-first@1.1.1: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} - effect@4.1.3: - resolution: {integrity: sha512-QWNEu35groH/78Ejq01lZGt8U0sF1P4nrhbcAZz5WffcS27bUUK9C/db+xWWUwNYUvFD5SrSLE0mFGtwyP0PCQ==} + effect@4.1.7: + resolution: {integrity: sha512-8QUe2XO3auHF5r7+bfIDWxyXlLA0sso4Sia1QYP+vrYA7qb3sq1u2eJmhyXGmKc8yZ+TY2SNxPozeMdyKmWing==} electron-to-chromium@1.5.478: resolution: {integrity: sha512-pftG+ma5Lm8O6/p45bhYT6StBN5ziQymaRzmCZwFl8DwWHKPPD93FdOmP1aqftcepolQYvrcyTLa17kE8Yf+jg==} @@ -3616,8 +3619,8 @@ packages: react: '*' react-native: '*' - expo-glass-effect@58.0.5: - resolution: {integrity: sha512-PkL1X/r0cTs6NG47Xp3TxRvtqSeRmPYhPOHp3GDmZB2oOxpjXge6qLi/bSSv0asFWqf+MLOlXZ+hq2Imuh0Z1g==} + expo-glass-effect@58.0.6: + resolution: {integrity: sha512-2lkGh1LucDm9rG6jjXf1ZoqIqfsrVaSBYPyL5PT+MDmyZIp0iFxNb3kt6rxJRH8zsSoOvre2+yHoUbD/hxxAgg==} peerDependencies: expo: '*' react: '*' @@ -3713,13 +3716,17 @@ packages: resolution: {integrity: sha512-6DBlSZwxk3J0y1j2s4XebAWNiwGaMp32NcWX7b2kJC2+EFf1g+pCcVmx8ylawt2tyLmbDHswm4MHOfrd4bqfvA==} engines: {node: ^22.13.0 || ^24.3.0 || ^26.0.0 || >=27.0.0} + expo-server@58.1.0: + resolution: {integrity: sha512-jo7I6uHnP5OQYKx3+7lbpdVVnOEwFj2ryDkQdauUQSwgh2HuMUkiFXWUIVe01ts6DLRoff5U0Tv+uNb3CMq/kw==} + engines: {node: ^22.13.0 || ^24.3.0 || ^26.0.0 || >=27.0.0} + expo-splash-screen@58.0.13: resolution: {integrity: sha512-RsvDF13tU1wQIy2blzmdbZoWpPWNTYks2A0CUq2AENR7i7u8elSSEfQOdh5TeC0lrrFVbiWfPj2JiM7y/m08Ig==} peerDependencies: expo: '*' - expo-status-bar@58.0.4: - resolution: {integrity: sha512-e6JJHziSSNb1v1VSzmDrAPf6GFoPRdVOIDrTCcK3bHfbJEAZGZ3YZXfqlorZtUFDT0z6NcjaZf0mPWifJZcqew==} + expo-status-bar@58.0.5: + resolution: {integrity: sha512-Lq1h7QpNY2FY7+Dyrn15atrFZs1Yd4IfMfhwyyWb3TqWc+vwtYZH54W9VhhjqXtgitXe+RVAX7YZoCekjbLmug==} peerDependencies: expo: '*' react: '*' @@ -5145,8 +5152,8 @@ packages: '@types/react': optional: true - react-router@8.5.1: - resolution: {integrity: sha512-5u1eQ46QjuXjNfEnLwzrnou1Bm5dquO3xjVYkkMYCudtkicD2AQHtx+fvXzPATtPJx8TW6DR1x1TDRqsfHyZBw==} + react-router@8.5.3: + resolution: {integrity: sha512-oPYDMFH4CFeJ8n2dKvKHPAByYQhEikuvUf6OruNMuxgrq2hvZn7jz0cO/IdFW//EH1a/Vcwi84v405B2Q/gxTw==} engines: {node: '>=22.22.0'} peerDependencies: '@types/react': '>=19.2.0' @@ -5405,6 +5412,10 @@ packages: signal-exit@3.0.7: resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} + signal-exit@4.1.0: + resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} + engines: {node: '>=14'} + simple-plist@1.3.1: resolution: {integrity: sha512-iMSw5i0XseMnrhtIzRb7XpQEXepa9xhWxGUojHBL43SIpQuDQkh3Wpy67ZbDzZVr6EKxvwVChnVpdl8hEVLDiw==} @@ -6474,19 +6485,19 @@ snapshots: '@babel/helper-string-parser': 7.29.11 '@babel/helper-validator-identifier': 7.29.7 - '@base-ui/react@1.9.0(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)': + '@base-ui/react@1.9.0(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)': dependencies: '@babel/runtime': 7.29.13 - '@base-ui/utils': 0.5.0(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) + '@base-ui/utils': 0.5.0(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) '@floating-ui/react-dom': 2.1.9(react-dom@19.3.1(react@19.3.1))(react@19.3.1) '@floating-ui/utils': 0.2.12 react: 19.3.1 react-dom: 19.3.1(react@19.3.1) use-sync-external-store: 1.7.0(react@19.3.1) optionalDependencies: - '@types/react': 19.3.0 + '@types/react': 19.3.3 - '@base-ui/utils@0.5.0(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)': + '@base-ui/utils@0.5.0(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)': dependencies: '@babel/runtime': 7.29.13 '@floating-ui/utils': 0.2.12 @@ -6495,7 +6506,7 @@ snapshots: reselect: 5.3.0 use-sync-external-store: 1.7.0(react@19.3.1) optionalDependencies: - '@types/react': 19.3.0 + '@types/react': 19.3.3 '@csstools/color-helpers@5.1.0': {} @@ -6517,9 +6528,9 @@ snapshots: '@csstools/css-tokenizer@3.0.4': {} - '@effect/atom-react@4.1.3(effect@4.1.3)(react@19.3.1)(scheduler@0.28.0)': + '@effect/atom-react@4.1.7(effect@4.1.7)(react@19.3.1)(scheduler@0.28.0)': dependencies: - effect: 4.1.3 + effect: 4.1.7 react: 19.3.1 scheduler: 0.28.0 @@ -6687,7 +6698,7 @@ snapshots: - typescript - utf-8-validate - '@expo/cli@58.1.19(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-constants@58.0.15)(expo-font@58.0.11(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1))(expo-router@58.0.30)(expo@58.0.23)(react-dom@19.3.1(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1)(typescript@6.0.3)': + '@expo/cli@58.1.19(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-constants@58.0.15)(expo-font@58.0.11(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1))(expo-router@58.0.30)(expo@58.0.23)(react-dom@19.3.1(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1)(typescript@6.0.3)': dependencies: 2g: 1.0.1(typescript@6.0.3) '@expo/code-signing-certificates': 0.0.7 @@ -6698,7 +6709,7 @@ snapshots: '@expo/image-utils': 0.12.6(typescript@6.0.3) '@expo/inline-modules': 0.2.9(typescript@6.0.3) '@expo/json-file': 11.2.1 - '@expo/log-box': 58.0.15(@expo/dom-webview@58.0.2)(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1) + '@expo/log-box': 58.0.15(@expo/dom-webview@58.0.2)(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1) '@expo/log-box-utils': 58.0.2 '@expo/metro': 58.0.0 '@expo/metro-config': 58.0.21(expo@58.0.23)(typescript@6.0.3) @@ -6709,7 +6720,7 @@ snapshots: '@expo/plist': 0.10.1 '@expo/prebuild-config': 58.0.19(typescript@6.0.3) '@expo/require-utils': 58.0.5(typescript@6.0.3) - '@expo/router-server': 58.0.21(@expo/metro-runtime@58.0.17)(expo-constants@58.0.15)(expo-font@58.0.11(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1))(expo-router@58.0.30)(expo-server@58.0.6)(expo@58.0.23)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) + '@expo/router-server': 58.0.21(@expo/metro-runtime@58.0.17)(expo-constants@58.0.15)(expo-font@58.0.11(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1))(expo-router@58.0.30)(expo-server@58.0.6)(expo@58.0.23)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) '@expo/schema-utils': 58.0.3 '@expo/spawn-async': 1.8.0 '@expo/ws-tunnel': 2.0.1(ws@8.22.2) @@ -6727,7 +6738,7 @@ snapshots: compression: 1.8.2 connect: 3.7.0 dnssd-advertise: 1.1.6 - expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.1))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) + expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.1))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) expo-server: 58.0.6 fetch-nodeshim: 0.4.10 getenv: 2.0.0 @@ -6753,8 +6764,8 @@ snapshots: wrap-ansi: 7.0.0 ws: 8.22.2 optionalDependencies: - expo-router: 58.0.30(4fd3e8be9c12fa0595425842b943ceb9) - react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1) + expo-router: 58.0.30(48056d983f33b181763bc6ae8568ce96) + react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1) transitivePeerDependencies: - '@expo/dom-webview' - '@expo/metro-runtime' @@ -6823,13 +6834,13 @@ snapshots: react: 19.3.0 react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0) - '@expo/devtools@58.0.2(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1)': + '@expo/devtools@58.0.2(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1)': dependencies: chalk: 4.1.2 optionalDependencies: - expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.1))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) + expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.1))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) react: 19.3.1 - react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1) + react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1) '@expo/dom-webview@58.0.2(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)': dependencies: @@ -6837,11 +6848,11 @@ snapshots: react: 19.3.0 react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0) - '@expo/dom-webview@58.0.2(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1)': + '@expo/dom-webview@58.0.2(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1)': dependencies: - expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.1))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) + expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.1))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) react: 19.3.1 - react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1) + react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1) '@expo/env@2.5.4': dependencies: @@ -6913,16 +6924,16 @@ snapshots: optionalDependencies: expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.0))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) - '@expo/log-box@58.0.15(@expo/dom-webview@58.0.2)(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1)': + '@expo/log-box@58.0.15(@expo/dom-webview@58.0.2)(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1)': dependencies: - '@expo/dom-webview': 58.0.2(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1) + '@expo/dom-webview': 58.0.2(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1) '@expo/log-box-utils': 58.0.2 anser: 1.4.10 react: 19.3.1 - react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1) + react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1) stacktrace-parser: 0.1.11 optionalDependencies: - expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.1))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) + expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.1))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) '@expo/metro-config@58.0.21(expo@58.0.23)(typescript@6.0.3)': dependencies: @@ -6955,7 +6966,7 @@ snapshots: resolve-from: 5.0.0 tinyglobby: 0.2.17 optionalDependencies: - expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.1))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) + expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.1))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) transitivePeerDependencies: - bufferutil - supports-color @@ -6987,14 +6998,14 @@ snapshots: optionalDependencies: react-dom: 19.3.1(react@19.3.0) - '@expo/metro-runtime@58.0.17(@expo/log-box@58.0.15)(expo@58.0.23)(react-dom@19.3.1(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1)': + '@expo/metro-runtime@58.0.17(@expo/log-box@58.0.15)(expo@58.0.23)(react-dom@19.3.1(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1)': dependencies: - '@expo/log-box': 58.0.15(@expo/dom-webview@58.0.2)(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1) + '@expo/log-box': 58.0.15(@expo/dom-webview@58.0.2)(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1) anser: 1.4.10 - expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.1))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) + expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.1))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) pretty-format: 29.7.0 react: 19.3.1 - react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1) + react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1) stacktrace-parser: 0.1.11 whatwg-fetch: 3.6.20 optionalDependencies: @@ -7095,17 +7106,17 @@ snapshots: transitivePeerDependencies: - supports-color - '@expo/router-server@58.0.21(@expo/metro-runtime@58.0.17)(expo-constants@58.0.15)(expo-font@58.0.11(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1))(expo-router@58.0.30)(expo-server@58.0.6)(expo@58.0.23)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)': + '@expo/router-server@58.0.21(@expo/metro-runtime@58.0.17)(expo-constants@58.0.15)(expo-font@58.0.11(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1))(expo-router@58.0.30)(expo-server@58.0.6)(expo@58.0.23)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)': dependencies: debug: 4.4.3 - expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.1))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) - expo-constants: 58.0.15(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(typescript@6.0.3) - expo-font: 58.0.11(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1) + expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.1))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) + expo-constants: 58.0.15(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(typescript@6.0.3) + expo-font: 58.0.11(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1) expo-server: 58.0.6 react: 19.3.1 optionalDependencies: - '@expo/metro-runtime': 58.0.17(@expo/log-box@58.0.15)(expo@58.0.23)(react-dom@19.3.1(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1) - expo-router: 58.0.30(4fd3e8be9c12fa0595425842b943ceb9) + '@expo/metro-runtime': 58.0.17(@expo/log-box@58.0.15)(expo@58.0.23)(react-dom@19.3.1(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1) + expo-router: 58.0.30(48056d983f33b181763bc6ae8568ce96) react-dom: 19.3.1(react@19.3.1) transitivePeerDependencies: - supports-color @@ -7151,32 +7162,32 @@ snapshots: '@fontsource-variable/geist@5.3.0': {} - '@fuma-translate/react@1.0.2(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)': + '@fuma-translate/react@1.0.2(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)': dependencies: react: 19.3.1 react-dom: 19.3.1(react@19.3.1) optionalDependencies: - '@types/react': 19.3.0 + '@types/react': 19.3.3 - '@fumadocs/base-ui@16.19.0(@types/mdx@2.0.14)(@types/react@19.3.0)(fumadocs-core@16.19.0(@mdx-js/mdx@3.1.1)(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.72.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.6(@babel/core@7.29.13)(@types/node@22.20.4)(babel-plugin-react-compiler@1.0.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react-router@8.5.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react@19.3.1)(zod@4.6.7))(next@16.4.6(@babel/core@7.29.13)(@types/node@22.20.4)(babel-plugin-react-compiler@1.0.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(tailwindcss@4.3.5)(takumi-js@2.22.1(csstype@3.2.3)(react@19.3.1))': + '@fumadocs/base-ui@16.19.0(@types/mdx@2.0.14)(@types/react@19.3.3)(fumadocs-core@16.19.0(@mdx-js/mdx@3.1.1)(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.3.3)(lucide-react@1.72.0(@types/react@19.3.3)(react@19.3.1))(next@16.4.6(@babel/core@7.29.13)(@types/node@22.20.4)(babel-plugin-react-compiler@1.0.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react-router@8.5.3(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react@19.3.1)(zod@4.6.7))(next@16.4.6(@babel/core@7.29.13)(@types/node@22.20.4)(babel-plugin-react-compiler@1.0.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(tailwindcss@4.3.5)(takumi-js@2.22.1(csstype@3.2.3)(react@19.3.1))': dependencies: - '@base-ui/react': 1.9.0(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) - '@fuma-translate/react': 1.0.2(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) + '@base-ui/react': 1.9.0(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) + '@fuma-translate/react': 1.0.2(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) '@fumadocs/tailwind': 0.1.5(tailwindcss@4.3.5) class-variance-authority: 0.7.1 cn: 0.5.2 - fumadocs-core: 16.19.0(@mdx-js/mdx@3.1.1)(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.72.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.6(@babel/core@7.29.13)(@types/node@22.20.4)(babel-plugin-react-compiler@1.0.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react-router@8.5.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react@19.3.1)(zod@4.6.7) - lucide-react: 1.72.0(@types/react@19.3.0)(react@19.3.1) + fumadocs-core: 16.19.0(@mdx-js/mdx@3.1.1)(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.3.3)(lucide-react@1.72.0(@types/react@19.3.3)(react@19.3.1))(next@16.4.6(@babel/core@7.29.13)(@types/node@22.20.4)(babel-plugin-react-compiler@1.0.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react-router@8.5.3(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react@19.3.1)(zod@4.6.7) + lucide-react: 1.72.0(@types/react@19.3.3)(react@19.3.1) motion: 14.12.0(react-dom@19.3.1(react@19.3.1))(react@19.3.1) next-themes: 0.4.6(react-dom@19.3.1(react@19.3.1))(react@19.3.1) react: 19.3.1 react-dom: 19.3.1(react@19.3.1) - react-remove-scroll: 2.7.2(@types/react@19.3.0)(react@19.3.1) + react-remove-scroll: 2.7.2(@types/react@19.3.3)(react@19.3.1) scroll-into-view-if-needed: 3.2.0 shiki: 4.6.0 optionalDependencies: '@types/mdx': 2.0.14 - '@types/react': 19.3.0 + '@types/react': 19.3.3 next: 16.4.6(@babel/core@7.29.13)(@types/node@22.20.4)(babel-plugin-react-compiler@1.0.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) takumi-js: 2.22.1(csstype@3.2.3)(react@19.3.1) transitivePeerDependencies: @@ -7367,18 +7378,18 @@ snapshots: transitivePeerDependencies: - supports-color - '@monarcode/effetch-query@0.1.0(@effect/atom-react@4.1.3(effect@4.1.3)(react@19.3.1)(scheduler@0.28.0))(@monarcode/effetch@0.1.0(effect@4.1.3))(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(effect@4.1.3)(react@19.3.1)': + '@monarcode/effetch-query@0.1.0(@effect/atom-react@4.1.7(effect@4.1.7)(react@19.3.1)(scheduler@0.28.0))(@monarcode/effetch@0.1.0(effect@4.1.7))(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(effect@4.1.7)(react@19.3.1)': dependencies: - effect: 4.1.3 + effect: 4.1.7 optionalDependencies: - '@effect/atom-react': 4.1.3(effect@4.1.3)(react@19.3.1)(scheduler@0.28.0) - '@monarcode/effetch': 0.1.0(effect@4.1.3) + '@effect/atom-react': 4.1.7(effect@4.1.7)(react@19.3.1)(scheduler@0.28.0) + '@monarcode/effetch': 0.1.0(effect@4.1.7) '@tanstack/react-router': 1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1) react: 19.3.1 - '@monarcode/effetch@0.1.0(effect@4.1.3)': + '@monarcode/effetch@0.1.0(effect@4.1.7)': dependencies: - effect: 4.1.3 + effect: 4.1.7 '@next/env@16.4.6': {} @@ -7580,18 +7591,18 @@ snapshots: '@types/react': 19.3.0 '@types/react-dom': 19.3.0(@types/react@19.3.0) - '@radix-ui/react-collection@1.2.0(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)': + '@radix-ui/react-collection@1.2.0(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)': dependencies: - '@radix-ui/react-compose-refs': 1.1.5(@types/react@19.3.0)(react@19.3.1) - '@radix-ui/react-context': 1.3.0(@types/react@19.3.0)(react@19.3.1) - '@radix-ui/react-primitive': 2.2.0(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) - '@radix-ui/react-slot': 1.5.0(@types/react@19.3.0)(react@19.3.1) - '@radix-ui/react-use-layout-effect': 1.1.4(@types/react@19.3.0)(react@19.3.1) + '@radix-ui/react-compose-refs': 1.1.5(@types/react@19.3.3)(react@19.3.1) + '@radix-ui/react-context': 1.3.0(@types/react@19.3.3)(react@19.3.1) + '@radix-ui/react-primitive': 2.2.0(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) + '@radix-ui/react-slot': 1.5.0(@types/react@19.3.3)(react@19.3.1) + '@radix-ui/react-use-layout-effect': 1.1.4(@types/react@19.3.3)(react@19.3.1) react: 19.3.1 react-dom: 19.3.1(react@19.3.1) optionalDependencies: - '@types/react': 19.3.0 - '@types/react-dom': 19.3.0(@types/react@19.3.0) + '@types/react': 19.3.3 + '@types/react-dom': 19.3.0(@types/react@19.3.3) '@radix-ui/react-compose-refs@1.1.5(@types/react@19.3.0)(react@19.3.0)': dependencies: @@ -7599,11 +7610,11 @@ snapshots: optionalDependencies: '@types/react': 19.3.0 - '@radix-ui/react-compose-refs@1.1.5(@types/react@19.3.0)(react@19.3.1)': + '@radix-ui/react-compose-refs@1.1.5(@types/react@19.3.3)(react@19.3.1)': dependencies: react: 19.3.1 optionalDependencies: - '@types/react': 19.3.0 + '@types/react': 19.3.3 '@radix-ui/react-context@1.3.0(@types/react@19.3.0)(react@19.3.0)': dependencies: @@ -7611,11 +7622,11 @@ snapshots: optionalDependencies: '@types/react': 19.3.0 - '@radix-ui/react-context@1.3.0(@types/react@19.3.0)(react@19.3.1)': + '@radix-ui/react-context@1.3.0(@types/react@19.3.3)(react@19.3.1)': dependencies: react: 19.3.1 optionalDependencies: - '@types/react': 19.3.0 + '@types/react': 19.3.3 '@radix-ui/react-direction@1.2.0(@types/react@19.3.0)(react@19.3.0)': dependencies: @@ -7623,11 +7634,11 @@ snapshots: optionalDependencies: '@types/react': 19.3.0 - '@radix-ui/react-direction@1.2.0(@types/react@19.3.0)(react@19.3.1)': + '@radix-ui/react-direction@1.2.0(@types/react@19.3.3)(react@19.3.1)': dependencies: react: 19.3.1 optionalDependencies: - '@types/react': 19.3.0 + '@types/react': 19.3.3 '@radix-ui/react-id@1.1.4(@types/react@19.3.0)(react@19.3.0)': dependencies: @@ -7636,12 +7647,12 @@ snapshots: optionalDependencies: '@types/react': 19.3.0 - '@radix-ui/react-id@1.1.4(@types/react@19.3.0)(react@19.3.1)': + '@radix-ui/react-id@1.1.4(@types/react@19.3.3)(react@19.3.1)': dependencies: - '@radix-ui/react-use-layout-effect': 1.1.4(@types/react@19.3.0)(react@19.3.1) + '@radix-ui/react-use-layout-effect': 1.1.4(@types/react@19.3.3)(react@19.3.1) react: 19.3.1 optionalDependencies: - '@types/react': 19.3.0 + '@types/react': 19.3.3 '@radix-ui/react-presence@1.1.11(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.0))(react@19.3.0)': dependencies: @@ -7652,14 +7663,14 @@ snapshots: '@types/react': 19.3.0 '@types/react-dom': 19.3.0(@types/react@19.3.0) - '@radix-ui/react-presence@1.1.11(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)': + '@radix-ui/react-presence@1.1.11(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)': dependencies: - '@radix-ui/react-use-layout-effect': 1.1.4(@types/react@19.3.0)(react@19.3.1) + '@radix-ui/react-use-layout-effect': 1.1.4(@types/react@19.3.3)(react@19.3.1) react: 19.3.1 react-dom: 19.3.1(react@19.3.1) optionalDependencies: - '@types/react': 19.3.0 - '@types/react-dom': 19.3.0(@types/react@19.3.0) + '@types/react': 19.3.3 + '@types/react-dom': 19.3.0(@types/react@19.3.3) '@radix-ui/react-primitive@2.2.0(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.0))(react@19.3.0)': dependencies: @@ -7670,14 +7681,14 @@ snapshots: '@types/react': 19.3.0 '@types/react-dom': 19.3.0(@types/react@19.3.0) - '@radix-ui/react-primitive@2.2.0(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)': + '@radix-ui/react-primitive@2.2.0(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)': dependencies: - '@radix-ui/react-slot': 1.5.0(@types/react@19.3.0)(react@19.3.1) + '@radix-ui/react-slot': 1.5.0(@types/react@19.3.3)(react@19.3.1) react: 19.3.1 react-dom: 19.3.1(react@19.3.1) optionalDependencies: - '@types/react': 19.3.0 - '@types/react-dom': 19.3.0(@types/react@19.3.0) + '@types/react': 19.3.3 + '@types/react-dom': 19.3.0(@types/react@19.3.3) '@radix-ui/react-roving-focus@1.2.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.0))(react@19.3.0)': dependencies: @@ -7698,24 +7709,24 @@ snapshots: '@types/react': 19.3.0 '@types/react-dom': 19.3.0(@types/react@19.3.0) - '@radix-ui/react-roving-focus@1.2.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)': + '@radix-ui/react-roving-focus@1.2.1(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)': dependencies: '@radix-ui/primitive': 1.2.0 - '@radix-ui/react-collection': 1.2.0(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) - '@radix-ui/react-compose-refs': 1.1.5(@types/react@19.3.0)(react@19.3.1) - '@radix-ui/react-context': 1.3.0(@types/react@19.3.0)(react@19.3.1) - '@radix-ui/react-direction': 1.2.0(@types/react@19.3.0)(react@19.3.1) - '@radix-ui/react-id': 1.1.4(@types/react@19.3.0)(react@19.3.1) - '@radix-ui/react-primitive': 2.2.0(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) - '@radix-ui/react-use-callback-ref': 1.1.5(@types/react@19.3.0)(react@19.3.1) - '@radix-ui/react-use-controllable-state': 1.3.0(@types/react@19.3.0)(react@19.3.1) - '@radix-ui/react-use-is-hydrated': 0.1.3(@types/react@19.3.0)(react@19.3.1) - '@radix-ui/react-use-layout-effect': 1.1.4(@types/react@19.3.0)(react@19.3.1) + '@radix-ui/react-collection': 1.2.0(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) + '@radix-ui/react-compose-refs': 1.1.5(@types/react@19.3.3)(react@19.3.1) + '@radix-ui/react-context': 1.3.0(@types/react@19.3.3)(react@19.3.1) + '@radix-ui/react-direction': 1.2.0(@types/react@19.3.3)(react@19.3.1) + '@radix-ui/react-id': 1.1.4(@types/react@19.3.3)(react@19.3.1) + '@radix-ui/react-primitive': 2.2.0(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) + '@radix-ui/react-use-callback-ref': 1.1.5(@types/react@19.3.3)(react@19.3.1) + '@radix-ui/react-use-controllable-state': 1.3.0(@types/react@19.3.3)(react@19.3.1) + '@radix-ui/react-use-is-hydrated': 0.1.3(@types/react@19.3.3)(react@19.3.1) + '@radix-ui/react-use-layout-effect': 1.1.4(@types/react@19.3.3)(react@19.3.1) react: 19.3.1 react-dom: 19.3.1(react@19.3.1) optionalDependencies: - '@types/react': 19.3.0 - '@types/react-dom': 19.3.0(@types/react@19.3.0) + '@types/react': 19.3.3 + '@types/react-dom': 19.3.0(@types/react@19.3.3) '@radix-ui/react-slot@1.5.0(@types/react@19.3.0)(react@19.3.0)': dependencies: @@ -7724,12 +7735,12 @@ snapshots: optionalDependencies: '@types/react': 19.3.0 - '@radix-ui/react-slot@1.5.0(@types/react@19.3.0)(react@19.3.1)': + '@radix-ui/react-slot@1.5.0(@types/react@19.3.3)(react@19.3.1)': dependencies: - '@radix-ui/react-compose-refs': 1.1.5(@types/react@19.3.0)(react@19.3.1) + '@radix-ui/react-compose-refs': 1.1.5(@types/react@19.3.3)(react@19.3.1) react: 19.3.1 optionalDependencies: - '@types/react': 19.3.0 + '@types/react': 19.3.3 '@radix-ui/react-tabs@1.2.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.0))(react@19.3.0)': dependencies: @@ -7747,21 +7758,21 @@ snapshots: '@types/react': 19.3.0 '@types/react-dom': 19.3.0(@types/react@19.3.0) - '@radix-ui/react-tabs@1.2.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)': + '@radix-ui/react-tabs@1.2.1(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)': dependencies: '@radix-ui/primitive': 1.2.0 - '@radix-ui/react-context': 1.3.0(@types/react@19.3.0)(react@19.3.1) - '@radix-ui/react-direction': 1.2.0(@types/react@19.3.0)(react@19.3.1) - '@radix-ui/react-id': 1.1.4(@types/react@19.3.0)(react@19.3.1) - '@radix-ui/react-presence': 1.1.11(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) - '@radix-ui/react-primitive': 2.2.0(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) - '@radix-ui/react-roving-focus': 1.2.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) - '@radix-ui/react-use-controllable-state': 1.3.0(@types/react@19.3.0)(react@19.3.1) + '@radix-ui/react-context': 1.3.0(@types/react@19.3.3)(react@19.3.1) + '@radix-ui/react-direction': 1.2.0(@types/react@19.3.3)(react@19.3.1) + '@radix-ui/react-id': 1.1.4(@types/react@19.3.3)(react@19.3.1) + '@radix-ui/react-presence': 1.1.11(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) + '@radix-ui/react-primitive': 2.2.0(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) + '@radix-ui/react-roving-focus': 1.2.1(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) + '@radix-ui/react-use-controllable-state': 1.3.0(@types/react@19.3.3)(react@19.3.1) react: 19.3.1 react-dom: 19.3.1(react@19.3.1) optionalDependencies: - '@types/react': 19.3.0 - '@types/react-dom': 19.3.0(@types/react@19.3.0) + '@types/react': 19.3.3 + '@types/react-dom': 19.3.0(@types/react@19.3.3) '@radix-ui/react-use-callback-ref@1.1.5(@types/react@19.3.0)(react@19.3.0)': dependencies: @@ -7770,12 +7781,12 @@ snapshots: optionalDependencies: '@types/react': 19.3.0 - '@radix-ui/react-use-callback-ref@1.1.5(@types/react@19.3.0)(react@19.3.1)': + '@radix-ui/react-use-callback-ref@1.1.5(@types/react@19.3.3)(react@19.3.1)': dependencies: - '@radix-ui/react-use-layout-effect': 1.1.4(@types/react@19.3.0)(react@19.3.1) + '@radix-ui/react-use-layout-effect': 1.1.4(@types/react@19.3.3)(react@19.3.1) react: 19.3.1 optionalDependencies: - '@types/react': 19.3.0 + '@types/react': 19.3.3 '@radix-ui/react-use-controllable-state@1.3.0(@types/react@19.3.0)(react@19.3.0)': dependencies: @@ -7786,14 +7797,14 @@ snapshots: optionalDependencies: '@types/react': 19.3.0 - '@radix-ui/react-use-controllable-state@1.3.0(@types/react@19.3.0)(react@19.3.1)': + '@radix-ui/react-use-controllable-state@1.3.0(@types/react@19.3.3)(react@19.3.1)': dependencies: '@radix-ui/primitive': 1.2.0 - '@radix-ui/react-use-effect-event': 0.0.5(@types/react@19.3.0)(react@19.3.1) - '@radix-ui/react-use-layout-effect': 1.1.4(@types/react@19.3.0)(react@19.3.1) + '@radix-ui/react-use-effect-event': 0.0.5(@types/react@19.3.3)(react@19.3.1) + '@radix-ui/react-use-layout-effect': 1.1.4(@types/react@19.3.3)(react@19.3.1) react: 19.3.1 optionalDependencies: - '@types/react': 19.3.0 + '@types/react': 19.3.3 '@radix-ui/react-use-effect-event@0.0.5(@types/react@19.3.0)(react@19.3.0)': dependencies: @@ -7802,12 +7813,12 @@ snapshots: optionalDependencies: '@types/react': 19.3.0 - '@radix-ui/react-use-effect-event@0.0.5(@types/react@19.3.0)(react@19.3.1)': + '@radix-ui/react-use-effect-event@0.0.5(@types/react@19.3.3)(react@19.3.1)': dependencies: - '@radix-ui/react-use-layout-effect': 1.1.4(@types/react@19.3.0)(react@19.3.1) + '@radix-ui/react-use-layout-effect': 1.1.4(@types/react@19.3.3)(react@19.3.1) react: 19.3.1 optionalDependencies: - '@types/react': 19.3.0 + '@types/react': 19.3.3 '@radix-ui/react-use-is-hydrated@0.1.3(@types/react@19.3.0)(react@19.3.0)': dependencies: @@ -7815,11 +7826,11 @@ snapshots: optionalDependencies: '@types/react': 19.3.0 - '@radix-ui/react-use-is-hydrated@0.1.3(@types/react@19.3.0)(react@19.3.1)': + '@radix-ui/react-use-is-hydrated@0.1.3(@types/react@19.3.3)(react@19.3.1)': dependencies: react: 19.3.1 optionalDependencies: - '@types/react': 19.3.0 + '@types/react': 19.3.3 '@radix-ui/react-use-layout-effect@1.1.4(@types/react@19.3.0)(react@19.3.0)': dependencies: @@ -7827,21 +7838,21 @@ snapshots: optionalDependencies: '@types/react': 19.3.0 - '@radix-ui/react-use-layout-effect@1.1.4(@types/react@19.3.0)(react@19.3.1)': + '@radix-ui/react-use-layout-effect@1.1.4(@types/react@19.3.3)(react@19.3.1)': dependencies: react: 19.3.1 optionalDependencies: - '@types/react': 19.3.0 + '@types/react': 19.3.3 '@react-native-masked-view/masked-view@0.3.2(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)': dependencies: react: 19.3.0 react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0) - '@react-native-masked-view/masked-view@0.3.2(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1)': + '@react-native-masked-view/masked-view@0.3.2(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1)': dependencies: react: 19.3.1 - react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1) + react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1) '@react-native/asset-utils@0.88.1': {} @@ -7980,23 +7991,23 @@ snapshots: optionalDependencies: '@types/react': 19.3.0 - '@react-native/virtualized-lists@0.88.1(@types/react@19.3.0)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1)': + '@react-native/virtualized-lists@0.88.1(@types/react@19.3.3)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1)': dependencies: invariant: 2.2.4 nullthrows: 1.1.1 react: 19.3.1 - react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1) + react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1) optionalDependencies: - '@types/react': 19.3.0 + '@types/react': 19.3.3 - '@react-router/dev@8.5.1(@react-router/serve@8.5.1(react-router@8.5.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(typescript@6.0.3))(react-router@8.5.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(typescript@6.0.3)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1))': + '@react-router/dev@8.5.3(@react-router/serve@8.5.3(react-router@8.5.3(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(typescript@6.0.3))(react-router@8.5.3(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(typescript@6.0.3)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1))': dependencies: '@babel/core': 7.29.13 '@babel/generator': 7.29.13 '@babel/parser': 7.29.13 '@babel/traverse': 7.29.13 '@babel/types': 7.29.11 - '@react-router/node': 8.5.1(react-router@8.5.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(typescript@6.0.3) + '@react-router/node': 8.5.3(react-router@8.5.3(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(typescript@6.0.3) '@remix-run/node-fetch-server': 0.14.2 babel-dead-code-elimination: 1.0.12 chokidar: 5.0.0 @@ -8011,42 +8022,43 @@ snapshots: picocolors: 1.1.1 pkg-types: 2.3.3 react-refresh: 0.18.0 - react-router: 8.5.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) + react-router: 8.5.3(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) semver: 7.8.6 + signal-exit: 4.1.0 tinyglobby: 0.2.17 valibot: 1.5.0(typescript@6.0.3) vite: 8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1) optionalDependencies: - '@react-router/serve': 8.5.1(react-router@8.5.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(typescript@6.0.3) + '@react-router/serve': 8.5.3(react-router@8.5.3(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(typescript@6.0.3) typescript: 6.0.3 transitivePeerDependencies: - babel-plugin-macros - supports-color - '@react-router/express@8.5.1(express@5.3.0)(react-router@8.5.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(typescript@6.0.3)': + '@react-router/express@8.5.3(express@5.3.0)(react-router@8.5.3(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(typescript@6.0.3)': dependencies: - '@react-router/node': 8.5.1(react-router@8.5.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(typescript@6.0.3) + '@react-router/node': 8.5.3(react-router@8.5.3(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(typescript@6.0.3) express: 5.3.0 - react-router: 8.5.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) + react-router: 8.5.3(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) optionalDependencies: typescript: 6.0.3 - '@react-router/node@8.5.1(react-router@8.5.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(typescript@6.0.3)': + '@react-router/node@8.5.3(react-router@8.5.3(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(typescript@6.0.3)': dependencies: '@remix-run/node-fetch-server': 0.14.2 - react-router: 8.5.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) + react-router: 8.5.3(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) optionalDependencies: typescript: 6.0.3 - '@react-router/serve@8.5.1(react-router@8.5.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(typescript@6.0.3)': + '@react-router/serve@8.5.3(react-router@8.5.3(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(typescript@6.0.3)': dependencies: - '@react-router/express': 8.5.1(express@5.3.0)(react-router@8.5.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(typescript@6.0.3) - '@react-router/node': 8.5.1(react-router@8.5.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(typescript@6.0.3) + '@react-router/express': 8.5.3(express@5.3.0)(react-router@8.5.3(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(typescript@6.0.3) + '@react-router/node': 8.5.3(react-router@8.5.3(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(typescript@6.0.3) '@remix-run/node-fetch-server': 0.14.2 compression: 1.8.2 express: 5.3.0 morgan: 1.12.1 - react-router: 8.5.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) + react-router: 8.5.3(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) source-map-support: 0.5.21 transitivePeerDependencies: - supports-color @@ -8292,14 +8304,14 @@ snapshots: react: 19.3.1 react-dom: 19.3.1(react@19.3.1) - '@tanstack/react-start-rsc@0.1.66(esbuild@0.28.2)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(rolldown@1.2.18)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1))': + '@tanstack/react-start-rsc@0.1.68(esbuild@0.28.2)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(rolldown@1.2.18)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1))': dependencies: '@tanstack/react-router': 1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1) '@tanstack/router-core': 1.171.39 '@tanstack/router-utils': 1.163.0 '@tanstack/start-client-core': 1.170.39 '@tanstack/start-fn-stubs': 1.162.0 - '@tanstack/start-plugin-core': 1.171.56(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(esbuild@0.28.2)(rolldown@1.2.18)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1)) + '@tanstack/start-plugin-core': 1.172.0(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(esbuild@0.28.2)(rolldown@1.2.18)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1)) '@tanstack/start-storage-context': 1.167.41 pathe: 2.0.3 react: 19.3.1 @@ -8325,15 +8337,15 @@ snapshots: react: 19.3.1 react-dom: 19.3.1(react@19.3.1) - '@tanstack/react-start@1.169.5(esbuild@0.28.2)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(rolldown@1.2.18)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1))': + '@tanstack/react-start@1.169.7(esbuild@0.28.2)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(rolldown@1.2.18)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1))': dependencies: '@tanstack/react-router': 1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1) '@tanstack/react-start-client': 1.168.45(react-dom@19.3.1(react@19.3.1))(react@19.3.1) - '@tanstack/react-start-rsc': 0.1.66(esbuild@0.28.2)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(rolldown@1.2.18)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1)) + '@tanstack/react-start-rsc': 0.1.68(esbuild@0.28.2)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(rolldown@1.2.18)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1)) '@tanstack/react-start-server': 1.167.52(react-dom@19.3.1(react@19.3.1))(react@19.3.1) '@tanstack/router-utils': 1.163.0 '@tanstack/start-client-core': 1.170.39 - '@tanstack/start-plugin-core': 1.171.56(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(esbuild@0.28.2)(rolldown@1.2.18)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1)) + '@tanstack/start-plugin-core': 1.172.0(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(esbuild@0.28.2)(rolldown@1.2.18)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1)) '@tanstack/start-server-core': 1.169.45 pathe: 2.0.3 react: 19.3.1 @@ -8426,7 +8438,7 @@ snapshots: '@tanstack/start-fn-stubs@1.162.0': {} - '@tanstack/start-plugin-core@1.171.56(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(esbuild@0.28.2)(rolldown@1.2.18)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1))': + '@tanstack/start-plugin-core@1.172.0(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(esbuild@0.28.2)(rolldown@1.2.18)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1))': dependencies: '@babel/code-frame': 7.29.7 '@babel/core': 7.29.13 @@ -8474,12 +8486,12 @@ snapshots: fetchdts: 0.2.0 seroval: 1.8.0 - '@tanstack/start-static-server-functions@1.167.44(@tanstack/react-start@1.169.5(esbuild@0.28.2)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(rolldown@1.2.18)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1)))': + '@tanstack/start-static-server-functions@1.167.44(@tanstack/react-start@1.169.7(esbuild@0.28.2)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(rolldown@1.2.18)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1)))': dependencies: '@tanstack/start-client-core': 1.170.39 seroval: 1.8.0 optionalDependencies: - '@tanstack/react-start': 1.169.5(esbuild@0.28.2)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(rolldown@1.2.18)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1)) + '@tanstack/react-start': 1.169.7(esbuild@0.28.2)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(rolldown@1.2.18)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1)) '@tanstack/start-storage-context@1.167.41': dependencies: @@ -8538,15 +8550,24 @@ snapshots: '@types/react-dom@19.3.0(@types/react@19.3.0)': dependencies: '@types/react': 19.3.0 + optional: true + + '@types/react-dom@19.3.0(@types/react@19.3.3)': + dependencies: + '@types/react': 19.3.3 '@types/react-test-renderer@19.3.1': dependencies: - '@types/react': 19.3.0 + '@types/react': 19.3.3 '@types/react@19.3.0': dependencies: csstype: 3.2.3 + '@types/react@19.3.3': + dependencies: + csstype: 3.2.3 + '@types/tough-cookie@4.0.5': {} '@types/unist@2.0.11': {} @@ -8839,7 +8860,7 @@ snapshots: react-refresh: 0.14.2 optionalDependencies: '@babel/runtime': 7.29.13 - expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.1))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) + expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.1))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) transitivePeerDependencies: - '@babel/core' - supports-color @@ -9131,7 +9152,7 @@ snapshots: ee-first@1.1.1: {} - effect@4.1.3: {} + effect@4.1.7: {} electron-to-chromium@1.5.478: {} @@ -9272,13 +9293,13 @@ snapshots: - supports-color - typescript - expo-asset@58.0.20(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1)(typescript@6.0.3): + expo-asset@58.0.20(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1)(typescript@6.0.3): dependencies: '@expo/image-utils': 0.12.6(typescript@6.0.3) - expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.1))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) - expo-constants: 58.0.15(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(typescript@6.0.3) + expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.1))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) + expo-constants: 58.0.15(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(typescript@6.0.3) react: 19.3.1 - react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1) + react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1) transitivePeerDependencies: - supports-color - typescript @@ -9293,12 +9314,12 @@ snapshots: - supports-color - typescript - expo-constants@58.0.15(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(typescript@6.0.3): + expo-constants@58.0.15(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(typescript@6.0.3): dependencies: '@expo/env': 2.5.4 '@expo/require-utils': 58.0.5(typescript@6.0.3) - expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.1))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) - react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1) + expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.1))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) + react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1) transitivePeerDependencies: - supports-color - typescript @@ -9308,10 +9329,10 @@ snapshots: expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.0))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0) - expo-file-system@58.0.13(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1)): + expo-file-system@58.0.13(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1)): dependencies: - expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.1))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) - react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1) + expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.1))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) + react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1) expo-font@58.0.11(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0): dependencies: @@ -9319,23 +9340,23 @@ snapshots: react: 19.3.0 react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0) - expo-font@58.0.11(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1): + expo-font@58.0.11(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1): dependencies: - expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.1))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) + expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.1))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) react: 19.3.1 - react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1) + react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1) - expo-glass-effect@58.0.5(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0): + expo-glass-effect@58.0.6(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0): dependencies: expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.0))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) react: 19.3.0 react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0) - expo-glass-effect@58.0.5(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1): + expo-glass-effect@58.0.6(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1): dependencies: - expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.1))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) + expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.1))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) react: 19.3.1 - react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1) + react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1) expo-keep-awake@58.0.3(expo@58.0.23)(react@19.3.0): dependencies: @@ -9344,7 +9365,7 @@ snapshots: expo-keep-awake@58.0.3(expo@58.0.23)(react@19.3.1): dependencies: - expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.1))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) + expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.1))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) react: 19.3.1 expo-linking@58.0.16(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3): @@ -9358,13 +9379,13 @@ snapshots: - supports-color - typescript - expo-linking@58.0.16(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1)(typescript@6.0.3): + expo-linking@58.0.16(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1)(typescript@6.0.3): dependencies: - expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.1))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) - expo-constants: 58.0.15(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(typescript@6.0.3) + expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.1))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) + expo-constants: 58.0.15(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(typescript@6.0.3) invariant: 2.2.4 react: 19.3.1 - react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1) + react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1) transitivePeerDependencies: - supports-color - typescript @@ -9395,23 +9416,23 @@ snapshots: optionalDependencies: react-native-worklets: 0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) - expo-modules-core@58.0.30(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1): + expo-modules-core@58.0.30(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1): dependencies: - expo-modules-jsi: 58.0.22(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1)) + expo-modules-jsi: 58.0.22(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1)) expo-modules-macros: 0.29.0 invariant: 2.2.4 react: 19.3.1 - react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1) + react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1) optionalDependencies: - react-native-worklets: 0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1) + react-native-worklets: 0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1) expo-modules-jsi@58.0.22(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0)): dependencies: react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0) - expo-modules-jsi@58.0.22(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1)): + expo-modules-jsi@58.0.22(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1)): dependencies: - react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1) + react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1) expo-modules-macros@0.29.0: optionalDependencies: @@ -9420,38 +9441,38 @@ snapshots: '@expo/modules-macros-win32-arm64': 0.29.0 '@expo/modules-macros-win32-x64': 0.29.0 - expo-router@58.0.30(4fd3e8be9c12fa0595425842b943ceb9): + expo-router@58.0.30(48056d983f33b181763bc6ae8568ce96): dependencies: - '@expo/log-box': 58.0.15(@expo/dom-webview@58.0.2)(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1) - '@expo/metro-runtime': 58.0.17(@expo/log-box@58.0.15)(expo@58.0.23)(react-dom@19.3.1(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1) + '@expo/log-box': 58.0.15(@expo/dom-webview@58.0.2)(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1) + '@expo/metro-runtime': 58.0.17(@expo/log-box@58.0.15)(expo@58.0.23)(react-dom@19.3.1(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1) '@expo/schema-utils': 58.0.3 - '@radix-ui/react-slot': 1.5.0(@types/react@19.3.0)(react@19.3.1) - '@radix-ui/react-tabs': 1.2.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) - '@react-native-masked-view/masked-view': 0.3.2(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1) + '@radix-ui/react-slot': 1.5.0(@types/react@19.3.3)(react@19.3.1) + '@radix-ui/react-tabs': 1.2.1(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) + '@react-native-masked-view/masked-view': 0.3.2(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1) '@react-native/normalize-colors': 0.88.1 client-only: 0.0.1 - expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.1))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) - expo-constants: 58.0.15(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(typescript@6.0.3) - expo-glass-effect: 58.0.5(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1) - expo-linking: 58.0.16(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) - expo-server: 58.0.6 - expo-status-bar: 58.0.4(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1) + expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.1))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) + expo-constants: 58.0.15(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(typescript@6.0.3) + expo-glass-effect: 58.0.6(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1) + expo-linking: 58.0.16(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) + expo-server: 58.1.0 + expo-status-bar: 58.0.5(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1) nanoid: 3.3.20 react: 19.3.1 react-fast-compare: 3.2.2 react-is: 19.3.1 - react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1) - react-native-drawer-layout: 4.2.12(react-native-gesture-handler@3.4.0(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1))(react-native-reanimated@4.7.1(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1) - react-native-safe-area-context: 5.11.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1) - react-native-screens: 4.30.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1) + react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1) + react-native-drawer-layout: 4.2.12(react-native-gesture-handler@3.4.0(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1))(react-native-reanimated@4.7.1(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1) + react-native-safe-area-context: 5.11.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1) + react-native-screens: 4.30.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1) server-only: 0.0.1 sf-symbols-typescript: 2.2.0 standard-navigation: 0.0.5 optionalDependencies: react-dom: 19.3.1(react@19.3.1) - react-native-gesture-handler: 3.4.0(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1) - react-native-reanimated: 4.7.1(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1) - react-native-worklets: 0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1) + react-native-gesture-handler: 3.4.0(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1) + react-native-reanimated: 4.7.1(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1) + react-native-worklets: 0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1) transitivePeerDependencies: - '@types/react' - '@types/react-dom' @@ -9468,10 +9489,10 @@ snapshots: client-only: 0.0.1 expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.0))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) expo-constants: 58.0.15(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(typescript@6.0.3) - expo-glass-effect: 58.0.5(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) + expo-glass-effect: 58.0.6(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) expo-linking: 58.0.16(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) - expo-server: 58.0.6 - expo-status-bar: 58.0.4(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) + expo-server: 58.1.0 + expo-status-bar: 58.0.5(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) nanoid: 3.3.20 react: 19.3.0 react-fast-compare: 3.2.2 @@ -9494,10 +9515,12 @@ snapshots: expo-secure-store@58.0.2(expo@58.0.23): dependencies: - expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.1))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) + expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.1))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) expo-server@58.0.6: {} + expo-server@58.1.0: {} + expo-splash-screen@58.0.13(expo@58.0.23)(typescript@6.0.3): dependencies: '@expo/config-plugins': 58.0.12(typescript@6.0.3) @@ -9508,17 +9531,17 @@ snapshots: - supports-color - typescript - expo-status-bar@58.0.4(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0): + expo-status-bar@58.0.5(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0): dependencies: expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.0))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3) react: 19.3.0 react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0) - expo-status-bar@58.0.4(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1): + expo-status-bar@58.0.5(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1): dependencies: - expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.1))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) + expo: 58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.1))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) react: 19.3.1 - react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1) + react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1) expo@58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.0))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)(typescript@6.0.3): dependencies: @@ -9564,37 +9587,37 @@ snapshots: - typescript - utf-8-validate - expo@58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.1))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1)(typescript@6.0.3): + expo@58.0.23(@babel/core@7.29.13)(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-router@58.0.30)(react-dom@19.3.1(react@19.3.1))(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1)(typescript@6.0.3): dependencies: '@babel/runtime': 7.29.13 - '@expo/cli': 58.1.19(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-constants@58.0.15)(expo-font@58.0.11(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1))(expo-router@58.0.30)(expo@58.0.23)(react-dom@19.3.1(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) + '@expo/cli': 58.1.19(@expo/dom-webview@58.0.2)(@expo/metro-runtime@58.0.17)(expo-constants@58.0.15)(expo-font@58.0.11(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1))(expo-router@58.0.30)(expo@58.0.23)(react-dom@19.3.1(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) '@expo/config': 58.0.11(typescript@6.0.3) '@expo/config-plugins': 58.0.12(typescript@6.0.3) - '@expo/devtools': 58.0.2(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1) + '@expo/devtools': 58.0.2(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1) '@expo/fingerprint': 0.21.9 '@expo/local-build-cache-provider': 58.0.11(typescript@6.0.3) - '@expo/log-box': 58.0.15(@expo/dom-webview@58.0.2)(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1) + '@expo/log-box': 58.0.15(@expo/dom-webview@58.0.2)(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1) '@expo/log-box-utils': 58.0.2 '@expo/metro': 58.0.0 '@expo/metro-config': 58.0.21(expo@58.0.23)(typescript@6.0.3) '@ungap/structured-clone': 1.4.0 babel-preset-expo: 58.0.24(@babel/core@7.29.13)(@babel/runtime@7.29.13)(expo@58.0.23)(react-refresh@0.14.2) - expo-asset: 58.0.20(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) - expo-constants: 58.0.15(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(typescript@6.0.3) - expo-file-system: 58.0.13(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1)) - expo-font: 58.0.11(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1) + expo-asset: 58.0.20(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1)(typescript@6.0.3) + expo-constants: 58.0.15(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(typescript@6.0.3) + expo-file-system: 58.0.13(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1)) + expo-font: 58.0.11(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1) expo-keep-awake: 58.0.3(expo@58.0.23)(react@19.3.1) expo-modules-autolinking: 58.0.17(typescript@6.0.3) expo-modules-cli: 0.4.0 - expo-modules-core: 58.0.30(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1) + expo-modules-core: 58.0.30(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1) pretty-format: 29.7.0 react: 19.3.1 - react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1) + react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1) react-refresh: 0.14.2 whatwg-url-minimum: 0.2.0 optionalDependencies: - '@expo/dom-webview': 58.0.2(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1) - '@expo/metro-runtime': 58.0.17(@expo/log-box@58.0.15)(expo@58.0.23)(react-dom@19.3.1(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1) + '@expo/dom-webview': 58.0.2(expo@58.0.23)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1) + '@expo/metro-runtime': 58.0.17(@expo/log-box@58.0.15)(expo@58.0.23)(react-dom@19.3.1(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1) react-dom: 19.3.1(react@19.3.1) transitivePeerDependencies: - '@babel/core' @@ -9736,7 +9759,7 @@ snapshots: fsevents@2.3.3: optional: true - fumadocs-core@16.19.0(@mdx-js/mdx@3.1.1)(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.72.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.6(@babel/core@7.29.13)(@types/node@22.20.4)(babel-plugin-react-compiler@1.0.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react-router@8.5.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react@19.3.1)(zod@4.6.7): + fumadocs-core@16.19.0(@mdx-js/mdx@3.1.1)(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.3.3)(lucide-react@1.72.0(@types/react@19.3.3)(react@19.3.1))(next@16.4.6(@babel/core@7.29.13)(@types/node@22.20.4)(babel-plugin-react-compiler@1.0.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react-router@8.5.3(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react@19.3.1)(zod@4.6.7): dependencies: '@fumari/image-size': 0.1.1 acorn: 8.19.0 @@ -9765,17 +9788,17 @@ snapshots: '@types/estree-jsx': 1.0.5 '@types/hast': 3.0.4 '@types/mdast': 4.0.4 - '@types/react': 19.3.0 - lucide-react: 1.72.0(@types/react@19.3.0)(react@19.3.1) + '@types/react': 19.3.3 + lucide-react: 1.72.0(@types/react@19.3.3)(react@19.3.1) next: 16.4.6(@babel/core@7.29.13)(@types/node@22.20.4)(babel-plugin-react-compiler@1.0.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) react: 19.3.1 react-dom: 19.3.1(react@19.3.1) - react-router: 8.5.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) + react-router: 8.5.3(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) zod: 4.6.7 transitivePeerDependencies: - supports-color - fumadocs-mdx@15.6.0(@types/mdast@4.0.4)(@types/mdx@2.0.14)(@types/react@19.3.0)(fumadocs-core@16.19.0(@mdx-js/mdx@3.1.1)(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.72.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.6(@babel/core@7.29.13)(@types/node@22.20.4)(babel-plugin-react-compiler@1.0.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react-router@8.5.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react@19.3.1)(zod@4.6.7))(next@16.4.6(@babel/core@7.29.13)(@types/node@22.20.4)(babel-plugin-react-compiler@1.0.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react@19.3.1)(rolldown@1.2.18)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1)): + fumadocs-mdx@15.6.0(@types/mdast@4.0.4)(@types/mdx@2.0.14)(@types/react@19.3.3)(fumadocs-core@16.19.0(@mdx-js/mdx@3.1.1)(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.3.3)(lucide-react@1.72.0(@types/react@19.3.3)(react@19.3.1))(next@16.4.6(@babel/core@7.29.13)(@types/node@22.20.4)(babel-plugin-react-compiler@1.0.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react-router@8.5.3(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react@19.3.1)(zod@4.6.7))(next@16.4.6(@babel/core@7.29.13)(@types/node@22.20.4)(babel-plugin-react-compiler@1.0.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react@19.3.1)(rolldown@1.2.18)(vite@8.3.7(@types/node@22.20.4)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(yaml@2.9.1)): dependencies: '@mdx-js/mdx': 3.1.1 '@standard-schema/spec': 1.1.0 @@ -9784,7 +9807,7 @@ snapshots: chokidar: 6.0.0 esbuild: 0.28.2 estree-util-value-to-estree: 3.5.0 - fumadocs-core: 16.19.0(@mdx-js/mdx@3.1.1)(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.72.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.6(@babel/core@7.29.13)(@types/node@22.20.4)(babel-plugin-react-compiler@1.0.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react-router@8.5.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react@19.3.1)(zod@4.6.7) + fumadocs-core: 16.19.0(@mdx-js/mdx@3.1.1)(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.3.3)(lucide-react@1.72.0(@types/react@19.3.3)(react@19.3.1))(next@16.4.6(@babel/core@7.29.13)(@types/node@22.20.4)(babel-plugin-react-compiler@1.0.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react-router@8.5.3(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react@19.3.1)(zod@4.6.7) github-slugger: 2.0.0 magic-string: 1.4.5 mdast-util-from-markdown: 2.1.0 @@ -9803,7 +9826,7 @@ snapshots: optionalDependencies: '@types/mdast': 4.0.4 '@types/mdx': 2.0.14 - '@types/react': 19.3.0 + '@types/react': 19.3.3 next: 16.4.6(@babel/core@7.29.13)(@types/node@22.20.4)(babel-plugin-react-compiler@1.0.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) react: 19.3.1 rolldown: 1.2.18 @@ -9811,13 +9834,13 @@ snapshots: transitivePeerDependencies: - supports-color - fumadocs-twoslash@4.0.4(a4d2b5dee7a2f0877ec417a3c5a37666): + fumadocs-twoslash@4.0.4(424da543327391fb896ffcec6d7586b0): dependencies: - '@base-ui/react': 1.9.0(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) + '@base-ui/react': 1.9.0(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) '@types/hast': 3.0.5 cn: 0.5.2 - fumadocs-core: 16.19.0(@mdx-js/mdx@3.1.1)(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.72.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.6(@babel/core@7.29.13)(@types/node@22.20.4)(babel-plugin-react-compiler@1.0.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react-router@8.5.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react@19.3.1)(zod@4.6.7) - fumadocs-ui: '@fumadocs/base-ui@16.19.0(@types/mdx@2.0.14)(@types/react@19.3.0)(fumadocs-core@16.19.0(@mdx-js/mdx@3.1.1)(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.72.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.6(@babel/core@7.29.13)(@types/node@22.20.4)(babel-plugin-react-compiler@1.0.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react-router@8.5.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react@19.3.1)(zod@4.6.7))(next@16.4.6(@babel/core@7.29.13)(@types/node@22.20.4)(babel-plugin-react-compiler@1.0.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(tailwindcss@4.3.5)(takumi-js@2.22.1(csstype@3.2.3)(react@19.3.1))' + fumadocs-core: 16.19.0(@mdx-js/mdx@3.1.1)(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.3.3)(lucide-react@1.72.0(@types/react@19.3.3)(react@19.3.1))(next@16.4.6(@babel/core@7.29.13)(@types/node@22.20.4)(babel-plugin-react-compiler@1.0.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react-router@8.5.3(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react@19.3.1)(zod@4.6.7) + fumadocs-ui: '@fumadocs/base-ui@16.19.0(@types/mdx@2.0.14)(@types/react@19.3.3)(fumadocs-core@16.19.0(@mdx-js/mdx@3.1.1)(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.3.3)(lucide-react@1.72.0(@types/react@19.3.3)(react@19.3.1))(next@16.4.6(@babel/core@7.29.13)(@types/node@22.20.4)(babel-plugin-react-compiler@1.0.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react-router@8.5.3(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react@19.3.1)(zod@4.6.7))(next@16.4.6(@babel/core@7.29.13)(@types/node@22.20.4)(babel-plugin-react-compiler@1.0.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(tailwindcss@4.3.5)(takumi-js@2.22.1(csstype@3.2.3)(react@19.3.1))' mdast-util-from-markdown: 2.1.0 mdast-util-to-hast: 13.2.1 react: 19.3.1 @@ -9825,16 +9848,16 @@ snapshots: shiki: 4.6.0 typescript: 7.1.0-beta optionalDependencies: - '@types/react': 19.3.0 + '@types/react': 19.3.3 transitivePeerDependencies: - '@date-fns/tz' - date-fns - supports-color - fumadocs-typescript@5.6.0(4973353664af70f989eae4d3cc58d556): + fumadocs-typescript@5.6.0(83557b0baa7adc5feea546db31cdfc43): dependencies: estree-util-value-to-estree: 3.5.0 - fumadocs-core: 16.19.0(@mdx-js/mdx@3.1.1)(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.72.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.6(@babel/core@7.29.13)(@types/node@22.20.4)(babel-plugin-react-compiler@1.0.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react-router@8.5.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react@19.3.1)(zod@4.6.7) + fumadocs-core: 16.19.0(@mdx-js/mdx@3.1.1)(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.3.3)(lucide-react@1.72.0(@types/react@19.3.3)(react@19.3.1))(next@16.4.6(@babel/core@7.29.13)(@types/node@22.20.4)(babel-plugin-react-compiler@1.0.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react-router@8.5.3(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react@19.3.1)(zod@4.6.7) hast-util-to-estree: 3.1.3 react: 19.3.1 react-dom: 19.3.1(react@19.3.1) @@ -9847,8 +9870,8 @@ snapshots: '@types/estree': 1.0.10 '@types/hast': 3.0.4 '@types/mdast': 4.0.4 - '@types/react': 19.3.0 - fumadocs-ui: '@fumadocs/base-ui@16.19.0(@types/mdx@2.0.14)(@types/react@19.3.0)(fumadocs-core@16.19.0(@mdx-js/mdx@3.1.1)(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.3.0)(lucide-react@1.72.0(@types/react@19.3.0)(react@19.3.1))(next@16.4.6(@babel/core@7.29.13)(@types/node@22.20.4)(babel-plugin-react-compiler@1.0.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react-router@8.5.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react@19.3.1)(zod@4.6.7))(next@16.4.6(@babel/core@7.29.13)(@types/node@22.20.4)(babel-plugin-react-compiler@1.0.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(tailwindcss@4.3.5)(takumi-js@2.22.1(csstype@3.2.3)(react@19.3.1))' + '@types/react': 19.3.3 + fumadocs-ui: '@fumadocs/base-ui@16.19.0(@types/mdx@2.0.14)(@types/react@19.3.3)(fumadocs-core@16.19.0(@mdx-js/mdx@3.1.1)(@tanstack/react-router@1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.3.3)(lucide-react@1.72.0(@types/react@19.3.3)(react@19.3.1))(next@16.4.6(@babel/core@7.29.13)(@types/node@22.20.4)(babel-plugin-react-compiler@1.0.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react-router@8.5.3(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react@19.3.1)(zod@4.6.7))(next@16.4.6(@babel/core@7.29.13)(@types/node@22.20.4)(babel-plugin-react-compiler@1.0.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(tailwindcss@4.3.5)(takumi-js@2.22.1(csstype@3.2.3)(react@19.3.1))' transitivePeerDependencies: - supports-color @@ -10242,11 +10265,11 @@ snapshots: dependencies: yallist: 3.1.1 - lucide-react@1.72.0(@types/react@19.3.0)(react@19.3.1): + lucide-react@1.72.0(@types/react@19.3.3)(react@19.3.1): dependencies: react: 19.3.1 optionalDependencies: - '@types/react': 19.3.0 + '@types/react': 19.3.3 magic-string@0.30.21: dependencies: @@ -11433,13 +11456,13 @@ snapshots: react-native-reanimated: 4.7.1(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) use-latest-callback: 0.2.6(react@19.3.0) - react-native-drawer-layout@4.2.12(react-native-gesture-handler@3.4.0(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1))(react-native-reanimated@4.7.1(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1): + react-native-drawer-layout@4.2.12(react-native-gesture-handler@3.4.0(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1))(react-native-reanimated@4.7.1(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1): dependencies: color: 4.2.3 react: 19.3.1 - react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1) - react-native-gesture-handler: 3.4.0(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1) - react-native-reanimated: 4.7.1(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1) + react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1) + react-native-gesture-handler: 3.4.0(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1) + react-native-reanimated: 4.7.1(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1) use-latest-callback: 0.2.6(react@19.3.1) react-native-gesture-handler@3.4.0(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0): @@ -11449,22 +11472,22 @@ snapshots: react: 19.3.0 react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0) - react-native-gesture-handler@3.4.0(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1): + react-native-gesture-handler@3.4.0(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1): dependencies: '@types/react-test-renderer': 19.3.1 invariant: 2.2.4 react: 19.3.1 - react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1) + react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1) react-native-is-edge-to-edge@1.3.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0): dependencies: react: 19.3.0 react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0) - react-native-is-edge-to-edge@1.3.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1): + react-native-is-edge-to-edge@1.3.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1): dependencies: react: 19.3.1 - react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1) + react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1) react-native-reanimated@4.7.1(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0): dependencies: @@ -11474,12 +11497,12 @@ snapshots: react-native-worklets: 0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0) semver: 7.8.6 - react-native-reanimated@4.7.1(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1): + react-native-reanimated@4.7.1(react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1): dependencies: react: 19.3.1 - react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1) - react-native-is-edge-to-edge: 1.3.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1) - react-native-worklets: 0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1) + react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1) + react-native-is-edge-to-edge: 1.3.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1) + react-native-worklets: 0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1) semver: 7.8.6 react-native-safe-area-context@5.11.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0): @@ -11487,10 +11510,10 @@ snapshots: react: 19.3.0 react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0) - react-native-safe-area-context@5.11.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1): + react-native-safe-area-context@5.11.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1): dependencies: react: 19.3.1 - react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1) + react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1) react-native-screens@4.30.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0): dependencies: @@ -11499,11 +11522,11 @@ snapshots: react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0) warn-once: 0.1.1 - react-native-screens@4.30.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1): + react-native-screens@4.30.1(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1): dependencies: react: 19.3.1 react-freeze: 1.0.4(react@19.3.1) - react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1) + react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1) warn-once: 0.1.1 react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0): @@ -11531,7 +11554,7 @@ snapshots: transitivePeerDependencies: - supports-color - react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1): + react-native-worklets@0.13.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1): dependencies: '@babel/core': 7.29.13 '@babel/generator': 7.29.13 @@ -11550,7 +11573,7 @@ snapshots: '@react-native/metro-config': 0.88.1(@babel/core@7.29.13) convert-source-map: 2.0.0 react: 19.3.1 - react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1) + react-native: 0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1) semver: 7.8.6 whatwg-fetch: 3.6.20 transitivePeerDependencies: @@ -11598,14 +11621,14 @@ snapshots: - supports-color - utf-8-validate - react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1): + react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1): dependencies: '@react-native/asset-utils': 0.88.1 '@react-native/codegen': 0.88.1(@babel/core@7.29.13) '@react-native/community-cli-plugin': 0.88.1(@react-native/metro-config@0.88.1(@babel/core@7.29.13)) '@react-native/gradle-plugin': 0.88.1 '@react-native/normalize-colors': 0.88.1 - '@react-native/virtualized-lists': 0.88.1(@types/react@19.3.0)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.0)(react@19.3.1))(react@19.3.1) + '@react-native/virtualized-lists': 0.88.1(@types/react@19.3.3)(react-native@0.88.1(@babel/core@7.29.13)(@react-native/metro-config@0.88.1(@babel/core@7.29.13))(@types/react@19.3.3)(react@19.3.1))(react@19.3.1) anser: 1.4.10 ansi-regex: 5.0.1 base64-js: 1.5.1 @@ -11631,7 +11654,7 @@ snapshots: ws: 7.5.13 yargs: 17.7.3 optionalDependencies: - '@types/react': 19.3.0 + '@types/react': 19.3.3 transitivePeerDependencies: - '@babel/core' - '@react-native-community/cli' @@ -11644,42 +11667,42 @@ snapshots: react-refresh@0.18.0: {} - react-remove-scroll-bar@2.3.8(@types/react@19.3.0)(react@19.3.1): + react-remove-scroll-bar@2.3.8(@types/react@19.3.3)(react@19.3.1): dependencies: react: 19.3.1 - react-style-singleton: 2.2.3(@types/react@19.3.0)(react@19.3.1) + react-style-singleton: 2.2.3(@types/react@19.3.3)(react@19.3.1) tslib: 2.9.1 optionalDependencies: - '@types/react': 19.3.0 + '@types/react': 19.3.3 - react-remove-scroll@2.7.2(@types/react@19.3.0)(react@19.3.1): + react-remove-scroll@2.7.2(@types/react@19.3.3)(react@19.3.1): dependencies: react: 19.3.1 - react-remove-scroll-bar: 2.3.8(@types/react@19.3.0)(react@19.3.1) - react-style-singleton: 2.2.3(@types/react@19.3.0)(react@19.3.1) + react-remove-scroll-bar: 2.3.8(@types/react@19.3.3)(react@19.3.1) + react-style-singleton: 2.2.3(@types/react@19.3.3)(react@19.3.1) tslib: 2.9.1 - use-callback-ref: 1.3.3(@types/react@19.3.0)(react@19.3.1) - use-sidecar: 1.1.3(@types/react@19.3.0)(react@19.3.1) + use-callback-ref: 1.3.3(@types/react@19.3.3)(react@19.3.1) + use-sidecar: 1.1.3(@types/react@19.3.3)(react@19.3.1) optionalDependencies: - '@types/react': 19.3.0 + '@types/react': 19.3.3 - react-router@8.5.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1): + react-router@8.5.3(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1): dependencies: '@remix-run/route-pattern': 0.22.1 cookie-es: 3.1.1 react: 19.3.1 optionalDependencies: - '@types/react': 19.3.0 - '@types/react-dom': 19.3.0(@types/react@19.3.0) + '@types/react': 19.3.3 + '@types/react-dom': 19.3.0(@types/react@19.3.3) react-dom: 19.3.1(react@19.3.1) - react-style-singleton@2.2.3(@types/react@19.3.0)(react@19.3.1): + react-style-singleton@2.2.3(@types/react@19.3.3)(react@19.3.1): dependencies: get-nonce: 1.0.1 react: 19.3.1 tslib: 2.9.1 optionalDependencies: - '@types/react': 19.3.0 + '@types/react': 19.3.3 react@19.3.0: {} @@ -12033,6 +12056,8 @@ snapshots: signal-exit@3.0.7: {} + signal-exit@4.1.0: {} + simple-plist@1.3.1: dependencies: bplist-creator: 0.1.0 @@ -12318,12 +12343,12 @@ snapshots: escalade: 3.2.0 picocolors: 1.1.1 - use-callback-ref@1.3.3(@types/react@19.3.0)(react@19.3.1): + use-callback-ref@1.3.3(@types/react@19.3.3)(react@19.3.1): dependencies: react: 19.3.1 tslib: 2.9.1 optionalDependencies: - '@types/react': 19.3.0 + '@types/react': 19.3.3 use-latest-callback@0.2.6(react@19.3.0): dependencies: @@ -12333,13 +12358,13 @@ snapshots: dependencies: react: 19.3.1 - use-sidecar@1.1.3(@types/react@19.3.0)(react@19.3.1): + use-sidecar@1.1.3(@types/react@19.3.3)(react@19.3.1): dependencies: detect-node-es: 1.1.0 react: 19.3.1 tslib: 2.9.1 optionalDependencies: - '@types/react': 19.3.0 + '@types/react': 19.3.3 use-sync-external-store@1.7.0(react@19.3.1): dependencies: diff --git a/scripts/api-snapshot.mjs b/scripts/api-snapshot.mjs index 368d20b..6b59a88 100644 --- a/scripts/api-snapshot.mjs +++ b/scripts/api-snapshot.mjs @@ -27,11 +27,15 @@ function entryDeclarations() { const { exports } = JSON.parse( readFileSync(join(root, "package.json"), "utf8"), ); - return Object.entries(exports).flatMap(([subpath, target]) => - typeof target === "object" && target.types - ? [{ subpath, file: join(root, target.types) }] - : [], - ); + return Object.entries(exports).flatMap(([subpath, target]) => { + if (subpath === "./package.json") return []; + // A subpath skipped here would leave its API out of the snapshot. + if (typeof target?.types !== "string") + throw new Error( + `package.json's "${subpath}" export has no top-level types. Teach scripts/api-snapshot.mjs this form, so the snapshot covers it.`, + ); + return [{ subpath, file: join(root, target.types) }]; + }); } /** The declaration file a relative specifier names, or `undefined`. */ @@ -84,6 +88,8 @@ function parse(file) { }; const declarations = new Map(); const exported = new Map(); + // The `export { … }` statement that exports each name it lists. + const exportLists = new Map(); const imports = new Map(); const reexports = []; const augmentations = []; @@ -126,7 +132,11 @@ function parse(file) { ); if (statement.moduleSpecifier) reexports.push({ statement, from, external, names }); - else for (const [name, local] of names) exported.set(name, local); + else + for (const [name, local] of names) { + exported.set(name, local); + exportLists.set(name, statement); + } } } else if ( ts.isModuleDeclaration(statement) && @@ -148,7 +158,15 @@ function parse(file) { } } } - return { source, declarations, exported, imports, reexports, augmentations }; + return { + source, + declarations, + exported, + exportLists, + imports, + reexports, + augmentations, + }; } /** Builds the snapshot's text from `dist`, which must be built first. */ @@ -179,7 +197,12 @@ export function apiSnapshot() { const keepExport = (file, name) => { const parsed = load(file); const local = parsed.exported.get(name); - if (local) return keepLocal(file, local); + if (local) { + // It holds the exported name, which can differ from the local one. + const list = parsed.exportLists.get(name); + if (list) keep(file, list); + return keepLocal(file, local); + } for (const { statement, from, external, names } of parsed.reexports) { const original = names?.get(name); if (!original && (names || external || !exportedNames(from).has(name))) diff --git a/scripts/compat.sh b/scripts/compat.sh new file mode 100644 index 0000000..8a3be03 --- /dev/null +++ b/scripts/compat.sh @@ -0,0 +1,67 @@ +#!/usr/bin/env bash +# Checks the packed package as an app installs it, outside this repository, +# with a TypeScript version or the Node.js on PATH. The app is +# scripts/compat/consumer.ts, which needs no peers. Build first, with +# `pnpm run build`. +# +# bash scripts/compat.sh typescript 5.4 typecheck under NodeNext and Bundler +# bash scripts/compat.sh runtime run it with `node` +# +# The runtime check runs the app compiled to JavaScript, so Node.js versions +# without type stripping can run it too. +set -euo pipefail + +root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" +mode="${1:-}" +version="${2:-}" +if [ "$mode" != runtime ] && { [ "$mode" != typescript ] || [ -z "$version" ]; }; then + echo "Usage: bash scripts/compat.sh typescript | runtime" >&2 + exit 2 +fi +if [ ! -f "$root/dist/index.d.ts" ]; then + echo "✗ No build in dist: run \`pnpm run build\` first" >&2 + exit 1 +fi + +dir="$(mktemp -d "${TMPDIR:-/tmp}/session-kit-compat.XXXXXX")" +trap 'rm -rf "$dir"' EXIT +# Without scripts: `prepack` would run the whole check. +(cd "$root" && pnpm --config.ignore-scripts=true pack --pack-destination "$dir" >/dev/null) +tarball=("$dir"/monarcode-session-kit-*.tgz) +cp "$root/scripts/compat/consumer.ts" "$dir/" +cd "$dir" +echo '{ "name": "session-kit-compat", "private": true, "type": "module" }' >package.json +for resolution in NodeNext Bundler; do + module="$([ "$resolution" = Bundler ] && echo ESNext || echo NodeNext)" + name="$(echo "$resolution" | tr '[:upper:]' '[:lower:]')" + cat >"tsconfig.$name.json" </dev/null + echo "› Typechecking with TypeScript $(./node_modules/.bin/tsc -v | sed 's/^Version //')" + ./node_modules/.bin/tsc -p tsconfig.nodenext.json + ./node_modules/.bin/tsc -p tsconfig.bundler.json +else + typescript="$(cd "$root" && node -p 'require("./package.json").devDependencies.typescript')" + echo "› Installing the package and typescript@$typescript" + npm install --loglevel=error --no-audit --no-fund "${tarball[0]}" "typescript@$typescript" >/dev/null + ./node_modules/.bin/tsc -p tsconfig.nodenext.json --noEmit false --outDir out + echo "› Running it with Node.js $(node --version)" + node out/consumer.js +fi diff --git a/scripts/compat/consumer.ts b/scripts/compat/consumer.ts new file mode 100644 index 0000000..2679bb7 --- /dev/null +++ b/scripts/compat/consumer.ts @@ -0,0 +1,83 @@ +// The package as an app installs it, with no peers: a client signs in and +// out, `authFetch` sends its token, and the server seals the session in a +// cookie and reads it back. `scripts/compat.sh` typechecks it with a +// TypeScript version, and runs it with the Node.js on PATH. +import { + createAuth, + memoryStorage, + type Session, +} from "@monarcode/session-kit"; +import { createAuthFetch } from "@monarcode/session-kit/http"; +import { + type CookieJar, + createServerAuth, +} from "@monarcode/session-kit/server"; +import type { StandardSchemaV1 } from "@standard-schema/spec"; + +type User = { id: string }; + +// A hand-written Standard Schema, so no schema library is installed. +const user: StandardSchemaV1 = { + "~standard": { + version: 1, + vendor: "compat", + validate: (value) => + typeof value === "object" && + value !== null && + typeof (value as { id?: unknown }).id === "string" + ? { value: { id: (value as User).id } } + : { issues: [{ message: "Expected a user with an id" }] }, + }, +}; + +function check(condition: unknown, message: string): asserts condition { + if (!condition) throw new Error(message); +} + +const auth = createAuth({ name: "compat", user, storage: memoryStorage() }); +const unmount = auth.mount(); +await auth.signIn({ + accessToken: "access", + expiresIn: 3600, + user: { id: "1" }, +}); +const session: Session | null = await auth.getSession(); +check(session?.user.id === "1", "signIn didn't save the user"); + +let sent: string | null = null; +globalThis.fetch = (async (input: RequestInfo | URL, init?: RequestInit) => { + sent = new Request(input, init).headers.get("Authorization"); + return new Response("{}"); +}) as typeof fetch; +const authFetch = createAuthFetch(auth, { baseUrl: "https://api.example.com" }); +const response = await authFetch("/me"); +check( + response.ok && sent === "Bearer access", + "authFetch didn't send the token", +); + +await auth.signOut(); +check((await auth.getSession()) === null, "signOut didn't clear the session"); +unmount(); + +const cookies = new Map(); +const jar: CookieJar = { + get: (name) => cookies.get(name), + set: (name, value) => void cookies.set(name, value), + delete: (name) => void cookies.delete(name), + writable: true, +}; +const serverAuth = createServerAuth({ + name: "compat", + user, + secret: "a compat secret of at least 32 characters", +}); +await serverAuth.signIn(jar, { + accessToken: "access", + expiresIn: 3600, + user: { id: "2" }, +}); +const restored = await serverAuth.getSession(jar); +check(restored?.user.id === "2", "the server couldn't read its cookie back"); + +console.log("✓ Signed in and out, sent a token, and sealed a server session"); diff --git a/scripts/prepare-release.mjs b/scripts/prepare-release.mjs index 40068af..56ae3a6 100644 --- a/scripts/prepare-release.mjs +++ b/scripts/prepare-release.mjs @@ -51,11 +51,28 @@ export function prepareRelease(manifest, changelog, version) { }; } -/** Whether version `a`'s major, minor and patch are higher than `b`'s. */ +const stages = ["alpha", "beta", "rc"]; + +/** + * A version's parts in npm's order: major, minor and patch, then the stage, + * where a stable version comes after its prereleases, then the prerelease + * number. + */ +function precedence(version) { + const [base, prerelease] = version.split("-"); + const [stage, number] = prerelease?.split(".") ?? []; + return [ + ...base.split(".").map(Number), + stage === undefined ? stages.length : stages.indexOf(stage), + Number(number ?? 0), + ]; +} + +/** Whether version `a` comes after `b` on npm. */ function isAfter(a, b) { - const [x, y] = [a, b].map((v) => v.split("-")[0].split(".").map(Number)); - for (let i = 0; i < 3; i++) if (x[i] !== y[i]) return x[i] > y[i]; - return false; + const [x, y] = [a, b].map(precedence); + const index = x.findIndex((part, i) => part !== y[i]); + return index !== -1 && x[index] > y[index]; } /** @@ -68,16 +85,12 @@ export function chooseDistTag(version, published) { // A release older than a stable one would take `latest` and move the docs // back to its line, and a prerelease older than another one would move // `next` back. That needs a dist-tag of its own, not built yet. - const newer = stable.test(version) - ? stables.find((existing) => !isAfter(version, existing)) - : published.find((existing) => - stable.test(existing) - ? !isAfter(version, existing) - : isAfter(existing, version), - ); + const newer = (stable.test(version) ? stables : published).find( + (existing) => !isAfter(version, existing), + ); if (newer) throw new Error( - `Version ${version} isn't newer than ${newer}, which is released. The workflow can't release an older line yet.`, + `Version ${version} isn't newer than ${newer}, which is released. The workflow releases only newer versions.`, ); if (stable.test(version)) return "latest"; return stables.length > 0 ? "next" : "latest"; diff --git a/site/content/docs/(latest)/reference/compatibility.mdx b/site/content/docs/(latest)/reference/compatibility.mdx index 784d8e4..99c6f35 100644 --- a/site/content/docs/(latest)/reference/compatibility.mdx +++ b/site/content/docs/(latest)/reference/compatibility.mdx @@ -123,8 +123,10 @@ CI runs every test on Node.js 24, twice: lockfile's version, because 18.1 publishes no `exports` map, so its types don't resolve under NodeNext. -CI also builds each example app, and bundles the Expo app for iOS and -Android. It doesn't run Node.js 20 or 22, browsers or a device. Those are +CI also installs the packed package in an app of its own, with no peers, +and on Node.js 20 and 22 signs in and out, sends a token with `authFetch` +and seals a server session. It builds each example app, and bundles the Expo +app for iOS and Android. It doesn't run browsers or a device: those are built for, but not tested in CI. ## TypeScript @@ -134,4 +136,5 @@ also load Effect's types, and Effect asks for TypeScript 5.9 or newer. The package is ESM-only. CI checks its types with TypeScript 6.0.3 under NodeNext and Bundler resolution, with `exactOptionalPropertyTypes` both on -and off. +and off. It also checks the packed package's main entry point, `/http` and +`/server` with TypeScript 5.4, the oldest supported, and with TypeScript 7. diff --git a/site/content/docs/(latest)/security.mdx b/site/content/docs/(latest)/security.mdx index 30fc81e..59d5393 100644 --- a/site/content/docs/(latest)/security.mdx +++ b/site/content/docs/(latest)/security.mdx @@ -133,3 +133,6 @@ Don't put tokens in loader results or hydrated page data yourself. saves the session. - [Authenticated requests](/docs/client/requests): send the access token to your API, and only there. + +To report a vulnerability in Session kit, follow its +[security policy](https://github.com/monarcode/session-kit/blob/main/SECURITY.md). diff --git a/site/package.json b/site/package.json index 7cdc66a..ef6986d 100644 --- a/site/package.json +++ b/site/package.json @@ -13,7 +13,7 @@ "@fontsource-variable/geist-mono": "5.3.0", "@monarcode/session-kit": "workspace:*", "@tanstack/react-router": "1.170.46", - "@tanstack/react-start": "1.169.5", + "@tanstack/react-start": "1.169.7", "@tanstack/start-static-server-functions": "1.167.44", "@types/hast": "3.0.4", "fumadocs-core": "16.19.0", @@ -30,7 +30,7 @@ "@tailwindcss/vite": "4.3.5", "@types/mdx": "2.0.14", "@types/node": "22.20.4", - "@types/react": "19.3.0", + "@types/react": "19.3.3", "@types/react-dom": "19.3.0", "@vitejs/plugin-react": "6.3.0", "tailwindcss": "4.3.5", diff --git a/site/src/lib/source.ts b/site/src/lib/source.ts index 28121d9..909a82f 100644 --- a/site/src/lib/source.ts +++ b/site/src/lib/source.ts @@ -132,13 +132,15 @@ export const docsLlms = llms(source, { /** * Rewrites what the processed Markdown keeps of the MDX: headings lose their - * anchor IDs, a page's cards become a list, the Introduction's figure keeps - * its text diagram without the tags around it, and links to the site's pages - * get its URL. + * anchor IDs, a type table loses the heading and description it repeats, a + * page's cards become a list, the Introduction's figure keeps its text + * diagram without the tags around it, and links to the site's pages get its + * URL. */ function plainMarkdown(text: string) { - return text - .replace(/^(#+ .*) \[#[\w-]+\]$/gm, "$1") + return dropRepeatedTableHeadings( + text.replace(/^(#+ .*) \[#[\w-]+\]$/gm, "$1"), + ) .replace(/^<\/?(?:Cards|HowItWorks)>\n?/gm, "") .replace(//g, (_, attributes: string) => { const value = (name: string) => @@ -149,6 +151,47 @@ function plainMarkdown(text: string) { .replace(/\]\(\/(?!\/)/g, `](${SITE_URL}/`); } +/** + * A type table's Markdown starts with the type's name as a heading and its + * description, which a reference page has just given above it. Drops that + * second heading and description, down to the table. + */ +function dropRepeatedTableHeadings(text: string) { + const lines = text.split("\n"); + const kept: string[] = []; + let heading: string | undefined; + let fenced = false; + for (let index = 0; index < lines.length; index++) { + const line = lines[index]!; + if (line.startsWith("```")) fenced = !fenced; + const title = fenced ? undefined : headingTitle(line); + if (title !== undefined) { + const table = title === heading ? tableBelow(lines, index) : -1; + if (table !== -1) { + index = table - 1; + continue; + } + heading = title; + } + kept.push(line); + } + return kept.join("\n"); +} + +const headingTitle = (line: string) => /^#+ (.+)$/.exec(line)?.[1]; + +/** + * The line a heading's type table starts on, or -1. The table must come + * before the next heading, so a type without members keeps its text. + */ +function tableBelow(lines: string[], heading: number) { + for (let index = heading + 1; index < lines.length; index++) { + if (lines[index]!.startsWith("| Prop ")) return index; + if (headingTitle(lines[index]!) !== undefined) return -1; + } + return -1; +} + /** * The current release line's root folder in the sidebar. `llms.txt` lists * only its pages, so readers and LLMs don't get an older line's API beside diff --git a/src/effect/auth.ts b/src/effect/auth.ts index 737a843..bf78e11 100644 --- a/src/effect/auth.ts +++ b/src/effect/auth.ts @@ -161,6 +161,17 @@ export type RegisteredUserInput = RegisteredAuth extends { ? Exclude Promise> : never; +// Typed by name, so the published declarations keep `RegisteredAuth` for an +// app's `Register` to resolve. Inferred, tsc resolves it when the package +// builds, with nothing registered, and `yield* Auth` loses the user's type. +const AuthService: Context.ServiceClass< + Auth, + "@monarcode/session-kit/effect/Auth", + RegisteredAuth +> = Context.Service()( + "@monarcode/session-kit/effect/Auth", +); + /** * Your auth client as an Effect service. Its Effects read the session, get * an access token for API calls, sign in and out, update the user, and @@ -214,9 +225,7 @@ export type RegisteredUserInput = RegisteredAuth extends { * * @since 0.1.0 */ -export class Auth extends Context.Service()( - "@monarcode/session-kit/effect/Auth", -) { +export class Auth extends AuthService { /** * Provides `client` as the {@link Auth} service. * diff --git a/tests/consumer.ts b/tests/consumer.ts index 92bb52c..0099077 100644 --- a/tests/consumer.ts +++ b/tests/consumer.ts @@ -516,6 +516,18 @@ const effectProvided: Effect.Effect = Effect.provide( effectEmail, Auth.layer(auth), ); +// The service itself is the registered client too, through `yield* Auth` +// and `Auth.use`. +const effectClientEmail = Effect.gen(function* () { + const client = yield* Auth; + const session = yield* Effect.promise(() => client.getSession()); + return session?.user.email; +}); +const effectClientEmailType: Effect.Effect = + effectClientEmail; +const effectUsedName: Effect.Effect = Auth.useSync( + (client) => client.state.get().status, +); Auth.signIn({ accessToken: "a", user: { id: "1", email: "a@example.com" } }); // @ts-expect-error signIn takes the registered client's user input. Auth.signIn({ accessToken: "a", user: { id: 1 } }); diff --git a/tests/examples.test.ts b/tests/examples.test.ts index b599c73..8bc3fac 100644 --- a/tests/examples.test.ts +++ b/tests/examples.test.ts @@ -22,11 +22,12 @@ const copies = { "react-router-declarative/src/auth.ts", "react-router-framework-spa/app/auth.ts", ], + // Start's server-rendered app reports a failed read in its root route, so + // its guarded layout has no error component. "the TanStack Router guarded layout": [ "tanstack-router/src/routes/_authenticated.tsx", "tanstack-start-spa/src/routes/_authenticated.tsx", "tanstack-start-spa-effetch/src/routes/_authenticated.tsx", - "tanstack-start-ssr/src/routes/_authenticated.tsx", ], "the TanStack Router login route": [ "tanstack-router/src/routes/login.tsx", diff --git a/tests/public-api.snapshot b/tests/public-api.snapshot index 485a4ba..2bd24bc 100644 --- a/tests/public-api.snapshot +++ b/tests/public-api.snapshot @@ -336,8 +336,8 @@ export type RegisteredSignIn = RegisteredAuth extends { export type RegisteredUserInput = RegisteredAuth extends { updateUser: (input: infer Input) => Promise; } ? Exclude Promise> : never; -declare const Auth_base: Context.ServiceClass>; -export declare class Auth extends Auth_base { +declare const AuthService: Context.ServiceClass; +export declare class Auth extends AuthService { static readonly layer: (client: AuthLayerClient) => Layer.Layer; static readonly session: Effect.Effect; static readonly sessionOption: Effect.Effect, AuthFailure, Auth>; @@ -402,6 +402,7 @@ export declare function deepLinkHandler(auth: AuthSource, options?: RememberDeep // dist/expo/gate.d.ts import { type ReactElement, type ReactNode } from "react"; import { type RetryableSource, type UnavailableProps } from "../react/context.js"; +export type { UnavailableProps }; export type SessionGateProps = { children?: ReactNode | undefined; unavailable?: ((props: UnavailableProps) => ReactNode) | undefined; diff --git a/tests/release.test.ts b/tests/release.test.ts index f0377e0..8b16063 100644 --- a/tests/release.test.ts +++ b/tests/release.test.ts @@ -127,7 +127,11 @@ test("a stable release goes to latest, and a prerelease to next once a stable on ["0.2.0", ["0.1.0"], "latest"], ["0.1.0-rc.0", [], "latest"], ["0.1.0-rc.4", ["0.1.0-alpha.8", "0.1.0-rc.3"], "latest"], + ["0.1.0-rc.10", ["0.1.0-rc.9"], "latest"], ["0.2.0-rc.0", ["0.1.0-rc.3", "0.1.0"], "next"], + ["0.2.0-rc.0", ["0.1.0", "0.2.0-beta.3", "0.2.0-alpha.9"], "next"], + // A stable release doesn't wait for a newer line's prerelease. + ["0.1.1", ["0.1.0", "0.2.0-rc.0"], "latest"], ] as const) { assert.equal(chooseDistTag(version, published), tag); } @@ -139,8 +143,16 @@ test("a release older than one already out is refused", () => { ["0.1.0-rc.4", ["0.1.0-rc.3", "0.1.0"]], ["0.2.0-rc.0", ["0.1.0", "0.2.0"]], ["0.1.1-rc.0", ["0.1.0", "0.2.0-rc.1"]], + // Prereleases of one version: by stage, then by number. + ["0.2.0-alpha.9", ["0.1.0", "0.2.0-rc.0"]], + ["0.1.0-beta.0", ["0.1.0-rc.0"]], + ["0.1.0-rc.0", ["0.1.0-rc.1"]], + ["0.1.0-rc.9", ["0.1.0-rc.10"]], ] as const) { - assert.throws(() => chooseDistTag(version, published), /older line/); + assert.throws( + () => chooseDistTag(version, published), + /isn't newer than/, + ); } });