From ecf97dc116765c3808e184d915c38ad9a95c1a7d Mon Sep 17 00:00:00 2001 From: Kyle McDonald Date: Wed, 29 Jul 2026 11:25:22 -0500 Subject: [PATCH 1/5] chore(KNO-14479): upgrade to Vite 8, Vitest 4, and drop React 16 Vite 8 swaps Rollup for rolldown and esbuild for oxc, so this is a toolchain change rather than a version bump. The JSX runtime is the notable part. packages/react and react-core compiled with the classic runtime plus babel-plugin-react-require, which auto-inserted the React import. Under @vitejs/plugin-react 6 the JSX transform is delegated to oxc, which runs before Babel, so the plugin never saw any JSX to react to and every component failed with 'React is not defined'. Moving to the automatic runtime fixes it, but the output then imports react/jsx-runtime, which only exists in React 17+. The react and react-dom peers narrow accordingly. Vitest also had to move in lockstep: vitest 3 does not support Vite 8 and vitest 4 does not support Vite 5, so neither half could land alone without yarn nesting a second Vite and splitting the tree. Build config changes rolldown required: - assetFileNames matched the stylesheet by the literal name 'style.css', which rolldown names after the lib entry instead, so dist/index.css was never emitted and guide-example failed to resolve it - rollup-plugin-execute does not run under rolldown, so the step moving index.css to the dist root silently never fired; replaced with a writeBundle hook. Its find -delete steps are dropped as dead code since rolldown does not emit the empty .css proxy chunks Rollup did - output.interop is rejected outright by rolldown; removed from all five package configs Vitest 4 also stopped accepting arrow functions as constructor mock implementations, which accounted for every remaining test failure, and now warns on vi.mock calls written inside helper functions. --- .changeset/vite-8-drop-react-16.md | 19 + examples/client-example/package.json | 6 +- examples/guide-example/package.json | 4 +- package.json | 4 +- packages/client/package.json | 4 +- packages/client/test/api.test.ts | 35 +- .../client/test/clients/feed/feed.test.ts | 16 +- .../test/clients/feed/socket-manager.test.ts | 4 +- .../client/test/clients/guide/guide.test.ts | 4 +- packages/client/test/test-utils/mocks.ts | 15 +- packages/client/vite.config.mts | 1 - packages/expo/package.json | 6 +- packages/expo/vite.config.mts | 1 - packages/react-core/package.json | 10 +- .../test/core/KnockProvider.test.tsx | 4 +- .../useConnectedMsTeamsChannels.test.tsx | 3 +- .../test/ms-teams/useMsTeamsAuth.test.tsx | 3 +- packages/react-core/test/test-utils/mocks.ts | 12 +- packages/react-core/vite.config.mts | 8 +- packages/react-native/package.json | 4 +- packages/react-native/vite.config.mts | 1 - packages/react/package.json | 12 +- packages/react/vite.config.mts | 36 +- yarn.lock | 1980 +++++------------ 24 files changed, 711 insertions(+), 1481 deletions(-) create mode 100644 .changeset/vite-8-drop-react-16.md diff --git a/.changeset/vite-8-drop-react-16.md b/.changeset/vite-8-drop-react-16.md new file mode 100644 index 000000000..cf93edd7f --- /dev/null +++ b/.changeset/vite-8-drop-react-16.md @@ -0,0 +1,19 @@ +--- +"@knocklabs/react-core": minor +"@knocklabs/react": minor +--- + +Drop React 16 support + +`@knocklabs/react` and `@knocklabs/react-core` now compile with React's +automatic JSX runtime, so their published output imports `react/jsx-runtime`. +That entry point only exists in React 17 and later, so the `react` and +`react-dom` peer ranges narrow from `^16.11.0 || ^17.0.0 || ^18.0.0 || ^19.0.0` +to `^17.0.0 || ^18.0.0 || ^19.0.0`. + +If you are on React 16, stay on the previous release. Everyone on React 17+ can +upgrade with no code changes. + +This comes out of the move to Vite 8, which compiles JSX with oxc before Babel +runs, making the previous classic-runtime setup (`jsxRuntime: "classic"` plus +`babel-plugin-react-require`) unworkable. diff --git a/examples/client-example/package.json b/examples/client-example/package.json index 32f021fd8..5399b5223 100644 --- a/examples/client-example/package.json +++ b/examples/client-example/package.json @@ -38,12 +38,12 @@ }, "devDependencies": { "@testing-library/dom": "^10.4.1", - "@vitejs/plugin-react": "^4.5.1", + "@vitejs/plugin-react": "^6.0.4", "@vitejs/plugin-react-swc": "^4.3.0", "jsdom": "^29.1.0", "prettier": "^3.5.3", - "vite": "^5.4.19", - "vitest": "^3.2.4" + "vite": "^8.1.5", + "vitest": "^4.1.10" }, "engines": { "node": "22.17.0" diff --git a/examples/guide-example/package.json b/examples/guide-example/package.json index 49fc96bf8..96fe066c8 100644 --- a/examples/guide-example/package.json +++ b/examples/guide-example/package.json @@ -20,14 +20,14 @@ "@eslint/js": "^9.9.0", "@types/react": "^19.2.17", "@types/react-dom": "^19.2.3", - "@vitejs/plugin-react": "^4.5.1", + "@vitejs/plugin-react": "^6.0.4", "eslint": "^8.56.0", "eslint-plugin-react-hooks": "^5.2.0", "eslint-plugin-react-refresh": "^0.5.2", "globals": "^16.0.0", "typescript": "^5.8.3", "typescript-eslint": "^8.61.0", - "vite": "^5.4.19" + "vite": "^8.1.5" }, "engines": { "node": "22.17.0" diff --git a/package.json b/package.json index e1955f526..976931948 100644 --- a/package.json +++ b/package.json @@ -60,10 +60,10 @@ "@knocklabs/prettier-config": "workspace:^", "@knocklabs/typescript-config": "workspace:^", "@manypkg/cli": "^0.25.0", - "@vitest/coverage-v8": "^3.2.4", + "@vitest/coverage-v8": "^4.1.10", "prettier": "^3.5.3", "turbo": "^2.9.16", - "vitest": "^3.2.4" + "vitest": "^4.1.10" }, "engines": { "node": ">=24.13.0" diff --git a/packages/client/package.json b/packages/client/package.json index 4fb046195..1221da10a 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -65,8 +65,8 @@ "rimraf": "^6.0.1", "rollup": "^4.46.2", "typescript": "^5.8.3", - "vite": "^5.4.19", - "vitest": "^3.2.4" + "vite": "^8.1.5", + "vitest": "^4.1.10" }, "dependencies": { "@babel/runtime": "^7.28.6", diff --git a/packages/client/test/api.test.ts b/packages/client/test/api.test.ts index 18aff3b4a..cc98bc9a8 100644 --- a/packages/client/test/api.test.ts +++ b/packages/client/test/api.test.ts @@ -33,22 +33,27 @@ const skipRetryDelays = (apiClient: ApiClient) => { .mockResolvedValue(undefined); }; +// `ApiClient` calls `new Socket(...)`, and vitest 4 only lets a mock stand in +// as a constructor when its implementation is a `function` (or class), not an +// arrow function. const { createSocketMock } = vi.hoisted(() => ({ - createSocketMock: () => ({ - connect: vi.fn(), - disconnect: vi.fn(), - isConnected: vi.fn().mockReturnValue(false), - onOpen: vi.fn(), - onClose: vi.fn(), - onError: vi.fn(), - channel: vi.fn().mockReturnValue({ - join: vi.fn(), - leave: vi.fn(), - push: vi.fn(), - on: vi.fn(), - off: vi.fn(), - }), - }), + createSocketMock: function () { + return { + connect: vi.fn(), + disconnect: vi.fn(), + isConnected: vi.fn().mockReturnValue(false), + onOpen: vi.fn(), + onClose: vi.fn(), + onError: vi.fn(), + channel: vi.fn().mockReturnValue({ + join: vi.fn(), + leave: vi.fn(), + push: vi.fn(), + on: vi.fn(), + off: vi.fn(), + }), + }; + }, })); vi.mock("phoenix", () => ({ diff --git a/packages/client/test/clients/feed/feed.test.ts b/packages/client/test/clients/feed/feed.test.ts index fbe6249b3..f3ec82de1 100644 --- a/packages/client/test/clients/feed/feed.test.ts +++ b/packages/client/test/clients/feed/feed.test.ts @@ -858,7 +858,9 @@ describe("Feed", () => { global.BroadcastChannel = vi .fn() - .mockImplementation(() => mockBroadcastChannel); + .mockImplementation(function () { + return mockBroadcastChannel; + } as never); vi.stubGlobal("self", global); const _feed = new Feed( @@ -913,7 +915,9 @@ describe("Feed", () => { global.BroadcastChannel = vi .fn() - .mockImplementation(() => mockBroadcastChannel); + .mockImplementation(function () { + return mockBroadcastChannel; + } as never); vi.stubGlobal("self", global); const feedItem = createUnreadFeedItem(); @@ -958,7 +962,9 @@ describe("Feed", () => { global.BroadcastChannel = vi .fn() - .mockImplementation(() => mockBroadcastChannel); + .mockImplementation(function () { + return mockBroadcastChannel; + } as never); vi.stubGlobal("self", global); // Create a feedItem with circular reference to trigger JSON error @@ -1006,7 +1012,9 @@ describe("Feed", () => { global.BroadcastChannel = vi .fn() - .mockImplementation(() => mockBroadcastChannel); + .mockImplementation(function () { + return mockBroadcastChannel; + } as never); vi.stubGlobal("self", global); // Mock fetch response for when broadcast message triggers refetch diff --git a/packages/client/test/clients/feed/socket-manager.test.ts b/packages/client/test/clients/feed/socket-manager.test.ts index 42cf8aa3d..15d1a96f1 100644 --- a/packages/client/test/clients/feed/socket-manager.test.ts +++ b/packages/client/test/clients/feed/socket-manager.test.ts @@ -53,7 +53,9 @@ describe("FeedSocketManager", () => { unsubscribeFromSocketEvents: vi.fn(), } as unknown as Feed; - vi.mocked(Store).mockImplementation(() => mockStore); + vi.mocked(Store).mockImplementation(function () { + return mockStore; + } as never); vi.mocked(mockSocket.channel).mockReturnValue(mockChannel); socketManager = new FeedSocketManager(mockSocket); diff --git a/packages/client/test/clients/guide/guide.test.ts b/packages/client/test/clients/guide/guide.test.ts index c03eae834..f099e3320 100644 --- a/packages/client/test/clients/guide/guide.test.ts +++ b/packages/client/test/clients/guide/guide.test.ts @@ -56,7 +56,9 @@ const mockStore = { }; vi.mock("@tanstack/store", () => ({ - Store: vi.fn(() => mockStore), + Store: vi.fn(function () { + return mockStore; + }), })); // Mock phoenix diff --git a/packages/client/test/test-utils/mocks.ts b/packages/client/test/test-utils/mocks.ts index 9153d9951..f6e2f0ff3 100644 --- a/packages/client/test/test-utils/mocks.ts +++ b/packages/client/test/test-utils/mocks.ts @@ -276,10 +276,11 @@ export const createEventEmitterMock = () => ({ removeAllListeners: vi.fn(), }); -export const mockJwtDecode = () => { - vi.mock("jwt-decode", () => ({ - jwtDecode: vi.fn().mockReturnValue({ - exp: Math.floor(Date.now() / 1000) + 3600, // 1 hour from now - }), - })); -}; +// `vi.mock` is hoisted to the top of the module regardless of where it's +// written, so it lives at the top level here rather than inside a helper that +// only looked like it had to be called. +vi.mock("jwt-decode", () => ({ + jwtDecode: vi.fn().mockReturnValue({ + exp: Math.floor(Date.now() / 1000) + 3600, // 1 hour from now + }), +})); diff --git a/packages/client/vite.config.mts b/packages/client/vite.config.mts index baf03defd..8f84afd24 100644 --- a/packages/client/vite.config.mts +++ b/packages/client/vite.config.mts @@ -42,7 +42,6 @@ export default defineConfig(({ mode }) => { }, rollupOptions: { output: { - interop: "compat", entryFileNames: () => { return `[name].${CJS ? "js" : "mjs"}`; }, diff --git a/packages/expo/package.json b/packages/expo/package.json index 838277d99..e0fa972c2 100644 --- a/packages/expo/package.json +++ b/packages/expo/package.json @@ -67,7 +67,7 @@ "@types/react-native-htmlview": "^0.16.6", "@typescript-eslint/eslint-plugin": "^8.59.4", "@typescript-eslint/parser": "^8.59.4", - "@vitejs/plugin-react": "^4.5.1", + "@vitejs/plugin-react": "^6.0.4", "eslint": "^8.56.0", "eslint-plugin-react-hooks": "^5.2.0", "eslint-plugin-react-refresh": "^0.5.2", @@ -81,9 +81,9 @@ "react-native-gesture-handler": "~2.30.0", "rimraf": "^6.0.1", "typescript": "^5.8.3", - "vite": "^5.4.19", + "vite": "^8.1.5", "vite-plugin-dts": "^4.5.0", "vite-plugin-no-bundle": "^4.0.0", - "vitest": "^3.2.4" + "vitest": "^4.1.10" } } diff --git a/packages/expo/vite.config.mts b/packages/expo/vite.config.mts index 33ee51157..583366eea 100644 --- a/packages/expo/vite.config.mts +++ b/packages/expo/vite.config.mts @@ -43,7 +43,6 @@ export default defineConfig(({ mode }) => { "expo-notifications", ], output: { - interop: "compat", format: formats[0], globals: { react: "React", diff --git a/packages/react-core/package.json b/packages/react-core/package.json index 5ec0ed841..37cb1aeaa 100644 --- a/packages/react-core/package.json +++ b/packages/react-core/package.json @@ -45,7 +45,7 @@ "url": "https://github.com/knocklabs/javascript/issues" }, "peerDependencies": { - "react": "^16.11.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" + "react": "^17.0.0 || ^18.0.0 || ^19.0.0" }, "dependencies": { "@knocklabs/client": "workspace:^", @@ -61,8 +61,7 @@ "@types/react-dom": "^19.2.3", "@typescript-eslint/eslint-plugin": "^8.59.4", "@typescript-eslint/parser": "^8.59.4", - "@vitejs/plugin-react": "^4.5.1", - "babel-plugin-react-require": "^4.0.3", + "@vitejs/plugin-react": "^6.0.4", "eslint": "^8.56.0", "eslint-plugin-react-hooks": "^5.2.0", "eslint-plugin-react-refresh": "^0.5.2", @@ -70,11 +69,10 @@ "react": "^19.2.7", "react-dom": "^19.2.7", "rimraf": "^6.0.1", - "rollup-plugin-execute": "^1.1.1", "typescript": "^5.8.3", - "vite": "^5.4.19", + "vite": "^8.1.5", "vite-plugin-dts": "^4.5.0", "vite-plugin-no-bundle": "^4.0.0", - "vitest": "^3.2.4" + "vitest": "^4.1.10" } } diff --git a/packages/react-core/test/core/KnockProvider.test.tsx b/packages/react-core/test/core/KnockProvider.test.tsx index f0d6a05a3..fe2ec9161 100644 --- a/packages/react-core/test/core/KnockProvider.test.tsx +++ b/packages/react-core/test/core/KnockProvider.test.tsx @@ -12,7 +12,9 @@ const { knock, mockApiClient } = createMockKnock("test_api_key"); // Mock the Knock client constructor to return our mock instance vi.mock("@knocklabs/client", () => ({ - default: vi.fn().mockImplementation(() => knock), + default: vi.fn().mockImplementation(function () { + return knock; + }), })); // Mock API responses diff --git a/packages/react-core/test/ms-teams/useConnectedMsTeamsChannels.test.tsx b/packages/react-core/test/ms-teams/useConnectedMsTeamsChannels.test.tsx index 3aea9cdf7..22d6f85ff 100644 --- a/packages/react-core/test/ms-teams/useConnectedMsTeamsChannels.test.tsx +++ b/packages/react-core/test/ms-teams/useConnectedMsTeamsChannels.test.tsx @@ -2,7 +2,7 @@ import KnockClient, { type MsTeamsChannelConnection } from "@knocklabs/client"; import { act, renderHook } from "@testing-library/react"; import { beforeAll, beforeEach, describe, expect, it, vi } from "vitest"; -import { mockMsTeamsContext, mockTranslations } from "../test-utils/mocks"; +import { mockMsTeamsContext } from "../test-utils/mocks"; // ---------------------------------------------------------------------------------- // Shared mocks @@ -53,7 +53,6 @@ vi.mock("swr", () => // Apply shared mocks _before_ loading the hook to ensure context is mocked first mockMsTeamsContext(); -mockTranslations(); let useConnectedMsTeamsChannels: typeof import("../../src/modules/ms-teams/hooks/useConnectedMsTeamsChannels").default; diff --git a/packages/react-core/test/ms-teams/useMsTeamsAuth.test.tsx b/packages/react-core/test/ms-teams/useMsTeamsAuth.test.tsx index 57d038e35..b203d1f14 100644 --- a/packages/react-core/test/ms-teams/useMsTeamsAuth.test.tsx +++ b/packages/react-core/test/ms-teams/useMsTeamsAuth.test.tsx @@ -2,7 +2,7 @@ import { act, renderHook } from "@testing-library/react"; import { beforeAll, beforeEach, describe, expect, test, vi } from "vitest"; import type UseMsTeamsAuth from "../../src/modules/ms-teams/hooks/useMsTeamsAuth"; -import { mockMsTeamsContext, mockTranslations } from "../test-utils/mocks"; +import { mockMsTeamsContext } from "../test-utils/mocks"; const TEST_BRANCH_SLUG = "lorem-ipsum-branch"; @@ -19,7 +19,6 @@ mockMsTeamsContext({ setConnectionStatus: mockSetConnectionStatus, setActionLabel: mockSetActionLabel, }); -mockTranslations(); const mockMsTeamsClient = { revokeAccessToken: vi.fn(), diff --git a/packages/react-core/test/test-utils/mocks.ts b/packages/react-core/test/test-utils/mocks.ts index a0eb398bd..438d18ef3 100644 --- a/packages/react-core/test/test-utils/mocks.ts +++ b/packages/react-core/test/test-utils/mocks.ts @@ -80,12 +80,14 @@ export const mockMsTeamsContext = ( /** * Simple translation mock so tests can rely on t(key) => key without importing * real language bundles. + * + * `vi.mock` is hoisted to the top of the module, so this applies to every test + * file importing these helpers — it used to be wrapped in an exported function + * that callers had to invoke, which misrepresented when it actually ran. */ -export const mockTranslations = () => { - vi.mock("../../src/modules/i18n", () => ({ - useTranslations: () => ({ t: (k: string) => k }), - })); -}; +vi.mock("../../src/modules/i18n", () => ({ + useTranslations: () => ({ t: (k: string) => k }), +})); // --------------------------------------------------------------------------- // Internal: manage a shared overrides object to satisfy Vitest hoisting. diff --git a/packages/react-core/vite.config.mts b/packages/react-core/vite.config.mts index 955780afd..9887e766e 100644 --- a/packages/react-core/vite.config.mts +++ b/packages/react-core/vite.config.mts @@ -17,12 +17,7 @@ export default defineConfig(({ mode }) => { dts({ outDir: "dist/types", }), - react({ - jsxRuntime: "classic", - babel: { - plugins: ["react-require"], - }, - }), + react(), noBundlePlugin({ root: "./src" }), codecovVitePlugin({ enableBundleAnalysis: process.env.CODECOV_TOKEN !== undefined, @@ -43,7 +38,6 @@ export default defineConfig(({ mode }) => { // External packages that should not be bundled external: ["react"], output: { - interop: "compat", globals: { react: "React", }, diff --git a/packages/react-native/package.json b/packages/react-native/package.json index 620096c62..3201cdbb8 100644 --- a/packages/react-native/package.json +++ b/packages/react-native/package.json @@ -60,7 +60,7 @@ "@types/react-native-htmlview": "^0.16.6", "@typescript-eslint/eslint-plugin": "^8.59.4", "@typescript-eslint/parser": "^8.59.4", - "@vitejs/plugin-react": "^4.5.1", + "@vitejs/plugin-react": "^6.0.4", "eslint": "^8.56.0", "eslint-plugin-react-hooks": "^5.2.0", "eslint-plugin-react-refresh": "^0.5.2", @@ -70,7 +70,7 @@ "react-native-gesture-handler": "~2.30.0", "rimraf": "^6.0.1", "typescript": "^5.8.3", - "vite": "^5.4.19", + "vite": "^8.1.5", "vite-plugin-dts": "^4.5.0", "vite-plugin-no-bundle": "^4.0.0" } diff --git a/packages/react-native/vite.config.mts b/packages/react-native/vite.config.mts index caca707d1..af4f99cc2 100644 --- a/packages/react-native/vite.config.mts +++ b/packages/react-native/vite.config.mts @@ -35,7 +35,6 @@ export default defineConfig(({ mode }) => { // External packages that should not be bundled into your library. external: ["react", "react-native"], output: { - interop: "compat", format: formats[0], globals: { react: "React", diff --git a/packages/react/package.json b/packages/react/package.json index 90f41ea49..6cc3b3b70 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -61,8 +61,8 @@ "peerDependencies": { "@tanstack/react-router": "^1.0.0", "next": "^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0", - "react": "^16.11.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", - "react-dom": "^16.11.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" + "react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0" }, "peerDependenciesMeta": { "@tanstack/react-router": { @@ -102,8 +102,7 @@ "@types/react-dom": "^19.2.3", "@typescript-eslint/eslint-plugin": "^8.59.4", "@typescript-eslint/parser": "^8.59.4", - "@vitejs/plugin-react": "^4.5.1", - "babel-plugin-react-require": "^4.0.3", + "@vitejs/plugin-react": "^6.0.4", "eslint": "^8.56.0", "eslint-plugin-jsx-a11y": "^6.10.2", "eslint-plugin-react-hooks": "^5.2.0", @@ -113,13 +112,12 @@ "react": "^19.2.7", "react-dom": "^19.2.7", "rimraf": "^6.0.1", - "rollup-plugin-execute": "^1.1.1", "rollup-preserve-directives": "^1.1.3", "typescript": "^5.8.3", - "vite": "^5.4.19", + "vite": "^8.1.5", "vite-plugin-dts": "^4.5.0", "vite-plugin-no-bundle": "^4.0.0", - "vitest": "^3.2.4", + "vitest": "^4.1.10", "vitest-axe": "^0.1.0" } } diff --git a/packages/react/vite.config.mts b/packages/react/vite.config.mts index 625e8a938..ab137e47e 100644 --- a/packages/react/vite.config.mts +++ b/packages/react/vite.config.mts @@ -1,9 +1,9 @@ /// import { codecovVitePlugin } from "@codecov/vite-plugin"; import react from "@vitejs/plugin-react"; +import fs from "fs"; import { createRequire } from "module"; import path from "path"; -import execute from "rollup-plugin-execute"; import preserveDirectives from "rollup-preserve-directives"; import { LibraryFormats, defineConfig, loadEnv } from "vite"; import dts from "vite-plugin-dts"; @@ -26,12 +26,7 @@ export default defineConfig(({ mode }) => { }, }, plugins: [ - react({ - jsxRuntime: "classic", - babel: { - plugins: ["react-require"], - }, - }), + react(), dts({ outDir: "dist/types", }), @@ -60,13 +55,13 @@ export default defineConfig(({ mode }) => { // External peer dependency packages that should not be bundled external: [ "react", "react-dom", "next", /^next\/.*/, "@tanstack/react-router" ], output: { - interop: "compat", globals: { react: "React", }, assetFileNames: (assetInfo) => { - // Rename styles to index.css - if (assetInfo.name === "style.css") { + // Rename styles to index.css. Rolldown names the stylesheet after + // the lib entry rather than "style.css", so match on the extension. + if (assetInfo.name?.endsWith(".css")) { return "index.css"; } return assetInfo.name; @@ -82,15 +77,18 @@ export default defineConfig(({ mode }) => { }, }, plugins: [ - execute([ - // Move index.css to root of dist - `mv dist/esm/index.css dist/index.css`, - // Delete extra .css.js files - `find ./dist -name "*.css.js" -delete`, - `find ./dist -name "*.css.js.map" -delete`, - `find ./dist -name "*.css.mjs" -delete`, - `find ./dist -name "*.css.mjs.map" -delete`, - ]), + { + // Move index.css to root of dist. `assetFileNames` can't do this + // itself, since rolldown rejects patterns that escape the outDir. + name: "move-index-css-to-dist-root", + writeBundle() { + const from = path.resolve(__dirname, "dist/esm/index.css"); + const to = path.resolve(__dirname, "dist/index.css"); + if (fs.existsSync(from)) { + fs.renameSync(from, to); + } + }, + }, // Remove css imports { name: "remove-css-imports", diff --git a/yarn.lock b/yarn.lock index 40dcab023..f19e1e445 100644 --- a/yarn.lock +++ b/yarn.lock @@ -80,7 +80,7 @@ __metadata: languageName: node linkType: hard -"@ampproject/remapping@npm:^2.2.0, @ampproject/remapping@npm:^2.3.0": +"@ampproject/remapping@npm:^2.2.0": version: 2.3.0 resolution: "@ampproject/remapping@npm:2.3.0" dependencies: @@ -218,7 +218,7 @@ __metadata: languageName: node linkType: hard -"@babel/core@npm:^7.11.6, @babel/core@npm:^7.12.3, @babel/core@npm:^7.20.0, @babel/core@npm:^7.24.0, @babel/core@npm:^7.25.2, @babel/core@npm:^7.26.10": +"@babel/core@npm:^7.11.6, @babel/core@npm:^7.12.3, @babel/core@npm:^7.20.0, @babel/core@npm:^7.24.0, @babel/core@npm:^7.25.2": version: 7.27.1 resolution: "@babel/core@npm:7.27.1" dependencies: @@ -868,7 +868,7 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.25.3, @babel/parser@npm:^7.25.4, @babel/parser@npm:^7.27.1, @babel/parser@npm:^7.27.2": +"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.25.3, @babel/parser@npm:^7.27.1, @babel/parser@npm:^7.27.2": version: 7.27.2 resolution: "@babel/parser@npm:7.27.2" dependencies: @@ -879,7 +879,7 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.24.4, @babel/parser@npm:^7.29.7": +"@babel/parser@npm:^7.24.4, @babel/parser@npm:^7.29.3, @babel/parser@npm:^7.29.7": version: 7.29.7 resolution: "@babel/parser@npm:7.29.7" dependencies: @@ -2073,28 +2073,6 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-react-jsx-self@npm:^7.25.9": - version: 7.27.1 - resolution: "@babel/plugin-transform-react-jsx-self@npm:7.27.1" - dependencies: - "@babel/helper-plugin-utils": "npm:^7.27.1" - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10c0/00a4f917b70a608f9aca2fb39aabe04a60aa33165a7e0105fd44b3a8531630eb85bf5572e9f242f51e6ad2fa38c2e7e780902176c863556c58b5ba6f6e164031 - languageName: node - linkType: hard - -"@babel/plugin-transform-react-jsx-source@npm:^7.25.9": - version: 7.27.1 - resolution: "@babel/plugin-transform-react-jsx-source@npm:7.27.1" - dependencies: - "@babel/helper-plugin-utils": "npm:^7.27.1" - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10c0/5e67b56c39c4d03e59e03ba80692b24c5a921472079b63af711b1d250fc37c1733a17069b63537f750f3e937ec44a42b1ee6a46cd23b1a0df5163b17f741f7f2 - languageName: node - linkType: hard - "@babel/plugin-transform-react-jsx@npm:^7.27.1": version: 7.27.1 resolution: "@babel/plugin-transform-react-jsx@npm:7.27.1" @@ -2610,7 +2588,7 @@ __metadata: languageName: node linkType: hard -"@babel/types@npm:^7.0.0, @babel/types@npm:^7.20.7, @babel/types@npm:^7.25.2, @babel/types@npm:^7.25.4, @babel/types@npm:^7.27.1, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4": +"@babel/types@npm:^7.0.0, @babel/types@npm:^7.20.7, @babel/types@npm:^7.25.2, @babel/types@npm:^7.27.1, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4": version: 7.27.1 resolution: "@babel/types@npm:7.27.1" dependencies: @@ -3050,6 +3028,16 @@ __metadata: languageName: node linkType: hard +"@emnapi/core@npm:1.11.1": + version: 1.11.1 + resolution: "@emnapi/core@npm:1.11.1" + dependencies: + "@emnapi/wasi-threads": "npm:1.2.2" + tslib: "npm:^2.4.0" + checksum: 10c0/2c6defdac2d1d26090384655d7d6c9614fa553853b1760597686749e9375dc2aa0dae80a2615b81c254600f5d531d07d8466cde0d331a8caae64b93f3ca5937e + languageName: node + linkType: hard + "@emnapi/core@npm:^1.10.0": version: 1.10.0 resolution: "@emnapi/core@npm:1.10.0" @@ -3070,6 +3058,15 @@ __metadata: languageName: node linkType: hard +"@emnapi/runtime@npm:1.11.1": + version: 1.11.1 + resolution: "@emnapi/runtime@npm:1.11.1" + dependencies: + tslib: "npm:^2.4.0" + checksum: 10c0/04332fb62076afc440aa23316c04bec42f584ca8b074e5507d08e2b33a47cbe0493b1aadb8f3c1057b64ae1e17f5bde1a7bc37f7facc9d0bc25c18197cbd366f + languageName: node + linkType: hard + "@emnapi/runtime@npm:^1.10.0": version: 1.10.0 resolution: "@emnapi/runtime@npm:1.10.0" @@ -3106,6 +3103,15 @@ __metadata: languageName: node linkType: hard +"@emnapi/wasi-threads@npm:1.2.2": + version: 1.2.2 + resolution: "@emnapi/wasi-threads@npm:1.2.2" + dependencies: + tslib: "npm:^2.4.0" + checksum: 10c0/f0dc8269d6b20ae5a7c7b36e7a6a333452009d461038ef4febb29da2f3f78c1e2b1576d7e8970a5c5789ed3caedc1f80f5b0c2a5373bdaf8d03b20432bb55747 + languageName: node + linkType: hard + "@emotion/babel-plugin@npm:^11.13.5": version: 11.13.5 resolution: "@emotion/babel-plugin@npm:11.13.5" @@ -3252,349 +3258,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/aix-ppc64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/aix-ppc64@npm:0.21.5" - conditions: os=aix & cpu=ppc64 - languageName: node - linkType: hard - -"@esbuild/aix-ppc64@npm:0.27.3": - version: 0.27.3 - resolution: "@esbuild/aix-ppc64@npm:0.27.3" - conditions: os=aix & cpu=ppc64 - languageName: node - linkType: hard - -"@esbuild/android-arm64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/android-arm64@npm:0.21.5" - conditions: os=android & cpu=arm64 - languageName: node - linkType: hard - -"@esbuild/android-arm64@npm:0.27.3": - version: 0.27.3 - resolution: "@esbuild/android-arm64@npm:0.27.3" - conditions: os=android & cpu=arm64 - languageName: node - linkType: hard - -"@esbuild/android-arm@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/android-arm@npm:0.21.5" - conditions: os=android & cpu=arm - languageName: node - linkType: hard - -"@esbuild/android-arm@npm:0.27.3": - version: 0.27.3 - resolution: "@esbuild/android-arm@npm:0.27.3" - conditions: os=android & cpu=arm - languageName: node - linkType: hard - -"@esbuild/android-x64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/android-x64@npm:0.21.5" - conditions: os=android & cpu=x64 - languageName: node - linkType: hard - -"@esbuild/android-x64@npm:0.27.3": - version: 0.27.3 - resolution: "@esbuild/android-x64@npm:0.27.3" - conditions: os=android & cpu=x64 - languageName: node - linkType: hard - -"@esbuild/darwin-arm64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/darwin-arm64@npm:0.21.5" - conditions: os=darwin & cpu=arm64 - languageName: node - linkType: hard - -"@esbuild/darwin-arm64@npm:0.27.3": - version: 0.27.3 - resolution: "@esbuild/darwin-arm64@npm:0.27.3" - conditions: os=darwin & cpu=arm64 - languageName: node - linkType: hard - -"@esbuild/darwin-x64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/darwin-x64@npm:0.21.5" - conditions: os=darwin & cpu=x64 - languageName: node - linkType: hard - -"@esbuild/darwin-x64@npm:0.27.3": - version: 0.27.3 - resolution: "@esbuild/darwin-x64@npm:0.27.3" - conditions: os=darwin & cpu=x64 - languageName: node - linkType: hard - -"@esbuild/freebsd-arm64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/freebsd-arm64@npm:0.21.5" - conditions: os=freebsd & cpu=arm64 - languageName: node - linkType: hard - -"@esbuild/freebsd-arm64@npm:0.27.3": - version: 0.27.3 - resolution: "@esbuild/freebsd-arm64@npm:0.27.3" - conditions: os=freebsd & cpu=arm64 - languageName: node - linkType: hard - -"@esbuild/freebsd-x64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/freebsd-x64@npm:0.21.5" - conditions: os=freebsd & cpu=x64 - languageName: node - linkType: hard - -"@esbuild/freebsd-x64@npm:0.27.3": - version: 0.27.3 - resolution: "@esbuild/freebsd-x64@npm:0.27.3" - conditions: os=freebsd & cpu=x64 - languageName: node - linkType: hard - -"@esbuild/linux-arm64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/linux-arm64@npm:0.21.5" - conditions: os=linux & cpu=arm64 - languageName: node - linkType: hard - -"@esbuild/linux-arm64@npm:0.27.3": - version: 0.27.3 - resolution: "@esbuild/linux-arm64@npm:0.27.3" - conditions: os=linux & cpu=arm64 - languageName: node - linkType: hard - -"@esbuild/linux-arm@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/linux-arm@npm:0.21.5" - conditions: os=linux & cpu=arm - languageName: node - linkType: hard - -"@esbuild/linux-arm@npm:0.27.3": - version: 0.27.3 - resolution: "@esbuild/linux-arm@npm:0.27.3" - conditions: os=linux & cpu=arm - languageName: node - linkType: hard - -"@esbuild/linux-ia32@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/linux-ia32@npm:0.21.5" - conditions: os=linux & cpu=ia32 - languageName: node - linkType: hard - -"@esbuild/linux-ia32@npm:0.27.3": - version: 0.27.3 - resolution: "@esbuild/linux-ia32@npm:0.27.3" - conditions: os=linux & cpu=ia32 - languageName: node - linkType: hard - -"@esbuild/linux-loong64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/linux-loong64@npm:0.21.5" - conditions: os=linux & cpu=loong64 - languageName: node - linkType: hard - -"@esbuild/linux-loong64@npm:0.27.3": - version: 0.27.3 - resolution: "@esbuild/linux-loong64@npm:0.27.3" - conditions: os=linux & cpu=loong64 - languageName: node - linkType: hard - -"@esbuild/linux-mips64el@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/linux-mips64el@npm:0.21.5" - conditions: os=linux & cpu=mips64el - languageName: node - linkType: hard - -"@esbuild/linux-mips64el@npm:0.27.3": - version: 0.27.3 - resolution: "@esbuild/linux-mips64el@npm:0.27.3" - conditions: os=linux & cpu=mips64el - languageName: node - linkType: hard - -"@esbuild/linux-ppc64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/linux-ppc64@npm:0.21.5" - conditions: os=linux & cpu=ppc64 - languageName: node - linkType: hard - -"@esbuild/linux-ppc64@npm:0.27.3": - version: 0.27.3 - resolution: "@esbuild/linux-ppc64@npm:0.27.3" - conditions: os=linux & cpu=ppc64 - languageName: node - linkType: hard - -"@esbuild/linux-riscv64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/linux-riscv64@npm:0.21.5" - conditions: os=linux & cpu=riscv64 - languageName: node - linkType: hard - -"@esbuild/linux-riscv64@npm:0.27.3": - version: 0.27.3 - resolution: "@esbuild/linux-riscv64@npm:0.27.3" - conditions: os=linux & cpu=riscv64 - languageName: node - linkType: hard - -"@esbuild/linux-s390x@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/linux-s390x@npm:0.21.5" - conditions: os=linux & cpu=s390x - languageName: node - linkType: hard - -"@esbuild/linux-s390x@npm:0.27.3": - version: 0.27.3 - resolution: "@esbuild/linux-s390x@npm:0.27.3" - conditions: os=linux & cpu=s390x - languageName: node - linkType: hard - -"@esbuild/linux-x64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/linux-x64@npm:0.21.5" - conditions: os=linux & cpu=x64 - languageName: node - linkType: hard - -"@esbuild/linux-x64@npm:0.27.3": - version: 0.27.3 - resolution: "@esbuild/linux-x64@npm:0.27.3" - conditions: os=linux & cpu=x64 - languageName: node - linkType: hard - -"@esbuild/netbsd-arm64@npm:0.27.3": - version: 0.27.3 - resolution: "@esbuild/netbsd-arm64@npm:0.27.3" - conditions: os=netbsd & cpu=arm64 - languageName: node - linkType: hard - -"@esbuild/netbsd-x64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/netbsd-x64@npm:0.21.5" - conditions: os=netbsd & cpu=x64 - languageName: node - linkType: hard - -"@esbuild/netbsd-x64@npm:0.27.3": - version: 0.27.3 - resolution: "@esbuild/netbsd-x64@npm:0.27.3" - conditions: os=netbsd & cpu=x64 - languageName: node - linkType: hard - -"@esbuild/openbsd-arm64@npm:0.27.3": - version: 0.27.3 - resolution: "@esbuild/openbsd-arm64@npm:0.27.3" - conditions: os=openbsd & cpu=arm64 - languageName: node - linkType: hard - -"@esbuild/openbsd-x64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/openbsd-x64@npm:0.21.5" - conditions: os=openbsd & cpu=x64 - languageName: node - linkType: hard - -"@esbuild/openbsd-x64@npm:0.27.3": - version: 0.27.3 - resolution: "@esbuild/openbsd-x64@npm:0.27.3" - conditions: os=openbsd & cpu=x64 - languageName: node - linkType: hard - -"@esbuild/openharmony-arm64@npm:0.27.3": - version: 0.27.3 - resolution: "@esbuild/openharmony-arm64@npm:0.27.3" - conditions: os=openharmony & cpu=arm64 - languageName: node - linkType: hard - -"@esbuild/sunos-x64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/sunos-x64@npm:0.21.5" - conditions: os=sunos & cpu=x64 - languageName: node - linkType: hard - -"@esbuild/sunos-x64@npm:0.27.3": - version: 0.27.3 - resolution: "@esbuild/sunos-x64@npm:0.27.3" - conditions: os=sunos & cpu=x64 - languageName: node - linkType: hard - -"@esbuild/win32-arm64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/win32-arm64@npm:0.21.5" - conditions: os=win32 & cpu=arm64 - languageName: node - linkType: hard - -"@esbuild/win32-arm64@npm:0.27.3": - version: 0.27.3 - resolution: "@esbuild/win32-arm64@npm:0.27.3" - conditions: os=win32 & cpu=arm64 - languageName: node - linkType: hard - -"@esbuild/win32-ia32@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/win32-ia32@npm:0.21.5" - conditions: os=win32 & cpu=ia32 - languageName: node - linkType: hard - -"@esbuild/win32-ia32@npm:0.27.3": - version: 0.27.3 - resolution: "@esbuild/win32-ia32@npm:0.27.3" - conditions: os=win32 & cpu=ia32 - languageName: node - linkType: hard - -"@esbuild/win32-x64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/win32-x64@npm:0.21.5" - conditions: os=win32 & cpu=x64 - languageName: node - linkType: hard - -"@esbuild/win32-x64@npm:0.27.3": - version: 0.27.3 - resolution: "@esbuild/win32-x64@npm:0.27.3" - conditions: os=win32 & cpu=x64 - languageName: node - linkType: hard - "@eslint-community/eslint-utils@npm:^4.2.0, @eslint-community/eslint-utils@npm:^4.4.0, @eslint-community/eslint-utils@npm:^4.7.0": version: 4.7.0 resolution: "@eslint-community/eslint-utils@npm:4.7.0" @@ -4896,7 +4559,7 @@ __metadata: languageName: node linkType: hard -"@jridgewell/trace-mapping@npm:^0.3.18, @jridgewell/trace-mapping@npm:^0.3.23, @jridgewell/trace-mapping@npm:^0.3.24, @jridgewell/trace-mapping@npm:^0.3.25": +"@jridgewell/trace-mapping@npm:^0.3.18, @jridgewell/trace-mapping@npm:^0.3.24, @jridgewell/trace-mapping@npm:^0.3.25": version: 0.3.25 resolution: "@jridgewell/trace-mapping@npm:0.3.25" dependencies: @@ -4916,6 +4579,16 @@ __metadata: languageName: node linkType: hard +"@jridgewell/trace-mapping@npm:^0.3.31": + version: 0.3.31 + resolution: "@jridgewell/trace-mapping@npm:0.3.31" + dependencies: + "@jridgewell/resolve-uri": "npm:^3.1.0" + "@jridgewell/sourcemap-codec": "npm:^1.4.14" + checksum: 10c0/4b30ec8cd56c5fd9a661f088230af01e0c1a3888d11ffb6b47639700f71225be21d1f7e168048d6d4f9449207b978a235c07c8f15c07705685d16dc06280e9d9 + languageName: node + linkType: hard + "@jsamr/counter-style@npm:^2.0.1": version: 2.0.2 resolution: "@jsamr/counter-style@npm:2.0.2" @@ -4965,8 +4638,8 @@ __metadata: rollup: "npm:^4.46.2" typescript: "npm:^5.8.3" urlpattern-polyfill: "npm:^10.0.0" - vite: "npm:^5.4.19" - vitest: "npm:^3.2.4" + vite: "npm:^8.1.5" + vitest: "npm:^4.1.10" languageName: unknown linkType: soft @@ -5042,7 +4715,7 @@ __metadata: "@types/react-native-htmlview": "npm:^0.16.6" "@typescript-eslint/eslint-plugin": "npm:^8.59.4" "@typescript-eslint/parser": "npm:^8.59.4" - "@vitejs/plugin-react": "npm:^4.5.1" + "@vitejs/plugin-react": "npm:^6.0.4" eslint: "npm:^8.56.0" eslint-plugin-react-hooks: "npm:^5.2.0" eslint-plugin-react-refresh: "npm:^0.5.2" @@ -5058,10 +4731,10 @@ __metadata: react-native-svg: "npm:~15.15.3" rimraf: "npm:^6.0.1" typescript: "npm:^5.8.3" - vite: "npm:^5.4.19" + vite: "npm:^8.1.5" vite-plugin-dts: "npm:^4.5.0" vite-plugin-no-bundle: "npm:^4.0.0" - vitest: "npm:^3.2.4" + vitest: "npm:^4.1.10" peerDependencies: expo: "*" expo-constants: "*" @@ -5088,10 +4761,10 @@ __metadata: "@knocklabs/prettier-config": "workspace:^" "@knocklabs/typescript-config": "workspace:^" "@manypkg/cli": "npm:^0.25.0" - "@vitest/coverage-v8": "npm:^3.2.4" + "@vitest/coverage-v8": "npm:^4.1.10" prettier: "npm:^3.5.3" turbo: "npm:^2.9.16" - vitest: "npm:^3.2.4" + vitest: "npm:^4.1.10" dependenciesMeta: "@swc/core": built: true @@ -5135,8 +4808,7 @@ __metadata: "@types/react-dom": "npm:^19.2.3" "@typescript-eslint/eslint-plugin": "npm:^8.59.4" "@typescript-eslint/parser": "npm:^8.59.4" - "@vitejs/plugin-react": "npm:^4.5.1" - babel-plugin-react-require: "npm:^4.0.3" + "@vitejs/plugin-react": "npm:^6.0.4" date-fns: "npm:^4.0.0" eslint: "npm:^8.56.0" eslint-plugin-react-hooks: "npm:^5.2.0" @@ -5145,15 +4817,14 @@ __metadata: react: "npm:^19.2.7" react-dom: "npm:^19.2.7" rimraf: "npm:^6.0.1" - rollup-plugin-execute: "npm:^1.1.1" swr: "npm:^2.4.1" typescript: "npm:^5.8.3" - vite: "npm:^5.4.19" + vite: "npm:^8.1.5" vite-plugin-dts: "npm:^4.5.0" vite-plugin-no-bundle: "npm:^4.0.0" - vitest: "npm:^3.2.4" + vitest: "npm:^4.1.10" peerDependencies: - react: ^16.11.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 + react: ^17.0.0 || ^18.0.0 || ^19.0.0 languageName: unknown linkType: soft @@ -5169,7 +4840,7 @@ __metadata: "@types/react-native-htmlview": "npm:^0.16.6" "@typescript-eslint/eslint-plugin": "npm:^8.59.4" "@typescript-eslint/parser": "npm:^8.59.4" - "@vitejs/plugin-react": "npm:^4.5.1" + "@vitejs/plugin-react": "npm:^6.0.4" eslint: "npm:^8.56.0" eslint-plugin-react-hooks: "npm:^5.2.0" eslint-plugin-react-refresh: "npm:^0.5.2" @@ -5182,7 +4853,7 @@ __metadata: react-native-svg: "npm:~15.15.3" rimraf: "npm:^6.0.1" typescript: "npm:^5.8.3" - vite: "npm:^5.4.19" + vite: "npm:^8.1.5" vite-plugin-dts: "npm:^4.5.0" vite-plugin-no-bundle: "npm:^4.0.0" peerDependencies: @@ -5222,8 +4893,7 @@ __metadata: "@types/react-dom": "npm:^19.2.3" "@typescript-eslint/eslint-plugin": "npm:^8.59.4" "@typescript-eslint/parser": "npm:^8.59.4" - "@vitejs/plugin-react": "npm:^4.5.1" - babel-plugin-react-require: "npm:^4.0.3" + "@vitejs/plugin-react": "npm:^6.0.4" eslint: "npm:^8.56.0" eslint-plugin-jsx-a11y: "npm:^6.10.2" eslint-plugin-react-hooks: "npm:^5.2.0" @@ -5234,19 +4904,18 @@ __metadata: react: "npm:^19.2.7" react-dom: "npm:^19.2.7" rimraf: "npm:^6.0.1" - rollup-plugin-execute: "npm:^1.1.1" rollup-preserve-directives: "npm:^1.1.3" typescript: "npm:^5.8.3" - vite: "npm:^5.4.19" + vite: "npm:^8.1.5" vite-plugin-dts: "npm:^4.5.0" vite-plugin-no-bundle: "npm:^4.0.0" - vitest: "npm:^3.2.4" + vitest: "npm:^4.1.10" vitest-axe: "npm:^0.1.0" peerDependencies: "@tanstack/react-router": ^1.0.0 next: ^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 - react: ^16.11.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 - react-dom: ^16.11.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 + react: ^17.0.0 || ^18.0.0 || ^19.0.0 + react-dom: ^17.0.0 || ^18.0.0 || ^19.0.0 peerDependenciesMeta: "@tanstack/react-router": optional: true @@ -5495,6 +5164,18 @@ __metadata: languageName: node linkType: hard +"@napi-rs/wasm-runtime@npm:^1.1.6": + version: 1.2.0 + resolution: "@napi-rs/wasm-runtime@npm:1.2.0" + dependencies: + "@tybys/wasm-util": "npm:^0.10.3" + peerDependencies: + "@emnapi/core": ^2.0.0-alpha.3 + "@emnapi/runtime": ^2.0.0-alpha.3 + checksum: 10c0/adee6b8007f538e6c6f30cabf075936597a0a0d9d49fea9aafd14f628e0e307e710071fc21116fbae189f6bb02d0af772de2fff7b021da4249b2a625fa4920c3 + languageName: node + linkType: hard + "@native-html/css-processor@npm:1.11.0": version: 1.11.0 resolution: "@native-html/css-processor@npm:1.11.0" @@ -5784,6 +5465,13 @@ __metadata: languageName: node linkType: hard +"@oxc-project/types@npm:=0.139.0": + version: 0.139.0 + resolution: "@oxc-project/types@npm:0.139.0" + checksum: 10c0/ad57d1bee4b972ecf6784183da12ac6865edfff326bd83712fb75262b901868bc2b72d6fb502465a5f0dbaaded2910003f73365caf3821901dad565cc0b7fdf2 + languageName: node + linkType: hard + "@pkgjs/parseargs@npm:^0.11.0": version: 0.11.0 resolution: "@pkgjs/parseargs@npm:0.11.0" @@ -6593,187 +6281,191 @@ __metadata: languageName: node linkType: hard -"@rolldown/pluginutils@npm:1.0.0-beta.9": - version: 1.0.0-beta.9 - resolution: "@rolldown/pluginutils@npm:1.0.0-beta.9" - checksum: 10c0/21aebb7ebd093282efd96f63ddd465f76746b1d70282366d6ccc7fff6eb4da5c2f8f4bfaaaeb4283c2432600e5609e39e9897864575e593efc11d376ca1a6fa1 +"@rolldown/binding-android-arm64@npm:1.1.5": + version: 1.1.5 + resolution: "@rolldown/binding-android-arm64@npm:1.1.5" + conditions: os=android & cpu=arm64 languageName: node linkType: hard -"@rolldown/pluginutils@npm:1.0.0-rc.7": - version: 1.0.0-rc.7 - resolution: "@rolldown/pluginutils@npm:1.0.0-rc.7" - checksum: 10c0/9d5490b5805b25bcd1720ca01c4c032b55a0ef953dab36a8dd42c568e82214576baa464f3027cd5dff3fabcfbe3bf3db2251d12b60220f5d1cd2ffde5ee37082 +"@rolldown/binding-darwin-arm64@npm:1.1.5": + version: 1.1.5 + resolution: "@rolldown/binding-darwin-arm64@npm:1.1.5" + conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@rollup/pluginutils@npm:^5.1.4": - version: 5.1.4 - resolution: "@rollup/pluginutils@npm:5.1.4" - dependencies: - "@types/estree": "npm:^1.0.0" - estree-walker: "npm:^2.0.2" - picomatch: "npm:^4.0.2" - peerDependencies: - rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 - peerDependenciesMeta: - rollup: - optional: true - checksum: 10c0/6d58fbc6f1024eb4b087bc9bf59a1d655a8056a60c0b4021d3beaeec3f0743503f52467fd89d2cf0e7eccf2831feb40a05ad541a17637ea21ba10b21c2004deb +"@rolldown/binding-darwin-x64@npm:1.1.5": + version: 1.1.5 + resolution: "@rolldown/binding-darwin-x64@npm:1.1.5" + conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@rollup/rollup-android-arm-eabi@npm:4.41.0": - version: 4.41.0 - resolution: "@rollup/rollup-android-arm-eabi@npm:4.41.0" - conditions: os=android & cpu=arm +"@rolldown/binding-freebsd-x64@npm:1.1.5": + version: 1.1.5 + resolution: "@rolldown/binding-freebsd-x64@npm:1.1.5" + conditions: os=freebsd & cpu=x64 languageName: node linkType: hard -"@rollup/rollup-android-arm-eabi@npm:4.46.2": - version: 4.46.2 - resolution: "@rollup/rollup-android-arm-eabi@npm:4.46.2" - conditions: os=android & cpu=arm +"@rolldown/binding-linux-arm-gnueabihf@npm:1.1.5": + version: 1.1.5 + resolution: "@rolldown/binding-linux-arm-gnueabihf@npm:1.1.5" + conditions: os=linux & cpu=arm languageName: node linkType: hard -"@rollup/rollup-android-arm-eabi@npm:4.57.1": - version: 4.57.1 - resolution: "@rollup/rollup-android-arm-eabi@npm:4.57.1" - conditions: os=android & cpu=arm +"@rolldown/binding-linux-arm64-gnu@npm:1.1.5": + version: 1.1.5 + resolution: "@rolldown/binding-linux-arm64-gnu@npm:1.1.5" + conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@rollup/rollup-android-arm64@npm:4.41.0": - version: 4.41.0 - resolution: "@rollup/rollup-android-arm64@npm:4.41.0" - conditions: os=android & cpu=arm64 +"@rolldown/binding-linux-arm64-musl@npm:1.1.5": + version: 1.1.5 + resolution: "@rolldown/binding-linux-arm64-musl@npm:1.1.5" + conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@rollup/rollup-android-arm64@npm:4.46.2": - version: 4.46.2 - resolution: "@rollup/rollup-android-arm64@npm:4.46.2" - conditions: os=android & cpu=arm64 +"@rolldown/binding-linux-ppc64-gnu@npm:1.1.5": + version: 1.1.5 + resolution: "@rolldown/binding-linux-ppc64-gnu@npm:1.1.5" + conditions: os=linux & cpu=ppc64 & libc=glibc languageName: node linkType: hard -"@rollup/rollup-android-arm64@npm:4.57.1": - version: 4.57.1 - resolution: "@rollup/rollup-android-arm64@npm:4.57.1" - conditions: os=android & cpu=arm64 +"@rolldown/binding-linux-s390x-gnu@npm:1.1.5": + version: 1.1.5 + resolution: "@rolldown/binding-linux-s390x-gnu@npm:1.1.5" + conditions: os=linux & cpu=s390x & libc=glibc languageName: node linkType: hard -"@rollup/rollup-darwin-arm64@npm:4.41.0": - version: 4.41.0 - resolution: "@rollup/rollup-darwin-arm64@npm:4.41.0" - conditions: os=darwin & cpu=arm64 +"@rolldown/binding-linux-x64-gnu@npm:1.1.5": + version: 1.1.5 + resolution: "@rolldown/binding-linux-x64-gnu@npm:1.1.5" + conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@rollup/rollup-darwin-arm64@npm:4.46.2": - version: 4.46.2 - resolution: "@rollup/rollup-darwin-arm64@npm:4.46.2" - conditions: os=darwin & cpu=arm64 +"@rolldown/binding-linux-x64-musl@npm:1.1.5": + version: 1.1.5 + resolution: "@rolldown/binding-linux-x64-musl@npm:1.1.5" + conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@rollup/rollup-darwin-arm64@npm:4.57.1": - version: 4.57.1 - resolution: "@rollup/rollup-darwin-arm64@npm:4.57.1" - conditions: os=darwin & cpu=arm64 +"@rolldown/binding-openharmony-arm64@npm:1.1.5": + version: 1.1.5 + resolution: "@rolldown/binding-openharmony-arm64@npm:1.1.5" + conditions: os=openharmony & cpu=arm64 languageName: node linkType: hard -"@rollup/rollup-darwin-x64@npm:4.41.0": - version: 4.41.0 - resolution: "@rollup/rollup-darwin-x64@npm:4.41.0" - conditions: os=darwin & cpu=x64 +"@rolldown/binding-wasm32-wasi@npm:1.1.5": + version: 1.1.5 + resolution: "@rolldown/binding-wasm32-wasi@npm:1.1.5" + dependencies: + "@emnapi/core": "npm:1.11.1" + "@emnapi/runtime": "npm:1.11.1" + "@napi-rs/wasm-runtime": "npm:^1.1.6" + conditions: cpu=wasm32 languageName: node linkType: hard -"@rollup/rollup-darwin-x64@npm:4.46.2": - version: 4.46.2 - resolution: "@rollup/rollup-darwin-x64@npm:4.46.2" - conditions: os=darwin & cpu=x64 +"@rolldown/binding-win32-arm64-msvc@npm:1.1.5": + version: 1.1.5 + resolution: "@rolldown/binding-win32-arm64-msvc@npm:1.1.5" + conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@rollup/rollup-darwin-x64@npm:4.57.1": - version: 4.57.1 - resolution: "@rollup/rollup-darwin-x64@npm:4.57.1" - conditions: os=darwin & cpu=x64 +"@rolldown/binding-win32-x64-msvc@npm:1.1.5": + version: 1.1.5 + resolution: "@rolldown/binding-win32-x64-msvc@npm:1.1.5" + conditions: os=win32 & cpu=x64 languageName: node linkType: hard -"@rollup/rollup-freebsd-arm64@npm:4.41.0": - version: 4.41.0 - resolution: "@rollup/rollup-freebsd-arm64@npm:4.41.0" - conditions: os=freebsd & cpu=arm64 +"@rolldown/pluginutils@npm:1.0.0-rc.7": + version: 1.0.0-rc.7 + resolution: "@rolldown/pluginutils@npm:1.0.0-rc.7" + checksum: 10c0/9d5490b5805b25bcd1720ca01c4c032b55a0ef953dab36a8dd42c568e82214576baa464f3027cd5dff3fabcfbe3bf3db2251d12b60220f5d1cd2ffde5ee37082 languageName: node linkType: hard -"@rollup/rollup-freebsd-arm64@npm:4.46.2": - version: 4.46.2 - resolution: "@rollup/rollup-freebsd-arm64@npm:4.46.2" - conditions: os=freebsd & cpu=arm64 +"@rolldown/pluginutils@npm:^1.0.0, @rolldown/pluginutils@npm:^1.0.1": + version: 1.0.1 + resolution: "@rolldown/pluginutils@npm:1.0.1" + checksum: 10c0/99d9b06d90196823e4d8c841f258db7a16e5dbba5824a2962b05d907b79f1ba929d56f22dd744fd530936e568c865ee56a719dc31e57e13bc0a8eb4764a8d8dd languageName: node linkType: hard -"@rollup/rollup-freebsd-arm64@npm:4.57.1": - version: 4.57.1 - resolution: "@rollup/rollup-freebsd-arm64@npm:4.57.1" - conditions: os=freebsd & cpu=arm64 +"@rollup/pluginutils@npm:^5.1.4": + version: 5.1.4 + resolution: "@rollup/pluginutils@npm:5.1.4" + dependencies: + "@types/estree": "npm:^1.0.0" + estree-walker: "npm:^2.0.2" + picomatch: "npm:^4.0.2" + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + checksum: 10c0/6d58fbc6f1024eb4b087bc9bf59a1d655a8056a60c0b4021d3beaeec3f0743503f52467fd89d2cf0e7eccf2831feb40a05ad541a17637ea21ba10b21c2004deb languageName: node linkType: hard -"@rollup/rollup-freebsd-x64@npm:4.41.0": - version: 4.41.0 - resolution: "@rollup/rollup-freebsd-x64@npm:4.41.0" - conditions: os=freebsd & cpu=x64 +"@rollup/rollup-android-arm-eabi@npm:4.46.2": + version: 4.46.2 + resolution: "@rollup/rollup-android-arm-eabi@npm:4.46.2" + conditions: os=android & cpu=arm languageName: node linkType: hard -"@rollup/rollup-freebsd-x64@npm:4.46.2": +"@rollup/rollup-android-arm64@npm:4.46.2": version: 4.46.2 - resolution: "@rollup/rollup-freebsd-x64@npm:4.46.2" - conditions: os=freebsd & cpu=x64 + resolution: "@rollup/rollup-android-arm64@npm:4.46.2" + conditions: os=android & cpu=arm64 languageName: node linkType: hard -"@rollup/rollup-freebsd-x64@npm:4.57.1": - version: 4.57.1 - resolution: "@rollup/rollup-freebsd-x64@npm:4.57.1" - conditions: os=freebsd & cpu=x64 +"@rollup/rollup-darwin-arm64@npm:4.46.2": + version: 4.46.2 + resolution: "@rollup/rollup-darwin-arm64@npm:4.46.2" + conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@rollup/rollup-linux-arm-gnueabihf@npm:4.41.0": - version: 4.41.0 - resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.41.0" - conditions: os=linux & cpu=arm & libc=glibc +"@rollup/rollup-darwin-x64@npm:4.46.2": + version: 4.46.2 + resolution: "@rollup/rollup-darwin-x64@npm:4.46.2" + conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@rollup/rollup-linux-arm-gnueabihf@npm:4.46.2": +"@rollup/rollup-freebsd-arm64@npm:4.46.2": version: 4.46.2 - resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.46.2" - conditions: os=linux & cpu=arm & libc=glibc + resolution: "@rollup/rollup-freebsd-arm64@npm:4.46.2" + conditions: os=freebsd & cpu=arm64 languageName: node linkType: hard -"@rollup/rollup-linux-arm-gnueabihf@npm:4.57.1": - version: 4.57.1 - resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.57.1" - conditions: os=linux & cpu=arm & libc=glibc +"@rollup/rollup-freebsd-x64@npm:4.46.2": + version: 4.46.2 + resolution: "@rollup/rollup-freebsd-x64@npm:4.46.2" + conditions: os=freebsd & cpu=x64 languageName: node linkType: hard -"@rollup/rollup-linux-arm-musleabihf@npm:4.41.0": - version: 4.41.0 - resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.41.0" - conditions: os=linux & cpu=arm & libc=musl +"@rollup/rollup-linux-arm-gnueabihf@npm:4.46.2": + version: 4.46.2 + resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.46.2" + conditions: os=linux & cpu=arm & libc=glibc languageName: node linkType: hard @@ -6784,20 +6476,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-arm-musleabihf@npm:4.57.1": - version: 4.57.1 - resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.57.1" - conditions: os=linux & cpu=arm & libc=musl - languageName: node - linkType: hard - -"@rollup/rollup-linux-arm64-gnu@npm:4.41.0": - version: 4.41.0 - resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.41.0" - conditions: os=linux & cpu=arm64 & libc=glibc - languageName: node - linkType: hard - "@rollup/rollup-linux-arm64-gnu@npm:4.46.2": version: 4.46.2 resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.46.2" @@ -6805,20 +6483,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-arm64-gnu@npm:4.57.1": - version: 4.57.1 - resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.57.1" - conditions: os=linux & cpu=arm64 & libc=glibc - languageName: node - linkType: hard - -"@rollup/rollup-linux-arm64-musl@npm:4.41.0": - version: 4.41.0 - resolution: "@rollup/rollup-linux-arm64-musl@npm:4.41.0" - conditions: os=linux & cpu=arm64 & libc=musl - languageName: node - linkType: hard - "@rollup/rollup-linux-arm64-musl@npm:4.46.2": version: 4.46.2 resolution: "@rollup/rollup-linux-arm64-musl@npm:4.46.2" @@ -6826,45 +6490,10 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-arm64-musl@npm:4.57.1": - version: 4.57.1 - resolution: "@rollup/rollup-linux-arm64-musl@npm:4.57.1" - conditions: os=linux & cpu=arm64 & libc=musl - languageName: node - linkType: hard - -"@rollup/rollup-linux-loong64-gnu@npm:4.57.1": - version: 4.57.1 - resolution: "@rollup/rollup-linux-loong64-gnu@npm:4.57.1" - conditions: os=linux & cpu=loong64 & libc=glibc - languageName: node - linkType: hard - -"@rollup/rollup-linux-loong64-musl@npm:4.57.1": - version: 4.57.1 - resolution: "@rollup/rollup-linux-loong64-musl@npm:4.57.1" - conditions: os=linux & cpu=loong64 & libc=musl - languageName: node - linkType: hard - -"@rollup/rollup-linux-loongarch64-gnu@npm:4.41.0": - version: 4.41.0 - resolution: "@rollup/rollup-linux-loongarch64-gnu@npm:4.41.0" - conditions: os=linux & cpu=loong64 & libc=glibc - languageName: node - linkType: hard - "@rollup/rollup-linux-loongarch64-gnu@npm:4.46.2": version: 4.46.2 - resolution: "@rollup/rollup-linux-loongarch64-gnu@npm:4.46.2" - conditions: os=linux & cpu=loong64 & libc=glibc - languageName: node - linkType: hard - -"@rollup/rollup-linux-powerpc64le-gnu@npm:4.41.0": - version: 4.41.0 - resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.41.0" - conditions: os=linux & cpu=ppc64 & libc=glibc + resolution: "@rollup/rollup-linux-loongarch64-gnu@npm:4.46.2" + conditions: os=linux & cpu=loong64 & libc=glibc languageName: node linkType: hard @@ -6875,27 +6504,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-ppc64-gnu@npm:4.57.1": - version: 4.57.1 - resolution: "@rollup/rollup-linux-ppc64-gnu@npm:4.57.1" - conditions: os=linux & cpu=ppc64 & libc=glibc - languageName: node - linkType: hard - -"@rollup/rollup-linux-ppc64-musl@npm:4.57.1": - version: 4.57.1 - resolution: "@rollup/rollup-linux-ppc64-musl@npm:4.57.1" - conditions: os=linux & cpu=ppc64 & libc=musl - languageName: node - linkType: hard - -"@rollup/rollup-linux-riscv64-gnu@npm:4.41.0": - version: 4.41.0 - resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.41.0" - conditions: os=linux & cpu=riscv64 & libc=glibc - languageName: node - linkType: hard - "@rollup/rollup-linux-riscv64-gnu@npm:4.46.2": version: 4.46.2 resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.46.2" @@ -6903,20 +6511,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-riscv64-gnu@npm:4.57.1": - version: 4.57.1 - resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.57.1" - conditions: os=linux & cpu=riscv64 & libc=glibc - languageName: node - linkType: hard - -"@rollup/rollup-linux-riscv64-musl@npm:4.41.0": - version: 4.41.0 - resolution: "@rollup/rollup-linux-riscv64-musl@npm:4.41.0" - conditions: os=linux & cpu=riscv64 & libc=musl - languageName: node - linkType: hard - "@rollup/rollup-linux-riscv64-musl@npm:4.46.2": version: 4.46.2 resolution: "@rollup/rollup-linux-riscv64-musl@npm:4.46.2" @@ -6924,20 +6518,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-riscv64-musl@npm:4.57.1": - version: 4.57.1 - resolution: "@rollup/rollup-linux-riscv64-musl@npm:4.57.1" - conditions: os=linux & cpu=riscv64 & libc=musl - languageName: node - linkType: hard - -"@rollup/rollup-linux-s390x-gnu@npm:4.41.0": - version: 4.41.0 - resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.41.0" - conditions: os=linux & cpu=s390x & libc=glibc - languageName: node - linkType: hard - "@rollup/rollup-linux-s390x-gnu@npm:4.46.2": version: 4.46.2 resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.46.2" @@ -6945,20 +6525,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-s390x-gnu@npm:4.57.1": - version: 4.57.1 - resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.57.1" - conditions: os=linux & cpu=s390x & libc=glibc - languageName: node - linkType: hard - -"@rollup/rollup-linux-x64-gnu@npm:4.41.0": - version: 4.41.0 - resolution: "@rollup/rollup-linux-x64-gnu@npm:4.41.0" - conditions: os=linux & cpu=x64 & libc=glibc - languageName: node - linkType: hard - "@rollup/rollup-linux-x64-gnu@npm:4.46.2": version: 4.46.2 resolution: "@rollup/rollup-linux-x64-gnu@npm:4.46.2" @@ -6966,20 +6532,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-x64-gnu@npm:4.57.1": - version: 4.57.1 - resolution: "@rollup/rollup-linux-x64-gnu@npm:4.57.1" - conditions: os=linux & cpu=x64 & libc=glibc - languageName: node - linkType: hard - -"@rollup/rollup-linux-x64-musl@npm:4.41.0": - version: 4.41.0 - resolution: "@rollup/rollup-linux-x64-musl@npm:4.41.0" - conditions: os=linux & cpu=x64 & libc=musl - languageName: node - linkType: hard - "@rollup/rollup-linux-x64-musl@npm:4.46.2": version: 4.46.2 resolution: "@rollup/rollup-linux-x64-musl@npm:4.46.2" @@ -6987,34 +6539,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-x64-musl@npm:4.57.1": - version: 4.57.1 - resolution: "@rollup/rollup-linux-x64-musl@npm:4.57.1" - conditions: os=linux & cpu=x64 & libc=musl - languageName: node - linkType: hard - -"@rollup/rollup-openbsd-x64@npm:4.57.1": - version: 4.57.1 - resolution: "@rollup/rollup-openbsd-x64@npm:4.57.1" - conditions: os=openbsd & cpu=x64 - languageName: node - linkType: hard - -"@rollup/rollup-openharmony-arm64@npm:4.57.1": - version: 4.57.1 - resolution: "@rollup/rollup-openharmony-arm64@npm:4.57.1" - conditions: os=openharmony & cpu=arm64 - languageName: node - linkType: hard - -"@rollup/rollup-win32-arm64-msvc@npm:4.41.0": - version: 4.41.0 - resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.41.0" - conditions: os=win32 & cpu=arm64 - languageName: node - linkType: hard - "@rollup/rollup-win32-arm64-msvc@npm:4.46.2": version: 4.46.2 resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.46.2" @@ -7022,20 +6546,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-win32-arm64-msvc@npm:4.57.1": - version: 4.57.1 - resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.57.1" - conditions: os=win32 & cpu=arm64 - languageName: node - linkType: hard - -"@rollup/rollup-win32-ia32-msvc@npm:4.41.0": - version: 4.41.0 - resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.41.0" - conditions: os=win32 & cpu=ia32 - languageName: node - linkType: hard - "@rollup/rollup-win32-ia32-msvc@npm:4.46.2": version: 4.46.2 resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.46.2" @@ -7043,27 +6553,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-win32-ia32-msvc@npm:4.57.1": - version: 4.57.1 - resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.57.1" - conditions: os=win32 & cpu=ia32 - languageName: node - linkType: hard - -"@rollup/rollup-win32-x64-gnu@npm:4.57.1": - version: 4.57.1 - resolution: "@rollup/rollup-win32-x64-gnu@npm:4.57.1" - conditions: os=win32 & cpu=x64 - languageName: node - linkType: hard - -"@rollup/rollup-win32-x64-msvc@npm:4.41.0": - version: 4.41.0 - resolution: "@rollup/rollup-win32-x64-msvc@npm:4.41.0" - conditions: os=win32 & cpu=x64 - languageName: node - linkType: hard - "@rollup/rollup-win32-x64-msvc@npm:4.46.2": version: 4.46.2 resolution: "@rollup/rollup-win32-x64-msvc@npm:4.46.2" @@ -7071,13 +6560,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-win32-x64-msvc@npm:4.57.1": - version: 4.57.1 - resolution: "@rollup/rollup-win32-x64-msvc@npm:4.57.1" - conditions: os=win32 & cpu=x64 - languageName: node - linkType: hard - "@rtsao/scc@npm:^1.1.0": version: 1.1.0 resolution: "@rtsao/scc@npm:1.1.0" @@ -7175,6 +6657,13 @@ __metadata: languageName: node linkType: hard +"@standard-schema/spec@npm:^1.1.0": + version: 1.1.0 + resolution: "@standard-schema/spec@npm:1.1.0" + checksum: 10c0/d90f55acde4b2deb983529c87e8025fa693de1a5e8b49ecc6eb84d1fd96328add0e03d7d551442156c7432fd78165b2c26ff561b970a9a881f046abb78d6a526 + languageName: node + linkType: hard + "@swc/core-darwin-arm64@npm:1.15.24": version: 1.15.24 resolution: "@swc/core-darwin-arm64@npm:1.15.24" @@ -8061,6 +7550,15 @@ __metadata: languageName: node linkType: hard +"@tybys/wasm-util@npm:^0.10.3": + version: 0.10.3 + resolution: "@tybys/wasm-util@npm:0.10.3" + dependencies: + tslib: "npm:^2.4.0" + checksum: 10c0/fd2bd2a79c6cd8c79ed1cf7a0fa375c64589264c88a27acaf9756d556b453ea222b62a4f68dd2fbb8b3a78b6bab3b1f4fb2431b6afc6aeda8344b53a521a1cd3 + languageName: node + linkType: hard + "@tybys/wasm-util@npm:^0.9.0": version: 0.9.0 resolution: "@tybys/wasm-util@npm:0.9.0" @@ -8084,7 +7582,7 @@ __metadata: languageName: node linkType: hard -"@types/babel__core@npm:^7.1.14, @types/babel__core@npm:^7.20.5": +"@types/babel__core@npm:^7.1.14": version: 7.20.5 resolution: "@types/babel__core@npm:7.20.5" dependencies: @@ -8161,7 +7659,7 @@ __metadata: languageName: node linkType: hard -"@types/estree@npm:*, @types/estree@npm:1.0.7, @types/estree@npm:^1.0.0": +"@types/estree@npm:*, @types/estree@npm:^1.0.0": version: 1.0.7 resolution: "@types/estree@npm:1.0.7" checksum: 10c0/be815254316882f7c40847336cd484c3bc1c3e34f710d197160d455dc9d6d050ffbf4c3bc76585dba86f737f020ab20bdb137ebe0e9116b0c86c7c0342221b8c @@ -9370,129 +8868,127 @@ __metadata: languageName: node linkType: hard -"@vitejs/plugin-react@npm:^4.5.1": - version: 4.5.1 - resolution: "@vitejs/plugin-react@npm:4.5.1" +"@vitejs/plugin-react@npm:^6.0.4": + version: 6.0.4 + resolution: "@vitejs/plugin-react@npm:6.0.4" dependencies: - "@babel/core": "npm:^7.26.10" - "@babel/plugin-transform-react-jsx-self": "npm:^7.25.9" - "@babel/plugin-transform-react-jsx-source": "npm:^7.25.9" - "@rolldown/pluginutils": "npm:1.0.0-beta.9" - "@types/babel__core": "npm:^7.20.5" - react-refresh: "npm:^0.17.0" + "@rolldown/pluginutils": "npm:^1.0.1" peerDependencies: - vite: ^4.2.0 || ^5.0.0 || ^6.0.0 - checksum: 10c0/51b28c02905228cc5b1dd16f5d008cf08175e47d22ff37b0959a9ee20a46a5215698b20405f39e6b73ae2a63c2a005d74c94b3456083ad038b59932d682b9165 + "@rolldown/plugin-babel": ^0.1.7 || ^0.2.0 + babel-plugin-react-compiler: ^1.0.0 + vite: ^8.0.0 + peerDependenciesMeta: + "@rolldown/plugin-babel": + optional: true + babel-plugin-react-compiler: + optional: true + checksum: 10c0/38446b54f51760b97d81abfa2fb9130bdc7a545183c97b26cfc7a5982fbcbeef431f482a3d44ef8225ca3e8c37e852a0843f8f84d0834391cab49b36a172dbf8 languageName: node linkType: hard -"@vitest/coverage-v8@npm:^3.2.4": - version: 3.2.4 - resolution: "@vitest/coverage-v8@npm:3.2.4" +"@vitest/coverage-v8@npm:^4.1.10": + version: 4.1.10 + resolution: "@vitest/coverage-v8@npm:4.1.10" dependencies: - "@ampproject/remapping": "npm:^2.3.0" "@bcoe/v8-coverage": "npm:^1.0.2" - ast-v8-to-istanbul: "npm:^0.3.3" - debug: "npm:^4.4.1" + "@vitest/utils": "npm:4.1.10" + ast-v8-to-istanbul: "npm:^1.0.0" istanbul-lib-coverage: "npm:^3.2.2" istanbul-lib-report: "npm:^3.0.1" - istanbul-lib-source-maps: "npm:^5.0.6" - istanbul-reports: "npm:^3.1.7" - magic-string: "npm:^0.30.17" - magicast: "npm:^0.3.5" - std-env: "npm:^3.9.0" - test-exclude: "npm:^7.0.1" - tinyrainbow: "npm:^2.0.0" - peerDependencies: - "@vitest/browser": 3.2.4 - vitest: 3.2.4 + istanbul-reports: "npm:^3.2.0" + magicast: "npm:^0.5.2" + obug: "npm:^2.1.1" + std-env: "npm:^4.0.0-rc.1" + tinyrainbow: "npm:^3.1.0" + peerDependencies: + "@vitest/browser": 4.1.10 + vitest: 4.1.10 peerDependenciesMeta: "@vitest/browser": optional: true - checksum: 10c0/cae3e58d81d56e7e1cdecd7b5baab7edd0ad9dee8dec9353c52796e390e452377d3f04174d40b6986b17c73241a5e773e422931eaa8102dcba0605ff24b25193 + checksum: 10c0/f607ab5610ba93ff586d1680bc6d574ee42606ddafd33d5dca14d568e1ff110bf7aea0c82d87b69003b10604d78ccdb535948704e26bbdbfdda6b27edf524486 languageName: node linkType: hard -"@vitest/expect@npm:3.2.4": - version: 3.2.4 - resolution: "@vitest/expect@npm:3.2.4" +"@vitest/expect@npm:4.1.10": + version: 4.1.10 + resolution: "@vitest/expect@npm:4.1.10" dependencies: + "@standard-schema/spec": "npm:^1.1.0" "@types/chai": "npm:^5.2.2" - "@vitest/spy": "npm:3.2.4" - "@vitest/utils": "npm:3.2.4" - chai: "npm:^5.2.0" - tinyrainbow: "npm:^2.0.0" - checksum: 10c0/7586104e3fd31dbe1e6ecaafb9a70131e4197dce2940f727b6a84131eee3decac7b10f9c7c72fa5edbdb68b6f854353bd4c0fa84779e274207fb7379563b10db + "@vitest/spy": "npm:4.1.10" + "@vitest/utils": "npm:4.1.10" + chai: "npm:^6.2.2" + tinyrainbow: "npm:^3.1.0" + checksum: 10c0/a817ad0d9bd6a039776a7228d54fb8319c17e4af15917407f5566ac61781a8511f591d302519d6999217399915bc3c0290028189fc73f5c38f80cb01b6f19c8d languageName: node linkType: hard -"@vitest/mocker@npm:3.2.4": - version: 3.2.4 - resolution: "@vitest/mocker@npm:3.2.4" +"@vitest/mocker@npm:4.1.10": + version: 4.1.10 + resolution: "@vitest/mocker@npm:4.1.10" dependencies: - "@vitest/spy": "npm:3.2.4" + "@vitest/spy": "npm:4.1.10" estree-walker: "npm:^3.0.3" - magic-string: "npm:^0.30.17" + magic-string: "npm:^0.30.21" peerDependencies: msw: ^2.4.9 - vite: ^5.0.0 || ^6.0.0 || ^7.0.0-0 + vite: ^6.0.0 || ^7.0.0 || ^8.0.0 peerDependenciesMeta: msw: optional: true vite: optional: true - checksum: 10c0/f7a4aea19bbbf8f15905847ee9143b6298b2c110f8b64789224cb0ffdc2e96f9802876aa2ca83f1ec1b6e1ff45e822abb34f0054c24d57b29ab18add06536ccd + checksum: 10c0/4aa70b0df58681652e2e28093437fb2e8f4d02a6d03f5619abc266ac1c5ae5f43326148061d13ae6e071e0f6cfcf7634659af63644de8ce098a7c98949a3d1ad languageName: node linkType: hard -"@vitest/pretty-format@npm:3.2.4, @vitest/pretty-format@npm:^3.2.4": - version: 3.2.4 - resolution: "@vitest/pretty-format@npm:3.2.4" +"@vitest/pretty-format@npm:4.1.10": + version: 4.1.10 + resolution: "@vitest/pretty-format@npm:4.1.10" dependencies: - tinyrainbow: "npm:^2.0.0" - checksum: 10c0/5ad7d4278e067390d7d633e307fee8103958806a419ca380aec0e33fae71b44a64415f7a9b4bc11635d3c13d4a9186111c581d3cef9c65cc317e68f077456887 + tinyrainbow: "npm:^3.1.0" + checksum: 10c0/1a5daba730ffe23f2000bff484b4b2842f3b178d93663cb487b215516b8d3b62caa3e2bb2a3c63307b61a9fe58fb9bfff38559bc0c5e49d8aa403d6803a1d918 languageName: node linkType: hard -"@vitest/runner@npm:3.2.4": - version: 3.2.4 - resolution: "@vitest/runner@npm:3.2.4" +"@vitest/runner@npm:4.1.10": + version: 4.1.10 + resolution: "@vitest/runner@npm:4.1.10" dependencies: - "@vitest/utils": "npm:3.2.4" + "@vitest/utils": "npm:4.1.10" pathe: "npm:^2.0.3" - strip-literal: "npm:^3.0.0" - checksum: 10c0/e8be51666c72b3668ae3ea348b0196656a4a5adb836cb5e270720885d9517421815b0d6c98bfdf1795ed02b994b7bfb2b21566ee356a40021f5bf4f6ed4e418a + checksum: 10c0/554b72639de9694271b99be8ae273fe12ec793093ec91cce143816cd1187d40b7138a4d9d4de4f456cfca9567de986825bff97e107c05b9eb4abc130e854286d languageName: node linkType: hard -"@vitest/snapshot@npm:3.2.4": - version: 3.2.4 - resolution: "@vitest/snapshot@npm:3.2.4" +"@vitest/snapshot@npm:4.1.10": + version: 4.1.10 + resolution: "@vitest/snapshot@npm:4.1.10" dependencies: - "@vitest/pretty-format": "npm:3.2.4" - magic-string: "npm:^0.30.17" + "@vitest/pretty-format": "npm:4.1.10" + "@vitest/utils": "npm:4.1.10" + magic-string: "npm:^0.30.21" pathe: "npm:^2.0.3" - checksum: 10c0/f8301a3d7d1559fd3d59ed51176dd52e1ed5c2d23aa6d8d6aa18787ef46e295056bc726a021698d8454c16ed825ecba163362f42fa90258bb4a98cfd2c9424fc + checksum: 10c0/e71398725f51af5fd0c07bb4b957d0f987daf9b4c564ac24cb2a4d1afde1a6939f535ac17761a32dcc41b0a1e6d4088af66dc44df89fdebebb92aabed1a92b5f languageName: node linkType: hard -"@vitest/spy@npm:3.2.4": - version: 3.2.4 - resolution: "@vitest/spy@npm:3.2.4" - dependencies: - tinyspy: "npm:^4.0.3" - checksum: 10c0/6ebf0b4697dc238476d6b6a60c76ba9eb1dd8167a307e30f08f64149612fd50227682b876420e4c2e09a76334e73f72e3ebf0e350714dc22474258292e202024 +"@vitest/spy@npm:4.1.10": + version: 4.1.10 + resolution: "@vitest/spy@npm:4.1.10" + checksum: 10c0/e5c08012560af6727fd66741c5cda25560d7c5442103d0c83e4276a9b0dd90b9da6cdf823a461195229a16c6ff87768ce788a68d0fa29dea73ee285618668178 languageName: node linkType: hard -"@vitest/utils@npm:3.2.4": - version: 3.2.4 - resolution: "@vitest/utils@npm:3.2.4" +"@vitest/utils@npm:4.1.10": + version: 4.1.10 + resolution: "@vitest/utils@npm:4.1.10" dependencies: - "@vitest/pretty-format": "npm:3.2.4" - loupe: "npm:^3.1.4" - tinyrainbow: "npm:^2.0.0" - checksum: 10c0/024a9b8c8bcc12cf40183c246c244b52ecff861c6deb3477cbf487ac8781ad44c68a9c5fd69f8c1361878e55b97c10d99d511f2597f1f7244b5e5101d028ba64 + "@vitest/pretty-format": "npm:4.1.10" + convert-source-map: "npm:^2.0.0" + tinyrainbow: "npm:^3.1.0" + checksum: 10c0/05b0ecec6997ec22fc08377e57dbd8fa37992e05961f3a7a916d98b1ab56d15c2a87dbd83d392b628242bdc156b1705e7fa60a3bf0c54bdb51158c153e05fc5d languageName: node linkType: hard @@ -10037,14 +9533,14 @@ __metadata: languageName: node linkType: hard -"ast-v8-to-istanbul@npm:^0.3.3": - version: 0.3.3 - resolution: "ast-v8-to-istanbul@npm:0.3.3" +"ast-v8-to-istanbul@npm:^1.0.0": + version: 1.0.5 + resolution: "ast-v8-to-istanbul@npm:1.0.5" dependencies: - "@jridgewell/trace-mapping": "npm:^0.3.25" + "@jridgewell/trace-mapping": "npm:^0.3.31" estree-walker: "npm:^3.0.3" - js-tokens: "npm:^9.0.1" - checksum: 10c0/ffc39bc3ab4b8c1f7aea945960ce6b1e518bab3da7c800277eab2da07d397eeae4a2cb8a5a5f817225646c8ea495c1e4434fbe082c84bae8042abddef53f50b2 + js-tokens: "npm:^10.0.0" + checksum: 10c0/546db141f60913846ea2e74fc163ec5b9b1b5aa4863a564ccb15fefe12988191fe029b1d91541aa2f236900c1447de53876460c179efc3dd15b1b9281d6205a6 languageName: node linkType: hard @@ -10262,13 +9758,6 @@ __metadata: languageName: node linkType: hard -"babel-plugin-react-require@npm:^4.0.3": - version: 4.0.3 - resolution: "babel-plugin-react-require@npm:4.0.3" - checksum: 10c0/a39f7f894c16040b1f5ebe8be28e8658d6e1fdf340cb2c30025cec8f625bb25cdfb375e3c2196b750baa1f464945a635c71ec25c5d8b5f69c5fdebe3256dfd38 - languageName: node - linkType: hard - "babel-plugin-syntax-hermes-parser@npm:0.25.1": version: 0.25.1 resolution: "babel-plugin-syntax-hermes-parser@npm:0.25.1" @@ -10655,13 +10144,6 @@ __metadata: languageName: node linkType: hard -"cac@npm:^6.7.14": - version: 6.7.14 - resolution: "cac@npm:6.7.14" - checksum: 10c0/4ee06aaa7bab8981f0d54e5f5f9d4adcd64058e9697563ce336d8a3878ed018ee18ebe5359b2430eceae87e0758e62ea2019c3f52ae6e211b1bd2e133856cd10 - languageName: node - linkType: hard - "cacache@npm:^19.0.1": version: 19.0.1 resolution: "cacache@npm:19.0.1" @@ -10795,16 +10277,10 @@ __metadata: languageName: node linkType: hard -"chai@npm:^5.2.0": - version: 5.2.0 - resolution: "chai@npm:5.2.0" - dependencies: - assertion-error: "npm:^2.0.1" - check-error: "npm:^2.1.1" - deep-eql: "npm:^5.0.1" - loupe: "npm:^3.1.0" - pathval: "npm:^2.0.0" - checksum: 10c0/dfd1cb719c7cebb051b727672d382a35338af1470065cb12adb01f4ee451bbf528e0e0f9ab2016af5fc1eea4df6e7f4504dc8443f8f00bd8fb87ad32dc516f7d +"chai@npm:^6.2.2": + version: 6.2.2 + resolution: "chai@npm:6.2.2" + checksum: 10c0/e6c69e5f0c11dffe6ea13d0290936ebb68fcc1ad688b8e952e131df6a6d5797d5e860bc55cef1aca2e950c3e1f96daf79e9d5a70fb7dbaab4e46355e2635ed53 languageName: node linkType: hard @@ -10857,13 +10333,6 @@ __metadata: languageName: node linkType: hard -"check-error@npm:^2.1.1": - version: 2.1.1 - resolution: "check-error@npm:2.1.1" - checksum: 10c0/979f13eccab306cf1785fa10941a590b4e7ea9916ea2a4f8c87f0316fc3eab07eabefb6e587424ef0f88cbcd3805791f172ea739863ca3d7ce2afc54641c7f0e - languageName: node - linkType: hard - "chokidar@npm:^3.6.0": version: 3.6.0 resolution: "chokidar@npm:3.6.0" @@ -10986,14 +10455,14 @@ __metadata: "@testing-library/jest-dom": "npm:^6.8.0" "@testing-library/react": "npm:^16.3.2" "@testing-library/user-event": "npm:^14.5.2" - "@vitejs/plugin-react": "npm:^4.5.1" + "@vitejs/plugin-react": "npm:^6.0.4" "@vitejs/plugin-react-swc": "npm:^4.3.0" jsdom: "npm:^29.1.0" prettier: "npm:^3.5.3" react: "npm:^19.2.7" react-dom: "npm:^19.2.7" - vite: "npm:^5.4.19" - vitest: "npm:^3.2.4" + vite: "npm:^8.1.5" + vitest: "npm:^4.1.10" languageName: unknown linkType: soft @@ -11510,13 +10979,6 @@ __metadata: languageName: node linkType: hard -"deep-eql@npm:^5.0.1": - version: 5.0.2 - resolution: "deep-eql@npm:5.0.2" - checksum: 10c0/7102cf3b7bb719c6b9c0db2e19bf0aa9318d141581befe8c7ce8ccd39af9eaa4346e5e05adef7f9bd7015da0f13a3a25dcfe306ef79dc8668aedbecb658dd247 - languageName: node - linkType: hard - "deep-extend@npm:^0.6.0": version: 0.6.0 resolution: "deep-extend@npm:0.6.0" @@ -12094,10 +11556,10 @@ __metadata: languageName: node linkType: hard -"es-module-lexer@npm:^1.7.0": - version: 1.7.0 - resolution: "es-module-lexer@npm:1.7.0" - checksum: 10c0/4c935affcbfeba7fb4533e1da10fa8568043df1e3574b869385980de9e2d475ddc36769891936dbb07036edb3c3786a8b78ccf44964cd130dedc1f2c984b6c7b +"es-module-lexer@npm:^2.0.0": + version: 2.3.1 + resolution: "es-module-lexer@npm:2.3.1" + checksum: 10c0/ada8b222772b5b8ea92eb6054c383233207418621855a07b480fdd36979b658a41414be09e793fcdd8a67a182741475f47830a01ff2ebd4353d7f6965c7c45f9 languageName: node linkType: hard @@ -12142,175 +11604,6 @@ __metadata: languageName: node linkType: hard -"esbuild@npm:^0.21.3": - version: 0.21.5 - resolution: "esbuild@npm:0.21.5" - dependencies: - "@esbuild/aix-ppc64": "npm:0.21.5" - "@esbuild/android-arm": "npm:0.21.5" - "@esbuild/android-arm64": "npm:0.21.5" - "@esbuild/android-x64": "npm:0.21.5" - "@esbuild/darwin-arm64": "npm:0.21.5" - "@esbuild/darwin-x64": "npm:0.21.5" - "@esbuild/freebsd-arm64": "npm:0.21.5" - "@esbuild/freebsd-x64": "npm:0.21.5" - "@esbuild/linux-arm": "npm:0.21.5" - "@esbuild/linux-arm64": "npm:0.21.5" - "@esbuild/linux-ia32": "npm:0.21.5" - "@esbuild/linux-loong64": "npm:0.21.5" - "@esbuild/linux-mips64el": "npm:0.21.5" - "@esbuild/linux-ppc64": "npm:0.21.5" - "@esbuild/linux-riscv64": "npm:0.21.5" - "@esbuild/linux-s390x": "npm:0.21.5" - "@esbuild/linux-x64": "npm:0.21.5" - "@esbuild/netbsd-x64": "npm:0.21.5" - "@esbuild/openbsd-x64": "npm:0.21.5" - "@esbuild/sunos-x64": "npm:0.21.5" - "@esbuild/win32-arm64": "npm:0.21.5" - "@esbuild/win32-ia32": "npm:0.21.5" - "@esbuild/win32-x64": "npm:0.21.5" - dependenciesMeta: - "@esbuild/aix-ppc64": - optional: true - "@esbuild/android-arm": - optional: true - "@esbuild/android-arm64": - optional: true - "@esbuild/android-x64": - optional: true - "@esbuild/darwin-arm64": - optional: true - "@esbuild/darwin-x64": - optional: true - "@esbuild/freebsd-arm64": - optional: true - "@esbuild/freebsd-x64": - optional: true - "@esbuild/linux-arm": - optional: true - "@esbuild/linux-arm64": - optional: true - "@esbuild/linux-ia32": - optional: true - "@esbuild/linux-loong64": - optional: true - "@esbuild/linux-mips64el": - optional: true - "@esbuild/linux-ppc64": - optional: true - "@esbuild/linux-riscv64": - optional: true - "@esbuild/linux-s390x": - optional: true - "@esbuild/linux-x64": - optional: true - "@esbuild/netbsd-x64": - optional: true - "@esbuild/openbsd-x64": - optional: true - "@esbuild/sunos-x64": - optional: true - "@esbuild/win32-arm64": - optional: true - "@esbuild/win32-ia32": - optional: true - "@esbuild/win32-x64": - optional: true - bin: - esbuild: bin/esbuild - checksum: 10c0/fa08508adf683c3f399e8a014a6382a6b65542213431e26206c0720e536b31c09b50798747c2a105a4bbba1d9767b8d3615a74c2f7bf1ddf6d836cd11eb672de - languageName: node - linkType: hard - -"esbuild@npm:^0.27.0": - version: 0.27.3 - resolution: "esbuild@npm:0.27.3" - dependencies: - "@esbuild/aix-ppc64": "npm:0.27.3" - "@esbuild/android-arm": "npm:0.27.3" - "@esbuild/android-arm64": "npm:0.27.3" - "@esbuild/android-x64": "npm:0.27.3" - "@esbuild/darwin-arm64": "npm:0.27.3" - "@esbuild/darwin-x64": "npm:0.27.3" - "@esbuild/freebsd-arm64": "npm:0.27.3" - "@esbuild/freebsd-x64": "npm:0.27.3" - "@esbuild/linux-arm": "npm:0.27.3" - "@esbuild/linux-arm64": "npm:0.27.3" - "@esbuild/linux-ia32": "npm:0.27.3" - "@esbuild/linux-loong64": "npm:0.27.3" - "@esbuild/linux-mips64el": "npm:0.27.3" - "@esbuild/linux-ppc64": "npm:0.27.3" - "@esbuild/linux-riscv64": "npm:0.27.3" - "@esbuild/linux-s390x": "npm:0.27.3" - "@esbuild/linux-x64": "npm:0.27.3" - "@esbuild/netbsd-arm64": "npm:0.27.3" - "@esbuild/netbsd-x64": "npm:0.27.3" - "@esbuild/openbsd-arm64": "npm:0.27.3" - "@esbuild/openbsd-x64": "npm:0.27.3" - "@esbuild/openharmony-arm64": "npm:0.27.3" - "@esbuild/sunos-x64": "npm:0.27.3" - "@esbuild/win32-arm64": "npm:0.27.3" - "@esbuild/win32-ia32": "npm:0.27.3" - "@esbuild/win32-x64": "npm:0.27.3" - dependenciesMeta: - "@esbuild/aix-ppc64": - optional: true - "@esbuild/android-arm": - optional: true - "@esbuild/android-arm64": - optional: true - "@esbuild/android-x64": - optional: true - "@esbuild/darwin-arm64": - optional: true - "@esbuild/darwin-x64": - optional: true - "@esbuild/freebsd-arm64": - optional: true - "@esbuild/freebsd-x64": - optional: true - "@esbuild/linux-arm": - optional: true - "@esbuild/linux-arm64": - optional: true - "@esbuild/linux-ia32": - optional: true - "@esbuild/linux-loong64": - optional: true - "@esbuild/linux-mips64el": - optional: true - "@esbuild/linux-ppc64": - optional: true - "@esbuild/linux-riscv64": - optional: true - "@esbuild/linux-s390x": - optional: true - "@esbuild/linux-x64": - optional: true - "@esbuild/netbsd-arm64": - optional: true - "@esbuild/netbsd-x64": - optional: true - "@esbuild/openbsd-arm64": - optional: true - "@esbuild/openbsd-x64": - optional: true - "@esbuild/openharmony-arm64": - optional: true - "@esbuild/sunos-x64": - optional: true - "@esbuild/win32-arm64": - optional: true - "@esbuild/win32-ia32": - optional: true - "@esbuild/win32-x64": - optional: true - bin: - esbuild: bin/esbuild - checksum: 10c0/fdc3f87a3f08b3ef98362f37377136c389a0d180fda4b8d073b26ba930cf245521db0a368f119cc7624bc619248fff1439f5811f062d853576f8ffa3df8ee5f1 - languageName: node - linkType: hard - "escalade@npm:^3.1.1, escalade@npm:^3.2.0": version: 3.2.0 resolution: "escalade@npm:3.2.0" @@ -13174,10 +12467,10 @@ __metadata: languageName: node linkType: hard -"expect-type@npm:^1.2.1": - version: 1.2.1 - resolution: "expect-type@npm:1.2.1" - checksum: 10c0/b775c9adab3c190dd0d398c722531726cdd6022849b4adba19dceab58dda7e000a7c6c872408cd73d665baa20d381eca36af4f7b393a4ba60dd10232d1fb8898 +"expect-type@npm:^1.3.0": + version: 1.4.0 + resolution: "expect-type@npm:1.4.0" + checksum: 10c0/d40d76b8570695d36587beb3cc28494da2ca3ec8f04e67f5622ed2d372d850e401a9adef19c6835e1a8173903f157c79540b34c7b3fbd7cd8ce726cc903c57b7 languageName: node linkType: hard @@ -14144,7 +13437,7 @@ __metadata: languageName: node linkType: hard -"glob@npm:^10.2.2, glob@npm:^10.4.1": +"glob@npm:^10.2.2": version: 10.4.5 resolution: "glob@npm:10.4.5" dependencies: @@ -14292,7 +13585,7 @@ __metadata: "@knocklabs/react": "workspace:^" "@types/react": "npm:^19.2.17" "@types/react-dom": "npm:^19.2.3" - "@vitejs/plugin-react": "npm:^4.5.1" + "@vitejs/plugin-react": "npm:^6.0.4" eslint: "npm:^8.56.0" eslint-plugin-react-hooks: "npm:^5.2.0" eslint-plugin-react-refresh: "npm:^0.5.2" @@ -14302,7 +13595,7 @@ __metadata: react-router: "npm:^7.6.3" typescript: "npm:^5.8.3" typescript-eslint: "npm:^8.61.0" - vite: "npm:^5.4.19" + vite: "npm:^8.1.5" languageName: unknown linkType: soft @@ -15114,24 +14407,13 @@ __metadata: languageName: node linkType: hard -"istanbul-lib-source-maps@npm:^5.0.6": - version: 5.0.6 - resolution: "istanbul-lib-source-maps@npm:5.0.6" - dependencies: - "@jridgewell/trace-mapping": "npm:^0.3.23" - debug: "npm:^4.1.1" - istanbul-lib-coverage: "npm:^3.0.0" - checksum: 10c0/ffe75d70b303a3621ee4671554f306e0831b16f39ab7f4ab52e54d356a5d33e534d97563e318f1333a6aae1d42f91ec49c76b6cd3f3fb378addcb5c81da0255f - languageName: node - linkType: hard - -"istanbul-reports@npm:^3.1.7": - version: 3.1.7 - resolution: "istanbul-reports@npm:3.1.7" +"istanbul-reports@npm:^3.2.0": + version: 3.2.0 + resolution: "istanbul-reports@npm:3.2.0" dependencies: html-escaper: "npm:^2.0.0" istanbul-lib-report: "npm:^3.0.0" - checksum: 10c0/a379fadf9cf8dc5dfe25568115721d4a7eb82fbd50b005a6672aff9c6989b20cc9312d7865814e0859cd8df58cbf664482e1d3604be0afde1f7fc3ccc1394a51 + checksum: 10c0/d596317cfd9c22e1394f22a8d8ba0303d2074fe2e971887b32d870e4b33f8464b10f8ccbe6847808f7db485f084eba09e6c2ed706b3a978e4b52f07085b8f9bc languageName: node linkType: hard @@ -15327,6 +14609,13 @@ __metadata: languageName: node linkType: hard +"js-tokens@npm:^10.0.0": + version: 10.0.0 + resolution: "js-tokens@npm:10.0.0" + checksum: 10c0/a93498747812ba3e0c8626f95f75ab29319f2a13613a0de9e610700405760931624433a0de59eb7c27ff8836e526768fb20783861b86ef89be96676f2c996b64 + languageName: node + linkType: hard + "js-tokens@npm:^3.0.0 || ^4.0.0, js-tokens@npm:^4.0.0": version: 4.0.0 resolution: "js-tokens@npm:4.0.0" @@ -15334,13 +14623,6 @@ __metadata: languageName: node linkType: hard -"js-tokens@npm:^9.0.1": - version: 9.0.1 - resolution: "js-tokens@npm:9.0.1" - checksum: 10c0/68dcab8f233dde211a6b5fd98079783cbcd04b53617c1250e3553ee16ab3e6134f5e65478e41d82f6d351a052a63d71024553933808570f04dbf828d7921e80e - languageName: node - linkType: hard - "js-yaml@npm:^3.13.1, js-yaml@npm:^3.6.1": version: 3.14.1 resolution: "js-yaml@npm:3.14.1" @@ -15684,6 +14966,13 @@ __metadata: languageName: node linkType: hard +"lightningcss-android-arm64@npm:1.33.0": + version: 1.33.0 + resolution: "lightningcss-android-arm64@npm:1.33.0" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + "lightningcss-darwin-arm64@npm:1.32.0": version: 1.32.0 resolution: "lightningcss-darwin-arm64@npm:1.32.0" @@ -15691,6 +14980,13 @@ __metadata: languageName: node linkType: hard +"lightningcss-darwin-arm64@npm:1.33.0": + version: 1.33.0 + resolution: "lightningcss-darwin-arm64@npm:1.33.0" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + "lightningcss-darwin-x64@npm:1.32.0": version: 1.32.0 resolution: "lightningcss-darwin-x64@npm:1.32.0" @@ -15698,6 +14994,13 @@ __metadata: languageName: node linkType: hard +"lightningcss-darwin-x64@npm:1.33.0": + version: 1.33.0 + resolution: "lightningcss-darwin-x64@npm:1.33.0" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + "lightningcss-freebsd-x64@npm:1.32.0": version: 1.32.0 resolution: "lightningcss-freebsd-x64@npm:1.32.0" @@ -15705,6 +15008,13 @@ __metadata: languageName: node linkType: hard +"lightningcss-freebsd-x64@npm:1.33.0": + version: 1.33.0 + resolution: "lightningcss-freebsd-x64@npm:1.33.0" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + "lightningcss-linux-arm-gnueabihf@npm:1.32.0": version: 1.32.0 resolution: "lightningcss-linux-arm-gnueabihf@npm:1.32.0" @@ -15712,6 +15022,13 @@ __metadata: languageName: node linkType: hard +"lightningcss-linux-arm-gnueabihf@npm:1.33.0": + version: 1.33.0 + resolution: "lightningcss-linux-arm-gnueabihf@npm:1.33.0" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + "lightningcss-linux-arm64-gnu@npm:1.32.0": version: 1.32.0 resolution: "lightningcss-linux-arm64-gnu@npm:1.32.0" @@ -15719,6 +15036,13 @@ __metadata: languageName: node linkType: hard +"lightningcss-linux-arm64-gnu@npm:1.33.0": + version: 1.33.0 + resolution: "lightningcss-linux-arm64-gnu@npm:1.33.0" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + "lightningcss-linux-arm64-musl@npm:1.32.0": version: 1.32.0 resolution: "lightningcss-linux-arm64-musl@npm:1.32.0" @@ -15726,6 +15050,13 @@ __metadata: languageName: node linkType: hard +"lightningcss-linux-arm64-musl@npm:1.33.0": + version: 1.33.0 + resolution: "lightningcss-linux-arm64-musl@npm:1.33.0" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + "lightningcss-linux-x64-gnu@npm:1.32.0": version: 1.32.0 resolution: "lightningcss-linux-x64-gnu@npm:1.32.0" @@ -15733,6 +15064,13 @@ __metadata: languageName: node linkType: hard +"lightningcss-linux-x64-gnu@npm:1.33.0": + version: 1.33.0 + resolution: "lightningcss-linux-x64-gnu@npm:1.33.0" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + "lightningcss-linux-x64-musl@npm:1.32.0": version: 1.32.0 resolution: "lightningcss-linux-x64-musl@npm:1.32.0" @@ -15740,6 +15078,13 @@ __metadata: languageName: node linkType: hard +"lightningcss-linux-x64-musl@npm:1.33.0": + version: 1.33.0 + resolution: "lightningcss-linux-x64-musl@npm:1.33.0" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + "lightningcss-win32-arm64-msvc@npm:1.32.0": version: 1.32.0 resolution: "lightningcss-win32-arm64-msvc@npm:1.32.0" @@ -15747,9 +15092,23 @@ __metadata: languageName: node linkType: hard -"lightningcss-win32-x64-msvc@npm:1.32.0": - version: 1.32.0 - resolution: "lightningcss-win32-x64-msvc@npm:1.32.0" +"lightningcss-win32-arm64-msvc@npm:1.33.0": + version: 1.33.0 + resolution: "lightningcss-win32-arm64-msvc@npm:1.33.0" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"lightningcss-win32-x64-msvc@npm:1.32.0": + version: 1.32.0 + resolution: "lightningcss-win32-x64-msvc@npm:1.32.0" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + +"lightningcss-win32-x64-msvc@npm:1.33.0": + version: 1.33.0 + resolution: "lightningcss-win32-x64-msvc@npm:1.33.0" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -15797,6 +15156,49 @@ __metadata: languageName: node linkType: hard +"lightningcss@npm:^1.32.0": + version: 1.33.0 + resolution: "lightningcss@npm:1.33.0" + dependencies: + detect-libc: "npm:^2.0.3" + lightningcss-android-arm64: "npm:1.33.0" + lightningcss-darwin-arm64: "npm:1.33.0" + lightningcss-darwin-x64: "npm:1.33.0" + lightningcss-freebsd-x64: "npm:1.33.0" + lightningcss-linux-arm-gnueabihf: "npm:1.33.0" + lightningcss-linux-arm64-gnu: "npm:1.33.0" + lightningcss-linux-arm64-musl: "npm:1.33.0" + lightningcss-linux-x64-gnu: "npm:1.33.0" + lightningcss-linux-x64-musl: "npm:1.33.0" + lightningcss-win32-arm64-msvc: "npm:1.33.0" + lightningcss-win32-x64-msvc: "npm:1.33.0" + dependenciesMeta: + lightningcss-android-arm64: + optional: true + lightningcss-darwin-arm64: + optional: true + lightningcss-darwin-x64: + optional: true + lightningcss-freebsd-x64: + optional: true + lightningcss-linux-arm-gnueabihf: + optional: true + lightningcss-linux-arm64-gnu: + optional: true + lightningcss-linux-arm64-musl: + optional: true + lightningcss-linux-x64-gnu: + optional: true + lightningcss-linux-x64-musl: + optional: true + lightningcss-win32-arm64-msvc: + optional: true + lightningcss-win32-x64-msvc: + optional: true + checksum: 10c0/ce1f8279fbae636dbf37fa6e7385d5f98ed881d72af3362f24afbd4685e19c1fcdfecf17e5dd77f2ebee3d0c23ade276230d85842d07292229a2cffba8ff20a3 + languageName: node + linkType: hard + "lines-and-columns@npm:^1.1.6": version: 1.2.4 resolution: "lines-and-columns@npm:1.2.4" @@ -15944,20 +15346,6 @@ __metadata: languageName: node linkType: hard -"loupe@npm:^3.1.0": - version: 3.1.3 - resolution: "loupe@npm:3.1.3" - checksum: 10c0/f5dab4144254677de83a35285be1b8aba58b3861439ce4ba65875d0d5f3445a4a496daef63100ccf02b2dbc25bf58c6db84c9cb0b96d6435331e9d0a33b48541 - languageName: node - linkType: hard - -"loupe@npm:^3.1.4": - version: 3.2.1 - resolution: "loupe@npm:3.2.1" - checksum: 10c0/910c872cba291309664c2d094368d31a68907b6f5913e989d301b5c25f30e97d76d77f23ab3bf3b46d0f601ff0b6af8810c10c31b91d2c6b2f132809ca2cc705 - languageName: node - linkType: hard - "lru-cache@npm:^10.0.1, lru-cache@npm:^10.2.0": version: 10.4.3 resolution: "lru-cache@npm:10.4.3" @@ -16042,14 +15430,14 @@ __metadata: languageName: node linkType: hard -"magicast@npm:^0.3.5": - version: 0.3.5 - resolution: "magicast@npm:0.3.5" +"magicast@npm:^0.5.2": + version: 0.5.3 + resolution: "magicast@npm:0.5.3" dependencies: - "@babel/parser": "npm:^7.25.4" - "@babel/types": "npm:^7.25.4" - source-map-js: "npm:^1.2.0" - checksum: 10c0/a6cacc0a848af84f03e3f5bda7b0de75e4d0aa9ddce5517fd23ed0f31b5ddd51b2d0ff0b7e09b51f7de0f4053c7a1107117edda6b0732dca3e9e39e6c5a68c64 + "@babel/parser": "npm:^7.29.3" + "@babel/types": "npm:^7.29.0" + source-map-js: "npm:^1.2.1" + checksum: 10c0/e288c027ae5f2a794a59148cb114f4b60f1d5c03090de6c60b4d187f12d1de9158779cd7c39cea391609f4f10cd7ea737929f25f7ce44f7a96ba96ec1a477e39 languageName: node linkType: hard @@ -17443,6 +16831,13 @@ __metadata: languageName: node linkType: hard +"obug@npm:^2.1.1": + version: 2.1.4 + resolution: "obug@npm:2.1.4" + checksum: 10c0/34a0ee97cd88573cfd97d384c2a79f07118ae5680d7e45d1de6e99c74eddefe145e8ca27a2db02195a1ee5fded5aa22b924869c842728c201b9f109a27d0ef19 + languageName: node + linkType: hard + "on-finished@npm:2.4.1": version: 2.4.1 resolution: "on-finished@npm:2.4.1" @@ -17812,13 +17207,6 @@ __metadata: languageName: node linkType: hard -"pathval@npm:^2.0.0": - version: 2.0.0 - resolution: "pathval@npm:2.0.0" - checksum: 10c0/602e4ee347fba8a599115af2ccd8179836a63c925c23e04bd056d0674a64b39e3a081b643cc7bc0b84390517df2d800a46fcc5598d42c155fe4977095c2f77c5 - languageName: node - linkType: hard - "phoenix@npm:1.8.5": version: 1.8.5 resolution: "phoenix@npm:1.8.5" @@ -17861,6 +17249,13 @@ __metadata: languageName: node linkType: hard +"picomatch@npm:^4.0.5": + version: 4.0.5 + resolution: "picomatch@npm:4.0.5" + checksum: 10c0/947bc6b6e1ff1e6c5aaf95b107a0839d12802f4f7b867663f67d47accba939ca1cb582cf99dfc30438efa1c4648ac5990967e783e8929c36b03e8440704ef1bd + languageName: node + linkType: hard + "pify@npm:^4.0.1": version: 4.0.1 resolution: "pify@npm:4.0.1" @@ -17947,7 +17342,7 @@ __metadata: languageName: node linkType: hard -"postcss@npm:^8, postcss@npm:^8.4.43, postcss@npm:^8.5.10, postcss@npm:^8.5.14, postcss@npm:^8.5.6": +"postcss@npm:^8, postcss@npm:^8.5.10, postcss@npm:^8.5.14": version: 8.5.15 resolution: "postcss@npm:8.5.15" dependencies: @@ -18569,13 +17964,6 @@ __metadata: languageName: node linkType: hard -"react-refresh@npm:^0.17.0": - version: 0.17.0 - resolution: "react-refresh@npm:0.17.0" - checksum: 10c0/002cba940384c9930008c0bce26cac97a9d5682bc623112c2268ba0c155127d9c178a9a5cc2212d560088d60dfd503edd808669a25f9b377f316a32361d0b23c - languageName: node - linkType: hard - "react-remove-scroll-bar@npm:^2.3.7": version: 2.3.8 resolution: "react-remove-scroll-bar@npm:2.3.8" @@ -19062,186 +18450,72 @@ __metadata: languageName: node linkType: hard -"rollup-plugin-execute@npm:^1.1.1": - version: 1.1.1 - resolution: "rollup-plugin-execute@npm:1.1.1" - checksum: 10c0/1ea8486698eda449459182043531098ef3837a134fe1b6e854efb6adccddef8d2f6b0756cf5cbfd240913f3055ab761b4ca6fb45a95f8ecc1e302f5d5a1bd0ac - languageName: node - linkType: hard - -"rollup-preserve-directives@npm:^1.1.3": - version: 1.1.3 - resolution: "rollup-preserve-directives@npm:1.1.3" - dependencies: - magic-string: "npm:^0.30.5" - peerDependencies: - rollup: ^2.0.0 || ^3.0.0 || ^4.0.0 - checksum: 10c0/a3d1ecb0672f5dd15c8350d6c741345dfbc267e33d9f1c805a22af264d58fc7abb407bd57b8fceee7d522bd57948898c2f55361572e6735085e69d842055b680 - languageName: node - linkType: hard - -"rollup@npm:^4.20.0": - version: 4.41.0 - resolution: "rollup@npm:4.41.0" - dependencies: - "@rollup/rollup-android-arm-eabi": "npm:4.41.0" - "@rollup/rollup-android-arm64": "npm:4.41.0" - "@rollup/rollup-darwin-arm64": "npm:4.41.0" - "@rollup/rollup-darwin-x64": "npm:4.41.0" - "@rollup/rollup-freebsd-arm64": "npm:4.41.0" - "@rollup/rollup-freebsd-x64": "npm:4.41.0" - "@rollup/rollup-linux-arm-gnueabihf": "npm:4.41.0" - "@rollup/rollup-linux-arm-musleabihf": "npm:4.41.0" - "@rollup/rollup-linux-arm64-gnu": "npm:4.41.0" - "@rollup/rollup-linux-arm64-musl": "npm:4.41.0" - "@rollup/rollup-linux-loongarch64-gnu": "npm:4.41.0" - "@rollup/rollup-linux-powerpc64le-gnu": "npm:4.41.0" - "@rollup/rollup-linux-riscv64-gnu": "npm:4.41.0" - "@rollup/rollup-linux-riscv64-musl": "npm:4.41.0" - "@rollup/rollup-linux-s390x-gnu": "npm:4.41.0" - "@rollup/rollup-linux-x64-gnu": "npm:4.41.0" - "@rollup/rollup-linux-x64-musl": "npm:4.41.0" - "@rollup/rollup-win32-arm64-msvc": "npm:4.41.0" - "@rollup/rollup-win32-ia32-msvc": "npm:4.41.0" - "@rollup/rollup-win32-x64-msvc": "npm:4.41.0" - "@types/estree": "npm:1.0.7" - fsevents: "npm:~2.3.2" - dependenciesMeta: - "@rollup/rollup-android-arm-eabi": - optional: true - "@rollup/rollup-android-arm64": - optional: true - "@rollup/rollup-darwin-arm64": - optional: true - "@rollup/rollup-darwin-x64": - optional: true - "@rollup/rollup-freebsd-arm64": - optional: true - "@rollup/rollup-freebsd-x64": - optional: true - "@rollup/rollup-linux-arm-gnueabihf": - optional: true - "@rollup/rollup-linux-arm-musleabihf": - optional: true - "@rollup/rollup-linux-arm64-gnu": - optional: true - "@rollup/rollup-linux-arm64-musl": - optional: true - "@rollup/rollup-linux-loongarch64-gnu": - optional: true - "@rollup/rollup-linux-powerpc64le-gnu": - optional: true - "@rollup/rollup-linux-riscv64-gnu": - optional: true - "@rollup/rollup-linux-riscv64-musl": - optional: true - "@rollup/rollup-linux-s390x-gnu": - optional: true - "@rollup/rollup-linux-x64-gnu": - optional: true - "@rollup/rollup-linux-x64-musl": - optional: true - "@rollup/rollup-win32-arm64-msvc": - optional: true - "@rollup/rollup-win32-ia32-msvc": - optional: true - "@rollup/rollup-win32-x64-msvc": - optional: true - fsevents: - optional: true - bin: - rollup: dist/bin/rollup - checksum: 10c0/4c3d361f400317cb18f5e3912553a514bb1dcc7ce0c92ff66b9786b598632eb1d56f7bb1cc11ed16a4ccdbe6808ae851bc6bde5d2305cc587450c6212e69617f - languageName: node - linkType: hard - -"rollup@npm:^4.43.0": - version: 4.57.1 - resolution: "rollup@npm:4.57.1" - dependencies: - "@rollup/rollup-android-arm-eabi": "npm:4.57.1" - "@rollup/rollup-android-arm64": "npm:4.57.1" - "@rollup/rollup-darwin-arm64": "npm:4.57.1" - "@rollup/rollup-darwin-x64": "npm:4.57.1" - "@rollup/rollup-freebsd-arm64": "npm:4.57.1" - "@rollup/rollup-freebsd-x64": "npm:4.57.1" - "@rollup/rollup-linux-arm-gnueabihf": "npm:4.57.1" - "@rollup/rollup-linux-arm-musleabihf": "npm:4.57.1" - "@rollup/rollup-linux-arm64-gnu": "npm:4.57.1" - "@rollup/rollup-linux-arm64-musl": "npm:4.57.1" - "@rollup/rollup-linux-loong64-gnu": "npm:4.57.1" - "@rollup/rollup-linux-loong64-musl": "npm:4.57.1" - "@rollup/rollup-linux-ppc64-gnu": "npm:4.57.1" - "@rollup/rollup-linux-ppc64-musl": "npm:4.57.1" - "@rollup/rollup-linux-riscv64-gnu": "npm:4.57.1" - "@rollup/rollup-linux-riscv64-musl": "npm:4.57.1" - "@rollup/rollup-linux-s390x-gnu": "npm:4.57.1" - "@rollup/rollup-linux-x64-gnu": "npm:4.57.1" - "@rollup/rollup-linux-x64-musl": "npm:4.57.1" - "@rollup/rollup-openbsd-x64": "npm:4.57.1" - "@rollup/rollup-openharmony-arm64": "npm:4.57.1" - "@rollup/rollup-win32-arm64-msvc": "npm:4.57.1" - "@rollup/rollup-win32-ia32-msvc": "npm:4.57.1" - "@rollup/rollup-win32-x64-gnu": "npm:4.57.1" - "@rollup/rollup-win32-x64-msvc": "npm:4.57.1" - "@types/estree": "npm:1.0.8" - fsevents: "npm:~2.3.2" +"rolldown@npm:~1.1.5": + version: 1.1.5 + resolution: "rolldown@npm:1.1.5" + dependencies: + "@oxc-project/types": "npm:=0.139.0" + "@rolldown/binding-android-arm64": "npm:1.1.5" + "@rolldown/binding-darwin-arm64": "npm:1.1.5" + "@rolldown/binding-darwin-x64": "npm:1.1.5" + "@rolldown/binding-freebsd-x64": "npm:1.1.5" + "@rolldown/binding-linux-arm-gnueabihf": "npm:1.1.5" + "@rolldown/binding-linux-arm64-gnu": "npm:1.1.5" + "@rolldown/binding-linux-arm64-musl": "npm:1.1.5" + "@rolldown/binding-linux-ppc64-gnu": "npm:1.1.5" + "@rolldown/binding-linux-s390x-gnu": "npm:1.1.5" + "@rolldown/binding-linux-x64-gnu": "npm:1.1.5" + "@rolldown/binding-linux-x64-musl": "npm:1.1.5" + "@rolldown/binding-openharmony-arm64": "npm:1.1.5" + "@rolldown/binding-wasm32-wasi": "npm:1.1.5" + "@rolldown/binding-win32-arm64-msvc": "npm:1.1.5" + "@rolldown/binding-win32-x64-msvc": "npm:1.1.5" + "@rolldown/pluginutils": "npm:^1.0.0" dependenciesMeta: - "@rollup/rollup-android-arm-eabi": - optional: true - "@rollup/rollup-android-arm64": - optional: true - "@rollup/rollup-darwin-arm64": - optional: true - "@rollup/rollup-darwin-x64": + "@rolldown/binding-android-arm64": optional: true - "@rollup/rollup-freebsd-arm64": - optional: true - "@rollup/rollup-freebsd-x64": - optional: true - "@rollup/rollup-linux-arm-gnueabihf": - optional: true - "@rollup/rollup-linux-arm-musleabihf": - optional: true - "@rollup/rollup-linux-arm64-gnu": - optional: true - "@rollup/rollup-linux-arm64-musl": - optional: true - "@rollup/rollup-linux-loong64-gnu": + "@rolldown/binding-darwin-arm64": optional: true - "@rollup/rollup-linux-loong64-musl": + "@rolldown/binding-darwin-x64": optional: true - "@rollup/rollup-linux-ppc64-gnu": - optional: true - "@rollup/rollup-linux-ppc64-musl": - optional: true - "@rollup/rollup-linux-riscv64-gnu": + "@rolldown/binding-freebsd-x64": optional: true - "@rollup/rollup-linux-riscv64-musl": + "@rolldown/binding-linux-arm-gnueabihf": optional: true - "@rollup/rollup-linux-s390x-gnu": + "@rolldown/binding-linux-arm64-gnu": optional: true - "@rollup/rollup-linux-x64-gnu": + "@rolldown/binding-linux-arm64-musl": optional: true - "@rollup/rollup-linux-x64-musl": + "@rolldown/binding-linux-ppc64-gnu": optional: true - "@rollup/rollup-openbsd-x64": + "@rolldown/binding-linux-s390x-gnu": optional: true - "@rollup/rollup-openharmony-arm64": + "@rolldown/binding-linux-x64-gnu": optional: true - "@rollup/rollup-win32-arm64-msvc": + "@rolldown/binding-linux-x64-musl": optional: true - "@rollup/rollup-win32-ia32-msvc": + "@rolldown/binding-openharmony-arm64": optional: true - "@rollup/rollup-win32-x64-gnu": + "@rolldown/binding-wasm32-wasi": optional: true - "@rollup/rollup-win32-x64-msvc": + "@rolldown/binding-win32-arm64-msvc": optional: true - fsevents: + "@rolldown/binding-win32-x64-msvc": optional: true bin: - rollup: dist/bin/rollup - checksum: 10c0/a90aaf1166fc495920e44e52dced0b12283aaceb0924abd6f863102128dd428bbcbf85970f792c06bc63d2a2168e7f073b73e05f6f8d76fdae17b7ac6cacba06 + rolldown: ./bin/cli.mjs + checksum: 10c0/93072aa9d95882f9fa5cd57fe7db6a48efd6f85a25a32137425052ecca02df653651eed0c33a865c33511681bd6a40691d5c88900b8e95ce1334f4f75ba826ff + languageName: node + linkType: hard + +"rollup-preserve-directives@npm:^1.1.3": + version: 1.1.3 + resolution: "rollup-preserve-directives@npm:1.1.3" + dependencies: + magic-string: "npm:^0.30.5" + peerDependencies: + rollup: ^2.0.0 || ^3.0.0 || ^4.0.0 + checksum: 10c0/a3d1ecb0672f5dd15c8350d6c741345dfbc267e33d9f1c805a22af264d58fc7abb407bd57b8fceee7d522bd57948898c2f55361572e6735085e69d842055b680 languageName: node linkType: hard @@ -19944,7 +19218,7 @@ __metadata: languageName: node linkType: hard -"source-map-js@npm:^1.0.2, source-map-js@npm:^1.2.0, source-map-js@npm:^1.2.1": +"source-map-js@npm:^1.0.2, source-map-js@npm:^1.2.1": version: 1.2.1 resolution: "source-map-js@npm:1.2.1" checksum: 10c0/7bda1fc4c197e3c6ff17de1b8b2c20e60af81b63a52cb32ec5a5d67a20a7d42651e2cb34ebe93833c5a2a084377e17455854fee3e21e7925c64a51b6a52b0faf @@ -20109,10 +19383,10 @@ __metadata: languageName: node linkType: hard -"std-env@npm:^3.9.0": - version: 3.9.0 - resolution: "std-env@npm:3.9.0" - checksum: 10c0/4a6f9218aef3f41046c3c7ecf1f98df00b30a07f4f35c6d47b28329bc2531eef820828951c7d7b39a1c5eb19ad8a46e3ddfc7deb28f0a2f3ceebee11bab7ba50 +"std-env@npm:^4.0.0-rc.1": + version: 4.2.0 + resolution: "std-env@npm:4.2.0" + checksum: 10c0/40ac525ce7b7c556abc332a7376f14356eeb1a7f17f6ff9a003eb9f52326ff1f3745d3e1b43452675b1ec6fcc319f1b1d6f3b0d386cf3f91058479ad883cff69 languageName: node linkType: hard @@ -20324,15 +19598,6 @@ __metadata: languageName: node linkType: hard -"strip-literal@npm:^3.0.0": - version: 3.1.0 - resolution: "strip-literal@npm:3.1.0" - dependencies: - js-tokens: "npm:^9.0.1" - checksum: 10c0/50918f669915d9ad0fe4b7599902b735f853f2201c97791ead00104a654259c0c61bc2bc8fa3db05109339b61f4cf09e47b94ecc874ffbd0e013965223893af8 - languageName: node - linkType: hard - "structured-headers@npm:^0.4.1": version: 0.4.1 resolution: "structured-headers@npm:0.4.1" @@ -20528,17 +19793,6 @@ __metadata: languageName: node linkType: hard -"test-exclude@npm:^7.0.1": - version: 7.0.1 - resolution: "test-exclude@npm:7.0.1" - dependencies: - "@istanbuljs/schema": "npm:^0.1.2" - glob: "npm:^10.4.1" - minimatch: "npm:^9.0.4" - checksum: 10c0/6d67b9af4336a2e12b26a68c83308c7863534c65f27ed4ff7068a56f5a58f7ac703e8fc80f698a19bb154fd8f705cdf7ec347d9512b2c522c737269507e7b263 - languageName: node - linkType: hard - "text-table@npm:^0.2.0": version: 0.2.0 resolution: "text-table@npm:0.2.0" @@ -20560,13 +19814,6 @@ __metadata: languageName: node linkType: hard -"tinyexec@npm:^0.3.2": - version: 0.3.2 - resolution: "tinyexec@npm:0.3.2" - checksum: 10c0/3efbf791a911be0bf0821eab37a3445c2ba07acc1522b1fa84ae1e55f10425076f1290f680286345ed919549ad67527d07281f1c19d584df3b74326909eb1f90 - languageName: node - linkType: hard - "tinyexec@npm:^1.0.1": version: 1.0.1 resolution: "tinyexec@npm:1.0.1" @@ -20574,6 +19821,13 @@ __metadata: languageName: node linkType: hard +"tinyexec@npm:^1.0.2": + version: 1.2.4 + resolution: "tinyexec@npm:1.2.4" + checksum: 10c0/153b8db6b080194b558ff145b9cffc36b80a6e07babd644dcfbe49c807eee668c876049d28bdee90b96304476f883352f2dad91b3f86bc23832532f4363e66ff + languageName: node + linkType: hard + "tinyglobby@npm:^0.2.12, tinyglobby@npm:^0.2.13": version: 0.2.13 resolution: "tinyglobby@npm:0.2.13" @@ -20604,24 +19858,20 @@ __metadata: languageName: node linkType: hard -"tinypool@npm:^1.1.1": - version: 1.1.1 - resolution: "tinypool@npm:1.1.1" - checksum: 10c0/bf26727d01443061b04fa863f571016950888ea994ba0cd8cba3a1c51e2458d84574341ab8dbc3664f1c3ab20885c8cf9ff1cc4b18201f04c2cde7d317fff69b - languageName: node - linkType: hard - -"tinyrainbow@npm:^2.0.0": - version: 2.0.0 - resolution: "tinyrainbow@npm:2.0.0" - checksum: 10c0/c83c52bef4e0ae7fb8ec6a722f70b5b6fa8d8be1c85792e829f56c0e1be94ab70b293c032dc5048d4d37cfe678f1f5babb04bdc65fd123098800148ca989184f +"tinyglobby@npm:^0.2.17": + version: 0.2.17 + resolution: "tinyglobby@npm:0.2.17" + dependencies: + fdir: "npm:^6.5.0" + picomatch: "npm:^4.0.4" + checksum: 10c0/7f7bb0f197c88bc4b20c231e0deca4240ca3bf313a88f5a7fee93a872b84966a4d50220947c0455ad07a60b3b360961c5b7fd979222aeb716a9f99b412002e4c languageName: node linkType: hard -"tinyspy@npm:^4.0.3": - version: 4.0.4 - resolution: "tinyspy@npm:4.0.4" - checksum: 10c0/a8020fc17799251e06a8398dcc352601d2770aa91c556b9531ecd7a12581161fd1c14e81cbdaff0c1306c93bfdde8ff6d1c1a3f9bbe6d91604f0fd4e01e2f1eb +"tinyrainbow@npm:^3.1.0": + version: 3.1.1 + resolution: "tinyrainbow@npm:3.1.1" + checksum: 10c0/f9d2743832c6191f753408f36224fe817620b8abcef572b2e570204c673a901d753ff84ca8e7b88f9c79e934295b3ffc6fcbc56a06f126e24e1ec6186dcad40d languageName: node linkType: hard @@ -21437,21 +20687,6 @@ __metadata: languageName: node linkType: hard -"vite-node@npm:3.2.4": - version: 3.2.4 - resolution: "vite-node@npm:3.2.4" - dependencies: - cac: "npm:^6.7.14" - debug: "npm:^4.4.1" - es-module-lexer: "npm:^1.7.0" - pathe: "npm:^2.0.3" - vite: "npm:^5.0.0 || ^6.0.0 || ^7.0.0-0" - bin: - vite-node: vite-node.mjs - checksum: 10c0/6ceca67c002f8ef6397d58b9539f80f2b5d79e103a18367288b3f00a8ab55affa3d711d86d9112fce5a7fa658a212a087a005a045eb8f4758947dd99af2a6c6b - languageName: node - linkType: hard - "vite-plugin-dts@npm:^4.5.0": version: 4.5.4 resolution: "vite-plugin-dts@npm:4.5.4" @@ -21485,22 +20720,22 @@ __metadata: languageName: node linkType: hard -"vite@npm:^5.0.0 || ^6.0.0 || ^7.0.0-0": - version: 7.3.1 - resolution: "vite@npm:7.3.1" +"vite@npm:^6.0.0 || ^7.0.0 || ^8.0.0, vite@npm:^8.1.5": + version: 8.1.5 + resolution: "vite@npm:8.1.5" dependencies: - esbuild: "npm:^0.27.0" - fdir: "npm:^6.5.0" fsevents: "npm:~2.3.3" - picomatch: "npm:^4.0.3" - postcss: "npm:^8.5.6" - rollup: "npm:^4.43.0" - tinyglobby: "npm:^0.2.15" + lightningcss: "npm:^1.32.0" + picomatch: "npm:^4.0.5" + postcss: "npm:^8.5.17" + rolldown: "npm:~1.1.5" + tinyglobby: "npm:^0.2.17" peerDependencies: "@types/node": ^20.19.0 || >=22.12.0 + "@vitejs/devtools": ^0.3.0 + esbuild: ^0.27.0 || ^0.28.0 jiti: ">=1.21.0" less: ^4.0.0 - lightningcss: ^1.21.0 sass: ^1.70.0 sass-embedded: ^1.70.0 stylus: ">=0.54.8" @@ -21514,12 +20749,14 @@ __metadata: peerDependenciesMeta: "@types/node": optional: true + "@vitejs/devtools": + optional: true + esbuild: + optional: true jiti: optional: true less: optional: true - lightningcss: - optional: true sass: optional: true sass-embedded: @@ -21536,50 +20773,7 @@ __metadata: optional: true bin: vite: bin/vite.js - checksum: 10c0/5c7548f5f43a23533e53324304db4ad85f1896b1bfd3ee32ae9b866bac2933782c77b350eb2b52a02c625c8ad1ddd4c000df077419410650c982cd97fde8d014 - languageName: node - linkType: hard - -"vite@npm:^5.4.19": - version: 5.4.19 - resolution: "vite@npm:5.4.19" - dependencies: - esbuild: "npm:^0.21.3" - fsevents: "npm:~2.3.3" - postcss: "npm:^8.4.43" - rollup: "npm:^4.20.0" - peerDependencies: - "@types/node": ^18.0.0 || >=20.0.0 - less: "*" - lightningcss: ^1.21.0 - sass: "*" - sass-embedded: "*" - stylus: "*" - sugarss: "*" - terser: ^5.4.0 - dependenciesMeta: - fsevents: - optional: true - peerDependenciesMeta: - "@types/node": - optional: true - less: - optional: true - lightningcss: - optional: true - sass: - optional: true - sass-embedded: - optional: true - stylus: - optional: true - sugarss: - optional: true - terser: - optional: true - bin: - vite: bin/vite.js - checksum: 10c0/c97601234dba482cea5290f2a2ea0fcd65e1fab3df06718ea48adc8ceb14bc3129508216c4989329c618f6a0470b42f439677a207aef62b0c76f445091c2d89e + checksum: 10c0/3231e24dd4394d0bc8b4f0f5d6d6a2eda8737e5053042892b4163564456a03d67f953c4c7498621f9517eebc30a492ea136c728a767a122eb84bf6d7cf60e1e6 languageName: node linkType: hard @@ -21599,49 +20793,59 @@ __metadata: languageName: node linkType: hard -"vitest@npm:^3.2.4": - version: 3.2.4 - resolution: "vitest@npm:3.2.4" +"vitest@npm:^4.1.10": + version: 4.1.10 + resolution: "vitest@npm:4.1.10" dependencies: - "@types/chai": "npm:^5.2.2" - "@vitest/expect": "npm:3.2.4" - "@vitest/mocker": "npm:3.2.4" - "@vitest/pretty-format": "npm:^3.2.4" - "@vitest/runner": "npm:3.2.4" - "@vitest/snapshot": "npm:3.2.4" - "@vitest/spy": "npm:3.2.4" - "@vitest/utils": "npm:3.2.4" - chai: "npm:^5.2.0" - debug: "npm:^4.4.1" - expect-type: "npm:^1.2.1" - magic-string: "npm:^0.30.17" + "@vitest/expect": "npm:4.1.10" + "@vitest/mocker": "npm:4.1.10" + "@vitest/pretty-format": "npm:4.1.10" + "@vitest/runner": "npm:4.1.10" + "@vitest/snapshot": "npm:4.1.10" + "@vitest/spy": "npm:4.1.10" + "@vitest/utils": "npm:4.1.10" + es-module-lexer: "npm:^2.0.0" + expect-type: "npm:^1.3.0" + magic-string: "npm:^0.30.21" + obug: "npm:^2.1.1" pathe: "npm:^2.0.3" - picomatch: "npm:^4.0.2" - std-env: "npm:^3.9.0" + picomatch: "npm:^4.0.3" + std-env: "npm:^4.0.0-rc.1" tinybench: "npm:^2.9.0" - tinyexec: "npm:^0.3.2" - tinyglobby: "npm:^0.2.14" - tinypool: "npm:^1.1.1" - tinyrainbow: "npm:^2.0.0" - vite: "npm:^5.0.0 || ^6.0.0 || ^7.0.0-0" - vite-node: "npm:3.2.4" + tinyexec: "npm:^1.0.2" + tinyglobby: "npm:^0.2.15" + tinyrainbow: "npm:^3.1.0" + vite: "npm:^6.0.0 || ^7.0.0 || ^8.0.0" why-is-node-running: "npm:^2.3.0" peerDependencies: "@edge-runtime/vm": "*" - "@types/debug": ^4.1.12 - "@types/node": ^18.0.0 || ^20.0.0 || >=22.0.0 - "@vitest/browser": 3.2.4 - "@vitest/ui": 3.2.4 + "@opentelemetry/api": ^1.9.0 + "@types/node": ^20.0.0 || ^22.0.0 || >=24.0.0 + "@vitest/browser-playwright": 4.1.10 + "@vitest/browser-preview": 4.1.10 + "@vitest/browser-webdriverio": 4.1.10 + "@vitest/coverage-istanbul": 4.1.10 + "@vitest/coverage-v8": 4.1.10 + "@vitest/ui": 4.1.10 happy-dom: "*" jsdom: "*" + vite: ^6.0.0 || ^7.0.0 || ^8.0.0 peerDependenciesMeta: "@edge-runtime/vm": optional: true - "@types/debug": + "@opentelemetry/api": optional: true "@types/node": optional: true - "@vitest/browser": + "@vitest/browser-playwright": + optional: true + "@vitest/browser-preview": + optional: true + "@vitest/browser-webdriverio": + optional: true + "@vitest/coverage-istanbul": + optional: true + "@vitest/coverage-v8": optional: true "@vitest/ui": optional: true @@ -21649,9 +20853,11 @@ __metadata: optional: true jsdom: optional: true + vite: + optional: false bin: - vitest: vitest.mjs - checksum: 10c0/5bf53ede3ae6a0e08956d72dab279ae90503f6b5a05298a6a5e6ef47d2fd1ab386aaf48fafa61ed07a0ebfe9e371772f1ccbe5c258dd765206a8218bf2eb79eb + vitest: ./vitest.mjs + checksum: 10c0/ff07294a57f9c62f3b503f7cf88a52ee0753ed26389a49cda430387a3898f39d80af47180b0af19e27acab5bd11ae95706bd4b44ce8befc97d3ae49af6ca4fc1 languageName: node linkType: hard From 4999fbaeefd1b9babe58b3979c954ecf2b62e117 Mon Sep 17 00:00:00 2001 From: Kyle McDonald Date: Wed, 29 Jul 2026 12:34:39 -0500 Subject: [PATCH 2/5] fix(KNO-14479): restore "use strict" in published CJS output Rolldown defaults output.strict to "auto", which only emits the directive when the source literally contains one. TypeScript and ESM sources never do, so every published CJS file lost "use strict" (144/144 files had it on Vite 5, 0/209 after the upgrade). Rollup defaulted this to true. Sloppy mode changes real semantics: assignments to non-writable properties fail silently instead of throwing, and `this` is globalThis rather than undefined in plain calls. The code is authored under strict semantics, so it should ship that way. Setting output.strict restores it across all five package configs: 209/209 CJS files now carry the directive. --- packages/client/vite.config.mts | 4 ++++ packages/expo/vite.config.mts | 4 ++++ packages/react-core/vite.config.mts | 4 ++++ packages/react-native/vite.config.mts | 4 ++++ packages/react/vite.config.mts | 4 ++++ 5 files changed, 20 insertions(+) diff --git a/packages/client/vite.config.mts b/packages/client/vite.config.mts index 8f84afd24..c624e4335 100644 --- a/packages/client/vite.config.mts +++ b/packages/client/vite.config.mts @@ -42,6 +42,10 @@ export default defineConfig(({ mode }) => { }, rollupOptions: { output: { + // Rolldown defaults `strict` to "auto", which respects source-level + // directives. TS/ESM sources never write one, so CJS output would + // ship sloppy-mode. Rollup defaulted this to true. + strict: true, entryFileNames: () => { return `[name].${CJS ? "js" : "mjs"}`; }, diff --git a/packages/expo/vite.config.mts b/packages/expo/vite.config.mts index 583366eea..90039a716 100644 --- a/packages/expo/vite.config.mts +++ b/packages/expo/vite.config.mts @@ -43,6 +43,10 @@ export default defineConfig(({ mode }) => { "expo-notifications", ], output: { + // Rolldown defaults `strict` to "auto", which respects source-level + // directives. TS/ESM sources never write one, so CJS output would + // ship sloppy-mode. Rollup defaulted this to true. + strict: true, format: formats[0], globals: { react: "React", diff --git a/packages/react-core/vite.config.mts b/packages/react-core/vite.config.mts index 9887e766e..13795aa42 100644 --- a/packages/react-core/vite.config.mts +++ b/packages/react-core/vite.config.mts @@ -38,6 +38,10 @@ export default defineConfig(({ mode }) => { // External packages that should not be bundled external: ["react"], output: { + // Rolldown defaults `strict` to "auto", which respects source-level + // directives. TS/ESM sources never write one, so CJS output would + // ship sloppy-mode. Rollup defaulted this to true. + strict: true, globals: { react: "React", }, diff --git a/packages/react-native/vite.config.mts b/packages/react-native/vite.config.mts index af4f99cc2..b1fbb4a32 100644 --- a/packages/react-native/vite.config.mts +++ b/packages/react-native/vite.config.mts @@ -35,6 +35,10 @@ export default defineConfig(({ mode }) => { // External packages that should not be bundled into your library. external: ["react", "react-native"], output: { + // Rolldown defaults `strict` to "auto", which respects source-level + // directives. TS/ESM sources never write one, so CJS output would + // ship sloppy-mode. Rollup defaulted this to true. + strict: true, format: formats[0], globals: { react: "React", diff --git a/packages/react/vite.config.mts b/packages/react/vite.config.mts index ab137e47e..5969f44f5 100644 --- a/packages/react/vite.config.mts +++ b/packages/react/vite.config.mts @@ -55,6 +55,10 @@ export default defineConfig(({ mode }) => { // External peer dependency packages that should not be bundled external: [ "react", "react-dom", "next", /^next\/.*/, "@tanstack/react-router" ], output: { + // Rolldown defaults `strict` to "auto", which respects source-level + // directives. TS/ESM sources never write one, so CJS output would + // ship sloppy-mode. Rollup defaulted this to true. + strict: true, globals: { react: "React", }, From 577b63695f4d87b38797b50e66f1b493158b2690 Mon Sep 17 00:00:00 2001 From: Kyle McDonald Date: Wed, 29 Jul 2026 14:04:41 -0500 Subject: [PATCH 3/5] fix(KNO-14479): drop require cycles and strip Vite's CSS hash marker Two build-output regressions surfaced by comparing the Vite 8 artifacts against a Vite 5 baseline build of the same commit. Require cycles in @knocklabs/react-core. Rollup tree-shook the source barrel files away; rolldown keeps them and emits bare side-effect requires for them, so requiring the CJS entry printed 13 'Accessing non-existent property ... inside circular dependency' warnings on every process start. @knocklabs/react inherited all 13 through its dependency on react-core. react-core has no side-effectful modules and no CSS imports, so declaring sideEffects:false lets the barrels be dropped: 22 barrel chunks become 2, and the warnings go to 0 in both packages. Public exports are unchanged at 47 and 73, none undefined. Vite's internal hash marker leaking into the published stylesheet. Vite appends /*$vite$:1*/ in finalizeCss() and strips it again at the end of the same generateBundle hook, but the stylesheet is added to the bundle via emitFile() inside that hook and so misses the strip. The hook that moves index.css now strips it from both published copies. --- packages/react-core/package.json | 1 + packages/react/vite.config.mts | 16 ++++++++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/packages/react-core/package.json b/packages/react-core/package.json index 37cb1aeaa..a52ef34cc 100644 --- a/packages/react-core/package.json +++ b/packages/react-core/package.json @@ -3,6 +3,7 @@ "description": "A set of React components to build notification experiences powered by Knock", "author": "@knocklabs", "version": "0.14.0", + "sideEffects": false, "license": "MIT", "main": "dist/cjs/index.js", "module": "dist/esm/index.mjs", diff --git a/packages/react/vite.config.mts b/packages/react/vite.config.mts index 5969f44f5..f0da05281 100644 --- a/packages/react/vite.config.mts +++ b/packages/react/vite.config.mts @@ -84,12 +84,24 @@ export default defineConfig(({ mode }) => { { // Move index.css to root of dist. `assetFileNames` can't do this // itself, since rolldown rejects patterns that escape the outDir. - name: "move-index-css-to-dist-root", + // + // Also strip Vite's internal hash-update marker. Vite appends + // `/*$vite$:1*/` in finalizeCss() and strips it again at the end + // of the same generateBundle hook, but the stylesheet is added to + // the bundle via emitFile() within that hook, so it misses the + // strip and the marker leaks into the published file. + name: "finalize-index-css", writeBundle() { + const marker = /\/\*\$vite\$:\d+\*\//g; const from = path.resolve(__dirname, "dist/esm/index.css"); const to = path.resolve(__dirname, "dist/index.css"); if (fs.existsSync(from)) { - fs.renameSync(from, to); + fs.writeFileSync(to, fs.readFileSync(from, "utf8").replace(marker, "")); + fs.unlinkSync(from); + } + const cjs = path.resolve(__dirname, "dist/cjs/index.css"); + if (fs.existsSync(cjs)) { + fs.writeFileSync(cjs, fs.readFileSync(cjs, "utf8").replace(marker, "")); } }, }, From 79a8034b0209be3329367b1df64c284e962b09b6 Mon Sep 17 00:00:00 2001 From: Kyle McDonald Date: Wed, 29 Jul 2026 14:27:37 -0500 Subject: [PATCH 4/5] chore(KNO-14479): drop the output.strict comment from the vite configs The three-line explanation was repeated verbatim in all five configs. The reasoning now lives in the PR description instead. --- packages/client/vite.config.mts | 3 --- packages/expo/vite.config.mts | 3 --- packages/react-core/vite.config.mts | 3 --- packages/react-native/vite.config.mts | 3 --- packages/react/vite.config.mts | 3 --- 5 files changed, 15 deletions(-) diff --git a/packages/client/vite.config.mts b/packages/client/vite.config.mts index c624e4335..7c7c491ce 100644 --- a/packages/client/vite.config.mts +++ b/packages/client/vite.config.mts @@ -42,9 +42,6 @@ export default defineConfig(({ mode }) => { }, rollupOptions: { output: { - // Rolldown defaults `strict` to "auto", which respects source-level - // directives. TS/ESM sources never write one, so CJS output would - // ship sloppy-mode. Rollup defaulted this to true. strict: true, entryFileNames: () => { return `[name].${CJS ? "js" : "mjs"}`; diff --git a/packages/expo/vite.config.mts b/packages/expo/vite.config.mts index 90039a716..0dd43128b 100644 --- a/packages/expo/vite.config.mts +++ b/packages/expo/vite.config.mts @@ -43,9 +43,6 @@ export default defineConfig(({ mode }) => { "expo-notifications", ], output: { - // Rolldown defaults `strict` to "auto", which respects source-level - // directives. TS/ESM sources never write one, so CJS output would - // ship sloppy-mode. Rollup defaulted this to true. strict: true, format: formats[0], globals: { diff --git a/packages/react-core/vite.config.mts b/packages/react-core/vite.config.mts index 13795aa42..9f4414e1a 100644 --- a/packages/react-core/vite.config.mts +++ b/packages/react-core/vite.config.mts @@ -38,9 +38,6 @@ export default defineConfig(({ mode }) => { // External packages that should not be bundled external: ["react"], output: { - // Rolldown defaults `strict` to "auto", which respects source-level - // directives. TS/ESM sources never write one, so CJS output would - // ship sloppy-mode. Rollup defaulted this to true. strict: true, globals: { react: "React", diff --git a/packages/react-native/vite.config.mts b/packages/react-native/vite.config.mts index b1fbb4a32..1ea66594e 100644 --- a/packages/react-native/vite.config.mts +++ b/packages/react-native/vite.config.mts @@ -35,9 +35,6 @@ export default defineConfig(({ mode }) => { // External packages that should not be bundled into your library. external: ["react", "react-native"], output: { - // Rolldown defaults `strict` to "auto", which respects source-level - // directives. TS/ESM sources never write one, so CJS output would - // ship sloppy-mode. Rollup defaulted this to true. strict: true, format: formats[0], globals: { diff --git a/packages/react/vite.config.mts b/packages/react/vite.config.mts index f0da05281..705823429 100644 --- a/packages/react/vite.config.mts +++ b/packages/react/vite.config.mts @@ -55,9 +55,6 @@ export default defineConfig(({ mode }) => { // External peer dependency packages that should not be bundled external: [ "react", "react-dom", "next", /^next\/.*/, "@tanstack/react-router" ], output: { - // Rolldown defaults `strict` to "auto", which respects source-level - // directives. TS/ESM sources never write one, so CJS output would - // ship sloppy-mode. Rollup defaulted this to true. strict: true, globals: { react: "React", From a4ecac540cab2430b871c6f32baeacd71b909201 Mon Sep 17 00:00:00 2001 From: Kyle McDonald Date: Wed, 29 Jul 2026 15:45:22 -0500 Subject: [PATCH 5/5] docs(KNO-14479): correct the entryFileNames comment The comment said the empty .css proxy chunks get deleted below. Nothing deletes them anymore, because the find -delete steps went away with rollup-plugin-execute. Vite removes those chunks from the bundle itself, so they never reach disk under either bundler. --- packages/react/vite.config.mts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/react/vite.config.mts b/packages/react/vite.config.mts index 705823429..f76353204 100644 --- a/packages/react/vite.config.mts +++ b/packages/react/vite.config.mts @@ -69,8 +69,9 @@ export default defineConfig(({ mode }) => { }, entryFileNames: (chunkInfo) => { // Chunks from `?inline` CSS imports carry the compiled style - // string as code, so they must not be named like the empty .css - // proxy chunks that get deleted and stripped below. + // string as code, so they need a name that sets them apart from + // the empty .css proxy chunks. Vite drops those proxy chunks from + // the bundle itself, so nothing here has to delete them. if (chunkInfo.facadeModuleId?.endsWith("?inline")) { return `[name].inline.${CJS ? "js" : "mjs"}`; }