- fix(deps): bump the minor-and-patch group with 15 updates (Dependabot #78) - ci: bump the actions group with 3 updates (Dependabot #77) - ci: pin SonarScanner CLI 8.4.0.16527 — action v8.5.0's default had passed the old pin - chore(deps): pnpm 11.28.12, minimatch override scoped to typescript-estree Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
10 files changed
+567
-563
No files matched your search
@@ -140,7 +140,7 @@ jobs:
|
||||
# `v2` tag — only full versions. `…/osv-scanner-action@v2` does not
|
||||
# resolve.
|
||||
- name: Vulnerability scan
|
||||
uses: google/osv-scanner-action/osv-scanner-action@b1d267aea5211fa648d9d442fa64b90dbdcbdd36 # v2.7.0
|
||||
uses: google/osv-scanner-action/osv-scanner-action@32d3cd482bdadfb38b186c0ad1b031902d55d932 # v2.7.1
|
||||
with:
|
||||
scan-args: |-
|
||||
--lockfile=pnpm-lock.yaml
|
||||
@@ -240,13 +240,16 @@ jobs:
|
||||
id: version
|
||||
run: echo "version=$(node -p "require('./package.json').version")" >> "$GITHUB_OUTPUT"
|
||||
# scannerVersion pins the newest SonarScanner CLI (the action's default
|
||||
# trails it); the action verifies the download's signature.
|
||||
# can trail it); the action verifies the download's signature.
|
||||
# Dependabot bumps the action, never this input — re-check it on every
|
||||
# action bump, or the pin ends up OLDER than the action's own default
|
||||
# (as 8.3.1 did when v8.5.0 moved its default to 8.4.0).
|
||||
- name: SonarQube Cloud scan
|
||||
uses: SonarSource/sonarqube-scan-action@e805d875275f728fac1885b413934be6d7c63f65 # v8.4.1
|
||||
uses: SonarSource/sonarqube-scan-action@59202af334b4ba7b5db01b701b8e79f8b3bef0f4 # v8.5.0
|
||||
env:
|
||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||
with:
|
||||
scannerVersion: 8.3.1.16491
|
||||
scannerVersion: 8.4.0.16527
|
||||
args: >-
|
||||
-Dsonar.projectVersion=${{ steps.version.outputs.version }}
|
||||
-Dsonar.qualitygate.wait=true
|
||||
@@ -61,7 +61,7 @@ jobs:
|
||||
# create and approve pull requests" (action item H10 — enabled).
|
||||
- id: cpr
|
||||
if: steps.sweep.outputs.moved != ''
|
||||
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
|
||||
uses: peter-evans/create-pull-request@3ffccacd46053766916f087ce41d627c0b8cf2d1 # v8.1.3
|
||||
with:
|
||||
branch: quarantine/auto
|
||||
sign-commits: true
|
||||
|
||||
@@ -134,7 +134,7 @@ jobs:
|
||||
# create and approve pull requests" (H10 — enabled for quarantine.yml).
|
||||
- id: cpr
|
||||
if: github.ref == 'refs/heads/main' && steps.scan.outputs.changed != '0'
|
||||
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
|
||||
uses: peter-evans/create-pull-request@3ffccacd46053766916f087ce41d627c0b8cf2d1 # v8.1.3
|
||||
with:
|
||||
branch: vt/recheck
|
||||
add-paths: src/data/apps
|
||||
|
||||
@@ -42,13 +42,21 @@
|
||||
> `@vite-pwa/workbox-window` as direct devDependencies under pnpm (docs/09 §7)
|
||||
> and drops workbox-build 7 with ~270 transitive packages. Node 26.13.0 is the
|
||||
> newest 26.x (LTS since 2026-10-28).
|
||||
>
|
||||
> **Upkeep 2026-11-16:** pnpm 11.28.12 (a security release) · Astro 7.4.12
|
||||
> (Rolldown 1.3.2) · `@astrojs/svelte` 9.1.6 · `@vite-pwa/astro` 2.0.2
|
||||
> (`@vite-pwa/workbox-*` 8.0.15) · Wrangler 4.162 · Playwright 1.65.1 ·
|
||||
> ESLint 10.15 · `typescript-eslint` 8.72.2 · Prettier 3.10 · knip 6.45 ·
|
||||
> `sonarqube-scan-action` 8.5.0 (CLI 8.4.0) · `osv-scanner-action` 2.7.1 ·
|
||||
> `create-pull-request` 8.1.3. Node 26.13.1 (a security release, 2026-11-10)
|
||||
> reaches CI and Workers Builds by itself through `.nvmrc` = `26`.
|
||||
|
||||
## 1. Runtime & toolchain
|
||||
|
||||
| Layer | Package | Line (2026-07-15) | Notes |
|
||||
|---|---|---|---|
|
||||
| Runtime | Node.js | **26** (26.12 at v1.2; was 24 LTS "Krypton" until 2026-10-23) | LTS from 2026-10-28, maintenance from 2027-10, end of life 2029-04. Taken five days before the LTS label at the owner's request (D7 amended) — Node 24 had entered maintenance on 2026-10-20, and CI, the e2e suite and a Workers Builds preview all passed on 26 first. Pin via `.nvmrc` = `26` and `"engines": { "node": ">=26 <27" }`; CI and Workers Builds read `.nvmrc`, and `@types/node` majors are held to the same line (Dependabot ignore, §5). **Node 25+ ships no Corepack**: a laptop whose `pnpm` came from Corepack needs `npm install -g corepack` (or a standalone pnpm) after upgrading, or `pnpm` and the lefthook hooks stop working. |
|
||||
| Package manager | pnpm | **11.x** (`11.28.11` since 2026-11-09, `packageManager`; `11.28.9` from 2026-11-04, `11.15.1` before) | `packageManager` field pinned; CI's `pnpm/action-setup` reads it (no `version:`), so CI, Dependabot, Workers Builds and laptops run the same pnpm. **Do not set `ignore-scripts`** — pnpm ≥ 10 already blocks dependency install scripts and wants an `allowBuilds` allowlist in `pnpm-workspace.yaml` instead (docs/09 §7). pnpm 11's default **24 h `minimumReleaseAge`** refuses day-old releases — hence Dependabot's 2-day cooldown (§5). |
|
||||
| Package manager | pnpm | **11.x** (`11.28.12` since 2026-11-16, `packageManager`; `11.28.11` from 2026-11-09, `11.28.9` from 2026-11-04, `11.15.1` before) | `packageManager` field pinned; CI's `pnpm/action-setup` reads it (no `version:`), so CI, Dependabot, Workers Builds and laptops run the same pnpm. **Do not set `ignore-scripts`** — pnpm ≥ 10 already blocks dependency install scripts and wants an `allowBuilds` allowlist in `pnpm-workspace.yaml` instead (docs/09 §7). pnpm 11's default **24 h `minimumReleaseAge`** refuses day-old releases — hence Dependabot's 2-day cooldown (§5). |
|
||||
| Deploy CLI | Wrangler | **4.x** (4.151 at v1.1) | Workers Builds runs `npx wrangler deploy` (main) and `wrangler versions upload` (PRs); CI runs `wrangler deploy --dry-run` to bundle `worker/` and validate `wrangler.jsonc`. Since D25 there **is** a Worker script (`worker/index.ts`), tested under Vitest in Node — the local `workerd` runtime stays blocked in `allowBuilds` (docs/09 §7). Types for the Worker are written by hand (`worker/env.ts`), not `@cloudflare/workers-types`. |
|
||||
|
||||
## 2. Framework & UI
|
||||
|
||||
@@ -85,7 +85,7 @@ serves (`workers_dev: false`). Full domain checklist: docs/16 §10.
|
||||
downloaded per build) and `packageManager` (pnpm 11), or production can
|
||||
differ from what CI validated — re-check after any toolchain bump
|
||||
(docs/13 §2). Node 25+ ships no Corepack; should a build ever fail to find
|
||||
pnpm, the Workers Builds variable `PNPM_VERSION=11.28.11` (the
|
||||
pnpm, the Workers Builds variable `PNPM_VERSION=11.28.12` (the
|
||||
`packageManager` version) is the fix.
|
||||
- Rollback: dashboard → the Worker → **Deployments** → promote a previous
|
||||
version, or `wrangler rollback`.
|
||||
|
||||
@@ -361,9 +361,14 @@ does not read issue labels.
|
||||
Both reach us only through dev tooling (the eslint toolchain,
|
||||
`@astrojs/check`'s language server); nothing ships to a visitor.
|
||||
`minimatch` (GHSA-g3hv-75wg-m249, ≥ 11.0.1, added 2026-11-04) crosses a
|
||||
major — eslint and typescript-eslint ask for 10 — which is accepted only
|
||||
because every caller uses API 11 kept and lint covers the same 157 files
|
||||
with the same rules either side. Every minimatch 11 requires
|
||||
major — typescript-eslint still asks for 10 — which is accepted only
|
||||
because the caller uses API 11 kept and lint covers the same 157 files
|
||||
with the same rules either side. Since 2026-11-16 the line is scoped to
|
||||
that one caller (`@typescript-eslint/typescript-estree>minimatch`):
|
||||
eslint 10.15 and `@eslint/config-array` ask for ^11.0.5 themselves, and a
|
||||
global `^11.0.1` floor had held them on 11.0.4, below their own range — an
|
||||
override must never be looser than what a caller already asks for. Every
|
||||
minimatch 11 requires
|
||||
brace-expansion ≥ 5.0.12, so that floor was retired the same day, as was
|
||||
`miniflare>undici` once miniflare itself pinned the fixed 7.30.1.
|
||||
`glob` (GHSA-3g3m-2fjr-6pw4) and `serialize-javascript`
|
||||
|
||||
+9
-8
@@ -90,15 +90,16 @@ deliberately: first-party org workflows (`poli0981/.github`) are tracked at
|
||||
`@main` so org-wide fixes land everywhere at once, and how *they* pin their
|
||||
internal actions is the ops repo's call — do not file it as a defect here.
|
||||
|
||||
Pinned as of 2026-11-04: `actions/checkout` v7.0.1 · `pnpm/action-setup`
|
||||
Pinned as of 2026-11-16: `actions/checkout` v7.0.1 · `pnpm/action-setup`
|
||||
v6.1.1 (no `version:` — it reads `packageManager`) · `actions/setup-node`
|
||||
v7.1.0 (`node-version-file: .nvmrc`) · `actions/cache` v6.1.0 ·
|
||||
`actions/upload-artifact` v7.0.2 · `google/osv-scanner-action` v2.7.0 ·
|
||||
`actions/upload-artifact` v7.0.2 · `google/osv-scanner-action` v2.7.1 ·
|
||||
`lycheeverse/lychee-action` v2.9.0 · `peter-evans/create-pull-request`
|
||||
v8.1.1 · `SonarSource/sonarqube-scan-action` v8.4.1 (with
|
||||
`scannerVersion: 8.3.1.16491`, the newest CLI — Dependabot bumps the action,
|
||||
not that input; the deprecated `sonarcloud-github-action` must not come
|
||||
back). Added 2026-11-15 (D35): `JetBrains/qodana-action` v2026.2.2 — its
|
||||
v8.1.3 · `SonarSource/sonarqube-scan-action` v8.5.0 (with
|
||||
`scannerVersion: 8.4.0.16527`, the newest CLI — Dependabot bumps the action,
|
||||
not that input, so re-check the pin on every action bump: v8.5.0's own
|
||||
default had already moved past the old 8.3.1 pin; the deprecated
|
||||
`sonarcloud-github-action` must not come back). Added 2026-11-15 (D35): `JetBrains/qodana-action` v2026.2.2 — its
|
||||
release line selects the linter (`qodana-js` 2026.2) — and
|
||||
`github/codeql-action/upload-sarif` v4.39.3.
|
||||
|
||||
@@ -175,7 +176,7 @@ cancels superseded runs except on `main`. Jobs:
|
||||
|
||||
Two action references that do not work the obvious way: the OSV scanner lives
|
||||
in a **subdirectory** of its repo and publishes **no rolling major tag**, so it
|
||||
is `google/osv-scanner-action/osv-scanner-action@<sha> # v2.7.0` — `@v2` does
|
||||
is `google/osv-scanner-action/osv-scanner-action@<sha> # v2.7.1` — `@v2` does
|
||||
not resolve at all.
|
||||
|
||||
`.github/workflows/codeql.yml` — `reusable-codeql.yml` **does** exist (verified
|
||||
@@ -362,7 +363,7 @@ jobs:
|
||||
run: node scripts/quarantine.mjs # moves flagged files, writes `moved`
|
||||
- id: cpr
|
||||
if: steps.sweep.outputs.moved != ''
|
||||
uses: peter-evans/create-pull-request@<sha> # v8.1.1
|
||||
uses: peter-evans/create-pull-request@<sha> # v8.1.3
|
||||
with:
|
||||
branch: quarantine/auto
|
||||
sign-commits: true # the ruleset requires signed commits
|
||||
|
||||
+16
-16
@@ -6,7 +6,7 @@
|
||||
"description": "Bilingual (EN/VI) directory of free and buy-once desktop software",
|
||||
"license": "GPL-3.0-only",
|
||||
"author": "poli0981 / SkullMute",
|
||||
"packageManager": "pnpm@11.28.11",
|
||||
"packageManager": "pnpm@11.28.12",
|
||||
"engines": {
|
||||
"node": ">=26 <27"
|
||||
},
|
||||
@@ -38,16 +38,16 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/rss": "^4.0.19",
|
||||
"@astrojs/sitemap": "^3.7.4",
|
||||
"@astrojs/svelte": "^9.1.2",
|
||||
"@astrojs/sitemap": "^3.7.5",
|
||||
"@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.152",
|
||||
"@iconify-json/simple-icons": "^1.2.101",
|
||||
"@iconify-json/lucide": "^1.2.154",
|
||||
"@iconify-json/simple-icons": "^1.2.102",
|
||||
"@tailwindcss/vite": "^4.3.5",
|
||||
"@vite-pwa/astro": "2.0.1",
|
||||
"astro": "^7.4.7",
|
||||
"@vite-pwa/astro": "2.0.2",
|
||||
"astro": "^7.4.12",
|
||||
"minisearch": "^7.2.0",
|
||||
"nanostores": "^1.5.5",
|
||||
"svelte": "^5.57.3",
|
||||
@@ -58,30 +58,30 @@
|
||||
"@astrojs/check": "^0.9.12",
|
||||
"@axe-core/playwright": "^4.14.0",
|
||||
"@eslint/js": "^10.0.1",
|
||||
"@playwright/test": "^1.65.0",
|
||||
"@playwright/test": "^1.65.1",
|
||||
"@types/node": "^26.6.6",
|
||||
"@typescript/native": "npm:typescript@^7.0.2",
|
||||
"@vite-pwa/workbox-swkit": "^8.0.14",
|
||||
"@vite-pwa/workbox-window": "^8.0.14",
|
||||
"@vite-pwa/workbox-swkit": "^8.0.15",
|
||||
"@vite-pwa/workbox-window": "^8.0.15",
|
||||
"@vitest/coverage-v8": "5.1.0",
|
||||
"eslint": "^10.14.0",
|
||||
"eslint": "^10.15.0",
|
||||
"eslint-plugin-astro": "^3.2.1",
|
||||
"eslint-plugin-svelte": "^3.24.1",
|
||||
"globals": "^17.14.0",
|
||||
"happy-dom": "^21.0.4",
|
||||
"knip": "^6.44.2",
|
||||
"knip": "^6.45.1",
|
||||
"lefthook": "^2.2.2",
|
||||
"magicast": "^0.5.5",
|
||||
"prettier": "^3.9.10",
|
||||
"prettier": "^3.10.1",
|
||||
"prettier-plugin-astro": "^1.1.2",
|
||||
"prettier-plugin-svelte": "^4.1.1",
|
||||
"prettier-plugin-tailwindcss": "^0.8.1",
|
||||
"rolldown": "1.3.0",
|
||||
"rolldown": "1.3.2",
|
||||
"sharp": "^0.35.5",
|
||||
"svelte-eslint-parser": "^1.10.1",
|
||||
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
||||
"typescript-eslint": "^8.72.1",
|
||||
"typescript-eslint": "^8.72.2",
|
||||
"vitest": "^5.1.0",
|
||||
"wrangler": "^4.158.0"
|
||||
"wrangler": "^4.162.0"
|
||||
}
|
||||
}
|
||||
Generated
+504
-520
File diff suppressed because it is too large.
Load diff
+11
-8
@@ -26,13 +26,16 @@ allowBuilds:
|
||||
# advisory listed. Remove a line once upstream's own range moves past it
|
||||
# (`pnpm why <pkg>` shows who still pins the old version).
|
||||
#
|
||||
# minimatch — GHSA-g3hv-75wg-m249 (<11.0.1). Callers: eslint, @eslint/config-array
|
||||
# and typescript-eslint (`^10.2.x`, matching our own config globs against our
|
||||
# own paths). No patched 10.x exists, so 11 is forced across a major;
|
||||
# acceptable only because every caller uses nothing 11 removed — `minimatch()`,
|
||||
# `minimatch.match()` and `new Minimatch().match()`, never makeRe/regexp/AST/
|
||||
# debug — and `pnpm lint` lints the same 157 files with the same result either
|
||||
# side of the override (checked 2026-11-04). Every 11.x requires
|
||||
# minimatch — GHSA-g3hv-75wg-m249 (<11.0.1). One caller is still below the fix:
|
||||
# @typescript-eslint/typescript-estree (`^10.2.2`, matching our own config
|
||||
# globs against our own paths). No patched 10.x exists, so 11 is forced across
|
||||
# a major for that caller; acceptable only because it uses nothing 11 removed
|
||||
# — `minimatch()`, `minimatch.match()` and `new Minimatch().match()`, never
|
||||
# makeRe/regexp/AST/debug — and `pnpm lint` lints the same 157 files with the
|
||||
# same result either side of the override (checked 2026-11-04). Scoped to that
|
||||
# one caller since 2026-11-16: eslint 10.15 and @eslint/config-array 0.23.6
|
||||
# ask for ^11.0.5 themselves, and the old global `minimatch: '^11.0.1'` held
|
||||
# them on the locked 11.0.4 — below their own floor. Every 11.x requires
|
||||
# brace-expansion ^5.0.12, which retired that package's own floor
|
||||
# (GHSA-mh99-v99m-4gvg … GHSA-q2hr-2g5m-vwhr, <5.0.12).
|
||||
#
|
||||
@@ -47,7 +50,7 @@ allowBuilds:
|
||||
# @vite-pwa/workbox-build 8 asks for ^7.1.4 itself. Retired 2026-11-04:
|
||||
# `miniflare>undici` — miniflare pins the fixed 7.30.1 itself.)
|
||||
overrides:
|
||||
minimatch: '^11.0.1'
|
||||
'@typescript-eslint/typescript-estree>minimatch': '^11.0.1'
|
||||
fast-uri: '^3.1.9'
|
||||
|
||||
# Advisories that NO release fixes yet, so no override can reach them. CI's
|
||||
|
||||
Reference in new issue
Block a user