chore(deps): upkeep 2026-12-05 — 16 non-major bumps, clear six dev-tooling advisories #11

Merged
poli0981 merged 3 commits from chore/deps-2026-12-05 into main 2026-12-05 03:36:10 +00:00
7 changed files with 826 additions and 951 deletions

No files matched your search

+4 -4
View File
@@ -47,7 +47,7 @@ jobs:
# No `version:` — the action reads package.json `packageManager`, so CI
# and laptops run the same pnpm.
- uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
- uses: actions/setup-node@8fccf151e3ba8038c300f83b40c8fd1e94f9c5ce # v7.2.0
with:
node-version-file: .nvmrc
cache: pnpm
@@ -125,7 +125,7 @@ jobs:
fetch-depth: 0 # the changed-links step diffs against the PR base
persist-credentials: false
- uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
- uses: actions/setup-node@8fccf151e3ba8038c300f83b40c8fd1e94f9c5ce # v7.2.0
with:
node-version-file: .nvmrc
cache: pnpm
@@ -215,7 +215,7 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
- uses: actions/setup-node@8fccf151e3ba8038c300f83b40c8fd1e94f9c5ce # v7.2.0
with:
node-version-file: .nvmrc
- name: Record build and gates as commit statuses
@@ -250,7 +250,7 @@ jobs:
with:
persist-credentials: false
- uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
- uses: actions/setup-node@8fccf151e3ba8038c300f83b40c8fd1e94f9c5ce # v7.2.0
with:
node-version-file: .nvmrc
cache: pnpm
+1 -1
View File
@@ -35,7 +35,7 @@ jobs:
persist-credentials: false
# extract-urls.mjs and gitea.mjs are plain Node, but they should run on
# the project's Node (.nvmrc), not whatever the runner image ships.
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
- uses: actions/setup-node@8fccf151e3ba8038c300f83b40c8fd1e94f9c5ce # v7.2.0
with:
node-version-file: .nvmrc
- run: node scripts/extract-urls.mjs > /tmp/urls.txt
+1 -1
View File
@@ -49,7 +49,7 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
- uses: actions/setup-node@8fccf151e3ba8038c300f83b40c8fd1e94f9c5ce # v7.2.0
with:
node-version-file: .nvmrc
+1 -1
View File
@@ -74,7 +74,7 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
- uses: actions/setup-node@8fccf151e3ba8038c300f83b40c8fd1e94f9c5ce # v7.2.0
with:
node-version-file: .nvmrc
+16 -16
View File
@@ -37,20 +37,20 @@
"vt:recheck": "node scripts/vt-recheck.mjs"
},
"dependencies": {
"@astrojs/rss": "^4.0.19",
"@astrojs/sitemap": "^3.7.6",
"@astrojs/rss": "^4.0.20",
"@astrojs/sitemap": "^3.7.7",
"@astrojs/svelte": "^9.1.6",
"@fontsource-variable/bricolage-grotesque": "^5.3.0",
"@fontsource/be-vietnam-pro": "^5.3.0",
"@fontsource/ibm-plex-mono": "^5.3.0",
"@iconify-json/lucide": "^1.2.160",
"@iconify-json/simple-icons": "^1.2.104",
"@iconify-json/lucide": "^1.2.163",
"@iconify-json/simple-icons": "^1.2.105",
"@tailwindcss/vite": "^4.3.5",
"@vite-pwa/astro": "2.0.4",
"astro": "^7.4.13",
"@vite-pwa/astro": "2.0.5",
"astro": "^7.4.14",
"minisearch": "^7.2.0",
"nanostores": "^1.5.5",
"svelte": "^5.59.2",
"svelte": "^5.60.1",
"tailwindcss": "^4.3.5",
"unplugin-icons": "^24.0.0"
},
@@ -58,30 +58,30 @@
"@astrojs/check": "^0.9.12",
"@axe-core/playwright": "^4.14.1",
"@eslint/js": "^10.0.1",
"@playwright/test": "^1.65.1",
"@playwright/test": "^1.65.2",
"@types/node": "^26.6.11",
"@typescript/native": "npm:typescript@^7.0.2",
"@vite-pwa/workbox-swkit": "^8.0.15",
"@vite-pwa/workbox-window": "^8.0.15",
"@vitest/coverage-v8": "5.1.2",
"eslint": "^10.15.0",
"eslint-plugin-astro": "^3.2.2",
"eslint": "^10.16.0",
"eslint-plugin-astro": "^3.2.3",
"eslint-plugin-svelte": "^3.24.1",
"globals": "^17.14.0",
"globals": "^17.15.0",
"happy-dom": "^21.0.4",
"knip": "^6.48.0",
"knip": "^6.51.0",
"lefthook": "^2.2.4",
"magicast": "^0.5.5",
"prettier": "^3.10.1",
"prettier": "^3.10.2",
"prettier-plugin-astro": "^1.1.2",
"prettier-plugin-svelte": "^4.2.0",
"prettier-plugin-tailwindcss": "^0.8.1",
"rolldown": "1.3.4",
"sharp": "^0.35.5",
"svelte-eslint-parser": "^1.12.0",
"sharp": "^0.35.6",
"svelte-eslint-parser": "^1.13.0",
"typescript": "npm:@typescript/typescript6@^6.0.2",
"typescript-eslint": "^8.74.0",
"vitest": "^5.1.2",
"wrangler": "^4.168.0"
"wrangler": "^4.171.0"
}
}
+22
View File
@@ -16,8 +16,29 @@
// 429 page). Cloudflare's own edge is verified on production after each
// deploy (ci.yml `deploy`, docs/13 §3) — there are no preview versions since
// the move to Gitea (D38).
import { readFileSync } from 'node:fs';
import { defineConfig, devices } from '@playwright/test';
/**
* CPUs this process may actually use when a cgroup v2 quota caps it — the
* CI job container runs with `docker --cpus=4` (runner `anon-docker`, since
* 2026-12-04), yet `os.cpus()`, which Playwright sizes its pool by, still
* reports every core of the host (28). Fourteen workers on four CPUs made
* axe on /apps take over 30 s instead of ~9 s and time out. `undefined`
* (Playwright's own default) wherever no quota applies, laptops included.
*/
function cgroupCpuQuota(): number | undefined {
try {
const [quota, period] = readFileSync('/sys/fs/cgroup/cpu.max', 'utf8').trim().split(/\s+/);
if (quota === undefined || quota === 'max' || period === undefined) return undefined;
const cpus = Math.floor(Number(quota) / Number(period));
return Number.isFinite(cpus) ? Math.max(1, cpus) : undefined;
} catch {
return undefined;
}
}
const CPU_QUOTA = cgroupCpuQuota();
const PORT = 4321;
// Not wrangler's default 8787/8788: another project's `wrangler dev` may hold
// those, and reuseExistingServer would then test the wrong site.
@@ -27,6 +48,7 @@ const WORKER_SPEC = /worker\.spec\.ts$/;
export default defineConfig({
testDir: 'e2e',
fullyParallel: true,
...(CPU_QUOTA === undefined ? {} : { workers: CPU_QUOTA }),
forbidOnly: Boolean(process.env['CI']),
retries: process.env['CI'] ? 1 : 0,
// `list` in CI too: Gitea shows no annotations, so the github reporter's
+781 -928
View File
File diff suppressed because it is too large. Load diff