Skip to content

chore(deps-dev): bump jsdom from 29.1.1 to 30.1.3 in /src/frontend - #3860

Closed
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/npm_and_yarn/src/frontend/dev/jsdom-30.1.3
Closed

dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/npm_and_yarn/src/frontend/dev/jsdom-30.1.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Bumps jsdom from 29.1.1 to 30.1.3.

Release notes

Sourced from jsdom's releases.

v30.1.3

  • Improved performance of getComputedStyle() and computed CSS property reads, including with stylesheets containing attribute selectors. (@​scttcper, @​asamuzaK)
  • Fixed slowdowns when focusing elements and running interaction tests, which regressed in v30.1.2. (@​scttcper)
  • Fixed XMLHttpRequest reusing credentials supplied to xhr.open() after cross-origin redirects, including in response to authentication challenges from the destination.
  • Fixed XMLHttpRequest incorrectly sending and accepting cookies after cross-origin redirects back to the document's origin when xhr.withCredentials is false.
  • Fixed exceptions from malformed CSS math functions, such as calc(0px - @submenu_space), while parsing documents, stylesheets, and style declarations. (@​rnavarro)
  • Fixed getComputedStyle() ignoring style rules nested inside multiple @media rules.
  • Fixed CSS shorthands overwriting longhands with higher priority or specificity during style computation, including declarations containing CSS variables.
  • Fixed getComputedStyle() returning unresolved or inconsistent shorthand values, including for 'background', 'border', 'flex', 'font', 'margin', and 'padding', and incorrect shorthand defaults and inheritance.
  • Fixed computed background positions to resolve font-relative lengths using the final font size and handle multiple image layers correctly.
  • Fixed computed 'color' values depending on property read order, including unresolved color-mix() results, which regressed in v29.0.2.
  • Fixed currentcolor border colors incorrectly becoming transparent when 'color' uses light-dark() or relative color syntax.
  • Fixed CSS calculations that reduce to a percentage incorrectly producing pixel values, which regressed in v30.0.0.
  • Fixed numeric font weights in the 'font' shorthand incorrectly setting 'line-height'.
  • Fixed selector matching involving XML namespaces, and selectors such as [data-a|=""] failing to match empty values and values beginning with -. (@​asamuzaK)

v30.1.2

  • Updated URLs to support Unicode v18.0.0 in internationalized domain names.
  • Reduced package size and memory use for CSS property definitions. (@​scttcper)
  • Fixed severe slowdowns when building large DOM trees, including SVG charts with D3, which regressed in v30.1.0. (@​cmdcolin)
  • Fixed exponentially slow reads of empty inherited CSS custom properties in deeply nested documents, and custom properties incorrectly inheriting past an initial reset. (@​scttcper)
  • Fixed getComputedStyle() returning stale results after editing stylesheet declarations, selectors, or media queries, including in imported stylesheets.
  • Fixed selector matching and computed styles after changes to form control checkedness, indeterminacy, selection, values, and validity, including during form resets and canceled clicks.
  • Fixed computed styles for :focus, :focus-visible, :focus-within, and selectors containing them after focus changes, including inside focus and blur listeners. (@​asamuzaK)
  • Fixed element.focus() incorrectly focusing elements hidden by 'display', including through shadow hosts and slots, and elements excluded by shadow DOM slot assignment. (@​asamuzaK)
  • Fixed getComputedStyle() throwing for elements without inline-style support, including XML and MathML elements.
  • Fixed a memory leak where stylesheet parsing retained the last parsed stylesheet's window after window.close().
  • Fixed memory growth from long-lived MutationObserver instances retaining bookkeeping for garbage-collected nodes. (@​scttcper)
  • Fixed retained select.selectedOptions collections becoming stale after selection changes and form resets.
  • Fixed rejection of negative CSS sizing values, including for 'min-width', 'min-height', 'max-width', and 'max-height', which regressed in v30.1.0.
  • Fixed handling of deeply nested color-mix() expressions, including exceptions during color resolution. (@​asamuzaK)

