Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Update cross-spawn transitive dependency across the repo #23415

Merged
merged 10 commits into from
Jan 3, 2025

Conversation

alexvy86
Copy link
Contributor

@alexvy86 alexvy86 commented Dec 31, 2024

Description

Updates the cross-spawn dependency across the repo (including a test pnpm workspace inside build-tools) to address https://nvd.nist.gov/vuln/detail/CVE-2024-21538.

In a few packages, some other transitive dependencies got updated even when targeting just cross-spawn, but the changes seem ok.

Reviewer Guidance

The review process is outlined on this wiki page.

Note: there are still a few instances of cross-spawn in major versions other than 7 due to dependencies that can't be addressed quickly + easily.

@Copilot Copilot bot review requested due to automatic review settings December 31, 2024 18:31
@github-actions github-actions bot added area: build Build related issues area: server Server related issues (routerlicious) base: main PRs targeted against main branch labels Dec 31, 2024

Choose a reason for hiding this comment

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

Copilot reviewed 5 out of 14 changed files in this pull request and generated no comments.

Files not reviewed (9)
  • build-tools/packages/build-infrastructure/src/test/data/testRepo/package.json: Language not supported
  • build-tools/pnpm-lock.yaml: Evaluated as low risk
  • common/build/eslint-config-fluid/pnpm-lock.yaml: Evaluated as low risk
  • tools/test-tools/pnpm-lock.yaml: Evaluated as low risk
  • tools/getkeys/pnpm-lock.yaml: Evaluated as low risk
  • build-tools/packages/build-infrastructure/src/test/data/testRepo/pnpm-lock.yaml: Evaluated as low risk
  • common/build/eslint-plugin-fluid/pnpm-lock.yaml: Evaluated as low risk
  • server/historian/pnpm-lock.yaml: Evaluated as low risk
  • server/gitrest/pnpm-lock.yaml: Evaluated as low risk
@@ -15,6 +15,6 @@
"@fluid-tools/build-infrastructure": "link:../../../../../build-infrastructure"
},
"devDependencies": {
"@changesets/cli": "^2.27.9"
"@changesets/cli": "^2.27.11"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Test pnpm workspace for some build-tools tests. cross-spawn is a transitive dependency through this.

@alexvy86 alexvy86 requested a review from a team December 31, 2024 19:05
@alexvy86 alexvy86 merged commit 2c6181f into microsoft:main Jan 3, 2025
55 checks passed
@alexvy86 alexvy86 deleted the update-cross-spawn branch January 3, 2025 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: build Build related issues area: server Server related issues (routerlicious) base: main PRs targeted against main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants