Skip to content

Commit 0e0075a

Browse files
devrntclaude
andcommitted
chore(security): fix npm audit vulnerabilities via pnpm overrides
Ran `pnpm audit --fix`, which added pnpm.overrides pinning vulnerable transitive dependencies to patched versions, and regenerated the lockfile. Reduces reported vulnerabilities from 222 to 10 (all 3 critical resolved: form-data, Next.js middleware auth bypass, shell-quote). Covers the outstanding Dependabot advisories (next, vite, eslint, path-to-regexp). The 10 remaining are dev/build-tooling transitives (js-yaml, minimatch, picomatch, ajv, yaml via changesets/turbo/eslint) whose only fix would be blanket major-version overrides of shared build deps; not bundled in the published react-use-intercom package. Core library build and tests pass. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 9a81a7e commit 0e0075a

2 files changed

Lines changed: 3339 additions & 3301 deletions

File tree

‎package.json‎

Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,145 @@
3333
"turbo": "^2.4.0",
3434
"typescript": "^5.7.3",
3535
"typescript-eslint": "^8.23.0"
36+
},
37+
"pnpm": {
38+
"overrides": {
39+
"next@>=0.9.9 <13.4.20-canary.13": ">=13.4.20-canary.13",
40+
"next@>=13.4.0 <14.1.1": ">=14.1.1",
41+
"next@>=13.4.0 <13.5.1": ">=13.5.1",
42+
"zod@<=3.22.2": ">=3.22.3",
43+
"next@>=13.3.1 <13.5.0": ">=13.5.0",
44+
"next@>=10.0.0 <14.2.7": ">=14.2.7",
45+
"next@>=13.0.0 <13.5.8": ">=13.5.8",
46+
"esbuild@<=0.24.2": ">=0.25.0",
47+
"cookie@<0.7.0": ">=0.7.0",
48+
"@babel/runtime@<7.26.10": ">=7.26.10",
49+
"@babel/helpers@<7.26.10": ">=7.26.10",
50+
"base-x@<=3.0.10": ">=3.0.11",
51+
"path-to-regexp@<0.1.12": ">=0.1.12",
52+
"brace-expansion@>=1.0.0 <=1.1.11": ">=1.1.12",
53+
"brace-expansion@>=2.0.0 <=2.0.1": ">=2.0.2",
54+
"next@>=13.0 <14.2.30": ">=14.2.30",
55+
"@eslint/plugin-kit@<0.3.4": ">=0.3.4",
56+
"on-headers@<1.1.0": ">=1.1.0",
57+
"next@>=0.9.9 <14.2.31": ">=14.2.31",
58+
"vite@<=5.4.19": ">=5.4.20",
59+
"vite@>=6.0.0 <=6.3.5": ">=6.3.6",
60+
"next@>=9.5.5 <14.2.15": ">=14.2.15",
61+
"next@>=0.9.9 <14.2.32": ">=14.2.32",
62+
"next@>=0.9.9 <14.2.24": ">=14.2.24",
63+
"vite@>=4.5.3 <5.0.0": ">=5.4.21",
64+
"vite@>=6.0.0 <=6.4.0": ">=6.4.1",
65+
"tar-fs@>=2.0.0 <2.1.4": ">=2.1.4",
66+
"tar-fs@>=3.0.0 <3.1.1": ">=3.1.1",
67+
"tmp@<=0.2.3": ">=0.2.4",
68+
"form-data@>=4.0.0 <4.0.4": ">=4.0.4",
69+
"tar-fs@>=3.0.0 <3.0.9": ">=3.0.9",
70+
"tar-fs@>=2.0.0 <2.1.3": ">=2.1.3",
71+
"postcss@<8.4.31": ">=8.4.31",
72+
"glob@>=10.2.0 <10.5.0": ">=10.5.0",
73+
"axios@>=1.0.0 <1.8.2": ">=1.8.2",
74+
"next@>=13.3.0 <14.2.34": ">=14.2.34",
75+
"next@>=13.3.1-canary.0 <14.2.35": ">=14.2.35",
76+
"axios@>=1.0.0 <1.12.0": ">=1.12.0",
77+
"next@>=10.0.0 <15.5.10": ">=15.5.10",
78+
"next@>=13.0.0 <15.0.8": ">=15.0.8",
79+
"js-yaml@<3.14.2": ">=3.14.2",
80+
"js-yaml@>=4.0.0 <4.1.1": ">=4.1.1",
81+
"semver@>=7.0.0 <7.5.2": ">=7.5.2",
82+
"webpack@>=5.49.0 <=5.104.0": ">=5.104.1",
83+
"webpack@>=5.49.0 <5.104.0": ">=5.104.0",
84+
"qs@>=6.7.0 <=6.14.1": ">=6.14.2",
85+
"minimatch@<3.1.3": ">=3.1.3",
86+
"minimatch@>=5.0.0 <5.1.7": ">=5.1.7",
87+
"minimatch@>=9.0.0 <9.0.6": ">=9.0.6",
88+
"rollup@>=4.0.0 <4.59.0": ">=4.59.0",
89+
"rollup@>=3.0.0 <3.30.0": ">=3.30.0",
90+
"minimatch@>=5.0.0 <5.1.8": ">=5.1.8",
91+
"minimatch@>=9.0.0 <9.0.7": ">=9.0.7",
92+
"minimatch@<3.1.4": ">=3.1.4",
93+
"serialize-javascript@<=7.0.2": ">=7.0.3",
94+
"next@>=13.0.0 <13.5.9": ">=13.5.9",
95+
"ajv@<6.14.0": ">=6.14.0",
96+
"ajv@>=7.0.0-alpha.0 <8.18.0": ">=8.18.0",
97+
"qs@<6.14.1": ">=6.14.1",
98+
"svgo@>=2.1.0 <2.8.1": ">=2.8.1",
99+
"file-type@>=13.0.0 <21.3.1": ">=21.3.1",
100+
"flatted@<3.4.0": ">=3.4.0",
101+
"next@>=9.5.0 <15.5.13": ">=15.5.13",
102+
"next@>=10.0.0 <15.5.14": ">=15.5.14",
103+
"socket.io-parser@>=4.0.0 <4.2.6": ">=4.2.6",
104+
"flatted@<=3.4.1": ">=3.4.2",
105+
"path-to-regexp@<0.1.13": ">=0.1.13",
106+
"brace-expansion@<1.1.13": ">=1.1.13",
107+
"brace-expansion@>=2.0.0 <2.0.3": ">=2.0.3",
108+
"picomatch@<2.3.2": ">=2.3.2",
109+
"picomatch@>=4.0.0 <4.0.4": ">=4.0.4",
110+
"yaml@>=1.0.0 <1.10.3": ">=1.10.3",
111+
"yaml@>=2.0.0 <2.8.3": ">=2.8.3",
112+
"lodash@>=4.0.0 <=4.17.23": ">=4.18.0",
113+
"lodash@<=4.17.23": ">=4.18.0",
114+
"vite@<=6.4.1": ">=6.4.2",
115+
"vite@>=6.0.0 <=6.4.1": ">=6.4.2",
116+
"next@>=13.0.0 <15.5.15": ">=15.5.15",
117+
"@parcel/reporter-dev-server@>=1.6.1 <=2.16.3": ">=2.16.4",
118+
"follow-redirects@<=1.15.11": ">=1.16.0",
119+
"axios@>=1.0.0 <1.15.0": ">=1.15.0",
120+
"postcss@<8.5.10": ">=8.5.10",
121+
"immutable@<3.8.3": ">=3.8.3",
122+
"axios@>=1.0.0 <1.15.1": ">=1.15.1",
123+
"axios@>=1.0.0 <1.15.2": ">=1.15.2",
124+
"axios@>=1.0.0 <=1.13.4": ">=1.13.5",
125+
"fast-uri@<=3.1.0": ">=3.1.1",
126+
"fast-uri@<=3.1.1": ">=3.1.2",
127+
"next@>=13.0.0 <15.5.16": ">=15.5.16",
128+
"next@>=12.2.0 <15.5.16": ">=15.5.16",
129+
"next@>=13.4.0 <15.5.16": ">=15.5.16",
130+
"next@>=13.4.6 <15.5.16": ">=15.5.16",
131+
"next@>=10.0.0 <15.5.16": ">=15.5.16",
132+
"next@>=13.4.13 <15.5.16": ">=15.5.16",
133+
"next@>=14.2.0 <15.5.16": ">=15.5.16",
134+
"ws@>=8.0.0 <8.20.1": ">=8.20.1",
135+
"turbo@>=1.1.0 <2.9.14": ">=2.9.14",
136+
"@tootallnate/once@<2.0.1": ">=2.0.1",
137+
"serialize-javascript@>=5.0.0 <7.0.5": ">=7.0.5",
138+
"uuid@<11.1.1": ">=11.1.1",
139+
"qs@>=6.11.1 <=6.15.1": ">=6.15.2",
140+
"vite@<=5.4.8": ">=5.4.9",
141+
"@babel/plugin-transform-modules-systemjs@>=7.12.0 <=7.29.3": ">=7.29.4",
142+
"lodash@>=4.0.0 <=4.17.22": ">=4.17.23",
143+
"shell-quote@>=1.1.0 <=1.8.3": ">=1.8.4",
144+
"axios@>=1.0.0 <1.16.0": ">=1.16.0",
145+
"axios@>=1.7.0 <1.16.0": ">=1.16.0",
146+
"tmp@<0.2.6": ">=0.2.6",
147+
"joi@<17.13.4": ">=17.13.4",
148+
"form-data@>=4.0.0 <4.0.6": ">=4.0.6",
149+
"vite@<=6.4.2": ">=6.4.3",
150+
"js-yaml@<3.15.0": ">=3.15.0",
151+
"js-yaml@>=4.0.0 <=4.1.1": ">=4.2.0",
152+
"turbo@<=2.9.13": ">=2.9.14",
153+
"ws@>=8.0.0 <8.21.0": ">=8.21.0",
154+
"@babel/core@<=7.29.0": ">=7.29.6",
155+
"axios@>=1.0.0 <1.18.0": ">=1.18.0",
156+
"brace-expansion@>=2.0.0 <2.1.2": ">=2.1.2",
157+
"brace-expansion@<1.1.16": ">=1.1.16",
158+
"js-yaml@>=4.0.0 <4.3.0": ">=4.3.0",
159+
"js-yaml@>=3.0.0 <3.15.0": ">=3.15.0",
160+
"engine.io@>=4.1.0 <6.6.7": ">=6.6.7",
161+
"shell-quote@<=1.8.4": ">=1.9.0",
162+
"axios@>=1.7.0 <1.18.0": ">=1.18.0",
163+
"body-parser@<1.20.6": ">=1.20.6",
164+
"immutable@<4.3.9": ">=4.3.9",
165+
"svgo@>=1.0.0 <2.8.3": ">=2.8.3",
166+
"fast-uri@>=3.0.0 <=3.1.3": ">=3.1.4",
167+
"sharp@<0.35.0": ">=0.35.0",
168+
"next@>=13.0.0 <15.5.21": ">=15.5.21",
169+
"next@>=14.1.1 <15.5.21": ">=15.5.21",
170+
"next@>=12.0.0 <15.5.21": ">=15.5.21",
171+
"postcss@<=8.5.11": ">=8.5.12",
172+
"postcss@<=8.5.17": ">=8.5.18",
173+
"brace-expansion@<=5.0.7": ">=5.0.8",
174+
"fast-uri@>=3.0.0 <3.1.3": ">=3.1.3"
175+
}
36176
}
37177
}

0 commit comments

Comments
 (0)