Bump styled-jsx to 5.1.3 (#65485)

Update styled-jsx peer deps to allow react 19 versions

x-ref: https://github.com/vercel/styled-jsx/pull/844 react version bump
x-ref: https://github.com/vercel/styled-jsx/pull/826 types change

Closes NEXT-3356
This commit is contained in:
Jiachi Liu 2024-05-08 18:14:34 +02:00 committed by GitHub
parent a3ee23ba52
commit 97eb7079d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 25 additions and 7 deletions

View file

@ -225,7 +225,7 @@
"shell-quote": "1.7.3",
"strip-ansi": "6.0.0",
"styled-components": "6.0.0-rc.3",
"styled-jsx": "5.1.1",
"styled-jsx": "5.1.3",
"styled-jsx-plugin-postcss": "3.0.2",
"swr": "^2.2.4",
"tailwindcss": "3.2.7",

View file

@ -1,5 +1,5 @@
/// <reference types="./types/global" />
/// <reference path="./dist/styled-jsx/types/global.d.ts" />
/// <reference path="./dist/styled-jsx/types/index.d.ts" />
/// <reference path="./amp.d.ts" />
/// <reference path="./app.d.ts" />
/// <reference path="./cache.d.ts" />

View file

@ -99,7 +99,7 @@
"caniuse-lite": "^1.0.30001579",
"graceful-fs": "^4.2.11",
"postcss": "8.4.31",
"styled-jsx": "5.1.1"
"styled-jsx": "5.1.3"
},
"peerDependencies": {
"@opentelemetry/api": "^1.1.0",

View file

@ -520,8 +520,8 @@ importers:
specifier: 6.0.0-rc.3
version: 6.0.0-rc.3(react-dom@19.0.0-beta-4508873393-20240430)(react@19.0.0-beta-4508873393-20240430)
styled-jsx:
specifier: 5.1.1
version: 5.1.1(@babel/core@7.22.5)(react@19.0.0-beta-4508873393-20240430)
specifier: 5.1.3
version: 5.1.3(@babel/core@7.22.5)(react@19.0.0-beta-4508873393-20240430)
styled-jsx-plugin-postcss:
specifier: 3.0.2
version: 3.0.2
@ -837,8 +837,8 @@ importers:
specifier: ^1.3.0
version: 1.54.0
styled-jsx:
specifier: 5.1.1
version: 5.1.1(@babel/core@7.22.5)(react@19.0.0-beta-4508873393-20240430)
specifier: 5.1.3
version: 5.1.3(@babel/core@7.22.5)(react@19.0.0-beta-4508873393-20240430)
optionalDependencies:
sharp:
specifier: ^0.33.3
@ -23499,6 +23499,24 @@ packages:
'@babel/core': 7.22.5
client-only: 0.0.1
react: 19.0.0-beta-4508873393-20240430
dev: false
/styled-jsx@5.1.3(@babel/core@7.22.5)(react@19.0.0-beta-4508873393-20240430):
resolution: {integrity: sha512-qLRShOWTE/Mf6Bvl72kFeKBl8N2Eq9WIFfoAuvbtP/6tqlnj1SCjv117n2MIjOPpa1jTorYqLJgsHKy5Y3ziww==}
engines: {node: '>= 12.0.0'}
peerDependencies:
'@babel/core': '*'
babel-plugin-macros: '*'
react: 19.0.0-beta-4508873393-20240430
peerDependenciesMeta:
'@babel/core':
optional: true
babel-plugin-macros:
optional: true
dependencies:
'@babel/core': 7.22.5
client-only: 0.0.1
react: 19.0.0-beta-4508873393-20240430
/stylehacks@4.0.3:
resolution: {integrity: sha512-7GlLk9JwlElY4Y6a/rmbH2MhVlTyVmiJd1PfTCqFaIBEGMYNsrO/v3SeGTdhBThLg4Z+NbOk/qFMwCa+J+3p/g==}