diff --git a/.github/scripts/test-d1-migrations.mjs b/.github/scripts/test-d1-migrations.mjs index 6e8230b..2908b0b 100644 --- a/.github/scripts/test-d1-migrations.mjs +++ b/.github/scripts/test-d1-migrations.mjs @@ -38,6 +38,12 @@ migrations_dir = "migrations" WRANGLER_SEND_METRICS: 'false', D1_LOCATION: 'local', GITHUB_OUTPUT: join(cwd, 'outputs'), + // pnpm 11's default `verify-deps-before-run=install` makes `pnpm exec + // wrangler` re-check deps and, in this fixture (a bare package.json with a + // symlinked node_modules and no lockfile), run an install that writes + // "Already up to date" / "Done in … using pnpm" to stdout — polluting + // `wrangler d1 execute --json`. Disable the check so stdout stays clean. + pnpm_config_verify_deps_before_run: 'false', }; const run = (command, args, extraEnv = {}) => execFileSync(command, args, { diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 07cace8..304bb83 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,9 +52,8 @@ jobs: audit: name: Dependency audit runs-on: ubuntu-latest - # Non-blocking for now: existing advisories (react-router < 7.18.2) would - # otherwise fail every run. Make this blocking once they are resolved. - continue-on-error: true + # Blocking: react-router < 7.18.2 advisories are resolved, so a high+ audit + # finding should fail the run rather than let a vulnerable build deploy. steps: - uses: actions/checkout@v6 with: diff --git a/apps/web/package.json b/apps/web/package.json index a3be91b..aa40b54 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -17,7 +17,7 @@ "qrcode": "^1.5.4", "react": "^19.0.0", "react-dom": "^19.0.0", - "react-router-dom": "^7.0.0", + "react-router-dom": "^7.18.2", "recharts": "^3.0.0", "sonner": "^2.0.0", "tailwind-merge": "^3.0.0" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ce6abce..cd5d546 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -39,8 +39,8 @@ importers: specifier: ^19.0.0 version: 19.2.8(react@19.2.8) react-router-dom: - specifier: ^7.0.0 - version: 7.17.0(react-dom@19.2.8(react@19.2.8))(react@19.2.8) + specifier: ^7.18.2 + version: 7.18.4(react-dom@19.2.8(react@19.2.8))(react@19.2.8) recharts: specifier: ^3.0.0 version: 3.8.1(@types/react@19.2.18)(react-dom@19.2.8(react@19.2.8))(react-is@18.3.1)(react@19.2.8)(redux@5.0.1) @@ -1341,15 +1341,15 @@ packages: redux: optional: true - react-router-dom@7.17.0: - resolution: {integrity: sha512-fyU2yjGups/hE6Xz0I5ZYbVL8Gx29eCjgpHaRaTaVU+OOAdfRX05KsvyRm0GO8YQwOkhpU3MurW1jyMUJn+zSw==} + react-router-dom@7.18.4: + resolution: {integrity: sha512-yrfmJHIpDG7taCpqKjT1G5B6q3O2K+RN8/fgNf0lTjCwiPbQ0ei6vXX9ZjQR+7ld8Tr7Z5xmyMnZ8YJrphWQUw==} engines: {node: '>=20.0.0'} peerDependencies: react: '>=18' react-dom: '>=18' - react-router@7.17.0: - resolution: {integrity: sha512-FDELK7rTMlCHO5+reyXsPlmfr7N1F91lPHsWYfMEGQm/KQ+F4JFM8jGoeQDmDvdTs93Fw9aSilH+uKRb4/jXvQ==} + react-router@7.18.4: + resolution: {integrity: sha512-PUPQcMhMGRAslLcvtlPz/kmzBEWPhLdgLFrL7pLNepBL6dX0lWj4WD2cUYVgYCuT3jxvghYFg81cDTj44DhetQ==} engines: {node: '>=20.0.0'} peerDependencies: react: '>=18' @@ -2557,13 +2557,13 @@ snapshots: '@types/react': 19.2.18 redux: 5.0.1 - react-router-dom@7.17.0(react-dom@19.2.8(react@19.2.8))(react@19.2.8): + react-router-dom@7.18.4(react-dom@19.2.8(react@19.2.8))(react@19.2.8): dependencies: react: 19.2.8 react-dom: 19.2.8(react@19.2.8) - react-router: 7.17.0(react-dom@19.2.8(react@19.2.8))(react@19.2.8) + react-router: 7.18.4(react-dom@19.2.8(react@19.2.8))(react@19.2.8) - react-router@7.17.0(react-dom@19.2.8(react@19.2.8))(react@19.2.8): + react-router@7.18.4(react-dom@19.2.8(react@19.2.8))(react@19.2.8): dependencies: cookie: 1.1.1 react: 19.2.8