diff --git a/package.json b/package.json index 918d48d7df562..2fcf983ae8796 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/packages/next/index.d.ts b/packages/next/index.d.ts index f91a6df44cf92..b22c8cd86b3ea 100644 --- a/packages/next/index.d.ts +++ b/packages/next/index.d.ts @@ -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" /> diff --git a/packages/next/package.json b/packages/next/package.json index 1facbd28c760a..0eeeccf6360a4 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -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", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index eb1b370976279..0cded3d411915 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -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==}