Skip to content

Bump markdown-it, fast-uri, and deepmerge to close Dependabot alerts #90–#96 - #154

Merged
VatsalSy merged 4 commits into
mainfrom
rayleigh-cloud/dependabot-markdown-it-cd4f
Nov 2, 2026
Merged

VatsalSy merged 4 commits into
mainfrom
rayleigh-cloud/dependabot-markdown-it-cd4f

Conversation

@VatsalSy

@VatsalSy VatsalSy commented Oct 26, 2026 •

Copy link
Copy Markdown
Member

Description

GitHub Dependabot alerts on npm devDependencies (lint / test tooling only; not shipped in site runtime):

Alert Severity Package Remediation
#90 high markdown-it override ~14.3.3
#91 low markdown-it (same)
#92 low fast-uri override ^3.1.9
#93 medium fast-uri (same)
#94 low fast-uri (same)
#95 medium fast-uri (same)
#96 low deepmerge override 4.1.2

markdown-it is transitive via markdownlint-cli2@0.23.2 (pins 14.3.0). Parent upgrade to 0.24.0 would jump to markdown-it 15.x (major), so this keeps the existing overrides approach.

fast-uri enters via stylelint → table → ajv. The 3.x advisories are patched in 3.1.9; floor raised from ^3.1.7 → ^3.1.9 (no 4.x major).

deepmerge enters via jest → jest-config. GHSA-gcqx-w48m-w2h4 covers >=4.2.0, <=4.3.1 with no patched 4.x release on npm. Pin to 4.1.2 (latest outside the vulnerable range / Snyk “latest non vulnerable”).

Type of Change

  • Other (please describe): Security dependency bumps (devDependency / lint+test tooling only)

Changes Made

  • Keep overrides.markdown-it at ~14.3.3 (lockfile already on 14.3.3)
  • Raise overrides.fast-uri from ^3.1.7 → ^3.1.9; lockfile → 3.1.9
  • Add overrides.deepmerge: 4.1.2; lockfile → 4.1.2 under jest-config
  • Merged latest main into the branch so CI runs against current site content
  • No unrelated major upgrades

Testing Done

  • npm ls markdown-it fast-uri deepmerge → overridden at 14.3.3 / 3.1.9 / 4.1.2
  • npm audit → no findings for markdown-it, fast-uri, or deepmerge
  • npm test (28 suites / 215 tests passed)
  • ./scripts/build.sh --skip-deps (Jekyll build succeeded)

Related Issues

Closes Dependabot alerts #90–#96.

Checklist

  • Code follows the project's style guidelines
  • Changes have been tested locally
  • This PR is single-purpose and does not mix dependency/security updates with unrelated formatting or content cleanups
  • All review threads are resolved or have an explicit won't-fix / follow-up disposition before merge

Additional Notes

Dev-dependency only — site runtime / production pages do not ship these packages. Alerts should auto-close once Dependabot sees the remediated versions on main.

Open in Web Open in Cursor 

Summary by CodeRabbit

  • Chores
    • Updated the support used to render Markdown content. No changes to available Markdown features or user-facing controls are noted. Other updates have no specified end-user impact.

markdown-it enters via markdownlint-cli2 (pinned 14.3.0). Raise the
existing npm overrides floor from ~14.3.1 to ~14.3.3 and refresh the
lockfile entry so the resolved package is 14.3.3. Dev-dependency only.
Copilot AI balanced review requested due to automatic review settings October 26, 2026 10:56

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@coderabbitai

coderabbitai Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters: 1
  • package-lock.json is excluded by !**/package-lock.json

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: 1b6d8bc2-62f6-4901-91d0-e2bab3f0dd96

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: b1ff0346-8fd1-4b5d-ab4d-298d7467383d
Commits

Reviewing files that changed from the base of the PR and between 36f387d and f10dbf1.

Files ignored due to path filters: 1
  • package-lock.json is excluded by !**/package-lock.json
Files selected for processing: 1
  • package.json

Included review availability: This review used your included allowance. 4 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 5 reviews per hour.

Recent review details
Context from checks skipped due to timeout: 2
  • GitHub Check: CodeRabbit
  • GitHub Check: copilot-pull-request-reviewer
Additional comments: 1
package.json: 1

45-46: LGTM!

Also applies to: 49-49

Walkthrough

package.json adds a deepmerge override pinned to 4.1.2 and updates the override ranges for fast-uri and markdown-it. The form-data and js-yaml overrides remain unchanged.

Changes: Dependency override

Layer / File(s) Summary
Update dependency overrides
package.json
The overrides add deepmerge at 4.1.2, update fast-uri from ^3.1.7 to ^3.1.9, and update markdown-it from ~14.3.1 to ~14.3.3.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Suggested reviewers: cursoragent

Merge Risk: Minimal · previous review f10db

The dependency override updates are mergeable with normal checks.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly identifies the three dependency updates and their purpose. It matches the changes described in the pull request.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
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.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

Finishing Touches
Simplify code
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@comphy-bot

comphy-bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Member

comphy-bot review status for comphy-lab/comphy-lab.github.io#154 at 36f387d6: completed

Review completed for this exact pull request head.

@comphy-bot
comphy-bot self-requested a review October 26, 2026 10:59

@comphy-bot comphy-bot left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Review: markdown-it security dependency bump

Reviewed 36f387d6a8133bdd48b9a892f1e97967110dc0db: +4/-4 across the manifest and lockfile.

Findings

No P0/P1 or other actionable findings in the changed lines. The override raises the minimum patch version to ~14.3.3 without permitting a 15.x upgrade, and the lockfile version and registry URL consistently select 14.3.3. The lockfile diff changes only that dependency’s version, tarball URL and integrity; other package metadata is preserved.

Verification

  • Exact-head build, markdown-quality and dependency/security PR-hygiene checks passed in the captured check rollup; deployment was skipped and CodeRabbit was pending.
  • Central patch checks passed for conflict markers and added trailing whitespace.
  • Inspected the manifest, lockfile delta and available peer review evidence. No PR code or package scripts were executed, and registry integrity/advisory closure was not independently reverified.

This approval covers the scoped dependency change, not confirmation that GitHub has already closed the alerts.

cursoragent and others added 2 commits November 2, 2026 10:44
Bring the markdown-it override branch current before adding
fast-uri and deepmerge alert remediations.
Co-authored-by: Vatsal Sanjay | CoMPhy Lab <vatsal.sanjay@comphy-lab.org>
Raise fast-uri override floor to ^3.1.9 (patched 3.x line) and pin
deepmerge to 4.1.2 via overrides — GHSA-gcqx-w48m-w2h4 has no patched
4.x release, and 4.1.2 is the latest version outside the vulnerable
range. Refresh lockfile entries only; keep markdown-it ~14.3.3.
Copilot AI balanced review requested due to automatic review settings November 2, 2026 10:51
@comphy-bot

comphy-bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

comphy-bot review status for comphy-lab/comphy-lab.github.io#154 at f10dbf1d: synthesis

Lane review is complete; findings are being verified and synthesised.

@cursor cursor Bot changed the title Bump markdown-it to 14.3.3 to close Dependabot alerts #90 and #91 Bump markdown-it, fast-uri, and deepmerge to close Dependabot alerts #90–#96 Nov 2, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

Unrelated manifest and lockfile edits upgrade fast-uri, downgrade Jest’s deepmerge below its declared requirement, and remove Linux libc metadata.

1 open issue

Review effort: Balanced

Comment thread package.json Resolved
npm package-lock refresh dropped libc fields on the
@unrs/resolver-binding-linux-* optional packages. Put them back so the
security override bump does not churn platform metadata.
Copilot AI balanced review requested due to automatic review settings November 2, 2026 10:56

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues remain for the development-tool dependency updates.

No open issues 🎉

Review effort: Balanced

@comphy-bot

comphy-bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

comphy-bot review status for comphy-lab/comphy-lab.github.io#154 at e4f58826: completed

Review completed for this exact pull request head.

@comphy-bot
comphy-bot self-requested a review November 2, 2026 11:07

@comphy-bot comphy-bot left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Review: dependency security refresh

Reviewed head e4f58826f05480d894f2087caff8ba2343909e2b against base eb72497d881d82efd262947df91b092f08e2a473: +19/-18 across package.json and package-lock.json.

Findings

No actionable findings in the scoped changes. The manifest and lockfile consistently select markdown-it 14.3.3, fast-uri 3.1.9 and the intentional deepmerge 4.1.2 override. The latter is nested under jest-config in the regenerated lockfile. The current diff does not remove Linux libc selectors.

I rechecked the earlier Copilot concern against this head: the expanded PR scope explicitly includes all three dependencies, the deepmerge override is deliberate rather than an accidental range resolution, and the platform-metadata removal is absent. No remaining defect was established from that thread.

Verification

  • All required review units are complete; parent synthesis checked the manifest/lockfile interaction and refreshed peer findings and checks.
  • Exact-head build, markdown-quality and dependency/security hygiene checks passed. Deployment and CodeRabbit were skipped.
  • Central conflict-marker and whitespace checks passed.
  • The PR reports 28 test suites / 215 tests passing. I did not independently rerun tests, execute package scripts, verify registry tarball integrity, or confirm Dependabot alert closure. This approval covers the reviewed dependency changes, not confirmation that alerts have closed on the default branch.

@VatsalSy
VatsalSy merged commit 0646d38 into main Nov 2, 2026
6 checks passed
@VatsalSy
VatsalSy deleted the rayleigh-cloud/dependabot-markdown-it-cd4f branch November 2, 2026 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants