Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Patch portal Vitest and preserve counted navigation names

pulse-triage[bot]55bee44d30a7
diff --git a/docs/release-control/v6/internal/subsystems/ai-runtime.md b/docs/release-control/v6/internal/subsystems/ai-runtime.md
index 66544d0517..029042acc1 100644
--- a/docs/release-control/v6/internal/subsystems/ai-runtime.md
+++ b/docs/release-control/v6/internal/subsystems/ai-runtime.md
@@ -3693,6 +3693,12 @@ verdict on its own check.
## Current State
+Patrol's utility-navigation attention count shares the desktop/mobile visible
+label-in-name contract: the label precedes its numeric badge in DOM text and
+in the accessible name, with a real word boundary. The attention explanation
+remains available to assistive technology; naming changes do not alter AI
+availability, permission gates, attention counts, navigation routes or actions.
+
### AI Discovery removed (2026-10-11)
AI Discovery, the model-backed service-identification layer, is gone. The
diff --git a/docs/release-control/v6/internal/subsystems/cloud-paid.md b/docs/release-control/v6/internal/subsystems/cloud-paid.md
index 4def63b12f..e2c99f0deb 100644
--- a/docs/release-control/v6/internal/subsystems/cloud-paid.md
+++ b/docs/release-control/v6/internal/subsystems/cloud-paid.md
@@ -2140,6 +2140,14 @@ generated output. The canonical edit path remains the frontend source under
must regenerate the embedded bundle plus the source-hash manifest so the live
control-plane, embedded Go template, and local preview all run the same
frontend revision.
+The portal's development/test graph shares the main UI's Vitest security
+floor: every installed 4.x runner/mocker family copy must be stable, at least
+4.1.12 and aligned with its runner (GHSA-qxg6-89mg-rqv8 and
+GHSA-xp26-3454-mjgp). Updating the portal manifest also requires regenerating
+the source-hash manifest, even when the unchanged production compiler emits
+byte-identical JavaScript and CSS. The maintained portal dependency test and
+Go bundle-sync check must cover both properties; a main-UI-only update or a
+passing build without committed generated identity does not cover the portal.
That same shell framing also owns user-facing prerelease labeling for
rc-channel builds. `frontend-modern/src/AppLayout.tsx` may still key off the
canonical `rc` channel metadata internally, but the visible badge must frame
diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
index e087037215..38d99d7e52 100644
--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md
+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
@@ -149,6 +149,21 @@ native QGA/backup or update-permission recovery.
shared history query and Docs with synthetic observations at desktop/phone
widths, including keyboard/touch guidance and same-node updates.
+### Navigation labels retain their visible badge text (24 October 2026)
+
+Desktop and mobile utility links include their visible label and badge numbers
+contiguously, in source order, in the accessible name (WCAG 2.5.3). Mobile
+icons may appear above/beside their labels through CSS, but their numeric
+badges follow the label in the DOM with explicit word boundaries. Mixed Alert
+badge numbers remain in the name; the accessible description retains their
+critical/warning meanings without interrupting that visible text sequence.
+Patrol attention and Actions approval explanations stay in their names. Counts,
+routes, permissions, current-page state and stable link identity do not change.
+The maintained AppLayout/MobileNavBar/model tests and the integration WCAG
+scans cover these semantics, including zero, single and mixed severity counts.
+The integration graph keeps Playwright 1.56.1 while upgrading axe to 4.14.0;
+no WCAG tags, assertions, budgets or disclosure checks are removed.
+
### History honours explicit selected-source staleness (13 October 2026)
The shared memory presentation reads the server's explicit `agent.stale`
diff --git a/frontend-modern/browser-verification/0ed8b068c462dafe.json b/frontend-modern/browser-verification/0ed8b068c462dafe.json
new file mode 100644
index 0000000000..6f1be9f0d6
--- /dev/null
+++ b/frontend-modern/browser-verification/0ed8b068c462dafe.json
@@ -0,0 +1,58 @@
+{
+ "version": 1,
+ "result": "passed",
+ "base_sha": "82df77f2f5526a3b424d19926edf6f99b8faecd4",
+ "changed_paths": [
+ "frontend-modern/src/AppLayout.tsx",
+ "frontend-modern/src/components/shared/MobileNavBar.tsx",
+ "frontend-modern/src/components/shared/mobileNavBarModel.ts"
+ ],
+ "content_sha256": {
+ "frontend-modern/src/AppLayout.tsx": "6225db5808c095d7634dfb352971591e612cb9fffd79d49c8920b33209b9ca43",
+ "frontend-modern/src/components/shared/MobileNavBar.tsx": "15366b75b54f703e6a0efd1b0b5e742aeb449a51a573b9d2dc550513145c8c5b",
+ "frontend-modern/src/components/shared/mobileNavBarModel.ts": "de0660867413400ec9c28113767cb4c0a1e86c7afd91b0906e7ee7629920f7f1"
+ },
+ "routes": [
+ "/alerts",
+ "/actions",
+ "/patrol"
+ ],
+ "states": [
+ "One warning plus two Patrol attention items and three action approvals",
+ "Mixed one critical/two warning alerts with preserved accessible severity description",
+ "Zero active alerts without a false count or severity description"
+ ],
+ "interactions": [
+ "Reproduced label-content-name-mismatch on all three counted links on assigned parent at desktop and phone using axe 4.14.0",
+ "Focus and activate Actions and Patrol with keyboard on Chromium, touch on WebKit and at 320px, verify heading/current-page state",
+ "Run all WCAG 2 A/AA, 2.1 A/AA and 2.2 AA tags in all three count states at each viewport; nine scans pass without exclusions",
+ "Check no document horizontal overflow and no page errors",
+ "Native view_image inspection of all six final captures and both parent captures; layout and readable badges retained"
+ ],
+ "viewports": [
+ {
+ "width": 1440,
+ "height": 900
+ },
+ {
+ "width": 390,
+ "height": 900
+ },
+ {
+ "width": 320,
+ "height": 900
+ }
+ ],
+ "verified_at": "2026-10-24T12:16:31.649533Z",
+ "browsers": [
+ {
+ "engine": "Chromium",
+ "version": "141.0.7390.37"
+ },
+ {
+ "engine": "WebKit",
+ "version": "26.0"
+ }
+ ],
+ "evidence": "Web lane RECEIPTS.md, BROWSER.json, browser-expanded.raw and all eight retained PNGs. Real AppLayout, MobileNavBar, models, stores, router and CSS consume synthetic summary/approval APIs in an evidence-only shell fixture. Playwright 1.56.1 matches the integration lock; axe is 4.14.0. No native recovery, installed backend, user-issue resolution or release availability claim."
+}
diff --git a/frontend-modern/src/AppLayout.tsx b/frontend-modern/src/AppLayout.tsx
index fd109970b5..a0d2fb5231 100644
--- a/frontend-modern/src/AppLayout.tsx
+++ b/frontend-modern/src/AppLayout.tsx
@@ -12,6 +12,10 @@ import {
type MobileNavBarPrimaryTab as PrimaryTab,
type MobileNavBarUtilityTab as UtilityTab,
} from '@/components/shared/MobileNavBar';
+import {
+ getMobileNavTabAriaDescription,
+ getMobileNavTabAriaLabel,
+} from '@/components/shared/mobileNavBarModel';
import {
createStableTabList,
primaryNavTabEquals,
@@ -131,17 +135,6 @@ export function sessionHasSettingsAccess(scopes: string[] | undefined): boolean
}
const NAV_TAB_ICON_CLASS = 'w-4 h-4 shrink-0';
-function getDesktopUtilityTabAriaLabel(tab: UtilityTab): string {
- const count = tab.count ?? 0;
- if (count > 0) {
- if (tab.id === 'alerts') {
- return `${count} ${tab.label}`;
- }
- return `${tab.label}: ${tab.countLabel ?? `${count} items`}`;
- }
- return tab.label;
-}
-
export interface AppLayoutProps {
connectionStatus: () => AppConnectionStatus;
lastUpdateText: () => string;
@@ -864,7 +857,8 @@ export function AppLayout(props: AppLayoutProps) {
<A
href={tab.route}
class={className()}
- aria-label={getDesktopUtilityTabAriaLabel(tab)}
+ aria-label={getMobileNavTabAriaLabel(tab)}
+ aria-description={getMobileNavTabAriaDescription(tab)}
aria-current={isActive() ? 'page' : undefined}
onMouseEnter={() => warmNavigationTarget(tab.route)}
onFocus={() => warmNavigationTarget(tab.route)}
@@ -875,7 +869,7 @@ export function AppLayout(props: AppLayoutProps) {
</span>
<span class="flex items-center gap-1">
<span class="hidden xs:inline">{tab.label}</span>
- <span class="xs:hidden">{tab.label.charAt(0)}</span>
+ <span class="xs:hidden">{tab.label.charAt(0)}</span>{' '}
{(() => {
const total = tab.count ?? 0;
if (total <= 0) {
@@ -886,7 +880,7 @@ export function AppLayout(props: AppLayoutProps) {
<span class="inline-flex items-center gap-1">
{tab.breakdown && tab.breakdown.critical > 0 && (
<span class="inline-flex items-center justify-center min-w-[18px] h-[18px] px-1 text-[10px] font-bold text-white bg-red-600 dark:bg-red-500 rounded-full">
- {tab.breakdown.critical}
+ {tab.breakdown.critical}{' '}
</span>
)}
{tab.breakdown && tab.breakdown.warning > 0 && (
diff --git a/frontend-modern/src/__tests__/App.architecture.test.ts b/frontend-modern/src/__tests__/App.architecture.test.ts
index 209c2ad367..465537c89c 100644
--- a/frontend-modern/src/__tests__/App.architecture.test.ts
+++ b/frontend-modern/src/__tests__/App.architecture.test.ts
@@ -801,7 +801,8 @@ describe('App architecture', () => {
expect(appLayoutSource).toContain('const Icon = tab.icon;');
expect(appLayoutSource).toContain('const Icon = tab.icon;');
expect(appLayoutSource).toContain('aria-label={tab.label}');
- expect(appLayoutSource).toContain('aria-label={getDesktopUtilityTabAriaLabel(tab)}');
+ expect(appLayoutSource).toContain('aria-label={getMobileNavTabAriaLabel(tab)}');
+ expect(appLayoutSource).toContain('aria-description={getMobileNavTabAriaDescription(tab)}');
expect(appLayoutSource).toContain(
'<span aria-hidden="true" class="inline-flex items-center justify-center">',
);
diff --git a/frontend-modern/src/__tests__/AppLayout.test.tsx b/frontend-modern/src/__tests__/AppLayout.test.tsx
index 02331f49b8..a508b84102 100644
--- a/frontend-modern/src/__tests__/AppLayout.test.tsx
+++ b/frontend-modern/src/__tests__/AppLayout.test.tsx
@@ -197,7 +197,9 @@ describe('AppLayout navigation icons', () => {
name: 'Patrol',
});
expect(desktopPatrolTab.querySelector('svg')).toBeTruthy();
- expect(within(systemGroup as HTMLElement).getByRole('link', { name: '1 Alerts' })).toBeTruthy();
+ expect(
+ within(systemGroup as HTMLElement).getByRole('link', { name: 'Alerts 1' }),
+ ).toHaveAccessibleDescription('1 warning');
expect(
within(systemGroup as HTMLElement).queryByRole('link', {
name: 'Pulse Patrol Patrol',
@@ -278,6 +280,7 @@ describe('AppLayout navigation icons', () => {
});
expect(desktopPatrolTab).toHaveTextContent('Patrol');
expect(desktopPatrolTab).toHaveTextContent('2');
+ expect(desktopPatrolTab.textContent?.replace(/\s+/g, ' ').trim()).toBe('Patrol 2');
expect(within(systemGroup as HTMLElement).queryByText('Needs Attention')).toBeNull();
const mobileNav = screen.getByRole('navigation', { name: 'Mobile navigation' });
@@ -286,6 +289,7 @@ describe('AppLayout navigation icons', () => {
});
expect(mobilePatrolTab).toHaveTextContent('Patrol');
expect(mobilePatrolTab).toHaveTextContent('2');
+ expect(mobilePatrolTab.textContent?.replace(/\s+/g, ' ').trim()).toBe('Patrol 2');
expect(within(mobileNav).queryByText('Needs Attention')).toBeNull();
});
@@ -318,6 +322,7 @@ describe('AppLayout navigation icons', () => {
expect(actionsTab.className).toContain('text-blue-600');
expect(actionsTab).toHaveAttribute('href', '/actions');
expect(actionsTab).toHaveAttribute('aria-current', 'page');
+ expect(actionsTab.textContent?.replace(/\s+/g, ' ').trim()).toBe('Actions 3');
expect(within(systemGroup as HTMLElement).getByRole('link', { name: 'Patrol' })).toBeTruthy();
const mobileNav = screen.getByRole('navigation', { name: 'Mobile navigation' });
diff --git a/frontend-modern/src/components/shared/MobileNavBar.tsx b/frontend-modern/src/components/shared/MobileNavBar.tsx
index 81cd9dea41..f685aaac50 100644
--- a/frontend-modern/src/components/shared/MobileNavBar.tsx
+++ b/frontend-modern/src/components/shared/MobileNavBar.tsx
@@ -7,6 +7,7 @@ import {
getMobileNavDestinationKey,
getMobileNavDestinationHref,
getMobileNavTabAriaLabel,
+ getMobileNavTabAriaDescription,
getMobileNavTabButtonClass,
isMobileNavDestinationActive,
mobileNavDestinationHasBadge,
@@ -42,7 +43,10 @@ function MobileNavDestinationContent(props: {
return (
<>
- <span class="relative flex shrink-0 items-center justify-center">
+ {/* Label first in source order, icon first visually. Badge numbers must
+ follow the label in both the text alternative and the DOM text. */}
+ <span class="order-2 min-w-0 truncate">{tab().label} </span>
+ <span class="relative order-1 flex shrink-0 items-center justify-center">
<span aria-hidden="true" class="inline-flex items-center justify-center">
<Icon class={props.iconClass} />
</span>
@@ -51,12 +55,12 @@ function MobileNavDestinationContent(props: {
<span aria-hidden="true" class="absolute -right-2 -top-1 flex items-center gap-1">
<Show when={badges().critical > 0}>
<span class="inline-flex h-4 min-w-[16px] items-center justify-center rounded-full bg-red-600 px-1 text-[10px] font-bold text-white">
- {badges().critical}
+ {badges().critical}{' '}
</span>
</Show>
<Show when={badges().warning > 0}>
<span class="inline-flex h-4 min-w-[16px] items-center justify-center rounded-full bg-amber-200 px-1 text-[10px] font-semibold text-amber-800">
- {badges().warning}
+ {badges().warning}{' '}
</span>
</Show>
</span>
@@ -73,22 +77,21 @@ function MobileNavDestinationContent(props: {
)}
</Show>
</span>
- <span class="min-w-0 truncate">{tab().label}</span>
<Show when={props.destination.kind === 'primary' && !props.destination.tab.enabled}>
- <span class="rounded-full bg-amber-100 px-1.5 py-0.5 text-[9px] font-semibold text-amber-700 dark:bg-amber-900/25 dark:text-amber-200">
+ <span class="order-3 rounded-full bg-amber-100 px-1.5 py-0.5 text-[9px] font-semibold text-amber-700 dark:bg-amber-900/25 dark:text-amber-200">
Setup
</span>
</Show>
<Show when={props.destination.kind === 'primary' && props.destination.tab.badge}>
- <span class="rounded-full bg-surface-hover px-1.5 py-0.5 text-[9px] font-semibold text-muted">
+ <span class="order-3 rounded-full bg-surface-hover px-1.5 py-0.5 text-[9px] font-semibold text-muted">
{props.destination.kind === 'primary' ? props.destination.tab.badge : null}
</span>
</Show>
<Show when={utilityTab()?.badge === 'update'}>
- <span aria-hidden="true" class="h-1.5 w-1.5 rounded-full bg-red-500"></span>
+ <span aria-hidden="true" class="order-3 h-1.5 w-1.5 rounded-full bg-red-500"></span>
</Show>
<Show when={utilityTab()?.badge === 'pro'}>
- <span class="rounded-full bg-blue-100 px-1.5 py-0.5 text-[9px] font-semibold text-blue-700 dark:bg-blue-900/25 dark:text-blue-300">
+ <span class="order-3 rounded-full bg-blue-100 px-1.5 py-0.5 text-[9px] font-semibold text-blue-700 dark:bg-blue-900/25 dark:text-blue-300">
Pro
</span>
</Show>
@@ -187,6 +190,11 @@ export function MobileNavBar(props: MobileNavBarProps) {
? getMobileNavTabAriaLabel(destination.tab)
: undefined
}
+ aria-description={
+ destination.kind === 'utility'
+ ? getMobileNavTabAriaDescription(destination.tab)
+ : undefined
+ }
onClick={(event) => handleDestinationLinkClick(event, destination)}
title={destination.tab.tooltip}
class={`flex min-h-11 w-full items-center gap-3 rounded-md px-3 py-2 text-left text-sm transition-colors ${
@@ -318,6 +326,11 @@ export function MobileNavBar(props: MobileNavBarProps) {
? getMobileNavTabAriaLabel(destination.tab)
: undefined
}
+ aria-description={
+ destination.kind === 'utility'
+ ? getMobileNavTabAriaDescription(destination.tab)
+ : undefined
+ }
onClick={(event) => handleDestinationLinkClick(event, destination)}
title={destination.tab.tooltip}
class={getMobileNavTabButtonClass({ active: active(), enabled: enabled() })}
diff --git a/frontend-modern/src/components/shared/__tests__/MobileNavBar.test.tsx b/frontend-modern/src/components/shared/__tests__/MobileNavBar.test.tsx
index aa2b93e20a..3e93e4cccc 100644
--- a/frontend-modern/src/components/shared/__tests__/MobileNavBar.test.tsx
+++ b/frontend-modern/src/components/shared/__tests__/MobileNavBar.test.tsx
@@ -228,18 +228,18 @@ describe('MobileNavBar', () => {
));
const nav = screen.getByRole('navigation', { name: 'Mobile navigation' });
- expect(
- within(nav).getByRole('link', { name: 'Alerts: 2 critical, 3 warning' }),
- ).toHaveTextContent('23');
+ const alertsLink = within(nav).getByRole('link', { name: 'Alerts 2 3' });
+ expect(alertsLink).toHaveTextContent('Alerts 2 3');
+ expect(alertsLink).toHaveAccessibleDescription('2 critical, 3 warning');
expect(within(nav).getByRole('link', { name: 'Patrol: 2 open work items' })).toHaveTextContent(
- 'Patrol2',
+ 'Patrol 2',
);
expect(within(nav).queryByRole('link', { name: 'Pulse Patrol Patrol' })).toBeNull();
fireEvent.click(within(nav).getByRole('button', { name: 'Switch platform, current Proxmox' }));
const menu = await screen.findByRole('menu', { name: 'Switch platform' });
expect(within(menu).getByRole('menuitem', { name: /Machines/ })).toHaveTextContent(
- 'MachinesSetup',
+ 'Machines Setup',
);
fireEvent.click(within(nav).getByRole('button', { name: 'More navigation' }));
const utilityMenu = await screen.findByRole('menu', {
diff --git a/frontend-modern/src/components/shared/__tests__/mobileNavBarModel.branchcov0712.test.ts b/frontend-modern/src/components/shared/__tests__/mobileNavBarModel.branchcov0712.test.ts
index 077366a950..e6a3302459 100644
--- a/frontend-modern/src/components/shared/__tests__/mobileNavBarModel.branchcov0712.test.ts
+++ b/frontend-modern/src/components/shared/__tests__/mobileNavBarModel.branchcov0712.test.ts
@@ -5,6 +5,7 @@ import {
getMobileNavAlertBadgeCounts,
getMobileNavDestinationHref,
getMobileNavTabAriaLabel,
+ getMobileNavTabAriaDescription,
getMobileNavTabButtonClass,
} from '@/components/shared/mobileNavBarModel';
import type {
@@ -121,6 +122,7 @@ describe('mobileNavBarModel.branchcov2', () => {
countLabel: '12 pending',
});
expect(getMobileNavTabAriaLabel(tab)).toBe('Patrol: 12 pending');
+ expect(getMobileNavTabAriaDescription(tab)).toBeUndefined();
});
it('synthesizes "N items" when countLabel is absent (countLabel ?? right arm)', () => {
@@ -133,7 +135,7 @@ describe('mobileNavBarModel.branchcov2', () => {
expect(getMobileNavTabAriaLabel(tab)).toBe('Patrol: 12 items');
});
- it('returns the bare label for an alerts tab whose breakdown is all zeros (parts.length === 0 arm)', () => {
+ it('returns the bare label without a description when both severity counts are zero', () => {
const tab = makeUtilityTab({
id: 'alerts',
label: 'Alerts',
@@ -141,6 +143,7 @@ describe('mobileNavBarModel.branchcov2', () => {
breakdown: { critical: 0, warning: 0 },
});
expect(getMobileNavTabAriaLabel(tab)).toBe('Alerts');
+ expect(getMobileNavTabAriaDescription(tab)).toBeUndefined();
});
it('lists only critical when warning is 0 (warning push guard false)', () => {
@@ -150,7 +153,8 @@ describe('mobileNavBarModel.branchcov2', () => {
count: 4,
breakdown: { critical: 3, warning: 0 },
});
- expect(getMobileNavTabAriaLabel(tab)).toBe('Alerts: 3 critical');
+ expect(getMobileNavTabAriaLabel(tab)).toBe('Alerts 3');
+ expect(getMobileNavTabAriaDescription(tab)).toBe('3 critical');
});
it('lists only warning when critical is 0 (critical push guard false)', () => {
@@ -160,17 +164,19 @@ describe('mobileNavBarModel.branchcov2', () => {
count: 4,
breakdown: { critical: 0, warning: 2 },
});
- expect(getMobileNavTabAriaLabel(tab)).toBe('Alerts: 2 warning');
+ expect(getMobileNavTabAriaLabel(tab)).toBe('Alerts 2');
+ expect(getMobileNavTabAriaDescription(tab)).toBe('2 warning');
});
- it('joins both severities with a comma when both are > 0', () => {
+ it('keeps mixed visible numbers contiguous and describes both severities', () => {
const tab = makeUtilityTab({
id: 'alerts',
label: 'Alerts',
count: 10,
breakdown: { critical: 3, warning: 7 },
});
- expect(getMobileNavTabAriaLabel(tab)).toBe('Alerts: 3 critical, 7 warning');
+ expect(getMobileNavTabAriaLabel(tab)).toBe('Alerts 3 7');
+ expect(getMobileNavTabAriaDescription(tab)).toBe('3 critical, 7 warning');
});
});
diff --git a/frontend-modern/src/components/shared/mobileNavBarModel.ts b/frontend-modern/src/components/shared/mobileNavBarModel.ts
index 3dc40b3068..28fc0d4cfc 100644
--- a/frontend-modern/src/components/shared/mobileNavBarModel.ts
+++ b/frontend-modern/src/components/shared/mobileNavBarModel.ts
@@ -173,6 +173,16 @@ export function getMobileNavTabAriaLabel(tab: MobileNavBarUtilityTab): string {
}
return tab.label;
}
+ // Keep the visible label and badge numbers contiguous in the accessible
+ // name, in the same order. Severity belongs in the description: inserting
+ // "critical" between two visible numbers breaks label-in-name for speech
+ // input (WCAG 2.5.3).
+ return [tab.label, badges.critical || null, badges.warning || null].filter(Boolean).join(' ');
+}
+
+export function getMobileNavTabAriaDescription(tab: MobileNavBarUtilityTab): string | undefined {
+ const badges = getMobileNavAlertBadgeCounts(tab);
+ if (!badges) return undefined;
const parts: string[] = [];
if (badges.critical > 0) {
parts.push(`${badges.critical} critical`);
@@ -180,8 +190,7 @@ export function getMobileNavTabAriaLabel(tab: MobileNavBarUtilityTab): string {
if (badges.warning > 0) {
parts.push(`${badges.warning} warning`);
}
- if (parts.length === 0) return tab.label;
- return `${tab.label}: ${parts.join(', ')}`;
+ return parts.length > 0 ? parts.join(', ') : undefined;
}
export function getMobileNavTabButtonClass(options: {
diff --git a/internal/cloudcp/portal/dist/build_manifest.json b/internal/cloudcp/portal/dist/build_manifest.json
index c4f28ab5c5..a6760a99a4 100644
--- a/internal/cloudcp/portal/dist/build_manifest.json
+++ b/internal/cloudcp/portal/dist/build_manifest.json
@@ -1,5 +1,5 @@
{
- "source_hash": "2fa7bbb64e7cb3e9e7e187a81019fdbb723c9591543e9905dba8cf2617d5c958",
+ "source_hash": "fcf3fb15171f5e088edb84875ec66c5c1f91fcbcac8366243794670e35f7e351",
"build_inputs": [
"package.json",
"tsconfig.json",
@@ -26,6 +26,7 @@
"src/billing_controller.ts",
"src/billing_view.test.ts",
"src/billing_view.ts",
+ "src/dependency_security.test.ts",
"src/index.ts",
"src/provider_plan.test.ts",
"src/provider_plan.ts",
diff --git a/internal/cloudcp/portal/frontend/package-lock.json b/internal/cloudcp/portal/frontend/package-lock.json
index 6e8ae80492..49fcaadb1c 100644
--- a/internal/cloudcp/portal/frontend/package-lock.json
+++ b/internal/cloudcp/portal/frontend/package-lock.json
@@ -9,7 +9,7 @@
"esbuild": "^0.28.2",
"jsdom": "^24.1.0",
"typescript": "^5.9.3",
- "vitest": "^4.1.11"
+ "vitest": "^4.1.12"
}
},
"node_modules/@asamuzakjp/css-color": {
@@ -611,9 +611,9 @@
}
},
"node_modules/@rollup/rollup-android-arm-eabi": {
- "version": "4.63.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.63.3.tgz",
- "integrity": "sha512-w3Jnvi1ocaVm/c7yVPpfB98XeSRBMyzp6njL5MVVbGyXjpmUkN+s6Hp4t0PqhGCCaI1ZHMKXt/w0lA1RCaLVcw==",
+ "version": "4.64.7",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.64.7.tgz",
+ "integrity": "sha512-GFF2tHk0NqYVObrK0+/ps/LEXsV/v2q6Lyiy7mZr+Ej24fpQScvqK2ziz9NHeEQYnKWKym38Ml7dZbPtC9tuAw==",
"cpu": [
"arm"
],
@@ -625,9 +625,9 @@
]
},
"node_modules/@rollup/rollup-android-arm64": {
- "version": "4.63.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.63.3.tgz",
- "integrity": "sha512-uI/ESiaIbbRYAEhzy8PCUWDp1hB0bjAqM06mW9flOoNO4Q8DQpeoREhBR5Hegfl+wpXiguyJv6XSPzEN7OxyHQ==",
+ "version": "4.64.7",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.64.7.tgz",
+ "integrity": "sha512-BOymcXJFYYXqluDidj6sLelNjXruC3u1BqVxLn2OPCXH9xaPSOTH+MS4uychsGI1NU7tJoiv9KvqijDHFe+hhQ==",
"cpu": [
"arm64"
],
@@ -639,9 +639,9 @@
]
},
"node_modules/@rollup/rollup-darwin-arm64": {
- "version": "4.63.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.63.3.tgz",
- "integrity": "sha512-oxhrd1jmXLwWZ83eQYDXxuqRdkqkzrjR3JobKeuUyfdNZo11FuQIvqEOZhyIT7OBHxXoGslDDjN0cQcM6T0TqQ==",
+ "version": "4.64.7",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.64.7.tgz",
+ "integrity": "sha512-jgVpGweIbls2H5jfBB70tnX52abMd5pJr3xmtoDILx6JdmGl+Un+tMb9R+MbHPVB46tTBpY8emtn7M71SnQhEQ==",
"cpu": [
"arm64"
],
@@ -653,9 +653,9 @@
]
},
"node_modules/@rollup/rollup-darwin-x64": {
- "version": "4.63.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.63.3.tgz",
- "integrity": "sha512-7/YiIMghVE8DrxKvNdorAaJVdriOFgOIpdStnPx8ppx5zfTwC3jBCSEAIzB7JD5404m65THl6H93UTTVUvypmg==",
+ "version": "4.64.7",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.64.7.tgz",
+ "integrity": "sha512-AVMpt94mrXH7WjyWKmd9nT4RC5yM0AN3Lt6A89xVIsuLDi3dDX6dxMytLbW36FlppY9JsoqUoS3LUUpUrYxiMQ==",
"cpu": [
"x64"
],
@@ -667,9 +667,9 @@
]
},
"node_modules/@rollup/rollup-freebsd-arm64": {
- "version": "4.63.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.63.3.tgz",
- "integrity": "sha512-GXFZRRoMAytaI5z6N3Zhfw0WL18Q0M8r95D5hlC4GqE/lGk8pbSJNUBoOWDfbm6dTciqHj2nU87tI5f6XhQiOg==",
+ "version": "4.64.7",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.64.7.tgz",
+ "integrity": "sha512-Nje29c/MyajxRNFGU05oyeTDS6SWdMg/wWMSlZSBTBju5BKz2NVc0kFiFSQGzRELNiB+CBk/ZvAVsWsENgjGag==",
"cpu": [
"arm64"
],
@@ -681,9 +681,9 @@
]
},
"node_modules/@rollup/rollup-freebsd-x64": {
- "version": "4.63.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.63.3.tgz",
- "integrity": "sha512-77W+8X3ddYgPxUpB8nZFQs2Mq+wc4HVlcSRtApXLjYBcnPMkttrSnU8VwKQjeWYhMsITHFs5cWBQ8vz1Q+5RHQ==",
+ "version": "4.64.7",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.64.7.tgz",
+ "integrity": "sha512-xxgN5/kMzCNz/NYJ4t49B0/WS6InNlWv6xvgwUQqNnWM9WJMMwMUGWrAxdNEgYWdHL0sMnuh8I87StGrIMTA+w==",
"cpu": [
"x64"
],
@@ -695,9 +695,9 @@
]
},
"node_modules/@rollup/rollup-linux-arm-gnueabihf": {
- "version": "4.63.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.63.3.tgz",
- "integrity": "sha512-FVkwK+iUC+mq+GipVK46rRVticfAPtvPUNlqlGXUDxdVk/UGjQiiiUVPUrEXdSpU2ufU0XxLGyTqDtBidDOVmg==",
+ "version": "4.64.7",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.64.7.tgz",
+ "integrity": "sha512-5U/9gVn/X657I8+NHoHO9Wnfyd0lEXwqbslobRoB9TC8SwYzOitcIr6TLE7531Q/NWs3L4mb+YOGzlf3vHIeYw==",
"cpu": [
"arm"
],
@@ -712,9 +712,9 @@
]
},
"node_modules/@rollup/rollup-linux-arm-musleabihf": {
- "version": "4.63.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.63.3.tgz",
- "integrity": "sha512-+aGU1t3398yQOVj1Bz8o3e+KtswxAPvO+mtxtNdfXYMkXIHu7XhhkCD7/DEH9q8tF8uhDnMWvfpUKI8y1sZJsg==",
+ "version": "4.64.7",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.64.7.tgz",
+ "integrity": "sha512-hcDS0a/Y8ggM3dcOfzH7UpSaogCViWTtNDSl0EXpWIj8g8/r86ITqptjil2hayTXS0Umzb+Yt3mjgpQVFVf2+A==",
"cpu": [
"arm"
],
@@ -729,9 +729,9 @@
]
},
"node_modules/@rollup/rollup-linux-arm64-gnu": {
- "version": "4.63.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.63.3.tgz",
- "integrity": "sha512-cR0kjpRXR2KJ2oQK8E2KTPtphs+b9hZ8IhTZubNryt/RsqgdOZBQ2Zq0q5UedtiIi0rs3jVhJh55RE1ZHUVGUA==",
+ "version": "4.64.7",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.64.7.tgz",
+ "integrity": "sha512-awbAr4N7Qd/yjZAQBEEPzgcPveYG2Gi5L6gq1/Bp+3SMRjn5F68Wv1zKsntzvvoioBR6yKvhLtWqu11am1TsxA==",
"cpu": [
"arm64"
],
@@ -746,9 +746,9 @@
]
},
"node_modules/@rollup/rollup-linux-arm64-musl": {
- "version": "4.63.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.63.3.tgz",
- "integrity": "sha512-y1RYi4Q3/9ByVWSSt9kX2ustE0B7kFYbJ6zZdVZVyqopZs3yhCTwRfrjIX4vezUJInma/Gs6BOFDJg7yZmJ0IQ==",
+ "version": "4.64.7",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.64.7.tgz",
+ "integrity": "sha512-Ut7xQJfeLhzu2yN3rHzVvL9ccyPJvN4aCdP1V7hJ5lGxX/eCzgB9SiMk/Md3J+rWWZgvoYsDW4BUFggJr32pBA==",
"cpu": [
"arm64"
],
@@ -763,9 +763,9 @@
]
},
"node_modules/@rollup/rollup-linux-loong64-gnu": {
- "version": "4.63.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.63.3.tgz",
- "integrity": "sha512-DNhEA5viIj3Z5bZLE4z4oV8N5ozWqDwyt7T6KG7VdLDJ0nW+rNOYlphBl4/3HQkK75qipPLsVOfStHHOwN9WSg==",
+ "version": "4.64.7",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.64.7.tgz",
+ "integrity": "sha512-trqoni/vHkuM5oo5iQhoKPh6fjjD7E80pMgCXWgGxU8vSRPUlwvG8GeYvEEcB6eJAxNa99WH9iVHPHelgtKiHA==",
"cpu": [
"loong64"
],
@@ -780,9 +780,9 @@
]
},
"node_modules/@rollup/rollup-linux-loong64-musl": {
- "version": "4.63.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.63.3.tgz",
- "integrity": "sha512-17gQCqrIpXBX2Cmi9/TygnVOqGbzsba/iaqcYSL8FY7lNugg+7AiYNs5c5nKWD+NRQha36Sa0CqkJqH4XVHwnQ==",
+ "version": "4.64.7",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.64.7.tgz",
+ "integrity": "sha512-gvlUy0XFIwtUWiQmhc+4GT2Knm3KosinpUVhr7CtTFA78gFDnE5NWwMPzHrJsYpKkh2LlY7yvBIboN1FAV6Xeg==",
"cpu": [
"loong64"
],
@@ -797,9 +797,9 @@
]
},
"node_modules/@rollup/rollup-linux-ppc64-gnu": {
- "version": "4.63.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.63.3.tgz",
- "integrity": "sha512-6LwVnZRIyINpdku/yOcI8Tm9YqLmhHK5emmlOOnW9tO0SYEm1FmKPcsSAGp0NBlqR2P04xaND4jvN6sTHqhq8A==",
+ "version": "4.64.7",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.64.7.tgz",
+ "integrity": "sha512-8yS/kSXTJ/47Z62JW+C2AJ3vd/8zZw016vFjtNpZwmZlwJumLua4s1i78dkYuSSqQ+0aIMxJcBp/4uIwp2ehjA==",
"cpu": [
"ppc64"
],
@@ -814,9 +814,9 @@
]
},
"node_modules/@rollup/rollup-linux-ppc64-musl": {
- "version": "4.63.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.63.3.tgz",
- "integrity": "sha512-xMUqkTXlEUtI/p5AAukMwBRr1enU3efsTeF+bskeFfk8t1C9rcC8sLREcZXmTfAXEbvRdJVSonVJez3TMlbR3w==",
+ "version": "4.64.7",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.64.7.tgz",
+ "integrity": "sha512-mxVSKvvty0hOP1AFo/l4Kpv3i3HK0zx4rYUrirZDToYlWhS3xzmIkq3vUJ7rtrM2cPyXveDyDT6M1FfXZ9hTRA==",
"cpu": [
"ppc64"
],
@@ -831,9 +831,9 @@
]
},
"node_modules/@rollup/rollup-linux-riscv64-gnu": {
- "version": "4.63.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.63.3.tgz",
- "integrity": "sha512-S3E94co9F9WRRqEaUoQZ38K1gCz6KiM+nL7/3ijq7fDGF3OznjS5TasgYITlvl27GQKtu4lOAOsr5MFwkijvOA==",
+ "version": "4.64.7",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.64.7.tgz",
+ "integrity": "sha512-lEse1zra1CagM+uHH2bl28GInDsZZ45NJzHei2OMaXQFzZWKBO1hFo07rS0xB6ayV4WU360UrSmPDSyCMpYsUQ==",
"cpu": [
"riscv64"
],
@@ -848,9 +848,9 @@
]
},
"node_modules/@rollup/rollup-linux-riscv64-musl": {
- "version": "4.63.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.63.3.tgz",
- "integrity": "sha512-1QtRDwG42x5BJI3s9mxu5rEjDnfbSnk20HQ9/ylTAYnSwYwxMVb+Vgu34wzzTQ7ogqBybebgQNUDAvZVQ38DbA==",
+ "version": "4.64.7",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.64.7.tgz",
+ "integrity": "sha512-d/cqCoiG9WMZ5VuJZ5Qdlv9g97QyoGwnmvHccvGhKSacTy7xFrAS+jMcJSBdMNOw1oacSkl6p7K6O/DRYTKL3g==",
"cpu": [
"riscv64"
],
@@ -865,9 +865,9 @@
]
},
"node_modules/@rollup/rollup-linux-s390x-gnu": {
- "version": "4.63.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.63.3.tgz",
- "integrity": "sha512-BQhejF6ZXOpxbngiNTP12GCGQeaDVL2QXGeBVViKIYzFHM5RKxTxwUMB1fr1BeNFphFMpnRqC5QSXFSa4z6UQw==",
+ "version": "4.64.7",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.64.7.tgz",
+ "integrity": "sha512-kVEA//CeDOZZP1XCH2JBgqXb9+ALlwuA/4civaazMVdgzaSQC9WM38w65zG/LLk0lA7F9Od19CSBZW7J9mCbNg==",
"cpu": [
"s390x"
],
@@ -882,9 +882,9 @@
]
},
"node_modules/@rollup/rollup-linux-x64-gnu": {
- "version": "4.63.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.63.3.tgz",
- "integrity": "sha512-SXagRwnI2Wlwlitllu59UK/nGVbD1CKPcNqDplHwIC4BqJcpXFjD32d1R/RbuISa95HdQrZM3/7v4bKiowFaLA==",
+ "version": "4.64.7",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.64.7.tgz",
+ "integrity": "sha512-14oLfDsOSr0TSntT/34jRg/V8B2XW/Jomh9zX9CjIM9gwwNlI1OCymS/GVn0DV32h67eRf7U0GGem0rvfXgNwQ==",
"cpu": [
"x64"
],
@@ -899,9 +899,9 @@
]
},
"node_modules/@rollup/rollup-linux-x64-musl": {
- "version": "4.63.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.63.3.tgz",
- "integrity": "sha512-2IPozoEALRCziGqE8O9KMK60PMu5TS1huv4fwoeCexj+WjmcwFtX9CTOVbfXCUqcELAubEwRFPYlzb/WvwY2HQ==",
+ "version": "4.64.7",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.64.7.tgz",
+ "integrity": "sha512-dFVtPfjZqAnUPpPY4Bfg+87yo1IBW9HiY8iCFtg49Pn46MfZTebSHZh8PL6SOsgyt9LQP8Nj/sE6jm3aWpySmQ==",
"cpu": [
"x64"
],
@@ -916,9 +916,9 @@
]
},
"node_modules/@rollup/rollup-openbsd-x64": {
- "version": "4.63.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.63.3.tgz",
- "integrity": "sha512-AoxqosUHT9IX54hFn2TiN6A7d6ZKTtE6pd2bqWtqkkNJ6HJGaU6FRouGX8L1O7R/ZwsnCnpQrHzb4pDEx+UHRQ==",
+ "version": "4.64.7",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.64.7.tgz",
+ "integrity": "sha512-Dm9CZ2SM3u2NgvBj4awW/gGqkOwzH8f6MSYIJE6+bKcKLI+T0+LhpD6vtetTfrIIx+rLXDf5RJqBP6v7V5O+wg==",
"cpu": [
"x64"
],
@@ -930,9 +930,9 @@
]
},
"node_modules/@rollup/rollup-openharmony-arm64": {
- "version": "4.63.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.63.3.tgz",
- "integrity": "sha512-d+CaftKgmkFBzCwezMqqy1d0QNNYugqLCMcYVQWBy5SS2YfeMP8Q8ripkgx9O8IyBXXLHrJ+aaCV4U96usv6Yg==",
+ "version": "4.64.7",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.64.7.tgz",
+ "integrity": "sha512-oaxsvS2mL6+78741CT2HCORBvy1USg3Wqpt5qvZwy3aMXRMl4zxyDo8maeFRWJkF3dp0Wbi71fKH5Gr9YI3vYA==",
"cpu": [
"arm64"
],
@@ -944,9 +944,9 @@
]
},
"node_modules/@rollup/rollup-win32-arm64-msvc": {
- "version": "4.63.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.63.3.tgz",
- "integrity": "sha512-xXlDF6nR1eOuXbdDy5Hl5fmtY7teUDevF/k0O7IPoZe4Tpmdv+lgdE5JRsnhQtt37ql9P0VF2kAN9a0OCZdo+Q==",
+ "version": "4.64.7",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.64.7.tgz",
+ "integrity": "sha512-UKZz1Y4mxUqkWh60uH7B1aZn6UcAimPk4ipRktpb3wfZq7JrzZYyAXTwiafkb3T+kd5P3Sf+vzcRdsDks4WtjQ==",
"cpu": [
"arm64"
],
@@ -958,9 +958,9 @@
]
},
"node_modules/@rollup/rollup-win32-ia32-msvc": {
- "version": "4.63.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.63.3.tgz",
- "integrity": "sha512-YtXAgLN+JP7Ay6qG3eWhc7IHMQPzLc8r3uvhAvlJIoCz/4Q32+Bl9Fmnywidh8v1GOIMmymjovfqY9ETAtysvA==",
+ "version": "4.64.7",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.64.7.tgz",
+ "integrity": "sha512-WWkSuC1J+mZJnsDh0mRaCAFSWfQdl6y3fDjZeWElI6zHo8CcOSG5lY3yurKJjEq+FrX0WD60sFrVVpbHqzMmrw==",
"cpu": [
"ia32"
],
@@ -972,9 +972,9 @@
]
},
"node_modules/@rollup/rollup-win32-x64-gnu": {
- "version": "4.63.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.63.3.tgz",
- "integrity": "sha512-WuWtSJRNo549vzcfZyEgfqb6zeSgn1F+UE5kQ+BCjzz0W4MGCjntUHkZVc1VRuAM7+ULaSyhiPxD1spyewFvkQ==",
+ "version": "4.64.7",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.64.7.tgz",
+ "integrity": "sha512-u9bp2yXCI3/BUjUxY6uWknAY32pfvvDCPysyUTySotx0dj3ydlFHrRQYfn/b/kZgnfjyEwySMtI7Ga054uiysQ==",
"cpu": [
"x64"
],
@@ -986,9 +986,9 @@
]
},
"node_modules/@rollup/rollup-win32-x64-msvc": {
- "version": "4.63.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.63.3.tgz",
- "integrity": "sha512-+lIKX7O0+IGe7WuhATaAMMeT7B76vfhXH/l9wLQL+nvyhbw2ohYCKIdWL56JfDu75CWt5oKRP4QFH/jkMtBquA==",
+ "version": "4.64.7",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.64.7.tgz",
+ "integrity": "sha512-EhX6N3XPMEnVU5cRfNgzPOKcSucsbu3nNNWuoAaEuKIqmddBKHN5b9d4rPe65T1I+FaOT176JKiZNsUBp3rqbA==",
"cpu": [
"x64"
],
@@ -1032,16 +1032,16 @@
"license": "MIT"
},
"node_modules/@vitest/expect": {
- "version": "4.1.11",
- "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-4.1.11.tgz",
- "integrity": "sha512-VX2x5vNJXET47KAFzwERI+KRMtTTCSWTfSMKsW7JsUsXV4psq++e3DvZpuTDOpHcxytiDs6p2nhVb2tVDiiUYw==",
+ "version": "4.1.12",
+ "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-4.1.12.tgz",
+ "integrity": "sha512-vFlTt+YEu9WBpNjdGayNmlMVzrWPi1+sv853/7t2FU7hpO5gAFBKHzQmkCq5Xjpr+evegF2994LQT3hF3mRlqQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@standard-schema/spec": "^1.1.0",
"@types/chai": "^5.2.2",
- "@vitest/spy": "4.1.11",
- "@vitest/utils": "4.1.11",
+ "@vitest/spy": "4.1.12",
+ "@vitest/utils": "4.1.12",
"chai": "^6.2.2",
"tinyrainbow": "^3.1.0"
},
@@ -1050,13 +1050,13 @@
}
},
"node_modules/@vitest/mocker": {
- "version": "4.1.11",
- "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-4.1.11.tgz",
- "integrity": "sha512-2XJVD55d1o5AZous5CCGKS74g/riOj9odEt2bQpCVZeblHyHdnMeFl4jl0XjU21stf4mbjUkew2eXQZt65g5CQ==",
+ "version": "4.1.12",
+ "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-4.1.12.tgz",
+ "integrity": "sha512-fKShNpKZzupWZuY0z7egydvL0sqW4INEZBEExMBMAa6izlENEVHwoXgdaTCaBZ5fwlr4xf2o1wXC83n9RpO+NA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@vitest/spy": "4.1.11",
+ "@vitest/spy": "4.1.12",
"estree-walker": "^3.0.3",
"magic-string": "^0.30.21"
},
@@ -1077,9 +1077,9 @@
}
},
"node_modules/@vitest/pretty-format": {
- "version": "4.1.11",
- "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-4.1.11.tgz",
- "integrity": "sha512-yiZzPbGTS9Sr/JpFl8zHrcIkAofNbFV6k21vIgQN/cY/oxZeXhJv5sc/MBJ5jFKWmWs+oJHw0UXLZjmf931+Vw==",
+ "version": "4.1.12",
+ "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-4.1.12.tgz",
+ "integrity": "sha512-XW9O8+Mxx4VpCtkYdMJLZQQwsVryP9wk7cPKDxtXFfwSak6yRh5+2fep/Y0XF/ElBvJHq8bcYdi6aeuai0opZA==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -1090,13 +1090,13 @@
}
},
"node_modules/@vitest/runner": {
- "version": "4.1.11",
- "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-4.1.11.tgz",
- "integrity": "sha512-LztvUgdwMNJMIkj3hQnnxiC2Xy1zNxq928W/xhjCLaNCzqTZOudjwbQf6v9IntZGPw132i2Lq2rgTRZHD3JHNw==",
+ "version": "4.1.12",
+ "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-4.1.12.tgz",
+ "integrity": "sha512-NKlVKCr5QnCe8jijdMnmkpHHU+WTqiLFR6G0pHji9uRjXK9xJl1k1nTw6F3pOOj2PDcsDt2GKQMI7wIsaT491w==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@vitest/utils": "4.1.11",
+ "@vitest/utils": "4.1.12",
"pathe": "^2.0.3"
},
"funding": {
@@ -1104,14 +1104,14 @@
}
},
"node_modules/@vitest/snapshot": {
- "version": "4.1.11",
- "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-4.1.11.tgz",
- "integrity": "sha512-pN7ikn1ON7h8ee4gIAp4AzyK+zBtJPzVbqOgu5LCEh4VaJVbPQcgYQYJIMGQPXVeJJq1fnfazis7a5pFNPahog==",
+ "version": "4.1.12",
+ "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-4.1.12.tgz",
+ "integrity": "sha512-ko1y1Qgb/slzQ9mr+b89Cuqud8WG1TKtsPD8r7ZUBdvVOGt85Af2HwCqHujrhwJq95hs/9RM7fcAPg57o1vlzw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@vitest/pretty-format": "4.1.11",
- "@vitest/utils": "4.1.11",
+ "@vitest/pretty-format": "4.1.12",
+ "@vitest/utils": "4.1.12",
"magic-string": "^0.30.21",
"pathe": "^2.0.3"
},
@@ -1120,9 +1120,9 @@
}
},
"node_modules/@vitest/spy": {
- "version": "4.1.11",
- "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-4.1.11.tgz",
- "integrity": "sha512-apNa/prQy2qCeywhnixOHPRCgGNhvg7T4Dapfl1GahLp/R+uhBm5cPyFoNVyqsNd2h1nJxL6BqqdIjiABL60YA==",
+ "version": "4.1.12",
+ "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-4.1.12.tgz",
+ "integrity": "sha512-RGq9x4JNGNTZHEJxvN0oSiJjeSCExm0n2gZKKJZHY9cX5AVA6M7VJILBT3ZJ/tJ/0J9uWT7fETV9/btoi//vSg==",
"dev": true,
"license": "MIT",
"funding": {
@@ -1130,13 +1130,13 @@
}
},
"node_modules/@vitest/utils": {
- "version": "4.1.11",
- "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-4.1.11.tgz",
- "integrity": "sha512-zTCVGpyFsGWBhllOyKlTw/vnr6D9qxsfSDyfbyZmTyjHw5N/VuvzHpHoQjm2ZJzn4RJgx5w4r7V0er69CmLgPQ==",
+ "version": "4.1.12",
+ "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-4.1.12.tgz",
+ "integrity": "sha512-Q3awXrwOfEV+qc3WmO5ONyE0yO7Q1gQ9/oyHxGLZ/pl7N3NO/ZztqQwKLuwMkV+CA1JYSIeO3gkHnRDIo4AVaA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@vitest/pretty-format": "4.1.11",
+ "@vitest/pretty-format": "4.1.12",
"convert-source-map": "^2.0.0",
"tinyrainbow": "^3.1.0"
},
@@ -1186,9 +1186,9 @@
}
},
"node_modules/chai": {
- "version": "6.2.2",
- "resolved": "https://registry.npmjs.org/chai/-/chai-6.2.2.tgz",
- "integrity": "sha512-NUPRluOfOiTKBKvWPtSD4PhFvWCqOi0BGStNWs57X9js7XGTprSmFoz5F0tWhR4WPjNeR9jXqdC7/UpSJTnlRg==",
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/chai/-/chai-6.3.0.tgz",
+ "integrity": "sha512-XWAtwJ6OHO+tj0EKCs0Y2UamnyOxseZWltU4x2U2wh8g4AigdjwvtUjvLP2tqkA/avxHEtzxNaqGq/YGNwckKg==",
"dev": true,
"license": "MIT",
"engines": {
@@ -1745,9 +1745,9 @@
"license": "MIT"
},
"node_modules/nanoid": {
- "version": "3.3.19",
- "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.19.tgz",
- "integrity": "sha512-Y2tUNy4ouw6tq5oDSKeQYGOyhkUBhNOcGV/02KC+6kd9eDGqdZd++mjMiIDilrBYvjEnCYvVtsuHCuP+okSfug==",
+ "version": "3.3.20",
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.20.tgz",
+ "integrity": "sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ==",
"dev": true,
"funding": [
{
@@ -1825,9 +1825,9 @@
}
},
"node_modules/postcss": {
- "version": "8.5.28",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.28.tgz",
- "integrity": "sha512-RRuzqDtt5Y9h3quz5hWhK+TPnsmVs6WwSU6LkJMeY4HstUEDuYTG8UJSdawMRzmzAtV+KEoG8N3Qg2qLy5vM/A==",
+ "version": "8.5.30",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.30.tgz",
+ "integrity": "sha512-zkd+e9S1AQHhmaBKye9zlFHWjOwVgqXl1q3ECYy8561K7qxR2cREf/STLskulBFd78k6AOFeA+ff1TtEzk9bAA==",
"dev": true,
"funding": [
{
@@ -1845,9 +1845,9 @@
],
"license": "MIT",
"dependencies": {
- "nanoid": "^3.3.18",
+ "nanoid": "^3.3.20",
"picocolors": "^1.1.1",
- "source-map-js": "^1.2.1"
+ "source-map-js": "^1.2.2"
},
"engines": {
"node": "^10 || ^12 || >=14"
@@ -1891,9 +1891,9 @@
"license": "MIT"
},
"node_modules/rollup": {
- "version": "4.63.3",
- "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.63.3.tgz",
- "integrity": "sha512-1i2XreiAoMMXuPGD6Msj2xWrMMkHojNRKivInxGQcg7/1KuPuYlfUutLyh4drnOxUTHX9cHI4wFoat8D/NKaBw==",
+ "version": "4.64.7",
+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.64.7.tgz",
+ "integrity": "sha512-aCiJONoZp0lNGJ6sYqspLkh6UXaWEey/7Ko2TZyXQ4kgzAhDUxAgbt/oulXKmD+zFHXw1k+RF6ZZWOrjp7DZnQ==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -1908,31 +1908,31 @@
},
"optionalDependencies": {
"@napi-rs/lzma-linux-x64-gnu": "1.5.1",
- "@rollup/rollup-android-arm-eabi": "4.63.3",
- "@rollup/rollup-android-arm64": "4.63.3",
- "@rollup/rollup-darwin-arm64": "4.63.3",
- "@rollup/rollup-darwin-x64": "4.63.3",
- "@rollup/rollup-freebsd-arm64": "4.63.3",
- "@rollup/rollup-freebsd-x64": "4.63.3",
- "@rollup/rollup-linux-arm-gnueabihf": "4.63.3",
- "@rollup/rollup-linux-arm-musleabihf": "4.63.3",
- "@rollup/rollup-linux-arm64-gnu": "4.63.3",
- "@rollup/rollup-linux-arm64-musl": "4.63.3",
- "@rollup/rollup-linux-loong64-gnu": "4.63.3",
- "@rollup/rollup-linux-loong64-musl": "4.63.3",
- "@rollup/rollup-linux-ppc64-gnu": "4.63.3",
- "@rollup/rollup-linux-ppc64-musl": "4.63.3",
- "@rollup/rollup-linux-riscv64-gnu": "4.63.3",
- "@rollup/rollup-linux-riscv64-musl": "4.63.3",
- "@rollup/rollup-linux-s390x-gnu": "4.63.3",
- "@rollup/rollup-linux-x64-gnu": "4.63.3",
- "@rollup/rollup-linux-x64-musl": "4.63.3",
- "@rollup/rollup-openbsd-x64": "4.63.3",
- "@rollup/rollup-openharmony-arm64": "4.63.3",
- "@rollup/rollup-win32-arm64-msvc": "4.63.3",
- "@rollup/rollup-win32-ia32-msvc": "4.63.3",
- "@rollup/rollup-win32-x64-gnu": "4.63.3",
- "@rollup/rollup-win32-x64-msvc": "4.63.3",
+ "@rollup/rollup-android-arm-eabi": "4.64.7",
+ "@rollup/rollup-android-arm64": "4.64.7",
+ "@rollup/rollup-darwin-arm64": "4.64.7",
+ "@rollup/rollup-darwin-x64": "4.64.7",
+ "@rollup/rollup-freebsd-arm64": "4.64.7",
+ "@rollup/rollup-freebsd-x64": "4.64.7",
+ "@rollup/rollup-linux-arm-gnueabihf": "4.64.7",
+ "@rollup/rollup-linux-arm-musleabihf": "4.64.7",
+ "@rollup/rollup-linux-arm64-gnu": "4.64.7",
+ "@rollup/rollup-linux-arm64-musl": "4.64.7",
+ "@rollup/rollup-linux-loong64-gnu": "4.64.7",
+ "@rollup/rollup-linux-loong64-musl": "4.64.7",
+ "@rollup/rollup-linux-ppc64-gnu": "4.64.7",
+ "@rollup/rollup-linux-ppc64-musl": "4.64.7",
+ "@rollup/rollup-linux-riscv64-gnu": "4.64.7",
+ "@rollup/rollup-linux-riscv64-musl": "4.64.7",
+ "@rollup/rollup-linux-s390x-gnu": "4.64.7",
+ "@rollup/rollup-linux-x64-gnu": "4.64.7",
+ "@rollup/rollup-linux-x64-musl": "4.64.7",
+ "@rollup/rollup-openbsd-x64": "4.64.7",
+ "@rollup/rollup-openharmony-arm64": "4.64.7",
+ "@rollup/rollup-win32-arm64-msvc": "4.64.7",
+ "@rollup/rollup-win32-ia32-msvc": "4.64.7",
+ "@rollup/rollup-win32-x64-gnu": "4.64.7",
+ "@rollup/rollup-win32-x64-msvc": "4.64.7",
"fsevents": "~2.3.2"
}
},
@@ -2036,9 +2036,9 @@
}
},
"node_modules/tinyrainbow": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/tinyrainbow/-/tinyrainbow-3.1.1.tgz",
- "integrity": "sha512-yau8yJdTt989Mm0Bd/236QnzEiPf2xLLTqUZRUJOo/3CB078LSwzei343DgtJVmfJKJE3TMINY1u42SQsP6mXw==",
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/tinyrainbow/-/tinyrainbow-3.2.0.tgz",
+ "integrity": "sha512-LgO3D9yZJjApUiuUfl9iFAwrtaX4+lok3wJIqttGoKCHlWUqHqbQpnxCf82L8FjgKsh4iGo78hqJwgL8F6To2A==",
"dev": true,
"license": "MIT",
"engines": {
@@ -2110,9 +2110,9 @@
}
},
"node_modules/vite": {
- "version": "7.3.6",
- "resolved": "https://registry.npmjs.org/vite/-/vite-7.3.6.tgz",
- "integrity": "sha512-4XP60spRGjSZFf1qYH+dJIkK2znL3zQfl9KkOV9MkkRR/3Dls0dxaBsQPTloEc5BLXWPL9vsOxopxyKoMmDueg==",
+ "version": "7.3.7",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-7.3.7.tgz",
+ "integrity": "sha512-AHEzTORMbi7/7aXp7w7KZ5+DCUdSeLsJz0grY8xHpc9DHdYb0vQu6DqJfm2tOw3gDExNgPgnJTXxM6syYFHaCA==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -2185,19 +2185,19 @@
}
},
"node_modules/vitest": {
- "version": "4.1.11",
- "resolved": "https://registry.npmjs.org/vitest/-/vitest-4.1.11.tgz",
- "integrity": "sha512-fhACrNXUidIbGSBr5FlbuBkO7VWC1ZyLl0DO4CU2DrQoAPxX84Ysxs+HeGQpii5lZWV1Q4gBZTTu49mF+A6Edw==",
+ "version": "4.1.12",
+ "resolved": "https://registry.npmjs.org/vitest/-/vitest-4.1.12.tgz",
+ "integrity": "sha512-5eWdz2yb3ajxWF3C8C4TjkXl7FGm3n2E/VlazALrQHzK7nYMSGFnCZto0bbPNl77AwkOZVLk0YnBAejUu0NiWA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@vitest/expect": "4.1.11",
- "@vitest/mocker": "4.1.11",
- "@vitest/pretty-format": "4.1.11",
- "@vitest/runner": "4.1.11",
- "@vitest/snapshot": "4.1.11",
- "@vitest/spy": "4.1.11",
- "@vitest/utils": "4.1.11",
+ "@vitest/expect": "4.1.12",
+ "@vitest/mocker": "4.1.12",
+ "@vitest/pretty-format": "4.1.12",
+ "@vitest/runner": "4.1.12",
+ "@vitest/snapshot": "4.1.12",
+ "@vitest/spy": "4.1.12",
+ "@vitest/utils": "4.1.12",
"es-module-lexer": "^2.0.0",
"expect-type": "^1.3.0",
"magic-string": "^0.30.21",
@@ -2225,12 +2225,12 @@
"@edge-runtime/vm": "*",
"@opentelemetry/api": "^1.9.0",
"@types/node": "^20.0.0 || ^22.0.0 || >=24.0.0",
- "@vitest/browser-playwright": "4.1.11",
- "@vitest/browser-preview": "4.1.11",
- "@vitest/browser-webdriverio": "4.1.11",
- "@vitest/coverage-istanbul": "4.1.11",
- "@vitest/coverage-v8": "4.1.11",
- "@vitest/ui": "4.1.11",
+ "@vitest/browser-playwright": "4.1.12",
+ "@vitest/browser-preview": "4.1.12",
+ "@vitest/browser-webdriverio": "^4.1.11",
+ "@vitest/coverage-istanbul": "4.1.12",
+ "@vitest/coverage-v8": "4.1.12",
+ "@vitest/ui": "4.1.12",
"happy-dom": "*",
"jsdom": "*",
"vite": "^6.0.0 || ^7.0.0 || ^8.0.0"
@@ -2353,9 +2353,9 @@
}
},
"node_modules/ws": {
- "version": "8.21.0",
- "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.0.tgz",
- "integrity": "sha512-Vsp28b7DRcimFQvrqu2Wek3z1iYxDCWqHYB8Qsnk/S4RfaCQzPGPyBNuVjJV3cd6UiKtUtp6sNM77gWvzcCH+g==",
+ "version": "8.22.0",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.22.0.tgz",
+ "integrity": "sha512-Ydggc987+RO0AnWtZ/7Wq9FtNvcrL1b/RO0ud9mWjUPgDrsAAwQSF51sm2hm1XofbU/4jkpGEsLFsZZxU+1DOg==",
"dev": true,
"license": "MIT",
"engines": {
diff --git a/internal/cloudcp/portal/frontend/package.json b/internal/cloudcp/portal/frontend/package.json
index 5273dc074f..80e9ffdc37 100644
--- a/internal/cloudcp/portal/frontend/package.json
+++ b/internal/cloudcp/portal/frontend/package.json
@@ -12,13 +12,13 @@
"esbuild": "^0.28.2",
"jsdom": "^24.1.0",
"typescript": "^5.9.3",
- "vitest": "^4.1.11"
+ "vitest": "^4.1.12"
},
"overrides": {
"esbuild": "$esbuild",
"vite": "^7.3.5",
"form-data": "^4.0.6",
"postcss": "^8.5.10",
- "ws": "^8.21.0"
+ "ws": "^8.22.0"
}
}
diff --git a/internal/cloudcp/portal/frontend/src/dependency_security.test.ts b/internal/cloudcp/portal/frontend/src/dependency_security.test.ts
new file mode 100644
index 0000000000..d4e7ee4888
--- /dev/null
+++ b/internal/cloudcp/portal/frontend/src/dependency_security.test.ts
@@ -0,0 +1,51 @@
+// @vitest-environment node
+
+import { readFileSync } from 'node:fs';
+import { describe, expect, it } from 'vitest';
+
+const manifest = JSON.parse(readFileSync(new URL('../package.json', import.meta.url), 'utf8'));
+const lock = JSON.parse(readFileSync(new URL('../package-lock.json', import.meta.url), 'utf8')) as {
+ packages: Record<string, { version?: string }>;
+};
+
+// The same mock registration and redirect fixes apply to the portal runner,
+// not just frontend-modern: GHSA-qxg6-89mg-rqv8 and GHSA-xp26-3454-mjgp.
+const patchedVitest4 = (version: string): boolean => {
+ const match = /^4\.(\d+)\.(\d+)$/.exec(version);
+ return Boolean(match && (Number(match[1]) > 1 || (Number(match[1]) === 1 && Number(match[2]) >= 12)));
+};
+
+describe('portal Vitest dependency security', () => {
+ it.each([
+ ['4.1.11', false],
+ ['4.0.20', false],
+ ['3.2.12', false],
+ ['4.1.12-beta.1', false],
+ ['', false],
+ ['4.1.12', true],
+ ['4.1.13', true],
+ ['4.2.0', true],
+ ])('classifies %s without accepting an old or unreviewed runner', (version, expected) => {
+ expect(patchedVitest4(version as string)).toBe(expected);
+ });
+
+ it('declares the maintained 4.x runner above the shared mocker floor', () => {
+ expect(manifest.devDependencies.vitest).toMatch(/^\^4\.\d+\.\d+$/);
+ expect(patchedVitest4(manifest.devDependencies.vitest.slice(1))).toBe(true);
+ });
+
+ it.each([
+ 'vitest', '@vitest/mocker', '@vitest/expect', '@vitest/pretty-format',
+ '@vitest/runner', '@vitest/snapshot', '@vitest/spy', '@vitest/utils',
+ ])('keeps every %s copy patched and aligned with the runner', name => {
+ const runner = lock.packages['node_modules/vitest']?.version;
+ const versions = Object.entries(lock.packages)
+ .filter(([path]) => path === `node_modules/${name}` || path.endsWith(`/node_modules/${name}`))
+ .map(([, entry]) => entry.version ?? '');
+ expect(versions.length, `${name} must be locked`).toBeGreaterThan(0);
+ for (const version of versions) {
+ expect(patchedVitest4(version), `${name} ${version} is below the reviewed floor`).toBe(true);
+ expect(version, `${name} must match the runner`).toBe(runner);
+ }
+ });
+});
diff --git a/tests/integration/package-lock.json b/tests/integration/package-lock.json
index beb6f87eb1..e6de23a8c0 100644
--- a/tests/integration/package-lock.json
+++ b/tests/integration/package-lock.json
@@ -9,22 +9,25 @@
"version": "1.0.0",
"license": "MIT",
"devDependencies": {
- "@axe-core/playwright": "^4.13.0",
+ "@axe-core/playwright": "^4.14.0",
"@playwright/test": "1.56.1",
- "@types/node": "^26.6.2",
- "@types/ws": "^8.18.1",
+ "@types/node": "^26.6.5",
+ "@types/ws": "^8.18.2",
"typescript": "^7.0.2",
- "ws": "^8.21.3"
+ "ws": "^8.22.0"
}
},
"node_modules/@axe-core/playwright": {
- "version": "4.13.0",
- "resolved": "https://registry.npmjs.org/@axe-core/playwright/-/playwright-4.13.0.tgz",
- "integrity": "sha512-6YLx+kxXu5GJceG4ozFg+33a2EMTdjYwWGloJ3sb9Kta5pp+ZNS53uxGVog5JetIY8s++P5UrtX+cri+u0VAVg==",
+ "version": "4.14.0",
+ "resolved": "https://registry.npmjs.org/@axe-core/playwright/-/playwright-4.14.0.tgz",
+ "integrity": "sha512-SGUhG5PIHd2eMdpgBF2PyQLOhX+qyDR2PT4cmoS4Qk2ak+jX/rrSvst9l0PGv5WTHolKpUMvVmoHpr4cZgf1RQ==",
"dev": true,
"license": "MPL-2.0",
"dependencies": {
- "axe-core": "~4.13.0"
+ "axe-core": "~4.14.0"
+ },
+ "engines": {
+ "node": ">=22.12.0"
},
"peerDependencies": {
"playwright-core": ">= 1.0.0"
@@ -47,9 +50,9 @@
}
},
"node_modules/@types/node": {
- "version": "26.6.2",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-26.6.2.tgz",
- "integrity": "sha512-X1P21scMv4zGKLYqjdGjaKa7COa0RKVYYZZN/NfvLQ1JegxFhdhpZG/Lyn8AXx6CDUavKAd11v6BvfpkDByK8g==",
+ "version": "26.6.5",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-26.6.5.tgz",
+ "integrity": "sha512-uMzsv9stDdofIZBx4UGh4Z9ZgXnGC9seRDscilBcTHAeOFk67MZg/k9bWVfO+bk4qZmG+l52hRnLwUiH2LnJTg==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -57,9 +60,9 @@
}
},
"node_modules/@types/ws": {
- "version": "8.18.1",
- "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.18.1.tgz",
- "integrity": "sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg==",
+ "version": "8.18.2",
+ "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.18.2.tgz",
+ "integrity": "sha512-67MQl+fpWKVTT1NYdnmo3U4sc/xPo/zQBncVnI74qmQa0z/b+1g6iYqNmGCPbxO+zz2aklb08a0oHfegiVd0/w==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -407,9 +410,9 @@
}
},
"node_modules/axe-core": {
- "version": "4.13.0",
- "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.13.0.tgz",
- "integrity": "sha512-UzGt8zg7Ny8djbYMhxl2zuEevVa7r2gJjYY5Lwr1xM7+XU2nd6CkIWFTVcCIbAP63vSz71NaVyyuSk9lHKcy0A==",
+ "version": "4.14.0",
+ "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.14.0.tgz",
+ "integrity": "sha512-9WTZxEjsZ7b13TH8JPmbV2z8CHbl80/2hm3XPEG4JgNdQLK81IBRXmSxHfMAOkSqQeRxT/0dwNDz2GOm3zzpcQ==",
"dev": true,
"license": "MPL-2.0",
"engines": {
@@ -506,9 +509,9 @@
"license": "MIT"
},
"node_modules/ws": {
- "version": "8.21.3",
- "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.3.tgz",
- "integrity": "sha512-201TZ/kPWxoPr/OKWjquZR1SWKXcvxdH+e1xrx89b3YbmzLMFCLfnaG1HFIgWzJOEWZ7MvpK++odZufgYR50Rw==",
+ "version": "8.22.0",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.22.0.tgz",
+ "integrity": "sha512-Ydggc987+RO0AnWtZ/7Wq9FtNvcrL1b/RO0ud9mWjUPgDrsAAwQSF51sm2hm1XofbU/4jkpGEsLFsZZxU+1DOg==",
"dev": true,
"license": "MIT",
"engines": {
diff --git a/tests/integration/package.json b/tests/integration/package.json
index 306e8a45ee..b62d216cf5 100644
--- a/tests/integration/package.json
+++ b/tests/integration/package.json
@@ -29,11 +29,11 @@
"author": "rcourtman",
"license": "MIT",
"devDependencies": {
- "@axe-core/playwright": "^4.13.0",
+ "@axe-core/playwright": "^4.14.0",
"@playwright/test": "1.56.1",
- "@types/node": "^26.6.2",
- "@types/ws": "^8.18.1",
+ "@types/node": "^26.6.5",
+ "@types/ws": "^8.18.2",
"typescript": "^7.0.2",
- "ws": "^8.21.3"
+ "ws": "^8.22.0"
}
}