diff --git a/packages/next-sanity/package.json b/packages/next-sanity/package.json index 5e7cb21b33b..db7f15c0712 100644 --- a/packages/next-sanity/package.json +++ b/packages/next-sanity/package.json @@ -122,7 +122,7 @@ "dependencies": { "@portabletext/react": "^4.0.3", "@sanity/client": "catalog:", - "@sanity/next-loader": "^2.1.2", + "@sanity/next-loader": "^3.0.0", "@sanity/preview-url-secret": "catalog:", "@sanity/visual-editing": "^3.0.5", "groq": "^4.8.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f72e35947ac..54ba036c719 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -184,8 +184,8 @@ importers: specifier: 'catalog:' version: 7.11.1(debug@4.4.1) '@sanity/next-loader': - specifier: ^2.1.2 - version: 2.1.2(@sanity/types@4.8.1(@types/react@19.1.12))(next@15.5.1-canary.38(@babel/core@7.28.4)(react-dom@19.1.1(react@19.1.1))(react@19.1.1))(react@19.1.1) + specifier: ^3.0.0 + version: 3.0.0(@sanity/types@4.8.1(@types/react@19.1.12))(next@15.5.1-canary.38(@babel/core@7.28.4)(react-dom@19.1.1(react@19.1.1))(react@19.1.1))(react-dom@19.1.1(react@19.1.1))(react@19.1.1) '@sanity/preview-url-secret': specifier: 'catalog:' version: 2.1.15(@sanity/client@7.11.1)(@sanity/icons@3.7.4(react@19.1.1))(sanity@4.8.1(@emotion/is-prop-valid@1.2.2)(@portabletext/sanity-bridge@1.1.8(@sanity/schema@4.8.1(@types/react@19.1.12))(@sanity/types@4.8.1(@types/react@19.1.12)))(@types/node@24.3.1)(@types/react-dom@19.1.9(@types/react@19.1.12))(@types/react@19.1.12)(immer@10.1.3)(jiti@2.5.1)(lightningcss@1.30.1)(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(styled-components@6.1.19(react-dom@19.1.1(react@19.1.1))(react@19.1.1))(terser@5.44.0)(tsx@4.20.5)(typescript@5.9.2)(yaml@2.8.1)) @@ -2363,12 +2363,13 @@ packages: '@sanity/mutator@4.8.1': resolution: {integrity: sha512-0p/vdk1T1ap8ILW7z/VBnhtZPftQKKKSrUfviT5obxI3KAVOUJC5y58Ie8WUGkwKN5EQbKb+H80cMO0vvm/CTA==} - '@sanity/next-loader@2.1.2': - resolution: {integrity: sha512-9vBkK9/wGfEHTCRhj9L2BxDJRsuyHKatsBwCwRsh9mgn0K6DgAxWd+OYdycCGuPnAK7WR/MHAibW0AdAXk1mOA==} + '@sanity/next-loader@3.0.0': + resolution: {integrity: sha512-QvuaI49nORqCkqDBNJ7Ox+aUfmLgb3pvn/1KtIZFUVgZMLxLBecawak21Yf+0vqMCfhd7Y7RMGztP+zHciuZng==} engines: {node: '>=18.18'} peerDependencies: - next: ^14.1 || ^15 + next: ^15.1 react: ^19.1.0 + react-dom: ^19.1.0 '@sanity/pkg-utils@8.1.8': resolution: {integrity: sha512-oewMdGq4xHIoHGjNZcWNdVNBrn8YHK3tkFuSLKXOwcnjoKDTKuY2Zl6pfXIQZx493nZ7/oqppupA5PPwxEozGw==} @@ -8625,7 +8626,7 @@ snapshots: - '@types/react' - supports-color - '@sanity/next-loader@2.1.2(@sanity/types@4.8.1(@types/react@19.1.12))(next@15.5.1-canary.38(@babel/core@7.28.4)(react-dom@19.1.1(react@19.1.1))(react@19.1.1))(react@19.1.1)': + '@sanity/next-loader@3.0.0(@sanity/types@4.8.1(@types/react@19.1.12))(next@15.5.1-canary.38(@babel/core@7.28.4)(react-dom@19.1.1(react@19.1.1))(react@19.1.1))(react-dom@19.1.1(react@19.1.1))(react@19.1.1)': dependencies: '@sanity/client': 7.11.1(debug@4.4.1) '@sanity/comlink': 3.0.9 @@ -8633,6 +8634,7 @@ snapshots: dequal: 2.0.3 next: 15.5.1-canary.38(@babel/core@7.28.4)(react-dom@19.1.1(react@19.1.1))(react@19.1.1) react: 19.1.1 + react-dom: 19.1.1(react@19.1.1) use-effect-event: 2.0.3(react@19.1.1) transitivePeerDependencies: - '@sanity/types'