diff --git a/.changeset/core-fs-dev-missing-image.md b/.changeset/core-fs-dev-missing-image.md new file mode 100644 index 00000000..e8304c36 --- /dev/null +++ b/.changeset/core-fs-dev-missing-image.md @@ -0,0 +1,5 @@ +--- +"@opennextjs/core": patch +--- + +Fail the request for a missing image with the `fs-dev` image loader, it used to crash the server. diff --git a/.changeset/core-global-async-local-storage.md b/.changeset/core-global-async-local-storage.md new file mode 100644 index 00000000..f0cf68f5 --- /dev/null +++ b/.changeset/core-global-async-local-storage.md @@ -0,0 +1,5 @@ +--- +"@opennextjs/core": patch +--- + +Define the global `AsyncLocalStorage` in the request handler, the server crashed on its first render when the app has no middleware. diff --git a/.changeset/core-static-html-pages.md b/.changeset/core-static-html-pages.md new file mode 100644 index 00000000..4e073105 --- /dev/null +++ b/.changeset/core-static-html-pages.md @@ -0,0 +1,5 @@ +--- +"@opennextjs/core": patch +--- + +Serve the pages router pages Next.js renders to HTML at build time, they returned a 404. diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index e460ab10..b51d032c 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -5,6 +5,9 @@ inputs: node-version: description: Node.js version to install default: "24" + pnpm-cache: + description: Restores and saves the pnpm store + default: "true" runs: using: composite @@ -19,7 +22,7 @@ runs: with: node-version: ${{ inputs.node-version }} registry-url: https://registry.npmjs.org - cache: pnpm + cache: ${{ inputs.pnpm-cache == 'true' && 'pnpm' || '' }} # Enable node compile cache (effective for Node 22+) # See https://nodejs.org/docs/v24.11.1/api/module.html#module-compile-cache diff --git a/.github/workflows/next-suite.yml b/.github/workflows/next-suite.yml new file mode 100644 index 00000000..b5786dfe --- /dev/null +++ b/.github/workflows/next-suite.yml @@ -0,0 +1,136 @@ +name: Next.js Test Suite + +on: + schedule: + - cron: "0 3 * * *" + workflow_dispatch: + inputs: + nextRef: + description: Next.js ref (tag, branch or commit) + default: v16.2.1 + type: string + # The adapters' runtime is in the packages, a change there can make a test of the suite fail. + pull_request: + paths: + - ".github/actions/setup/**" + - ".github/workflows/next-suite.yml" + - "packages/**" + - "pnpm-lock.yaml" + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +permissions: + contents: read + +env: + NEXT_REF: ${{ inputs.nextRef || 'v16.2.1' }} + NEXT_DIR: packages/tests-next-suite/.cache/next.js + +jobs: + # Checks out and builds Next.js once, the other jobs restore it from the cache. + next: + name: Build Next.js + runs-on: ubuntu-24.04 + timeout-minutes: 45 + steps: + - uses: actions/checkout@v7 + - uses: ./.github/actions/setup + + - name: Cache the Next.js checkout + id: next-cache + uses: actions/cache@v6 + with: + path: | + packages/tests-next-suite/.cache/next.js + ~/.cache/ms-playwright + key: next-suite-${{ runner.os }}-${{ inputs.nextRef || 'v16.2.1' }} + + - name: Build Next.js + if: steps.next-cache.outputs.cache-hit != 'true' + run: pnpm next-suite setup --ref "$NEXT_REF" + + suite: + name: Suite (${{ matrix.target }} ${{ matrix.group }}/16) + needs: next + runs-on: ubuntu-24.04 + timeout-minutes: 180 + strategy: + fail-fast: false + matrix: + target: [core, cloudflare] + group: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16] + steps: + - uses: actions/checkout@v7 + # These jobs run unlocked packages from npm, they must not save to a cache release jobs restore. + - uses: ./.github/actions/setup + with: + pnpm-cache: "false" + + - name: Restore the Next.js checkout + uses: actions/cache/restore@v6 + with: + path: | + packages/tests-next-suite/.cache/next.js + ~/.cache/ms-playwright + key: next-suite-${{ runner.os }}-${{ inputs.nextRef || 'v16.2.1' }} + fail-on-cache-miss: true + + - name: Install the browser dependencies + working-directory: ${{ env.NEXT_DIR }} + run: pnpm playwright install --with-deps chromium + + - name: Run the tests + run: pnpm next-suite run --target ${{ matrix.target }} --ref "$NEXT_REF" --group ${{ matrix.group }}/16 -c 2 --retries 1 + + - name: Upload the reports + if: always() + uses: actions/upload-artifact@v7 + with: + name: junit-${{ matrix.target }}-${{ matrix.group }} + path: | + ${{ env.NEXT_DIR }}/test/turbopack-test-junit-report + ${{ env.NEXT_DIR }}/test/test-junit-report + include-hidden-files: true + if-no-files-found: ignore + retention-days: 14 + + # Lists what failed, as disable lists which can replace the ones in `packages/tests-next-suite/disabled`. + report: + name: Report + needs: suite + if: always() && needs.suite.result != 'skipped' + runs-on: ubuntu-latest + timeout-minutes: 15 + steps: + - uses: actions/checkout@v7 + - uses: ./.github/actions/setup + + - name: Download the reports + uses: actions/download-artifact@v8 + with: + pattern: junit-* + path: reports + + - name: Summarize the failures + run: | + mkdir -p candidates + for target in core cloudflare; do + mkdir -p "reports-$target" + for dir in reports/junit-"$target"-*; do + if [ -d "$dir" ]; then cp -r "$dir" "reports-$target/"; fi + done + pnpm --silent next-suite disabled-from-junit \ + --target "$target" \ + --input "reports-$target" \ + --output "candidates/$target.json" \ + --reason "Failing in CI run $GITHUB_RUN_ID" >> "$GITHUB_STEP_SUMMARY" + done + + - name: Upload the candidate disable lists + uses: actions/upload-artifact@v7 + with: + name: next-suite-disabled + path: candidates + retention-days: 14 diff --git a/AGENTS.md b/AGENTS.md index f6aa5190..9424b77b 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -64,6 +64,20 @@ pnpm --filter tests-unit vitest pnpm --filter @opennextjs/cloudflare test ``` +### Next.js test suite + +Runs the Next.js e2e suite against the `core` and `cloudflare` adapters. See `packages/tests-next-suite/README.md`. + +```bash +# Check out and build Next.js, once +pnpm next-suite setup + +# Run a test file on an adapter +pnpm next-suite run --target cloudflare -c 1 test/e2e/app-dir/hello-world/hello-world.test.ts +``` + +Tests are disabled per adapter in `packages/tests-next-suite/disabled/.json`. + ### Package-specific commands ```bash diff --git a/package.json b/package.json index 77587488..5dbd0915 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "e2e:dev": "pnpm build && pnpm -r e2e:dev", "install-playwright": "playwright install --with-deps", "benchmark": "pnpm run --filter benchmarking benchmark", + "next-suite": "pnpm --filter tests-next-suite next-suite", "postinstall": "pnpm build:opennext" }, "devDependencies": { diff --git a/packages/core/src/build/createRoutingConfig.ts b/packages/core/src/build/createRoutingConfig.ts index b1bdde4b..eef26956 100644 --- a/packages/core/src/build/createRoutingConfig.ts +++ b/packages/core/src/build/createRoutingConfig.ts @@ -6,6 +6,7 @@ import type { RuntimeRoutingConfig } from "../types/adapter.js"; import type { BuildCompleteContext } from "./adapter.js"; import type * as buildHelper from "./helper.js"; import { normalizeRouting } from "./normalizeRouting.js"; +import { getStaticPages } from "./staticPages.js"; const EXECUTABLE_OUTPUT_TYPES = ["pages", "pagesApi", "appPages", "appRoutes"] as const; const PATHNAME_OUTPUT_TYPES = [...EXECUTABLE_OUTPUT_TYPES, "staticFiles"] as const; @@ -142,6 +143,13 @@ export function createRoutingConfig( // The set has to be snapshotted before the prerendered pathnames are indexed - they are servable // but not executable, and may never be the resolution target of another prerendered pathname. const executableRoutes = new Set(Object.keys(routeIndex)); + const staticPageRoutes = getStaticPages(context.outputs, { + basePath: context.config.basePath, + locales: context.config.i18n?.locales, + }).map(({ route }) => route); + for (const route of staticPageRoutes) { + routeIndex[route] = { type: "static", isFallback: false, isISR: false }; + } const resolvePrerenderRoute = createPrerenderRouteResolver(context, executableRoutes); const prerenderPathnames: string[] = []; @@ -162,7 +170,7 @@ export function createRoutingConfig( const outputPathnames = PATHNAME_OUTPUT_TYPES.flatMap((outputType) => (context.outputs[outputType] ?? []).map((output) => output.pathname) ); - const servablePathnames = [...outputPathnames, ...prerenderPathnames]; + const servablePathnames = [...outputPathnames, ...prerenderPathnames, ...staticPageRoutes]; const pathnames = [ ...new Set( context.config.trailingSlash ? withTrailingSlashVariants(servablePathnames) : servablePathnames diff --git a/packages/core/src/build/staticPages.ts b/packages/core/src/build/staticPages.ts new file mode 100644 index 00000000..4c2e5427 --- /dev/null +++ b/packages/core/src/build/staticPages.ts @@ -0,0 +1,54 @@ +import type { NextAdapterOutputs } from "../types/adapter.js"; + +export type StaticPage = { + /** The pathname the page is served on. */ + route: string; + filePath: string; +}; + +export type StaticPageOptions = { + basePath?: string; + locales?: string[]; +}; + +const ERROR_PAGES = new Set(["/404", "/500"]); + +/** Inverse of the `normalizePagePath` of Next.js, which prefixes `/index` to the pages starting with it. */ +function denormalizePagePath(page: string): string { + if (page === "/index") { + return "/"; + } + return page.startsWith("/index/") ? page.slice("/index".length) : page; +} + +/** + * Lists the pages Next.js fully rendered to HTML at build time, i.e. pages without data fetching. + * + * Next.js reports them as static files with no route to reach them. Their pathname holds the base path, + * the locale and the page path as Next.js normalizes it, `/index` for the index page. The html files of + * the public directory are static files too, those are assets whose pathname is their file name. + * + * @param outputs The outputs of the build. + * @param options The base path and the locales of the build. + * @returns The pages, with the pathname they are served on. + */ +export function getStaticPages( + outputs: Pick, + { basePath = "", locales = [] }: StaticPageOptions = {} +): StaticPage[] { + return (outputs.staticFiles ?? []).flatMap(({ pathname, filePath }) => { + if (!filePath.endsWith(".html") || pathname.endsWith(".html")) { + return []; + } + let page = basePath && pathname.startsWith(basePath) ? pathname.slice(basePath.length) : pathname; + const segment = page.split("/")[1] ?? ""; + const locale = locales.includes(segment) ? `/${segment}` : ""; + page = page.slice(locale.length) || "/"; + // The error pages are rendered by the server with their status code, they are not routes. + if (ERROR_PAGES.has(page)) { + return []; + } + const route = denormalizePagePath(page); + return [{ route: `${basePath}${locale}${route === "/" ? "" : route}` || "/", filePath }]; + }); +} diff --git a/packages/core/src/core/requestHandler.ts b/packages/core/src/core/requestHandler.ts index b9260891..272dc409 100644 --- a/packages/core/src/core/requestHandler.ts +++ b/packages/core/src/core/requestHandler.ts @@ -20,6 +20,10 @@ import routingHandler, { MIDDLEWARE_HEADER_PREFIX_LEN, } from "./routingHandler"; +// Next.js sets this when `next-server` is loaded, which the adapter bundle does not do. Without it, the +// runtime of the routes throws when it gets loaded, when nothing else (like node middleware) has set it. +globalThis.AsyncLocalStorage ??= AsyncLocalStorage; + // This is used to identify requests in the cache globalThis.__openNextAls = new AsyncLocalStorage(); diff --git a/packages/core/src/core/routing/adapterHandler.ts b/packages/core/src/core/routing/adapterHandler.ts index 81b7e341..83c36132 100644 --- a/packages/core/src/core/routing/adapterHandler.ts +++ b/packages/core/src/core/routing/adapterHandler.ts @@ -61,6 +61,31 @@ export async function adapterHandler( } } +/** + * Creates the handler of a page Next.js rendered to HTML at build time. + * + * @param html The content of the page. + * @returns The handler, it answers like the Next.js server does. + */ +export function createStaticPageHandler(html: string) { + return { + handler: async (req: IncomingMessage, res: OpenNextNodeResponse) => { + const isHead = req.method === "HEAD"; + if (req.method !== "GET" && !isHead) { + res.statusCode = 405; + res.setHeader("allow", "GET, HEAD"); + res.end("Method Not Allowed"); + } else { + // A rewrite can have set the status code, it applies to the page. + res.statusCode ||= 200; + res.setHeader("content-type", "text/html; charset=utf-8"); + res.end(isHead ? undefined : html); + } + await finished(res); + }, + }; +} + async function handle404(req: IncomingMessage, res: OpenNextNodeResponse, waitUntil?: WaitUntil) { try { // TODO: find the correct one to use. diff --git a/packages/core/src/overrides/imageLoader/fs-dev.ts b/packages/core/src/overrides/imageLoader/fs-dev.ts index cdf0b77e..cdd96753 100644 --- a/packages/core/src/overrides/imageLoader/fs-dev.ts +++ b/packages/core/src/overrides/imageLoader/fs-dev.ts @@ -10,6 +10,11 @@ export default { load: async (url: string) => { const urlWithoutBasePath = NextConfig.basePath ? url.slice(NextConfig.basePath.length) : url; const imagePath = path.join(getMonorepoRelativePath(), "assets", urlWithoutBasePath); + // A stream emits this as an `error` event nothing listens to, which would kill the server. + const stats = await fs.promises.stat(imagePath); + if (!stats.isFile()) { + throw new Error(`The image is not a file: ${imagePath}`); + } const body = fs.createReadStream(imagePath); const contentType = url.endsWith(".png") ? "image/png" : "image/jpeg"; return { diff --git a/packages/core/src/plugins/inlineRouteHandlers.ts b/packages/core/src/plugins/inlineRouteHandlers.ts index ccce78c0..4056de70 100644 --- a/packages/core/src/plugins/inlineRouteHandlers.ts +++ b/packages/core/src/plugins/inlineRouteHandlers.ts @@ -1,7 +1,12 @@ +import fs from "node:fs"; +import path from "node:path"; + +import { loadConfig } from "@/config/util.js"; import type { NextAdapterOutputs } from "@/types/adapter.js"; import { getCrossPlatformPathRegex } from "@/utils/regex.js"; import { patchCode } from "../build/patch/astCodePatcher.js"; +import { getStaticPages } from "../build/staticPages.js"; import type { ContentUpdater, Plugin } from "./content-updater.js"; @@ -18,7 +23,8 @@ export function inlineRouteHandler( escape: false, }), contentFilter: /getHandler/, - callback: ({ contents }) => patchCode(contents, inlineRule(outputs)), + callback: ({ contents }) => + `${patchCode(contents, inlineRule(outputs))}\n${renderStaticPages(outputs)}`, }, // For turbopack, we need to also patch the `[turbopack]_runtime.js` file. { @@ -49,6 +55,9 @@ rule: pattern: "function getHandler($ROUTE) { $$$BODY }" fix: |- function getHandler($ROUTE) { + if ($ROUTE.type === "static") { + return createStaticPageHandler(staticPages[$ROUTE.route]); + } switch($ROUTE.route) { ${Object.entries(routeToHandlerPath) .map(([route, file]) => ` case "${route}": return require("${file}");`) @@ -60,6 +69,29 @@ ${Object.entries(routeToHandlerPath) }`; } +/** + * Generates the map of the static pages, `getHandler` serves them from it. + * + * Their content has to be in the bundle as the runtime can not always read from a filesystem. This is + * appended to the file and not part of the patch, which would interpret the `$` of the pages. + * + * @param outputs The outputs of the build. + * @returns The JavaScript declaring the map. + */ +export function renderStaticPages(outputs: Pick): string { + const html = (outputs.staticFiles ?? []).find(({ filePath }) => filePath.includes("/server/pages/")); + // The routes have to match the ones of the routing config, which uses the config of the build. + const config = html + ? loadConfig(html.filePath.slice(0, html.filePath.indexOf("/server/pages/"))) + : undefined; + const options = { basePath: config?.basePath, locales: config?.i18n?.locales }; + const pages = getStaticPages(outputs, options).map(({ route, filePath }) => [ + route, + fs.readFileSync(filePath, "utf8"), + ]); + return `const staticPages = ${JSON.stringify(Object.fromEntries(pages))};`; +} + //TODO: Make this one more resilient to code changes const inlineChunksRule = ` rule: diff --git a/packages/core/src/types/adapter.ts b/packages/core/src/types/adapter.ts index 15ec4fd8..ee35b7dc 100644 --- a/packages/core/src/types/adapter.ts +++ b/packages/core/src/types/adapter.ts @@ -45,7 +45,7 @@ export type RuntimeRoutingConfig = { routeIndex: Record< string, { - type: "page" | "app" | "route"; + type: "page" | "app" | "route" | "static"; isFallback: boolean; /** * Whether the route is prerendered - it either has a build time cache entry or is a diff --git a/packages/core/src/types/open-next.ts b/packages/core/src/types/open-next.ts index e1850db9..bcbc0698 100644 --- a/packages/core/src/types/open-next.ts +++ b/packages/core/src/types/open-next.ts @@ -130,7 +130,7 @@ export type IncludedConverter = | "sqs-revalidate" | "dummy"; -export type RouteType = "route" | "page" | "app"; +export type RouteType = "route" | "page" | "app" | "static"; export interface ResolvedRoute { route: string; diff --git a/packages/tests-next-suite/.gitignore b/packages/tests-next-suite/.gitignore new file mode 100644 index 00000000..ceddaa37 --- /dev/null +++ b/packages/tests-next-suite/.gitignore @@ -0,0 +1 @@ +.cache/ diff --git a/packages/tests-next-suite/README.md b/packages/tests-next-suite/README.md new file mode 100644 index 00000000..dd51e8d9 --- /dev/null +++ b/packages/tests-next-suite/README.md @@ -0,0 +1,89 @@ +# Next.js test suite + +Runs the end-to-end suite of Next.js ([adapter testing docs](https://nextjs.org/docs/app/api-reference/adapters/testing-adapters)) against the OpenNext adapters. Nothing is deployed to a cloud provider, every test app runs on a local port. + +| Target | Build | Server | Bundler | +| ------------ | ----------------------------- | ------------------------------ | --------- | +| `core` | `open-next build` | `node` and the local overrides | Turbopack | +| `cloudflare` | `opennextjs-cloudflare build` | `wrangler dev` | webpack | + +`core` is the same setup as the `core` job of `.github/workflows/local.yml`. AWS services are not involved. + +`cloudflare` uses webpack as the Turbopack chunk loader generates broken paths for apps which are not in a monorepo. + +## Running tests + +```bash +# Once, about 4GB of disk. Clones and builds Next.js in packages/tests-next-suite/.cache +pnpm next-suite setup + +# One test file +pnpm next-suite run --target core -c 1 test/e2e/app-dir/hello-world/hello-world.test.ts +pnpm next-suite run --target cloudflare -c 1 test/e2e/app-dir/hello-world/hello-world.test.ts + +# A part of the suite +pnpm next-suite run --target core --group 1/16 -c 2 +``` + +The whole suite is about 800 test files, a run takes about 1 hour on `core` and 3 hours on `cloudflare`. Only do one run at a time on a checkout, as each run rebuilds and packs the OpenNext packages. + +| Option | Purpose | +| -------------------------- | --------------------------------------------------------------------- | +| `--ref ` | The Next.js tag, branch or commit (default in `src/next-checkout.ts`) | +| `--retries ` | How many times a failing file runs again (2 by default) | +| `--include-disabled` | Runs the disabled tests too | +| `NEXT_SUITE_NEXT_DIR` | Uses an existing built Next.js checkout | +| `NEXT_TEST_SKIP_CLEANUP=1` | Keeps the test apps | + +Test apps are created in `~/.cache/opennext-next-suite/apps`, outside of this repository as OpenNext looks for the monorepo root. Each app has `.adapter-build.log` and `.adapter-server.log`. + +Test apps use TypeScript 5.9 whatever the test asks for: Next.js 16.2 can not load TypeScript 7 and writes a `tsconfig.json` TypeScript 6 rejects. Review `PINNED_DEPENDENCIES` in `src/prepare-app.ts` when updating the Next.js ref. + +## Disabling tests + +Each adapter has its own list, `disabled/core.json` and `disabled/cloudflare.json`. A test disabled for one adapter still runs on the other one. + +```json +{ + "test/e2e/foo/foo.test.ts": { "reason": "Crashes during the worker build" }, + "test/e2e/bar/bar.test.ts": { + "reason": "Streaming order differs", + "cases": ["bar suite streams the shell first"] + } +} +``` + +- Without `cases`, the whole file is disabled. +- `cases` holds full test names, the `describe` blocks and the test name separated by spaces. They have to match exactly. +- The key is an exact path, globs are not supported. +- A reason is required. + +The edge runtime is not supported, so `pnpm next-suite disable-edge` adds every test whose app declares it to both lists, as whole files. Run it again after updating the Next.js ref. Middleware does not count. Fixtures are shared, so one edge page in a fixture disables all the tests of its directory. + +A run warns about entries for files which no longer exist, as can happen after updating the Next.js ref. Entries for cases are not checked, so remove them once the test is fixed: use `--include-disabled` to find out. + +## CI + +`.github/workflows/next-suite.yml` runs the whole suite nightly and on demand (with a `nextRef` input), split in 16 groups per target. It also runs on the pull requests changing the packages, where a failing test fails the check. + +Each run uploads a `next-suite-disabled` artifact: the current lists with what failed in that run added to them. Entries already in a list are kept. To accept these failures, copy the files over `disabled/`. + +The same can be done from a local run, the JUnit reports are in `test/turbopack-test-junit-report` (`core`) and `test/test-junit-report` (`cloudflare`) of the Next.js checkout: + +```bash +pnpm next-suite disabled-from-junit --target core --input packages/tests-next-suite/.cache/next.js/test/turbopack-test-junit-report --output packages/tests-next-suite/disabled/core.json --reason "Failing on Next.js 16.2.1" +``` + +Reports add up between runs, delete these directories first to only use the latest run. + +## How it works + +The harness of Next.js copies each test app to a directory and calls three scripts with that directory as `cwd`: + +- `bin/e2e-deploy.sh` installs the packed OpenNext packages in the app, builds it and starts the server. The URL is the only thing it prints on stdout. +- `bin/e2e-logs.sh` prints the build ids and the logs. +- `bin/e2e-cleanup.sh` stops the server. + +## Adding a target + +Add it to `TARGETS` in `src/targets.ts`, with its files in `templates//`, then add its `SETUP_TIMEOUT_MS` and `BUNDLER_ENV` in `src/run-suite.ts`, a `disabled/.json` file, and the target to the matrix of the workflow. diff --git a/packages/tests-next-suite/bin/e2e-cleanup.sh b/packages/tests-next-suite/bin/e2e-cleanup.sh new file mode 100755 index 00000000..a3ba6609 --- /dev/null +++ b/packages/tests-next-suite/bin/e2e-cleanup.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +set -euo pipefail + +PKG_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" +export TSX_TSCONFIG_PATH="$PKG_DIR/tsconfig.json" +exec "$PKG_DIR/node_modules/.bin/tsx" "$PKG_DIR/src/hook-entry.ts" cleanup diff --git a/packages/tests-next-suite/bin/e2e-deploy.sh b/packages/tests-next-suite/bin/e2e-deploy.sh new file mode 100755 index 00000000..5b3f6aad --- /dev/null +++ b/packages/tests-next-suite/bin/e2e-deploy.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +set -euo pipefail + +PKG_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" +export TSX_TSCONFIG_PATH="$PKG_DIR/tsconfig.json" +exec "$PKG_DIR/node_modules/.bin/tsx" "$PKG_DIR/src/hook-entry.ts" deploy diff --git a/packages/tests-next-suite/bin/e2e-logs.sh b/packages/tests-next-suite/bin/e2e-logs.sh new file mode 100755 index 00000000..c86e6b26 --- /dev/null +++ b/packages/tests-next-suite/bin/e2e-logs.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +set -euo pipefail + +PKG_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" +export TSX_TSCONFIG_PATH="$PKG_DIR/tsconfig.json" +exec "$PKG_DIR/node_modules/.bin/tsx" "$PKG_DIR/src/hook-entry.ts" logs diff --git a/packages/tests-next-suite/disabled/cloudflare.json b/packages/tests-next-suite/disabled/cloudflare.json new file mode 100644 index 00000000..2e807c90 --- /dev/null +++ b/packages/tests-next-suite/disabled/cloudflare.json @@ -0,0 +1,1240 @@ +{ + "test/e2e/app-dir/actions-unrecognized/actions-unrecognized.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/actions/app-action-export.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/actions/app-action-form-state-node-middleware.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/actions/app-action-form-state.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/actions/app-action-node-middleware.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/actions/app-action-progressive-enhancement.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/actions/app-action-size-limit-invalid-node-middleware.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/actions/app-action-size-limit-invalid.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/actions/app-action.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app-basepath/index.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "app dir - basepath should only make a single RSC call to the current page (/base/refresh)", + "app dir - basepath should only make a single RSC call to the current page (/base/refresh?foo=bar)", + "app dir - basepath should properly stream an internal server action redirect() with a absolute URL", + "app dir - basepath should properly stream an internal server action redirect() with a relative URL", + "app dir - basepath should redirect externally when encountering absolute URLs on the same host outside the basePath" + ] + }, + "test/e2e/app-dir/app-catch-all-optional/app-catch-all-optional.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["app-catch-all-optional should handle optional catchall with no params"] + }, + "test/e2e/app-dir/app-css/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app-edge-root-layout/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app-edge/app-edge-invalid-reexport.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app-edge/app-edge.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app-middleware-proxy/app-middleware-proxy-in-src-dir.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app-middleware-proxy/app-middleware-proxy-without-pages-dir.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app-middleware-proxy/app-middleware-proxy.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app-middleware/app-middleware-in-src-dir.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app-middleware/app-middleware-without-pages-dir.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app-middleware/app-middleware.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app-prefetch/prefetching.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "app dir - prefetching fetch priority should have an auto priority for all other fetch operations", + "app dir - prefetching fetch priority should prefetch links in viewport with low priority", + "app dir - prefetching should not unintentionally modify the requested prefetch by escaping the uri encoded query params" + ] + }, + "test/e2e/app-dir/app-root-params-getters/generate-static-params.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["app-root-param-getters - generateStaticParams should be statically prerenderable"] + }, + "test/e2e/app-dir/app-routes-trailing-slash/app-routes-trailing-slash.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app-routes/app-custom-route-base-path.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app-routes/app-custom-routes.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app-simple-routes/app-simple-routes.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app-static/app-static-custom-handler.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app-static/app-static.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app/experimental-compile.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app/standalone-gsp.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app/standalone.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app/useReportWebVitals.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/asset-prefix-absolute/asset-prefix-absolute.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["app-dir absolute assetPrefix bundles should return 200 on served assetPrefix"] + }, + "test/e2e/app-dir/asset-prefix-with-basepath/asset-prefix-with-basepath.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["app-dir assetPrefix with basePath handling bundles should return 200 on served assetPrefix"] + }, + "test/e2e/app-dir/asset-prefix/asset-prefix.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "app-dir assetPrefix handling rewrites rewrites that do not start with assetPrefix should still work", + "app-dir assetPrefix handling rewrites should respect rewrites that start with assetPrefix" + ] + }, + "test/e2e/app-dir/bun-externals/bun-externals.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/cache-components-allow-otel-spans/cache-components-allow-otel-spans.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "cache-components OTEL spans should allow creating Spans during prerendering during the build - inside a Cache Components", + "cache-components OTEL spans should allow creating Spans during resuming a fallback - inside a Cache Component" + ] + }, + "test/e2e/app-dir/cache-components-segment-configs/cache-components-edge-deduplication.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/cache-components-segment-configs/cache-components-segment-configs.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/concurrent-navigations/mismatching-prefetch.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "mismatching prefetch recovers when a navigation rewrites to a different route than the one that was prefetched" + ] + }, + "test/e2e/app-dir/concurrent-navigations/server-patch-history.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["server patch - history entry server patch preserves the push intent of a suspended transition"] + }, + "test/e2e/app-dir/dedupe-rsc-error-log/dedupe-rsc-error-log.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/disable-logging-route/disable-logging-route.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["app-dir - disable-logging-route should not log if disabled logging"] + }, + "test/e2e/app-dir/draft-mode/draft-mode.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/dynamic-css/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/dynamic/dynamic.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/edge-route-catchall/edge-route-catchall.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/edge-route-rewrite/edge-route-rewrite.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/edge-runtime-node-compatibility/edge-runtime-node-compatibility.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/fallback-shells/fallback-shells.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "fallback-shells with cached IO with generateStaticParams and the page wrapped in Suspense and params.then/catch/finally passed to a cached function resumes a postponed fallback shell", + "fallback-shells with cached IO with generateStaticParams and the page wrapped in Suspense and the params accessed in cached non-page function resumes a postponed fallback shell", + "fallback-shells with cached IO with generateStaticParams and the page wrapped in Suspense and the params accessed in the cached page does not produce hydration errors when resuming a fallback shell containing a layout with unused params", + "fallback-shells with cached IO with generateStaticParams and the page wrapped in Suspense and the params accessed in the cached page resumes a postponed fallback shell", + "fallback-shells with cached IO with generateStaticParams and the page wrapped in Suspense and the params transformed with an async function and then passed to a cached function resumes a postponed fallback shell", + "fallback-shells with cached IO without generateStaticParams and params.then/catch/finally passed to a cached function resumes a postponed fallback shell", + "fallback-shells with cached IO without generateStaticParams and the params accessed in cached non-page function resumes a postponed fallback shell", + "fallback-shells with cached IO without generateStaticParams and the params accessed in the cached page resumes a postponed fallback shell" + ] + }, + "test/e2e/app-dir/front-redirect-issue/front-redirect-issue.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["app dir - front redirect issue should redirect"] + }, + "test/e2e/app-dir/hooks/hooks.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["app dir - hooks usePathname should have the canonical url pathname on rewrite"] + }, + "test/e2e/app-dir/interception-route-prefetch-cache/interception-route-prefetch-cache.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/layout-params/layout-params.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "app dir - layout params catchall params should give empty optional catchall params won't give params to any layout" + ] + }, + "test/e2e/app-dir/logging/fetch-logging.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/metadata-dynamic-routes-async-deps/index.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "app dir - metadata dynamic routes with async deps should serve the opengraph-image route as a valid image" + ] + }, + "test/e2e/app-dir/metadata-dynamic-routes/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/metadata-edge/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/metadata-font/metadata-font.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/metadata-icons-parallel-routes/metadata-icons-parallel-routes.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["app-dir - metadata-icons-parallel-routes should serve both icon formats"] + }, + "test/e2e/app-dir/metadata-thrown/metadata-thrown.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "app dir - metadata thrown should not crash from error thrown during preloading nested generateMetadata" + ] + }, + "test/e2e/app-dir/metadata/metadata.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/middleware-rewrite-dynamic/middleware-rewrite-dynamic.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["app dir - middleware rewrite dynamic should properly rewrite for /favicon.ico"] + }, + "test/e2e/app-dir/middleware-sitemap/matcher-exclude-sitemap/index.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "middleware-sitemap should not be affected by middleware if sitemap.xml is excluded from the matcher" + ] + }, + "test/e2e/app-dir/next-after-app-deploy/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/next-after-app/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/next-config-ts-native-mts/async-function/async-function-cjs.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-async-function-cjs should support config as async function (CJS)"] + }, + "test/e2e/app-dir/next-config-ts-native-mts/async-function/async-function-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-async-function-esm should support config as async function (ESM)"] + }, + "test/e2e/app-dir/next-config-ts-native-mts/dynamic-import-esm/next-config-ts-dynamic-import-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-dynamic-import-esm should support dynamic import (ESM)"] + }, + "test/e2e/app-dir/next-config-ts-native-mts/export-as-default/next-config-ts-export-as-default-cjs.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-export-as-default-cjs should support export as default (CJS)"] + }, + "test/e2e/app-dir/next-config-ts-native-mts/export-as-default/next-config-ts-export-as-default-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-export-as-default-esm should support export as default (ESM)"] + }, + "test/e2e/app-dir/next-config-ts-native-mts/export-default/next-config-ts-export-default-cjs.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-export-default-cjs should support export default (CJS)"] + }, + "test/e2e/app-dir/next-config-ts-native-mts/export-default/next-config-ts-export-default-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-export-default-esm should support export default (ESM)"] + }, + "test/e2e/app-dir/next-config-ts-native-mts/import-from-node-modules/next-config-ts-import-from-node-modules-cjs.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-import-from-node-modules-cjs should import from node_modules (CJS)"] + }, + "test/e2e/app-dir/next-config-ts-native-mts/import-from-node-modules/next-config-ts-import-from-node-modules-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-import-from-node-modules-esm should import from node_modules (ESM)"] + }, + "test/e2e/app-dir/next-config-ts-native-mts/import-js-extensions-cjs/next-config-ts-import-js-extensions-cjs.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-import-js-extensions-cjs should import js extensions (CJS)"] + }, + "test/e2e/app-dir/next-config-ts-native-mts/import-js-extensions-esm/next-config-ts-import-js-extensions-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-import-js-extensions-esm should import js extensions (ESM)"] + }, + "test/e2e/app-dir/next-config-ts-native-mts/import-json/next-config-ts-import-json-cjs.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-import-json-cjs should support import json (CJS)"] + }, + "test/e2e/app-dir/next-config-ts-native-mts/import-json/next-config-ts-import-json-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-import-json-esm should support import json (ESM)"] + }, + "test/e2e/app-dir/next-config-ts-native-mts/nested-imports/next-config-ts-nested-imports-cjs.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-nested-imports-cjs should handle nested imports (CJS)"] + }, + "test/e2e/app-dir/next-config-ts-native-mts/nested-imports/next-config-ts-nested-imports-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-nested-imports-esm should handle nested imports (ESM)"] + }, + "test/e2e/app-dir/next-config-ts-native-mts/node-api-cjs/next-config-ts-node-api-cjs.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-node-api-cjs should be able to use Node.js API (CJS)"] + }, + "test/e2e/app-dir/next-config-ts-native-mts/node-api-esm/next-config-ts-node-api-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-node-api-esm should be able to use Node.js API (ESM)"] + }, + "test/e2e/app-dir/next-config-ts-native-mts/top-level-await-esm/next-config-ts-top-level-await-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-top-level-await-esm should support top-level await (ESM)"] + }, + "test/e2e/app-dir/next-config-ts-native-ts/async-function/async-function-cjs.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-async-function-cjs should support config as async function (CJS)"] + }, + "test/e2e/app-dir/next-config-ts-native-ts/async-function/async-function-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-async-function-esm should support config as async function (ESM)"] + }, + "test/e2e/app-dir/next-config-ts-native-ts/dynamic-import-esm/next-config-ts-dynamic-import-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-dynamic-import-esm should support dynamic import (ESM)"] + }, + "test/e2e/app-dir/next-config-ts-native-ts/export-as-default/next-config-ts-export-as-default-cjs.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-export-as-default-cjs should support export as default (CJS)"] + }, + "test/e2e/app-dir/next-config-ts-native-ts/export-as-default/next-config-ts-export-as-default-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-export-as-default-esm should support export as default (ESM)"] + }, + "test/e2e/app-dir/next-config-ts-native-ts/export-default/next-config-ts-export-default-cjs.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-export-default-cjs should support export default (CJS)"] + }, + "test/e2e/app-dir/next-config-ts-native-ts/export-default/next-config-ts-export-default-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-export-default-esm should support export default (ESM)"] + }, + "test/e2e/app-dir/next-config-ts-native-ts/import-from-node-modules/next-config-ts-import-from-node-modules-cjs.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-import-from-node-modules-cjs should import from node_modules (CJS)"] + }, + "test/e2e/app-dir/next-config-ts-native-ts/import-from-node-modules/next-config-ts-import-from-node-modules-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-import-from-node-modules-esm should import from node_modules (ESM)"] + }, + "test/e2e/app-dir/next-config-ts-native-ts/import-js-extensions-cjs/next-config-ts-import-js-extensions-cjs.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-import-js-extensions-cjs should import js extensions (CJS)"] + }, + "test/e2e/app-dir/next-config-ts-native-ts/import-js-extensions-esm/next-config-ts-import-js-extensions-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-import-js-extensions-esm should import js extensions (ESM)"] + }, + "test/e2e/app-dir/next-config-ts-native-ts/import-json/next-config-ts-import-json-cjs.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-import-json-cjs should support import json (CJS)"] + }, + "test/e2e/app-dir/next-config-ts-native-ts/import-json/next-config-ts-import-json-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-import-json-esm should support import json (ESM)"] + }, + "test/e2e/app-dir/next-config-ts-native-ts/nested-imports/next-config-ts-nested-imports-cjs.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-nested-imports-cjs should handle nested imports (CJS)"] + }, + "test/e2e/app-dir/next-config-ts-native-ts/nested-imports/next-config-ts-nested-imports-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-nested-imports-esm should handle nested imports (ESM)"] + }, + "test/e2e/app-dir/next-config-ts-native-ts/node-api-cjs/next-config-ts-node-api-cjs.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-node-api-cjs should be able to use Node.js API (CJS)"] + }, + "test/e2e/app-dir/next-config-ts-native-ts/node-api-esm/next-config-ts-node-api-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-node-api-esm should be able to use Node.js API (ESM)"] + }, + "test/e2e/app-dir/next-config-ts-native-ts/top-level-await-esm/next-config-ts-top-level-await-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-top-level-await-esm should support top-level await (ESM)"] + }, + "test/e2e/app-dir/next-font/next-font.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/next-image/next-image-https.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/next-image/next-image-proxy.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/next-image/next-image.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/no-duplicate-headers-middleware/no-duplicate-headers-middleware.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["no-duplicate-headers-next-config should prioritise headers in middleware for static assets"] + }, + "test/e2e/app-dir/no-duplicate-headers-next-config/no-duplicate-headers-next-config.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["no-duplicate-headers-next-config should prioritise headers in next config for static assets"] + }, + "test/e2e/app-dir/node-extensions/node-extensions.random.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/not-found-with-pages-i18n/not-found-with-pages.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "not-found-with-pages-i18n should prefer the app router 404 over the pages router 404 when both are present - SSR /app-dir/foo" + ] + }, + "test/e2e/app-dir/not-found/basic/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/not-found/conflict-route/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/not-found/group-route/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/optimistic-routing/optimistic-routing.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "optimistic-routing basic dynamic route prediction: shows loading state instantly for unprefetched route", + "optimistic-routing nested dynamic routes: predicts through multiple dynamic segments", + "optimistic-routing optional catch-all: predicts between paths with different segment counts", + "optimistic-routing optional catch-all: predicts from index to path with segments", + "optimistic-routing required catch-all: predicts between paths with different segment counts", + "optimistic-routing rewrite detection (search params): does not use cached pattern when search params cause different rewrite", + "optimistic-routing rewrite detection: detects dynamic rewrite when URL does not match route structure", + "optimistic-routing static route with catch-all sibling: does not match sub-route against catch-all", + "optimistic-routing static sibling detection: does not incorrectly match static route to dynamic pattern" + ] + }, + "test/e2e/app-dir/pages-to-app-routing/pages-to-app-routing.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["pages-to-app-routing should work using browser"] + }, + "test/e2e/app-dir/parallel-route-not-found-params/parallel-route-not-found-params.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["parallel-route-not-found should behave correctly without any errors"] + }, + "test/e2e/app-dir/parallel-routes-and-interception-basepath/parallel-routes-and-interception-basepath.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["parallel-routes-and-interception-basepath should show parallel intercepted slot with basepath"] + }, + "test/e2e/app-dir/parallel-routes-and-interception-from-root/parallel-routes-and-interception-from-root.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/parallel-routes-and-interception/parallel-routes-and-interception.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/parallel-routes-catchall-slotted-non-catchalls/parallel-routes-catchall-slotted-non-catchalls.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "parallel-routes-catchall-slotted-non-catchalls should match default and dynamic segment paths before catch-all" + ] + }, + "test/e2e/app-dir/parallel-routes-generate-static-params/parallel-routes-generate-static-params.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["parallel-routes-generate-static-params should render the intercepted/non-intercepted modal"] + }, + "test/e2e/app-dir/parallel-routes-revalidation/parallel-routes-revalidation.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "parallel-routes-revalidation router.refresh (dynamic) - searchParams: false should correctly refresh data for previously intercepted modal and active page slot", + "parallel-routes-revalidation router.refresh (dynamic) - searchParams: false should correctly refresh data for the intercepted route and previously active page slot", + "parallel-routes-revalidation router.refresh (dynamic) - searchParams: true should correctly refresh data for previously intercepted modal and active page slot", + "parallel-routes-revalidation router.refresh (dynamic) - searchParams: true should correctly refresh data for the intercepted route and previously active page slot" + ] + }, + "test/e2e/app-dir/ppr-root-param-fallback/ppr-root-param-fallback.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "ppr-root-param-fallback should have use-cache content in fallback shells for all pregenerated locales" + ] + }, + "test/e2e/app-dir/ppr/ppr.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/preferred-region/preferred-region.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/prerender-encoding/prerender-encoding.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["prerender-encoding should respond with the prerendered page correctly"] + }, + "test/e2e/app-dir/proxy-nfc-traced/proxy-nfc-traced.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["proxy-nfc-traced should successfully build and be redirected from proxy"] + }, + "test/e2e/app-dir/proxy-runtime-nodejs/proxy-runtime-nodejs.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["proxy-runtime-nodejs should use nodejs runtime for proxy by default"] + }, + "test/e2e/app-dir/proxy-runtime/proxy-runtime.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/resume-data-cache/resume-data-cache.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "resume-data-cache should have consistent data between static and dynamic renders with fetch cache", + "resume-data-cache should have consistent data between static and dynamic renders with use cache", + "resume-data-cache should see fresh data after updateTag in server action with fetch cache", + "resume-data-cache should see fresh data after updateTag in server action with use cache", + "resume-data-cache should use RDC for server action re-renders" + ] + }, + "test/e2e/app-dir/rsc-basic/rsc-basic-react-experimental.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/rsc-basic/rsc-basic.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/rsc-redirect/rsc-redirect.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["rsc-redirect should get 200 status code for rsc request"] + }, + "test/e2e/app-dir/segment-cache/cached-navigations/cached-navigations.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "cached navigations caches a partially static page from the initial HTML for subsequent navigations", + "cached navigations caches runtime-prefetchable content from a navigation for instant second visit", + "cached navigations caches runtime-prefetchable content from the initial HTML for subsequent navigations", + "cached navigations caches static segments when navigating to a known route without a prefetch", + "cached navigations defers fallback params to the runtime stage", + "cached navigations includes static params in the cached static stage", + "cached navigations serves cached static segments instantly on the second navigation" + ] + }, + "test/e2e/app-dir/segment-cache/memory-pressure/segment-cache-memory-pressure.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["segment cache memory pressure does not leak memory when repeatedly triggering prefetches"] + }, + "test/e2e/app-dir/segment-cache/search-params/segment-cache-search-params.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "segment cache (search params) handles rewrites to the same page but with different search params", + "segment cache (search params) stores prefetched data by its rewritten search params, not the original ones", + "segment cache (search params) when fetching with PPR, does not include search params in the cache key", + "segment cache (search params) when fetching without PPR (e.g. prefetch=\"unstable_forceStale\"), includes the search params in the cache key" + ] + }, + "test/e2e/app-dir/segment-cache/vary-params/vary-params.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["segment cache - vary params does not reuse prefetched segment when page accesses searchParams"] + }, + "test/e2e/app-dir/server-actions-redirect-middleware-rewrite/server-actions-redirect-middleware-rewrite.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/server-source-maps/server-source-maps-edge.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/server-source-maps/server-source-maps.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/set-cookies/set-cookies.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/sitemap-group/sitemap-group.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "sitemap-group should not add suffix to sitemap under group routes", + "sitemap-group should not add suffix to static sitemap.xml under group routes" + ] + }, + "test/e2e/app-dir/static-siblings/static-siblings.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "static-siblings cross-route-group siblings should include static sibling info in the server response", + "static-siblings parallel route siblings should include static sibling info in the server response", + "static-siblings same-directory siblings should include static sibling info in the server response" + ] + }, + "test/e2e/app-dir/temporary-references/temporary-references.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/turbopack-reports/turbopack-reports.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["turbopack-reports should render page importing sqlite3"] + }, + "test/e2e/app-dir/use-cache-metadata-route-handler/use-cache-metadata-route-handler.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "use-cache-metadata-route-handler should generate an icon image with a metadata route handler that uses \"use cache\"", + "use-cache-metadata-route-handler should generate an opengraph image with a metadata route handler that uses \"use cache\"", + "use-cache-metadata-route-handler should generate manifest.json with a metadata route handler that uses \"use cache\"", + "use-cache-metadata-route-handler should generate robots.txt with a metadata route handler that uses \"use cache\"", + "use-cache-metadata-route-handler should generate sitemaps with a metadata route handler that uses \"use cache\"" + ] + }, + "test/e2e/app-dir/use-cache-segment-configs/use-cache-segment-configs.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/use-params/use-params.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "use-params should work for catch all params", + "use-params should work for nested dynamic params", + "use-params should work for nested dynamic params client navigating", + "use-params should work for single dynamic param", + "use-params should work for single dynamic param client navigating", + "use-params should work on pages router", + "use-params shouldn't rerender host component when prefetching" + ] + }, + "test/e2e/app-dir/with-exported-function-config/with-exported-function-config.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/worker/worker.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "app dir - workers should have access to NEXT_DEPLOYMENT_ID in web worker", + "app dir - workers should not bundle web workers with string specifiers", + "app dir - workers should support loading PNG files in web workers", + "app dir - workers should support loading WASM files in workers", + "app dir - workers should support module web workers with dynamic imports", + "app dir - workers should support shared workers", + "app dir - workers should support web workers with dynamic imports" + ] + }, + "test/e2e/app-document/rendering.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "Document and App - Rendering via HTTP _app shows a custom tag", + "Document and App - Rendering via HTTP _document Document.getInitialProps returns html prop representing app shell", + "Document and App - Rendering via HTTP _document renders ctx.renderPage with enhanceApp and enhanceComponent correctly", + "Document and App - Rendering via HTTP _document renders ctx.renderPage with enhanceApp correctly", + "Document and App - Rendering via HTTP _document renders ctx.renderPage with enhanceComponent correctly", + "Document and App - Rendering via HTTP _document renders ctx.renderPage with enhancer correctly", + "Document and App - Rendering via HTTP _document should include required elements in rendered html" + ] + }, + "test/e2e/async-modules/index.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "Async modules can render async 404 pages", + "Async modules can render async error page", + "Async modules works on async api routes", + "Async modules works with getServerSideProps" + ] + }, + "test/e2e/basepath/error-pages.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "basePath client-side navigation should navigate to /404 correctly client-side", + "basePath client-side navigation should navigate to /_error correctly client-side", + "basePath manually added basePath in application logic should 404 when manually adding basePath with ", + "basePath manually added basePath in application logic should 404 when manually adding basePath with router.push", + "basePath manually added basePath in application logic should 404 when manually adding basePath with router.replace" + ] + }, + "test/e2e/basepath/query-hash.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "basePath query/hash handling is correct during query updating ## $search", + "basePath query/hash handling is correct during query updating ##? $search", + "basePath query/hash handling is correct during query updating ##hello $search", + "basePath query/hash handling is correct during query updating ##hello? $search", + "basePath query/hash handling is correct during query updating #? $search", + "basePath query/hash handling is correct during query updating #a ?hello", + "basePath query/hash handling is correct during query updating #a ?hello=", + "basePath query/hash handling is correct during query updating #a ?hello=world", + "basePath query/hash handling is correct during query updating #hello? $search", + "basePath query/hash handling is correct during query updating #hello?world $search" + ] + }, + "test/e2e/basepath/redirect-and-rewrite.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "basePath should rewrite with basePath by default", + "basePath should rewrite without basePath when set to false" + ] + }, + "test/e2e/basepath/router-events.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "basePath should use urls with basepath in router events", + "basePath should use urls with basepath in router events for cancelled routes", + "basePath should use urls with basepath in router events for failed route change", + "basePath should use urls with basepath in router events for hash changes" + ] + }, + "test/e2e/basepath/trailing-slash.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "basePath + trailingSlash should allow URL query strings without refresh", + "basePath + trailingSlash should correctly replace state when same asPath but different url" + ] + }, + "test/e2e/cache-handlers-upstream-wiring/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/cancel-request/stream-cancel.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/chrome-devtools-workspace/chrome-devtools-workspace.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["chrome-devtools-workspace proxy should be able to connect to Chrome DevTools in dev"] + }, + "test/e2e/deferred-entries/deferred-entries.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/deprecation-warnings/deprecation-warnings.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "deprecation-warnings without next.config.js should not emit any deprecation warnings when no config file exists" + ] + }, + "test/e2e/dynamic-route-interpolation/index.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "Dynamic Route Interpolation should bust data cache", + "Dynamic Route Interpolation should bust data cache with symbol", + "Dynamic Route Interpolation should work", + "Dynamic Route Interpolation should work with brackets", + "Dynamic Route Interpolation should work with parameter itself" + ] + }, + "test/e2e/edge-api-endpoints-can-receive-body/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/edge-async-local-storage/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/edge-can-use-wasm-files/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/edge-compiler-can-import-blob-assets/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/edge-configurable-runtime/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/edge-pages-support/edge-document.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/edge-pages-support/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/edge-runtime-pages-api-route/edge-runtime-pages-api-route.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/edge-runtime-uses-edge-light-import-specifier-for-packages/edge-runtime-uses-edge-light-import-specifier-for-packages.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/error-handler-not-found-req-url/error-handler-not-found-req-url.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "error-handler-not-found-req-url should log the correct request url and asPath for not found _error page" + ] + }, + "test/e2e/esm-externals/esm-externals.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "esm-externals app dir url /client should render the correct page", + "esm-externals app dir url /client should return the correct SSR HTML", + "esm-externals app dir url /server should render the correct page", + "esm-externals app dir url /server should return the correct SSR HTML", + "esm-externals pages url /ssg should render the correct page", + "esm-externals pages url /ssg should return the correct SSR HTML", + "esm-externals pages url /ssr should render the correct page", + "esm-externals pages url /ssr should return the correct SSR HTML", + "esm-externals pages url /static should render the correct page", + "esm-externals pages url /static should return the correct SSR HTML" + ] + }, + "test/e2e/fetch-failures-have-good-stack-traces-in-edge-runtime/fetch-failures-have-good-stack-traces-in-edge-runtime.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/getserversideprops/test/index.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "getServerSideProps should SSR getServerSideProps page correctly", + "getServerSideProps should SSR normal page correctly", + "getServerSideProps should allow POST request for getServerSideProps page", + "getServerSideProps should always call getServerSideProps without caching", + "getServerSideProps should dedupe server data requests", + "getServerSideProps should handle throw ENOENT correctly", + "getServerSideProps should have correct req.url and query for direct visit", + "getServerSideProps should have correct req.url and query for direct visit dynamic page", + "getServerSideProps should have correct req.url and query for direct visit dynamic page rewrite direct", + "getServerSideProps should have correct req.url and query for direct visit dynamic page rewrite direct with internal query", + "getServerSideProps should have correct req.url and query for direct visit dynamic page rewrite param", + "getServerSideProps should have correct req.url and query for direct visit dynamic page with query", + "getServerSideProps should have gssp in __NEXT_DATA__", + "getServerSideProps should load a fast refresh page", + "getServerSideProps should navigate between pages successfully", + "getServerSideProps should navigate to a normal page and back", + "getServerSideProps should not include rewrite query params in `asPath` and `req.url`", + "getServerSideProps should not re-call getServerSideProps when updating query", + "getServerSideProps should not show error for invalid JSON returned from getStaticProps on CST", + "getServerSideProps should not trigger an error when a data request is cancelled due to another navigation", + "getServerSideProps should parse query values on mount correctly", + "getServerSideProps should pass query for data request on navigation", + "getServerSideProps should provide correct query value for dynamic page", + "getServerSideProps should reload page on failed data request", + "getServerSideProps should render 404 correctly when notFound is returned client-transition (dynamic)", + "getServerSideProps should render 404 correctly when notFound is returned client-transition (non-dynamic)", + "getServerSideProps should render correctly when notFound is false (dynamic)", + "getServerSideProps should render correctly when notFound is false (non-dynamic)", + "getServerSideProps should supply params values for catchall correctly", + "getServerSideProps should supply query values SSR" + ] + }, + "test/e2e/handle-non-hoisted-swc-helpers/index.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["handle-non-hoisted-swc-helpers should work"] + }, + "test/e2e/i18n-default-locale-redirect/i18n-default-locale-redirect.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "i18-default-locale-redirect should not request a path prefixed with default locale", + "i18-default-locale-redirect should request a path prefixed with non-default locale" + ] + }, + "test/e2e/i18n-ignore-redirect-source-locale/redirects-with-basepath.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "i18n-ignore-redirect-source-locale with basepath get redirected to the new page, from and to: ", + "i18n-ignore-redirect-source-locale with basepath get redirected to the new page, from and to: /en", + "i18n-ignore-redirect-source-locale with basepath get redirected to the new page, from and to: /nl", + "i18n-ignore-redirect-source-locale with basepath get redirected to the new page, from and to: /sv", + "i18n-ignore-redirect-source-locale with basepath get redirected to the new page, from: to: /", + "i18n-ignore-redirect-source-locale with basepath get redirected to the new page, from: to: en", + "i18n-ignore-redirect-source-locale with basepath get redirected to the new page, from: to: sv", + "i18n-ignore-redirect-source-locale with basepath get redirected to the new page, from: /en to: /", + "i18n-ignore-redirect-source-locale with basepath get redirected to the new page, from: /en to: en", + "i18n-ignore-redirect-source-locale with basepath get redirected to the new page, from: /en to: sv", + "i18n-ignore-redirect-source-locale with basepath get redirected to the new page, from: /nl to: /", + "i18n-ignore-redirect-source-locale with basepath get redirected to the new page, from: /nl to: en", + "i18n-ignore-redirect-source-locale with basepath get redirected to the new page, from: /nl to: sv", + "i18n-ignore-redirect-source-locale with basepath get redirected to the new page, from: /sv to: /", + "i18n-ignore-redirect-source-locale with basepath get redirected to the new page, from: /sv to: en", + "i18n-ignore-redirect-source-locale with basepath get redirected to the new page, from: /sv to: sv" + ] + }, + "test/e2e/i18n-ignore-rewrite-source-locale/rewrites.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "i18n-ignore-rewrite-source-locale get public file by skipping locale in rewrite, locale: ", + "i18n-ignore-rewrite-source-locale get public file by skipping locale in rewrite, locale: /en", + "i18n-ignore-rewrite-source-locale get public file by skipping locale in rewrite, locale: /nl", + "i18n-ignore-rewrite-source-locale get public file by skipping locale in rewrite, locale: /sv" + ] + }, + "test/e2e/i18n-navigations-middleware/i18n-navigations-middleware.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "i18n-navigations-middleware should respect selected locale when navigating to a dynamic route", + "i18n-navigations-middleware should respect selected locale when navigating to a static route" + ] + }, + "test/e2e/i18n-preferred-locale-detection/i18n-preferred-locale-detection.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "i18-preferred-locale-redirect should not request a path prefixed with my preferred detected locale when clicking link to index from a non-locale-prefixed path", + "i18-preferred-locale-redirect should request a path prefixed with my preferred detected locale when accessing index", + "i18-preferred-locale-redirect should request a path prefixed with my preferred detected locale when clicking link to index from a locale-prefixed path" + ] + }, + "test/e2e/import-conditions/import-conditions.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/instrumentation-client-hook/instrumentation-client-hook.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "Instrumentation Client Hook App Router should execute instrumentation-client from app router before hydration", + "Instrumentation Client Hook Pages Router should execute instrumentation-client from pages router before hydration", + "Instrumentation Client Hook With src folder should execute instrumentation-client from with src folder before hydration" + ] + }, + "test/e2e/instrumentation-hook-src/instrumentation-hook-src.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/instrumentation-hook/instrumentation-hook.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/invalid-static-asset-404-app/invalid-static-asset-404-app-asset-prefix.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "invalid-static-asset-404-app-asset-prefix should return 404 with plain text when fetching invalid asset path", + "invalid-static-asset-404-app-asset-prefix should return correct output with status 200 on valid asset path" + ] + }, + "test/e2e/invalid-static-asset-404-app/invalid-static-asset-404-app-base-path.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "invalid-static-asset-404-app-base-path should return correct output with status 200 on valid asset path", + "invalid-static-asset-404-app-base-path should return custom 404 page when fetching invalid non-asset path" + ] + }, + "test/e2e/invalid-static-asset-404-app/invalid-static-asset-404-app.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "invalid-static-asset-404-app should return 404 with plain text when fetching invalid asset path" + ] + }, + "test/e2e/invalid-static-asset-404-pages/invalid-static-asset-404-pages-asset-prefix.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "invalid-static-asset-404-pages-asset-prefix should return correct output with status 200 on valid asset path", + "invalid-static-asset-404-pages-asset-prefix should return custom 404 page when fetching invalid non-asset path" + ] + }, + "test/e2e/invalid-static-asset-404-pages/invalid-static-asset-404-pages-base-path.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "invalid-static-asset-404-pages-base-path should return correct output with status 200 on valid asset path", + "invalid-static-asset-404-pages-base-path should return custom 404 page when fetching invalid non-asset path" + ] + }, + "test/e2e/invalid-static-asset-404-pages/invalid-static-asset-404-pages.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "invalid-static-asset-404-pages should return custom 404 page when fetching invalid non-asset path" + ] + }, + "test/e2e/link-with-api-rewrite/index.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["link-with-api-rewrite should perform hard navigation for rewritten urls"] + }, + "test/e2e/middleware-base-path/test/index.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "Middleware base tests router.query must exist when Link clicked page routing", + "Middleware base tests should allow client-side navigation to the root" + ] + }, + "test/e2e/middleware-custom-matchers/test/index.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "Middleware custom matchers should match has cookie", + "Middleware custom matchers should match has header", + "Middleware custom matchers should match has header value", + "Middleware custom matchers should match has query", + "Middleware custom matchers should match missing header correctly", + "Middleware custom matchers should match missing query correctly", + "Middleware custom matchers should match source path" + ] + }, + "test/e2e/middleware-fetches-with-body/index.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "Middleware fetches with body should return 413 for body equal to 10mb", + "Middleware fetches with body with bodyParser = false should be able to send and return with body greater than 16KiB", + "Middleware fetches with body with bodyParser = false should be able to send and return with body size equal to 16KiB", + "Middleware fetches with body with custom bodyParser sizeLimit (5kb) should be able to send and return body size equal to 5kb", + "Middleware fetches with body with custom bodyParser sizeLimit (5kb) should return 413 for body greater than 5kb", + "Middleware fetches with body with custom bodyParser sizeLimit (5mb) should return 413 for body greater than 5mb", + "Middleware fetches with body with default bodyParser sizeLimit (1mb) should be able to send and return body greater than default highWaterMark (16KiB)", + "Middleware fetches with body with default bodyParser sizeLimit (1mb) should be able to send and return body size equal to 1mb", + "Middleware fetches with body with default bodyParser sizeLimit (1mb) should return 413 for body greater than 1mb" + ] + }, + "test/e2e/middleware-general/test/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/middleware-general/test/node-runtime.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/middleware-redirects/test/index.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "Middleware Redirect /fr should implement internal redirects", + "Middleware Redirect should implement internal redirects", + "Middleware Redirect should redirect correctly with redirect in next.config.js", + "Middleware Redirect should redirect to api route with locale", + "Middleware Redirect should redirect to external urls with data requests and external redirects" + ] + }, + "test/e2e/middleware-redirects/test/node-runtime.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet" + }, + "test/e2e/middleware-request-header-overrides/test/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/middleware-rewrites/test/index.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "Middleware Rewrite /fr should not call middleware with shallow push", + "Middleware Rewrite /fr should rewrite without hard navigation", + "Middleware Rewrite should allow to opt-out prefetch caching", + "Middleware Rewrite should allow to rewrite to a `afterFiles` rewrite config", + "Middleware Rewrite should allow to rewrite to a `beforeFiles` rewrite config", + "Middleware Rewrite should allow to switch locales", + "Middleware Rewrite should behave consistently on recursive rewrites", + "Middleware Rewrite should handle static dynamic rewrite from middleware correctly", + "Middleware Rewrite should hard navigate on 404 for data request", + "Middleware Rewrite should not call middleware with shallow push", + "Middleware Rewrite should not prefetch non-SSG routes", + "Middleware Rewrite should opt out of prefetch caching for dynamic routes", + "Middleware Rewrite should override with rewrite externally correctly", + "Middleware Rewrite should override with rewrite internally correctly", + "Middleware Rewrite should resolve dynamic route after rewrite correctly", + "Middleware Rewrite should rewrite correctly when navigating via history", + "Middleware Rewrite should rewrite correctly when navigating via history after query update", + "Middleware Rewrite should rewrite to fallback: true page successfully", + "Middleware Rewrite should rewrite without hard navigation" + ] + }, + "test/e2e/middleware-static-files/index.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "Middleware Runtime should match middleware correctly for /another%2ffile.svg", + "Middleware Runtime should match middleware correctly for /another/file.svg", + "Middleware Runtime should match middleware correctly for /file.svg", + "Middleware Runtime should match middleware correctly for /glob%2ffile.svg", + "Middleware Runtime should match middleware correctly for /glob/file.svg", + "Middleware Runtime should match middleware correctly for /vercel copy.svg", + "Middleware Runtime should match middleware correctly for /vercel%20copy.svg" + ] + }, + "test/e2e/middleware-trailing-slash/test/index.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "Middleware Runtime trailing slash allows shallow linking with middleware", + "Middleware Runtime trailing slash should add a rewrite header on data requests for rewrites", + "Middleware Runtime trailing slash should have correct dynamic route params for middleware rewrite to dynamic route", + "Middleware Runtime trailing slash should have correct dynamic route params on client-transition to dynamic route", + "Middleware Runtime trailing slash should have correct query values for rewrite to ssg page", + "Middleware Runtime trailing slash should have correct route params for chained rewrite from middleware to config rewrite", + "Middleware Runtime trailing slash should have correct route params for rewrite from config dynamic route", + "Middleware Runtime trailing slash should have correct route params for rewrite from config non-dynamic route", + "Middleware Runtime trailing slash should normalize data requests into page requests", + "Middleware Runtime trailing slash should respond with 400 on decode failure", + "Middleware Runtime trailing slash should rewrite correctly for non-SSG/SSP page", + "Middleware Runtime trailing slash should rewrite the same for direct visit and client-transition", + "Middleware Runtime trailing slash should trigger middleware for data requests", + "Middleware Runtime trailing slash with .html extension should work when navigating", + "Middleware Runtime trailing slash without .html extension should work when navigating" + ] + }, + "test/e2e/module-layer/module-layer.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/next-form/basepath/next-form-basepath.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "app dir - form - with basepath should add basePath to `action`", + "app dir - form - with basepath should not add basePath to a submitter's formAction" + ] + }, + "test/e2e/og-api/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/og-routes-custom-font/og-routes-custom-font.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/on-request-error/basic/basic.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/on-request-error/server-action-error/server-action-error.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/opentelemetry/instrumentation/instrumentation-pages-app-only.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/opentelemetry/instrumentation/opentelemetry.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/prerender-crawler.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "Prerender crawler handling should block for crawler correctly", + "Prerender crawler handling should return fallback for non-crawler correctly" + ] + }, + "test/e2e/prerender-native-module.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet" + }, + "test/e2e/prerender.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "Prerender should 404 for a missing catchall explicit route", + "Prerender should SSR blocking path correctly (blocking)", + "Prerender should allow rewriting to SSG page with fallback: 'blocking'", + "Prerender should handle fallback only page correctly HTML", + "Prerender should handle revalidating HTML correctly", + "Prerender should handle revalidating HTML correctly with blocking", + "Prerender should handle revalidating HTML correctly with blocking and seed", + "Prerender should handle revalidating JSON correctly", + "Prerender should handle revalidating JSON correctly with blocking", + "Prerender should handle revalidating JSON correctly with blocking and seed", + "Prerender should navigate between pages successfully", + "Prerender should not error when rewriting to fallback dynamic SSG page", + "Prerender should not show error for invalid JSON returned from getStaticProps on SSR", + "Prerender should render correctly for SSG pages that starts with api-docs", + "Prerender should respond for catch-all deep folder", + "Prerender should respond with 405 for POST to static page", + "Prerender should return data correctly for dynamic page (non-seeded)", + "Prerender should support lazy catchall route", + "Prerender should support nested lazy catchall route", + "Prerender should use correct caching headers for a fallback-true page (lazy)", + "Prerender should use correct caching headers for a fallback-true page (prerendered)", + "Prerender should use correct caching headers for a no-revalidate page", + "Prerender should use correct caching headers for a revalidate page" + ] + }, + "test/e2e/proxy-request-with-middleware/test/index.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "Requests not effected when middleware used should proxy GET request ", + "Requests not effected when middleware used should proxy POST request with body" + ] + }, + "test/e2e/react-version/react-version.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/reload-scroll-backforward-restoration/index.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "reload-scroll-back-restoration should restore the scroll position on navigating back", + "reload-scroll-back-restoration should restore the scroll position on navigating forward" + ] + }, + "test/e2e/revalidate-reason/revalidate-reason.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["revalidate-reason should support revalidateReason: \"stale\""] + }, + "test/e2e/skip-trailing-slash-redirect/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/streaming-ssr-edge/streaming-ssr-edge.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/streaming-ssr/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/switchable-runtime/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/testmode/testmode.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/trailing-slashes/with-trailing-slash.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "Trailing slashes with trailingSlash: true /external-linker?href=https://nextjs.org should have href https://nextjs.org", + "Trailing slashes with trailingSlash: true /external-linker?href=https://nextjs.org/ should have href https://nextjs.org/", + "Trailing slashes with trailingSlash: true /linker?href=/ should have href /", + "Trailing slashes with trailingSlash: true /linker?href=/ should navigate to /", + "Trailing slashes with trailingSlash: true /linker?href=/ should push route to /", + "Trailing slashes with trailingSlash: true /linker?href=/about should have href /about/", + "Trailing slashes with trailingSlash: true /linker?href=/about should navigate to /about/", + "Trailing slashes with trailingSlash: true /linker?href=/about should push route to /about/", + "Trailing slashes with trailingSlash: true /linker?href=/about/ should have href /about/", + "Trailing slashes with trailingSlash: true /linker?href=/about/ should navigate to /about/", + "Trailing slashes with trailingSlash: true /linker?href=/about/ should push route to /about/", + "Trailing slashes with trailingSlash: true /linker?href=/about/?hello=world should have href /about/?hello=world", + "Trailing slashes with trailingSlash: true /linker?href=/about/?hello=world should navigate to /about/?hello=world", + "Trailing slashes with trailingSlash: true /linker?href=/about/?hello=world should push route to /about/?hello=world", + "Trailing slashes with trailingSlash: true /linker?href=/about?hello=world should have href /about/?hello=world", + "Trailing slashes with trailingSlash: true /linker?href=/about?hello=world should navigate to /about/?hello=world", + "Trailing slashes with trailingSlash: true /linker?href=/about?hello=world should push route to /about/?hello=world", + "Trailing slashes with trailingSlash: true /linker?href=/catch-all/hello.world/ should have href /catch-all/hello.world", + "Trailing slashes with trailingSlash: true /linker?href=/catch-all/hello.world/ should navigate to /catch-all/hello.world", + "Trailing slashes with trailingSlash: true /linker?href=/catch-all/hello.world/ should push route to /catch-all/hello.world", + "Trailing slashes with trailingSlash: true /linker?href=/catch-all/hello/ should have href /catch-all/hello/", + "Trailing slashes with trailingSlash: true /linker?href=/catch-all/hello/ should navigate to /catch-all/hello/", + "Trailing slashes with trailingSlash: true /linker?href=/catch-all/hello/ should push route to /catch-all/hello/" + ] + }, + "test/e2e/trailing-slashes/without-trailing-slash.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "Trailing slashes with trailingSlash: false /external-linker?href=https://nextjs.org should have href https://nextjs.org", + "Trailing slashes with trailingSlash: false /external-linker?href=https://nextjs.org/ should have href https://nextjs.org/", + "Trailing slashes with trailingSlash: false /linker?href=/ should have href /", + "Trailing slashes with trailingSlash: false /linker?href=/ should navigate to /", + "Trailing slashes with trailingSlash: false /linker?href=/ should push route to /", + "Trailing slashes with trailingSlash: false /linker?href=/about should have href /about", + "Trailing slashes with trailingSlash: false /linker?href=/about should navigate to /about", + "Trailing slashes with trailingSlash: false /linker?href=/about should push route to /about", + "Trailing slashes with trailingSlash: false /linker?href=/about/ should have href /about", + "Trailing slashes with trailingSlash: false /linker?href=/about/ should navigate to /about", + "Trailing slashes with trailingSlash: false /linker?href=/about/ should push route to /about", + "Trailing slashes with trailingSlash: false /linker?href=/about/?hello=world should have href /about?hello=world", + "Trailing slashes with trailingSlash: false /linker?href=/about/?hello=world should navigate to /about?hello=world", + "Trailing slashes with trailingSlash: false /linker?href=/about/?hello=world should push route to /about?hello=world", + "Trailing slashes with trailingSlash: false /linker?href=/about?hello=world should have href /about?hello=world", + "Trailing slashes with trailingSlash: false /linker?href=/about?hello=world should navigate to /about?hello=world", + "Trailing slashes with trailingSlash: false /linker?href=/about?hello=world should push route to /about?hello=world", + "Trailing slashes with trailingSlash: false /linker?href=/catch-all/hello.world/ should have href /catch-all/hello.world", + "Trailing slashes with trailingSlash: false /linker?href=/catch-all/hello.world/ should navigate to /catch-all/hello.world", + "Trailing slashes with trailingSlash: false /linker?href=/catch-all/hello.world/ should push route to /catch-all/hello.world", + "Trailing slashes with trailingSlash: false /linker?href=/catch-all/hello/ should have href /catch-all/hello", + "Trailing slashes with trailingSlash: false /linker?href=/catch-all/hello/ should navigate to /catch-all/hello", + "Trailing slashes with trailingSlash: false /linker?href=/catch-all/hello/ should push route to /catch-all/hello" + ] + }, + "test/e2e/twoslash/index.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "twoslash should annotate twoslash types default", + "twoslash should annotate twoslash types esnext" + ] + }, + "test/e2e/undici-fetch/index.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "undici fetch undici global Headers should return true when undici is used", + "undici fetch undici global Request should return true when undici is used", + "undici fetch undici global Response should return true when undici is used" + ] + }, + "test/e2e/url/url.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/with-router/index.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "withRouter production mode allows observation of navigation events using top level Router", + "withRouter production mode allows observation of navigation events using top level Router deprecated behavior", + "withRouter production mode allows observation of navigation events using withRouter" + ] + } +} diff --git a/packages/tests-next-suite/disabled/core.json b/packages/tests-next-suite/disabled/core.json new file mode 100644 index 00000000..7842ebfd --- /dev/null +++ b/packages/tests-next-suite/disabled/core.json @@ -0,0 +1,1019 @@ +{ + "test/e2e/app-dir/actions-unrecognized/actions-unrecognized.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/actions/app-action-export.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/actions/app-action-form-state-node-middleware.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/actions/app-action-form-state.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/actions/app-action-node-middleware.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/actions/app-action-progressive-enhancement.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/actions/app-action-size-limit-invalid-node-middleware.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/actions/app-action-size-limit-invalid.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/actions/app-action.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app-basepath/index.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "app dir - basepath should properly stream an internal server action redirect() with a absolute URL", + "app dir - basepath should properly stream an internal server action redirect() with a relative URL", + "app dir - basepath should support Link with basePath prefixed", + "app dir - basepath should support `basePath`" + ] + }, + "test/e2e/app-dir/app-catch-all-optional/app-catch-all-optional.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["app-catch-all-optional should handle optional catchall with no params"] + }, + "test/e2e/app-dir/app-css/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app-edge-root-layout/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app-edge/app-edge-invalid-reexport.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app-edge/app-edge.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app-middleware-proxy/app-middleware-proxy-in-src-dir.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app-middleware-proxy/app-middleware-proxy-without-pages-dir.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app-middleware-proxy/app-middleware-proxy.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app-middleware/app-middleware-in-src-dir.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app-middleware/app-middleware-without-pages-dir.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app-middleware/app-middleware.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app-prefetch/prefetching.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "app dir - prefetching fetch priority should have an auto priority for all other fetch operations", + "app dir - prefetching fetch priority should prefetch links in viewport with low priority", + "app dir - prefetching should not unintentionally modify the requested prefetch by escaping the uri encoded query params" + ] + }, + "test/e2e/app-dir/app-root-params-getters/generate-static-params.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["app-root-param-getters - generateStaticParams should be statically prerenderable"] + }, + "test/e2e/app-dir/app-routes-trailing-slash/app-routes-trailing-slash.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app-routes/app-custom-route-base-path.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app-routes/app-custom-routes.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app-simple-routes/app-simple-routes.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app-static/app-static-custom-handler.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app-static/app-static.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app/experimental-compile.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app/standalone-gsp.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app/standalone.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/app/useReportWebVitals.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/asset-prefix-absolute/asset-prefix-absolute.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["app-dir absolute assetPrefix bundles should return 200 on served assetPrefix"] + }, + "test/e2e/app-dir/asset-prefix-with-basepath/asset-prefix-with-basepath.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "app-dir assetPrefix with basePath handling bundles should return 200 on served assetPrefix", + "app-dir assetPrefix with basePath handling should redirect route when clicking link", + "app-dir assetPrefix with basePath handling should render link" + ] + }, + "test/e2e/app-dir/asset-prefix/asset-prefix.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet" + }, + "test/e2e/app-dir/bun-externals/bun-externals.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/cache-components-segment-configs/cache-components-edge-deduplication.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/cache-components-segment-configs/cache-components-segment-configs.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/concurrent-navigations/mismatching-prefetch.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "mismatching prefetch recovers when a navigation rewrites to a different route than the one that was prefetched" + ] + }, + "test/e2e/app-dir/dedupe-rsc-error-log/dedupe-rsc-error-log.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/draft-mode/draft-mode.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/dynamic-css/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/dynamic/dynamic.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/edge-route-catchall/edge-route-catchall.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/edge-route-rewrite/edge-route-rewrite.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/edge-runtime-node-compatibility/edge-runtime-node-compatibility.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/fallback-shells/fallback-shells.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "fallback-shells with cached IO with generateStaticParams and the page wrapped in Suspense and params.then/catch/finally passed to a cached function resumes a postponed fallback shell", + "fallback-shells with cached IO with generateStaticParams and the page wrapped in Suspense and the params accessed in cached non-page function resumes a postponed fallback shell", + "fallback-shells with cached IO with generateStaticParams and the page wrapped in Suspense and the params accessed in the cached page does not produce hydration errors when resuming a fallback shell containing a layout with unused params", + "fallback-shells with cached IO with generateStaticParams and the page wrapped in Suspense and the params accessed in the cached page resumes a postponed fallback shell", + "fallback-shells with cached IO with generateStaticParams and the page wrapped in Suspense and the params transformed with an async function and then passed to a cached function resumes a postponed fallback shell", + "fallback-shells with cached IO without generateStaticParams and params.then/catch/finally passed to a cached function resumes a postponed fallback shell", + "fallback-shells with cached IO without generateStaticParams and the params accessed in cached non-page function resumes a postponed fallback shell", + "fallback-shells with cached IO without generateStaticParams and the params accessed in the cached page resumes a postponed fallback shell" + ] + }, + "test/e2e/app-dir/front-redirect-issue/front-redirect-issue.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["app dir - front redirect issue should redirect"] + }, + "test/e2e/app-dir/hooks/hooks.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["app dir - hooks usePathname should have the canonical url pathname on rewrite"] + }, + "test/e2e/app-dir/interception-route-prefetch-cache/interception-route-prefetch-cache.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/layout-params/layout-params.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "app dir - layout params catchall params should give empty optional catchall params won't give params to any layout" + ] + }, + "test/e2e/app-dir/logging/fetch-logging.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/metadata-dynamic-routes-async-deps/index.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "app dir - metadata dynamic routes with async deps should serve the opengraph-image route as a valid image" + ] + }, + "test/e2e/app-dir/metadata-dynamic-routes/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/metadata-edge/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/metadata-font/metadata-font.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/metadata-icons-parallel-routes/metadata-icons-parallel-routes.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["app-dir - metadata-icons-parallel-routes should serve both icon formats"] + }, + "test/e2e/app-dir/metadata-thrown/metadata-thrown.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "app dir - metadata thrown should not crash from error thrown during preloading nested generateMetadata" + ] + }, + "test/e2e/app-dir/metadata/metadata.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/middleware-rewrite-dynamic/middleware-rewrite-dynamic.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["app dir - middleware rewrite dynamic should properly rewrite for /favicon.ico"] + }, + "test/e2e/app-dir/middleware-sitemap/matcher-exclude-sitemap/index.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "middleware-sitemap should not be affected by middleware if sitemap.xml is excluded from the matcher" + ] + }, + "test/e2e/app-dir/next-after-app-deploy/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/next-after-app/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/next-config-ts-native-mts/async-function/async-function-cjs.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-async-function-cjs should support config as async function (CJS)"] + }, + "test/e2e/app-dir/next-config-ts-native-mts/async-function/async-function-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-async-function-esm should support config as async function (ESM)"] + }, + "test/e2e/app-dir/next-config-ts-native-mts/dynamic-import-esm/next-config-ts-dynamic-import-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-dynamic-import-esm should support dynamic import (ESM)"] + }, + "test/e2e/app-dir/next-config-ts-native-mts/export-as-default/next-config-ts-export-as-default-cjs.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-export-as-default-cjs should support export as default (CJS)"] + }, + "test/e2e/app-dir/next-config-ts-native-mts/export-as-default/next-config-ts-export-as-default-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-export-as-default-esm should support export as default (ESM)"] + }, + "test/e2e/app-dir/next-config-ts-native-mts/export-default/next-config-ts-export-default-cjs.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-export-default-cjs should support export default (CJS)"] + }, + "test/e2e/app-dir/next-config-ts-native-mts/export-default/next-config-ts-export-default-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-export-default-esm should support export default (ESM)"] + }, + "test/e2e/app-dir/next-config-ts-native-mts/import-from-node-modules/next-config-ts-import-from-node-modules-cjs.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-import-from-node-modules-cjs should import from node_modules (CJS)"] + }, + "test/e2e/app-dir/next-config-ts-native-mts/import-from-node-modules/next-config-ts-import-from-node-modules-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-import-from-node-modules-esm should import from node_modules (ESM)"] + }, + "test/e2e/app-dir/next-config-ts-native-mts/import-js-extensions-cjs/next-config-ts-import-js-extensions-cjs.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-import-js-extensions-cjs should import js extensions (CJS)"] + }, + "test/e2e/app-dir/next-config-ts-native-mts/import-js-extensions-esm/next-config-ts-import-js-extensions-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-import-js-extensions-esm should import js extensions (ESM)"] + }, + "test/e2e/app-dir/next-config-ts-native-mts/import-json/next-config-ts-import-json-cjs.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-import-json-cjs should support import json (CJS)"] + }, + "test/e2e/app-dir/next-config-ts-native-mts/import-json/next-config-ts-import-json-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-import-json-esm should support import json (ESM)"] + }, + "test/e2e/app-dir/next-config-ts-native-mts/nested-imports/next-config-ts-nested-imports-cjs.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-nested-imports-cjs should handle nested imports (CJS)"] + }, + "test/e2e/app-dir/next-config-ts-native-mts/nested-imports/next-config-ts-nested-imports-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-nested-imports-esm should handle nested imports (ESM)"] + }, + "test/e2e/app-dir/next-config-ts-native-mts/node-api-cjs/next-config-ts-node-api-cjs.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-node-api-cjs should be able to use Node.js API (CJS)"] + }, + "test/e2e/app-dir/next-config-ts-native-mts/node-api-esm/next-config-ts-node-api-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-node-api-esm should be able to use Node.js API (ESM)"] + }, + "test/e2e/app-dir/next-config-ts-native-mts/top-level-await-esm/next-config-ts-top-level-await-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-top-level-await-esm should support top-level await (ESM)"] + }, + "test/e2e/app-dir/next-config-ts-native-ts/async-function/async-function-cjs.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-async-function-cjs should support config as async function (CJS)"] + }, + "test/e2e/app-dir/next-config-ts-native-ts/async-function/async-function-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-async-function-esm should support config as async function (ESM)"] + }, + "test/e2e/app-dir/next-config-ts-native-ts/dynamic-import-esm/next-config-ts-dynamic-import-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-dynamic-import-esm should support dynamic import (ESM)"] + }, + "test/e2e/app-dir/next-config-ts-native-ts/export-as-default/next-config-ts-export-as-default-cjs.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-export-as-default-cjs should support export as default (CJS)"] + }, + "test/e2e/app-dir/next-config-ts-native-ts/export-as-default/next-config-ts-export-as-default-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-export-as-default-esm should support export as default (ESM)"] + }, + "test/e2e/app-dir/next-config-ts-native-ts/export-default/next-config-ts-export-default-cjs.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-export-default-cjs should support export default (CJS)"] + }, + "test/e2e/app-dir/next-config-ts-native-ts/export-default/next-config-ts-export-default-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-export-default-esm should support export default (ESM)"] + }, + "test/e2e/app-dir/next-config-ts-native-ts/import-from-node-modules/next-config-ts-import-from-node-modules-cjs.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-import-from-node-modules-cjs should import from node_modules (CJS)"] + }, + "test/e2e/app-dir/next-config-ts-native-ts/import-from-node-modules/next-config-ts-import-from-node-modules-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-import-from-node-modules-esm should import from node_modules (ESM)"] + }, + "test/e2e/app-dir/next-config-ts-native-ts/import-js-extensions-cjs/next-config-ts-import-js-extensions-cjs.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-import-js-extensions-cjs should import js extensions (CJS)"] + }, + "test/e2e/app-dir/next-config-ts-native-ts/import-js-extensions-esm/next-config-ts-import-js-extensions-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-import-js-extensions-esm should import js extensions (ESM)"] + }, + "test/e2e/app-dir/next-config-ts-native-ts/import-json/next-config-ts-import-json-cjs.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-import-json-cjs should support import json (CJS)"] + }, + "test/e2e/app-dir/next-config-ts-native-ts/import-json/next-config-ts-import-json-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-import-json-esm should support import json (ESM)"] + }, + "test/e2e/app-dir/next-config-ts-native-ts/nested-imports/next-config-ts-nested-imports-cjs.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-nested-imports-cjs should handle nested imports (CJS)"] + }, + "test/e2e/app-dir/next-config-ts-native-ts/nested-imports/next-config-ts-nested-imports-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-nested-imports-esm should handle nested imports (ESM)"] + }, + "test/e2e/app-dir/next-config-ts-native-ts/node-api-cjs/next-config-ts-node-api-cjs.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-node-api-cjs should be able to use Node.js API (CJS)"] + }, + "test/e2e/app-dir/next-config-ts-native-ts/node-api-esm/next-config-ts-node-api-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-node-api-esm should be able to use Node.js API (ESM)"] + }, + "test/e2e/app-dir/next-config-ts-native-ts/top-level-await-esm/next-config-ts-top-level-await-esm.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["next-config-ts-top-level-await-esm should support top-level await (ESM)"] + }, + "test/e2e/app-dir/next-dist-client-esm-import/next-dist-client-esm-import.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "next-dist-client-esm-import should resolve ESM modules that have \"next/dist/client\" in their filename" + ] + }, + "test/e2e/app-dir/next-font/next-font.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/next-image/next-image-https.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/next-image/next-image-proxy.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/next-image/next-image.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/no-duplicate-headers-middleware/no-duplicate-headers-middleware.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["no-duplicate-headers-next-config should prioritise headers in middleware for static assets"] + }, + "test/e2e/app-dir/no-duplicate-headers-next-config/no-duplicate-headers-next-config.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["no-duplicate-headers-next-config should prioritise headers in next config for static assets"] + }, + "test/e2e/app-dir/node-extensions/node-extensions.random.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/not-found-with-pages-i18n/not-found-with-pages.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "not-found-with-pages-i18n should prefer the app router 404 over the pages router 404 when both are present - SSR /app-dir/foo" + ] + }, + "test/e2e/app-dir/not-found/basic/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/not-found/conflict-route/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/not-found/group-route/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/parallel-route-not-found-params/parallel-route-not-found-params.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["parallel-route-not-found should behave correctly without any errors"] + }, + "test/e2e/app-dir/parallel-routes-and-interception-basepath/parallel-routes-and-interception-basepath.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["parallel-routes-and-interception-basepath should show parallel intercepted slot with basepath"] + }, + "test/e2e/app-dir/parallel-routes-and-interception-from-root/parallel-routes-and-interception-from-root.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/parallel-routes-and-interception/parallel-routes-and-interception.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/parallel-routes-catchall-slotted-non-catchalls/parallel-routes-catchall-slotted-non-catchalls.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "parallel-routes-catchall-slotted-non-catchalls should match default and dynamic segment paths before catch-all" + ] + }, + "test/e2e/app-dir/parallel-routes-generate-static-params/parallel-routes-generate-static-params.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["parallel-routes-generate-static-params should render the intercepted/non-intercepted modal"] + }, + "test/e2e/app-dir/parallel-routes-revalidation/parallel-routes-revalidation.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "parallel-routes-revalidation router.refresh (dynamic) - searchParams: false should correctly refresh data for previously intercepted modal and active page slot", + "parallel-routes-revalidation router.refresh (dynamic) - searchParams: false should correctly refresh data for the intercepted route and previously active page slot", + "parallel-routes-revalidation router.refresh (dynamic) - searchParams: true should correctly refresh data for previously intercepted modal and active page slot", + "parallel-routes-revalidation router.refresh (dynamic) - searchParams: true should correctly refresh data for the intercepted route and previously active page slot" + ] + }, + "test/e2e/app-dir/ppr-root-param-fallback/ppr-root-param-fallback.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "ppr-root-param-fallback should have use-cache content in fallback shells for all pregenerated locales" + ] + }, + "test/e2e/app-dir/ppr/ppr.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/preferred-region/preferred-region.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/prerender-encoding/prerender-encoding.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["prerender-encoding should respond with the prerendered page correctly"] + }, + "test/e2e/app-dir/proxy-runtime/proxy-runtime.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/resume-data-cache/resume-data-cache.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "resume-data-cache should have consistent data between static and dynamic renders with fetch cache", + "resume-data-cache should have consistent data between static and dynamic renders with use cache", + "resume-data-cache should see fresh data after updateTag in server action with fetch cache", + "resume-data-cache should see fresh data after updateTag in server action with use cache", + "resume-data-cache should use RDC for server action re-renders" + ] + }, + "test/e2e/app-dir/rsc-basic/rsc-basic-react-experimental.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/rsc-basic/rsc-basic.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/rsc-redirect/rsc-redirect.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["rsc-redirect should get 200 status code for rsc request"] + }, + "test/e2e/app-dir/segment-cache/memory-pressure/segment-cache-memory-pressure.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["segment cache memory pressure does not leak memory when repeatedly triggering prefetches"] + }, + "test/e2e/app-dir/segment-cache/search-params/segment-cache-search-params.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "segment cache (search params) handles rewrites to the same page but with different search params", + "segment cache (search params) stores prefetched data by its rewritten search params, not the original ones", + "segment cache (search params) when fetching with PPR, does not include search params in the cache key", + "segment cache (search params) when fetching without PPR (e.g. prefetch=\"unstable_forceStale\"), includes the search params in the cache key" + ] + }, + "test/e2e/app-dir/segment-cache/vary-params/vary-params.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["segment cache - vary params does not reuse prefetched segment when page accesses searchParams"] + }, + "test/e2e/app-dir/server-actions-redirect-middleware-rewrite/server-actions-redirect-middleware-rewrite.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/server-source-maps/server-source-maps-edge.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/server-source-maps/server-source-maps.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/set-cookies/set-cookies.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/sitemap-group/sitemap-group.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "sitemap-group should not add suffix to sitemap under group routes", + "sitemap-group should not add suffix to static sitemap.xml under group routes" + ] + }, + "test/e2e/app-dir/static-siblings/static-siblings.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "static-siblings cross-route-group siblings should include static sibling info in the server response", + "static-siblings parallel route siblings should include static sibling info in the server response", + "static-siblings same-directory siblings should include static sibling info in the server response" + ] + }, + "test/e2e/app-dir/temporary-references/temporary-references.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/turbopack-reports/turbopack-reports.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["turbopack-reports should render page importing sqlite3"] + }, + "test/e2e/app-dir/use-cache-metadata-route-handler/use-cache-metadata-route-handler.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "use-cache-metadata-route-handler should generate manifest.json with a metadata route handler that uses \"use cache\"", + "use-cache-metadata-route-handler should generate robots.txt with a metadata route handler that uses \"use cache\"", + "use-cache-metadata-route-handler should generate sitemaps with a metadata route handler that uses \"use cache\"" + ] + }, + "test/e2e/app-dir/use-cache-segment-configs/use-cache-segment-configs.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-dir/use-params/use-params.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "use-params should work for nested dynamic params", + "use-params should work for nested dynamic params client navigating" + ] + }, + "test/e2e/app-dir/with-exported-function-config/with-exported-function-config.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/app-document/rendering.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "Document and App - Rendering via HTTP _app shows a custom tag", + "Document and App - Rendering via HTTP _document Document.getInitialProps returns html prop representing app shell", + "Document and App - Rendering via HTTP _document renders ctx.renderPage with enhanceApp and enhanceComponent correctly", + "Document and App - Rendering via HTTP _document renders ctx.renderPage with enhanceApp correctly", + "Document and App - Rendering via HTTP _document renders ctx.renderPage with enhanceComponent correctly", + "Document and App - Rendering via HTTP _document renders ctx.renderPage with enhancer correctly", + "Document and App - Rendering via HTTP _document should include required elements in rendered html" + ] + }, + "test/e2e/async-modules/index.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "Async modules can render async 404 pages", + "Async modules can render async error page", + "Async modules works on async api routes", + "Async modules works with getServerSideProps" + ] + }, + "test/e2e/basepath/error-pages.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "basePath manually added basePath in application logic should 404 when manually adding basePath with ", + "basePath manually added basePath in application logic should 404 when manually adding basePath with router.push", + "basePath manually added basePath in application logic should 404 when manually adding basePath with router.replace" + ] + }, + "test/e2e/basepath/query-hash.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "basePath query/hash handling is correct during query updating ## $search", + "basePath query/hash handling is correct during query updating ##? $search", + "basePath query/hash handling is correct during query updating ##hello $search", + "basePath query/hash handling is correct during query updating ##hello? $search", + "basePath query/hash handling is correct during query updating #? $search", + "basePath query/hash handling is correct during query updating #a ?hello", + "basePath query/hash handling is correct during query updating #a ?hello=", + "basePath query/hash handling is correct during query updating #a ?hello=world", + "basePath query/hash handling is correct during query updating #hello? $search", + "basePath query/hash handling is correct during query updating #hello?world $search" + ] + }, + "test/e2e/basepath/redirect-and-rewrite.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "basePath should rewrite with basePath by default", + "basePath should rewrite without basePath when set to false" + ] + }, + "test/e2e/basepath/router-events.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["basePath should use urls with basepath in router events for failed route change"] + }, + "test/e2e/cache-handlers-upstream-wiring/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/cancel-request/stream-cancel.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/chrome-devtools-workspace/chrome-devtools-workspace-custom-disable.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["chrome-devtools-workspace custom disable can be disabled by providing your own endpoint"] + }, + "test/e2e/config-promise-export/async-function.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["async export should work"] + }, + "test/e2e/config-promise-export/promise.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["promise export should work"] + }, + "test/e2e/deferred-entries/deferred-entries.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/deprecation-warnings/deprecation-warnings.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "deprecation-warnings without next.config.js should not emit any deprecation warnings when no config file exists" + ] + }, + "test/e2e/edge-api-endpoints-can-receive-body/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/edge-async-local-storage/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/edge-can-use-wasm-files/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/edge-compiler-can-import-blob-assets/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/edge-configurable-runtime/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/edge-pages-support/edge-document.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/edge-pages-support/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/edge-runtime-pages-api-route/edge-runtime-pages-api-route.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/edge-runtime-uses-edge-light-import-specifier-for-packages/edge-runtime-uses-edge-light-import-specifier-for-packages.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/error-handler-not-found-req-url/error-handler-not-found-req-url.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "error-handler-not-found-req-url should log the correct request url and asPath for not found _error page" + ] + }, + "test/e2e/esm-externals/esm-externals.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "esm-externals pages url /ssr should render the correct page", + "esm-externals pages url /ssr should return the correct SSR HTML" + ] + }, + "test/e2e/fetch-failures-have-good-stack-traces-in-edge-runtime/fetch-failures-have-good-stack-traces-in-edge-runtime.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/getserversideprops/test/index.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "getServerSideProps should SSR normal page correctly", + "getServerSideProps should allow POST request for getServerSideProps page", + "getServerSideProps should dedupe server data requests", + "getServerSideProps should handle throw ENOENT correctly", + "getServerSideProps should have correct req.url and query for direct visit dynamic page rewrite direct", + "getServerSideProps should have correct req.url and query for direct visit dynamic page rewrite direct with internal query", + "getServerSideProps should have correct req.url and query for direct visit dynamic page rewrite param", + "getServerSideProps should have gssp in __NEXT_DATA__", + "getServerSideProps should navigate between pages successfully", + "getServerSideProps should navigate to a normal page and back", + "getServerSideProps should not include rewrite query params in `asPath` and `req.url`", + "getServerSideProps should not show error for invalid JSON returned from getStaticProps on CST", + "getServerSideProps should not trigger an error when a data request is cancelled due to another navigation", + "getServerSideProps should pass query for data request on navigation", + "getServerSideProps should reload page on failed data request", + "getServerSideProps should render 404 correctly when notFound is returned client-transition (dynamic)", + "getServerSideProps should render 404 correctly when notFound is returned client-transition (non-dynamic)" + ] + }, + "test/e2e/handle-non-hoisted-swc-helpers/index.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["handle-non-hoisted-swc-helpers should work"] + }, + "test/e2e/i18n-default-locale-redirect/i18n-default-locale-redirect.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "i18-default-locale-redirect should not request a path prefixed with default locale", + "i18-default-locale-redirect should request a path prefixed with non-default locale" + ] + }, + "test/e2e/i18n-ignore-redirect-source-locale/redirects-with-basepath.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "i18n-ignore-redirect-source-locale with basepath get redirected to the new page, from and to: ", + "i18n-ignore-redirect-source-locale with basepath get redirected to the new page, from and to: /en", + "i18n-ignore-redirect-source-locale with basepath get redirected to the new page, from and to: /nl", + "i18n-ignore-redirect-source-locale with basepath get redirected to the new page, from and to: /sv", + "i18n-ignore-redirect-source-locale with basepath get redirected to the new page, from: to: /", + "i18n-ignore-redirect-source-locale with basepath get redirected to the new page, from: to: en", + "i18n-ignore-redirect-source-locale with basepath get redirected to the new page, from: to: sv", + "i18n-ignore-redirect-source-locale with basepath get redirected to the new page, from: /en to: /", + "i18n-ignore-redirect-source-locale with basepath get redirected to the new page, from: /en to: en", + "i18n-ignore-redirect-source-locale with basepath get redirected to the new page, from: /en to: sv", + "i18n-ignore-redirect-source-locale with basepath get redirected to the new page, from: /nl to: /", + "i18n-ignore-redirect-source-locale with basepath get redirected to the new page, from: /nl to: en", + "i18n-ignore-redirect-source-locale with basepath get redirected to the new page, from: /nl to: sv", + "i18n-ignore-redirect-source-locale with basepath get redirected to the new page, from: /sv to: /", + "i18n-ignore-redirect-source-locale with basepath get redirected to the new page, from: /sv to: en", + "i18n-ignore-redirect-source-locale with basepath get redirected to the new page, from: /sv to: sv" + ] + }, + "test/e2e/i18n-ignore-rewrite-source-locale/rewrites.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "i18n-ignore-rewrite-source-locale get public file by skipping locale in rewrite, locale: ", + "i18n-ignore-rewrite-source-locale get public file by skipping locale in rewrite, locale: /en", + "i18n-ignore-rewrite-source-locale get public file by skipping locale in rewrite, locale: /nl", + "i18n-ignore-rewrite-source-locale get public file by skipping locale in rewrite, locale: /sv" + ] + }, + "test/e2e/i18n-navigations-middleware/i18n-navigations-middleware.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "i18n-navigations-middleware should respect selected locale when navigating to a dynamic route", + "i18n-navigations-middleware should respect selected locale when navigating to a static route" + ] + }, + "test/e2e/i18n-preferred-locale-detection/i18n-preferred-locale-detection.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "i18-preferred-locale-redirect should not request a path prefixed with my preferred detected locale when clicking link to index from a non-locale-prefixed path" + ] + }, + "test/e2e/import-conditions/import-conditions.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/instrumentation-client-hook/instrumentation-client-hook.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "Instrumentation Client Hook App Router should execute instrumentation-client from app router before hydration", + "Instrumentation Client Hook Pages Router should execute instrumentation-client from pages router before hydration", + "Instrumentation Client Hook With src folder should execute instrumentation-client from with src folder before hydration" + ] + }, + "test/e2e/instrumentation-hook-src/instrumentation-hook-src.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/instrumentation-hook/instrumentation-hook.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/invalid-static-asset-404-app/invalid-static-asset-404-app-asset-prefix.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "invalid-static-asset-404-app-asset-prefix should return 404 with plain text when fetching invalid asset path", + "invalid-static-asset-404-app-asset-prefix should return correct output with status 200 on valid asset path" + ] + }, + "test/e2e/invalid-static-asset-404-app/invalid-static-asset-404-app-base-path.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "invalid-static-asset-404-app-base-path should return custom 404 page when fetching invalid non-asset path" + ] + }, + "test/e2e/invalid-static-asset-404-app/invalid-static-asset-404-app.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "invalid-static-asset-404-app should return 404 with plain text when fetching invalid asset path" + ] + }, + "test/e2e/invalid-static-asset-404-pages/invalid-static-asset-404-pages-asset-prefix.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "invalid-static-asset-404-pages-asset-prefix should return correct output with status 200 on valid asset path", + "invalid-static-asset-404-pages-asset-prefix should return custom 404 page when fetching invalid non-asset path" + ] + }, + "test/e2e/invalid-static-asset-404-pages/invalid-static-asset-404-pages-base-path.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "invalid-static-asset-404-pages-base-path should return custom 404 page when fetching invalid non-asset path" + ] + }, + "test/e2e/invalid-static-asset-404-pages/invalid-static-asset-404-pages.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "invalid-static-asset-404-pages should return custom 404 page when fetching invalid non-asset path" + ] + }, + "test/e2e/link-with-api-rewrite/index.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["link-with-api-rewrite should perform hard navigation for rewritten urls"] + }, + "test/e2e/middleware-base-path/test/index.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": ["Middleware base tests router.query must exist when Link clicked page routing"] + }, + "test/e2e/middleware-custom-matchers/test/index.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "Middleware custom matchers should match has cookie", + "Middleware custom matchers should match has header", + "Middleware custom matchers should match has header value", + "Middleware custom matchers should match has query", + "Middleware custom matchers should match missing header correctly", + "Middleware custom matchers should match missing query correctly", + "Middleware custom matchers should match source path" + ] + }, + "test/e2e/middleware-fetches-with-body/index.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "Middleware fetches with body should return 413 for body equal to 10mb", + "Middleware fetches with body with bodyParser = false should be able to send and return with body greater than 16KiB", + "Middleware fetches with body with bodyParser = false should be able to send and return with body size equal to 16KiB", + "Middleware fetches with body with custom bodyParser sizeLimit (5kb) should be able to send and return body size equal to 5kb", + "Middleware fetches with body with custom bodyParser sizeLimit (5kb) should return 413 for body greater than 5kb", + "Middleware fetches with body with custom bodyParser sizeLimit (5mb) should return 413 for body greater than 5mb", + "Middleware fetches with body with default bodyParser sizeLimit (1mb) should be able to send and return body greater than default highWaterMark (16KiB)", + "Middleware fetches with body with default bodyParser sizeLimit (1mb) should be able to send and return body size equal to 1mb", + "Middleware fetches with body with default bodyParser sizeLimit (1mb) should return 413 for body greater than 1mb" + ] + }, + "test/e2e/middleware-general/test/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/middleware-general/test/node-runtime.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/middleware-redirects/test/index.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "Middleware Redirect /fr should implement internal redirects", + "Middleware Redirect should implement internal redirects", + "Middleware Redirect should redirect correctly with redirect in next.config.js", + "Middleware Redirect should redirect to api route with locale", + "Middleware Redirect should redirect to external urls with data requests and external redirects" + ] + }, + "test/e2e/middleware-redirects/test/node-runtime.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "Middleware Redirect /fr should implement internal redirects", + "Middleware Redirect should implement internal redirects", + "Middleware Redirect should redirect correctly with redirect in next.config.js", + "Middleware Redirect should redirect to api route with locale", + "Middleware Redirect should redirect to external urls with data requests and external redirects" + ] + }, + "test/e2e/middleware-request-header-overrides/test/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/middleware-rewrites/test/index.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "Middleware Rewrite should hard navigate on 404 for data request", + "Middleware Rewrite should override with rewrite externally correctly", + "Middleware Rewrite should rewrite to fallback: true page successfully" + ] + }, + "test/e2e/middleware-static-files/index.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "Middleware Runtime should match middleware correctly for /another%2ffile.svg", + "Middleware Runtime should match middleware correctly for /another/file.svg", + "Middleware Runtime should match middleware correctly for /file.svg", + "Middleware Runtime should match middleware correctly for /glob%2ffile.svg", + "Middleware Runtime should match middleware correctly for /glob/file.svg", + "Middleware Runtime should match middleware correctly for /vercel copy.svg", + "Middleware Runtime should match middleware correctly for /vercel%20copy.svg" + ] + }, + "test/e2e/middleware-trailing-slash/test/index.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "Middleware Runtime trailing slash allows shallow linking with middleware", + "Middleware Runtime trailing slash should add a rewrite header on data requests for rewrites", + "Middleware Runtime trailing slash should have correct dynamic route params for middleware rewrite to dynamic route", + "Middleware Runtime trailing slash should have correct dynamic route params on client-transition to dynamic route", + "Middleware Runtime trailing slash should have correct query values for rewrite to ssg page", + "Middleware Runtime trailing slash should have correct route params for chained rewrite from middleware to config rewrite", + "Middleware Runtime trailing slash should have correct route params for rewrite from config dynamic route", + "Middleware Runtime trailing slash should have correct route params for rewrite from config non-dynamic route", + "Middleware Runtime trailing slash should normalize data requests into page requests", + "Middleware Runtime trailing slash should respond with 400 on decode failure", + "Middleware Runtime trailing slash should rewrite correctly for non-SSG/SSP page", + "Middleware Runtime trailing slash should rewrite the same for direct visit and client-transition", + "Middleware Runtime trailing slash should trigger middleware for data requests", + "Middleware Runtime trailing slash with .html extension should work when navigating", + "Middleware Runtime trailing slash without .html extension should work when navigating" + ] + }, + "test/e2e/module-layer/module-layer.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/next-form/default/app-dir.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "next-form - app dir functions passed to action runs server action", + "next-form - app dir functions passed to action runs server action (closure)", + "next-form - app dir functions passed to formAction runs server action (closure) from submitter and doesn't warn about unsupported attributes", + "next-form - app dir functions passed to formAction runs server action from submitter and doesn't warn about unsupported attributes" + ] + }, + "test/e2e/og-api/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/og-routes-custom-font/og-routes-custom-font.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/on-request-error/basic/basic.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/on-request-error/server-action-error/server-action-error.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/opentelemetry/instrumentation/instrumentation-pages-app-only.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/opentelemetry/instrumentation/opentelemetry.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/prerender-native-module.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet" + }, + "test/e2e/prerender.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "Prerender should 404 for a missing catchall explicit route", + "Prerender should navigate between pages successfully", + "Prerender should respond with 405 for POST to static page", + "Prerender should revalidate on-demand revalidate with preview cookie", + "Prerender should support lazy catchall route", + "Prerender should support nested lazy catchall route", + "Prerender should use correct caching headers for a fallback-true page (lazy)", + "Prerender should use correct caching headers for a fallback-true page (prerendered)", + "Prerender should use correct caching headers for a no-revalidate page", + "Prerender should use correct caching headers for a revalidate page" + ] + }, + "test/e2e/react-version/react-version.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/revalidate-reason/revalidate-reason.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "revalidate-reason should support revalidateReason: \"on-demand\"", + "revalidate-reason should support revalidateReason: \"stale\"" + ] + }, + "test/e2e/skip-trailing-slash-redirect/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/streaming-ssr-edge/streaming-ssr-edge.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/streaming-ssr/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/switchable-runtime/index.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/testmode/testmode.test.ts": { + "reason": "The edge runtime is not supported" + }, + "test/e2e/twoslash/index.test.ts": { + "reason": "Failing on Next.js 16.2.1, not triaged yet", + "cases": [ + "twoslash should annotate twoslash types default", + "twoslash should annotate twoslash types esnext" + ] + }, + "test/e2e/url/url.test.ts": { + "reason": "The edge runtime is not supported" + } +} diff --git a/packages/tests-next-suite/package.json b/packages/tests-next-suite/package.json new file mode 100644 index 00000000..571d2769 --- /dev/null +++ b/packages/tests-next-suite/package.json @@ -0,0 +1,24 @@ +{ + "name": "tests-next-suite", + "version": null, + "private": true, + "type": "module", + "scripts": { + "clean": "rm -rf .turbo node_modules .cache", + "next-suite": "tsx src/cli.ts", + "test": "vitest run", + "ts:check": "tsc --noEmit" + }, + "dependencies": { + "fast-xml-parser": "^5.2.5", + "tsx": "catalog:", + "yaml": "^2.8.1" + }, + "devDependencies": { + "@tsconfig/strictest": "catalog:", + "@types/node": "catalog:", + "dotenv": "^16.6.1", + "typescript": "catalog:", + "vitest": "catalog:" + } +} diff --git a/packages/tests-next-suite/src/cli.ts b/packages/tests-next-suite/src/cli.ts new file mode 100644 index 00000000..f5c0aa2c --- /dev/null +++ b/packages/tests-next-suite/src/cli.ts @@ -0,0 +1,165 @@ +import { spawnSync } from "node:child_process"; +import fs from "node:fs"; +import os from "node:os"; +import path from "node:path"; +import { parseArgs } from "node:util"; + +import { findStaleEntries, loadDisabled, toManifest } from "./disabled.js"; +import { disabledEdgeTests, findEdgeRuntimeTests } from "./edge.js"; +import { disabledFromJUnit, mergeDisabled, summarize } from "./junit.js"; +import { DEFAULT_NEXT_REF, ensureNextCheckout, packTarballs } from "./next-checkout.js"; +import { buildRunSuiteArgs, buildRunSuiteEnv } from "./run-suite.js"; +import { PACKAGE_DIR, TARGETS, getTarget, type TargetName } from "./targets.js"; + +const CACHE_DIR = path.join(PACKAGE_DIR, ".cache"); +const TEST_APPS_DIR = path.join(os.homedir(), ".cache/opennext-next-suite/apps"); + +const USAGE = `Usage: + pnpm next-suite setup [--ref ] + pnpm next-suite run --target [--group 1/16] [-c 2] [--retries ] [--ref ] [--include-disabled] [test paths...] + pnpm next-suite disabled-from-junit --target --input --output --reason + pnpm next-suite disable-edge [--ref ]`; + +/** Resolves the Next.js checkout, set `NEXT_SUITE_NEXT_DIR` to use an existing built one. */ +function resolveNextDir(ref: string): string { + const existing = process.env.NEXT_SUITE_NEXT_DIR; + if (existing) { + return path.resolve(existing); + } + const dir = path.join(CACHE_DIR, "next.js"); + ensureNextCheckout(ref, dir); + return dir; +} + +/** Writes the harness manifest of a target's disabled tests. */ +function writeDisabledManifest(target: TargetName, nextDir: string): string { + const list = loadDisabled(path.join(PACKAGE_DIR, "disabled", `${target}.json`)); + for (const file of findStaleEntries(list, nextDir)) { + console.error(`Warning: ${file} is disabled for ${target} but does not exist in this Next.js version`); + } + const manifest = path.join(CACHE_DIR, `disabled-${target}.json`); + fs.writeFileSync(manifest, JSON.stringify(toManifest(list), null, 2)); + return manifest; +} + +function run(args: string[]): number { + const { values, positionals } = parseArgs({ + args, + allowPositionals: true, + options: { + target: { type: "string" }, + group: { type: "string" }, + concurrency: { type: "string", short: "c", default: "2" }, + retries: { type: "string" }, + ref: { type: "string", default: DEFAULT_NEXT_REF }, + "include-disabled": { type: "boolean", default: false }, + }, + }); + const target = getTarget(values.target).name; + const nextDir = resolveNextDir(values.ref); + + fs.mkdirSync(CACHE_DIR, { recursive: true }); + fs.mkdirSync(TEST_APPS_DIR, { recursive: true }); + const tarballsDir = path.join(CACHE_DIR, "tarballs"); + packTarballs(tarballsDir); + + const baseEnvFile = path.join(CACHE_DIR, "base-env.json"); + const env = buildRunSuiteEnv({ + target, + pkgDir: PACKAGE_DIR, + base: process.env, + tarballsDir, + baseEnvFile, + testAppsDir: TEST_APPS_DIR, + disabledManifest: values["include-disabled"] ? null : writeDisabledManifest(target, nextDir), + }); + fs.writeFileSync(baseEnvFile, JSON.stringify(Object.keys(env))); + + const { status } = spawnSync( + process.execPath, + buildRunSuiteArgs({ + group: values.group, + concurrency: Number(values.concurrency), + retries: values.retries === undefined ? undefined : Number(values.retries), + tests: positionals, + }), + { cwd: nextDir, env, stdio: "inherit" } + ); + return status ?? 1; +} + +function setup(args: string[]): number { + const { values } = parseArgs({ args, options: { ref: { type: "string", default: DEFAULT_NEXT_REF } } }); + resolveNextDir(values.ref); + return 0; +} + +/** Writes the target's disable list with what failed in the JUnit reports of `input` added to it. */ +function seedDisabled(args: string[]): number { + const { values } = parseArgs({ + args, + options: { + target: { type: "string" }, + input: { type: "string" }, + output: { type: "string" }, + reason: { type: "string" }, + }, + }); + const { reason } = values; + if (!values.input || !values.output || !reason) { + console.error(USAGE); + return 1; + } + // pnpm runs this script from the package, the paths are relative to where it was called from. + const callerDir = process.env.INIT_CWD ?? process.cwd(); + const input = path.resolve(callerDir, values.input); + const output = path.resolve(callerDir, values.output); + + const target = getTarget(values.target).name; + const reports = fs + .readdirSync(input, { recursive: true, encoding: "utf8" }) + .filter((file) => file.endsWith(".xml")) + .map((file) => path.join(input, file)); + const found = disabledFromJUnit(reports, path.join(CACHE_DIR, "next.js"), reason); + const list = mergeDisabled(loadDisabled(path.join(PACKAGE_DIR, "disabled", `${target}.json`)), found); + + fs.writeFileSync(output, `${JSON.stringify(list, null, "\t")}\n`); + console.log(`### ${target}: ${reports.length} reports\n\n${summarize(list)}`); + return 0; +} + +/** Adds the edge runtime tests of the checkout to the disable list of every target. */ +function disableEdge(args: string[]): number { + const { values } = parseArgs({ args, options: { ref: { type: "string", default: DEFAULT_NEXT_REF } } }); + const edgeTests = disabledEdgeTests(findEdgeRuntimeTests(resolveNextDir(values.ref))); + for (const target of Object.keys(TARGETS)) { + const file = path.join(PACKAGE_DIR, "disabled", `${target}.json`); + const list = mergeDisabled(loadDisabled(file), edgeTests); + fs.writeFileSync(file, `${JSON.stringify(list, null, "\t")}\n`); + } + console.log(`Disabled ${Object.keys(edgeTests).length} edge runtime test files`); + return 0; +} + +function main([command, ...args]: string[]): number { + switch (command) { + case "setup": + return setup(args); + case "run": + return run(args); + case "disabled-from-junit": + return seedDisabled(args); + case "disable-edge": + return disableEdge(args); + default: + console.error(USAGE); + return 1; + } +} + +try { + process.exitCode = main(process.argv.slice(2)); +} catch (error) { + console.error(error instanceof Error ? error.message : error); + process.exitCode = 1; +} diff --git a/packages/tests-next-suite/src/disabled.spec.ts b/packages/tests-next-suite/src/disabled.spec.ts new file mode 100644 index 00000000..72ae9110 --- /dev/null +++ b/packages/tests-next-suite/src/disabled.spec.ts @@ -0,0 +1,74 @@ +import fs from "node:fs"; +import os from "node:os"; +import path from "node:path"; + +import { describe, expect, test } from "vitest"; + +import { findStaleEntries, loadDisabled, toManifest } from "./disabled.js"; +import { PACKAGE_DIR } from "./targets.js"; + +function writeList(content: unknown): string { + const dir = fs.mkdtempSync(path.join(os.tmpdir(), "next-suite-disabled-")); + const file = path.join(dir, "list.json"); + fs.writeFileSync(file, JSON.stringify(content)); + return file; +} + +describe("toManifest", () => { + test("a file entry becomes an exact-path exclusion", () => { + expect(toManifest({ "test/e2e/a.test.ts": { reason: "x" } })).toEqual({ + version: 2, + suites: {}, + rules: { include: [], exclude: ["test/e2e/a.test.ts"] }, + }); + }); + + test("a case entry excludes only those cases", () => { + expect(toManifest({ "test/e2e/a.test.ts": { reason: "x", cases: ["suite case"] } })).toEqual({ + version: 2, + suites: { "test/e2e/a.test.ts": { failed: ["suite case"] } }, + rules: { include: [], exclude: [] }, + }); + }); + + test("an empty list still yields a mergeable manifest", () => { + expect(toManifest({}).rules).toEqual({ include: [], exclude: [] }); + }); +}); + +describe("loadDisabled", () => { + test("returns a valid list", () => { + const list = { "test/e2e/a.test.ts": { reason: "x", cases: ["suite case"] } }; + + expect(loadDisabled(writeList(list))).toEqual(list); + }); + + test.each([ + ["a missing reason", "test/e2e/a.test.ts", {}], + ["a blank reason", "test/e2e/a.test.ts", { reason: " " }], + ["an empty cases array", "test/e2e/a.test.ts", { reason: "x", cases: [] }], + ["an absolute path", "/x/test/e2e/a.test.ts", { reason: "x" }], + ["a non-test path", "test/e2e/a.ts", { reason: "x" }], + ])("rejects %s, naming the entry", (_name, file, entry) => { + expect(() => loadDisabled(writeList({ [file]: entry }))).toThrow(file); + }); +}); + +describe("findStaleEntries", () => { + test("reports paths missing from the Next checkout", () => { + const nextDir = fs.mkdtempSync(path.join(os.tmpdir(), "next-suite-checkout-")); + fs.mkdirSync(path.join(nextDir, "test/e2e"), { recursive: true }); + fs.writeFileSync(path.join(nextDir, "test/e2e/a.test.ts"), ""); + + const stale = findStaleEntries( + { "test/e2e/a.test.ts": { reason: "x" }, "test/e2e/gone.test.ts": { reason: "x" } }, + nextDir + ); + + expect(stale).toEqual(["test/e2e/gone.test.ts"]); + }); +}); + +test.each(["core", "cloudflare"])("the committed %s list is valid", (target) => { + expect(() => loadDisabled(path.join(PACKAGE_DIR, "disabled", `${target}.json`))).not.toThrow(); +}); diff --git a/packages/tests-next-suite/src/disabled.ts b/packages/tests-next-suite/src/disabled.ts new file mode 100644 index 00000000..8b1e8b2a --- /dev/null +++ b/packages/tests-next-suite/src/disabled.ts @@ -0,0 +1,82 @@ +import fs from "node:fs"; +import path from "node:path"; + +export type DisabledEntry = { + reason: string; + /** Full jest names of the disabled cases, the whole file is disabled without it. */ + cases?: string[]; +}; + +/** Tests disabled for one adapter, keyed by a path like `test/e2e/foo/foo.test.ts`. */ +export type DisabledList = Record; + +/** The format of `NEXT_EXTERNAL_TESTS_FILTERS` files. */ +export type SuiteManifest = { + version: 2; + suites: Record; + rules: { include: string[]; exclude: string[] }; +}; + +const TEST_PATH = /^test\/.+\.test\.(js|ts|tsx)$/; + +function getEntryProblem(file: string, entry: Partial): string | undefined { + if (!TEST_PATH.test(file)) { + return "the key must be a test path relative to the Next.js repository"; + } + if (!entry.reason?.trim()) { + return "a reason is required"; + } + if (entry.cases?.length === 0) { + return "cases can not be empty, remove it to disable the whole file"; + } + return undefined; +} + +/** + * Loads a disable list. + * + * @param file The path of the list. + * @returns The list. + * @throws When an entry is invalid. + */ +export function loadDisabled(file: string): DisabledList { + const list: Record> = JSON.parse(fs.readFileSync(file, "utf8")); + for (const [testFile, entry] of Object.entries(list)) { + const problem = getEntryProblem(testFile, entry); + if (problem) { + throw new Error(`Invalid entry "${testFile}" in ${file}: ${problem}`); + } + } + return list as DisabledList; +} + +/** + * Converts a disable list to the format the harness filters tests with. + * + * Whole files use exact paths, which take precedence over the manifests they are merged with. + * + * @param list The disable list. + * @returns The manifest. + */ +export function toManifest(list: DisabledList): SuiteManifest { + const manifest: SuiteManifest = { version: 2, suites: {}, rules: { include: [], exclude: [] } }; + for (const [file, { cases }] of Object.entries(list)) { + if (cases) { + manifest.suites[file] = { failed: cases }; + } else { + manifest.rules.exclude.push(file); + } + } + return manifest; +} + +/** + * Finds the entries which disable nothing, as happens when a Next.js update renames a test. + * + * @param list The disable list. + * @param nextDir The Next.js checkout. + * @returns The paths missing from the checkout. + */ +export function findStaleEntries(list: DisabledList, nextDir: string): string[] { + return Object.keys(list).filter((file) => !fs.existsSync(path.join(nextDir, file))); +} diff --git a/packages/tests-next-suite/src/edge.spec.ts b/packages/tests-next-suite/src/edge.spec.ts new file mode 100644 index 00000000..5a2fb720 --- /dev/null +++ b/packages/tests-next-suite/src/edge.spec.ts @@ -0,0 +1,113 @@ +import fs from "node:fs"; +import os from "node:os"; +import path from "node:path"; + +import { beforeEach, describe, expect, test } from "vitest"; + +import { disabledEdgeTests, findEdgeRuntimeTests } from "./edge.js"; + +let nextDir: string; + +function write(file: string, content = ""): void { + const target = path.join(nextDir, file); + fs.mkdirSync(path.dirname(target), { recursive: true }); + fs.writeFileSync(target, content); +} + +beforeEach(() => { + nextDir = fs.mkdtempSync(path.join(os.tmpdir(), "next-suite-edge-")); +}); + +describe("findEdgeRuntimeTests", () => { + test.each([ + ["an app page", "app/page.tsx", `export const runtime = 'edge'`], + ["double quotes", "app/page.tsx", `export const runtime = "edge";`], + ["the experimental name", "pages/api/a.ts", `export const config = { runtime: 'experimental-edge' }`], + ["a pages config", "pages/a.tsx", `export const config = {\n runtime: "edge",\n}`], + ["a next.config", "next.config.js", `module.exports = { experimental: { runtime: 'edge' } }`], + ])("finds %s", (_name, file, content) => { + write("test/e2e/a/a.test.ts"); + write(`test/e2e/a/${file}`, content); + + expect(findEdgeRuntimeTests(nextDir)).toEqual(["test/e2e/a/a.test.ts"]); + }); + + test("finds an app declared inside the test file", () => { + write("test/e2e/a/a.test.ts", "files: { 'app/page.js': `export const runtime = 'edge'` }"); + + expect(findEdgeRuntimeTests(nextDir)).toEqual(["test/e2e/a/a.test.ts"]); + }); + + test("looks at the fixture when tests are in a test directory", () => { + write("test/e2e/a/test/index.test.ts"); + write("test/e2e/a/app/page.tsx", `export const runtime = 'edge'`); + + expect(findEdgeRuntimeTests(nextDir)).toEqual(["test/e2e/a/test/index.test.ts"]); + }); + + test("ignores the Node.js runtime", () => { + write("test/e2e/a/a.test.ts"); + write("test/e2e/a/app/page.tsx", `export const runtime = 'nodejs'`); + + expect(findEdgeRuntimeTests(nextDir)).toEqual([]); + }); + + test("ignores middleware, which is not an edge page", () => { + write("test/e2e/a/a.test.ts"); + write("test/e2e/a/middleware.ts", `export const config = { runtime: 'experimental-edge' }`); + write("test/e2e/a/proxy.ts", `export const config = { runtime: 'edge' }`); + + expect(findEdgeRuntimeTests(nextDir)).toEqual([]); + }); + + test("ignores dependencies and build output", () => { + write("test/e2e/a/a.test.ts"); + write("test/e2e/a/node_modules/x/index.js", `export const runtime = 'edge'`); + write("test/e2e/a/.next/server/page.js", `export const runtime = 'edge'`); + + expect(findEdgeRuntimeTests(nextDir)).toEqual([]); + }); + + test("does not scan all tests for a test at the root of the e2e directory", () => { + write("test/e2e/prerender.test.ts"); + write("test/e2e/other/other.test.ts"); + write("test/e2e/other/app/page.tsx", `export const runtime = 'edge'`); + + expect(findEdgeRuntimeTests(nextDir)).toEqual(["test/e2e/other/other.test.ts"]); + }); + + test("finds the fixture of a test at the root of the e2e directory", () => { + write("test/e2e/prerender.test.ts"); + write("test/e2e/prerender/pages/a.tsx", `export const config = { runtime: 'edge' }`); + + expect(findEdgeRuntimeTests(nextDir)).toEqual(["test/e2e/prerender.test.ts"]); + }); + + test("does not scan all tests for a test at the root of the app-dir directory", () => { + write("test/e2e/app-dir/root.test.ts"); + write("test/e2e/app-dir/other/app/page.tsx", `export const runtime = 'edge'`); + + expect(findEdgeRuntimeTests(nextDir)).toEqual([]); + }); + + test("ignores an edge runtime declared by a sibling test file", () => { + write("test/e2e/a/a.test.ts"); + write("test/e2e/a/b.test.ts", `export const runtime = 'edge'`); + + expect(findEdgeRuntimeTests(nextDir)).toEqual(["test/e2e/a/b.test.ts"]); + }); + + test("keeps sibling test directories apart", () => { + write("test/e2e/a/a.test.ts"); + write("test/e2e/a/app/page.tsx", `export const runtime = 'edge'`); + write("test/e2e/b/b.test.ts"); + + expect(findEdgeRuntimeTests(nextDir)).toEqual(["test/e2e/a/a.test.ts"]); + }); +}); + +test("disabledEdgeTests disables whole files with the reason", () => { + expect(disabledEdgeTests(["test/e2e/a.test.ts"])).toEqual({ + "test/e2e/a.test.ts": { reason: "The edge runtime is not supported" }, + }); +}); diff --git a/packages/tests-next-suite/src/edge.ts b/packages/tests-next-suite/src/edge.ts new file mode 100644 index 00000000..01b42730 --- /dev/null +++ b/packages/tests-next-suite/src/edge.ts @@ -0,0 +1,87 @@ +import fs from "node:fs"; +import path from "node:path"; + +import type { DisabledList } from "./disabled.js"; + +const REASON = "The edge runtime is not supported"; +const EDGE_RUNTIME = /\bruntime\s*[:=]\s*["'](experimental-)?edge["']/; +const SOURCE_FILE = /\.(js|jsx|mjs|cjs|ts|tsx|mts|cts)$/; +const TEST_FILE = /\.test\.(js|ts|tsx)$/; +/** Middleware runs in the edge sandbox whatever it declares, and is supported. */ +const MIDDLEWARE_FILE = /^(middleware|proxy)\.[a-z]+$/; +const IGNORED_DIRS = new Set(["node_modules", ".next"]); +const ROOT_DIRS = new Set(["test/e2e", "test/e2e/app-dir"]); + +function listFiles(dir: string): string[] { + return fs.readdirSync(dir, { withFileTypes: true }).flatMap((entry) => { + const file = path.join(dir, entry.name); + if (entry.isDirectory()) { + return IGNORED_DIRS.has(entry.name) ? [] : listFiles(file); + } + return [file]; + }); +} + +function declaresEdgeRuntime(file: string): boolean { + return ( + SOURCE_FILE.test(file) && + !MIDDLEWARE_FILE.test(path.basename(file)) && + EDGE_RUNTIME.test(fs.readFileSync(file, "utf8")) + ); +} + +/** + * Returns the directory of a test's fixture, if it has one. + * + * Tests can be in a `test` directory next to the app. The fixture of a test at the root of a directory + * holding other tests is named after it, as the directory itself holds the apps of all the others. + */ +function getFixtureDir(testFile: string, nextDir: string): string | undefined { + const dir = path.dirname(testFile); + const fixture = ["test", "tests"].includes(path.basename(dir)) ? path.dirname(dir) : dir; + if (![...ROOT_DIRS].some((root) => fixture === path.join(nextDir, root))) { + return fixture; + } + const named = path.join(fixture, path.basename(testFile).replace(TEST_FILE, "")); + return fs.existsSync(named) ? named : undefined; +} + +/** + * Finds the e2e tests with an app declaring the edge runtime. + * + * The apps of a directory are shared by its tests, an app inlined in a test file only concerns that test. + * + * @param nextDir The Next.js checkout. + * @returns The test paths relative to the checkout, sorted. + */ +export function findEdgeRuntimeTests(nextDir: string): string[] { + const edgeDirs = new Map(); + const usesEdgeRuntime = (dir: string): boolean => { + const known = edgeDirs.get(dir); + if (known !== undefined) { + return known; + } + const result = listFiles(dir).some((file) => !TEST_FILE.test(file) && declaresEdgeRuntime(file)); + edgeDirs.set(dir, result); + return result; + }; + + return listFiles(path.join(nextDir, "test/e2e")) + .filter((file) => TEST_FILE.test(file)) + .filter((file) => { + const fixture = getFixtureDir(file, nextDir); + return declaresEdgeRuntime(file) || (fixture !== undefined && usesEdgeRuntime(fixture)); + }) + .map((file) => path.relative(nextDir, file)) + .sort(); +} + +/** + * Builds the disable entries of edge runtime tests. + * + * @param files The test paths. + * @returns The entries. + */ +export function disabledEdgeTests(files: string[]): DisabledList { + return Object.fromEntries(files.map((file) => [file, { reason: REASON }])); +} diff --git a/packages/tests-next-suite/src/env.spec.ts b/packages/tests-next-suite/src/env.spec.ts new file mode 100644 index 00000000..3e9da208 --- /dev/null +++ b/packages/tests-next-suite/src/env.spec.ts @@ -0,0 +1,46 @@ +import { describe, expect, test } from "vitest"; + +import { toolchainEnv } from "./env.js"; + +const linux = { execPath: "/node/24/bin/node", platform: "linux", arch: "x64" } as const; + +describe("toolchainEnv", () => { + test("puts the running Node first so version managers do not switch it inside the checkout", () => { + expect(toolchainEnv({ PATH: "/shims:/usr/bin" }, linux).PATH).toBe("/node/24/bin:/shims:/usr/bin"); + }); + + test("tolerates a missing PATH", () => { + expect(toolchainEnv({}, linux).PATH).toBe("/node/24/bin"); + }); + + test("strips NODE_ENV", () => { + expect(toolchainEnv({ NODE_ENV: "development" }, linux).NODE_ENV).toBeUndefined(); + }); + + test("makes the older Playwright pinned by Next.js accept newer Linux distributions", () => { + expect(toolchainEnv({}, linux).PLAYWRIGHT_HOST_PLATFORM_OVERRIDE).toBe("ubuntu24.04-x64"); + }); + + test("keeps an explicit Playwright platform", () => { + const env = toolchainEnv({ PLAYWRIGHT_HOST_PLATFORM_OVERRIDE: "debian12-x64" }, linux); + + expect(env.PLAYWRIGHT_HOST_PLATFORM_OVERRIDE).toBe("debian12-x64"); + }); + + test("drops the markers pnpm exports when it switches version, so the checkout can use its own", () => { + const env = toolchainEnv({ COREPACK_ROOT: "pnpm-with", pnpm_config_pm_on_fail: "ignore" }, linux); + + expect(env.COREPACK_ROOT).toBeUndefined(); + expect(env.pnpm_config_pm_on_fail).toBeUndefined(); + }); + + test("keeps a real corepack root", () => { + expect(toolchainEnv({ COREPACK_ROOT: "/corepack" }, linux).COREPACK_ROOT).toBe("/corepack"); + }); + + test("leaves Playwright alone elsewhere", () => { + const mac = { execPath: "/node/bin/node", platform: "darwin", arch: "arm64" } as const; + + expect(toolchainEnv({}, mac).PLAYWRIGHT_HOST_PLATFORM_OVERRIDE).toBeUndefined(); + }); +}); diff --git a/packages/tests-next-suite/src/env.ts b/packages/tests-next-suite/src/env.ts new file mode 100644 index 00000000..4764700f --- /dev/null +++ b/packages/tests-next-suite/src/env.ts @@ -0,0 +1,73 @@ +import path from "node:path"; + +/** Environment variables the CLI uses to configure the harness hooks. */ +export const ENV = { + TARGET: "OPEN_NEXT_SUITE_TARGET", + TARBALLS_DIR: "OPEN_NEXT_SUITE_TARBALLS_DIR", + BASE_ENV_FILE: "OPEN_NEXT_SUITE_BASE_ENV_FILE", +} as const; + +const PLAYWRIGHT_LINUX_PLATFORM = "ubuntu24.04-x64"; + +const HARNESS_ENV_PREFIXES = ["OPEN_NEXT_SUITE_", "NEXT_TEST_", "JEST_", "NODE_", "npm_", "PNPM_"]; + +/** + * Returns the environment for commands run by the hooks. + * + * `NODE_ENV` is removed as an inherited `development` silently breaks `next build` prerendering. + * + * @param env The environment the hook was started with. + * @returns A copy of the environment without `NODE_ENV`. + */ +export function hookEnv(env: NodeJS.ProcessEnv): NodeJS.ProcessEnv { + const { NODE_ENV: _nodeEnv, ...rest } = env; + return rest; +} + +/** + * Returns the environment for commands run inside the Next.js checkout. + * + * The checkout pins Node.js 20 and the Playwright version does not know recent Linux distributions. + * Without this, version managers switch Node.js under the run and Playwright refuses to start. + * + * @param env The base environment. + * @param runtime The running process. + * @returns A copy of the environment which uses the running Node.js. + */ +export function toolchainEnv( + env: NodeJS.ProcessEnv, + { execPath, platform, arch }: Pick = process +): NodeJS.ProcessEnv { + const toolchain = hookEnv(env); + toolchain.PATH = [path.dirname(execPath), env.PATH].filter(Boolean).join(":"); + // Set when the pnpm of this repository switched version, they would keep the checkout from using its own. + delete toolchain.pnpm_config_pm_on_fail; + if (toolchain.COREPACK_ROOT === "pnpm-with") { + delete toolchain.COREPACK_ROOT; + } + if (platform === "linux" && arch === "x64") { + toolchain.PLAYWRIGHT_HOST_PLATFORM_OVERRIDE ??= PLAYWRIGHT_LINUX_PLATFORM; + } + return toolchain; +} + +/** + * Recovers the variables a test asked for. + * + * The harness merges them into `process.env`, so they are found by comparing against the environment + * the CLI recorded before starting the run. + * + * @param env The environment the hook was started with. + * @param baseKeys The variable names set before the run started. + * @returns The variables added by the test. + */ +export function testOnlyEnv(env: NodeJS.ProcessEnv, baseKeys: string[]): Record { + const known = new Set(baseKeys); + const entries = Object.entries(env).filter( + (entry): entry is [string, string] => + entry[1] !== undefined && + !known.has(entry[0]) && + !HARNESS_ENV_PREFIXES.some((prefix) => entry[0].startsWith(prefix)) + ); + return Object.fromEntries(entries); +} diff --git a/packages/tests-next-suite/src/hook-entry.ts b/packages/tests-next-suite/src/hook-entry.ts new file mode 100644 index 00000000..188ff83c --- /dev/null +++ b/packages/tests-next-suite/src/hook-entry.ts @@ -0,0 +1,34 @@ +import { ENV } from "./env.js"; +import { cleanup, deploy, logs } from "./hooks.js"; +import { getTarget } from "./targets.js"; + +const appDir = process.cwd(); + +async function main(hook: string | undefined): Promise { + switch (hook) { + case "deploy": + await deploy({ + appDir, + env: process.env, + target: getTarget(process.env[ENV.TARGET]), + stdout: (line) => console.log(line), + stderr: (line) => console.error(line), + }); + break; + case "logs": + console.log(logs(appDir)); + break; + case "cleanup": + await cleanup(appDir); + break; + default: + throw new Error(`Unknown hook "${hook}"`); + } +} + +try { + await main(process.argv[2]); +} catch (error) { + console.error(error instanceof Error ? error.message : error); + process.exitCode = 1; +} diff --git a/packages/tests-next-suite/src/hooks.spec.ts b/packages/tests-next-suite/src/hooks.spec.ts new file mode 100644 index 00000000..35084c72 --- /dev/null +++ b/packages/tests-next-suite/src/hooks.spec.ts @@ -0,0 +1,235 @@ +import fs from "node:fs"; +import os from "node:os"; +import path from "node:path"; + +import { afterEach, beforeEach, describe, expect, test } from "vitest"; + +import { ENV } from "./env.js"; +import { BUILD_LOG, PID_FILE, SERVER_LOG, cleanup, deploy, logs } from "./hooks.js"; +import type { Target } from "./targets.js"; + +const NOOP = ["node", "-e", ""]; +/** Prints what the harness' `post-build` script prints. */ +const BUILD_OK = `console.log("BUILD_ID: abc\\nDEPLOYMENT_ID: " + process.env.NEXT_DEPLOYMENT_ID + "\\nIMMUTABLE_ASSET_TOKEN: undefined")`; +/** Ends on its own, so that a regression fails the test and does not leave a process behind. */ +const SLOW_BUILD = ["node", "-e", "setTimeout(() => {}, 4000)"]; +const SERVE = `require("node:http").createServer((_, res) => res.end("ok")).listen(process.env.PORT)`; + +let appDir: string; +let tarballsDir: string; +let baseEnvFile: string; +let out: string[]; +let err: string[]; + +function makeTarget(overrides: Partial = {}): Target { + return { + name: "core", + packages: [], + extraDependencies: {}, + templateFiles: [], + buildCommand: ["node", "-e", BUILD_OK], + startCommand: () => ["node", "-e", SERVE], + ...overrides, + }; +} + +function runDeploy(target: Target, env: NodeJS.ProcessEnv = {}, readyTimeoutMs = 5000): Promise { + return deploy({ + appDir, + target, + env: { + ...process.env, + NODE_ENV: undefined, + [ENV.TARBALLS_DIR]: tarballsDir, + [ENV.BASE_ENV_FILE]: baseEnvFile, + ...env, + }, + stdout: (line) => out.push(line), + stderr: (line) => err.push(line), + installCommand: NOOP, + readyTimeoutMs, + }); +} + +function record(name: string, value: string): string { + return `require("node:fs").writeFileSync(${JSON.stringify(path.join(appDir, name))}, String(${value}))`; +} + +function read(name: string): string { + return fs.readFileSync(path.join(appDir, name), "utf8"); +} + +beforeEach(() => { + appDir = fs.mkdtempSync(path.join(os.tmpdir(), "next-suite-hooks-")); + tarballsDir = fs.mkdtempSync(path.join(os.tmpdir(), "next-suite-hooks-tarballs-")); + baseEnvFile = path.join(tarballsDir, "base-env.json"); + fs.writeFileSync(baseEnvFile, JSON.stringify(Object.keys(process.env))); + fs.writeFileSync(path.join(appDir, "package.json"), "{}"); + out = []; + err = []; +}); + +afterEach(async () => { + await cleanup(appDir); +}); + +describe("deploy", () => { + test("prints only the URL on stdout", async () => { + const target = makeTarget({ + buildCommand: ["node", "-e", `console.log("noise"); ${BUILD_OK}`], + }); + + await runDeploy(target); + + expect(out).toHaveLength(1); + expect(out[0]).toMatch(/^http:\/\/localhost:\d+$/); + }); + + test("serves on the printed URL", async () => { + await runDeploy(makeTarget()); + + expect(await (await fetch(out[0]!)).text()).toBe("ok"); + }); + + test("strips NODE_ENV from build and start", async () => { + const target = makeTarget({ + buildCommand: ["node", "-e", `${record("build-env", "process.env.NODE_ENV")}; ${BUILD_OK}`], + startCommand: () => ["node", "-e", `${record("start-env", "process.env.NODE_ENV")}; ${SERVE}`], + }); + + await runDeploy(target, { NODE_ENV: "development" }); + + expect(read("build-env")).toBe("undefined"); + expect(read("start-env")).toBe("production"); + }); + + test("sets a per-app NEXT_DEPLOYMENT_ID for the build", async () => { + await runDeploy(makeTarget()); + + expect(read(BUILD_LOG)).toContain(`DEPLOYMENT_ID: opennext-${path.basename(appDir)}`); + }); + + test("retries on new ports when the server exits during startup", async () => { + const marker = path.join(appDir, "started-once"); + const seenPorts = path.join(appDir, "ports"); + const script = ` + const fs = require("node:fs"); + fs.appendFileSync(${JSON.stringify(seenPorts)}, process.env.PORT + "\\n"); + if (!fs.existsSync(${JSON.stringify(marker)})) { + fs.writeFileSync(${JSON.stringify(marker)}, ""); + process.exit(1); + } + ${SERVE} + `; + + await runDeploy(makeTarget({ startCommand: () => ["node", "-e", script] })); + + const ports = read("ports").trim().split("\n"); + expect(ports).toHaveLength(2); + expect(ports[0]).not.toBe(ports[1]); + expect(out[0]).toBe(`http://localhost:${ports[1]}`); + }); + + test("fails after 3 startup attempts with the server log tail", async () => { + const target = makeTarget({ + startCommand: () => ["node", "-e", `console.error("cannot start"); process.exit(1)`], + }); + + await expect(runDeploy(target)).rejects.toThrow(/after 3 attempts[\s\S]*cannot start/); + + expect(out).toEqual([]); + }); + + test("reports a failed build with the build log tail and starts no server", async () => { + const target = makeTarget({ + buildCommand: ["node", "-e", `console.error("build exploded"); process.exit(1)`], + startCommand: () => ["node", "-e", `${record("started", "1")}; ${SERVE}`], + }); + + await expect(runDeploy(target)).rejects.toThrow(/build exploded/); + + expect(fs.existsSync(path.join(appDir, "started"))).toBe(false); + }); + + test("fails when the build output has no BUILD_ID marker", async () => { + await expect(runDeploy(makeTarget({ buildCommand: NOOP }))).rejects.toThrow(/BUILD_ID/); + }); + + test("stops the server when it never becomes ready", async () => { + const target = makeTarget({ startCommand: () => ["node", "-e", "setInterval(() => {}, 1000)"] }); + + await expect(runDeploy(target, {}, 300)).rejects.toThrow(/did not become ready/); + + expect(fs.existsSync(path.join(appDir, PID_FILE))).toBe(false); + }); + + test("gives up on a build which outlives the harness' setup timeout", async () => { + const target = makeTarget({ buildCommand: SLOW_BUILD }); + + await expect(runDeploy(target, { NEXT_E2E_TEST_TIMEOUT: "300" })).rejects.toThrow(/timed out/); + }); + + test("does not go on after cleanup stopped the build", async () => { + const target = makeTarget({ + buildCommand: SLOW_BUILD, + startCommand: () => ["node", "-e", `${record("started", "1")}; ${SERVE}`], + }); + const deployment = runDeploy(target); + await expect.poll(() => fs.existsSync(path.join(appDir, PID_FILE)), { timeout: 2000 }).toBe(true); + + const failure = expect(deployment).rejects.toThrow(/failed/); + + await cleanup(appDir); + + await failure; + expect(fs.existsSync(path.join(appDir, "started"))).toBe(false); + }); + + test("does not start another server after cleanup", async () => { + const target = makeTarget({ + startCommand: () => ["node", "-e", `${record("started", "1")}; ${SERVE}`], + }); + await cleanup(appDir); + + await expect(runDeploy(target)).rejects.toThrow(/stopped/); + + expect(fs.existsSync(path.join(appDir, "started"))).toBe(false); + }); + + test("passes test-only env to prepareRuntimeEnv", async () => { + const seen: Record[] = []; + const target = makeTarget({ prepareRuntimeEnv: (_dir, env) => seen.push(env) }); + + await runDeploy(target, { FROM_THE_TEST: "bar" }); + + expect(seen).toEqual([{ FROM_THE_TEST: "bar" }]); + }); +}); + +describe("logs", () => { + test("emits both immutable-asset markers ahead of the replayed logs", () => { + fs.writeFileSync( + path.join(appDir, BUILD_LOG), + "BUILD_ID: abc\nDEPLOYMENT_ID: d\nIMMUTABLE_ASSET_TOKEN: undefined\n" + ); + fs.writeFileSync(path.join(appDir, SERVER_LOG), "listening\n"); + + const output = logs(appDir); + + expect(output).toMatch(/BUILD_ID: abc/); + expect(output).toMatch(/DEPLOYMENT_ID: d/); + expect(output).toMatch(/IMMUTABLE_ASSET_TOKEN: .+/); + expect(output).toMatch(/NEXT_SUPPORTS_IMMUTABLE_ASSETS: 0/); + expect(output).toContain("listening"); + }); + + test("adds IMMUTABLE_ASSET_TOKEN when the build output lacks it", () => { + fs.writeFileSync(path.join(appDir, BUILD_LOG), "BUILD_ID: abc\nDEPLOYMENT_ID: d\n"); + + expect(logs(appDir)).toMatch(/IMMUTABLE_ASSET_TOKEN: undefined/); + }); + + test("does not throw before a build log exists", () => { + expect(() => logs(appDir)).not.toThrow(); + }); +}); diff --git a/packages/tests-next-suite/src/hooks.ts b/packages/tests-next-suite/src/hooks.ts new file mode 100644 index 00000000..8184e9b5 --- /dev/null +++ b/packages/tests-next-suite/src/hooks.ts @@ -0,0 +1,182 @@ +import fs from "node:fs"; +import path from "node:path"; + +import { ENV, hookEnv, testOnlyEnv } from "./env.js"; +import { prepareApp } from "./prepare-app.js"; +import { getFreePorts, runDetached, startDetached, stopProcessGroup, waitForHttp } from "./process.js"; +import { REPO_ROOT, type Target } from "./targets.js"; + +export const BUILD_LOG = ".adapter-build.log"; +export const SERVER_LOG = ".adapter-server.log"; +export const PID_FILE = ".adapter-server.pid"; +/** Written by the cleanup hook, the harness may give up on a deployment which is still in progress. */ +const STOPPED_FILE = ".adapter-stopped"; + +const DEFAULT_READY_TIMEOUT_MS = 120_000; +const DEFAULT_SETUP_TIMEOUT_MS = 240_000; +const START_ATTEMPTS = 3; +const LOG_TAIL_LINES = 40; +const INSTALL_COMMAND = ["pnpm", "install", "--no-frozen-lockfile", "--prefer-offline"]; + +export type HookDeps = { + appDir: string; + env: NodeJS.ProcessEnv; + target: Target; + stdout: (line: string) => void; + stderr: (line: string) => void; + readyTimeoutMs?: number; + installCommand?: string[]; +}; + +function readIfExists(file: string): string { + return fs.existsSync(file) ? fs.readFileSync(file, "utf8") : ""; +} + +function logTail(file: string): string { + return readIfExists(file).trimEnd().split("\n").slice(-LOG_TAIL_LINES).join("\n"); +} + +function requireEnv(env: NodeJS.ProcessEnv, name: string): string { + const value = env[name]; + if (!value) { + throw new Error(`${name} is not set, the hooks must be started through the next-suite CLI`); + } + return value; +} + +/** + * Runs a command to completion with its output in the build log, as stdout belongs to the deployment URL. + * + * It is stoppable through the pid file, and has until the deadline: past it the harness has moved on. + */ +async function runLogged( + command: string[], + cwd: string, + env: NodeJS.ProcessEnv, + deadline: number +): Promise { + const logFile = path.join(cwd, BUILD_LOG); + const result = await runDetached({ + command, + cwd, + env, + logFile, + pidFile: path.join(cwd, PID_FILE), + timeoutMs: Math.max(deadline - Date.now(), 0), + }); + if (result === "timeout") { + throw new Error(`\`${command.join(" ")}\` timed out:\n${logTail(logFile)}`); + } + if (result !== 0) { + throw new Error(`\`${command.join(" ")}\` failed (exit code ${result}):\n${logTail(logFile)}`); + } +} + +/** Starts the server on free ports, a port taken in the meantime by a concurrent test only costs a retry. */ +async function startServer( + target: Target, + appDir: string, + env: NodeJS.ProcessEnv, + readyTimeoutMs: number +): Promise { + const logFile = path.join(appDir, SERVER_LOG); + const pidFile = path.join(appDir, PID_FILE); + + for (let attempt = 1; attempt <= START_ATTEMPTS; attempt++) { + if (fs.existsSync(path.join(appDir, STOPPED_FILE))) { + throw new Error("The deployment was stopped by the cleanup hook"); + } + const [port, inspectorPort] = (await getFreePorts(2)) as [number, number]; + const url = `http://localhost:${port}`; + const pid = startDetached({ + command: target.startCommand({ port, inspectorPort }), + cwd: appDir, + env: { ...env, PORT: String(port) }, + logFile, + pidFile, + }); + + const result = await waitForHttp({ url, pid, timeoutMs: readyTimeoutMs }); + if (result === "ready") { + return url; + } + await stopProcessGroup(pidFile); + if (result === "timeout") { + throw new Error(`The server did not become ready in ${readyTimeoutMs}ms:\n${logTail(logFile)}`); + } + } + + throw new Error(`The server exited during startup after ${START_ATTEMPTS} attempts:\n${logTail(logFile)}`); +} + +/** + * Builds and starts the app the harness created in `appDir`. + * + * @param deps The app, its target and where the output goes. + * @throws When any step fails, nothing is left running then. + */ +export async function deploy({ + appDir, + env, + target, + stdout, + stderr, + readyTimeoutMs = DEFAULT_READY_TIMEOUT_MS, + installCommand = INSTALL_COMMAND, +}: HookDeps): Promise { + const deadline = Date.now() + (Number(env.NEXT_E2E_TEST_TIMEOUT) || DEFAULT_SETUP_TIMEOUT_MS); + const deploymentEnv = { ...hookEnv(env), NEXT_DEPLOYMENT_ID: `opennext-${path.basename(appDir)}` }; + const { packageManager } = JSON.parse(fs.readFileSync(path.join(REPO_ROOT, "package.json"), "utf8")); + const baseKeys: string[] = JSON.parse(fs.readFileSync(requireEnv(env, ENV.BASE_ENV_FILE), "utf8")); + + stderr(`Preparing the app for ${target.name}`); + prepareApp({ appDir, target, tarballsDir: requireEnv(env, ENV.TARBALLS_DIR), packageManager }); + await runLogged(installCommand, appDir, deploymentEnv, deadline); + + stderr("Building the app"); + await runLogged(target.buildCommand, appDir, deploymentEnv, deadline); + if (!/BUILD_ID: .+/.test(readIfExists(path.join(appDir, BUILD_LOG)))) { + throw new Error(`The build output has no BUILD_ID marker, did the harness' post-build run?`); + } + + target.prepareRuntimeEnv?.(appDir, testOnlyEnv(env, baseKeys)); + + stderr("Starting the server"); + stdout( + await startServer( + target, + appDir, + { ...deploymentEnv, NODE_ENV: "production", WRANGLER_SEND_METRICS: "false" }, + readyTimeoutMs + ) + ); +} + +/** + * Prints what the harness parses from a deployment, then the logs to debug it. + * + * `BUILD_ID`, `DEPLOYMENT_ID` and `IMMUTABLE_ASSET_TOKEN` are printed by the harness' `post-build` script + * and end up in the build log. Depending on the Next.js version, the harness expects + * `IMMUTABLE_ASSET_TOKEN` or `NEXT_SUPPORTS_IMMUTABLE_ASSETS`, so both are always there. + * + * @param appDir The app directory. + * @returns The text for the harness. + */ +export function logs(appDir: string): string { + const buildLog = readIfExists(path.join(appDir, BUILD_LOG)); + const immutableToken = /IMMUTABLE_ASSET_TOKEN: .+/.test(buildLog) + ? "" + : "IMMUTABLE_ASSET_TOKEN: undefined\n"; + const serverLog = readIfExists(path.join(appDir, SERVER_LOG)); + return `NEXT_SUPPORTS_IMMUTABLE_ASSETS: 0\n${immutableToken}${buildLog}\n=== ${SERVER_LOG} ===\n${serverLog}`; +} + +/** + * Stops the server of a deployment. + * + * @param appDir The app directory. + */ +export async function cleanup(appDir: string): Promise { + fs.writeFileSync(path.join(appDir, STOPPED_FILE), ""); + await stopProcessGroup(path.join(appDir, PID_FILE)); +} diff --git a/packages/tests-next-suite/src/junit.spec.ts b/packages/tests-next-suite/src/junit.spec.ts new file mode 100644 index 00000000..3a85bcce --- /dev/null +++ b/packages/tests-next-suite/src/junit.spec.ts @@ -0,0 +1,182 @@ +import fs from "node:fs"; +import os from "node:os"; +import path from "node:path"; + +import { describe, expect, test } from "vitest"; + +import { disabledFromJUnit, mergeDisabled, summarize } from "./junit.js"; + +const FILE = "test/e2e/a.test.ts"; + +type Case = { name: string; classname?: string; file?: string; body?: string }; + +function writeReport(cases: Case[], report = FILE): string { + const dir = fs.mkdtempSync(path.join(os.tmpdir(), "next-suite-junit-")); + const file = path.join(dir, "report.xml"); + const testcases = cases.map( + ({ name, classname = name, file = FILE, body = "" }) => + `${body}` + ); + fs.writeFileSync( + file, + `${testcases.join("")}` + ); + return file; +} + +const FAILURE = "boom"; + +describe("disabledFromJUnit", () => { + test("lists failed case names per file", () => { + const report = writeReport([{ name: "suite case", body: FAILURE }]); + + expect(disabledFromJUnit([report], "/x/next.js", "r")).toEqual({ + [FILE]: { reason: "r", cases: ["suite case"] }, + }); + }); + + test("makes absolute paths relative to the Next checkout", () => { + const report = writeReport([{ name: "suite case", file: `/x/next.js/${FILE}`, body: FAILURE }]); + + expect(Object.keys(disabledFromJUnit([report], "/x/next.js", "r"))).toEqual([FILE]); + }); + + test("omits passing and skipped cases", () => { + const report = writeReport([{ name: "passing" }, { name: "skipped", body: "" }]); + + expect(disabledFromJUnit([report], "/x/next.js", "r")).toEqual({}); + }); + + test("keeps a failure when a later run skipped the case", () => { + const failingRun = writeReport([{ name: "broken", body: FAILURE }]); + const skippingRun = writeReport([{ name: "broken", body: "" }]); + + expect(disabledFromJUnit([failingRun, skippingRun], "/x/next.js", "r")[FILE]?.cases).toEqual(["broken"]); + }); + + test("omits a case which passed on a retry", () => { + const firstAttempt = writeReport([{ name: "flaky", body: FAILURE }]); + const secondAttempt = writeReport([{ name: "flaky" }]); + + expect(disabledFromJUnit([firstAttempt, secondAttempt], "/x/next.js", "r")).toEqual({}); + }); + + test("disables a whole file when it reports a suite-level error", () => { + const report = writeReport([ + { name: FILE, classname: "Test suite failed to run", body: "boom" }, + ]); + + expect(disabledFromJUnit([report], "/x/next.js", "r")).toEqual({ [FILE]: { reason: "r" } }); + }); + + test("finds the file of a suite-level error without a file attribute", () => { + const dir = fs.mkdtempSync(path.join(os.tmpdir(), "next-suite-junit-")); + const report = path.join(dir, "report.xml"); + fs.writeFileSync( + report, + `boom` + ); + + expect(disabledFromJUnit([report], "/x/next.js", "r")).toEqual({ [FILE]: { reason: "r" } }); + }); + + test("reads reports with failure messages holding many escaped characters", () => { + const report = writeReport([{ name: "suite case", body: `${"<".repeat(2000)}` }]); + + expect(disabledFromJUnit([report], "/x/next.js", "r")[FILE]?.cases).toEqual(["suite case"]); + }); + + test("decodes case names so that they match the names of jest", () => { + const report = writeReport([{ name: "renders "a" & b", body: FAILURE }]); + + expect(disabledFromJUnit([report], "/x/next.js", "r")[FILE]?.cases).toEqual(['renders "a" & b']); + }); + + test("drops the space jest-junit adds before tests outside of a describe", () => { + const report = writeReport([{ name: " top level, locale: ", body: FAILURE }]); + + expect(disabledFromJUnit([report], "/x/next.js", "r")[FILE]?.cases).toEqual(["top level, locale: "]); + }); + + test("keeps the trailing space of a case name, as names have to match exactly", () => { + const report = writeReport([{ name: "redirected, locale: ", body: FAILURE }]); + + expect(disabledFromJUnit([report], "/x/next.js", "r")[FILE]?.cases).toEqual(["redirected, locale: "]); + }); + + test("disables a whole file when a hook failed", () => { + const report = writeReport([ + { name: "passing" }, + { + name: "Test execution failure: could be caused by test hooks like 'afterAll'.", + classname: "Test execution failure: could be caused by test hooks like 'afterAll'.", + body: "boom", + }, + ]); + + expect(disabledFromJUnit([report], "/x/next.js", "r")).toEqual({ [FILE]: { reason: "r" } }); + }); + + test("sorts and de-duplicates cases", () => { + const report = writeReport([ + { name: "b", body: FAILURE }, + { name: "a", body: FAILURE }, + { name: "b", body: FAILURE }, + ]); + + expect(disabledFromJUnit([report], "/x/next.js", "r")[FILE]?.cases).toEqual(["a", "b"]); + }); +}); + +describe("mergeDisabled", () => { + test("keeps hand-written reasons and entries", () => { + const existing = { + "test/e2e/b.test.ts": { reason: "hand written" }, + [FILE]: { reason: "known issue", cases: ["a"] }, + }; + + expect(mergeDisabled(existing, { [FILE]: { reason: "seeded", cases: ["a"] } })).toEqual(existing); + }); + + test("keeps a whole-file entry whole", () => { + const merged = mergeDisabled({ [FILE]: { reason: "x" } }, { [FILE]: { reason: "y", cases: ["a"] } }); + + expect(merged).toEqual({ [FILE]: { reason: "x" } }); + }); + + test("widens case entries to the whole file when a run could not load it", () => { + const merged = mergeDisabled({ [FILE]: { reason: "x", cases: ["a"] } }, { [FILE]: { reason: "y" } }); + + expect(merged).toEqual({ [FILE]: { reason: "x" } }); + }); + + test("unions the cases of an existing entry", () => { + const merged = mergeDisabled( + { [FILE]: { reason: "x", cases: ["b"] } }, + { [FILE]: { reason: "y", cases: ["a"] } } + ); + + expect(merged).toEqual({ [FILE]: { reason: "x", cases: ["a", "b"] } }); + }); + + test("sorts by path so regenerated lists diff cleanly", () => { + const merged = mergeDisabled( + { "test/z.test.ts": { reason: "x" } }, + { "test/a.test.ts": { reason: "y" } } + ); + + expect(Object.keys(merged)).toEqual(["test/a.test.ts", "test/z.test.ts"]); + }); +}); + +describe("summarize", () => { + test("counts the files and cases of a list", () => { + const summary = summarize({ + "test/a.test.ts": { reason: "x" }, + "test/b.test.ts": { reason: "x", cases: ["one", "two"] }, + }); + + expect(summary).toContain("1 whole file"); + expect(summary).toContain("2 cases in 1 file"); + }); +}); diff --git a/packages/tests-next-suite/src/junit.ts b/packages/tests-next-suite/src/junit.ts new file mode 100644 index 00000000..1a2ee684 --- /dev/null +++ b/packages/tests-next-suite/src/junit.ts @@ -0,0 +1,135 @@ +import fs from "node:fs"; +import path from "node:path"; + +import { XMLParser } from "fast-xml-parser"; + +import type { DisabledEntry, DisabledList } from "./disabled.js"; + +const SUITE_ERROR_CASE = "Test suite failed to run"; +const HOOK_ERROR_CASE = "Test execution failure"; +const REPORT_NAME_PREFIX = "deploy:e2e:"; + +type TestCase = { + name: string; + classname?: string; + file?: string; + failure?: unknown; + error?: unknown; + skipped?: unknown; +}; +type TestSuite = { testcase?: TestCase[] }; +type Report = { testsuites?: { name?: string; testsuite?: TestSuite[] } }; + +const parser = new XMLParser({ + ignoreAttributes: false, + attributeNamePrefix: "", + // Case names have to match exactly, some end with a space. + trimValues: false, + // The limit protects against hostile documents, these reports have long failure messages. + processEntities: { enabled: true, maxTotalExpansions: Number.MAX_SAFE_INTEGER }, + isArray: (name) => name === "testsuite" || name === "testcase", +}); + +function compare(a: string, b: string): number { + return a < b ? -1 : a > b ? 1 : 0; +} + +function sortedUnique(values: string[]): string[] { + return [...new Set(values)].sort(compare); +} + +function readCases(xmlFile: string, nextDir: string): { file: string; testCase: TestCase }[] { + const { testsuites }: Report = parser.parse(fs.readFileSync(xmlFile, "utf8")); + const reportFile = testsuites?.name?.replace(REPORT_NAME_PREFIX, ""); + return (testsuites?.testsuite ?? []).flatMap((suite) => + (suite.testcase ?? []).flatMap((testCase) => { + const file = testCase.file ?? reportFile; + if (!file) { + return []; + } + return [{ file: path.isAbsolute(file) ? path.relative(nextDir, file) : file, testCase }]; + }) + ); +} + +/** + * Lists what failed in JUnit reports as disable entries. + * + * `run-tests.js` writes a report per attempt, a case passing on any attempt is not a failure. + * + * @param xmlFiles The JUnit reports. + * @param nextDir The Next.js checkout, absolute paths are made relative to it. + * @param reason The reason set on the entries. + * @returns The entries. + */ +export function disabledFromJUnit(xmlFiles: string[], nextDir: string, reason: string): DisabledList { + const failed = new Map(); + const passed = new Set(); + const brokenFiles = new Set(); + + for (const { file, testCase } of xmlFiles.flatMap((xmlFile) => readCases(xmlFile, nextDir))) { + // jest-junit joins the describe blocks and the title with a space, even without describe blocks. + const name = testCase.name.replace(/^ /, ""); + if (testCase.classname === SUITE_ERROR_CASE || testCase.name.includes(HOOK_ERROR_CASE)) { + brokenFiles.add(file); + } else if (testCase.failure !== undefined || testCase.error !== undefined) { + failed.set(file, [...(failed.get(file) ?? []), name]); + } else if (testCase.skipped === undefined) { + passed.add(`${file}\0${name}`); + } + } + + const list: DisabledList = {}; + for (const [file, names] of failed) { + const cases = sortedUnique(names.filter((name) => !passed.has(`${file}\0${name}`))); + if (cases.length > 0) { + list[file] = { reason, cases }; + } + } + for (const file of brokenFiles) { + list[file] = { reason }; + } + return list; +} + +function mergeEntries(existing: DisabledEntry, found: DisabledEntry): DisabledEntry { + if (!existing.cases || !found.cases) { + return { reason: existing.reason }; + } + return { reason: existing.reason, cases: sortedUnique([...existing.cases, ...found.cases]) }; +} + +/** + * Adds new entries to a list, what is in the list is kept and wins over what was found. + * + * @param existing The current list. + * @param found The entries to add. + * @returns The merged list, sorted by path. + */ +export function mergeDisabled(existing: DisabledList, found: DisabledList): DisabledList { + const merged: DisabledList = { ...found, ...existing }; + for (const [file, entry] of Object.entries(found)) { + const current = existing[file]; + if (current) { + merged[file] = mergeEntries(current, entry); + } + } + return Object.fromEntries(Object.entries(merged).sort(([a], [b]) => compare(a, b))); +} + +/** + * Describes a list in Markdown. + * + * @param list The list. + * @returns The summary. + */ +export function summarize(list: DisabledList): string { + const entries = Object.values(list); + const partial = entries.filter((entry) => entry.cases); + const caseCount = partial.reduce((total, entry) => total + entry.cases!.length, 0); + const wholeFiles = entries.length - partial.length; + return [ + `- ${wholeFiles} whole file${wholeFiles === 1 ? "" : "s"}`, + `- ${caseCount} case${caseCount === 1 ? "" : "s"} in ${partial.length} file${partial.length === 1 ? "" : "s"}`, + ].join("\n"); +} diff --git a/packages/tests-next-suite/src/next-checkout.ts b/packages/tests-next-suite/src/next-checkout.ts new file mode 100644 index 00000000..38cc0666 --- /dev/null +++ b/packages/tests-next-suite/src/next-checkout.ts @@ -0,0 +1,64 @@ +import { execFileSync } from "node:child_process"; +import fs from "node:fs"; +import path from "node:path"; + +import { toolchainEnv } from "./env.js"; +import { tarballName } from "./prepare-app.js"; +import { REPO_ROOT, TARGETS } from "./targets.js"; + +export const DEFAULT_NEXT_REF = "v16.2.1"; + +const NEXT_REPOSITORY = "https://github.com/vercel/next.js.git"; +const REF_MARKER = ".next-suite-ref"; + +function run(cwd: string, command: string, ...args: string[]): void { + execFileSync(command, args, { cwd, stdio: "inherit", env: toolchainEnv(process.env) }); +} + +/** + * Makes sure `dir` holds a built Next.js checkout of `ref`. + * + * @param ref A tag, branch or commit of the Next.js repository. + * @param dir The checkout directory, it is replaced when it holds another ref. + */ +export function ensureNextCheckout(ref: string, dir: string): void { + const marker = path.join(dir, REF_MARKER); + if (fs.existsSync(marker) && fs.readFileSync(marker, "utf8") === ref) { + return; + } + + fs.rmSync(dir, { recursive: true, force: true }); + fs.mkdirSync(dir, { recursive: true }); + run(dir, "git", "init", "--quiet"); + run(dir, "git", "fetch", "--quiet", "--depth", "1", NEXT_REPOSITORY, ref); + run(dir, "git", "checkout", "--quiet", "FETCH_HEAD"); + + run(dir, "pnpm", "install"); + run(dir, "pnpm", "build"); + run(dir, "pnpm", "install"); + run(dir, "pnpm", "playwright", "install", "chromium"); + + fs.writeFileSync(marker, ref); +} + +/** + * Builds the OpenNext packages and packs them the way they get published. + * + * @param outDir The directory receiving the tarballs, it is emptied first. + */ +export function packTarballs(outDir: string): void { + fs.rmSync(outDir, { recursive: true, force: true }); + fs.mkdirSync(outDir, { recursive: true }); + run(REPO_ROOT, "pnpm", "build:opennext"); + + const packages = new Set(Object.values(TARGETS).flatMap((target) => target.packages)); + for (const name of packages) { + const before = new Set(fs.readdirSync(outDir)); + run(REPO_ROOT, "pnpm", "--filter", name, "pack", "--pack-destination", outDir); + const packed = fs.readdirSync(outDir).find((file) => !before.has(file)); + if (!packed) { + throw new Error(`Packing ${name} produced no tarball in ${outDir}`); + } + fs.renameSync(path.join(outDir, packed), path.join(outDir, tarballName(name))); + } +} diff --git a/packages/tests-next-suite/src/prepare-app.spec.ts b/packages/tests-next-suite/src/prepare-app.spec.ts new file mode 100644 index 00000000..13d4341e --- /dev/null +++ b/packages/tests-next-suite/src/prepare-app.spec.ts @@ -0,0 +1,135 @@ +import fs from "node:fs"; +import os from "node:os"; +import path from "node:path"; + +import { beforeEach, describe, expect, test } from "vitest"; +import { parse } from "yaml"; + +import { prepareApp } from "./prepare-app.js"; +import type { Target } from "./targets.js"; + +const target: Target = { + name: "cloudflare", + packages: ["@opennextjs/cloudflare", "@opennextjs/core"], + extraDependencies: { wrangler: "^4.110.0" }, + templateFiles: ["open-next.config.ts", "wrangler.jsonc"], + buildCommand: [], + startCommand: () => [], +}; + +let appDir: string; +let tarballsDir: string; + +function readPackageJson(): Record { + return JSON.parse(fs.readFileSync(path.join(appDir, "package.json"), "utf8")); +} + +function readWorkspace(): Record { + return parse(fs.readFileSync(path.join(appDir, "pnpm-workspace.yaml"), "utf8")); +} + +beforeEach(() => { + appDir = fs.mkdtempSync(path.join(os.tmpdir(), "next-suite-app-")); + tarballsDir = fs.mkdtempSync(path.join(os.tmpdir(), "next-suite-tarballs-")); + fs.writeFileSync( + path.join(appDir, "package.json"), + JSON.stringify({ + dependencies: { next: "16.2.1" }, + scripts: { build: "next build && pnpm post-build" }, + }) + ); + for (const name of ["opennextjs-cloudflare.tgz", "opennextjs-core.tgz"]) { + fs.writeFileSync(path.join(tarballsDir, name), ""); + } +}); + +function prepare(): void { + prepareApp({ appDir, target, tarballsDir, packageManager: "pnpm@11.25.0" }); +} + +describe("prepareApp", () => { + test("adds tarball dependencies and pins transitive OpenNext packages through overrides", () => { + prepare(); + + const pkg = readPackageJson(); + expect(pkg.dependencies["@opennextjs/cloudflare"]).toBe( + `file:${path.join(tarballsDir, "opennextjs-cloudflare.tgz")}` + ); + expect(pkg.dependencies.wrangler).toBe("^4.110.0"); + expect(readWorkspace().overrides["@opennextjs/core"]).toBe( + `file:${path.join(tarballsDir, "opennextjs-core.tgz")}` + ); + }); + + test("keeps the harness scripts and next version", () => { + prepare(); + + const pkg = readPackageJson(); + expect(pkg.scripts.build).toBe("next build && pnpm post-build"); + expect(pkg.dependencies.next).toBe("16.2.1"); + }); + + test("sets packageManager and install policy", () => { + prepare(); + + expect(readPackageJson().packageManager).toBe("pnpm@11.25.0"); + const workspace = readWorkspace(); + expect(workspace.strictDepBuilds).toBe(false); + expect(workspace.minimumReleaseAge).toBeUndefined(); + expect(workspace.allowBuilds).toMatchObject({ esbuild: true, sharp: true, workerd: true }); + }); + + test("pins what the harness requests as latest to versions this Next.js supports", () => { + prepare(); + + const { overrides } = readWorkspace(); + expect(overrides.typescript).toBe("5.9.3"); + expect(overrides["@types/node"]).toBe("24.0.0"); + }); + + test("adds a next.config when the test app has none, as the OpenNext build requires one", () => { + prepare(); + + expect(fs.readFileSync(path.join(appDir, "next.config.mjs"), "utf8")).toBe("export default {};\n"); + }); + + test.each(["next.config.js", "next.config.ts", "next.config.mjs", "next.config.cjs"])( + "keeps an existing %s", + (file) => { + fs.writeFileSync(path.join(appDir, file), "// from the test"); + + prepare(); + + expect(fs.readdirSync(appDir).filter((name) => name.startsWith("next.config"))).toEqual([file]); + expect(fs.readFileSync(path.join(appDir, file), "utf8")).toBe("// from the test"); + } + ); + + test("merges into a pnpm-workspace.yaml shipped by the test app", () => { + fs.writeFileSync( + path.join(appDir, "pnpm-workspace.yaml"), + "packages:\n - app\noverrides:\n foo: 1.0.0\n" + ); + + prepare(); + + const workspace = readWorkspace(); + expect(workspace.packages).toEqual(["app"]); + expect(workspace.overrides.foo).toBe("1.0.0"); + expect(workspace.overrides["@opennextjs/core"]).toBeDefined(); + }); + + test("overwrites template files shipped by the test app", () => { + fs.writeFileSync(path.join(appDir, "wrangler.jsonc"), "{}"); + + prepare(); + + expect(fs.readFileSync(path.join(appDir, "wrangler.jsonc"), "utf8")).toContain('"name": "next-suite"'); + }); + + test("fails naming the tarball when it is missing", () => { + fs.rmSync(path.join(tarballsDir, "opennextjs-core.tgz")); + + expect(prepare).toThrow(/@opennextjs\/core/); + }); +}); diff --git a/packages/tests-next-suite/src/prepare-app.ts b/packages/tests-next-suite/src/prepare-app.ts new file mode 100644 index 00000000..af82a92a --- /dev/null +++ b/packages/tests-next-suite/src/prepare-app.ts @@ -0,0 +1,76 @@ +import fs from "node:fs"; +import path from "node:path"; + +import { parse, stringify } from "yaml"; + +import { PACKAGE_DIR, type Target } from "./targets.js"; + +const NEXT_CONFIG_FILES = ["next.config.js", "next.config.ts", "next.config.mjs", "next.config.cjs"]; + +/** + * Versions forced in the apps, where the harness asks for `latest`. + * + * Next.js 16.2 can not load TypeScript 7 and writes a tsconfig TypeScript 6 rejects. + */ +const PINNED_DEPENDENCIES = { typescript: "5.9.3", "@types/node": "24.0.0" }; + +export type PrepareAppOptions = { + appDir: string; + target: Target; + tarballsDir: string; + packageManager: string; +}; + +/** Returns the file name of a packed package, `@opennextjs/core` is packed to `opennextjs-core.tgz`. */ +export function tarballName(packageName: string): string { + return `${packageName.replace("@", "").replace("/", "-")}.tgz`; +} + +function resolveTarballs(target: Target, tarballsDir: string): Record { + const entries = target.packages.map((name) => { + const tarball = path.join(tarballsDir, tarballName(name)); + if (!fs.existsSync(tarball)) { + throw new Error(`Missing tarball for ${name}: ${tarball}`); + } + return [name, `file:${tarball}`]; + }); + return Object.fromEntries(entries); +} + +/** + * Turns the app created by the harness into a project using the packed OpenNext packages. + * + * Packing replaces `workspace:*` with versions which are not published, so the tarballs are also set as + * overrides for the dependencies between OpenNext packages to resolve. + * + * @param options The app, its target and how to install it. + */ +export function prepareApp({ appDir, target, tarballsDir, packageManager }: PrepareAppOptions): void { + const tarballs = resolveTarballs(target, tarballsDir); + + const packageJsonPath = path.join(appDir, "package.json"); + const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, "utf8")); + packageJson.packageManager = packageManager; + packageJson.dependencies = { ...packageJson.dependencies, ...tarballs, ...target.extraDependencies }; + fs.writeFileSync(packageJsonPath, JSON.stringify(packageJson, null, 2)); + + const workspacePath = path.join(appDir, "pnpm-workspace.yaml"); + const workspace = fs.existsSync(workspacePath) ? parse(fs.readFileSync(workspacePath, "utf8")) : {}; + fs.writeFileSync( + workspacePath, + stringify({ + ...workspace, + strictDepBuilds: false, + allowBuilds: { ...workspace.allowBuilds, esbuild: true, sharp: true, workerd: true }, + overrides: { ...workspace.overrides, ...PINNED_DEPENDENCIES, ...tarballs }, + }) + ); + + if (!NEXT_CONFIG_FILES.some((file) => fs.existsSync(path.join(appDir, file)))) { + fs.writeFileSync(path.join(appDir, "next.config.mjs"), "export default {};\n"); + } + + for (const file of target.templateFiles) { + fs.copyFileSync(path.join(PACKAGE_DIR, "templates", target.name, file), path.join(appDir, file)); + } +} diff --git a/packages/tests-next-suite/src/process.spec.ts b/packages/tests-next-suite/src/process.spec.ts new file mode 100644 index 00000000..75a9e8b9 --- /dev/null +++ b/packages/tests-next-suite/src/process.spec.ts @@ -0,0 +1,213 @@ +import fs from "node:fs"; +import http from "node:http"; +import type { AddressInfo } from "node:net"; +import os from "node:os"; +import path from "node:path"; +import { setTimeout as sleep } from "node:timers/promises"; + +import { afterEach, beforeEach, describe, expect, test } from "vitest"; + +import { + getFreePorts, + parsePid, + runDetached, + startDetached, + stopProcessGroup, + waitForHttp, +} from "./process.js"; + +let dir: string; +let logFile: string; +let pidFile: string; +const spawned: number[] = []; + +function isAlive(pid: number): boolean { + try { + process.kill(pid, 0); + return true; + } catch { + return false; + } +} + +async function waitForFile(file: string): Promise { + while (!fs.existsSync(file) || fs.readFileSync(file, "utf8") === "") { + await sleep(20); + } + return fs.readFileSync(file, "utf8"); +} + +function start(script: string): number { + const pid = startDetached({ + command: ["node", "-e", script], + cwd: dir, + env: process.env, + logFile, + pidFile, + }); + spawned.push(pid); + return pid; +} + +beforeEach(() => { + dir = fs.mkdtempSync(path.join(os.tmpdir(), "next-suite-process-")); + logFile = path.join(dir, "server.log"); + pidFile = path.join(dir, "server.pid"); +}); + +afterEach(() => { + for (const pid of spawned.splice(0)) { + try { + process.kill(-pid, "SIGKILL"); + } catch { + // Already gone. + } + } +}); + +describe("getFreePorts", () => { + test("returns distinct bindable ports", async () => { + const [first, second] = (await getFreePorts(2)) as [number, number]; + + expect(first).not.toBe(second); + const server = http.createServer(); + await new Promise((resolve) => server.listen(first, resolve)); + expect((server.address() as AddressInfo).port).toBe(first); + server.close(); + }); +}); + +describe("startDetached", () => { + test("sends the output to the log file and records the pid", async () => { + const pid = start("console.log('hello'); console.error('oops')"); + + expect(fs.readFileSync(pidFile, "utf8")).toBe(String(pid)); + await expect.poll(() => fs.readFileSync(logFile, "utf8")).toContain("hello"); + expect(fs.readFileSync(logFile, "utf8")).toContain("oops"); + }); +}); + +describe("parsePid", () => { + test("accepts a process id", () => { + expect(parsePid("12345")).toBe(12345); + expect(parsePid("12345\n")).toBe(12345); + }); + + // 0 is the caller's own group and -1 is every process, so these must never reach `process.kill`. + test.each(["", " ", "0", "1", "-5", "abc", "12.5", "0x10"])("refuses %j", (content) => { + expect(() => parsePid(content)).toThrow(/Invalid pid/); + }); +}); + +describe("runDetached", () => { + const run = (script: string, timeoutMs = 5000) => + runDetached({ command: ["node", "-e", script], cwd: dir, env: process.env, logFile, pidFile, timeoutMs }); + + test("resolves with the exit code and clears the pid file", async () => { + await expect(run("process.exit(3)")).resolves.toBe(3); + + expect(fs.existsSync(pidFile)).toBe(false); + }); + + test("records the pid while running, so that cleanup can stop it", async () => { + const running = run("setInterval(() => {}, 1000)"); + await waitForFile(pidFile); + + await stopProcessGroup(pidFile); + + await expect(running).resolves.not.toBe(0); + }); + + test("stops the group at the deadline", async () => { + await expect(run("setInterval(() => {}, 1000)", 200)).resolves.toBe("timeout"); + + expect(fs.existsSync(pidFile)).toBe(false); + }); +}); + +describe("waitForHttp", () => { + test("treats any HTTP status as ready", async () => { + const server = http.createServer((_req, res) => res.writeHead(404).end()); + await new Promise((resolve) => server.listen(0, resolve)); + const { port } = server.address() as AddressInfo; + + const result = await waitForHttp({ + url: `http://localhost:${port}`, + pid: process.pid, + timeoutMs: 5000, + }); + + expect(result).toBe("ready"); + server.close(); + }); + + test("reports a process that exits early without waiting for the timeout", async () => { + const [port] = (await getFreePorts(1)) as [number]; + const pid = start("process.exit(1)"); + const startedAt = Date.now(); + + const result = await waitForHttp({ url: `http://localhost:${port}`, pid, timeoutMs: 30_000 }); + + expect(result).toBe("exited"); + expect(Date.now() - startedAt).toBeLessThan(2000); + }); + + test("reports timeout", async () => { + const [port] = (await getFreePorts(1)) as [number]; + const pid = start("setInterval(() => {}, 1000)"); + + const result = await waitForHttp({ url: `http://localhost:${port}`, pid, timeoutMs: 300 }); + + expect(result).toBe("timeout"); + }); +}); + +describe("stopProcessGroup", () => { + test("kills grandchildren", async () => { + const grandchildPidFile = path.join(dir, "grandchild.pid"); + const pid = start(` + const { spawn } = require("node:child_process"); + const child = spawn("node", ["-e", "setInterval(() => {}, 1000)"], { stdio: "ignore" }); + require("node:fs").writeFileSync(${JSON.stringify(grandchildPidFile)}, String(child.pid)); + setInterval(() => {}, 1000); + `); + const grandchild = Number(await waitForFile(grandchildPidFile)); + + await stopProcessGroup(pidFile); + + expect(isAlive(pid)).toBe(false); + expect(isAlive(grandchild)).toBe(false); + }); + + test("escalates to SIGKILL when SIGTERM is ignored", async () => { + const readyFile = path.join(dir, "ready"); + const pid = start(` + process.on("SIGTERM", () => {}); + require("node:fs").writeFileSync(${JSON.stringify(readyFile)}, "ready"); + setInterval(() => {}, 1000); + `); + await waitForFile(readyFile); + + await stopProcessGroup(pidFile, 200); + + expect(isAlive(pid)).toBe(false); + }); + + test("is a no-op with no pid file", async () => { + await expect(stopProcessGroup(pidFile)).resolves.toBeUndefined(); + }); + + test("refuses a corrupt pid file", async () => { + fs.writeFileSync(pidFile, "abc"); + + await expect(stopProcessGroup(pidFile)).rejects.toThrow(/Invalid pid/); + }); + + test("can run twice", async () => { + start("setInterval(() => {}, 1000)"); + + await stopProcessGroup(pidFile); + + await expect(stopProcessGroup(pidFile)).resolves.toBeUndefined(); + }); +}); diff --git a/packages/tests-next-suite/src/process.ts b/packages/tests-next-suite/src/process.ts new file mode 100644 index 00000000..392dcc72 --- /dev/null +++ b/packages/tests-next-suite/src/process.ts @@ -0,0 +1,192 @@ +import { type ChildProcess, spawn } from "node:child_process"; +import fs from "node:fs"; +import net from "node:net"; +import { setTimeout as sleep } from "node:timers/promises"; + +const POLL_INTERVAL_MS = 250; +const STOP_POLL_INTERVAL_MS = 50; +const DEFAULT_GRACE_MS = 5000; +const KILL_WAIT_MS = 2000; + +export type StartDetachedOptions = { + command: string[]; + cwd: string; + env: NodeJS.ProcessEnv; + logFile: string; + pidFile: string; +}; + +export type RunDetachedOptions = StartDetachedOptions & { + timeoutMs: number; +}; + +export type WaitForHttpOptions = { + url: string; + pid: number; + timeoutMs: number; +}; + +function reservePort(): Promise { + return new Promise((resolve, reject) => { + const server = net.createServer(); + server.on("error", reject); + server.listen(0, () => resolve(server)); + }); +} + +/** + * Finds free ports. + * + * All of them are held until the last one is found, so the same port is never returned twice. + * + * @param count The number of ports. + * @returns The ports. + */ +export async function getFreePorts(count: number): Promise { + const servers = await Promise.all(Array.from({ length: count }, () => reservePort())); + const ports = servers.map((server) => (server.address() as net.AddressInfo).port); + await Promise.all(servers.map((server) => new Promise((resolve) => server.close(resolve)))); + return ports; +} + +/** + * Starts a command which outlives this process, in its own process group. + * + * @param options The command and the files receiving its output and pid. + * @returns The pid, which is also the id of the process group. + */ +export function startDetached(options: StartDetachedOptions): number { + const child = spawnGroup(options); + child.unref(); + return child.pid!; +} + +function spawnGroup({ command, cwd, env, logFile, pidFile }: StartDetachedOptions): ChildProcess { + const [file, ...args] = command as [string, ...string[]]; + const log = fs.openSync(logFile, "a"); + const child = spawn(file, args, { cwd, env, detached: true, stdio: ["ignore", log, log] }); + fs.closeSync(log); + if (child.pid !== undefined) { + fs.writeFileSync(pidFile, String(child.pid)); + } + return child; +} + +/** + * Runs a command to completion in its own process group, which `stopProcessGroup` can stop. + * + * @param options The command, the files receiving its output and pid and when to give up on it. + * @returns The exit code, `null` when it was killed, or `"timeout"` when it was stopped at the deadline. + */ +export function runDetached({ + timeoutMs, + ...options +}: RunDetachedOptions): Promise { + return new Promise((resolve, reject) => { + const child = spawnGroup(options); + let timedOut = false; + const timer = setTimeout(() => { + timedOut = true; + stopProcessGroup(options.pidFile).catch(reject); + }, timeoutMs); + + child.on("error", (error) => { + clearTimeout(timer); + reject(error); + }); + child.on("close", (code) => { + clearTimeout(timer); + fs.rmSync(options.pidFile, { force: true }); + resolve(timedOut ? "timeout" : code); + }); + }); +} + +function isRunning(id: number): boolean { + try { + process.kill(id, 0); + return true; + } catch { + return false; + } +} + +/** + * Waits for a server to answer, any HTTP status counts as apps do not always serve `/`. + * + * @param options The URL to poll, the server's pid and how long to wait. + * @returns How the wait ended. + */ +export async function waitForHttp({ + url, + pid, + timeoutMs, +}: WaitForHttpOptions): Promise<"ready" | "exited" | "timeout"> { + const deadline = Date.now() + timeoutMs; + while (Date.now() < deadline) { + if (!isRunning(pid)) { + return "exited"; + } + try { + await fetch(url, { redirect: "manual", signal: AbortSignal.timeout(POLL_INTERVAL_MS * 4) }); + return "ready"; + } catch { + await sleep(POLL_INTERVAL_MS); + } + } + return "timeout"; +} + +function signalGroup(pid: number, signal: NodeJS.Signals): void { + try { + process.kill(-pid, signal); + } catch (error) { + if ((error as NodeJS.ErrnoException).code !== "ESRCH") { + throw error; + } + } +} + +async function waitForGroupExit(pid: number, timeoutMs: number): Promise { + const deadline = Date.now() + timeoutMs; + while (isRunning(-pid) && Date.now() < deadline) { + await sleep(STOP_POLL_INTERVAL_MS); + } +} + +/** + * Reads the content of a pid file. + * + * It ends up negated in `process.kill`, where 0 is the group of the caller and -1 is every process. + * + * @param content The content of the file. + * @returns The pid. + * @throws When it is not the pid of a process which could have been started by this package. + */ +export function parsePid(content: string): number { + const text = content.trim(); + if (!/^[1-9]\d*$/.test(text) || Number(text) <= 1) { + throw new Error(`Invalid pid: "${content}"`); + } + return Number(text); +} + +/** + * Stops the process group recorded in a pid file, it does nothing if there is no such file. + * + * @param pidFile The file written by `startDetached`. + * @param graceMs How long the group has to exit on SIGTERM before it gets SIGKILL. + */ +export async function stopProcessGroup(pidFile: string, graceMs = DEFAULT_GRACE_MS): Promise { + if (!fs.existsSync(pidFile)) { + return; + } + const pid = parsePid(fs.readFileSync(pidFile, "utf8")); + + signalGroup(pid, "SIGTERM"); + await waitForGroupExit(pid, graceMs); + signalGroup(pid, "SIGKILL"); + await waitForGroupExit(pid, KILL_WAIT_MS); + + fs.rmSync(pidFile, { force: true }); +} diff --git a/packages/tests-next-suite/src/run-suite.spec.ts b/packages/tests-next-suite/src/run-suite.spec.ts new file mode 100644 index 00000000..8b0c28c9 --- /dev/null +++ b/packages/tests-next-suite/src/run-suite.spec.ts @@ -0,0 +1,118 @@ +import path from "node:path"; + +import { describe, expect, test } from "vitest"; + +import { buildRunSuiteArgs, buildRunSuiteEnv } from "./run-suite.js"; + +const options = { pkgDir: "/p", tarballsDir: "/t", baseEnvFile: "/b", testAppsDir: "/apps" }; + +describe("buildRunSuiteArgs", () => { + test("never requests KV timings", () => { + expect(buildRunSuiteArgs({ group: "3/16", concurrency: 2, tests: [] })).toEqual([ + "run-tests.js", + "-g", + "3/16", + "-c", + "2", + "--type", + "e2e", + ]); + }); + + test("explicit test paths replace the group", () => { + expect( + buildRunSuiteArgs({ concurrency: 1, tests: ["test/e2e/hello-world/hello-world.test.ts"] }) + ).toEqual(["run-tests.js", "-c", "1", "--type", "e2e", "test/e2e/hello-world/hello-world.test.ts"]); + }); +}); + +test("passes the retry budget on", () => { + expect(buildRunSuiteArgs({ group: "1/16", concurrency: 2, retries: 1, tests: [] })).toEqual([ + "run-tests.js", + "-g", + "1/16", + "-c", + "2", + "--retries", + "1", + "--type", + "e2e", + ]); +}); + +describe("buildRunSuiteEnv", () => { + test("layers the target's disabled manifest on the upstream one", () => { + const env = buildRunSuiteEnv({ + ...options, + target: "core", + base: {}, + disabledManifest: "/p/.cache/disabled-core.json", + }); + + expect(env.NEXT_EXTERNAL_TESTS_FILTERS).toBe( + "test/deploy-tests-manifest.json,/p/.cache/disabled-core.json" + ); + expect(env.NEXT_TEST_MODE).toBe("deploy"); + expect(env.NEXT_JUNIT_TEST_REPORT).toBe("1"); + expect(env.NEXT_TEST_DEPLOY_SCRIPT_PATH).toBe("/p/bin/e2e-deploy.sh"); + expect(env.NEXT_TEST_DEPLOY_LOGS_SCRIPT_PATH).toBe("/p/bin/e2e-logs.sh"); + expect(env.NEXT_TEST_CLEANUP_SCRIPT_PATH).toBe("/p/bin/e2e-cleanup.sh"); + }); + + test("--include-disabled keeps only the upstream filter", () => { + const env = buildRunSuiteEnv({ ...options, target: "core", base: {}, disabledManifest: null }); + + expect(env.NEXT_EXTERNAL_TESTS_FILTERS).toBe("test/deploy-tests-manifest.json"); + }); + + test("creates test apps outside the repository", () => { + const env = buildRunSuiteEnv({ ...options, target: "core", base: {}, disabledManifest: null }); + + expect(env.NEXT_TEST_DIR).toBe("/apps"); + }); + + test("strips NODE_ENV", () => { + const env = buildRunSuiteEnv({ + ...options, + target: "core", + base: { NODE_ENV: "development" }, + disabledManifest: null, + }); + + expect(env.NODE_ENV).toBeUndefined(); + }); + + test("core builds with Turbopack", () => { + const env = buildRunSuiteEnv({ ...options, target: "core", base: {}, disabledManifest: null }); + + expect(env.IS_TURBOPACK_TEST).toBe("1"); + expect(env.IS_WEBPACK_TEST).toBeUndefined(); + }); + + test("cloudflare builds with webpack", () => { + const env = buildRunSuiteEnv({ ...options, target: "cloudflare", base: {}, disabledManifest: null }); + + expect(env.IS_WEBPACK_TEST).toBe("1"); + expect(env.IS_TURBOPACK_TEST).toBeUndefined(); + }); + + test("pins the toolchain", () => { + const env = buildRunSuiteEnv({ + ...options, + target: "core", + base: { PATH: "/usr/bin" }, + disabledManifest: null, + }); + + expect(env.PATH).toBe(`${path.dirname(process.execPath)}:/usr/bin`); + }); + + test.each([ + ["core", "240000"], + ["cloudflare", "480000"], + ] as const)("gives %s a %sms setup timeout", (target, timeout) => { + const env = buildRunSuiteEnv({ ...options, target, base: {}, disabledManifest: null }); + + expect(env.NEXT_E2E_TEST_TIMEOUT).toBe(timeout); + }); +}); diff --git a/packages/tests-next-suite/src/run-suite.ts b/packages/tests-next-suite/src/run-suite.ts new file mode 100644 index 00000000..caead6ca --- /dev/null +++ b/packages/tests-next-suite/src/run-suite.ts @@ -0,0 +1,90 @@ +import path from "node:path"; + +import { ENV, toolchainEnv } from "./env.js"; +import type { TargetName } from "./targets.js"; + +const UPSTREAM_MANIFEST = "test/deploy-tests-manifest.json"; + +/** How long a test may take to deploy its app, Cloudflare builds are a lot slower. */ +const SETUP_TIMEOUT_MS: Record = { core: 240_000, cloudflare: 480_000 }; + +/** + * The bundler of each target, selected through the variable Next.js reads. + * + * Cloudflare uses webpack as its Turbopack chunk loader generates broken paths for apps which are not in a + * monorepo, and every app of the harness is standalone. + */ +const BUNDLER_ENV: Record> = { + core: { IS_TURBOPACK_TEST: "1" }, + cloudflare: { IS_WEBPACK_TEST: "1" }, +}; + +export type RunSuiteArgsOptions = { + group?: string; + concurrency: number; + /** How many times a failing file runs again, `run-tests.js` defaults to 2. */ + retries?: number; + tests: string[]; +}; + +export type RunSuiteEnvOptions = { + target: TargetName; + pkgDir: string; + base: NodeJS.ProcessEnv; + tarballsDir: string; + baseEnvFile: string; + /** Where the harness creates apps, which has to be outside of this repository. */ + testAppsDir: string; + /** The manifest of the disabled tests, `null` runs them too. */ + disabledManifest: string | null; +}; + +/** + * Builds the `run-tests.js` command line. + * + * `--timings` is not used as it needs the Vercel KV store. + * + * @param options The tests to run. + * @returns The arguments for `node`. + */ +export function buildRunSuiteArgs({ group, concurrency, retries, tests }: RunSuiteArgsOptions): string[] { + const selection = tests.length === 0 && group ? ["-g", group] : []; + const retryArgs = retries === undefined ? [] : ["--retries", String(retries)]; + return ["run-tests.js", ...selection, "-c", String(concurrency), ...retryArgs, "--type", "e2e", ...tests]; +} + +/** + * Builds the `run-tests.js` environment. + * + * @param options The target and where the run files are. + * @returns The environment. + */ +export function buildRunSuiteEnv({ + target, + pkgDir, + base, + tarballsDir, + baseEnvFile, + testAppsDir, + disabledManifest, +}: RunSuiteEnvOptions): NodeJS.ProcessEnv { + return { + ...toolchainEnv(base), + NEXT_TEST_MODE: "deploy", + NEXT_E2E_TEST_TIMEOUT: String(SETUP_TIMEOUT_MS[target]), + NEXT_EXTERNAL_TESTS_FILTERS: [UPSTREAM_MANIFEST, ...(disabledManifest ? [disabledManifest] : [])].join( + "," + ), + NEXT_JUNIT_TEST_REPORT: "1", + ...BUNDLER_ENV[target], + NEXT_TEST_JOB: "1", + NEXT_TELEMETRY_DISABLED: "1", + NEXT_TEST_DIR: testAppsDir, + NEXT_TEST_DEPLOY_SCRIPT_PATH: path.join(pkgDir, "bin/e2e-deploy.sh"), + NEXT_TEST_DEPLOY_LOGS_SCRIPT_PATH: path.join(pkgDir, "bin/e2e-logs.sh"), + NEXT_TEST_CLEANUP_SCRIPT_PATH: path.join(pkgDir, "bin/e2e-cleanup.sh"), + [ENV.TARGET]: target, + [ENV.TARBALLS_DIR]: tarballsDir, + [ENV.BASE_ENV_FILE]: baseEnvFile, + }; +} diff --git a/packages/tests-next-suite/src/targets.spec.ts b/packages/tests-next-suite/src/targets.spec.ts new file mode 100644 index 00000000..b9ba5341 --- /dev/null +++ b/packages/tests-next-suite/src/targets.spec.ts @@ -0,0 +1,60 @@ +import fs from "node:fs"; +import os from "node:os"; +import path from "node:path"; + +import { parse } from "dotenv"; +import { describe, expect, test } from "vitest"; + +import { TARGETS, getTarget } from "./targets.js"; + +describe("TARGETS", () => { + test("core builds with the open-next CLI and serves the bundled server", () => { + expect(TARGETS.core.packages).toEqual(["@opennextjs/aws", "@opennextjs/core"]); + expect(TARGETS.core.buildCommand).toEqual(["pnpm", "exec", "open-next", "build"]); + expect(TARGETS.core.startCommand({ port: 4000, inspectorPort: 4001 })).toEqual([ + "node", + ".open-next/server-functions/default/index.mjs", + ]); + }); + + test("cloudflare previews through wrangler on the given ports", () => { + expect(TARGETS.cloudflare.packages).toEqual(["@opennextjs/cloudflare", "@opennextjs/core"]); + expect(TARGETS.cloudflare.startCommand({ port: 4000, inspectorPort: 4001 })).toEqual([ + "pnpm", + "exec", + "opennextjs-cloudflare", + "preview", + "--port", + "4000", + "--inspector-port", + "4001", + ]); + }); + + test("cloudflare writes test-only env to .dev.vars so that wrangler reads the same values", () => { + const appDir = fs.mkdtempSync(path.join(os.tmpdir(), "next-suite-targets-")); + const env = { + PLAIN: "value", + JSON_VALUE: '{"a":1}', + QUOTES: `it's "quoted"`, + BACKSLASHES: "C:\\new\\x", + MULTILINE: "line one\nline two", + EMPTY: "", + }; + + TARGETS.cloudflare.prepareRuntimeEnv!(appDir, env); + + expect(parse(fs.readFileSync(path.join(appDir, ".dev.vars")))).toEqual(env); + }); +}); + +describe("getTarget", () => { + test("returns a known target", () => { + expect(getTarget("core").name).toBe("core"); + }); + + test("rejects unknown and missing names", () => { + expect(() => getTarget("aws")).toThrow(/core, cloudflare/); + expect(() => getTarget(undefined)).toThrow(/core, cloudflare/); + }); +}); diff --git a/packages/tests-next-suite/src/targets.ts b/packages/tests-next-suite/src/targets.ts new file mode 100644 index 00000000..d35e6017 --- /dev/null +++ b/packages/tests-next-suite/src/targets.ts @@ -0,0 +1,83 @@ +import fs from "node:fs"; +import path from "node:path"; +import { fileURLToPath } from "node:url"; + +import { parse } from "yaml"; + +export const PACKAGE_DIR = path.dirname(path.dirname(fileURLToPath(import.meta.url))); +export const REPO_ROOT = path.dirname(path.dirname(PACKAGE_DIR)); + +export type TargetName = "core" | "cloudflare"; + +export type Target = { + name: TargetName; + /** Workspace packages installed in the app from their packed tarballs. */ + packages: string[]; + extraDependencies: Record; + /** Files copied from `templates//` to the app. */ + templateFiles: string[]; + buildCommand: string[]; + startCommand: (ports: { port: number; inspectorPort: number }) => string[]; + /** Makes the test-only variables visible to a runtime that does not inherit the process env. */ + prepareRuntimeEnv?: (appDir: string, testEnv: Record) => void; +}; + +function readCatalogVersion(name: string): string { + const workspace = parse(fs.readFileSync(path.join(REPO_ROOT, "pnpm-workspace.yaml"), "utf8")); + return workspace.catalog[name]; +} + +/** Quotes a value for `.dev.vars`, dotenv has no escapes: the only way is a quote the value does not hold. */ +function quoteDevVar(value: string): string { + const quote = ["'", "`", '"'].find((candidate) => !value.includes(candidate)); + if (!quote) { + throw new Error(`Can not write a value holding all the quote characters to .dev.vars: ${value}`); + } + return `${quote}${value}${quote}`; +} + +export const TARGETS: Record = { + core: { + name: "core", + packages: ["@opennextjs/aws", "@opennextjs/core"], + extraDependencies: {}, + templateFiles: ["open-next.config.ts"], + buildCommand: ["pnpm", "exec", "open-next", "build"], + startCommand: () => ["node", ".open-next/server-functions/default/index.mjs"], + }, + cloudflare: { + name: "cloudflare", + packages: ["@opennextjs/cloudflare", "@opennextjs/core"], + extraDependencies: { wrangler: readCatalogVersion("wrangler") }, + templateFiles: ["open-next.config.ts", "wrangler.jsonc"], + buildCommand: ["pnpm", "exec", "opennextjs-cloudflare", "build"], + startCommand: ({ port, inspectorPort }) => [ + "pnpm", + "exec", + "opennextjs-cloudflare", + "preview", + "--port", + String(port), + "--inspector-port", + String(inspectorPort), + ], + prepareRuntimeEnv: (appDir, testEnv) => { + const lines = Object.entries(testEnv).map(([key, value]) => `${key}=${quoteDevVar(value)}\n`); + fs.writeFileSync(path.join(appDir, ".dev.vars"), lines.join("")); + }, + }, +}; + +/** + * Resolves a target from its name. + * + * @param name The target name. + * @returns The target. + * @throws When the name is not a known target. + */ +export function getTarget(name: string | undefined): Target { + if (name === undefined || !(name in TARGETS)) { + throw new Error(`Unknown target "${name}", expected one of: ${Object.keys(TARGETS).join(", ")}`); + } + return TARGETS[name as TargetName]; +} diff --git a/packages/tests-next-suite/templates/cloudflare/open-next.config.ts b/packages/tests-next-suite/templates/cloudflare/open-next.config.ts new file mode 100644 index 00000000..d75f433e --- /dev/null +++ b/packages/tests-next-suite/templates/cloudflare/open-next.config.ts @@ -0,0 +1,26 @@ +// @ts-nocheck: `next build` type checks this file with a tsconfig that can not resolve package exports. +import { defineCloudflareConfig } from "@opennextjs/cloudflare"; +import r2IncrementalCache from "@opennextjs/cloudflare/overrides/incremental-cache/r2-incremental-cache"; +import doQueue from "@opennextjs/cloudflare/overrides/queue/do-queue"; +import queueCache from "@opennextjs/cloudflare/overrides/queue/queue-cache"; +import shardedTagCache from "@opennextjs/cloudflare/overrides/tag-cache/do-sharded-tag-cache"; + +const baseConfig = defineCloudflareConfig({ + incrementalCache: r2IncrementalCache, + // With such a configuration, we could have up to 12 * (8 + 2) = 120 Durable Objects instances + tagCache: shardedTagCache({ + baseShardSize: 12, + regionalCache: true, + regionalCacheDangerouslyPersistMissingTags: true, + shardReplication: { + numberOfSoftReplicas: 8, + numberOfHardReplicas: 2, + regionalReplication: { + defaultRegion: "enam", + }, + }, + }), + queue: queueCache(doQueue), +}); + +export default baseConfig; diff --git a/packages/tests-next-suite/templates/cloudflare/wrangler.jsonc b/packages/tests-next-suite/templates/cloudflare/wrangler.jsonc new file mode 100644 index 00000000..322c6169 --- /dev/null +++ b/packages/tests-next-suite/templates/cloudflare/wrangler.jsonc @@ -0,0 +1,50 @@ +{ + "$schema": "node_modules/wrangler/config-schema.json", + "main": ".open-next/worker.js", + "name": "next-suite", + "compatibility_date": "2024-12-30", + "compatibility_flags": ["nodejs_compat", "global_fetch_strictly_public"], + "assets": { + "directory": ".open-next/assets", + "binding": "ASSETS" + }, + "durable_objects": { + "bindings": [ + { + "name": "NEXT_CACHE_DO_QUEUE", + "class_name": "DOQueueHandler" + }, + { + "name": "NEXT_TAG_CACHE_DO_SHARDED", + "class_name": "DOShardedTagCache" + }, + { + "name": "NEXT_CACHE_DO_PURGE", + "class_name": "BucketCachePurge" + } + ] + }, + "migrations": [ + { + "tag": "v1", + "new_sqlite_classes": ["DOQueueHandler", "DOShardedTagCache", "BucketCachePurge"] + } + ], + "r2_buckets": [ + { + "binding": "NEXT_INC_CACHE_R2_BUCKET", + "bucket_name": "cache" + } + ], + "services": [ + { + "binding": "WORKER_SELF_REFERENCE", + "service": "next-suite" + }, + { + "binding": "NEXT_CACHE_SERVICE", + "service": "next-suite", + "entrypoint": "OpenNextCache" + } + ] +} diff --git a/packages/tests-next-suite/templates/core/open-next.config.ts b/packages/tests-next-suite/templates/core/open-next.config.ts new file mode 100644 index 00000000..99dd0ea8 --- /dev/null +++ b/packages/tests-next-suite/templates/core/open-next.config.ts @@ -0,0 +1,27 @@ +export default { + default: { + override: { + wrapper: "express-dev", + converter: "node", + cache: "local", + queue: "direct", + }, + }, + + imageOptimization: { + override: { + wrapper: "dummy", + converter: "dummy", + }, + loader: "fs-dev", + }, + + cacheHandler: { + override: { + wrapper: "dummy", + converter: "dummy", + }, + incrementalCache: "fs-dev", + tagCache: "fs-dev-nextMode", + }, +}; diff --git a/packages/tests-next-suite/tsconfig.json b/packages/tests-next-suite/tsconfig.json new file mode 100644 index 00000000..db513d88 --- /dev/null +++ b/packages/tests-next-suite/tsconfig.json @@ -0,0 +1,16 @@ +{ + "$schema": "https://json.schemastore.org/tsconfig", + "extends": "@tsconfig/strictest/tsconfig.json", + "compilerOptions": { + "exactOptionalPropertyTypes": false, + "lib": ["ESNext"], + "module": "NodeNext", + "moduleResolution": "nodenext", + "noEmit": true, + "noPropertyAccessFromIndexSignature": false, + "resolveJsonModule": true, + "target": "ES2022", + "types": ["node"] + }, + "include": ["src/**/*.ts"] +} diff --git a/packages/tests-next-suite/vitest.config.ts b/packages/tests-next-suite/vitest.config.ts new file mode 100644 index 00000000..6d123d84 --- /dev/null +++ b/packages/tests-next-suite/vitest.config.ts @@ -0,0 +1,8 @@ +import { defineConfig } from "vitest/config"; + +export default defineConfig({ + test: { + include: ["src/**/*.spec.ts"], + environment: "node", + }, +}); diff --git a/packages/tests-unit/tests/build/createRoutingConfig.test.ts b/packages/tests-unit/tests/build/createRoutingConfig.test.ts index e3611e3d..c12afffe 100644 --- a/packages/tests-unit/tests/build/createRoutingConfig.test.ts +++ b/packages/tests-unit/tests/build/createRoutingConfig.test.ts @@ -7,6 +7,37 @@ import { vi } from "vitest"; vi.mock("node:fs"); describe("createRoutingConfig", () => { + it("indexes static html pages as servable routes", () => { + const context = { + buildId: "build-id", + config: {}, + routing: { + beforeMiddleware: [], + beforeFiles: [], + afterFiles: [], + dynamicRoutes: [], + onMatch: [], + fallback: [], + }, + outputs: { + pages: [], + pagesApi: [], + appPages: [], + appRoutes: [], + staticFiles: [ + { id: "index", pathname: "/index", filePath: "/app/.next/server/pages/index.html", assets: {} }, + { id: "about", pathname: "/about", filePath: "/app/.next/server/pages/about.html", assets: {} }, + ], + }, + } as unknown as BuildCompleteContext; + + const result = createRoutingConfig({ appBuildOutputPath: "/app" } as never, context); + + expect(result.pathnames).toContain("/"); + expect(result.routeIndex["/"]).toEqual({ type: "static", isFallback: false, isISR: false }); + expect(result.routeIndex["/about"]).toEqual({ type: "static", isFallback: false, isISR: false }); + }); + it("serializes routing metadata and executable route classifications", () => { const context = { buildId: "build-id", diff --git a/packages/tests-unit/tests/build/staticPages.test.ts b/packages/tests-unit/tests/build/staticPages.test.ts new file mode 100644 index 00000000..808204f1 --- /dev/null +++ b/packages/tests-unit/tests/build/staticPages.test.ts @@ -0,0 +1,117 @@ +import fs from "node:fs"; +import os from "node:os"; +import path from "node:path"; + +import { getStaticPages } from "@opennextjs/core/build/staticPages.js"; +import { renderStaticPages } from "@opennextjs/core/plugins/inlineRouteHandlers.js"; +import { describe, expect, it, vi } from "vitest"; + +vi.mock("@opennextjs/core/adapters/config/index.js", () => ({})); + +function staticFile(pathname: string, filePath: string) { + return { id: pathname, pathname, filePath, assets: {} }; +} + +function outputs(...staticFiles: ReturnType[]) { + return { pages: [], pagesApi: [], appPages: [], appRoutes: [], staticFiles }; +} + +describe("getStaticPages", () => { + it("lists the html pages with the route they are served on", () => { + const pages = getStaticPages(outputs(staticFile("/about", "/app/.next/server/pages/about.html"))); + + expect(pages).toEqual([{ route: "/about", filePath: "/app/.next/server/pages/about.html" }]); + }); + + it.each([ + ["/index", "/", {}], + ["/docs/index", "/docs", { basePath: "/docs" }], + ["/en/index", "/en", { locales: ["en", "fr"] }], + ["/docs/en/index", "/docs/en", { basePath: "/docs", locales: ["en"] }], + ["/index/index/foo", "/index/foo", {}], + ["/foo/index", "/foo/index", {}], + ["/blog/index-of-posts", "/blog/index-of-posts", {}], + ])("serves %s on %s", (pathname, route, options) => { + const pages = getStaticPages( + outputs(staticFile(pathname, `/app/.next/server/pages${pathname}.html`)), + options + ); + + expect(pages.map((page) => page.route)).toEqual([route]); + }); + + it.each([ + ["/en/404", { locales: ["en"] }], + ["/docs/500", { basePath: "/docs" }], + ["/docs/fr/404", { basePath: "/docs", locales: ["fr"] }], + ])("leaves out the error page %s", (pathname, options) => { + const pages = getStaticPages( + outputs(staticFile(pathname, `/app/.next/server/pages${pathname}.html`)), + options + ); + + expect(pages).toEqual([]); + }); + + it("leaves out the error pages, which are not routes", () => { + const pages = getStaticPages( + outputs( + staticFile("/404", "/app/.next/server/pages/404.html"), + staticFile("/500", "/app/.next/server/pages/500.html") + ) + ); + + expect(pages).toEqual([]); + }); + + it("leaves out assets, including the html files of the public directory", () => { + const pages = getStaticPages( + outputs( + staticFile("/_next/static/a.js", "/app/.next/static/a.js"), + staticFile("/page.html", "/app/public/page.html") + ) + ); + + expect(pages).toEqual([]); + }); + + it("handles builds without static files", () => { + expect(getStaticPages({ pages: [], pagesApi: [], appPages: [], appRoutes: [] })).toEqual([]); + }); +}); + +describe("renderStaticPages", () => { + it("generates the content of the pages, whatever characters they hold", () => { + const nextDir = fs.mkdtempSync(path.join(os.tmpdir(), "static-pages-")); + fs.mkdirSync(path.join(nextDir, "server/pages"), { recursive: true }); + fs.writeFileSync(path.join(nextDir, "required-server-files.json"), JSON.stringify({ config: {} })); + const html = `

$& costs $1 \`now\`

\n`; + fs.writeFileSync(path.join(nextDir, "server/pages/index.html"), html); + + const code = renderStaticPages( + outputs(staticFile("/index", path.join(nextDir, "server/pages/index.html"))) + ); + + expect(new Function(`${code}; return staticPages;`)()).toEqual({ "/": html }); + }); + + it("keys the pages like the routing config, with the base path and locales of the build", () => { + const nextDir = fs.mkdtempSync(path.join(os.tmpdir(), "static-pages-")); + fs.mkdirSync(path.join(nextDir, "server/pages/en"), { recursive: true }); + fs.writeFileSync( + path.join(nextDir, "required-server-files.json"), + JSON.stringify({ config: { basePath: "/docs", i18n: { locales: ["en"], defaultLocale: "en" } } }) + ); + fs.writeFileSync(path.join(nextDir, "server/pages/en/index.html"), "en"); + fs.writeFileSync(path.join(nextDir, "server/pages/en/404.html"), "404"); + + const code = renderStaticPages( + outputs( + staticFile("/docs/en/index", path.join(nextDir, "server/pages/en/index.html")), + staticFile("/docs/en/404", path.join(nextDir, "server/pages/en/404.html")) + ) + ); + + expect(new Function(`${code}; return staticPages;`)()).toEqual({ "/docs/en": "en" }); + }); +}); diff --git a/packages/tests-unit/tests/core/requestHandler.global-als.test.ts b/packages/tests-unit/tests/core/requestHandler.global-als.test.ts new file mode 100644 index 00000000..bd9ab6a8 --- /dev/null +++ b/packages/tests-unit/tests/core/requestHandler.global-als.test.ts @@ -0,0 +1,40 @@ +import { afterEach, beforeEach, describe, expect, it, vi } from "vitest"; + +vi.mock("@opennextjs/core/adapters/config/index.js", () => ({ + BuildId: "", + FunctionsConfigManifest: { functions: {} }, + HtmlPages: [], + MiddlewareManifest: { functions: {}, middleware: {} }, + NextConfig: {}, + PrerenderManifest: { routes: {}, dynamicRoutes: {} }, + RoutingConfig: { + routes: { + beforeMiddleware: [], + beforeFiles: [], + afterFiles: [], + dynamicRoutes: [], + onMatch: [], + fallback: [], + }, + }, +})); + +describe("requestHandler", () => { + const original = globalThis.AsyncLocalStorage; + + beforeEach(() => { + // @ts-expect-error - Next.js expects it on the global object, apps without middleware have to get it here + delete globalThis.AsyncLocalStorage; + vi.resetModules(); + }); + + afterEach(() => { + globalThis.AsyncLocalStorage = original; + }); + + it("defines the global AsyncLocalStorage the Next.js runtime needs", async () => { + await import("@opennextjs/core/core/requestHandler.js"); + + expect(globalThis.AsyncLocalStorage).toBeTypeOf("function"); + }); +}); diff --git a/packages/tests-unit/tests/core/routing/adapterHandler.staticPage.test.ts b/packages/tests-unit/tests/core/routing/adapterHandler.staticPage.test.ts new file mode 100644 index 00000000..356a60b4 --- /dev/null +++ b/packages/tests-unit/tests/core/routing/adapterHandler.staticPage.test.ts @@ -0,0 +1,59 @@ +import { Writable } from "node:stream"; + +import { createStaticPageHandler } from "@opennextjs/core/core/routing/adapterHandler.js"; +import { describe, expect, it } from "vitest"; + +function createResponse() { + const chunks: Buffer[] = []; + const headers: Record = {}; + const res = new Writable({ + write(chunk, _encoding, callback) { + chunks.push(Buffer.from(chunk)); + callback(); + }, + }) as Writable & { statusCode: number; setHeader: (name: string, value: string) => void }; + res.statusCode = 0; + res.setHeader = (name, value) => { + headers[name] = value; + }; + return { res, headers, body: () => Buffer.concat(chunks).toString() }; +} + +async function serve(method: string, statusCode = 0) { + const response = createResponse(); + response.res.statusCode = statusCode; + await createStaticPageHandler("

hello

").handler({ method } as never, response.res as never); + return response; +} + +describe("createStaticPageHandler", () => { + it("serves the page", async () => { + const { res, headers, body } = await serve("GET"); + + expect(res.statusCode).toBe(200); + expect(headers["content-type"]).toBe("text/html; charset=utf-8"); + expect(body()).toBe("

hello

"); + }); + + it("sends no body to a HEAD request", async () => { + const { res, body } = await serve("HEAD"); + + expect(res.statusCode).toBe(200); + expect(body()).toBe(""); + }); + + it("refuses other methods as Next.js does", async () => { + const { res, headers, body } = await serve("POST"); + + expect(res.statusCode).toBe(405); + expect(headers.allow).toBe("GET, HEAD"); + expect(body()).toBe("Method Not Allowed"); + }); + + it("keeps the status set by a rewrite", async () => { + const { res, body } = await serve("GET", 403); + + expect(res.statusCode).toBe(403); + expect(body()).toBe("

hello

"); + }); +}); diff --git a/packages/tests-unit/tests/overrides/imageLoader/fs-dev.test.ts b/packages/tests-unit/tests/overrides/imageLoader/fs-dev.test.ts new file mode 100644 index 00000000..373017a5 --- /dev/null +++ b/packages/tests-unit/tests/overrides/imageLoader/fs-dev.test.ts @@ -0,0 +1,40 @@ +import fs from "node:fs"; +import os from "node:os"; +import path from "node:path"; +import { text } from "node:stream/consumers"; + +import loader from "@opennextjs/core/overrides/imageLoader/fs-dev.js"; +import { beforeEach, describe, expect, it, vi } from "vitest"; + +const { root } = vi.hoisted(() => ({ root: { dir: "" } })); + +vi.mock("@opennextjs/core/adapters/config/index.js", () => ({ NextConfig: {} })); +vi.mock("@opennextjs/core/utils/normalize-path.js", () => ({ + getMonorepoRelativePath: () => root.dir, +})); + +describe("fs-dev image loader", () => { + beforeEach(() => { + root.dir = fs.mkdtempSync(path.join(os.tmpdir(), "fs-dev-loader-")); + fs.mkdirSync(path.join(root.dir, "assets")); + }); + + it("loads an image from the assets", async () => { + fs.writeFileSync(path.join(root.dir, "assets/a.png"), "image"); + + const { body, contentType } = await loader.load("/a.png"); + + expect(await text(body!)).toBe("image"); + expect(contentType).toBe("image/png"); + }); + + it("rejects for a directory, which can be opened but not read", async () => { + fs.mkdirSync(path.join(root.dir, "assets/images")); + + await expect(loader.load("/images")).rejects.toThrow(/not a file/); + }); + + it("rejects for a missing image instead of emitting an error nothing handles", async () => { + await expect(loader.load("/missing.png")).rejects.toThrow(/ENOENT/); + }); +}); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9ec9225e..63e0cf47 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -70,6 +70,9 @@ catalogs: rimraf: specifier: ^6.0.1 version: 6.1.2 + tsx: + specifier: ^4.19.2 + version: 4.20.5 typescript: specifier: ^6.0.3 version: 6.0.3 @@ -147,7 +150,7 @@ importers: version: link:../../../packages/cloudflare next: specifier: catalog:e2e - version: 16.2.1(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.0.3(react@19.0.3))(react@19.0.3) + version: 16.2.1(@babel/core@7.25.9(supports-color@10.2.2))(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.0.3(react@19.0.3))(react@19.0.3) react: specifier: catalog:e2e version: 19.0.3 @@ -193,7 +196,7 @@ importers: version: link:../../../packages/cloudflare next: specifier: catalog:e2e - version: 16.2.1(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.0.3(react@19.0.3))(react@19.0.3) + version: 16.2.1(@babel/core@7.25.9(supports-color@10.2.2))(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.0.3(react@19.0.3))(react@19.0.3) react: specifier: catalog:e2e version: 19.0.3 @@ -236,7 +239,7 @@ importers: version: link:../../../packages/cloudflare next: specifier: catalog:e2e - version: 16.2.1(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.0.3(react@19.0.3))(react@19.0.3) + version: 16.2.1(@babel/core@7.25.9(supports-color@10.2.2))(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.0.3(react@19.0.3))(react@19.0.3) react: specifier: catalog:e2e version: 19.0.3 @@ -273,7 +276,7 @@ importers: version: link:../../../packages/cloudflare next: specifier: catalog:e2e - version: 16.2.1(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.0.3(react@19.0.3))(react@19.0.3) + version: 16.2.1(@babel/core@7.25.9(supports-color@10.2.2))(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.0.3(react@19.0.3))(react@19.0.3) react: specifier: catalog:e2e version: 19.0.3 @@ -313,7 +316,7 @@ importers: dependencies: next: specifier: catalog:e2e - version: 16.2.1(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.0.3(react@19.0.3))(react@19.0.3) + version: 16.2.1(@babel/core@7.25.9(supports-color@10.2.2))(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.0.3(react@19.0.3))(react@19.0.3) react: specifier: catalog:e2e version: 19.0.3 @@ -332,7 +335,7 @@ importers: dependencies: next: specifier: catalog:e2e - version: 16.2.1(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.0.3(react@19.0.3))(react@19.0.3) + version: 16.2.1(@babel/core@7.25.9(supports-color@10.2.2))(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.0.3(react@19.0.3))(react@19.0.3) react: specifier: catalog:e2e version: 19.0.3 @@ -366,7 +369,7 @@ importers: dependencies: next: specifier: catalog:e2e - version: 16.2.1(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.0.3(react@19.0.3))(react@19.0.3) + version: 16.2.1(@babel/core@7.25.9(supports-color@10.2.2))(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.0.3(react@19.0.3))(react@19.0.3) react: specifier: catalog:e2e version: 19.0.3 @@ -400,7 +403,7 @@ importers: dependencies: next: specifier: catalog:e2e - version: 16.2.1(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.0.3(react@19.0.3))(react@19.0.3) + version: 16.2.1(@babel/core@7.25.9(supports-color@10.2.2))(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.0.3(react@19.0.3))(react@19.0.3) react: specifier: catalog:e2e version: 19.0.3 @@ -434,7 +437,7 @@ importers: dependencies: next: specifier: catalog:e2e - version: 16.2.1(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.0.3(react@19.0.3))(react@19.0.3) + version: 16.2.1(@babel/core@7.25.9(supports-color@10.2.2))(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.0.3(react@19.0.3))(react@19.0.3) react: specifier: catalog:e2e version: 19.0.3 @@ -468,7 +471,7 @@ importers: dependencies: next: specifier: catalog:e2e - version: 16.2.1(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.0.3(react@19.0.3))(react@19.0.3) + version: 16.2.1(@babel/core@7.25.9(supports-color@10.2.2))(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.0.3(react@19.0.3))(react@19.0.3) react: specifier: catalog:e2e version: 19.0.3 @@ -502,7 +505,7 @@ importers: dependencies: next: specifier: 16.2.1 - version: 16.2.1(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) + version: 16.2.1(@babel/core@7.25.9(supports-color@10.2.2))(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) react: specifier: 19.2.3 version: 19.2.3 @@ -545,10 +548,10 @@ importers: version: 6.7.0 '@prisma/client': specifier: 6.7.0 - version: 6.7.0(prisma@6.7.0(typescript@6.0.3))(typescript@6.0.3) + version: 6.7.0(prisma@6.7.0(supports-color@10.2.2)(typescript@6.0.3))(typescript@6.0.3) next: specifier: catalog:e2e - version: 16.2.1(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.0.3(react@19.0.3))(react@19.0.3) + version: 16.2.1(@babel/core@7.25.9(supports-color@10.2.2))(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.0.3(react@19.0.3))(react@19.0.3) react: specifier: catalog:e2e version: 19.0.3 @@ -567,7 +570,7 @@ importers: version: 19.0.3(@types/react@19.0.3) prisma: specifier: 6.7.0 - version: 6.7.0(typescript@6.0.3) + version: 6.7.0(supports-color@10.2.2)(typescript@6.0.3) typescript: specifier: 'catalog:' version: 6.0.3 @@ -585,13 +588,13 @@ importers: version: link:../../packages/aws express: specifier: ^5.2.1 - version: 5.2.1 + version: 5.2.1(supports-color@10.2.2) express-http-proxy: specifier: 2.1.1 - version: 2.1.1 + version: 2.1.1(supports-color@10.2.2) next: specifier: catalog:aws - version: 16.2.1(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) + version: 16.2.1(@babel/core@7.25.9(supports-color@10.2.2))(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) react: specifier: catalog:aws version: 19.2.3 @@ -640,7 +643,7 @@ importers: version: link:../shared next: specifier: catalog:aws - version: 16.2.1(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) + version: 16.2.1(@babel/core@7.25.9(supports-color@10.2.2))(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) react: specifier: catalog:aws version: 19.2.3 @@ -680,7 +683,7 @@ importers: dependencies: next: specifier: 16.2.0-canary.45 - version: 16.2.0-canary.45(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.2.4(react@19.2.4))(react@19.2.4) + version: 16.2.0-canary.45(@babel/core@7.25.9(supports-color@10.2.2))(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.2.4(react@19.2.4))(react@19.2.4) react: specifier: 19.2.4 version: 19.2.4 @@ -714,7 +717,7 @@ importers: version: link:../shared next: specifier: catalog:aws - version: 16.2.1(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) + version: 16.2.1(@babel/core@7.25.9(supports-color@10.2.2))(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) react: specifier: catalog:aws version: 19.2.3 @@ -748,7 +751,7 @@ importers: dependencies: next: specifier: catalog:aws - version: 16.2.1(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) + version: 16.2.1(@babel/core@7.25.9(supports-color@10.2.2))(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) react: specifier: catalog:aws version: 19.2.3 @@ -773,7 +776,7 @@ importers: version: 10.3.0 sst: specifier: ^2.43.6 - version: 2.44.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0))(@types/react@19.2.9)(aws-crt@1.23.0)(better-sqlite3@11.10.0) + version: 2.44.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(@types/react@19.2.9)(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))(better-sqlite3@11.10.0)(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2) packages/aws: dependencies: @@ -782,19 +785,19 @@ importers: version: 0.40.5 '@aws-sdk/client-cloudfront': specifier: 3.984.0 - version: 3.984.0(aws-crt@1.23.0) + version: 3.984.0(aws-crt@1.23.0(supports-color@10.2.2)) '@aws-sdk/client-dynamodb': specifier: 3.984.0 - version: 3.984.0(aws-crt@1.23.0) + version: 3.984.0(aws-crt@1.23.0(supports-color@10.2.2)) '@aws-sdk/client-lambda': specifier: 3.984.0 - version: 3.984.0(aws-crt@1.23.0) + version: 3.984.0(aws-crt@1.23.0(supports-color@10.2.2)) '@aws-sdk/client-s3': specifier: 3.984.0 - version: 3.984.0(aws-crt@1.23.0) + version: 3.984.0(aws-crt@1.23.0(supports-color@10.2.2)) '@aws-sdk/client-sqs': specifier: 3.984.0 - version: 3.984.0(aws-crt@1.23.0) + version: 3.984.0(aws-crt@1.23.0(supports-color@10.2.2)) '@node-minify/core': specifier: ^8.0.6 version: 8.0.6 @@ -821,10 +824,10 @@ importers: version: 0.27.0 express: specifier: ^5.2.1 - version: 5.2.1 + version: 5.2.1(supports-color@10.2.2) next: specifier: 16.2.1 - version: 16.2.1(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.2.4(react@19.2.4))(react@19.2.4) + version: 16.2.1(@babel/core@7.25.9(supports-color@10.2.2))(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.2.4(react@19.2.4))(react@19.2.4) path-to-regexp: specifier: ^6.3.0 version: 6.3.0 @@ -925,7 +928,7 @@ importers: version: 5.5.0 next: specifier: catalog:aws - version: 16.2.1(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.2.4(react@19.2.4))(react@19.2.4) + version: 16.2.1(@babel/core@7.25.9(supports-color@10.2.2))(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.2.4(react@19.2.4))(react@19.2.4) picomatch: specifier: ^4.0.2 version: 4.0.3 @@ -937,7 +940,7 @@ importers: version: 6.0.3 vitest: specifier: 'catalog:' - version: 2.1.3(@edge-runtime/vm@3.2.0)(@types/node@24.13.2)(jsdom@22.1.0)(lightningcss@1.30.2)(terser@5.16.9) + version: 2.1.3(@edge-runtime/vm@3.2.0)(@types/node@24.13.2)(jsdom@22.1.0(supports-color@10.2.2))(lightningcss@1.30.2)(supports-color@10.2.2)(terser@5.16.9) packages/core: dependencies: @@ -967,10 +970,10 @@ importers: version: 0.27.0 express: specifier: ^5.2.1 - version: 5.2.1 + version: 5.2.1(supports-color@10.2.2) next: specifier: 16.2.1 - version: 16.2.1(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.2.4(react@19.2.4))(react@19.2.4) + version: 16.2.1(@babel/core@7.25.9(supports-color@10.2.2))(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.2.4(react@19.2.4))(react@19.2.4) path-to-regexp: specifier: ^6.3.0 version: 6.3.0 @@ -1001,7 +1004,7 @@ importers: version: 6.0.3 vitest: specifier: 'catalog:' - version: 2.1.3(@edge-runtime/vm@3.2.0)(@types/node@24.13.2)(jsdom@22.1.0)(lightningcss@1.30.2)(terser@5.16.9) + version: 2.1.3(@edge-runtime/vm@3.2.0)(@types/node@24.13.2)(jsdom@22.1.0(supports-color@10.2.2))(lightningcss@1.30.2)(supports-color@10.2.2)(terser@5.16.9) packages/tests-e2e: devDependencies: @@ -1010,11 +1013,39 @@ importers: version: 1.61.1 start-server-and-test: specifier: 2.0.0 - version: 2.0.0 + version: 2.0.0(supports-color@10.2.2) ts-node: specifier: 10.9.1 version: 10.9.1(@types/node@24.13.2)(typescript@6.0.3) + packages/tests-next-suite: + dependencies: + fast-xml-parser: + specifier: ^5.2.5 + version: 5.5.8 + tsx: + specifier: 'catalog:' + version: 4.20.5 + yaml: + specifier: ^2.8.1 + version: 2.9.0 + devDependencies: + '@tsconfig/strictest': + specifier: 'catalog:' + version: 2.0.8 + '@types/node': + specifier: 'catalog:' + version: 24.13.2 + dotenv: + specifier: ^16.6.1 + version: 16.6.1 + typescript: + specifier: 'catalog:' + version: 6.0.3 + vitest: + specifier: 'catalog:' + version: 2.1.3(@edge-runtime/vm@3.2.0)(@types/node@24.13.2)(jsdom@22.1.0(supports-color@10.2.2))(lightningcss@1.30.2)(supports-color@10.2.2)(terser@5.16.9) + packages/tests-unit: dependencies: '@opennextjs/aws': @@ -1029,22 +1060,22 @@ importers: version: 5.14.9 '@vitest/coverage-v8': specifier: ^2.1.3 - version: 2.1.3(vitest@2.1.3(@edge-runtime/vm@3.2.0)(@types/node@24.13.2)(jsdom@22.1.0)(lightningcss@1.30.2)(terser@5.16.9)) + version: 2.1.3(supports-color@10.2.2)(vitest@2.1.3(@edge-runtime/vm@3.2.0)(@types/node@24.13.2)(jsdom@22.1.0(supports-color@10.2.2))(lightningcss@1.30.2)(supports-color@10.2.2)(terser@5.16.9)) diff: specifier: ^8.0.2 version: 8.0.2 jsdom: specifier: ^22.1.0 - version: 22.1.0 + version: 22.1.0(supports-color@10.2.2) vite: specifier: 5.4.9 version: 5.4.9(@types/node@24.13.2)(lightningcss@1.30.2)(terser@5.16.9) vite-tsconfig-paths: specifier: ^5.0.1 - version: 5.0.1(typescript@5.9.3)(vite@5.4.9(@types/node@24.13.2)(lightningcss@1.30.2)(terser@5.16.9)) + version: 5.0.1(supports-color@10.2.2)(typescript@5.9.3)(vite@5.4.9(@types/node@24.13.2)(lightningcss@1.30.2)(terser@5.16.9)) vitest: specifier: ^2.1.3 - version: 2.1.3(@edge-runtime/vm@3.2.0)(@types/node@24.13.2)(jsdom@22.1.0)(lightningcss@1.30.2)(terser@5.16.9) + version: 2.1.3(@edge-runtime/vm@3.2.0)(@types/node@24.13.2)(jsdom@22.1.0(supports-color@10.2.2))(lightningcss@1.30.2)(supports-color@10.2.2)(terser@5.16.9) packages: @@ -1077,24 +1108,28 @@ packages: engines: {node: '>= 10'} cpu: [arm64] os: [linux] + libc: [glibc] '@ast-grep/napi-linux-arm64-musl@0.40.5': resolution: {integrity: sha512-/qKsmds5FMoaEj6FdNzepbmLMtlFuBLdrAn9GIWCqOIcVcYvM1Nka8+mncfeXB/MFZKOrzQsQdPTWqrrQzXLrA==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] + libc: [musl] '@ast-grep/napi-linux-x64-gnu@0.40.5': resolution: {integrity: sha512-DP4oDbq7f/1A2hRTFLhJfDFR6aI5mRWdEfKfHzRItmlKsR9WlcEl1qDJs/zX9R2EEtIDsSKRzuJNfJllY3/W8Q==} engines: {node: '>= 10'} cpu: [x64] os: [linux] + libc: [glibc] '@ast-grep/napi-linux-x64-musl@0.40.5': resolution: {integrity: sha512-BRZUvVBPUNpWPo6Ns8chXVzxHPY+k9gpsubGTHy92Q26ecZULd/dTkWWdnvfhRqttsSQ9Pe/XQdi5+hDQ6RYcg==} engines: {node: '>= 10'} cpu: [x64] os: [linux] + libc: [musl] '@ast-grep/napi-win32-arm64-msvc@0.40.5': resolution: {integrity: sha512-y95zSEwc7vhxmcrcH0GnK4ZHEBQrmrszRBNQovzaciF9GUqEcCACNLoBesn4V47IaOp4fYgD2/EhGRTIBFb2Ug==} @@ -1866,23 +1901,10 @@ packages: '@cloudflare/containers@0.3.7': resolution: {integrity: sha512-DM9dm3FnIBSyiSJ1FLavKwl/lk3oAmTaynCzZQ9pZR0ncRPquSxkxd8Nu2MFILxmDDsPkxKsSNEh9mHHMty4Fw==} - '@cloudflare/kv-asset-handler@0.4.2': - resolution: {integrity: sha512-SIOD2DxrRRwQ+jgzlXCqoEFiKOFqaPjhnNTGKXSRLvp1HiOvapLaFG2kEr9dYQTYe8rKrd9uvDUzmAITeNyaHQ==} - engines: {node: '>=18.0.0'} - '@cloudflare/kv-asset-handler@0.5.0': resolution: {integrity: sha512-jxQYkj8dSIzc0cD6cMMNdOc1UVjqSqu8BZdor5s8cGjW2I8BjODt/kWPVdY+u9zj3ms75Q5qaZgnxUad83+eAg==} engines: {node: '>=22.0.0'} - '@cloudflare/unenv-preset@2.11.0': - resolution: {integrity: sha512-z3hxFajL765VniNPGV0JRStZolNz63gU3B3AktwoGdDlnQvz5nP+Ah4RL04PONlZQjwmDdGHowEStJ94+RsaJg==} - peerDependencies: - unenv: 2.0.0-rc.24 - workerd: ^1.20260115.0 - peerDependenciesMeta: - workerd: - optional: true - '@cloudflare/unenv-preset@2.16.1': resolution: {integrity: sha512-ECxObrMfyTl5bhQf/lZCXwo5G6xX9IAUo+nDMKK4SZ8m4Jvvxp52vilxyySSWh2YTZz8+HQ07qGH/2rEom1vDw==} peerDependencies: @@ -1892,60 +1914,30 @@ packages: workerd: optional: true - '@cloudflare/workerd-darwin-64@1.20260120.0': - resolution: {integrity: sha512-JLHx3p5dpwz4wjVSis45YNReftttnI3ndhdMh5BUbbpdreN/g0jgxNt5Qp9tDFqEKl++N63qv+hxJiIIvSLR+Q==} - engines: {node: '>=16'} - cpu: [x64] - os: [darwin] - '@cloudflare/workerd-darwin-64@1.20260710.1': resolution: {integrity: sha512-OqJl2eWF5+y9jarMm3YqqCTUe7Hd4ihogX5jyRU8iaAgOVyDr/Bk6aXpPCVUi1/MHzO93a18R/TmSTtzmB0sQw==} engines: {node: '>=16'} cpu: [x64] os: [darwin] - '@cloudflare/workerd-darwin-arm64@1.20260120.0': - resolution: {integrity: sha512-1Md2tCRhZjwajsZNOiBeOVGiS3zbpLPzUDjHr4+XGTXWOA6FzzwScJwQZLa0Doc28Cp4Nr1n7xGL0Dwiz1XuOA==} - engines: {node: '>=16'} - cpu: [arm64] - os: [darwin] - '@cloudflare/workerd-darwin-arm64@1.20260710.1': resolution: {integrity: sha512-MYBqWgUblO+VlGvO73zYsH3hB9tdRj+yLyt5IHDFWryipb2l1efmNiWtAOkIhSRfypqLYGFrfpaDm2Hg00XVKw==} engines: {node: '>=16'} cpu: [arm64] os: [darwin] - '@cloudflare/workerd-linux-64@1.20260120.0': - resolution: {integrity: sha512-O0mIfJfvU7F8N5siCoRDaVDuI12wkz2xlG4zK6/Ct7U9c9FiE0ViXNFWXFQm5PPj+qbkNRyhjUwhP+GCKTk5EQ==} - engines: {node: '>=16'} - cpu: [x64] - os: [linux] - '@cloudflare/workerd-linux-64@1.20260710.1': resolution: {integrity: sha512-lVWUgqI8qrkqvaCBGElu1kdaUFdAvaS2RD8K4qkCFP9hI3f5TCXumEs5qWSeZkvKum0+X/uJZ5hBFWsYI5SmoQ==} engines: {node: '>=16'} cpu: [x64] os: [linux] - '@cloudflare/workerd-linux-arm64@1.20260120.0': - resolution: {integrity: sha512-aRHO/7bjxVpjZEmVVcpmhbzpN6ITbFCxuLLZSW0H9O0C0w40cDCClWSi19T87Ax/PQcYjFNT22pTewKsupkckA==} - engines: {node: '>=16'} - cpu: [arm64] - os: [linux] - '@cloudflare/workerd-linux-arm64@1.20260710.1': resolution: {integrity: sha512-kDwDPItBjAI4JL0df9Fma2N+Qggbm77IB/DnroAkEGQ79fpR80sYMyuB/ZQKyjEk9f48Ocq7HCCLq59qVSyNqA==} engines: {node: '>=16'} cpu: [arm64] os: [linux] - '@cloudflare/workerd-windows-64@1.20260120.0': - resolution: {integrity: sha512-ASZIz1E8sqZQqQCgcfY1PJbBpUDrxPt8NZ+lqNil0qxnO4qX38hbCsdDF2/TDAuq0Txh7nu8ztgTelfNDlb4EA==} - engines: {node: '>=16'} - cpu: [x64] - os: [win32] - '@cloudflare/workerd-windows-64@1.20260710.1': resolution: {integrity: sha512-GcLHy1oN1dfK6g1Z7UDV9f5xMGyTfPwcjWQ0sfWKH31IsoEVCRapnj3IC0PoIrDbnoo6irGPP0CwVs3WzdTajw==} engines: {node: '>=16'} @@ -2804,89 +2796,105 @@ packages: resolution: {integrity: sha512-excjX8DfsIcJ10x1Kzr4RcWe1edC9PquDRRPx3YVCvQv+U5p7Yin2s32ftzikXojb1PIFc/9Mt28/y+iRklkrw==} cpu: [arm64] os: [linux] + libc: [glibc] '@img/sharp-libvips-linux-arm@1.2.4': resolution: {integrity: sha512-bFI7xcKFELdiNCVov8e44Ia4u2byA+l3XtsAj+Q8tfCwO6BQ8iDojYdvoPMqsKDkuoOo+X6HZA0s0q11ANMQ8A==} cpu: [arm] os: [linux] + libc: [glibc] '@img/sharp-libvips-linux-ppc64@1.2.4': resolution: {integrity: sha512-FMuvGijLDYG6lW+b/UvyilUWu5Ayu+3r2d1S8notiGCIyYU/76eig1UfMmkZ7vwgOrzKzlQbFSuQfgm7GYUPpA==} cpu: [ppc64] os: [linux] + libc: [glibc] '@img/sharp-libvips-linux-riscv64@1.2.4': resolution: {integrity: sha512-oVDbcR4zUC0ce82teubSm+x6ETixtKZBh/qbREIOcI3cULzDyb18Sr/Wcyx7NRQeQzOiHTNbZFF1UwPS2scyGA==} cpu: [riscv64] os: [linux] + libc: [glibc] '@img/sharp-libvips-linux-s390x@1.2.4': resolution: {integrity: sha512-qmp9VrzgPgMoGZyPvrQHqk02uyjA0/QrTO26Tqk6l4ZV0MPWIW6LTkqOIov+J1yEu7MbFQaDpwdwJKhbJvuRxQ==} cpu: [s390x] os: [linux] + libc: [glibc] '@img/sharp-libvips-linux-x64@1.2.4': resolution: {integrity: sha512-tJxiiLsmHc9Ax1bz3oaOYBURTXGIRDODBqhveVHonrHJ9/+k89qbLl0bcJns+e4t4rvaNBxaEZsFtSfAdquPrw==} cpu: [x64] os: [linux] + libc: [glibc] '@img/sharp-libvips-linuxmusl-arm64@1.2.4': resolution: {integrity: sha512-FVQHuwx1IIuNow9QAbYUzJ+En8KcVm9Lk5+uGUQJHaZmMECZmOlix9HnH7n1TRkXMS0pGxIJokIVB9SuqZGGXw==} cpu: [arm64] os: [linux] + libc: [musl] '@img/sharp-libvips-linuxmusl-x64@1.2.4': resolution: {integrity: sha512-+LpyBk7L44ZIXwz/VYfglaX/okxezESc6UxDSoyo2Ks6Jxc4Y7sGjpgU9s4PMgqgjj1gZCylTieNamqA1MF7Dg==} cpu: [x64] os: [linux] + libc: [musl] '@img/sharp-linux-arm64@0.34.5': resolution: {integrity: sha512-bKQzaJRY/bkPOXyKx5EVup7qkaojECG6NLYswgktOZjaXecSAeCWiZwwiFf3/Y+O1HrauiE3FVsGxFg8c24rZg==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} cpu: [arm64] os: [linux] + libc: [glibc] '@img/sharp-linux-arm@0.34.5': resolution: {integrity: sha512-9dLqsvwtg1uuXBGZKsxem9595+ujv0sJ6Vi8wcTANSFpwV/GONat5eCkzQo/1O6zRIkh0m/8+5BjrRr7jDUSZw==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} cpu: [arm] os: [linux] + libc: [glibc] '@img/sharp-linux-ppc64@0.34.5': resolution: {integrity: sha512-7zznwNaqW6YtsfrGGDA6BRkISKAAE1Jo0QdpNYXNMHu2+0dTrPflTLNkpc8l7MUP5M16ZJcUvysVWWrMefZquA==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} cpu: [ppc64] os: [linux] + libc: [glibc] '@img/sharp-linux-riscv64@0.34.5': resolution: {integrity: sha512-51gJuLPTKa7piYPaVs8GmByo7/U7/7TZOq+cnXJIHZKavIRHAP77e3N2HEl3dgiqdD/w0yUfiJnII77PuDDFdw==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} cpu: [riscv64] os: [linux] + libc: [glibc] '@img/sharp-linux-s390x@0.34.5': resolution: {integrity: sha512-nQtCk0PdKfho3eC5MrbQoigJ2gd1CgddUMkabUj+rBevs8tZ2cULOx46E7oyX+04WGfABgIwmMC0VqieTiR4jg==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} cpu: [s390x] os: [linux] + libc: [glibc] '@img/sharp-linux-x64@0.34.5': resolution: {integrity: sha512-MEzd8HPKxVxVenwAa+JRPwEC7QFjoPWuS5NZnBt6B3pu7EG2Ge0id1oLHZpPJdn3OQK+BQDiw9zStiHBTJQQQQ==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} cpu: [x64] os: [linux] + libc: [glibc] '@img/sharp-linuxmusl-arm64@0.34.5': resolution: {integrity: sha512-fprJR6GtRsMt6Kyfq44IsChVZeGN97gTD331weR1ex1c1rypDEABN6Tm2xa1wE6lYb5DdEnk03NZPqA7Id21yg==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} cpu: [arm64] os: [linux] + libc: [musl] '@img/sharp-linuxmusl-x64@0.34.5': resolution: {integrity: sha512-Jg8wNT1MUzIvhBFxViqrEhWDGzqymo3sV7z7ZsaWbZNDLXRJZoRGrjulp60YYtV4wfY8VIKcWidjojlLcWrd8Q==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} cpu: [x64] os: [linux] + libc: [musl] '@img/sharp-wasm32@0.34.5': resolution: {integrity: sha512-OdWTEiVkY2PHwqkbBI8frFxQQFekHaSSkUIJkwzclWZe64O1X4UlUjqqqLaPbUpMOQk6FBu/HtlGXNblIs0huw==} @@ -3023,48 +3031,56 @@ packages: engines: {node: '>= 10'} cpu: [arm64] os: [linux] + libc: [glibc] '@next/swc-linux-arm64-gnu@16.2.1': resolution: {integrity: sha512-uLn+0BK+C31LTVbQ/QU+UaVrV0rRSJQ8RfniQAHPghDdgE+SlroYqcmFnO5iNjNfVWCyKZHYrs3Nl0mUzWxbBw==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] + libc: [glibc] '@next/swc-linux-arm64-musl@16.2.0-canary.45': resolution: {integrity: sha512-Wl1QdWPfmahXTKOrUcNQya/4BxpgjaQggwPNwWz0IREa8avntIJy6Anilg3CU/dUmA22WTDgm2S5Hs0eV4C+BQ==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] + libc: [musl] '@next/swc-linux-arm64-musl@16.2.1': resolution: {integrity: sha512-ssKq6iMRnHdnycGp9hCuGnXJZ0YPr4/wNwrfE5DbmvEcgl9+yv97/Kq3TPVDfYome1SW5geciLB9aiEqKXQjlQ==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] + libc: [musl] '@next/swc-linux-x64-gnu@16.2.0-canary.45': resolution: {integrity: sha512-69z0oDA2O/PnPRv/kBRD6oRK/AW5t+Cqkp5/8dBO+WZaEo+shcf9EZFD8uPCqrsu7ITiVcDKgUtJzxvouEqm/A==} engines: {node: '>= 10'} cpu: [x64] os: [linux] + libc: [glibc] '@next/swc-linux-x64-gnu@16.2.1': resolution: {integrity: sha512-HQm7SrHRELJ30T1TSmT706IWovFFSRGxfgUkyWJZF/RKBMdbdRWJuFrcpDdE5vy9UXjFOx6L3mRdqH04Mmx0hg==} engines: {node: '>= 10'} cpu: [x64] os: [linux] + libc: [glibc] '@next/swc-linux-x64-musl@16.2.0-canary.45': resolution: {integrity: sha512-9f6p3JP+bUNuG0RWPF2cBBdAuSJo8VuWak9vxGJfLKA9Qqss/EdcNz0z3U+AoAfZ5DhpAxxKliKIuUWxHvUaeQ==} engines: {node: '>= 10'} cpu: [x64] os: [linux] + libc: [musl] '@next/swc-linux-x64-musl@16.2.1': resolution: {integrity: sha512-aV2iUaC/5HGEpbBkE+4B8aHIudoOy5DYekAKOMSHoIYQ66y/wIVeaRx8MS2ZMdxe/HIXlMho4ubdZs/J8441Tg==} engines: {node: '>= 10'} cpu: [x64] os: [linux] + libc: [musl] '@next/swc-win32-arm64-msvc@16.2.0-canary.45': resolution: {integrity: sha512-8ecF4wvdnaxdk7I3pjhb7q7s/UeM8ZjzeL79igcfJpPKjfrajFCg7ss+pmyHaIAH8R8PD47Z11jdTWeffkiWRQ==} @@ -3144,21 +3160,25 @@ packages: resolution: {integrity: sha512-aql/LLYriX/5Ar7o5Qivnp/qMTUPNiOCr7cFLvmvzYZa3XL0H8XtbKUfIVm+9ILR0urXQzcml+L8pLe1p8sgEg==} cpu: [arm64] os: [linux] + libc: [glibc] '@oxfmt/linux-arm64-musl@0.27.0': resolution: {integrity: sha512-6u/kNb7hubthg4u/pn3MK/GJLwPgjDvDDnjjr7TC0/OK/xztef8ToXmycxIQ9OeDNIJJf7Z0Ss/rHnKvQOWzRw==} cpu: [arm64] os: [linux] + libc: [musl] '@oxfmt/linux-x64-gnu@0.27.0': resolution: {integrity: sha512-EhvDfFHO1yrK/Cu75eU1U828lBsW2cV0JITOrka5AjR3PlmnQQ03Mr9ROkWkbPmzAMklXI4Q16eO+4n+7FhS1w==} cpu: [x64] os: [linux] + libc: [glibc] '@oxfmt/linux-x64-musl@0.27.0': resolution: {integrity: sha512-1pgjuwMT5sCekuteYZ7LkDsto7DJouaccwjozHqdWohSj2zJpFeSP2rMaC+6JJ1KD5r9HG9sWRuHZGEaoX9uOw==} cpu: [x64] os: [linux] + libc: [musl] '@oxfmt/win32-arm64@0.27.0': resolution: {integrity: sha512-mmuEhXZEhAYAeyjVTWwGKIA3RSb2b/He9wrXkDJPhmqp8qISUzkVg1dQmLEt4hD+wI5rzR+6vchPt521tzuRDA==} @@ -3184,21 +3204,25 @@ packages: resolution: {integrity: sha512-j4QzfCM8ks+OyM+KKYWDiBEQsm5RCW50H1Wz16wUyoFsobJ+X5qqcJxq6HvkE07m8euYmZelyB0WqsiDoz1v8g==} cpu: [arm64] os: [linux] + libc: [glibc] '@oxlint/linux-arm64-musl@1.42.0': resolution: {integrity: sha512-g5b1Uw7zo6yw4Ymzyd1etKzAY7xAaGA3scwB8tAp3QzuY7CYdfTwlhiLKSAKbd7T/JBgxOXAGNcLDorJyVTXcg==} cpu: [arm64] os: [linux] + libc: [musl] '@oxlint/linux-x64-gnu@1.42.0': resolution: {integrity: sha512-HnD99GD9qAbpV4q9iQil7mXZUJFpoBdDavfcC2CgGLPlawfcV5COzQPNwOgvPVkr7C0cBx6uNCq3S6r9IIiEIg==} cpu: [x64] os: [linux] + libc: [glibc] '@oxlint/linux-x64-musl@1.42.0': resolution: {integrity: sha512-8NTe8A78HHFn+nBi+8qMwIjgv9oIBh+9zqCPNLH56ah4vKOPvbePLI6NIv9qSkmzrBuu8SB+FJ2TH/G05UzbNA==} cpu: [x64] os: [linux] + libc: [musl] '@oxlint/win32-arm64@1.42.0': resolution: {integrity: sha512-lAPS2YAuu+qFqoTNPFcNsxXjwSV0M+dOgAzzVTAN7Yo2ifj+oLOx0GsntWoM78PvQWI7Q827ZxqtU2ImBmDapA==} @@ -3309,46 +3333,55 @@ packages: resolution: {integrity: sha512-0KXvIJQMOImLCVCz9uvvdPgfyWo93aHHp8ui3FrtOP57svqrF/roSSR5pjqL2hcMp0ljeGlU4q9o/rQaAQ3AYA==} cpu: [arm] os: [linux] + libc: [glibc] '@rollup/rollup-linux-arm-musleabihf@4.24.0': resolution: {integrity: sha512-it2BW6kKFVh8xk/BnHfakEeoLPv8STIISekpoF+nBgWM4d55CZKc7T4Dx1pEbTnYm/xEKMgy1MNtYuoA8RFIWw==} cpu: [arm] os: [linux] + libc: [musl] '@rollup/rollup-linux-arm64-gnu@4.24.0': resolution: {integrity: sha512-i0xTLXjqap2eRfulFVlSnM5dEbTVque/3Pi4g2y7cxrs7+a9De42z4XxKLYJ7+OhE3IgxvfQM7vQc43bwTgPwA==} cpu: [arm64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-arm64-musl@4.24.0': resolution: {integrity: sha512-9E6MKUJhDuDh604Qco5yP/3qn3y7SLXYuiC0Rpr89aMScS2UAmK1wHP2b7KAa1nSjWJc/f/Lc0Wl1L47qjiyQw==} cpu: [arm64] os: [linux] + libc: [musl] '@rollup/rollup-linux-powerpc64le-gnu@4.24.0': resolution: {integrity: sha512-2XFFPJ2XMEiF5Zi2EBf4h73oR1V/lycirxZxHZNc93SqDN/IWhYYSYj8I9381ikUFXZrz2v7r2tOVk2NBwxrWw==} cpu: [ppc64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-riscv64-gnu@4.24.0': resolution: {integrity: sha512-M3Dg4hlwuntUCdzU7KjYqbbd+BLq3JMAOhCKdBE3TcMGMZbKkDdJ5ivNdehOssMCIokNHFOsv7DO4rlEOfyKpg==} cpu: [riscv64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-s390x-gnu@4.24.0': resolution: {integrity: sha512-mjBaoo4ocxJppTorZVKWFpy1bfFj9FeCMJqzlMQGjpNPY9JwQi7OuS1axzNIk0nMX6jSgy6ZURDZ2w0QW6D56g==} cpu: [s390x] os: [linux] + libc: [glibc] '@rollup/rollup-linux-x64-gnu@4.24.0': resolution: {integrity: sha512-ZXFk7M72R0YYFN5q13niV0B7G8/5dcQ9JDp8keJSfr3GoZeXEoMHP/HlvqROA3OMbMdfr19IjCeNAnPUG93b6A==} cpu: [x64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-x64-musl@4.24.0': resolution: {integrity: sha512-w1i+L7kAXZNdYl+vFvzSZy8Y1arS7vMgIy8wusXJzRrPyof5LAb02KGr1PD2EkRcl73kHulIID0M501lN+vobQ==} cpu: [x64] os: [linux] + libc: [musl] '@rollup/rollup-win32-arm64-msvc@4.24.0': resolution: {integrity: sha512-VXBrnPWgBpVDCVY6XF3LEW0pOU51KbaHhccHw6AS6vBWIC60eqsH19DAeeObl+g8nKAz04QFdl/Cefta0xQtUQ==} @@ -3763,10 +3796,12 @@ packages: '@smithy/smithy-client@4.10.12': resolution: {integrity: sha512-VKO/HKoQ5OrSHW6AJUmEnUKeXI1/5LfCwO9cwyao7CmLvGnZeM1i36Lyful3LK1XU7HwTVieTqO1y2C/6t3qtA==} engines: {node: '>=18.0.0'} + deprecated: Deprecated due to a bug in custom logger data redaction. See https://github.com/aws/aws-sdk-js-v3/issues/8393. '@smithy/smithy-client@4.12.7': resolution: {integrity: sha512-q3gqnwml60G44FECaEEsdQMplYhDMZYCtYhMCzadCnRnnHIobZJjegmdoUo6ieLQlPUzvrMdIJUpx6DoPmzANQ==} engines: {node: '>=18.0.0'} + deprecated: Deprecated due to a bug in custom logger data redaction. See https://github.com/aws/aws-sdk-js-v3/issues/8393. '@smithy/types@1.2.0': resolution: {integrity: sha512-z1r00TvBqF3dh4aHhya7nz1HhvCg4TRmw51fjMrh5do3h+ngSstt/yKlNbHeb9QxJmFbmN8KEVSWgb1bRvfEoA==} @@ -4082,24 +4117,28 @@ packages: engines: {node: '>= 10'} cpu: [arm64] os: [linux] + libc: [glibc] '@tailwindcss/oxide-linux-arm64-musl@4.1.18': resolution: {integrity: sha512-1px92582HkPQlaaCkdRcio71p8bc8i/ap5807tPRDK/uw953cauQBT8c5tVGkOwrHMfc2Yh6UuxaH4vtTjGvHg==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] + libc: [musl] '@tailwindcss/oxide-linux-x64-gnu@4.1.18': resolution: {integrity: sha512-v3gyT0ivkfBLoZGF9LyHmts0Isc8jHZyVcbzio6Wpzifg/+5ZJpDiRiUhDLkcr7f/r38SWNe7ucxmGW3j3Kb/g==} engines: {node: '>= 10'} cpu: [x64] os: [linux] + libc: [glibc] '@tailwindcss/oxide-linux-x64-musl@4.1.18': resolution: {integrity: sha512-bhJ2y2OQNlcRwwgOAGMY0xTFStt4/wyU6pvI6LSuZpRgKQwxTec0/3Scu91O8ir7qCR3AuepQKLU/kX99FouqQ==} engines: {node: '>= 10'} cpu: [x64] os: [linux] + libc: [musl] '@tailwindcss/oxide-wasm32-wasi@4.1.18': resolution: {integrity: sha512-LffYTvPjODiP6PT16oNeUQJzNVyJl1cjIebq/rWWBF+3eDst5JGEFSc5cWxyRCJ0Mxl+KyIkqRxk1XPEs9x8TA==} @@ -4508,6 +4547,7 @@ packages: aws-sdk@2.1691.0: resolution: {integrity: sha512-/F2YC+DlsY3UBM2Bdnh5RLHOPNibS/+IcjUuhP8XuctyrN+MlL+fWDAiela32LTDk7hMy4rx8MTgvbJ+0blO5g==} engines: {node: '>= 10.0.0'} + deprecated: The AWS SDK for JavaScript (v2) has reached end-of-support, and no longer receives updates. Please migrate your code to use AWS SDK for JavaScript (v3). More info https://a.co/cUPnyil aws4fetch@1.0.20: resolution: {integrity: sha512-/djoAN709iY65ETD6LKCtyyEI04XIBP5xVvfmNxsEP0uJB5tyaGBztSryRr4HqMStr9R06PisQE7m9zDTXKu6g==} @@ -4853,6 +4893,7 @@ packages: crypto-js@4.2.0: resolution: {integrity: sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q==} + deprecated: Active development of CryptoJS has been discontinued. This library is no longer maintained. cssesc@3.0.0: resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==} @@ -4999,10 +5040,6 @@ packages: resolution: {integrity: sha512-tE7ztYzXHIeyvc7N+hR3oi7FIbf/NIjVP9hmAt3yMXzrQ072/fpjGLx2GxNxGxUl5V73MEqYzioOMoVhGMJ5cA==} engines: {node: '>=10'} - dotenv@16.4.5: - resolution: {integrity: sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==} - engines: {node: '>=12'} - dotenv@16.6.1: resolution: {integrity: sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow==} engines: {node: '>=12'} @@ -5867,24 +5904,28 @@ packages: engines: {node: '>= 12.0.0'} cpu: [arm64] os: [linux] + libc: [glibc] lightningcss-linux-arm64-musl@1.30.2: resolution: {integrity: sha512-5Vh9dGeblpTxWHpOx8iauV02popZDsCYMPIgiuw97OJ5uaDsL86cnqSFs5LZkG3ghHoX5isLgWzMs+eD1YzrnA==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [linux] + libc: [musl] lightningcss-linux-x64-gnu@1.30.2: resolution: {integrity: sha512-Cfd46gdmj1vQ+lR6VRTTadNHu6ALuw2pKR9lYq4FnhvgBc4zWY1EtZcAc6EffShbb1MFrIPfLDXD6Xprbnni4w==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [linux] + libc: [glibc] lightningcss-linux-x64-musl@1.30.2: resolution: {integrity: sha512-XJaLUUFXb6/QG2lGIW6aIk6jKdtjtcffUT0NKvIqhSBY3hh9Ch+1LCeH80dR9q9LBjG3ewbDjnumefsLsP6aiA==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [linux] + libc: [musl] lightningcss-win32-arm64-msvc@1.30.2: resolution: {integrity: sha512-FZn+vaj7zLv//D/192WFFVA0RgHawIcHqLX9xuWiQt7P0PtdFEVaxgF9rjM/IRYHQXNnk61/H/gb2Ei+kUQ4xQ==} @@ -6058,11 +6099,6 @@ packages: resolution: {integrity: sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==} engines: {node: '>=10'} - miniflare@4.20260120.0: - resolution: {integrity: sha512-XXZyE2pDKMtP5OLuv0LPHEAzIYhov4jrYjcqrhhqtxGGtXneWOHvXIPo+eV8sqwqWd3R7j4DlEKcyb+87BR49Q==} - engines: {node: '>=18.0.0'} - hasBin: true - miniflare@4.20260710.0: resolution: {integrity: sha512-x1LLRkU6o1p7hiKrB0TRnL0MJn6xFOT+/vrlEQINz5cRDKLP8ru4hBqWTIvXAetzr1acKAnmAaG84pQ4W/K14g==} engines: {node: '>=22.0.0'} @@ -6985,9 +7021,6 @@ packages: strnum@1.0.5: resolution: {integrity: sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==} - strnum@2.1.2: - resolution: {integrity: sha512-l63NF9y/cLROq/yqKXSLtcMeeyOfnSQlfMSlzFt/K73oIaD8DGaQWd7Z34X9GPiKqP5rbSh84Hl4bOlLcjiSrQ==} - strnum@2.2.2: resolution: {integrity: sha512-DnR90I+jtXNSTXWdwrEy9FakW7UX+qUZg28gj5fk2vxxl7uS/3bpI4fjFYVmdK9etptYBPNkpahuQnEwhwECqA==} @@ -7155,6 +7188,7 @@ packages: tsconfck@3.1.4: resolution: {integrity: sha512-kdqWFGVJqe+KGYvlSO9NIaWn9jT1Ny4oKVzAJsKii5eoE9snzTJzL4+MMVOMn+fikWGFmKEylcXL710V/kIPJQ==} engines: {node: ^18 || >=20} + deprecated: unmaintained hasBin: true peerDependencies: typescript: ^5.0.0 @@ -7248,10 +7282,6 @@ packages: resolution: {integrity: sha512-72RFADWFqKmUb2hmmvNODKL3p9hcB6Gt2DOQMis1SEBaV6a4MH8soBvzg+95CYhCKPFedut2JY9bMfrDl9D23g==} engines: {node: '>=14.0'} - undici@7.18.2: - resolution: {integrity: sha512-y+8YjDFzWdQlSE9N5nzKMT3g4a5UBX1HKowfdXh0uvAnTaqqwqB92Jt4UXBAeKekDs5IaDKyJFR4X1gYVCgXcw==} - engines: {node: '>=20.18.1'} - undici@7.28.0: resolution: {integrity: sha512-cRZYrTDwWznlnRiPjggAGxZXanty6M8RV1ff8Wm4LWXBp7/IG8v5DnOm74DtUBp9OONpK75YlPnIjQqX0dBDtA==} engines: {node: '>=20.18.1'} @@ -7301,14 +7331,17 @@ packages: uuid@8.0.0: resolution: {integrity: sha512-jOXGuXZAWdsTH7eZLtyXMqUb9EcWMGZNbL9YcGBJl4MH4nrxHmZJhEHvyLFrkxo+28uLb/NYRcStH48fnD0Vzw==} + deprecated: uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028). hasBin: true uuid@8.3.2: resolution: {integrity: sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==} + deprecated: uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028). hasBin: true uuid@9.0.1: resolution: {integrity: sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==} + deprecated: uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028). hasBin: true v8-compile-cache-lib@3.0.1: @@ -7469,11 +7502,6 @@ packages: worker-timers@7.1.8: resolution: {integrity: sha512-R54psRKYVLuzff7c1OTFcq/4Hue5Vlz4bFtNEIarpSiCYhpifHU3aIQI29S84o1j87ePCYqbmEJPqwBTf+3sfw==} - workerd@1.20260120.0: - resolution: {integrity: sha512-R6X/VQOkwLTBGLp4VRUwLQZZVxZ9T9J8pGiJ6GQUMaRkY7TVWrCSkVfoNMM1/YyFsY5UYhhPoQe5IehnhZ3Pdw==} - engines: {node: '>=16'} - hasBin: true - workerd@1.20260710.1: resolution: {integrity: sha512-U2sBPPrb9U97sBKnnMN6Kv8p65903P35nwMkPE9vSH/bRuRqkZ3a1EjUw3jV28RhiyXpkLF77Evzw8XimFxyTw==} engines: {node: '>=16'} @@ -7489,16 +7517,6 @@ packages: '@cloudflare/workers-types': optional: true - wrangler@4.60.0: - resolution: {integrity: sha512-n4kibm/xY0Qd5G2K/CbAQeVeOIlwPNVglmFjlDRCCYk3hZh8IggO/rg8AXt/vByK2Sxsugl5Z7yvgWxrUbmS6g==} - engines: {node: '>=20.0.0'} - hasBin: true - peerDependencies: - '@cloudflare/workers-types': ^4.20260120.0 - peerDependenciesMeta: - '@cloudflare/workers-types': - optional: true - wrap-ansi@7.0.0: resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} engines: {node: '>=10'} @@ -7756,35 +7774,35 @@ snapshots: '@aws-crypto/sha256-js': 5.2.0 '@aws-crypto/supports-web-crypto': 5.2.0 '@aws-crypto/util': 5.2.0 - '@aws-sdk/types': 3.973.0 + '@aws-sdk/types': 3.973.6 '@aws-sdk/util-locate-window': 3.568.0 '@smithy/util-utf8': 2.3.0 - tslib: 2.8.0 + tslib: 2.8.1 '@aws-crypto/sha256-js@5.2.0': dependencies: '@aws-crypto/util': 5.2.0 - '@aws-sdk/types': 3.973.0 - tslib: 2.8.0 + '@aws-sdk/types': 3.973.6 + tslib: 2.8.1 '@aws-crypto/supports-web-crypto@5.2.0': dependencies: - tslib: 2.8.0 + tslib: 2.8.1 '@aws-crypto/util@5.2.0': dependencies: - '@aws-sdk/types': 3.973.0 + '@aws-sdk/types': 3.973.6 '@smithy/util-utf8': 2.3.0 - tslib: 2.8.0 + tslib: 2.8.1 - '@aws-sdk/client-cloudformation@3.678.0(aws-crt@1.23.0)': + '@aws-sdk/client-cloudformation@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))': dependencies: '@aws-crypto/sha256-browser': 5.2.0 '@aws-crypto/sha256-js': 5.2.0 - '@aws-sdk/client-sso-oidc': 3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0) - '@aws-sdk/client-sts': 3.678.0(aws-crt@1.23.0) + '@aws-sdk/client-sso-oidc': 3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) + '@aws-sdk/client-sts': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/core': 3.678.0 - '@aws-sdk/credential-provider-node': 3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0))(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0) + '@aws-sdk/credential-provider-node': 3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/middleware-host-header': 3.667.0 '@aws-sdk/middleware-logger': 3.667.0 '@aws-sdk/middleware-recursion-detection': 3.667.0 @@ -7793,7 +7811,7 @@ snapshots: '@aws-sdk/types': 3.667.0 '@aws-sdk/util-endpoints': 3.667.0 '@aws-sdk/util-user-agent-browser': 3.675.0 - '@aws-sdk/util-user-agent-node': 3.678.0(aws-crt@1.23.0) + '@aws-sdk/util-user-agent-node': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@smithy/config-resolver': 3.0.10 '@smithy/core': 2.5.1 '@smithy/fetch-http-handler': 3.2.9 @@ -7826,12 +7844,12 @@ snapshots: transitivePeerDependencies: - aws-crt - '@aws-sdk/client-cloudfront@3.984.0(aws-crt@1.23.0)': + '@aws-sdk/client-cloudfront@3.984.0(aws-crt@1.23.0(supports-color@10.2.2))': dependencies: '@aws-crypto/sha256-browser': 5.2.0 '@aws-crypto/sha256-js': 5.2.0 '@aws-sdk/core': 3.973.25 - '@aws-sdk/credential-provider-node': 3.972.27(aws-crt@1.23.0) + '@aws-sdk/credential-provider-node': 3.972.27(aws-crt@1.23.0(supports-color@10.2.2)) '@aws-sdk/middleware-host-header': 3.972.8 '@aws-sdk/middleware-logger': 3.972.8 '@aws-sdk/middleware-recursion-detection': 3.972.9 @@ -7840,7 +7858,7 @@ snapshots: '@aws-sdk/types': 3.973.6 '@aws-sdk/util-endpoints': 3.984.0 '@aws-sdk/util-user-agent-browser': 3.972.8 - '@aws-sdk/util-user-agent-node': 3.973.12(aws-crt@1.23.0) + '@aws-sdk/util-user-agent-node': 3.973.12(aws-crt@1.23.0(supports-color@10.2.2)) '@smithy/config-resolver': 4.4.13 '@smithy/core': 3.23.12 '@smithy/fetch-http-handler': 5.3.15 @@ -7872,14 +7890,14 @@ snapshots: transitivePeerDependencies: - aws-crt - '@aws-sdk/client-cognito-identity@3.678.0(aws-crt@1.23.0)': + '@aws-sdk/client-cognito-identity@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))': dependencies: '@aws-crypto/sha256-browser': 5.2.0 '@aws-crypto/sha256-js': 5.2.0 - '@aws-sdk/client-sso-oidc': 3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0) - '@aws-sdk/client-sts': 3.678.0(aws-crt@1.23.0) + '@aws-sdk/client-sso-oidc': 3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) + '@aws-sdk/client-sts': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/core': 3.678.0 - '@aws-sdk/credential-provider-node': 3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0))(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0) + '@aws-sdk/credential-provider-node': 3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/middleware-host-header': 3.667.0 '@aws-sdk/middleware-logger': 3.667.0 '@aws-sdk/middleware-recursion-detection': 3.667.0 @@ -7888,7 +7906,7 @@ snapshots: '@aws-sdk/types': 3.667.0 '@aws-sdk/util-endpoints': 3.667.0 '@aws-sdk/util-user-agent-browser': 3.675.0 - '@aws-sdk/util-user-agent-node': 3.678.0(aws-crt@1.23.0) + '@aws-sdk/util-user-agent-node': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@smithy/config-resolver': 3.0.10 '@smithy/core': 2.5.1 '@smithy/fetch-http-handler': 3.2.9 @@ -7918,12 +7936,12 @@ snapshots: transitivePeerDependencies: - aws-crt - '@aws-sdk/client-dynamodb@3.984.0(aws-crt@1.23.0)': + '@aws-sdk/client-dynamodb@3.984.0(aws-crt@1.23.0(supports-color@10.2.2))': dependencies: '@aws-crypto/sha256-browser': 5.2.0 '@aws-crypto/sha256-js': 5.2.0 '@aws-sdk/core': 3.973.25 - '@aws-sdk/credential-provider-node': 3.972.27(aws-crt@1.23.0) + '@aws-sdk/credential-provider-node': 3.972.27(aws-crt@1.23.0(supports-color@10.2.2)) '@aws-sdk/dynamodb-codec': 3.972.26 '@aws-sdk/middleware-endpoint-discovery': 3.972.9 '@aws-sdk/middleware-host-header': 3.972.8 @@ -7934,7 +7952,7 @@ snapshots: '@aws-sdk/types': 3.973.6 '@aws-sdk/util-endpoints': 3.984.0 '@aws-sdk/util-user-agent-browser': 3.972.8 - '@aws-sdk/util-user-agent-node': 3.973.12(aws-crt@1.23.0) + '@aws-sdk/util-user-agent-node': 3.973.12(aws-crt@1.23.0(supports-color@10.2.2)) '@smithy/config-resolver': 4.4.13 '@smithy/core': 3.23.12 '@smithy/fetch-http-handler': 5.3.15 @@ -7965,14 +7983,14 @@ snapshots: transitivePeerDependencies: - aws-crt - '@aws-sdk/client-ecs@3.678.0(aws-crt@1.23.0)': + '@aws-sdk/client-ecs@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))': dependencies: '@aws-crypto/sha256-browser': 5.2.0 '@aws-crypto/sha256-js': 5.2.0 - '@aws-sdk/client-sso-oidc': 3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0) - '@aws-sdk/client-sts': 3.678.0(aws-crt@1.23.0) + '@aws-sdk/client-sso-oidc': 3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) + '@aws-sdk/client-sts': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/core': 3.678.0 - '@aws-sdk/credential-provider-node': 3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0))(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0) + '@aws-sdk/credential-provider-node': 3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/middleware-host-header': 3.667.0 '@aws-sdk/middleware-logger': 3.667.0 '@aws-sdk/middleware-recursion-detection': 3.667.0 @@ -7981,7 +7999,7 @@ snapshots: '@aws-sdk/types': 3.667.0 '@aws-sdk/util-endpoints': 3.667.0 '@aws-sdk/util-user-agent-browser': 3.675.0 - '@aws-sdk/util-user-agent-node': 3.678.0(aws-crt@1.23.0) + '@aws-sdk/util-user-agent-node': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@smithy/config-resolver': 3.0.10 '@smithy/core': 2.5.1 '@smithy/fetch-http-handler': 3.2.9 @@ -8014,14 +8032,14 @@ snapshots: transitivePeerDependencies: - aws-crt - '@aws-sdk/client-eventbridge@3.678.0(aws-crt@1.23.0)': + '@aws-sdk/client-eventbridge@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))': dependencies: '@aws-crypto/sha256-browser': 5.2.0 '@aws-crypto/sha256-js': 5.2.0 - '@aws-sdk/client-sso-oidc': 3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0) - '@aws-sdk/client-sts': 3.678.0(aws-crt@1.23.0) + '@aws-sdk/client-sso-oidc': 3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) + '@aws-sdk/client-sts': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/core': 3.678.0 - '@aws-sdk/credential-provider-node': 3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0))(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0) + '@aws-sdk/credential-provider-node': 3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/middleware-host-header': 3.667.0 '@aws-sdk/middleware-logger': 3.667.0 '@aws-sdk/middleware-recursion-detection': 3.667.0 @@ -8031,7 +8049,7 @@ snapshots: '@aws-sdk/types': 3.667.0 '@aws-sdk/util-endpoints': 3.667.0 '@aws-sdk/util-user-agent-browser': 3.675.0 - '@aws-sdk/util-user-agent-node': 3.678.0(aws-crt@1.23.0) + '@aws-sdk/util-user-agent-node': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@smithy/config-resolver': 3.0.10 '@smithy/core': 2.5.1 '@smithy/fetch-http-handler': 3.2.9 @@ -8061,14 +8079,14 @@ snapshots: transitivePeerDependencies: - aws-crt - '@aws-sdk/client-iam@3.678.0(aws-crt@1.23.0)': + '@aws-sdk/client-iam@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))': dependencies: '@aws-crypto/sha256-browser': 5.2.0 '@aws-crypto/sha256-js': 5.2.0 - '@aws-sdk/client-sso-oidc': 3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0) - '@aws-sdk/client-sts': 3.678.0(aws-crt@1.23.0) + '@aws-sdk/client-sso-oidc': 3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) + '@aws-sdk/client-sts': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/core': 3.678.0 - '@aws-sdk/credential-provider-node': 3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0))(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0) + '@aws-sdk/credential-provider-node': 3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/middleware-host-header': 3.667.0 '@aws-sdk/middleware-logger': 3.667.0 '@aws-sdk/middleware-recursion-detection': 3.667.0 @@ -8077,7 +8095,7 @@ snapshots: '@aws-sdk/types': 3.667.0 '@aws-sdk/util-endpoints': 3.667.0 '@aws-sdk/util-user-agent-browser': 3.675.0 - '@aws-sdk/util-user-agent-node': 3.678.0(aws-crt@1.23.0) + '@aws-sdk/util-user-agent-node': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@smithy/config-resolver': 3.0.10 '@smithy/core': 2.5.1 '@smithy/fetch-http-handler': 3.2.9 @@ -8108,14 +8126,14 @@ snapshots: transitivePeerDependencies: - aws-crt - '@aws-sdk/client-iot-data-plane@3.678.0(aws-crt@1.23.0)': + '@aws-sdk/client-iot-data-plane@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))': dependencies: '@aws-crypto/sha256-browser': 5.2.0 '@aws-crypto/sha256-js': 5.2.0 - '@aws-sdk/client-sso-oidc': 3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0) - '@aws-sdk/client-sts': 3.678.0(aws-crt@1.23.0) + '@aws-sdk/client-sso-oidc': 3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) + '@aws-sdk/client-sts': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/core': 3.678.0 - '@aws-sdk/credential-provider-node': 3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0))(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0) + '@aws-sdk/credential-provider-node': 3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/middleware-host-header': 3.667.0 '@aws-sdk/middleware-logger': 3.667.0 '@aws-sdk/middleware-recursion-detection': 3.667.0 @@ -8124,7 +8142,7 @@ snapshots: '@aws-sdk/types': 3.667.0 '@aws-sdk/util-endpoints': 3.667.0 '@aws-sdk/util-user-agent-browser': 3.675.0 - '@aws-sdk/util-user-agent-node': 3.678.0(aws-crt@1.23.0) + '@aws-sdk/util-user-agent-node': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@smithy/config-resolver': 3.0.10 '@smithy/core': 2.5.1 '@smithy/fetch-http-handler': 3.2.9 @@ -8155,14 +8173,14 @@ snapshots: transitivePeerDependencies: - aws-crt - '@aws-sdk/client-iot@3.678.0(aws-crt@1.23.0)': + '@aws-sdk/client-iot@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))': dependencies: '@aws-crypto/sha256-browser': 5.2.0 '@aws-crypto/sha256-js': 5.2.0 - '@aws-sdk/client-sso-oidc': 3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0) - '@aws-sdk/client-sts': 3.678.0(aws-crt@1.23.0) + '@aws-sdk/client-sso-oidc': 3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) + '@aws-sdk/client-sts': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/core': 3.678.0 - '@aws-sdk/credential-provider-node': 3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0))(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0) + '@aws-sdk/credential-provider-node': 3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/middleware-host-header': 3.667.0 '@aws-sdk/middleware-logger': 3.667.0 '@aws-sdk/middleware-recursion-detection': 3.667.0 @@ -8171,7 +8189,7 @@ snapshots: '@aws-sdk/types': 3.667.0 '@aws-sdk/util-endpoints': 3.667.0 '@aws-sdk/util-user-agent-browser': 3.675.0 - '@aws-sdk/util-user-agent-node': 3.678.0(aws-crt@1.23.0) + '@aws-sdk/util-user-agent-node': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@smithy/config-resolver': 3.0.10 '@smithy/core': 2.5.1 '@smithy/fetch-http-handler': 3.2.9 @@ -8203,14 +8221,14 @@ snapshots: transitivePeerDependencies: - aws-crt - '@aws-sdk/client-lambda@3.678.0(aws-crt@1.23.0)': + '@aws-sdk/client-lambda@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))': dependencies: '@aws-crypto/sha256-browser': 5.2.0 '@aws-crypto/sha256-js': 5.2.0 - '@aws-sdk/client-sso-oidc': 3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0) - '@aws-sdk/client-sts': 3.678.0(aws-crt@1.23.0) + '@aws-sdk/client-sso-oidc': 3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) + '@aws-sdk/client-sts': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/core': 3.678.0 - '@aws-sdk/credential-provider-node': 3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0))(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0) + '@aws-sdk/credential-provider-node': 3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/middleware-host-header': 3.667.0 '@aws-sdk/middleware-logger': 3.667.0 '@aws-sdk/middleware-recursion-detection': 3.667.0 @@ -8219,7 +8237,7 @@ snapshots: '@aws-sdk/types': 3.667.0 '@aws-sdk/util-endpoints': 3.667.0 '@aws-sdk/util-user-agent-browser': 3.675.0 - '@aws-sdk/util-user-agent-node': 3.678.0(aws-crt@1.23.0) + '@aws-sdk/util-user-agent-node': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@smithy/config-resolver': 3.0.10 '@smithy/core': 2.5.1 '@smithy/eventstream-serde-browser': 3.0.11 @@ -8254,12 +8272,12 @@ snapshots: transitivePeerDependencies: - aws-crt - '@aws-sdk/client-lambda@3.984.0(aws-crt@1.23.0)': + '@aws-sdk/client-lambda@3.984.0(aws-crt@1.23.0(supports-color@10.2.2))': dependencies: '@aws-crypto/sha256-browser': 5.2.0 '@aws-crypto/sha256-js': 5.2.0 '@aws-sdk/core': 3.973.25 - '@aws-sdk/credential-provider-node': 3.972.27(aws-crt@1.23.0) + '@aws-sdk/credential-provider-node': 3.972.27(aws-crt@1.23.0(supports-color@10.2.2)) '@aws-sdk/middleware-host-header': 3.972.8 '@aws-sdk/middleware-logger': 3.972.8 '@aws-sdk/middleware-recursion-detection': 3.972.9 @@ -8268,7 +8286,7 @@ snapshots: '@aws-sdk/types': 3.973.6 '@aws-sdk/util-endpoints': 3.984.0 '@aws-sdk/util-user-agent-browser': 3.972.8 - '@aws-sdk/util-user-agent-node': 3.973.12(aws-crt@1.23.0) + '@aws-sdk/util-user-agent-node': 3.973.12(aws-crt@1.23.0(supports-color@10.2.2)) '@smithy/config-resolver': 4.4.13 '@smithy/core': 3.23.12 '@smithy/eventstream-serde-browser': 4.2.8 @@ -8303,14 +8321,14 @@ snapshots: transitivePeerDependencies: - aws-crt - '@aws-sdk/client-rds-data@3.678.0(aws-crt@1.23.0)': + '@aws-sdk/client-rds-data@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))': dependencies: '@aws-crypto/sha256-browser': 5.2.0 '@aws-crypto/sha256-js': 5.2.0 - '@aws-sdk/client-sso-oidc': 3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0) - '@aws-sdk/client-sts': 3.678.0(aws-crt@1.23.0) + '@aws-sdk/client-sso-oidc': 3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) + '@aws-sdk/client-sts': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/core': 3.678.0 - '@aws-sdk/credential-provider-node': 3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0))(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0) + '@aws-sdk/credential-provider-node': 3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/middleware-host-header': 3.667.0 '@aws-sdk/middleware-logger': 3.667.0 '@aws-sdk/middleware-recursion-detection': 3.667.0 @@ -8319,7 +8337,7 @@ snapshots: '@aws-sdk/types': 3.667.0 '@aws-sdk/util-endpoints': 3.667.0 '@aws-sdk/util-user-agent-browser': 3.675.0 - '@aws-sdk/util-user-agent-node': 3.678.0(aws-crt@1.23.0) + '@aws-sdk/util-user-agent-node': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@smithy/config-resolver': 3.0.10 '@smithy/core': 2.5.1 '@smithy/fetch-http-handler': 3.2.9 @@ -8349,13 +8367,13 @@ snapshots: transitivePeerDependencies: - aws-crt - '@aws-sdk/client-s3@3.974.0(aws-crt@1.23.0)': + '@aws-sdk/client-s3@3.974.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))': dependencies: '@aws-crypto/sha1-browser': 5.2.0 '@aws-crypto/sha256-browser': 5.2.0 '@aws-crypto/sha256-js': 5.2.0 '@aws-sdk/core': 3.973.0 - '@aws-sdk/credential-provider-node': 3.972.1(aws-crt@1.23.0) + '@aws-sdk/credential-provider-node': 3.972.1(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/middleware-bucket-endpoint': 3.972.1 '@aws-sdk/middleware-expect-continue': 3.972.1 '@aws-sdk/middleware-flexible-checksums': 3.972.1 @@ -8371,7 +8389,7 @@ snapshots: '@aws-sdk/types': 3.973.0 '@aws-sdk/util-endpoints': 3.972.0 '@aws-sdk/util-user-agent-browser': 3.972.1 - '@aws-sdk/util-user-agent-node': 3.972.1(aws-crt@1.23.0) + '@aws-sdk/util-user-agent-node': 3.972.1(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@smithy/config-resolver': 4.4.6 '@smithy/core': 3.21.1 '@smithy/eventstream-serde-browser': 4.2.8 @@ -8409,13 +8427,13 @@ snapshots: transitivePeerDependencies: - aws-crt - '@aws-sdk/client-s3@3.984.0(aws-crt@1.23.0)': + '@aws-sdk/client-s3@3.984.0(aws-crt@1.23.0(supports-color@10.2.2))': dependencies: '@aws-crypto/sha1-browser': 5.2.0 '@aws-crypto/sha256-browser': 5.2.0 '@aws-crypto/sha256-js': 5.2.0 '@aws-sdk/core': 3.973.25 - '@aws-sdk/credential-provider-node': 3.972.27(aws-crt@1.23.0) + '@aws-sdk/credential-provider-node': 3.972.27(aws-crt@1.23.0(supports-color@10.2.2)) '@aws-sdk/middleware-bucket-endpoint': 3.972.8 '@aws-sdk/middleware-expect-continue': 3.972.8 '@aws-sdk/middleware-flexible-checksums': 3.974.5 @@ -8431,7 +8449,7 @@ snapshots: '@aws-sdk/types': 3.973.6 '@aws-sdk/util-endpoints': 3.984.0 '@aws-sdk/util-user-agent-browser': 3.972.8 - '@aws-sdk/util-user-agent-node': 3.973.12(aws-crt@1.23.0) + '@aws-sdk/util-user-agent-node': 3.973.12(aws-crt@1.23.0(supports-color@10.2.2)) '@smithy/config-resolver': 4.4.13 '@smithy/core': 3.23.12 '@smithy/eventstream-serde-browser': 4.2.8 @@ -8469,12 +8487,12 @@ snapshots: transitivePeerDependencies: - aws-crt - '@aws-sdk/client-sqs@3.984.0(aws-crt@1.23.0)': + '@aws-sdk/client-sqs@3.984.0(aws-crt@1.23.0(supports-color@10.2.2))': dependencies: '@aws-crypto/sha256-browser': 5.2.0 '@aws-crypto/sha256-js': 5.2.0 '@aws-sdk/core': 3.973.25 - '@aws-sdk/credential-provider-node': 3.972.27(aws-crt@1.23.0) + '@aws-sdk/credential-provider-node': 3.972.27(aws-crt@1.23.0(supports-color@10.2.2)) '@aws-sdk/middleware-host-header': 3.972.8 '@aws-sdk/middleware-logger': 3.972.8 '@aws-sdk/middleware-recursion-detection': 3.972.9 @@ -8484,7 +8502,7 @@ snapshots: '@aws-sdk/types': 3.973.6 '@aws-sdk/util-endpoints': 3.984.0 '@aws-sdk/util-user-agent-browser': 3.972.8 - '@aws-sdk/util-user-agent-node': 3.973.12(aws-crt@1.23.0) + '@aws-sdk/util-user-agent-node': 3.973.12(aws-crt@1.23.0(supports-color@10.2.2)) '@smithy/config-resolver': 4.4.13 '@smithy/core': 3.23.12 '@smithy/fetch-http-handler': 5.3.15 @@ -8515,14 +8533,14 @@ snapshots: transitivePeerDependencies: - aws-crt - '@aws-sdk/client-ssm@3.678.0(aws-crt@1.23.0)': + '@aws-sdk/client-ssm@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))': dependencies: '@aws-crypto/sha256-browser': 5.2.0 '@aws-crypto/sha256-js': 5.2.0 - '@aws-sdk/client-sso-oidc': 3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0) - '@aws-sdk/client-sts': 3.678.0(aws-crt@1.23.0) + '@aws-sdk/client-sso-oidc': 3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) + '@aws-sdk/client-sts': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/core': 3.678.0 - '@aws-sdk/credential-provider-node': 3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0))(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0) + '@aws-sdk/credential-provider-node': 3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/middleware-host-header': 3.667.0 '@aws-sdk/middleware-logger': 3.667.0 '@aws-sdk/middleware-recursion-detection': 3.667.0 @@ -8531,7 +8549,7 @@ snapshots: '@aws-sdk/types': 3.667.0 '@aws-sdk/util-endpoints': 3.667.0 '@aws-sdk/util-user-agent-browser': 3.675.0 - '@aws-sdk/util-user-agent-node': 3.678.0(aws-crt@1.23.0) + '@aws-sdk/util-user-agent-node': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@smithy/config-resolver': 3.0.10 '@smithy/core': 2.5.1 '@smithy/fetch-http-handler': 3.2.9 @@ -8564,13 +8582,13 @@ snapshots: transitivePeerDependencies: - aws-crt - '@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0)': + '@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))': dependencies: '@aws-crypto/sha256-browser': 5.2.0 '@aws-crypto/sha256-js': 5.2.0 - '@aws-sdk/client-sts': 3.678.0(aws-crt@1.23.0) + '@aws-sdk/client-sts': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/core': 3.678.0 - '@aws-sdk/credential-provider-node': 3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0))(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0) + '@aws-sdk/credential-provider-node': 3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/middleware-host-header': 3.667.0 '@aws-sdk/middleware-logger': 3.667.0 '@aws-sdk/middleware-recursion-detection': 3.667.0 @@ -8579,7 +8597,7 @@ snapshots: '@aws-sdk/types': 3.667.0 '@aws-sdk/util-endpoints': 3.667.0 '@aws-sdk/util-user-agent-browser': 3.675.0 - '@aws-sdk/util-user-agent-node': 3.678.0(aws-crt@1.23.0) + '@aws-sdk/util-user-agent-node': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@smithy/config-resolver': 3.0.10 '@smithy/core': 2.5.1 '@smithy/fetch-http-handler': 3.2.9 @@ -8605,11 +8623,11 @@ snapshots: '@smithy/util-middleware': 3.0.8 '@smithy/util-retry': 3.0.8 '@smithy/util-utf8': 3.0.0 - tslib: 2.8.0 + tslib: 2.8.1 transitivePeerDependencies: - aws-crt - '@aws-sdk/client-sso@3.678.0(aws-crt@1.23.0)': + '@aws-sdk/client-sso@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))': dependencies: '@aws-crypto/sha256-browser': 5.2.0 '@aws-crypto/sha256-js': 5.2.0 @@ -8622,7 +8640,7 @@ snapshots: '@aws-sdk/types': 3.667.0 '@aws-sdk/util-endpoints': 3.667.0 '@aws-sdk/util-user-agent-browser': 3.675.0 - '@aws-sdk/util-user-agent-node': 3.678.0(aws-crt@1.23.0) + '@aws-sdk/util-user-agent-node': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@smithy/config-resolver': 3.0.10 '@smithy/core': 2.5.1 '@smithy/fetch-http-handler': 3.2.9 @@ -8652,7 +8670,7 @@ snapshots: transitivePeerDependencies: - aws-crt - '@aws-sdk/client-sso@3.974.0(aws-crt@1.23.0)': + '@aws-sdk/client-sso@3.974.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))': dependencies: '@aws-crypto/sha256-browser': 5.2.0 '@aws-crypto/sha256-js': 5.2.0 @@ -8665,7 +8683,7 @@ snapshots: '@aws-sdk/types': 3.973.0 '@aws-sdk/util-endpoints': 3.972.0 '@aws-sdk/util-user-agent-browser': 3.972.1 - '@aws-sdk/util-user-agent-node': 3.972.1(aws-crt@1.23.0) + '@aws-sdk/util-user-agent-node': 3.972.1(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@smithy/config-resolver': 4.4.6 '@smithy/core': 3.21.1 '@smithy/fetch-http-handler': 5.3.9 @@ -8695,13 +8713,13 @@ snapshots: transitivePeerDependencies: - aws-crt - '@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0)': + '@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))': dependencies: '@aws-crypto/sha256-browser': 5.2.0 '@aws-crypto/sha256-js': 5.2.0 - '@aws-sdk/client-sso-oidc': 3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0) + '@aws-sdk/client-sso-oidc': 3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/core': 3.678.0 - '@aws-sdk/credential-provider-node': 3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0))(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0) + '@aws-sdk/credential-provider-node': 3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/middleware-host-header': 3.667.0 '@aws-sdk/middleware-logger': 3.667.0 '@aws-sdk/middleware-recursion-detection': 3.667.0 @@ -8710,7 +8728,7 @@ snapshots: '@aws-sdk/types': 3.667.0 '@aws-sdk/util-endpoints': 3.667.0 '@aws-sdk/util-user-agent-browser': 3.675.0 - '@aws-sdk/util-user-agent-node': 3.678.0(aws-crt@1.23.0) + '@aws-sdk/util-user-agent-node': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@smithy/config-resolver': 3.0.10 '@smithy/core': 2.5.1 '@smithy/fetch-http-handler': 3.2.9 @@ -8736,7 +8754,7 @@ snapshots: '@smithy/util-middleware': 3.0.8 '@smithy/util-retry': 3.0.8 '@smithy/util-utf8': 3.0.0 - tslib: 2.8.0 + tslib: 2.8.1 transitivePeerDependencies: - aws-crt @@ -8757,7 +8775,7 @@ snapshots: '@smithy/types': 3.6.0 '@smithy/util-middleware': 3.0.8 fast-xml-parser: 4.4.1 - tslib: 2.8.0 + tslib: 2.8.1 '@aws-sdk/core@3.972.0': dependencies: @@ -8817,9 +8835,9 @@ snapshots: '@smithy/types': 4.13.1 tslib: 2.8.1 - '@aws-sdk/credential-provider-cognito-identity@3.678.0(aws-crt@1.23.0)': + '@aws-sdk/credential-provider-cognito-identity@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))': dependencies: - '@aws-sdk/client-cognito-identity': 3.678.0(aws-crt@1.23.0) + '@aws-sdk/client-cognito-identity': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/types': 3.667.0 '@smithy/property-provider': 3.1.8 '@smithy/types': 3.6.0 @@ -8890,15 +8908,15 @@ snapshots: '@smithy/util-stream': 4.5.20 tslib: 2.8.1 - '@aws-sdk/credential-provider-ini@3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0))(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0)': + '@aws-sdk/credential-provider-ini@3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))': dependencies: - '@aws-sdk/client-sts': 3.678.0(aws-crt@1.23.0) + '@aws-sdk/client-sts': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/core': 3.678.0 '@aws-sdk/credential-provider-env': 3.678.0 '@aws-sdk/credential-provider-http': 3.678.0 '@aws-sdk/credential-provider-process': 3.678.0 - '@aws-sdk/credential-provider-sso': 3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0))(aws-crt@1.23.0) - '@aws-sdk/credential-provider-web-identity': 3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0)) + '@aws-sdk/credential-provider-sso': 3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) + '@aws-sdk/credential-provider-web-identity': 3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))) '@aws-sdk/types': 3.667.0 '@smithy/credential-provider-imds': 3.2.5 '@smithy/property-provider': 3.1.8 @@ -8909,16 +8927,16 @@ snapshots: - '@aws-sdk/client-sso-oidc' - aws-crt - '@aws-sdk/credential-provider-ini@3.972.1(aws-crt@1.23.0)': + '@aws-sdk/credential-provider-ini@3.972.1(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))': dependencies: '@aws-sdk/core': 3.973.0 '@aws-sdk/credential-provider-env': 3.972.1 '@aws-sdk/credential-provider-http': 3.972.1 - '@aws-sdk/credential-provider-login': 3.972.1(aws-crt@1.23.0) + '@aws-sdk/credential-provider-login': 3.972.1(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/credential-provider-process': 3.972.1 - '@aws-sdk/credential-provider-sso': 3.972.1(aws-crt@1.23.0) - '@aws-sdk/credential-provider-web-identity': 3.972.1(aws-crt@1.23.0) - '@aws-sdk/nested-clients': 3.974.0(aws-crt@1.23.0) + '@aws-sdk/credential-provider-sso': 3.972.1(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) + '@aws-sdk/credential-provider-web-identity': 3.972.1(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) + '@aws-sdk/nested-clients': 3.974.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/types': 3.973.0 '@smithy/credential-provider-imds': 4.2.8 '@smithy/property-provider': 4.2.8 @@ -8928,16 +8946,16 @@ snapshots: transitivePeerDependencies: - aws-crt - '@aws-sdk/credential-provider-ini@3.972.26(aws-crt@1.23.0)': + '@aws-sdk/credential-provider-ini@3.972.26(aws-crt@1.23.0(supports-color@10.2.2))': dependencies: '@aws-sdk/core': 3.973.25 '@aws-sdk/credential-provider-env': 3.972.23 '@aws-sdk/credential-provider-http': 3.972.25 - '@aws-sdk/credential-provider-login': 3.972.26(aws-crt@1.23.0) + '@aws-sdk/credential-provider-login': 3.972.26(aws-crt@1.23.0(supports-color@10.2.2)) '@aws-sdk/credential-provider-process': 3.972.23 - '@aws-sdk/credential-provider-sso': 3.972.26(aws-crt@1.23.0) - '@aws-sdk/credential-provider-web-identity': 3.972.26(aws-crt@1.23.0) - '@aws-sdk/nested-clients': 3.996.16(aws-crt@1.23.0) + '@aws-sdk/credential-provider-sso': 3.972.26(aws-crt@1.23.0(supports-color@10.2.2)) + '@aws-sdk/credential-provider-web-identity': 3.972.26(aws-crt@1.23.0(supports-color@10.2.2)) + '@aws-sdk/nested-clients': 3.996.16(aws-crt@1.23.0(supports-color@10.2.2)) '@aws-sdk/types': 3.973.6 '@smithy/credential-provider-imds': 4.2.12 '@smithy/property-provider': 4.2.12 @@ -8947,10 +8965,10 @@ snapshots: transitivePeerDependencies: - aws-crt - '@aws-sdk/credential-provider-login@3.972.1(aws-crt@1.23.0)': + '@aws-sdk/credential-provider-login@3.972.1(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))': dependencies: '@aws-sdk/core': 3.973.0 - '@aws-sdk/nested-clients': 3.974.0(aws-crt@1.23.0) + '@aws-sdk/nested-clients': 3.974.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/types': 3.973.0 '@smithy/property-provider': 4.2.8 '@smithy/protocol-http': 5.3.8 @@ -8960,10 +8978,10 @@ snapshots: transitivePeerDependencies: - aws-crt - '@aws-sdk/credential-provider-login@3.972.26(aws-crt@1.23.0)': + '@aws-sdk/credential-provider-login@3.972.26(aws-crt@1.23.0(supports-color@10.2.2))': dependencies: '@aws-sdk/core': 3.973.25 - '@aws-sdk/nested-clients': 3.996.16(aws-crt@1.23.0) + '@aws-sdk/nested-clients': 3.996.16(aws-crt@1.23.0(supports-color@10.2.2)) '@aws-sdk/types': 3.973.6 '@smithy/property-provider': 4.2.12 '@smithy/protocol-http': 5.3.12 @@ -8973,33 +8991,33 @@ snapshots: transitivePeerDependencies: - aws-crt - '@aws-sdk/credential-provider-node@3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0))(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0)': + '@aws-sdk/credential-provider-node@3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))': dependencies: '@aws-sdk/credential-provider-env': 3.678.0 '@aws-sdk/credential-provider-http': 3.678.0 - '@aws-sdk/credential-provider-ini': 3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0))(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0) + '@aws-sdk/credential-provider-ini': 3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/credential-provider-process': 3.678.0 - '@aws-sdk/credential-provider-sso': 3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0))(aws-crt@1.23.0) - '@aws-sdk/credential-provider-web-identity': 3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0)) + '@aws-sdk/credential-provider-sso': 3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) + '@aws-sdk/credential-provider-web-identity': 3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))) '@aws-sdk/types': 3.667.0 '@smithy/credential-provider-imds': 3.2.5 '@smithy/property-provider': 3.1.8 '@smithy/shared-ini-file-loader': 3.1.9 '@smithy/types': 3.6.0 - tslib: 2.8.0 + tslib: 2.8.1 transitivePeerDependencies: - '@aws-sdk/client-sso-oidc' - '@aws-sdk/client-sts' - aws-crt - '@aws-sdk/credential-provider-node@3.972.1(aws-crt@1.23.0)': + '@aws-sdk/credential-provider-node@3.972.1(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))': dependencies: '@aws-sdk/credential-provider-env': 3.972.1 '@aws-sdk/credential-provider-http': 3.972.1 - '@aws-sdk/credential-provider-ini': 3.972.1(aws-crt@1.23.0) + '@aws-sdk/credential-provider-ini': 3.972.1(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/credential-provider-process': 3.972.1 - '@aws-sdk/credential-provider-sso': 3.972.1(aws-crt@1.23.0) - '@aws-sdk/credential-provider-web-identity': 3.972.1(aws-crt@1.23.0) + '@aws-sdk/credential-provider-sso': 3.972.1(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) + '@aws-sdk/credential-provider-web-identity': 3.972.1(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/types': 3.973.0 '@smithy/credential-provider-imds': 4.2.8 '@smithy/property-provider': 4.2.8 @@ -9009,14 +9027,14 @@ snapshots: transitivePeerDependencies: - aws-crt - '@aws-sdk/credential-provider-node@3.972.27(aws-crt@1.23.0)': + '@aws-sdk/credential-provider-node@3.972.27(aws-crt@1.23.0(supports-color@10.2.2))': dependencies: '@aws-sdk/credential-provider-env': 3.972.23 '@aws-sdk/credential-provider-http': 3.972.25 - '@aws-sdk/credential-provider-ini': 3.972.26(aws-crt@1.23.0) + '@aws-sdk/credential-provider-ini': 3.972.26(aws-crt@1.23.0(supports-color@10.2.2)) '@aws-sdk/credential-provider-process': 3.972.23 - '@aws-sdk/credential-provider-sso': 3.972.26(aws-crt@1.23.0) - '@aws-sdk/credential-provider-web-identity': 3.972.26(aws-crt@1.23.0) + '@aws-sdk/credential-provider-sso': 3.972.26(aws-crt@1.23.0(supports-color@10.2.2)) + '@aws-sdk/credential-provider-web-identity': 3.972.26(aws-crt@1.23.0(supports-color@10.2.2)) '@aws-sdk/types': 3.973.6 '@smithy/credential-provider-imds': 4.2.12 '@smithy/property-provider': 4.2.12 @@ -9053,11 +9071,11 @@ snapshots: '@smithy/types': 4.13.1 tslib: 2.8.1 - '@aws-sdk/credential-provider-sso@3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0))(aws-crt@1.23.0)': + '@aws-sdk/credential-provider-sso@3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))': dependencies: - '@aws-sdk/client-sso': 3.678.0(aws-crt@1.23.0) + '@aws-sdk/client-sso': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/core': 3.678.0 - '@aws-sdk/token-providers': 3.667.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0)) + '@aws-sdk/token-providers': 3.667.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))) '@aws-sdk/types': 3.667.0 '@smithy/property-provider': 3.1.8 '@smithy/shared-ini-file-loader': 3.1.9 @@ -9067,11 +9085,11 @@ snapshots: - '@aws-sdk/client-sso-oidc' - aws-crt - '@aws-sdk/credential-provider-sso@3.972.1(aws-crt@1.23.0)': + '@aws-sdk/credential-provider-sso@3.972.1(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))': dependencies: - '@aws-sdk/client-sso': 3.974.0(aws-crt@1.23.0) + '@aws-sdk/client-sso': 3.974.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/core': 3.973.0 - '@aws-sdk/token-providers': 3.974.0(aws-crt@1.23.0) + '@aws-sdk/token-providers': 3.974.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/types': 3.973.0 '@smithy/property-provider': 4.2.8 '@smithy/shared-ini-file-loader': 4.4.3 @@ -9080,11 +9098,11 @@ snapshots: transitivePeerDependencies: - aws-crt - '@aws-sdk/credential-provider-sso@3.972.26(aws-crt@1.23.0)': + '@aws-sdk/credential-provider-sso@3.972.26(aws-crt@1.23.0(supports-color@10.2.2))': dependencies: '@aws-sdk/core': 3.973.25 - '@aws-sdk/nested-clients': 3.996.16(aws-crt@1.23.0) - '@aws-sdk/token-providers': 3.1019.0(aws-crt@1.23.0) + '@aws-sdk/nested-clients': 3.996.16(aws-crt@1.23.0(supports-color@10.2.2)) + '@aws-sdk/token-providers': 3.1019.0(aws-crt@1.23.0(supports-color@10.2.2)) '@aws-sdk/types': 3.973.6 '@smithy/property-provider': 4.2.12 '@smithy/shared-ini-file-loader': 4.4.7 @@ -9093,19 +9111,19 @@ snapshots: transitivePeerDependencies: - aws-crt - '@aws-sdk/credential-provider-web-identity@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))': + '@aws-sdk/credential-provider-web-identity@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))': dependencies: - '@aws-sdk/client-sts': 3.678.0(aws-crt@1.23.0) + '@aws-sdk/client-sts': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/core': 3.678.0 '@aws-sdk/types': 3.667.0 '@smithy/property-provider': 3.1.8 '@smithy/types': 3.6.0 tslib: 2.8.1 - '@aws-sdk/credential-provider-web-identity@3.972.1(aws-crt@1.23.0)': + '@aws-sdk/credential-provider-web-identity@3.972.1(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))': dependencies: '@aws-sdk/core': 3.973.0 - '@aws-sdk/nested-clients': 3.974.0(aws-crt@1.23.0) + '@aws-sdk/nested-clients': 3.974.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/types': 3.973.0 '@smithy/property-provider': 4.2.8 '@smithy/shared-ini-file-loader': 4.4.3 @@ -9114,10 +9132,10 @@ snapshots: transitivePeerDependencies: - aws-crt - '@aws-sdk/credential-provider-web-identity@3.972.26(aws-crt@1.23.0)': + '@aws-sdk/credential-provider-web-identity@3.972.26(aws-crt@1.23.0(supports-color@10.2.2))': dependencies: '@aws-sdk/core': 3.973.25 - '@aws-sdk/nested-clients': 3.996.16(aws-crt@1.23.0) + '@aws-sdk/nested-clients': 3.996.16(aws-crt@1.23.0(supports-color@10.2.2)) '@aws-sdk/types': 3.973.6 '@smithy/property-provider': 4.2.12 '@smithy/shared-ini-file-loader': 4.4.7 @@ -9126,20 +9144,20 @@ snapshots: transitivePeerDependencies: - aws-crt - '@aws-sdk/credential-providers@3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0))(aws-crt@1.23.0)': + '@aws-sdk/credential-providers@3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))': dependencies: - '@aws-sdk/client-cognito-identity': 3.678.0(aws-crt@1.23.0) - '@aws-sdk/client-sso': 3.678.0(aws-crt@1.23.0) - '@aws-sdk/client-sts': 3.678.0(aws-crt@1.23.0) + '@aws-sdk/client-cognito-identity': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) + '@aws-sdk/client-sso': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) + '@aws-sdk/client-sts': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/core': 3.678.0 - '@aws-sdk/credential-provider-cognito-identity': 3.678.0(aws-crt@1.23.0) + '@aws-sdk/credential-provider-cognito-identity': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/credential-provider-env': 3.678.0 '@aws-sdk/credential-provider-http': 3.678.0 - '@aws-sdk/credential-provider-ini': 3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0))(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0) - '@aws-sdk/credential-provider-node': 3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0))(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0) + '@aws-sdk/credential-provider-ini': 3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) + '@aws-sdk/credential-provider-node': 3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/credential-provider-process': 3.678.0 - '@aws-sdk/credential-provider-sso': 3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0))(aws-crt@1.23.0) - '@aws-sdk/credential-provider-web-identity': 3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0)) + '@aws-sdk/credential-provider-sso': 3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) + '@aws-sdk/credential-provider-web-identity': 3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))) '@aws-sdk/types': 3.667.0 '@smithy/credential-provider-imds': 3.2.5 '@smithy/property-provider': 3.1.8 @@ -9245,7 +9263,7 @@ snapshots: '@aws-sdk/types': 3.667.0 '@smithy/protocol-http': 4.1.5 '@smithy/types': 3.6.0 - tslib: 2.8.0 + tslib: 2.8.1 '@aws-sdk/middleware-host-header@3.972.1': dependencies: @@ -9277,7 +9295,7 @@ snapshots: dependencies: '@aws-sdk/types': 3.667.0 '@smithy/types': 3.6.0 - tslib: 2.8.0 + tslib: 2.8.1 '@aws-sdk/middleware-logger@3.972.1': dependencies: @@ -9296,7 +9314,7 @@ snapshots: '@aws-sdk/types': 3.667.0 '@smithy/protocol-http': 4.1.5 '@smithy/types': 3.6.0 - tslib: 2.8.0 + tslib: 2.8.1 '@aws-sdk/middleware-recursion-detection@3.972.1': dependencies: @@ -9427,7 +9445,7 @@ snapshots: '@smithy/core': 2.5.1 '@smithy/protocol-http': 4.1.5 '@smithy/types': 3.6.0 - tslib: 2.8.0 + tslib: 2.8.1 '@aws-sdk/middleware-user-agent@3.972.1': dependencies: @@ -9450,7 +9468,7 @@ snapshots: '@smithy/util-retry': 4.2.12 tslib: 2.8.1 - '@aws-sdk/nested-clients@3.974.0(aws-crt@1.23.0)': + '@aws-sdk/nested-clients@3.974.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))': dependencies: '@aws-crypto/sha256-browser': 5.2.0 '@aws-crypto/sha256-js': 5.2.0 @@ -9463,7 +9481,7 @@ snapshots: '@aws-sdk/types': 3.973.0 '@aws-sdk/util-endpoints': 3.972.0 '@aws-sdk/util-user-agent-browser': 3.972.1 - '@aws-sdk/util-user-agent-node': 3.972.1(aws-crt@1.23.0) + '@aws-sdk/util-user-agent-node': 3.972.1(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@smithy/config-resolver': 4.4.6 '@smithy/core': 3.21.1 '@smithy/fetch-http-handler': 5.3.9 @@ -9493,7 +9511,7 @@ snapshots: transitivePeerDependencies: - aws-crt - '@aws-sdk/nested-clients@3.996.16(aws-crt@1.23.0)': + '@aws-sdk/nested-clients@3.996.16(aws-crt@1.23.0(supports-color@10.2.2))': dependencies: '@aws-crypto/sha256-browser': 5.2.0 '@aws-crypto/sha256-js': 5.2.0 @@ -9506,7 +9524,7 @@ snapshots: '@aws-sdk/types': 3.973.6 '@aws-sdk/util-endpoints': 3.996.5 '@aws-sdk/util-user-agent-browser': 3.972.8 - '@aws-sdk/util-user-agent-node': 3.973.12(aws-crt@1.23.0) + '@aws-sdk/util-user-agent-node': 3.973.12(aws-crt@1.23.0(supports-color@10.2.2)) '@smithy/config-resolver': 4.4.13 '@smithy/core': 3.23.12 '@smithy/fetch-http-handler': 5.3.15 @@ -9543,7 +9561,7 @@ snapshots: '@smithy/types': 3.6.0 '@smithy/util-config-provider': 3.0.0 '@smithy/util-middleware': 3.0.8 - tslib: 2.8.0 + tslib: 2.8.1 '@aws-sdk/region-config-resolver@3.972.1': dependencies: @@ -9561,16 +9579,16 @@ snapshots: '@smithy/types': 4.13.1 tslib: 2.8.1 - '@aws-sdk/signature-v4-crt@3.678.0': + '@aws-sdk/signature-v4-crt@3.678.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)': dependencies: '@aws-sdk/signature-v4-multi-region': 3.678.0 '@aws-sdk/types': 3.667.0 - '@aws-sdk/util-user-agent-node': 3.678.0(aws-crt@1.23.0) + '@aws-sdk/util-user-agent-node': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@smithy/querystring-parser': 3.0.8 '@smithy/signature-v4': 4.2.1 '@smithy/types': 3.6.0 '@smithy/util-middleware': 3.0.8 - aws-crt: 1.23.0 + aws-crt: 1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2) tslib: 2.8.0 transitivePeerDependencies: - bufferutil @@ -9610,10 +9628,10 @@ snapshots: '@smithy/smithy-client': 1.1.0 tslib: 2.8.0 - '@aws-sdk/token-providers@3.1019.0(aws-crt@1.23.0)': + '@aws-sdk/token-providers@3.1019.0(aws-crt@1.23.0(supports-color@10.2.2))': dependencies: '@aws-sdk/core': 3.973.25 - '@aws-sdk/nested-clients': 3.996.16(aws-crt@1.23.0) + '@aws-sdk/nested-clients': 3.996.16(aws-crt@1.23.0(supports-color@10.2.2)) '@aws-sdk/types': 3.973.6 '@smithy/property-provider': 4.2.12 '@smithy/shared-ini-file-loader': 4.4.7 @@ -9622,19 +9640,19 @@ snapshots: transitivePeerDependencies: - aws-crt - '@aws-sdk/token-providers@3.667.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0))': + '@aws-sdk/token-providers@3.667.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))': dependencies: - '@aws-sdk/client-sso-oidc': 3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0) + '@aws-sdk/client-sso-oidc': 3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/types': 3.667.0 '@smithy/property-provider': 3.1.8 '@smithy/shared-ini-file-loader': 3.1.9 '@smithy/types': 3.6.0 tslib: 2.8.1 - '@aws-sdk/token-providers@3.974.0(aws-crt@1.23.0)': + '@aws-sdk/token-providers@3.974.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))': dependencies: '@aws-sdk/core': 3.973.0 - '@aws-sdk/nested-clients': 3.974.0(aws-crt@1.23.0) + '@aws-sdk/nested-clients': 3.974.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/types': 3.973.0 '@smithy/property-provider': 4.2.8 '@smithy/shared-ini-file-loader': 4.4.3 @@ -9651,7 +9669,7 @@ snapshots: '@aws-sdk/types@3.667.0': dependencies: '@smithy/types': 3.6.0 - tslib: 2.8.0 + tslib: 2.8.1 '@aws-sdk/types@3.972.0': dependencies: @@ -9689,7 +9707,7 @@ snapshots: '@aws-sdk/types': 3.667.0 '@smithy/types': 3.6.0 '@smithy/util-endpoints': 2.1.4 - tslib: 2.8.0 + tslib: 2.8.1 '@aws-sdk/util-endpoints@3.972.0': dependencies: @@ -9717,14 +9735,14 @@ snapshots: '@aws-sdk/util-locate-window@3.568.0': dependencies: - tslib: 2.8.0 + tslib: 2.8.1 '@aws-sdk/util-user-agent-browser@3.675.0': dependencies: '@aws-sdk/types': 3.667.0 '@smithy/types': 3.6.0 bowser: 2.11.0 - tslib: 2.8.0 + tslib: 2.8.1 '@aws-sdk/util-user-agent-browser@3.972.1': dependencies: @@ -9740,17 +9758,17 @@ snapshots: bowser: 2.11.0 tslib: 2.8.1 - '@aws-sdk/util-user-agent-node@3.678.0(aws-crt@1.23.0)': + '@aws-sdk/util-user-agent-node@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))': dependencies: '@aws-sdk/middleware-user-agent': 3.678.0 '@aws-sdk/types': 3.667.0 '@smithy/node-config-provider': 3.1.9 '@smithy/types': 3.6.0 - tslib: 2.8.0 + tslib: 2.8.1 optionalDependencies: - aws-crt: 1.23.0 + aws-crt: 1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2) - '@aws-sdk/util-user-agent-node@3.972.1(aws-crt@1.23.0)': + '@aws-sdk/util-user-agent-node@3.972.1(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))': dependencies: '@aws-sdk/middleware-user-agent': 3.972.1 '@aws-sdk/types': 3.973.0 @@ -9758,9 +9776,9 @@ snapshots: '@smithy/types': 4.12.0 tslib: 2.8.0 optionalDependencies: - aws-crt: 1.23.0 + aws-crt: 1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2) - '@aws-sdk/util-user-agent-node@3.973.12(aws-crt@1.23.0)': + '@aws-sdk/util-user-agent-node@3.973.12(aws-crt@1.23.0(supports-color@10.2.2))': dependencies: '@aws-sdk/middleware-user-agent': 3.972.26 '@aws-sdk/types': 3.973.6 @@ -9769,7 +9787,7 @@ snapshots: '@smithy/util-config-provider': 4.2.2 tslib: 2.8.1 optionalDependencies: - aws-crt: 1.23.0 + aws-crt: 1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2) '@aws-sdk/util-utf8-browser@3.259.0': dependencies: @@ -9802,20 +9820,20 @@ snapshots: '@babel/compat-data@7.25.9': {} - '@babel/core@7.25.9': + '@babel/core@7.25.9(supports-color@10.2.2)': dependencies: '@ampproject/remapping': 2.3.0 '@babel/code-frame': 7.25.9 '@babel/generator': 7.25.9 '@babel/helper-compilation-targets': 7.25.9 - '@babel/helper-module-transforms': 7.25.9(@babel/core@7.25.9) + '@babel/helper-module-transforms': 7.25.9(@babel/core@7.25.9(supports-color@10.2.2))(supports-color@10.2.2) '@babel/helpers': 7.25.9 '@babel/parser': 7.25.9 '@babel/template': 7.25.9 - '@babel/traverse': 7.25.9 + '@babel/traverse': 7.25.9(supports-color@10.2.2) '@babel/types': 7.25.9 convert-source-map: 2.0.0 - debug: 4.4.3 + debug: 4.4.3(supports-color@10.2.2) gensync: 1.0.0-beta.2 json5: 2.2.3 semver: 6.3.1 @@ -9837,28 +9855,28 @@ snapshots: lru-cache: 5.1.1 semver: 6.3.1 - '@babel/helper-module-imports@7.25.9': + '@babel/helper-module-imports@7.25.9(supports-color@10.2.2)': dependencies: - '@babel/traverse': 7.25.9 + '@babel/traverse': 7.25.9(supports-color@10.2.2) '@babel/types': 7.25.9 transitivePeerDependencies: - supports-color - '@babel/helper-module-transforms@7.25.9(@babel/core@7.25.9)': + '@babel/helper-module-transforms@7.25.9(@babel/core@7.25.9(supports-color@10.2.2))(supports-color@10.2.2)': dependencies: - '@babel/core': 7.25.9 - '@babel/helper-module-imports': 7.25.9 - '@babel/helper-simple-access': 7.25.9 + '@babel/core': 7.25.9(supports-color@10.2.2) + '@babel/helper-module-imports': 7.25.9(supports-color@10.2.2) + '@babel/helper-simple-access': 7.25.9(supports-color@10.2.2) '@babel/helper-validator-identifier': 7.25.9 - '@babel/traverse': 7.25.9 + '@babel/traverse': 7.25.9(supports-color@10.2.2) transitivePeerDependencies: - supports-color '@babel/helper-plugin-utils@7.25.9': {} - '@babel/helper-simple-access@7.25.9': + '@babel/helper-simple-access@7.25.9(supports-color@10.2.2)': dependencies: - '@babel/traverse': 7.25.9 + '@babel/traverse': 7.25.9(supports-color@10.2.2) '@babel/types': 7.25.9 transitivePeerDependencies: - supports-color @@ -9885,9 +9903,9 @@ snapshots: dependencies: '@babel/types': 7.25.9 - '@babel/plugin-syntax-typescript@7.25.9(@babel/core@7.25.9)': + '@babel/plugin-syntax-typescript@7.25.9(@babel/core@7.25.9(supports-color@10.2.2))': dependencies: - '@babel/core': 7.25.9 + '@babel/core': 7.25.9(supports-color@10.2.2) '@babel/helper-plugin-utils': 7.25.9 '@babel/runtime@7.25.9': @@ -9900,14 +9918,14 @@ snapshots: '@babel/parser': 7.25.9 '@babel/types': 7.25.9 - '@babel/traverse@7.25.9': + '@babel/traverse@7.25.9(supports-color@10.2.2)': dependencies: '@babel/code-frame': 7.25.9 '@babel/generator': 7.25.9 '@babel/parser': 7.25.9 '@babel/template': 7.25.9 '@babel/types': 7.25.9 - debug: 4.4.3 + debug: 4.4.3(supports-color@10.2.2) globals: 11.12.0 transitivePeerDependencies: - supports-color @@ -10056,49 +10074,26 @@ snapshots: '@cloudflare/containers@0.3.7': {} - '@cloudflare/kv-asset-handler@0.4.2': {} - '@cloudflare/kv-asset-handler@0.5.0': {} - '@cloudflare/unenv-preset@2.11.0(unenv@2.0.0-rc.24)(workerd@1.20260120.0)': - dependencies: - unenv: 2.0.0-rc.24 - optionalDependencies: - workerd: 1.20260120.0 - '@cloudflare/unenv-preset@2.16.1(unenv@2.0.0-rc.24)(workerd@1.20260710.1)': dependencies: unenv: 2.0.0-rc.24 optionalDependencies: workerd: 1.20260710.1 - '@cloudflare/workerd-darwin-64@1.20260120.0': - optional: true - '@cloudflare/workerd-darwin-64@1.20260710.1': optional: true - '@cloudflare/workerd-darwin-arm64@1.20260120.0': - optional: true - '@cloudflare/workerd-darwin-arm64@1.20260710.1': optional: true - '@cloudflare/workerd-linux-64@1.20260120.0': - optional: true - '@cloudflare/workerd-linux-64@1.20260710.1': optional: true - '@cloudflare/workerd-linux-arm64@1.20260120.0': - optional: true - '@cloudflare/workerd-linux-arm64@1.20260710.1': optional: true - '@cloudflare/workerd-windows-64@1.20260120.0': - optional: true - '@cloudflare/workerd-windows-64@1.20260710.1': optional: true @@ -10584,10 +10579,10 @@ snapshots: '@types/ws': 8.5.12 duplexify: 3.7.1 inherits: 2.0.4 - isomorphic-ws: 4.0.1(ws@8.18.0) + isomorphic-ws: 4.0.1(ws@8.21.0) readable-stream: 2.3.8 safe-buffer: 5.2.1 - ws: 8.18.0 + ws: 8.21.0 xtend: 4.0.2 transitivePeerDependencies: - bufferutil @@ -10750,12 +10745,12 @@ snapshots: '@jridgewell/trace-mapping@0.3.25': dependencies: '@jridgewell/resolve-uri': 3.1.2 - '@jridgewell/sourcemap-codec': 1.5.0 + '@jridgewell/sourcemap-codec': 1.5.5 '@jridgewell/trace-mapping@0.3.9': dependencies: '@jridgewell/resolve-uri': 3.1.2 - '@jridgewell/sourcemap-codec': 1.5.0 + '@jridgewell/sourcemap-codec': 1.5.5 '@lukeed/ms@2.0.2': {} @@ -10959,15 +10954,15 @@ snapshots: '@prisma/driver-adapter-utils': 6.7.0 ky: 1.7.5 - '@prisma/client@6.7.0(prisma@6.7.0(typescript@6.0.3))(typescript@6.0.3)': + '@prisma/client@6.7.0(prisma@6.7.0(supports-color@10.2.2)(typescript@6.0.3))(typescript@6.0.3)': optionalDependencies: - prisma: 6.7.0(typescript@6.0.3) + prisma: 6.7.0(supports-color@10.2.2)(typescript@6.0.3) typescript: 6.0.3 - '@prisma/config@6.7.0': + '@prisma/config@6.7.0(supports-color@10.2.2)': dependencies: esbuild: 0.27.0 - esbuild-register: 3.6.0(esbuild@0.27.0) + esbuild-register: 3.6.0(esbuild@0.27.0)(supports-color@10.2.2) transitivePeerDependencies: - supports-color @@ -11102,7 +11097,7 @@ snapshots: '@smithy/types': 3.6.0 '@smithy/util-config-provider': 3.0.0 '@smithy/util-middleware': 3.0.8 - tslib: 2.8.0 + tslib: 2.8.1 '@smithy/config-resolver@4.4.13': dependencies: @@ -11131,7 +11126,7 @@ snapshots: '@smithy/util-middleware': 3.0.8 '@smithy/util-stream': 3.2.1 '@smithy/util-utf8': 3.0.0 - tslib: 2.8.0 + tslib: 2.8.1 '@smithy/core@3.21.1': dependencies: @@ -11257,7 +11252,7 @@ snapshots: '@smithy/querystring-builder': 3.0.8 '@smithy/types': 3.6.0 '@smithy/util-base64': 3.0.0 - tslib: 2.8.0 + tslib: 2.8.1 '@smithy/fetch-http-handler@4.0.0': dependencies: @@ -11295,7 +11290,7 @@ snapshots: '@smithy/types': 3.6.0 '@smithy/util-buffer-from': 3.0.0 '@smithy/util-utf8': 3.0.0 - tslib: 2.8.0 + tslib: 2.8.1 '@smithy/hash-node@4.2.12': dependencies: @@ -11320,7 +11315,7 @@ snapshots: '@smithy/invalid-dependency@3.0.8': dependencies: '@smithy/types': 3.6.0 - tslib: 2.8.0 + tslib: 2.8.1 '@smithy/invalid-dependency@4.2.12': dependencies: @@ -11362,7 +11357,7 @@ snapshots: dependencies: '@smithy/protocol-http': 4.1.5 '@smithy/types': 3.6.0 - tslib: 2.8.0 + tslib: 2.8.1 '@smithy/middleware-content-length@4.2.12': dependencies: @@ -11385,7 +11380,7 @@ snapshots: '@smithy/types': 3.6.0 '@smithy/url-parser': 3.0.8 '@smithy/util-middleware': 3.0.8 - tslib: 2.8.0 + tslib: 2.8.1 '@smithy/middleware-endpoint@4.4.11': dependencies: @@ -11428,7 +11423,7 @@ snapshots: '@smithy/types': 3.6.0 '@smithy/util-middleware': 3.0.8 '@smithy/util-retry': 3.0.8 - tslib: 2.8.0 + tslib: 2.8.1 uuid: 9.0.1 '@smithy/middleware-retry@4.4.27': @@ -11458,7 +11453,7 @@ snapshots: '@smithy/middleware-serde@3.0.8': dependencies: '@smithy/types': 3.6.0 - tslib: 2.8.0 + tslib: 2.8.1 '@smithy/middleware-serde@4.2.15': dependencies: @@ -11480,7 +11475,7 @@ snapshots: '@smithy/middleware-stack@3.0.8': dependencies: '@smithy/types': 3.6.0 - tslib: 2.8.0 + tslib: 2.8.1 '@smithy/middleware-stack@4.2.12': dependencies: @@ -11497,7 +11492,7 @@ snapshots: '@smithy/property-provider': 3.1.8 '@smithy/shared-ini-file-loader': 3.1.9 '@smithy/types': 3.6.0 - tslib: 2.8.0 + tslib: 2.8.1 '@smithy/node-config-provider@4.3.12': dependencies: @@ -11527,7 +11522,7 @@ snapshots: '@smithy/protocol-http': 4.1.5 '@smithy/querystring-builder': 3.0.8 '@smithy/types': 3.6.0 - tslib: 2.8.0 + tslib: 2.8.1 '@smithy/node-http-handler@4.4.8': dependencies: @@ -11568,7 +11563,7 @@ snapshots: '@smithy/protocol-http@4.1.5': dependencies: '@smithy/types': 3.6.0 - tslib: 2.8.0 + tslib: 2.8.1 '@smithy/protocol-http@5.3.12': dependencies: @@ -11706,7 +11701,7 @@ snapshots: '@smithy/protocol-http': 4.1.5 '@smithy/types': 3.6.0 '@smithy/util-stream': 3.2.1 - tslib: 2.8.0 + tslib: 2.8.1 '@smithy/smithy-client@4.10.12': dependencies: @@ -11738,7 +11733,7 @@ snapshots: '@smithy/types@3.6.0': dependencies: - tslib: 2.8.0 + tslib: 2.8.1 '@smithy/types@4.12.0': dependencies: @@ -11752,7 +11747,7 @@ snapshots: dependencies: '@smithy/querystring-parser': 3.0.8 '@smithy/types': 3.6.0 - tslib: 2.8.0 + tslib: 2.8.1 '@smithy/url-parser@4.2.12': dependencies: @@ -11775,7 +11770,7 @@ snapshots: dependencies: '@smithy/util-buffer-from': 3.0.0 '@smithy/util-utf8': 3.0.0 - tslib: 2.8.0 + tslib: 2.8.1 '@smithy/util-base64@4.3.0': dependencies: @@ -11791,7 +11786,7 @@ snapshots: '@smithy/util-body-length-browser@3.0.0': dependencies: - tslib: 2.8.0 + tslib: 2.8.1 '@smithy/util-body-length-browser@4.2.0': dependencies: @@ -11803,7 +11798,7 @@ snapshots: '@smithy/util-body-length-node@3.0.0': dependencies: - tslib: 2.8.0 + tslib: 2.8.1 '@smithy/util-body-length-node@4.2.1': dependencies: @@ -11860,7 +11855,7 @@ snapshots: '@smithy/smithy-client': 3.4.2 '@smithy/types': 3.6.0 bowser: 2.11.0 - tslib: 2.8.0 + tslib: 2.8.1 '@smithy/util-defaults-mode-browser@4.3.26': dependencies: @@ -11884,7 +11879,7 @@ snapshots: '@smithy/property-provider': 3.1.8 '@smithy/smithy-client': 3.4.2 '@smithy/types': 3.6.0 - tslib: 2.8.0 + tslib: 2.8.1 '@smithy/util-defaults-mode-node@4.2.29': dependencies: @@ -11910,7 +11905,7 @@ snapshots: dependencies: '@smithy/node-config-provider': 3.1.9 '@smithy/types': 3.6.0 - tslib: 2.8.0 + tslib: 2.8.1 '@smithy/util-endpoints@3.2.8': dependencies: @@ -11956,7 +11951,7 @@ snapshots: '@smithy/util-middleware@3.0.8': dependencies: '@smithy/types': 3.6.0 - tslib: 2.8.0 + tslib: 2.8.1 '@smithy/util-middleware@4.2.12': dependencies: @@ -11977,7 +11972,7 @@ snapshots: dependencies: '@smithy/service-error-classification': 3.0.8 '@smithy/types': 3.6.0 - tslib: 2.8.0 + tslib: 2.8.1 '@smithy/util-retry@4.2.12': dependencies: @@ -12011,7 +12006,7 @@ snapshots: '@smithy/util-buffer-from': 3.0.0 '@smithy/util-hex-encoding': 3.0.0 '@smithy/util-utf8': 3.0.0 - tslib: 2.8.0 + tslib: 2.8.1 '@smithy/util-stream@4.5.10': dependencies: @@ -12063,12 +12058,12 @@ snapshots: '@smithy/util-utf8@2.3.0': dependencies: '@smithy/util-buffer-from': 2.2.0 - tslib: 2.8.0 + tslib: 2.8.1 '@smithy/util-utf8@3.0.0': dependencies: '@smithy/util-buffer-from': 3.0.0 - tslib: 2.8.0 + tslib: 2.8.1 '@smithy/util-utf8@4.2.0': dependencies: @@ -12322,21 +12317,21 @@ snapshots: dependencies: '@types/yargs-parser': 21.0.3 - '@vitest/coverage-v8@2.1.3(vitest@2.1.3(@edge-runtime/vm@3.2.0)(@types/node@24.13.2)(jsdom@22.1.0)(lightningcss@1.30.2)(terser@5.16.9))': + '@vitest/coverage-v8@2.1.3(supports-color@10.2.2)(vitest@2.1.3(@edge-runtime/vm@3.2.0)(@types/node@24.13.2)(jsdom@22.1.0(supports-color@10.2.2))(lightningcss@1.30.2)(supports-color@10.2.2)(terser@5.16.9))': dependencies: '@ampproject/remapping': 2.3.0 '@bcoe/v8-coverage': 0.2.3 - debug: 4.3.7 + debug: 4.3.7(supports-color@10.2.2) istanbul-lib-coverage: 3.2.2 istanbul-lib-report: 3.0.1 - istanbul-lib-source-maps: 5.0.6 + istanbul-lib-source-maps: 5.0.6(supports-color@10.2.2) istanbul-reports: 3.1.7 magic-string: 0.30.12 magicast: 0.3.5 std-env: 3.7.0 test-exclude: 7.0.1 tinyrainbow: 1.2.0 - vitest: 2.1.3(@edge-runtime/vm@3.2.0)(@types/node@24.13.2)(jsdom@22.1.0)(lightningcss@1.30.2)(terser@5.16.9) + vitest: 2.1.3(@edge-runtime/vm@3.2.0)(@types/node@24.13.2)(jsdom@22.1.0(supports-color@10.2.2))(lightningcss@1.30.2)(supports-color@10.2.2)(terser@5.16.9) transitivePeerDependencies: - supports-color @@ -12429,9 +12424,9 @@ snapshots: adm-zip@0.5.16: {} - agent-base@6.0.2: + agent-base@6.0.2(supports-color@10.2.2): dependencies: - debug: 4.4.3 + debug: 4.4.3(supports-color@10.2.2) transitivePeerDependencies: - supports-color @@ -12572,14 +12567,14 @@ snapshots: '@aws-cdk/cloud-assembly-schema': 38.0.1 constructs: 10.3.0 - aws-crt@1.23.0: + aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2): dependencies: '@aws-sdk/util-utf8-browser': 3.259.0 '@httptoolkit/websocket-stream': 6.0.1 - axios: 1.7.7 + axios: 1.7.7(debug@4.4.3(supports-color@10.2.2)) buffer: 6.0.3 crypto-js: 4.2.0 - mqtt: 5.10.1 + mqtt: 5.10.1(supports-color@10.2.2) process: 0.11.10 transitivePeerDependencies: - bufferutil @@ -12587,12 +12582,12 @@ snapshots: - supports-color - utf-8-validate - aws-iot-device-sdk@2.2.15: + aws-iot-device-sdk@2.2.15(supports-color@10.2.2): dependencies: '@httptoolkit/websocket-stream': 6.0.1 crypto-js: 4.2.0 minimist: 1.2.6 - mqtt: 4.2.8 + mqtt: 4.2.8(supports-color@10.2.2) transitivePeerDependencies: - bufferutil - supports-color @@ -12613,17 +12608,17 @@ snapshots: aws4fetch@1.0.20: {} - axios@0.27.2(debug@4.3.4): + axios@0.27.2(debug@4.3.4(supports-color@10.2.2)): dependencies: - follow-redirects: 1.15.9(debug@4.3.4) + follow-redirects: 1.15.9(debug@4.3.4(supports-color@10.2.2)) form-data: 4.0.1 transitivePeerDependencies: - debug - axios@1.7.7: + axios@1.7.7(debug@4.4.3(supports-color@10.2.2)): dependencies: - follow-redirects: 1.15.9(debug@4.3.4) - form-data: 4.0.1 + follow-redirects: 1.15.9(debug@4.4.3(supports-color@10.2.2)) + form-data: 4.0.5 proxy-from-env: 1.1.0 transitivePeerDependencies: - debug @@ -12674,11 +12669,11 @@ snapshots: bn.js@4.12.0: {} - body-parser@1.20.3: + body-parser@1.20.3(supports-color@10.2.2): dependencies: bytes: 3.1.2 content-type: 1.0.5 - debug: 2.6.9 + debug: 2.6.9(supports-color@10.2.2) depd: 2.0.0 destroy: 1.2.0 http-errors: 2.0.0 @@ -12691,11 +12686,11 @@ snapshots: transitivePeerDependencies: - supports-color - body-parser@2.2.2: + body-parser@2.2.2(supports-color@10.2.2): dependencies: bytes: 3.1.2 content-type: 1.0.5 - debug: 4.4.3 + debug: 4.4.3(supports-color@10.2.2) http-errors: 2.0.1 iconv-lite: 0.7.0 on-finished: 2.4.1 @@ -13032,25 +13027,35 @@ snapshots: dependencies: mimic-fn: 3.1.0 - debug@2.6.9: + debug@2.6.9(supports-color@10.2.2): dependencies: ms: 2.0.0 + optionalDependencies: + supports-color: 10.2.2 - debug@3.1.0: + debug@3.1.0(supports-color@10.2.2): dependencies: ms: 2.0.0 + optionalDependencies: + supports-color: 10.2.2 - debug@4.3.4: + debug@4.3.4(supports-color@10.2.2): dependencies: ms: 2.1.2 + optionalDependencies: + supports-color: 10.2.2 - debug@4.3.7: + debug@4.3.7(supports-color@10.2.2): dependencies: ms: 2.1.3 + optionalDependencies: + supports-color: 10.2.2 - debug@4.4.3: + debug@4.4.3(supports-color@10.2.2): dependencies: ms: 2.1.3 + optionalDependencies: + supports-color: 10.2.2 decimal.js@10.4.3: {} @@ -13110,8 +13115,6 @@ snapshots: dependencies: is-obj: 2.0.0 - dotenv@16.4.5: {} - dotenv@16.6.1: {} dotenv@8.6.0: {} @@ -13204,9 +13207,9 @@ snapshots: es6-promise@4.2.8: {} - esbuild-register@3.6.0(esbuild@0.27.0): + esbuild-register@3.6.0(esbuild@0.27.0)(supports-color@10.2.2): dependencies: - debug: 4.4.3 + debug: 4.4.3(supports-color@10.2.2) esbuild: 0.27.0 transitivePeerDependencies: - supports-color @@ -13403,29 +13406,29 @@ snapshots: jest-message-util: 29.7.0 jest-util: 29.7.0 - express-http-proxy@2.1.1: + express-http-proxy@2.1.1(supports-color@10.2.2): dependencies: - debug: 3.1.0 + debug: 3.1.0(supports-color@10.2.2) es6-promise: 4.2.8 raw-body: 2.5.2 transitivePeerDependencies: - supports-color - express@4.21.2: + express@4.21.2(supports-color@10.2.2): dependencies: accepts: 1.3.8 array-flatten: 1.1.1 - body-parser: 1.20.3 + body-parser: 1.20.3(supports-color@10.2.2) content-disposition: 0.5.4 content-type: 1.0.5 cookie: 0.7.1 cookie-signature: 1.0.6 - debug: 2.6.9 + debug: 2.6.9(supports-color@10.2.2) depd: 2.0.0 encodeurl: 2.0.0 escape-html: 1.0.3 etag: 1.8.1 - finalhandler: 1.3.1 + finalhandler: 1.3.1(supports-color@10.2.2) fresh: 0.5.2 http-errors: 2.0.0 merge-descriptors: 1.0.3 @@ -13437,8 +13440,8 @@ snapshots: qs: 6.13.0 range-parser: 1.2.1 safe-buffer: 5.2.1 - send: 0.19.0 - serve-static: 1.16.2 + send: 0.19.0(supports-color@10.2.2) + serve-static: 1.16.2(supports-color@10.2.2) setprototypeof: 1.2.0 statuses: 2.0.1 type-is: 1.6.18 @@ -13447,20 +13450,20 @@ snapshots: transitivePeerDependencies: - supports-color - express@5.2.1: + express@5.2.1(supports-color@10.2.2): dependencies: accepts: 2.0.0 - body-parser: 2.2.2 + body-parser: 2.2.2(supports-color@10.2.2) content-disposition: 1.0.0 content-type: 1.0.5 cookie: 0.7.1 cookie-signature: 1.2.2 - debug: 4.4.3 + debug: 4.4.3(supports-color@10.2.2) depd: 2.0.0 encodeurl: 2.0.0 escape-html: 1.0.3 etag: 1.8.1 - finalhandler: 2.1.0 + finalhandler: 2.1.0(supports-color@10.2.2) fresh: 2.0.0 http-errors: 2.0.1 merge-descriptors: 2.0.0 @@ -13471,9 +13474,9 @@ snapshots: proxy-addr: 2.0.7 qs: 6.14.1 range-parser: 1.2.1 - router: 2.2.0 - send: 1.2.0 - serve-static: 2.2.0 + router: 2.2.0(supports-color@10.2.2) + send: 1.2.0(supports-color@10.2.2) + serve-static: 2.2.0(supports-color@10.2.2) statuses: 2.0.2 type-is: 2.0.1 vary: 1.1.2 @@ -13534,7 +13537,7 @@ snapshots: fast-xml-parser@5.2.5: dependencies: - strnum: 2.1.2 + strnum: 2.2.2 fast-xml-parser@5.5.8: dependencies: @@ -13561,9 +13564,9 @@ snapshots: dependencies: to-regex-range: 5.0.1 - finalhandler@1.3.1: + finalhandler@1.3.1(supports-color@10.2.2): dependencies: - debug: 2.6.9 + debug: 2.6.9(supports-color@10.2.2) encodeurl: 2.0.0 escape-html: 1.0.3 on-finished: 2.4.1 @@ -13573,9 +13576,9 @@ snapshots: transitivePeerDependencies: - supports-color - finalhandler@2.1.0: + finalhandler@2.1.0(supports-color@10.2.2): dependencies: - debug: 4.4.3 + debug: 4.4.3(supports-color@10.2.2) encodeurl: 2.0.0 escape-html: 1.0.3 on-finished: 2.4.1 @@ -13588,9 +13591,13 @@ snapshots: dependencies: locate-path: 3.0.0 - follow-redirects@1.15.9(debug@4.3.4): + follow-redirects@1.15.9(debug@4.3.4(supports-color@10.2.2)): optionalDependencies: - debug: 4.3.4 + debug: 4.3.4(supports-color@10.2.2) + + follow-redirects@1.15.9(debug@4.4.3(supports-color@10.2.2)): + optionalDependencies: + debug: 4.4.3(supports-color@10.2.2) for-each@0.3.3: dependencies: @@ -13833,18 +13840,18 @@ snapshots: statuses: 2.0.2 toidentifier: 1.0.1 - http-proxy-agent@5.0.0: + http-proxy-agent@5.0.0(supports-color@10.2.2): dependencies: '@tootallnate/once': 2.0.0 - agent-base: 6.0.2 - debug: 4.4.3 + agent-base: 6.0.2(supports-color@10.2.2) + debug: 4.4.3(supports-color@10.2.2) transitivePeerDependencies: - supports-color - https-proxy-agent@5.0.1: + https-proxy-agent@5.0.1(supports-color@10.2.2): dependencies: - agent-base: 6.0.2 - debug: 4.4.3 + agent-base: 6.0.2(supports-color@10.2.2) + debug: 4.4.3(supports-color@10.2.2) transitivePeerDependencies: - supports-color @@ -13997,9 +14004,9 @@ snapshots: isexe@3.1.1: {} - isomorphic-ws@4.0.1(ws@8.18.0): + isomorphic-ws@4.0.1(ws@8.21.0): dependencies: - ws: 8.18.0 + ws: 8.21.0 istanbul-lib-coverage@3.2.2: {} @@ -14009,10 +14016,10 @@ snapshots: make-dir: 4.0.0 supports-color: 7.2.0 - istanbul-lib-source-maps@5.0.6: + istanbul-lib-source-maps@5.0.6(supports-color@10.2.2): dependencies: '@jridgewell/trace-mapping': 0.3.25 - debug: 4.4.3 + debug: 4.4.3(supports-color@10.2.2) istanbul-lib-coverage: 3.2.2 transitivePeerDependencies: - supports-color @@ -14091,17 +14098,17 @@ snapshots: js-tokens@4.0.0: {} - jsdom@22.1.0: + jsdom@22.1.0(supports-color@10.2.2): dependencies: abab: 2.0.6 cssstyle: 3.0.0 data-urls: 4.0.0 decimal.js: 10.4.3 domexception: 4.0.0 - form-data: 4.0.1 + form-data: 4.0.5 html-encoding-sniffer: 3.0.0 - http-proxy-agent: 5.0.0 - https-proxy-agent: 5.0.1 + http-proxy-agent: 5.0.0(supports-color@10.2.2) + https-proxy-agent: 5.0.1(supports-color@10.2.2) is-potential-custom-element-name: 1.0.1 nwsapi: 2.2.13 parse5: 7.2.0 @@ -14114,7 +14121,7 @@ snapshots: whatwg-encoding: 2.0.0 whatwg-mimetype: 3.0.0 whatwg-url: 12.0.1 - ws: 8.18.0 + ws: 8.21.0 xml-name-validator: 4.0.0 transitivePeerDependencies: - bufferutil @@ -14144,16 +14151,16 @@ snapshots: kysely-codegen@0.10.1(better-sqlite3@11.10.0)(kysely@0.25.0): dependencies: chalk: 4.1.2 - dotenv: 16.4.5 + dotenv: 16.6.1 kysely: 0.25.0 micromatch: 4.0.8 minimist: 1.2.8 optionalDependencies: better-sqlite3: 11.10.0 - kysely-data-api@0.2.1(@aws-sdk/client-rds-data@3.678.0(aws-crt@1.23.0))(kysely@0.25.0): + kysely-data-api@0.2.1(@aws-sdk/client-rds-data@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(kysely@0.25.0): dependencies: - '@aws-sdk/client-rds-data': 3.678.0(aws-crt@1.23.0) + '@aws-sdk/client-rds-data': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) kysely: 0.25.0 kysely@0.25.0: {} @@ -14336,19 +14343,6 @@ snapshots: mimic-response@3.1.0: optional: true - miniflare@4.20260120.0: - dependencies: - '@cspotcode/source-map-support': 0.8.1 - sharp: 0.34.5 - undici: 7.18.2 - workerd: 1.20260120.0 - ws: 8.18.0 - youch: 4.1.0-beta.10 - zod: 3.25.76 - transitivePeerDependencies: - - bufferutil - - utf-8-validate - miniflare@4.20260710.0: dependencies: '@cspotcode/source-map-support': 0.8.1 @@ -14410,32 +14404,32 @@ snapshots: mock-fs@5.5.0: {} - mqtt-packet@6.10.0: + mqtt-packet@6.10.0(supports-color@10.2.2): dependencies: bl: 4.1.0 - debug: 4.4.3 + debug: 4.4.3(supports-color@10.2.2) process-nextick-args: 2.0.1 transitivePeerDependencies: - supports-color - mqtt-packet@9.0.0: + mqtt-packet@9.0.0(supports-color@10.2.2): dependencies: bl: 6.0.16 - debug: 4.4.3 + debug: 4.4.3(supports-color@10.2.2) process-nextick-args: 2.0.1 transitivePeerDependencies: - supports-color - mqtt@4.2.8: + mqtt@4.2.8(supports-color@10.2.2): dependencies: commist: 1.1.0 concat-stream: 2.0.0 - debug: 4.4.3 + debug: 4.4.3(supports-color@10.2.2) duplexify: 4.1.3 help-me: 3.0.0 inherits: 2.0.4 minimist: 1.2.8 - mqtt-packet: 6.10.0 + mqtt-packet: 6.10.0(supports-color@10.2.2) pump: 3.0.2 readable-stream: 3.6.2 reinterval: 1.1.0 @@ -14447,24 +14441,24 @@ snapshots: - supports-color - utf-8-validate - mqtt@5.10.1: + mqtt@5.10.1(supports-color@10.2.2): dependencies: '@types/readable-stream': 4.0.16 '@types/ws': 8.5.12 commist: 3.2.0 concat-stream: 2.0.0 - debug: 4.4.3 + debug: 4.4.3(supports-color@10.2.2) help-me: 5.0.0 lru-cache: 10.4.3 minimist: 1.2.8 - mqtt-packet: 9.0.0 - number-allocator: 1.0.14 + mqtt-packet: 9.0.0(supports-color@10.2.2) + number-allocator: 1.0.14(supports-color@10.2.2) readable-stream: 4.5.2 reinterval: 1.1.0 rfdc: 1.4.1 split2: 4.2.0 worker-timers: 7.1.8 - ws: 8.18.0 + ws: 8.21.0 transitivePeerDependencies: - bufferutil - supports-color @@ -14495,7 +14489,7 @@ snapshots: negotiator@1.0.0: {} - next@16.2.0-canary.45(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.2.4(react@19.2.4))(react@19.2.4): + next@16.2.0-canary.45(@babel/core@7.25.9(supports-color@10.2.2))(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.2.4(react@19.2.4))(react@19.2.4): dependencies: '@next/env': 16.2.0-canary.45 '@swc/helpers': 0.5.15 @@ -14504,7 +14498,7 @@ snapshots: postcss: 8.4.31 react: 19.2.4 react-dom: 19.2.4(react@19.2.4) - styled-jsx: 5.1.6(react@19.2.4) + styled-jsx: 5.1.6(@babel/core@7.25.9(supports-color@10.2.2))(react@19.2.4) optionalDependencies: '@next/swc-darwin-arm64': 16.2.0-canary.45 '@next/swc-darwin-x64': 16.2.0-canary.45 @@ -14521,7 +14515,7 @@ snapshots: - '@babel/core' - babel-plugin-macros - next@16.2.1(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.0.3(react@19.0.3))(react@19.0.3): + next@16.2.1(@babel/core@7.25.9(supports-color@10.2.2))(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.0.3(react@19.0.3))(react@19.0.3): dependencies: '@next/env': 16.2.1 '@swc/helpers': 0.5.15 @@ -14530,7 +14524,7 @@ snapshots: postcss: 8.4.31 react: 19.0.3 react-dom: 19.0.3(react@19.0.3) - styled-jsx: 5.1.6(react@19.0.3) + styled-jsx: 5.1.6(@babel/core@7.25.9(supports-color@10.2.2))(react@19.0.3) optionalDependencies: '@next/swc-darwin-arm64': 16.2.1 '@next/swc-darwin-x64': 16.2.1 @@ -14547,7 +14541,7 @@ snapshots: - '@babel/core' - babel-plugin-macros - next@16.2.1(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.2.3(react@19.2.3))(react@19.2.3): + next@16.2.1(@babel/core@7.25.9(supports-color@10.2.2))(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.2.3(react@19.2.3))(react@19.2.3): dependencies: '@next/env': 16.2.1 '@swc/helpers': 0.5.15 @@ -14556,7 +14550,7 @@ snapshots: postcss: 8.4.31 react: 19.2.3 react-dom: 19.2.3(react@19.2.3) - styled-jsx: 5.1.6(react@19.2.3) + styled-jsx: 5.1.6(@babel/core@7.25.9(supports-color@10.2.2))(react@19.2.3) optionalDependencies: '@next/swc-darwin-arm64': 16.2.1 '@next/swc-darwin-x64': 16.2.1 @@ -14573,7 +14567,7 @@ snapshots: - '@babel/core' - babel-plugin-macros - next@16.2.1(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.2.4(react@19.2.4))(react@19.2.4): + next@16.2.1(@babel/core@7.25.9(supports-color@10.2.2))(@opentelemetry/api@1.9.0)(@playwright/test@1.61.1)(react-dom@19.2.4(react@19.2.4))(react@19.2.4): dependencies: '@next/env': 16.2.1 '@swc/helpers': 0.5.15 @@ -14582,7 +14576,7 @@ snapshots: postcss: 8.4.31 react: 19.2.4 react-dom: 19.2.4(react@19.2.4) - styled-jsx: 5.1.6(react@19.2.4) + styled-jsx: 5.1.6(@babel/core@7.25.9(supports-color@10.2.2))(react@19.2.4) optionalDependencies: '@next/swc-darwin-arm64': 16.2.1 '@next/swc-darwin-x64': 16.2.1 @@ -14601,7 +14595,7 @@ snapshots: node-abi@3.87.0: dependencies: - semver: 7.7.3 + semver: 7.8.5 optional: true node-domexception@1.0.0: {} @@ -14620,9 +14614,9 @@ snapshots: dependencies: path-key: 3.1.1 - number-allocator@1.0.14: + number-allocator@1.0.14(supports-color@10.2.2): dependencies: - debug: 4.4.3 + debug: 4.4.3(supports-color@10.2.2) js-sdsl: 4.3.0 transitivePeerDependencies: - supports-color @@ -14809,7 +14803,7 @@ snapshots: postcss-load-config@4.0.2(postcss@8.5.6)(ts-node@10.9.1(@types/node@24.0.0)(typescript@6.0.3)): dependencies: lilconfig: 3.1.3 - yaml: 2.8.1 + yaml: 2.9.0 optionalDependencies: postcss: 8.5.6 ts-node: 10.9.1(@types/node@24.0.0)(typescript@6.0.3) @@ -14817,7 +14811,7 @@ snapshots: postcss-load-config@4.0.2(postcss@8.5.6)(ts-node@10.9.1(@types/node@24.13.2)(typescript@6.0.3)): dependencies: lilconfig: 3.1.3 - yaml: 2.8.1 + yaml: 2.9.0 optionalDependencies: postcss: 8.5.6 ts-node: 10.9.1(@types/node@24.13.2)(typescript@6.0.3) @@ -14874,9 +14868,9 @@ snapshots: ansi-styles: 5.2.0 react-is: 18.3.1 - prisma@6.7.0(typescript@6.0.3): + prisma@6.7.0(supports-color@10.2.2)(typescript@6.0.3): dependencies: - '@prisma/config': 6.7.0 + '@prisma/config': 6.7.0(supports-color@10.2.2) '@prisma/engines': 6.7.0 optionalDependencies: fsevents: 2.3.3 @@ -15091,9 +15085,9 @@ snapshots: '@rollup/rollup-win32-x64-msvc': 4.24.0 fsevents: 2.3.3 - router@2.2.0: + router@2.2.0(supports-color@10.2.2): dependencies: - debug: 4.4.3 + debug: 4.4.3(supports-color@10.2.2) depd: 2.0.0 is-promise: 4.0.0 parseurl: 1.3.3 @@ -15141,9 +15135,9 @@ snapshots: semver@7.8.5: {} - send@0.19.0: + send@0.19.0(supports-color@10.2.2): dependencies: - debug: 2.6.9 + debug: 2.6.9(supports-color@10.2.2) depd: 2.0.0 destroy: 1.2.0 encodeurl: 1.0.2 @@ -15159,9 +15153,9 @@ snapshots: transitivePeerDependencies: - supports-color - send@1.2.0: + send@1.2.0(supports-color@10.2.2): dependencies: - debug: 4.4.3 + debug: 4.4.3(supports-color@10.2.2) encodeurl: 2.0.0 escape-html: 1.0.3 etag: 1.8.1 @@ -15175,21 +15169,21 @@ snapshots: transitivePeerDependencies: - supports-color - serve-static@1.16.2: + serve-static@1.16.2(supports-color@10.2.2): dependencies: encodeurl: 2.0.0 escape-html: 1.0.3 parseurl: 1.3.3 - send: 0.19.0 + send: 0.19.0(supports-color@10.2.2) transitivePeerDependencies: - supports-color - serve-static@2.2.0: + serve-static@2.2.0(supports-color@10.2.2): dependencies: encodeurl: 2.0.0 escape-html: 1.0.3 parseurl: 1.3.3 - send: 1.2.0 + send: 1.2.0(supports-color@10.2.2) transitivePeerDependencies: - supports-color @@ -15346,38 +15340,38 @@ snapshots: optionalDependencies: fsevents: 2.3.2 - sst@2.44.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0))(@types/react@19.2.9)(aws-crt@1.23.0)(better-sqlite3@11.10.0): + sst@2.44.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(@types/react@19.2.9)(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))(better-sqlite3@11.10.0)(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2): dependencies: '@aws-cdk/aws-lambda-python-alpha': 2.161.1-alpha.0(aws-cdk-lib@2.161.1(constructs@10.3.0))(constructs@10.3.0) '@aws-cdk/cloud-assembly-schema': 38.0.1 '@aws-cdk/cloudformation-diff': 2.161.1 '@aws-cdk/cx-api': 2.161.1(@aws-cdk/cloud-assembly-schema@38.0.1) '@aws-crypto/sha256-js': 5.2.0 - '@aws-sdk/client-cloudformation': 3.678.0(aws-crt@1.23.0) - '@aws-sdk/client-ecs': 3.678.0(aws-crt@1.23.0) - '@aws-sdk/client-eventbridge': 3.678.0(aws-crt@1.23.0) - '@aws-sdk/client-iam': 3.678.0(aws-crt@1.23.0) - '@aws-sdk/client-iot': 3.678.0(aws-crt@1.23.0) - '@aws-sdk/client-iot-data-plane': 3.678.0(aws-crt@1.23.0) - '@aws-sdk/client-lambda': 3.678.0(aws-crt@1.23.0) - '@aws-sdk/client-rds-data': 3.678.0(aws-crt@1.23.0) - '@aws-sdk/client-s3': 3.974.0(aws-crt@1.23.0) - '@aws-sdk/client-ssm': 3.678.0(aws-crt@1.23.0) - '@aws-sdk/client-sts': 3.678.0(aws-crt@1.23.0) + '@aws-sdk/client-cloudformation': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) + '@aws-sdk/client-ecs': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) + '@aws-sdk/client-eventbridge': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) + '@aws-sdk/client-iam': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) + '@aws-sdk/client-iot': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) + '@aws-sdk/client-iot-data-plane': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) + '@aws-sdk/client-lambda': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) + '@aws-sdk/client-rds-data': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) + '@aws-sdk/client-s3': 3.974.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) + '@aws-sdk/client-ssm': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) + '@aws-sdk/client-sts': 3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/config-resolver': 3.374.0 - '@aws-sdk/credential-providers': 3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0))(aws-crt@1.23.0))(aws-crt@1.23.0) + '@aws-sdk/credential-providers': 3.678.0(@aws-sdk/client-sso-oidc@3.678.0(@aws-sdk/client-sts@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)) '@aws-sdk/middleware-retry': 3.374.0 '@aws-sdk/middleware-signing': 3.664.0 - '@aws-sdk/signature-v4-crt': 3.678.0 + '@aws-sdk/signature-v4-crt': 3.678.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2) '@aws-sdk/smithy-client': 3.374.0 - '@babel/core': 7.25.9 + '@babel/core': 7.25.9(supports-color@10.2.2) '@babel/generator': 7.25.9 - '@babel/plugin-syntax-typescript': 7.25.9(@babel/core@7.25.9) + '@babel/plugin-syntax-typescript': 7.25.9(@babel/core@7.25.9(supports-color@10.2.2)) '@smithy/signature-v4': 2.3.0 '@trpc/server': 9.16.0 adm-zip: 0.5.16 aws-cdk-lib: 2.161.1(constructs@10.3.0) - aws-iot-device-sdk: 2.2.15 + aws-iot-device-sdk: 2.2.15(supports-color@10.2.2) aws-sdk: 2.1691.0 builtin-modules: 3.2.0 cdk-assets: 2.155.6 @@ -15389,9 +15383,9 @@ snapshots: constructs: 10.3.0 cross-spawn: 7.0.3 dendriform-immer-patch-optimiser: 2.1.3(immer@9.0.21) - dotenv: 16.4.5 + dotenv: 16.6.1 esbuild: 0.18.13 - express: 4.21.2 + express: 4.21.2(supports-color@10.2.2) fast-jwt: 3.3.3 get-port: 6.1.2 glob: 10.4.5 @@ -15402,7 +15396,7 @@ snapshots: ink-spinner: 5.0.0(ink@4.4.1(@types/react@19.2.9)(react@18.3.1))(react@18.3.1) kysely: 0.25.0 kysely-codegen: 0.10.1(better-sqlite3@11.10.0)(kysely@0.25.0) - kysely-data-api: 0.2.1(@aws-sdk/client-rds-data@3.678.0(aws-crt@1.23.0))(kysely@0.25.0) + kysely-data-api: 0.2.1(@aws-sdk/client-rds-data@3.678.0(aws-crt@1.23.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2)))(kysely@0.25.0) minimatch: 6.2.0 openid-client: 5.7.0 ora: 6.3.1 @@ -15434,16 +15428,16 @@ snapshots: stackback@0.0.2: {} - start-server-and-test@2.0.0: + start-server-and-test@2.0.0(supports-color@10.2.2): dependencies: arg: 5.0.2 bluebird: 3.7.2 check-more-types: 2.24.0 - debug: 4.3.4 + debug: 4.3.4(supports-color@10.2.2) execa: 5.1.1 lazy-ass: 1.6.0 ps-tree: 1.2.0 - wait-on: 7.0.1(debug@4.3.4) + wait-on: 7.0.1(debug@4.3.4(supports-color@10.2.2)) transitivePeerDependencies: - supports-color @@ -15506,24 +15500,28 @@ snapshots: strnum@1.0.5: {} - strnum@2.1.2: {} - strnum@2.2.2: {} - styled-jsx@5.1.6(react@19.0.3): + styled-jsx@5.1.6(@babel/core@7.25.9(supports-color@10.2.2))(react@19.0.3): dependencies: client-only: 0.0.1 react: 19.0.3 + optionalDependencies: + '@babel/core': 7.25.9(supports-color@10.2.2) - styled-jsx@5.1.6(react@19.2.3): + styled-jsx@5.1.6(@babel/core@7.25.9(supports-color@10.2.2))(react@19.2.3): dependencies: client-only: 0.0.1 react: 19.2.3 + optionalDependencies: + '@babel/core': 7.25.9(supports-color@10.2.2) - styled-jsx@5.1.6(react@19.2.4): + styled-jsx@5.1.6(@babel/core@7.25.9(supports-color@10.2.2))(react@19.2.4): dependencies: client-only: 0.0.1 react: 19.2.4 + optionalDependencies: + '@babel/core': 7.25.9(supports-color@10.2.2) sucrase@3.35.0: dependencies: @@ -15826,8 +15824,6 @@ snapshots: dependencies: '@fastify/busboy': 2.1.1 - undici@7.18.2: {} - undici@7.28.0: {} unenv@2.0.0-rc.24: @@ -15884,10 +15880,10 @@ snapshots: vary@1.1.2: {} - vite-node@2.1.3(@types/node@24.13.2)(lightningcss@1.30.2)(terser@5.16.9): + vite-node@2.1.3(@types/node@24.13.2)(lightningcss@1.30.2)(supports-color@10.2.2)(terser@5.16.9): dependencies: cac: 6.7.14 - debug: 4.4.3 + debug: 4.4.3(supports-color@10.2.2) pathe: 1.1.2 vite: 5.4.9(@types/node@24.13.2)(lightningcss@1.30.2)(terser@5.16.9) transitivePeerDependencies: @@ -15901,9 +15897,9 @@ snapshots: - supports-color - terser - vite-tsconfig-paths@5.0.1(typescript@5.9.3)(vite@5.4.9(@types/node@24.13.2)(lightningcss@1.30.2)(terser@5.16.9)): + vite-tsconfig-paths@5.0.1(supports-color@10.2.2)(typescript@5.9.3)(vite@5.4.9(@types/node@24.13.2)(lightningcss@1.30.2)(terser@5.16.9)): dependencies: - debug: 4.3.7 + debug: 4.3.7(supports-color@10.2.2) globrex: 0.1.2 tsconfck: 3.1.4(typescript@5.9.3) optionalDependencies: @@ -15923,7 +15919,7 @@ snapshots: lightningcss: 1.30.2 terser: 5.16.9 - vitest@2.1.3(@edge-runtime/vm@3.2.0)(@types/node@24.13.2)(jsdom@22.1.0)(lightningcss@1.30.2)(terser@5.16.9): + vitest@2.1.3(@edge-runtime/vm@3.2.0)(@types/node@24.13.2)(jsdom@22.1.0(supports-color@10.2.2))(lightningcss@1.30.2)(supports-color@10.2.2)(terser@5.16.9): dependencies: '@vitest/expect': 2.1.3 '@vitest/mocker': 2.1.3(@vitest/spy@2.1.3)(vite@5.4.9(@types/node@24.13.2)(lightningcss@1.30.2)(terser@5.16.9)) @@ -15933,7 +15929,7 @@ snapshots: '@vitest/spy': 2.1.3 '@vitest/utils': 2.1.3 chai: 5.1.2 - debug: 4.4.3 + debug: 4.4.3(supports-color@10.2.2) magic-string: 0.30.12 pathe: 1.1.2 std-env: 3.7.0 @@ -15942,12 +15938,12 @@ snapshots: tinypool: 1.0.1 tinyrainbow: 1.2.0 vite: 5.4.9(@types/node@24.13.2)(lightningcss@1.30.2)(terser@5.16.9) - vite-node: 2.1.3(@types/node@24.13.2)(lightningcss@1.30.2)(terser@5.16.9) + vite-node: 2.1.3(@types/node@24.13.2)(lightningcss@1.30.2)(supports-color@10.2.2)(terser@5.16.9) why-is-node-running: 2.3.0 optionalDependencies: '@edge-runtime/vm': 3.2.0 '@types/node': 24.13.2 - jsdom: 22.1.0 + jsdom: 22.1.0(supports-color@10.2.2) transitivePeerDependencies: - less - lightningcss @@ -15963,9 +15959,9 @@ snapshots: dependencies: xml-name-validator: 4.0.0 - wait-on@7.0.1(debug@4.3.4): + wait-on@7.0.1(debug@4.3.4(supports-color@10.2.2)): dependencies: - axios: 0.27.2(debug@4.3.4) + axios: 0.27.2(debug@4.3.4(supports-color@10.2.2)) joi: 17.13.3 lodash: 4.17.21 minimist: 1.2.8 @@ -16053,14 +16049,6 @@ snapshots: worker-timers-broker: 6.1.8 worker-timers-worker: 7.0.71 - workerd@1.20260120.0: - optionalDependencies: - '@cloudflare/workerd-darwin-64': 1.20260120.0 - '@cloudflare/workerd-darwin-arm64': 1.20260120.0 - '@cloudflare/workerd-linux-64': 1.20260120.0 - '@cloudflare/workerd-linux-arm64': 1.20260120.0 - '@cloudflare/workerd-windows-64': 1.20260120.0 - workerd@1.20260710.1: optionalDependencies: '@cloudflare/workerd-darwin-64': 1.20260710.1 @@ -16086,23 +16074,6 @@ snapshots: - bufferutil - utf-8-validate - wrangler@4.60.0(@cloudflare/workers-types@4.20260123.0): - dependencies: - '@cloudflare/kv-asset-handler': 0.4.2 - '@cloudflare/unenv-preset': 2.11.0(unenv@2.0.0-rc.24)(workerd@1.20260120.0) - blake3-wasm: 2.1.5 - esbuild: 0.27.0 - miniflare: 4.20260120.0 - path-to-regexp: 6.3.0 - unenv: 2.0.0-rc.24 - workerd: 1.20260120.0 - optionalDependencies: - '@cloudflare/workers-types': 4.20260123.0 - fsevents: 2.3.3 - transitivePeerDependencies: - - bufferutil - - utf-8-validate - wrap-ansi@7.0.0: dependencies: ansi-styles: 4.3.0