fix(deps): patch utility parser advisories#364
Conversation
|
CI monitoring reached terminal state for head |
| version: 19.2.4(react@19.2.4) | ||
| react-markdown: | ||
| specifier: ^10.1.0 | ||
| version: 10.1.0(@types/react@19.2.13)(react@19.2.4) |
There was a problem hiding this comment.
Blocking: this lockfile hunk bumps shadcn from 3.5.1-canary.0 to 4.2.0-canary.0, which pulls in a separate toolchain/transitive dependency graph. Issue #362 is scoped to the residual lodash/flatted utility/parser advisories and explicitly excludes broader tooling/PostCSS/#359 work unless unavoidable coupling is proved and documented. Please preserve the existing shadcn resolution while applying the overrides, or update the PR scope/body with evidence that this bump is inseparable from the lodash/flatted remediation.
Review — 1 finding (1 blocking, 0 warn)BLOCKING
VERIFIED CLEAN
VALIDATION
Formal |
|
Updated the lockfile remediation to stay scoped to lodash/flatted only. Validation run locally:
Diff check:
CI note at time of update: GitHub analysis/code scanning checks are passing; Quality Gates was still pending; Vercel ui.vllnt.ai preview is marked failed because it was canceled from the Vercel dashboard. |
bntvllnt
left a comment
There was a problem hiding this comment.
Review — clean/manual-ready (approval reserved for bntvllnt)
Current head SHA: 42c8af3760fe7dfd61acc82526ef6793d243f280
Verdict: COMMENT — no blocking code/dependency findings found; final approval is reserved for bntvllnt.
BLOCKING
- None.
WARN / GAPS
- The
Vercel – ui.vllnt.aicheck is still reported as failing in GitHub checks while the code gates are green. I did not treat it as a dependency-diff blocker because the scoped local gates and GitHub Quality Gates pass, but do not ignore it if branch protection requires that deployment check.
VERIFIED CLEAN
- Scope is now limited to
package.jsonandpnpm-lock.yaml; noapps/registry/registry.jsonor broader generated-file churn remains. - The previous shadcn/transitive-graph blocker is resolved:
shadcnremains3.5.1-canary.0; no4.2.0-canary.0lockfile drift remains. - Root
pnpm.overridesadd onlylodash >=4.18.1andflatted >=3.4.2; the lockfile resolveslodash@4.18.1andflatted@3.4.2, with the oldlodash@4.17.23/flatted@3.3.3entries gone. - PR metadata still links
Closes #362, and the body’s test-plan claims match the final head I reviewed.
VALIDATION
- Ran
pnpm install --frozen-lockfile— pass. - Ran scoped audit parse from
pnpm audit --json --audit-level moderate—utility_advisory_hits: []forlodash/flatted; remaining 55 advisories are unrelated to this scoped PR. - Ran
pnpm -F @vllnt/ui lint— pass. - Ran
pnpm -F @vllnt/ui exec tsc --noEmit --project tsconfig.build.json— pass. - Ran
pnpm build— pass. - Ran
pnpm test:once— pass, 216/216 files and 1215/1215 tests. - Reviewed files:
package.json,pnpm-lock.yaml. - Viewed-state tracking: marked both changed files viewed.
safe_for_next_step: true for bntvllnt manual approval/review handoff, subject to the Vercel app check caveat above.
|
Status-gate classification for current head 42c8af3:
Recommendation: safe for bntvllnt manual next step if he accepts the known external preview-status caveat. Approval/merge remains manual. |
bntvllnt
left a comment
There was a problem hiding this comment.
@bntvllnt APPROVE — dependency/security review clean for the scoped utility-parser remediation.
Evidence checked at head 42c8af3760fe7dfd61acc82526ef6793d243f280:
- Diff is limited to
package.jsonandpnpm-lock.yaml; it adds only the scopedlodash >=4.18.1andflatted >=3.4.2override floor plus lockfile resolution updates. pnpm install --frozen-lockfile --ignore-scriptspassed.pnpm audit --jsonstill exits 1 for unrelated advisories, but scoped targets are absent:lodash: 0,flatted: 0.- PR body links
Closes #362and documents remaining advisories as out of scope. - GitHub checks are green for Quality Gates, CodeQL, health scan, issue-link, JS/TS analysis, actions analysis, preview comments, and Storybook;
Vercel – ui.vllnt.airemains failed/canceled externally and needs human/Vercel handling before merge if the repo treats that preview as required.
No blocking source/dependency findings from this review.
bntvllnt
left a comment
There was a problem hiding this comment.
@bntvllnt APPROVE recommended — manual approval reserved for bntvllnt.
Review — clean/manual-ready
Current head SHA: 6da4c5ba918ff3d088f409a59d727b304bdf7f22
Verdict: 0 blocking findings, 0 warnings. I am submitting this as a COMMENT review, not an approval.
Coverage
- Reviewed every changed file:
package.json,pnpm-lock.yaml. - Scope matches issue #362: the diff is limited to dependency override metadata and the regenerated lockfile for
lodashandflatted. - PR body is current with the reviewed diff and links
Closes #362.
Dependency/security review
package.jsonadds only the scoped root pnpm overrides:lodash >=4.18.1andflatted >=3.4.2.pnpm-lock.yamlresolves the old vulnerable entries forward tolodash@4.18.1andflatted@3.4.2; no oldlodash@4.17.23orflatted@3.3.3entries remain in the lockfile.- No generated app/component artifacts, component code, build config, release config, or unrelated runtime dependency changes are included.
Validation evidence
- Live PR state re-fetched immediately before publication: OPEN, non-draft,
mergeable=MERGEABLE,mergeStateStatus=CLEAN, head matches6da4c5ba918ff3d088f409a59d727b304bdf7f22. - GitHub checks at this head are acceptable: CI Quality Gates, build/sign/scan/deploy, CodeQL, react-doctor, PR Issue Link, and preview deploy are SUCCESS; one superseded legacy preview is NEUTRAL.
- Local
pnpm install --frozen-lockfilecompleted successfully on this head. - Local
git diff --check origin/main...HEAD -- package.json pnpm-lock.yamlpassed. - Local scoped audit parse confirmed
lodashandflattedare absent from currentpnpm audit --json --audit-level moderateadvisories. The audit command still exits non-zero for unrelated remaining advisories documented out of scope by the PR body. - Visual tests were not rerun because this is a dependency/lockfile-only remediation with no UI/component output changes.
Manual approval remains the next action.
|
Preview ready · pr-364-ui-registry
Inspect
|
Summary
pnpm.overridesfloors forlodash >=4.18.1andflatted >=3.4.2to remediate the residual utility/parser advisories from chore: remediate residual utility parser advisories from superseded #359 #362.pnpm-lock.yamlonly; final diff is limited topackage.jsonandpnpm-lock.yaml.Closes #362
Type of change
feat— new component or APIfix— bug fixdocs— documentation onlychore— tooling / CI / depsrefactor— no behavior changeScreenshots / Visuals
No UI changes; dependency lockfile-only remediation.
Test plan
pnpm install --lockfile-onlypnpm install --frozen-lockfilelodash/flattedadvisories are absent frompnpm audit --json --audit-level moderateoutput (utilityAdvisories: []; remaining 55 advisories are unrelated/out-of-scope)pnpm -F @vllnt/ui lintpnpm -F @vllnt/ui exec tsc --noEmit --project tsconfig.build.jsonpnpm build(passes; existing Turbopack NFT-list warning observed)pnpm test:once(216 files / 1215 tests passed)pnpm -F @vllnt/ui test:visual(not run; no UI/component output changed)flatted@3.4.2andlodash@4.18.1; generatedapps/registry/registry.jsontimestamp from build was reverted so the PR only contains dependency files.Breaking changes
None.
Checklist
packages/ui/src/index.ts. (N/A, no exports changed.)[Unreleased]for user-facing changes. (N/A, no user-facing API/component change.)any,as,@ts-ignore, oreslint-disableadded.