chore(deps): upkeep 2026-11-24 — 15 bumps, pnpm 11.29.0, deepmerge skip retired (#2)
CI / build (push) Successful in 3m9s
CI / gates (push) Successful in 1m8s
CI / record (push) Skipped
Reusable / Qodana / Qodana (push) Successful in 3m8s
Qodana / qodana (push) Successful in 3m8s
Reusable / Security / Secrets (gitleaks) (push) Successful in 11s
Reusable / Security / Rust (cargo-deny) (push) Skipped
Reusable / Security / .NET (NuGetAudit) (push) Skipped
Reusable / Security / SAST (Opengrep) (push) Successful in 23s
Reusable / Security / Dependencies (osv-scanner) (push) Successful in 17s
Security / security (push) Successful in 53s
CI / deploy (push) Successful in 1m10s
CI / build (push) Successful in 3m9s
CI / gates (push) Successful in 1m8s
CI / record (push) Skipped
Reusable / Qodana / Qodana (push) Successful in 3m8s
Qodana / qodana (push) Successful in 3m8s
Reusable / Security / Secrets (gitleaks) (push) Successful in 11s
Reusable / Security / Rust (cargo-deny) (push) Skipped
Reusable / Security / .NET (NuGetAudit) (push) Skipped
Reusable / Security / SAST (Opengrep) (push) Successful in 23s
Reusable / Security / Dependencies (osv-scanner) (push) Successful in 17s
Security / security (push) Successful in 53s
CI / deploy (push) Successful in 1m10s
- chore(deps): upkeep 2026-11-24 — 15 bumps, pnpm 11.29.0, deepmerge skip retired - docs(deps): the 2026-11-24 upkeep — retired override, extension and OSV skip Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit was merged in pull request #2.
This commit is contained in:
1 parent
981e625ca1
commit
b68fe2ef19
10 files changed
+1162
-859
No files matched your search
@@ -57,13 +57,21 @@
|
||||
> 2.7.1 binary), `create-pull-request` and `upload-artifact` (now
|
||||
> `christopherhx/gitea-upload-artifact` v4) left the workflows; Qodana runs
|
||||
> the CLI 2026.3.1 through the ops `reusable-qodana.yml`.
|
||||
>
|
||||
> **Upkeep 2026-11-24:** pnpm 11.29.0 · Astro 7.4.13 (Rolldown 1.3.3) ·
|
||||
> Svelte 5.59.1 · `@vite-pwa/astro` 2.0.4 · Wrangler 4.166 · Vitest 5.1.1 ·
|
||||
> `typescript-eslint` 8.73 · knip 6.48 · `prettier-plugin-svelte` 4.2. The
|
||||
> `minimatch` override and the astro2tsx `packageExtensions` retired (their
|
||||
> callers now ask for the right versions); the deepmerge advisory was
|
||||
> withdrawn, so `osv-scanner.toml` skips nothing (docs/09 §7). Node 26.13.1
|
||||
> is still the newest 26.x.
|
||||
|
||||
## 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 the deploy job read `.nvmrc`, and `@types/node` majors are held to the same line (a Renovate rule, §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.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, the deploy job, Renovate 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 — Renovate's 3-day release age keeps every update PR installable (§5). |
|
||||
| Package manager | pnpm | **11.x** (`11.29.0` since 2026-11-24, `packageManager`; `11.28.12` from 2026-11-16, `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, the deploy job, Renovate 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 — Renovate's 3-day release age keeps every update PR installable (§5). |
|
||||
| Deploy CLI | Wrangler | **4.x** (4.151 at v1.1) | CI's `deploy` job runs `wrangler deploy` on pushes to `main` (D38; Workers Builds did until then, with `wrangler versions upload` previews for PRs); CI also 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
|
||||
|
||||
+29
-29
@@ -357,17 +357,16 @@ does not read issue labels.
|
||||
`wrangler deploy --dry-run` in CI, neither of which needs `workerd`.
|
||||
Whether `wrangler dev` (with `.dev.vars`) runs with the script blocked:
|
||||
⚠ verify. Flipping any entry to `true` requires a decision-log line.
|
||||
- **`overrides`** in `pnpm-workspace.yaml` force patched floors for
|
||||
`minimatch` and `fast-uri`, each with the advisory ids in a comment.
|
||||
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 — 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
|
||||
- **`overrides`** in `pnpm-workspace.yaml` force patched floors —
|
||||
today only `fast-uri` (≥ 3.1.9, the advisory ids in a comment; ajv 8.20
|
||||
still ranges `^3.0.1`), reached only through `@astrojs/check`'s language
|
||||
server; nothing ships to a visitor. `minimatch` (GHSA-g3hv-75wg-m249,
|
||||
≥ 11.0.1, added 2026-11-04) was **retired on 2026-11-24**:
|
||||
typescript-eslint 8.73 asks for ^11.0.1 itself. It had crossed a major for
|
||||
that one caller, accepted only because the caller used API 11 kept, and
|
||||
had been scoped to it since 2026-11-16 — eslint 10.15 and
|
||||
`@eslint/config-array` asked 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
|
||||
@@ -380,13 +379,15 @@ does not read issue labels.
|
||||
CI's OSV-Scanner step fails `gates` on any of them, so a new transitive
|
||||
advisory blocks every PR — Renovate's included — until it is handled
|
||||
here. Remove a line once upstream's own range moves past it.
|
||||
- **`packageExtensions`** (since 2026-11-09) give `@astrojs/astro2tsx`
|
||||
0.1.3 the `@emnapi/runtime` 1.11.3 that matches the `@emnapi/core` it
|
||||
pins. Rolldown 1.3.0 (Astro 7.4.7) brought `@emnapi/runtime`
|
||||
2.0.0-beta.2 into the graph, pnpm resolved astro2tsx's peer to it, and
|
||||
the mismatched pair threw on import — which `astro check` reports as
|
||||
"`@astrojs/check` is not installed" (GitHub Dependabot PR #67). Remove the entry
|
||||
once an astro2tsx release declares the runtime itself.
|
||||
- **`packageExtensions`** (2026-11-09 → 2026-11-24) gave
|
||||
`@astrojs/astro2tsx` 0.1.3 the `@emnapi/runtime` 1.11.3 that matched the
|
||||
`@emnapi/core` it pinned: Rolldown 1.3.0 (Astro 7.4.7) had brought
|
||||
`@emnapi/runtime` 2.0.0-beta.2 into the graph, pnpm resolved astro2tsx's
|
||||
peer to it, and the mismatched pair threw on import — which `astro check`
|
||||
reported as "`@astrojs/check` is not installed" (GitHub Dependabot PR
|
||||
#67). **Retired on 2026-11-24:** astro2tsx 0.1.4 declares the runtime
|
||||
itself. If `astro check` ever claims it is not installed again, import
|
||||
the package directly with Node to see the real error.
|
||||
- **`@vite-pwa/astro` 2** (adopted 2026-11-09 at 2.0.1, a rewrite on
|
||||
`@unplugin-pwa` 0.0.x). 2.0.0 was refused on 2026-11-04: under pnpm's
|
||||
strict layout it emitted a service worker with bare
|
||||
@@ -406,17 +407,16 @@ does not read issue labels.
|
||||
is gone.
|
||||
- **Advisories no release fixes yet** cannot get an override, so they are
|
||||
skipped by id instead — narrowly, in two places that must agree:
|
||||
`osv-scanner.toml` (`[[IgnoredVulns]]`, each with an `ignoreUntil`
|
||||
expiry and a reason, so the gate fails again and makes someone look) and
|
||||
`auditConfig.ignoreGhsas` in `pnpm-workspace.yaml` for
|
||||
`pnpm audit --prod`. Only for code that merges or reads our own input at
|
||||
build time and ships nothing to a visitor. Current entry (added
|
||||
2026-10-30, expires 2027-01-31): `deepmerge` ≤ 4.3.1,
|
||||
GHSA-gcqx-w48m-w2h4 (low) — 4.3.1 is the latest release; it reaches us
|
||||
through `@sveltejs/vite-plugin-svelte` (merging `svelte.config.js`); its
|
||||
second path, `workbox-build` 7 → `@rollup/plugin-node-resolve`, left with
|
||||
`@vite-pwa/astro` 2 on 2026-11-09. Once a fixed release exists, remove both lines and add an
|
||||
override floor if upstream's range does not reach it.
|
||||
`osv-scanner.toml` (`[[IgnoredVulns]]`, each with an `effectiveUntil`
|
||||
expiry — osv-scanner 2.x deprecated `ignoreUntil` — and a reason, so the
|
||||
gate fails again and makes someone look) and `auditConfig.ignoreGhsas` in
|
||||
`pnpm-workspace.yaml` for `pnpm audit --prod`. Only for code that merges
|
||||
or reads our own input at build time and ships nothing to a visitor.
|
||||
**No entry today.** The last one, `deepmerge` ≤ 4.3.1
|
||||
(GHSA-gcqx-w48m-w2h4, low; skipped 2026-10-30, through
|
||||
`@sveltejs/vite-plugin-svelte` merging `svelte.config.js`), was
|
||||
**withdrawn** by its publisher on 2026-11-16; osv-scanner reported the
|
||||
skip unused, and both lines went on 2026-11-24.
|
||||
- **pnpm 11's default 24 h `minimumReleaseAge`** refuses any release younger
|
||||
than a day; Renovate's 3-day release age keeps its PRs installable under
|
||||
`--frozen-lockfile` (docs/12 §6).
|
||||
|
||||
+13
-15
@@ -3,18 +3,16 @@
|
||||
#
|
||||
# An entry here is for an advisory that NO release fixes yet — anything with a
|
||||
# patched version gets a floor in `pnpm-workspace.yaml` `overrides` instead.
|
||||
# Every entry carries an expiry, so the gate fails again and makes someone look;
|
||||
# `pnpm-workspace.yaml` `auditConfig.ignoreGhsas` lists the same ids for
|
||||
# `pnpm audit --prod`. Remove both lines once a fixed release exists.
|
||||
|
||||
# deepmerge <= 4.3.1 (CVE-2026-93753, GitHub severity low): mergeObject() lets a
|
||||
# crafted source object set the prototype of the object it returns. 4.3.1 is
|
||||
# the latest release. It reaches us only through build tooling —
|
||||
# @astrojs/svelte -> @sveltejs/vite-plugin-svelte (merging our own
|
||||
# svelte.config.js; the second path, @vite-pwa/astro 1 -> workbox-build 7 ->
|
||||
# @rollup/plugin-node-resolve, left with @vite-pwa/astro 2 on 2026-11-09) — so
|
||||
# every input it merges is ours, and it is not part of anything the site ships.
|
||||
[[IgnoredVulns]]
|
||||
id = "GHSA-gcqx-w48m-w2h4"
|
||||
ignoreUntil = 2027-01-31
|
||||
reason = "No fixed deepmerge release; build tooling merging our own config only (docs/09 §7)"
|
||||
# Every entry carries an expiry, so the gate fails again and makes someone look:
|
||||
#
|
||||
# [[IgnoredVulns]]
|
||||
# id = "GHSA-xxxx-xxxx-xxxx"
|
||||
# effectiveUntil = 2027-01-31 # osv-scanner 2.x; `ignoreUntil` is deprecated
|
||||
# reason = "No fixed release; how it reaches us and why that is acceptable"
|
||||
#
|
||||
# `pnpm-workspace.yaml` `auditConfig.ignoreGhsas` then lists the same id for
|
||||
# `pnpm audit --prod`. Remove both once a fixed release exists.
|
||||
#
|
||||
# No exceptions today. The last one — deepmerge <= 4.3.1, GHSA-gcqx-w48m-w2h4,
|
||||
# skipped from 2026-10-30 — was WITHDRAWN by its publisher on 2026-11-16, and
|
||||
# osv-scanner reported the entry unused (2026-11-24).
|
||||
+15
-15
@@ -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.12",
|
||||
"packageManager": "pnpm@11.29.0",
|
||||
"engines": {
|
||||
"node": ">=26 <27"
|
||||
},
|
||||
@@ -38,19 +38,19 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/rss": "^4.0.19",
|
||||
"@astrojs/sitemap": "^3.7.5",
|
||||
"@astrojs/sitemap": "^3.7.6",
|
||||
"@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.154",
|
||||
"@iconify-json/simple-icons": "^1.2.102",
|
||||
"@iconify-json/lucide": "^1.2.158",
|
||||
"@iconify-json/simple-icons": "^1.2.103",
|
||||
"@tailwindcss/vite": "^4.3.5",
|
||||
"@vite-pwa/astro": "2.0.2",
|
||||
"astro": "^7.4.12",
|
||||
"@vite-pwa/astro": "2.0.4",
|
||||
"astro": "^7.4.13",
|
||||
"minisearch": "^7.2.0",
|
||||
"nanostores": "^1.5.5",
|
||||
"svelte": "^5.57.3",
|
||||
"svelte": "^5.59.1",
|
||||
"tailwindcss": "^4.3.5",
|
||||
"unplugin-icons": "^24.0.0"
|
||||
},
|
||||
@@ -63,25 +63,25 @@
|
||||
"@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.0",
|
||||
"@vitest/coverage-v8": "5.1.1",
|
||||
"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.45.1",
|
||||
"knip": "^6.48.0",
|
||||
"lefthook": "^2.2.2",
|
||||
"magicast": "^0.5.5",
|
||||
"prettier": "^3.10.1",
|
||||
"prettier-plugin-astro": "^1.1.2",
|
||||
"prettier-plugin-svelte": "^4.1.1",
|
||||
"prettier-plugin-svelte": "^4.2.0",
|
||||
"prettier-plugin-tailwindcss": "^0.8.1",
|
||||
"rolldown": "1.3.2",
|
||||
"rolldown": "1.3.3",
|
||||
"sharp": "^0.35.5",
|
||||
"svelte-eslint-parser": "^1.10.1",
|
||||
"svelte-eslint-parser": "^1.11.0",
|
||||
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
||||
"typescript-eslint": "^8.72.2",
|
||||
"vitest": "^5.1.0",
|
||||
"wrangler": "^4.162.0"
|
||||
"typescript-eslint": "^8.73.0",
|
||||
"vitest": "^5.1.1",
|
||||
"wrangler": "^4.166.0"
|
||||
}
|
||||
}
|
||||
Generated
+1052
-735
File diff suppressed because it is too large.
Load diff
+23
-49
@@ -21,60 +21,34 @@ allowBuilds:
|
||||
workerd: false
|
||||
|
||||
# Security overrides. Every package here reaches us only through BUILD or DEV
|
||||
# tooling — the eslint toolchain or @astrojs/check's language server; nothing
|
||||
# here ships to a visitor. Each floor is the first release that fixes every
|
||||
# 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). 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).
|
||||
# tooling — nothing here ships to a visitor. Each floor is the first release
|
||||
# that fixes every advisory listed. Remove a line once upstream's own range
|
||||
# moves past it (`pnpm why <pkg>` shows who still pins the old version).
|
||||
#
|
||||
# fast-uri — GHSA-7p8r-x3mc-p8w7, GHSA-5jgf-p345-68v8, GHSA-f65p-4m7j-42xc,
|
||||
# GHSA-fph4-wmhf-6fwf, GHSA-jqff-g426-hqxp, GHSA-qw65-cvwx-89v3 (<3.1.7) and
|
||||
# GHSA-hrr3-gc8f-f4qj (<3.1.8). Same major as ajv@8's `^3.0.1` range; pnpm kept
|
||||
# the locked 3.1.4 even under `update --depth Infinity`, hence the override.
|
||||
# GHSA-hrr3-gc8f-f4qj (<3.1.8). Same major as ajv@8's `^3.0.1` range (still
|
||||
# so in ajv 8.20); pnpm kept the locked 3.1.4 even under
|
||||
# `update --depth Infinity`, hence the override.
|
||||
#
|
||||
# (Retired 2026-11-09 with @vite-pwa/astro 2, which drops workbox-build 7 and
|
||||
# its 270-odd packages: `glob` ^14.0.2 — GHSA-3g3m-2fjr-6pw4, nothing depends
|
||||
# on glob any more — and `serialize-javascript` ^7.1.3 — GHSA-m5mm-p8h7-m29v,
|
||||
# @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.)
|
||||
# (Retired 2026-11-24: `'@typescript-eslint/typescript-estree>minimatch':
|
||||
# '^11.0.1'` — typescript-eslint 8.73 asks for minimatch ^11.0.1 itself.
|
||||
# Retired 2026-11-09 with @vite-pwa/astro 2: `glob` ^14.0.2 and
|
||||
# `serialize-javascript` ^7.1.3. Retired 2026-11-04: `miniflare>undici`.)
|
||||
overrides:
|
||||
'@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
|
||||
# `pnpm audit --prod` skips exactly these ids; `osv-scanner.toml` lists the same
|
||||
# ids for OSV-Scanner, with an expiry date and the reasoning. Remove a line (in
|
||||
# both files) once a fixed release exists — then it becomes an override above.
|
||||
# No `auditConfig.ignoreGhsas` and no `packageExtensions` since 2026-11-24:
|
||||
# - the one advisory `pnpm audit --prod` skipped, deepmerge's
|
||||
# GHSA-gcqx-w48m-w2h4, was WITHDRAWN on 2026-11-16 (osv-scanner.toml);
|
||||
# - `@astrojs/astro2tsx` 0.1.4 declares the `@emnapi/runtime` 1.11.3 that
|
||||
# matches its `@emnapi/core` itself — 0.1.3 left it to a peer range that
|
||||
# pnpm resolved to a 2.x beta, and `astro check` then reported the failed
|
||||
# import as "@astrojs/check is not installed" (2026-11-09).
|
||||
#
|
||||
# deepmerge <= 4.3.1 — GHSA-gcqx-w48m-w2h4 (low). Build tooling only, merging
|
||||
# our own config: @astrojs/svelte -> @sveltejs/vite-plugin-svelte (the
|
||||
# @vite-pwa/astro -> workbox-build 7 path left with @vite-pwa/astro 2).
|
||||
auditConfig:
|
||||
ignoreGhsas:
|
||||
- GHSA-gcqx-w48m-w2h4
|
||||
|
||||
# @astrojs/astro2tsx 0.1.3 (astro check's .astro -> TSX step, a wasm module)
|
||||
# pins @emnapi/core 1.11.3 but leaves @emnapi/runtime to the peer range of
|
||||
# @napi-rs/wasm-runtime (`^1.7.1 || ^2.0.0-alpha.4`). Since rolldown 1.3.0
|
||||
# (astro 7.4.7) brought @emnapi/runtime 2.0.0-beta.2 into the graph, pnpm
|
||||
# resolves that peer to the beta; core 1.x with runtime 2.x throws "this.bridge
|
||||
# .setLastError is not a function" on import, and `astro check` reports the
|
||||
# failed import as "@astrojs/check is not installed" (Dependabot #67,
|
||||
# 2026-11-09). Give astro2tsx the runtime that matches its core. Drop this once
|
||||
# an astro2tsx release declares @emnapi/runtime itself.
|
||||
packageExtensions:
|
||||
'@astrojs/astro2tsx@0.1.3':
|
||||
dependencies:
|
||||
'@emnapi/runtime': '1.11.3'
|
||||
# `pnpm install` warns "unmet peer @typescript/native" since typescript-eslint
|
||||
# 8.73: it declares an OPTIONAL peer of that name for TypeScript's native
|
||||
# preview (>= 7.1.0-dev), and our `@typescript/native` is the alias of
|
||||
# typescript@7.0.2 that `tsc --noEmit` uses (D28). Lint is unchanged either
|
||||
# way (same files, same rules, 2026-11-24); leave the warning until either side
|
||||
# moves.
|
||||
@@ -48,7 +48,7 @@
|
||||
onclick={refresh}
|
||||
class="hover:underline"
|
||||
>
|
||||
{label}{#if count > 0}<span class="text-badge ml-1 font-mono"
|
||||
>({countLabel.replaceAll('{n}', String(count))})</span
|
||||
>{/if}<span class="sr-only">{` ${newTabLabel}`}</span>
|
||||
{label}{#if count > 0}<span class="text-badge ml-1 font-mono">
|
||||
({countLabel.replaceAll('{n}', String(count))})
|
||||
</span>{/if}<span class="sr-only">{` ${newTabLabel}`}</span>
|
||||
</a>
|
||||
@@ -82,9 +82,9 @@
|
||||
<IconFilter aria-hidden="true" class="size-[18px]" />
|
||||
{openLabel}
|
||||
{#if $activeFilterCount > 0}
|
||||
<span class="sh-pill bg-sh-accent text-sh-accent-ink border-transparent"
|
||||
>{$activeFilterCount}</span
|
||||
><span class="sr-only">{` ${activeLabel}`}</span>
|
||||
<span class="sh-pill bg-sh-accent text-sh-accent-ink border-transparent">
|
||||
{$activeFilterCount}
|
||||
</span><span class="sr-only">{` ${activeLabel}`}</span>
|
||||
{/if}
|
||||
</button>
|
||||
|
||||
@@ -114,9 +114,9 @@
|
||||
{/each}
|
||||
|
||||
<footer class="mt-auto flex gap-3 pt-4">
|
||||
<button type="button" class="sh-btn" disabled={!$hasActiveFilters} onclick={clearAll}
|
||||
>{clearLabel}</button
|
||||
>
|
||||
<button type="button" class="sh-btn" disabled={!$hasActiveFilters} onclick={clearAll}>
|
||||
{clearLabel}
|
||||
</button>
|
||||
<!-- The visible text IS the accessible name ("Show 42 apps"). It used to
|
||||
carry aria-label="Close filters", which hid the count from screen
|
||||
readers and broke WCAG 2.5.3 Label in Name for voice control. -->
|
||||
|
||||
@@ -70,8 +70,10 @@
|
||||
onclick={() => choose('en')}
|
||||
hreflang="en"
|
||||
lang="en"
|
||||
data-testid="sh-lang-en">EN<span class="sh-sr">{` — ${names.en}`}</span></a
|
||||
data-testid="sh-lang-en"
|
||||
>
|
||||
EN<span class="sh-sr">{` — ${names.en}`}</span>
|
||||
</a>
|
||||
<span aria-current="true" lang="vi">VI<span class="sh-sr">{` — ${names.vi}`}</span></span>
|
||||
{:else}
|
||||
<span aria-current="true" lang="en">EN<span class="sh-sr">{` — ${names.en}`}</span></span>
|
||||
@@ -80,8 +82,10 @@
|
||||
onclick={() => choose('vi')}
|
||||
hreflang="vi"
|
||||
lang="vi"
|
||||
data-testid="sh-lang-vi">VI<span class="sh-sr">{` — ${names.vi}`}</span></a
|
||||
data-testid="sh-lang-vi"
|
||||
>
|
||||
VI<span class="sh-sr">{` — ${names.vi}`}</span>
|
||||
</a>
|
||||
{/if}
|
||||
</nav>
|
||||
|
||||
@@ -92,9 +96,9 @@
|
||||
data-testid="sh-lang-suggest"
|
||||
>
|
||||
<p class="min-w-0 flex-1">{suggestText}</p>
|
||||
<a href={hrefFor('vi')} onclick={() => choose('vi')} class="sh-btn sh-btn-primary"
|
||||
>{suggestAccept}</a
|
||||
>
|
||||
<a href={hrefFor('vi')} onclick={() => choose('vi')} class="sh-btn sh-btn-primary">
|
||||
{suggestAccept}
|
||||
</a>
|
||||
<button type="button" onclick={dismiss} class="sh-btn">{suggestDismiss}</button>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
@@ -226,8 +226,10 @@
|
||||
{#if loading}
|
||||
<span
|
||||
class="text-sh-muted text-badge absolute top-1/2 right-3 -translate-y-1/2 font-mono"
|
||||
aria-hidden="true">{loadingLabel}</span
|
||||
aria-hidden="true"
|
||||
>
|
||||
{loadingLabel}
|
||||
</span>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
|
||||
Reference in new issue
Block a user