update pnpm to 10.28.2 to address security issues (#9992)

Updates pnpm to 10.28.2. to address security issues in prior versions of
pnpm that can allow deps to execute lifecycle scripts against policy.

I have read the CLA Document and I hereby sign the CLA
This commit is contained in:
mjr-openai
2026-01-27 12:19:43 -05:00
committed by GitHub
parent ddc704d4c6
commit dd24ac6b26
3 changed files with 8 additions and 4 deletions

View File

@@ -15,7 +15,7 @@ This project has been migrated from npm to pnpm to improve dependency management
```bash
# Global installation of pnpm
npm install -g pnpm@10.8.1
npm install -g pnpm@10.28.2
# Or with corepack (available with Node.js 22+)
corepack enable
@@ -59,12 +59,12 @@ codex/
## CI/CD
CI/CD workflows have been updated to use pnpm instead of npm. Make sure your CI environments use pnpm 10.8.1 or higher.
CI/CD workflows have been updated to use pnpm instead of npm. Make sure your CI environments use pnpm 10.28.2 or higher.
## Known issues
If you encounter issues with pnpm, try the following solutions:
1. Remove the `node_modules` folder and `pnpm-lock.yaml` file, then run `pnpm install`
2. Make sure you're using pnpm 10.8.1 or higher
2. Make sure you're using pnpm 10.28.2 or higher
3. Verify that Node.js 22 or higher is installed

View File

@@ -21,5 +21,5 @@
"node": ">=22",
"pnpm": ">=9.0.0"
},
"packageManager": "pnpm@10.8.1"
"packageManager": "pnpm@10.28.2+sha512.41872f037ad22f7348e3b1debbaf7e867cfd448f2726d9cf74c08f19507c31d2c8e7a11525b983febc2df640b5438dee6023ebb1f84ed43cc2d654d2bc326264"
}

View File

@@ -5,3 +5,7 @@ packages:
ignoredBuiltDependencies:
- esbuild
minimumReleaseAge: 10080
blockExoticSubdeps: true