Skip to content

build: update vulnerable dependencies#370

Open
sheyanjie-qq wants to merge 1 commit into
masterfrom
chore/fix-protobufjs-CVE
Open

build: update vulnerable dependencies#370
sheyanjie-qq wants to merge 1 commit into
masterfrom
chore/fix-protobufjs-CVE

Conversation

@sheyanjie-qq
Copy link
Copy Markdown
Contributor

Description

Update dependency resolutions for js-cookie, uuid, and protobufjs to versions that address Trivy-reported vulnerabilities.

Issue(s)

Checklist

Please check the items in the checklist if applicable.

  • Is the user manual updated?
  • Are the test cases passed and automated?
  • Is there no significant decrease in test coverage?

Update dependency resolutions for js-cookie, uuid, and protobufjs to versions that address Trivy-reported vulnerabilities.

Closes: [6997045617](https://project.feishu.cn/taosdata_td/job/detail/6997045617)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 22, 2026 08:52
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates several dependencies, including js-cookie, uuid, and protobufjs. Feedback highlights potential compatibility issues due to major version bumps for js-cookie (v3.0.7) and uuid (v11.1.1), which introduce breaking changes that may affect existing dependencies like react-use and @grafana/ui.

Comment thread package.json
Comment thread package.json
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 Yarn resolutions (and the generated yarn.lock) to move specific transitive dependencies to non-vulnerable versions reported by Trivy.

Changes:

  • Add/adjust Yarn resolutions to pin js-cookie to 3.0.7 and uuid to 11.1.1.
  • Bump the resolved protobufjs version from 7.5.6 to 7.5.8.
  • Refresh corresponding entries in yarn.lock.

Reviewed changes

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

File Description
package.json Adds/updates Yarn resolutions for js-cookie, uuid, and protobufjs to remediate security findings.
yarn.lock Updates lock entries to reflect the new resolved versions.

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

Comment thread package.json
Comment thread package.json
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.

3 participants