chore(deps): reduce npm audit vulnerabilities 97→84 (DEVSITE-2481) - #98
Merged
Merged
Conversation
…ITE-2481) Bump patch/minor dependency versions to cut npm audit vulnerabilities from 97 to 84 without touching @adobe/aio-cli (the source of the remaining, upstream-blocked advisories). Runtime (patch-level, same minor line): - @adobe/helix-markdown-support 7.1.0 -> 7.1.23 - @adobe/mdast-util-gridtables 4.0.1 -> 4.0.5 - @adobe/remark-gridtables 3.0.1 -> 3.0.20 Dev-only tooling (not shipped in dist bundle): - @babel/core 7.24.0 -> 7.29.7 - rollup 4.12.1 -> 4.63.0 - mocha 10.3.0 -> 10.8.2 - lint-staged 15.2.2 -> 15.5.2 - @typescript-eslint/* 7.1.1 -> 7.18.0 Build passes; test suite result unchanged from baseline (pre-existing failures unrelated to these bumps). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
melissag-ensemble
requested changes
Aug 26, 2026
Collaborator
There was a problem hiding this comment.
Minor / non-blocking: a couple of these bumps leave sibling packages mismatched, so npm can't dedupe and both copies get bundled (no external list in rollup.config.ts):
hast-util-to-htmlstays pinned at9.0.0, but@adobe/helix-markdown-support@7.1.23now requires a nested9.0.5.@adobe/mdast-util-gridtablesstays at4.0.5, but@adobe/remark-gridtables@3.0.20requires a nested4.0.19.
No behavior impact (our render path is markdown→HTML and the affected handler is unchanged), but if you want to keep the bundle lean, bumping the two top-level pins to 9.0.5 and 4.0.19 would dedupe them back to one copy each.
…ITE-2481) Bump two top-level pins to match the versions the newly-updated Adobe packages require, so npm dedupes to a single copy each (rollup has no external list, so mismatched siblings would bundle both): - hast-util-to-html 9.0.0 -> 9.0.5 (req by @adobe/helix-markdown-support@7.1.23) - @adobe/mdast-util-gridtables 4.0.5 -> 4.0.19 (req by @adobe/remark-gridtables@3.0.20) Addresses PR review feedback. Build passes; test result unchanged from baseline. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
| "hast-util-to-html": "9.0.5", | ||
| "hast-util-to-string": "3.0.0", | ||
| "hastscript": "9.0.0", | ||
| "mdast-util-to-hast": "13.1.0", |
Collaborator
There was a problem hiding this comment.
The @adobe/* bumps pull mdast-util-to-hast@13.2.1 transitively while the root still pins 13.1.0 — three copies remain in the tree. Bumping the root pin to 13.2.1 would fully realize the dedup.
LGTM otherwise
Bump root pin mdast-util-to-hast 13.1.0 -> 13.2.1 to match the version the updated @adobe/* packages pull transitively, collapsing three copies in the tree to one. Addresses PR review feedback. Build passes; test result unchanged from baseline. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
melissag-ensemble
approved these changes
Aug 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bumps low-risk dependency versions to reduce
npm installaudit vulnerabilities from 97 → 84, without touching@adobe/aio-cli(which is required by the release pipeline and is the source of the remaining, upstream-blocked advisories).Part of DEVSITE-2481, which flagged 102 security vulnerabilities + deprecated package warnings during the private deploy's
npm install.Changes
Runtime deps (patch-level, same minor line — shipped in
distbundle):@adobe/helix-markdown-support@adobe/mdast-util-gridtables@adobe/remark-gridtablesDev-only tooling (not shipped):
@babel/corerollupmochalint-staged@typescript-eslint/eslint-plugin+parserVerification
npm run build— passesnpm test(Node 24 / lts-krypton) — result unchanged from baseline (8 pre-existing failures present onmaintoo, unrelated to these bumps)@adobe/aio-cli— not modified (no downgrade)Known floor / follow-up
The remaining 84 vulnerabilities are almost entirely bundled inside
@adobe/aio-cli@11.1.0(sigstore/pacote/libnpm/tar/undici).npm audit fixreports these as unfixable and--forceonly offers a breaking downgrade to aio-cli 7.0.0. Clearing them requires an upstream Adobe aio-cli update, or restructuring how aio-cli is installed — tracked separately.🤖 Generated with Claude Code