v30.1.1

  • Fixed spurious window blur and focusout events and incorrect event.relatedTarget values when focusing an element after removing the previously focused element, which regressed in v30.1.0. (@​asamuzaK)
  • Fixed focus and blur behavior across frames, and focusing the document's viewport through document.documentElement.focus(). (@​asamuzaK)
  • Fixed focus targets removed or disabled by blur listeners becoming active, and text selections made by focus and blur listeners being overwritten. (@​asamuzaK)
  • Fixed element.focus() incorrectly focusing disabled form controls and <input type="hidden"> elements with tabindex="". (@​scttcper)
  • Fixed invalid style.setProperty() calls changing existing !important priorities, serialized styles, or mutation records. (@​FedgeNo)
  • Fixed !important handling when updating CSS longhands after shorthands, using variables or CSS-wide keywords, and assigning style properties directly. (@​FedgeNo)
  • Fixed <noscript> parsing with includeNodeLocations: true or inside frames to honor the runScripts option.
  • Fixed the storageQuota option being ignored by frames.
  • Fixed encoding detection of HTML and XML byte input to honor XML encoding declarations and detect UTF-16 without a byte order mark.
  • Fixed exceptions caused by truncated charset parameters in <meta> elements, and encoding detection incorrectly using incomplete <meta> tags. (@​FedgeNo)
  • Fixed XML serialization errors for namespaces named constructor, toString, __proto__, or "null", and incorrect reuse of namespace prefixes declared on sibling elements.
  • Fixed element.innerHTML and element.outerHTML in XML documents to reject invalid characters in attribute values and avoid stack overflows on large strings.
  • Fixed selector matching for :lang(), :nth-child(... of ...) after mutations, and :has() with duplicate IDs or nested logical pseudo-classes. (@​asamuzaK)

v30.1.0

jsdom is feeling the AGI!

... (truncated)

Commits
  • 058c0f5 30.1.3
  • fcd1fd1 Cascade parsed longhands independently
  • a3ee786 Cascade computed style properties on demand
  • f42dc15 Resolve colors before caching or using currentcolor
  • 074b1fb Compute background-position lengths against the final font size
  • d19598c Apply style rules nested in multiple @​media rules
  • 45d626c Rule out attribute selector subjects before matching
  • 3ff0a5b Upgrade Undici and remove abort workarounds
  • 8813bb1 Ignore CSS declarations with unparseable math functions
  • 63712d8 Fix XHR credentials across redirects
  • Additional commits viewable in compare view

@github-actions

github-actions Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

⚠️ Nightly unit-suite found regressions when this PR is merged into dev (2 of 3 seeds).

Regression details (head_sha: `3dd01408eb22acf5eb16392b9dc9c152a3dcce14`)

Seed 12345

Backend unit-suite regression diff

Per-XML totals

Side Path Total Pass Fail Error Skip
base junit-base-pr3860-12345.xml 40208 40118 0 0 90
head junit-head-pr3860-12345.xml 40208 40117 1 0 90

❌ New failures introduced by HEAD (1)

Tests failing under HEAD that did not fail under BASE in any seed:

  • [F] test_ent926_runtime_turn_scope::test_an_unreachable_platform_is_no_answer

Legend: [F] = assertion failure, [E] = collection or fixture error.
Identity = (classname, name, kind); union taken across all input XMLs.


Seed 99999

Backend unit-suite regression diff

Per-XML totals

Side Path Total Pass Fail Error Skip
base junit-base-pr3860-99999.xml 40208 40114 4 0 90
head junit-head-pr3860-99999.xml 40208 40111 6 0 91

❌ New failures introduced by HEAD (2)

Tests failing under HEAD that did not fail under BASE in any seed:

  • [F] test_1424_webhook_hardening::test_per_token_limit_preserved_for_valid_token
  • [F] test_ent926_runtime_turn_scope::test_an_unreachable_platform_is_no_answer

Legend: [F] = assertion failure, [E] = collection or fixture error.
Identity = (classname, name, kind); union taken across all input XMLs.

