Skip to content

Commit 73ce4b4

Browse files
authored
Update package.json to modify react-is dependency (#6371)
1 parent ad76aa8 commit 73ce4b4

File tree

3 files changed

+50
-17
lines changed

3 files changed

+50
-17
lines changed

.changeset/tall-pets-obey.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@primer/react': patch
3+
---
4+
5+
corrects peer dependencies around react-is and types

package-lock.json

Lines changed: 36 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/react/package.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@
9393
"@styled-system/css": "^5.1.5",
9494
"@styled-system/props": "^5.1.5",
9595
"@styled-system/theme-get": "^5.1.2",
96-
"@types/react-is": "^18.2.1",
9796
"@types/styled-system": "^5.1.23",
9897
"@types/styled-system__css": "^5.0.16",
9998
"@types/styled-system__theme-get": "^5.0.1",
@@ -107,7 +106,6 @@
107106
"lodash.isobject": "^3.0.2",
108107
"react-compiler-runtime": "^19.1.0-rc.2",
109108
"react-intersection-observer": "^9.16.0",
110-
"react-is": "^18.2.0",
111109
"styled-system": "^5.1.5",
112110
"type-check": "0.4.0"
113111
},
@@ -149,8 +147,9 @@
149147
"@types/lodash.keyby": "4.6.9",
150148
"@types/node": "20.12.11",
151149
"@types/react": "18.3.11",
152-
"@types/react-dom": "18.3.0",
153-
"@types/react-test-renderer": "18.3.0",
150+
"@types/react-dom": "18.3.1",
151+
"@types/react-is": "18.3.1",
152+
"@types/react-test-renderer": "18.3.1",
154153
"@types/semver": "7.7.0",
155154
"@types/styled-components": "^5.1.26",
156155
"@vitejs/plugin-react": "^4.3.3",
@@ -193,6 +192,7 @@
193192
"postcss-preset-primer": "^0.0.0",
194193
"react": "18.3.1",
195194
"react-dom": "18.3.1",
195+
"react-is": "18.3.1",
196196
"react-test-renderer": "18.3.1",
197197
"recast": "0.23.7",
198198
"rimraf": "5.0.5",
@@ -218,9 +218,11 @@
218218
"peerDependencies": {
219219
"@types/react": "18.x || 19.x",
220220
"@types/react-dom": "18.x || 19.x",
221+
"@types/react-is": "18.x || 19.x",
221222
"@types/styled-components": "^5.1.11",
222223
"react": "18.x || 19.x",
223224
"react-dom": "18.x || 19.x",
225+
"react-is": "18.x || 19.x",
224226
"styled-components": "5.x"
225227
},
226228
"peerDependenciesMeta": {
@@ -230,6 +232,9 @@
230232
"@types/react-dom": {
231233
"optional": true
232234
},
235+
"@types/react-is": {
236+
"optional": true
237+
},
233238
"@types/styled-components": {
234239
"optional": true
235240
}

0 commit comments

Comments
 (0)