From e1be0f264669f794a351efa40b978401445a51ca Mon Sep 17 00:00:00 2001 From: "supabase-vercel-tedd[bot]" <336548405+supabase-vercel-tedd[bot]@users.noreply.github.com> Date: Thu, 3 Dec 2026 11:40:00 +0200 Subject: [PATCH] chore(deps): bump cross-spawn to 7.1.2 (#54481) ## Problem `pnpm audit` reports a critical advisory for `cross-spawn` (command injection on Windows when spawning batch files). Versions `>=7.0.0 <7.1.0` are affected, and the lockfile resolved 7.0.6. ## Solution Bumps the transitive `cross-spawn` 7.x resolution from 7.0.6 to 7.1.2 with `scripts/fix-audit-vulnerability.ts`. The script resolved the fix without a permanent override, so only `pnpm-lock.yaml` changes. The 6.x copy already resolves to 6.0.10, which is patched (`>=6.0.7`). ## How to verify 1. Run `pnpm install --frozen-lockfile`. It succeeds. 2. Run `pnpm audit`. It reports no `cross-spawn` advisory. 3. Run `pnpm why cross-spawn --recursive`. Only `cross-spawn@6.0.10` and `cross-spawn@7.1.2` are installed. ## Checks Ran `pnpm tsx scripts/fix-audit-vulnerability.ts cross-spawn --json` (status `fixed`), `pnpm audit`, `pnpm why cross-spawn --recursive`, and `pnpm install --frozen-lockfile`. No source files changed, so no typecheck, lint, or unit tests apply. ## Checklist - [x] I have read the [Contributing Guidelines](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) - [ ] I have checked that the change works in the preview deployment ## Feedback for Tedd To ask Tedd for a change to this PR, reply in Tedd's session on [FE-5295](https://linear.app/supabase/issue/FE-5295/bump-a-single-vulnerable-dependency). Tedd doesn't read comments on this PR. Co-authored-by: supabase-vercel-tedd[bot] <336548405+supabase-vercel-tedd[bot]@users.noreply.github.com> --- pnpm-lock.yaml | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index aec723529bf..0022b4ac987 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -11978,12 +11978,12 @@ packages: resolution: {integrity: sha512-Pcw1JTvZLSJH83iiGWt6fRcT+BjZlCDRVwYLbUcHzv/CRpB7r0MlSrGbIyQvVSNyGnbt7G4AXuyCiDR3POvZ1A==} engines: {node: '>=16.0.0'} - cross-spawn@6.0.6: - resolution: {integrity: sha512-VqCUuhcd1iB+dsv8gxPttb5iZh/D0iubSP21g36KXdEuf6I5JiioesUVjpCdHV9MZRUfVFlvwtIUyPfxo5trtw==} + cross-spawn@6.0.10: + resolution: {integrity: sha512-mnRI2snHxN8nPvnqtsrVOngbIkcUnyary9aVcA7+tlvMDPRMo0Uo5zqrQl6AvuIdzlbiXGyOTvQ+meGTYaTi4A==} engines: {node: '>=4.8'} - cross-spawn@7.0.6: - resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==} + cross-spawn@7.1.2: + resolution: {integrity: sha512-8BPK2r+sKWC8sDinRwLwrFMq2lXTBBwzYYEB9LiCznfMurOi4FOvQflq3XOLGG+HPdMSVpe+k/s96+AtDEOgPg==} engines: {node: '>= 8'} crossws@0.3.5: @@ -16955,6 +16955,7 @@ packages: react-simple-maps@4.0.0-beta.6: resolution: {integrity: sha512-PVKah7p9AgmAesKTijIzUHP1iSq7FTpuY5g8DixKZWkIEvNLjL/gjPok9iqhIS6gmw6aziQxNSQ/C6umZwMePg==} + deprecated: Unreleased v4 prerelease. Please upgrade to react-simple-maps@5. peerDependencies: prop-types: ^15.7.2 react: ^16.8.0 || 17.x || 18.x @@ -22887,7 +22888,7 @@ snapshots: ajv-formats: 3.0.1 content-type: 1.0.5 cors: 2.8.5 - cross-spawn: 7.0.6 + cross-spawn: 7.1.2 eventsource: 3.0.7 eventsource-parser: 3.0.8 express: 5.2.1(supports-color@8.1.1) @@ -29536,7 +29537,7 @@ snapshots: dependencies: tslib: 2.8.1 - cross-spawn@6.0.6: + cross-spawn@6.0.10: dependencies: nice-try: 1.0.5 path-key: 2.0.1 @@ -29544,7 +29545,7 @@ snapshots: shebang-command: 1.2.0 which: 1.3.1 - cross-spawn@7.0.6: + cross-spawn@7.1.2: dependencies: path-key: 3.1.1 shebang-command: 2.0.0 @@ -30669,7 +30670,7 @@ snapshots: '@types/json-schema': 7.0.15 ajv: 6.14.0 chalk: 4.1.2 - cross-spawn: 7.0.6 + cross-spawn: 7.1.2 debug: 4.4.3(supports-color@8.1.1) escape-string-regexp: 4.0.0 eslint-scope: 8.4.0 @@ -30792,7 +30793,7 @@ snapshots: execa@1.0.0: dependencies: - cross-spawn: 6.0.6 + cross-spawn: 6.0.10 get-stream: 4.1.0 is-stream: 1.1.0 npm-run-path: 2.0.2 @@ -30802,7 +30803,7 @@ snapshots: execa@5.1.1: dependencies: - cross-spawn: 7.0.6 + cross-spawn: 7.1.2 get-stream: 6.0.1 human-signals: 2.1.0 is-stream: 2.0.1 @@ -30814,7 +30815,7 @@ snapshots: execa@8.0.1: dependencies: - cross-spawn: 7.0.6 + cross-spawn: 7.1.2 get-stream: 8.0.1 human-signals: 5.0.0 is-stream: 3.0.0 @@ -30827,7 +30828,7 @@ snapshots: execa@9.6.0: dependencies: '@sindresorhus/merge-streams': 4.0.0 - cross-spawn: 7.0.6 + cross-spawn: 7.1.2 figures: 6.1.0 get-stream: 9.0.1 human-signals: 8.0.1 @@ -31149,7 +31150,7 @@ snapshots: foreground-child@3.3.1: dependencies: - cross-spawn: 7.0.6 + cross-spawn: 7.1.2 signal-exit: 4.1.0 form-data-encoder@1.7.2: {} @@ -34481,7 +34482,7 @@ snapshots: dependencies: ansi-styles: 3.2.1 chalk: 2.4.2 - cross-spawn: 6.0.6 + cross-spawn: 6.0.10 memorystream: 0.3.1 minimatch: 3.1.4 pidtree: 0.3.1