Reproduce locally: git merge dev && ( cd tests && python -m pytest unit/ -m "not slow" -p randomly --randomly-seed=12345 )

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/src/frontend/dev/jsdom-30.1.3 branch 2 times, most recently from c0d62d1 to 0498f2d Compare November 4, 2026 04:43
vybe added a commit that referenced this pull request Nov 6, 2026
… Payments tab, organization settings form (Abilityai/trinity-enterprise#967) (#3917)

Fixes Abilityai/trinity-enterprise#967 — second of two in the ent#965 card-delegation epic (the one-component spending panel; the backend / API / MCP landed as ent#966). **Stacked on #3914** — base is `feature/ent966-nevermined-delegation-backend`; the stack merges together in order on the operator's call (retarget this PR to `dev` after #3914 merges). **Draft until the chain is in.**

## What
- **Spending panel** — `components/NeverminedSpendingPanel.vue`, mounted on the agent Payments tab (`views/AgentDetail.vue`). Reads `GET /api/nevermined/agents/{agent}/delegation` and renders every state: not configured (admin link to the organization form), unfunded (Enroll), pending (Retry bind / Discard), funded (live numbers, every one nullable, `status:"unknown"` when Nevermined is unreachable), plus a collapsed "Past mandates (N)" table from `history[]`. Every string names Nevermined as the holder of the card and the mandate (ent#932 wording; `COPY` + `ACTIONS` constants, FORBIDDEN-regex tested).
- **Enroll flow** — mints a widget session server-side (`POST …/widget-session`), then runs Nevermined's `setupCard` (one combined iframe, `@nevermined-io/ui-widgets` 1.80.0, dynamic `import()` + `optimizeDeps.include`) inline when the slot is ≥ 440 px, as the SDK's fullscreen overlay below that. The `{paymentMethodId, delegationId}` result is persisted as a pending record (memory + `sessionStorage`) before the bind `POST`, so a lost reply is recoverable with **Retry bind** (same ids, no second mandate). Bind `201` → funded from the response; `409 agent_not_running` / `409 agent_key_present` → the backend message + Retry bind; `429`/`503` → Retry bind held for `Retry-After` seconds; `422` → start again. Esc, tab-leave and unmount destroy the SDK instance; `beforeunload` is armed while the form is up.
- **Redirect fallback** — a frame that never boots (8 s) or is CSP-blocked offers "Continue on Nevermined": a fresh session is minted and the hosted page opens with a per-tab nonce as `state`; the return deep-links to the Payments tab (`AgentDetail.applyDeepLinkRouting`), the nonce must match, the three query keys are stripped, and the bind runs from the returned ids (`paymentMethodId` optional, pattern-checked when present — R-I1).
- **Revoke** — `ConfirmDialog`, then `DELETE`; the panel renders the backend's `env_note` sentence verbatim (never its own paraphrase).
- **Organization form** (admin-only) — `components/settings/NeverminedOrganizationPanel.vue` on Settings › Integrations (`views/Settings.vue`): organization id, environment (sandbox / live, change confirmed), widget secret and agent API key write-only ("paste to rotate"; a blank secret is omitted from the `PUT`); `409 delegations_active` and `422` `detail.message` surfaced.
- **Rules module** — `utils/neverminedSpending.js` (`unwrapSession` tolerant of bare / `.session` / `.data`, `unwrapSuccess`, `redirectReturn`, `newNonce` with `randomUUID` → `getRandomValues` → `Math.random` tiers, `recoveryFor`, `RETURN_MISMATCH`, `FALLBACK_CAUSES`); `apiErrorCode` in `utils/apiError.js`.
- **CSP, both copies** — `frame-src https://embed.nevermined.app` and `connect-src` + `api.sandbox.nevermined.app` + `api.live.nevermined.app` in `vite.config.js` and `security-headers.conf` (the SDK refreshes its session from the browser); `cspMirrors.spec.js` pins the two copies equal, forbids `nevermined.dev`, and pins the existing `'unsafe-*'` set per copy. `Permissions-Policy: payment=()` is kept (TD-6).
- **Docs** — `docs/user-docs/integrations/nevermined-payments.md` (panel, organization form, the hosted-page fallback's one-time session in the address bar, the `/login` bounce), feature flow `nevermined-payments.md`, `public-access.md` §23.8 FR-5, `architecture/frontend.md`; the wording guard `test_ent966_facilitator_wording.py` now scans the panel, the form and the rules module.
- **Specs** — `neverminedSpending.spec.js` (59), `neverminedSpendingPanel.mount.spec.js` (50, real memory router), `neverminedOrganizationPanel.mount.spec.js` (13), `cspMirrors.spec.js` (6).

## Rulings carried (orchestrator, on the operator's behalf — plan file)
- TD-1 the admin organization form ships **in this issue** on Settings › Integrations (the issue body's own rule: a second form on the Payments tab only if no admin settings home exists) · TD-2 `setupCard` as one combined iframe — the issue's two-step wording is superseded · TD-3 dynamic `import()` + `optimizeDeps.include` · TD-4 SDK fullscreen overlay under 440 px; redirect only for a browser-blocked frame · TD-5 render the past-mandates table from `history[]` · TD-6 keep `Permissions-Policy: payment=()` in both header copies · TD-7 tolerant `unwrapSession` in the panel, no backend delta · TD-8 defer `NeverminedPanel.vue`'s native `confirm()` to #1924 (commented there) · TD-9 accept and document the `/login` bounce on redirect return (no router stash) · TD-10 inline where the slot fits, overlay otherwise.
- Deviations from the issue text, accepted: specs under `tests/unit/`; the hard-coded Nevermined-only `connect-src` addition in both CSP copies; `onSuccess` delivers `{result, handle}`; `returnUrl` carries no query and the deep link maps the return to the Payments tab; every added text surface carries "Nevermined holds the card".
- Addenda: 409 `agent_key_present` (from ent#966 R9) handled like `agent_not_running` → Retry bind; `env_note` rendered verbatim, no "inert" paraphrase (R10); `notify` prop (`showNotification` seam, as the A2A panel); `loadSdk` prop for the rejects test; `ACTIONS` outside `COPY`; slot measured while visible; Retry-After hold covers bind retries only; Retry bind as its own button; 8 s never-booted timer offers the redirect; the CSP mirror spec forbids `nevermined.dev`, not every `.dev`.
- Fix rulings after review (`83bfedd4b23f`, each proved red first): **R-I1** `redirectReturn` follows the `unwrapSuccess` rule — a return without `paymentMethodId` binds (the backend's field is optional, Trinity records only the delegation id, and a strict refusal on the redirect path wrote no pending record, orphaning a mandate Nevermined already created) · **R-I2** dead `COPY.closeForm` removed · **R-I3** a funded read clears a stale pending record with the same delegation id (the mid-POST agent-change leftover), a different id is kept · **R-I4** no fix: the hold resetting on `teardown()` is reachable only by tab-switch/unmount and costs one extra 429/503 against the backend's own `nvm-bind` limiter · **R-I5** `newNonce` second tier is `crypto.getRandomValues`.

## Review + security
`/review` (Fable, report-only, `89d1eb6afd2f..941deca`): **MERGEABLE** — 0 CRITICAL / 0 HIGH / 7 INFO. Rider checks (a)–(m) hold: the session token goes only into `initialize` and the fresh-mint redirect URL, nothing logged or stored beyond ids + nonce; nonce + `state` + id-pattern + three-key strip on the return; no open redirect (fixed Nevermined host); CSP both copies; organization secrets write-only and never echoed; auth boundaries UX-only (the backend enforces); ent#932 wording; flow invariants; Retry-After hold; merged state against the live base `3de77a0df8ff`; `.claude` and the enterprise submodule untouched in the range. `/cso --diff`: 2 supported INFO, both accepted as the plan records — the SDK's own iframe `sandbox`/`allow` flags are not tightenable without a fork, and the session token in the top-level URL on the hosted-page fallback (TD-4: reachable only from the never-booted/CSP-blocked offer, fresh mint, `no-store`, Nevermined-side expiry; disclosed in the user doc).
Evidence sweep (Opus, merged tree): branch specs + guards 9 files / 184 passed; mutations M1–M8 red (state mismatch, CSP mirror, secret omission, redirect-return strip, Retry-After hold, SDK destroy on teardown, agent-change guard, COPY wording).
Fix-step mutations: m1 (re-add the `paymentMethodId` refusal) and m2 (drop `clearPending` in `load()`) each red on exactly the new case.
`/validate-pr` (Opus, PR worktree at `83bfedd4b23f`, judged against the stacked base `3de77a0df8ff`, not `dev`): **APPROVE** — review 5624392780, 05:44Z. `npm ci` exit 0; 109 + 19 + 28 + 11 spec passes, wording pytest 11. Mutations M1–M6 and M8 red; **M7 survives** — no case fires the SDK `onClose` during `binding` (W1, Handoffs). W2 = the `applyDeepLinkRouting` one-liner (Before merge). W3 = cross-tracker `Fixes` does not auto-promote (Before merge).

## Tests
- Targeted (fix tip, from `src/frontend`): 9 spec files / 173 passed — `neverminedSpending` 59, `neverminedSpendingPanel.mount` 50, `neverminedOrganizationPanel.mount` 13, `cspMirrors` 6, `optimizeDepsIncludeGuard` 11, `rawColorRatchet` 14, `loadingGateRatchet` 6, `sourceTextRatchet` 8, `agentDetailDeepLink` 6. `npm run build` exit 0; `check:tokens` exit 0; wording guard `test_ent966_facilitator_wording.py` 11 passed. Raw-colour scan: both new components `raw_nongray: 0`, `hardcoded_colors: 0`.
- Full frontend island (`npm run test:unit`, alone, merged tree): 399/400 files, 6367/6369 tests — `mobileAdminQueueWalk3302.spec.js` 2 × 5 s timeouts in the full run, 4/4 alone on tip and merged, imports nothing in range: load-sensitive / pre-existing; CI's run is the tiebreak.
- Not run here: the real Nevermined sandbox (Before merge); `AgentDetail.applyDeepLinkRouting`'s one-liner has no harness.

## Before merge
- **Stack:** base is `feature/ent966-nevermined-delegation-backend` (#3914, approved). A stacked PR runs a reduced check set (`backend-unit-test` does not run here) — the first full run comes when this PR retargets to `dev` after #3914 merges.
- **Lockfile:** `package-lock.json` was hand-trimmed to the two new entries (npm 10.8.2 rewrote unrelated rollup lines; the committed lockfile was already out of step with `package.json` on the base). `npm ci` exit 0 in the review and both sweep trees; the frontend CI `npm ci` is the proof.
- **Sibling PRs — conflicts this branch adds** (test-merged 05:2xZ; operator's merge-order call, siblings not commented): #3913 (ent862 AAuth) — `src/frontend/src/views/Settings.vue`, both add a Settings › Integrations panel row; #3858 and #3860 (dependabot, frontend) — `package-lock.json`, whichever lands second regenerates the lockfile. Twelve other open PRs share files with this range with no added conflict.
- **Live-only AC (operator's sandbox click-through):** inline form at ≥ 440 px and the overlay below it (375 px), bind → funded; the hosted-page fallback and its deep-link return (including the `/login` bounce, TD-9); Retry bind after a refused bind; revoke; the `AgentDetail` mount line; `Permissions-Policy: payment=()`'s effect on any wallet button inside the frame (TD-6); light and dark themes. If Nevermined wraps the widget-session body, the one-line unwrap in `mint_widget_session` goes on the ent#966 branch (D1).
- **Tier:** built OSS core per the ent#965 default; the operator's tier call and the widget-gap questions (ask `ent965-widget-gaps`) are open.
- §23.8 FR-5 "Status: 🚧 In Progress" flips to shipped at merge.
- **Cross-tracker label (validate W3):** `Fixes Abilityai/trinity-enterprise#967` does not auto-promote — set `status-in-dev` on ent#967 by hand after merge (same for ent#966 on #3914).

## Handoffs
- #1924 — `NeverminedPanel.vue` still uses the native `confirm()`; recorded there (TD-8).
- ent#889 (Settings section rows) — the panel's `can_share` / deep-link dependency is recorded in the plan §1.1; the mover re-reads it (D4).
- Not built, revisit only if the click-through hits it: a router stash for the redirect return across a `/login` bounce (D3, TD-9); a retained hold deadline across `teardown()` (R-I4).
- Follow-up test (validate W1, mutation M7): one mount case that fires the SDK `onClose` while `phase === 'binding'` — the guard in `NeverminedSpendingPanel.vue` keeps `closeForm()` from dropping the phase mid-bind (Enroll re-enabled, `beforeunload` hold removed); the `bound` half of the guard is redundant with the `mine !== flow` check. Recorded on ent#967.
- ent#966's per-agent spend key, pre-flight `bindable` hint, and the wider ent#932 wording sweep remain on that PR's handoff list.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/src/frontend/dev/jsdom-30.1.3 branch from 0498f2d to c248913 Compare November 6, 2026 09:23
Bumps [jsdom](https://github.com/jsdom/jsdom) from 29.1.1 to 30.1.3.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Commits](jsdom/jsdom@v29.1.1...v30.1.3)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-version: 30.1.3
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/src/frontend/dev/jsdom-30.1.3 branch from c248913 to 3dd0140 Compare November 7, 2026 06:34
@dependabot @github

dependabot Bot commented on behalf of github Nov 10, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #4451.

@dependabot dependabot Bot closed this Nov 10, 2026
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/src/frontend/dev/jsdom-30.1.3 branch November 10, 2026 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency frontend Frontend/UI changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants