Skip to content

fix(dev-deps): update dev-deps for audit fix#426

Open
jankapunkt wants to merge 1 commit intomasterfrom
fix/update-deps
Open

fix(dev-deps): update dev-deps for audit fix#426
jankapunkt wants to merge 1 commit intomasterfrom
fix/update-deps

Conversation

@jankapunkt
Copy link
Copy Markdown
Member

Summary

This updates all dev-dependencies to resolve any occurring audit issues.

Linked issue(s)

none

Involved parts of the project

Dev-Dependencies, mostly test infrastructure

Added tests?

none

OAuth2 standard

none

Reproduction

npm install && npm audit

Copy link
Copy Markdown
Contributor

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

This PR updates JavaScript dev-dependencies (and regenerates package-lock.json) to address npm audit findings in the project’s development/test/documentation toolchain.

Changes:

  • Bump dev dependencies including mocha, sinon, and vitepress.
  • Regenerate package-lock.json to reflect updated transitive dependencies and metadata (e.g., license fields).

Reviewed changes

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

File Description
package.json Updates selected dev dependency versions (notably mocha to a beta).
package-lock.json Lockfile refresh for the new dev dependency graph (includes new Node engine constraints for updated tooling).

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

"jsdoc-to-markdown": "^9.1.3",
"mocha": "11.7.5",
"jsdoc-to-markdown": "9.1.3",
"mocha": "12.0.0-beta-9.2",
Copy link

Copilot AI Apr 14, 2026

Choose a reason for hiding this comment

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

mocha is being upgraded to a beta (12.0.0-beta-9.2). In the lockfile this version declares engines.node as ^20.19.0 || >=22.12.0, which is a much higher (and very specific) minimum than this repo’s current engines.node: >=16.0.0 and the docs that state Node >=16. Please either (a) keep Mocha on a stable release compatible with the intended Node support range, or (b) explicitly bump the project’s supported Node version(s) (engines + documentation/CI) so the constraints are consistent.

Suggested change
"mocha": "12.0.0-beta-9.2",
"mocha": "10.8.2",

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

We should update the docs, stating that the builds require at least node 16+, while tests require node 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.

2 participants