Skip to content

chore: resolve high-severity frontend dependency alerts - #893

Merged
Klaas-Ritense merged 7 commits into
next-minorfrom
chore/566-frontend-high-severity-deps
Aug 18, 2026
Merged

chore: resolve high-severity frontend dependency alerts#893
Klaas-Ritense merged 7 commits into
next-minorfrom
chore/566-frontend-high-severity-deps

Conversation

@Klaas-Ritense

Copy link
Copy Markdown
Member

https://github.com/generiekzaakafhandelcomponent/atlas-internal/issues/566

Resolves the high-severity Dependabot alerts on frontend/package-lock.json that can be fixed without a
major upgrade. js-yaml (4.3.1), fast-uri (3.1.5), ip-address (10.5.0), postcss (8.5.26) and
brace-expansion (2.1.4 / 5.0.9) now resolve to patched versions — via overrides where a parent package
pinned them. Nine high alerts drop to eight. No functional change.

postcss needed an override because @angular-devkit/build-angular pins it to 8.5.12 exactly. Only
minimatch@9 pulls the vulnerable brace-expansion 2.x line, so that override is version-scoped to leave
the 1.x and 5.x copies untouched.

Scope

The ticket title says HIGH, so this covers high severity in the frontend lockfile only. The screenshot is
cropped mid-row, so I worked from the live alert list rather than the three visible entries — that turned
out to be nine highs, not three. npm audit also surfaced a js-yaml advisory newer than the screenshot
(<4.3.1), hence 4.3.1 rather than the 4.3.0 Dependabot currently suggests.

Deliberately left out

  • immutable 3.8.3 under swagger-ui (2 high). Fixed upstream in swagger-ui@5.32.11, which requires
    swagger-client >=3.37.7, which declares engines.node: ">=22". This repo is Node 20 (engines,
    engine-strict=true in .npmrc, CI NODE_VERSION: "20.x"), so the install hard-fails. I did not force
    immutable 4 into swagger-ui@5.21.0 via an override — upstream needed a source migration to make that
    jump, so pinning it would likely break the Swagger page at runtime. Raising the platform's Node baseline
    to 22 is a decision that warrants its own ticket.
  • @angular/*, @angular-devkit/build-angular, image-size, less (5 high). Only fix is Angular
    19 → 21. Already tracked against the next major Angular upgrade in the 13.39.0 release notes.

Verification

  • npm ci --dry-run — lockfile and manifest in sync.
  • npm run libs-build-all — all libraries built, exit 0.
  • Not verified: the Swagger UI page in a browser. The production app build needs the
    @valtimo-plugins/* packages that CI injects and that are not declared in package.json, and the page
    needs a running backend. The js-yaml move is within major 4, and upstream swagger-ui itself pins
    =4.3.0 from 5.32.10, so the risk is low but untested.

Update js-yaml, fast-uri, ip-address, postcss and brace-expansion to patched
versions, using overrides where a parent package pinned them.
@coderabbitai

coderabbitai Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Warning

Review limit reached

@Klaas-Ritense, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 109 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: bd259c89-847f-4317-9647-39c0ccce73fb

📥 Commits

Reviewing files that changed from the base of the PR and between 9608a0f and 8edb0b9.

📒 Files selected for processing (1)
  • documentation/release-notes/13.x.x/13.42.0/README.md
📝 Walkthrough

Summary by CodeRabbit

  • Security

    • Addressed high-severity front-end security alerts by updating affected packages.
    • Documented remaining Swagger UI and Angular alerts that require major platform upgrades.
  • Documentation

    • Added security update details to the 13.42.0 release notes.

Walkthrough

The frontend dependency configuration adds overrides for js-yaml, postcss, and brace-expansion. The 13.42.0 release notes document the dependency updates and remaining alerts that require Node 22 or a future major Angular version.

🚥 Pre-merge checks | ✅ 2
✅ Passed checks (2 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/566-frontend-high-severity-deps

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Klaas-Ritense Klaas-Ritense added the test env Create a remote test environment for this PR in the Ritense product development cluster label Aug 11, 2026
@Klaas-Ritense
Klaas-Ritense marked this pull request as ready for review August 11, 2026 11:37
@Klaas-Ritense
Klaas-Ritense requested review from a team as code owners August 11, 2026 11:37

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2


ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 93586fdf-dfa9-4896-8c01-af7782e78398

📥 Commits

Reviewing files that changed from the base of the PR and between aa1fa31 and 12309e8.

⛔ Files ignored due to path filters (1)
  • frontend/package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (2)
  • documentation/release-notes/13.x.x/13.41.0/README.md
  • frontend/package.json

Comment thread documentation/release-notes/13.x.x/13.41.0/README.md Outdated
Comment thread frontend/package.json
…end-high-severity-deps

Nightly maintenance run.

One conflict, in documentation/release-notes/13.x.x/13.41.0/README.md: both sides
appended to the same release note. Kept both — next-minor's "Exporting case
definitions" bugfix at the end of the Bugfixes list, then this branch's new
Security section after it.
Nightly maintenance run.

- documentation/release-notes/13.x.x/13.41.0/README.md:80 — applied the reviewer's
  committable suggestion verbatim: "Addressed several reported high-severity front-end
  security alerts" rather than "the reported", and named the Swagger UI `immutable`
  alert explicitly, so the note does not read as though every alert was fixed.
@sofiaIvarsRitense sofiaIvarsRitense self-assigned this Aug 12, 2026
Nightly maintenance run.

- Moved the front-end security alerts note from 13.41.0 to 13.42.0, which is
  the current release-notes folder on next-minor.
…end-high-severity-deps

# Conflicts:
#	documentation/release-notes/13.x.x/13.42.0/README.md

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
documentation/release-notes/13.x.x/13.42.0/README.md (1)

9-11: 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Remove the template placeholders before publishing.

If this is the final 13.42.0 release note, replace or remove New feature title, New feature explanation, New enhancement title, New enhancement explanation, and New bugfix.

Also applies to: 15-17, 21-21


ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 90f48390-d904-4469-b9f0-f7795ce4bf51

📥 Commits

Reviewing files that changed from the base of the PR and between 12309e8 and 9608a0f.

📒 Files selected for processing (1)
  • documentation/release-notes/13.x.x/13.42.0/README.md

@Klaas-Ritense
Klaas-Ritense merged commit 494ad0d into next-minor Aug 18, 2026
17 of 18 checks passed
@Klaas-Ritense
Klaas-Ritense deleted the chore/566-frontend-high-severity-deps branch August 18, 2026 09:13
@github-actions github-actions Bot deleted a comment from valtimo-platform Bot Aug 18, 2026
TSKraak pushed a commit to TSKraak/valtimo that referenced this pull request Aug 19, 2026
…form#893)

* chore: resolve high-severity frontend dependency alerts

Update js-yaml, fast-uri, ip-address, postcss and brace-expansion to patched
versions, using overrides where a parent package pinned them.

* chore: apply review feedback

Nightly maintenance run.

- documentation/release-notes/13.x.x/13.41.0/README.md:80 — applied the reviewer's
  committable suggestion verbatim: "Addressed several reported high-severity front-end
  security alerts" rather than "the reported", and named the Swagger UI `immutable`
  alert explicitly, so the note does not read as though every alert was fixed.

* docs: move release note to 13.42.0

Nightly maintenance run.

- Moved the front-end security alerts note from 13.41.0 to 13.42.0, which is
  the current release-notes folder on next-minor.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test env Create a remote test environment for this PR in the Ritense product development cluster tested

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants