Skip to content

fix: vulnerable dependencies in repo#10

Merged
stefanhalbritterpdg merged 1 commit intomainfrom
fix/vulnerable-dependencies
Apr 1, 2026
Merged

fix: vulnerable dependencies in repo#10
stefanhalbritterpdg merged 1 commit intomainfrom
fix/vulnerable-dependencies

Conversation

@stefanhalbritterpdg
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings April 1, 2026 06:20
@stefanhalbritterpdg stefanhalbritterpdg merged commit 3ba5f1b into main Apr 1, 2026
6 checks passed
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the repo’s JavaScript toolchain dependencies to address reported vulnerabilities, including enforcing a patched @xmldom/xmldom version via pnpm overrides.

Changes:

  • Bump key dev dependencies (Marp CLI, Vite, Vitest, Prettier, lint-staged, tsx, tar-fs) to newer versions.
  • Add pnpm overrides to force @xmldom/xmldom to >=0.9.9.
  • Refresh pnpm-lock.yaml to reflect the updated dependency graph.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 2 comments.

File Description
package.json Updates devDependency versions and adds pnpm.overrides for @xmldom/xmldom.
pnpm-lock.yaml Lockfile regeneration reflecting upgraded packages and the new override.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +19 to +23
"tar-fs": "^3.1.2",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"vite": "^8.0.0",
"vitest": "^4.1.0"
"vite": "^8.0.3",
"vitest": "^4.1.2"
Copy link

Copilot AI Apr 1, 2026

Choose a reason for hiding this comment

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

The updated toolchain (notably vite@8.0.3 and lint-staged@16.4.0 per the lockfile) now requires Node 20.17+/20.19+, but package.json doesn’t declare a Node engine. Consider adding an "engines.node" constraint (and optionally "engineStrict") so local/dev/CI environments fail fast with a clear requirement.

Copilot uses AI. Check for mistakes.
},
"pnpm": {
"overrides": {
"@xmldom/xmldom": ">=0.9.9"
Copy link

Copilot AI Apr 1, 2026

Choose a reason for hiding this comment

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

Using a broad override range (">=0.9.9") can unintentionally jump to a future breaking release when the lockfile is regenerated. For reproducible installs, prefer pinning the override to a specific safe version (or a narrower range) and letting the lockfile control the exact resolution.

Suggested change
"@xmldom/xmldom": ">=0.9.9"
"@xmldom/xmldom": "0.9.9"

Copilot uses AI. Check for mistakes.
@stefanhalbritterpdg stefanhalbritterpdg deleted the fix/vulnerable-dependencies branch April 1, 2026 06:31
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.

2 participants