diff --git a/dev/test-studio/package.json b/dev/test-studio/package.json index 7606ff5f305..033d09932cb 100644 --- a/dev/test-studio/package.json +++ b/dev/test-studio/package.json @@ -16,7 +16,7 @@ "workshop:dev": "node -r esbuild-register scripts/workshop/dev.ts" }, "dependencies": { - "@portabletext/editor": "^1.21.1", + "@portabletext/editor": "^1.21.5", "@portabletext/react": "^3.0.0", "@sanity/assist": "^3.0.2", "@sanity/block-tools": "3.69.0", diff --git a/packages/sanity/package.json b/packages/sanity/package.json index 637ebf75199..cc957bf7e87 100644 --- a/packages/sanity/package.json +++ b/packages/sanity/package.json @@ -153,7 +153,7 @@ "@dnd-kit/sortable": "^7.0.1", "@dnd-kit/utilities": "^3.2.0", "@juggle/resize-observer": "^3.3.1", - "@portabletext/editor": "^1.21.1", + "@portabletext/editor": "^1.21.5", "@portabletext/react": "^3.0.0", "@rexxars/react-json-inspector": "^9.0.1", "@sanity/asset-utils": "^2.0.6", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7d06df08d13..5b62fc13144 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -415,8 +415,8 @@ importers: dev/test-studio: dependencies: '@portabletext/editor': - specifier: ^1.21.1 - version: 1.21.1(@sanity/block-tools@packages+@sanity+block-tools)(@sanity/schema@packages+@sanity+schema)(@sanity/types@packages+@sanity+types)(@types/react@19.0.6)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(rxjs@7.8.1) + specifier: ^1.21.5 + version: 1.21.5(@sanity/schema@packages+@sanity+schema)(@sanity/types@packages+@sanity+types)(@types/react@19.0.6)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(rxjs@7.8.1) '@portabletext/react': specifier: ^3.0.0 version: 3.2.0(react@19.0.0) @@ -1389,8 +1389,8 @@ importers: specifier: ^3.3.1 version: 3.4.0 '@portabletext/editor': - specifier: ^1.21.1 - version: 1.21.1(@sanity/block-tools@packages+@sanity+block-tools)(@sanity/schema@packages+@sanity+schema)(@sanity/types@packages+@sanity+types)(@types/react@19.0.6)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rxjs@7.8.1) + specifier: ^1.21.5 + version: 1.21.5(@sanity/schema@packages+@sanity+schema)(@sanity/types@packages+@sanity+types)(@types/react@19.0.6)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rxjs@7.8.1) '@portabletext/react': specifier: ^3.0.0 version: 3.2.0(react@18.3.1) @@ -4326,11 +4326,16 @@ packages: resolution: {integrity: sha512-c83qWb22rNRuB0UaVCI0uRPNRr8Z0FWnEIvT47jiHAmOIUHbBOg5XvV7pM5x+rKn9HRpjxquDbXYSXr3fAKFcw==} engines: {node: '>=12'} - '@portabletext/editor@1.21.1': - resolution: {integrity: sha512-fDaYG0uKumP1NRo5G0D0BOhamC9xpykwInC9sZQhMb+SzpNY8eVNS/CsZfNGyOtsdCLpaeAbGsSgoqTvDmcY9Q==} + '@portabletext/block-tools@1.0.2': + resolution: {integrity: sha512-3gFB6/H2VvcmFH/2S6J9qf6wruvca972wtWLa1GX20zcGWLZ6UNoQpgSo3zE55nY9OmM+hoAR4Z17Xzr6CQOXQ==} + peerDependencies: + '@sanity/types': ^3.69.0 + '@types/react': 18 || 19 + + '@portabletext/editor@1.21.5': + resolution: {integrity: sha512-xlwvCMxpxUbNI2sbCQd3+8Eo01DaMsJeubjyK2hXPDbpHIraBy9c/Sy/xPtp2xKS0yTGWYwWWbiOCHkZ+CknlA==} engines: {node: '>=18'} peerDependencies: - '@sanity/block-tools': ^3.69.0 '@sanity/schema': ^3.69.0 '@sanity/types': ^3.69.0 react: ^16.9 || ^17 || ^18 || ^19 @@ -14679,10 +14684,17 @@ snapshots: '@pnpm/network.ca-file': 1.0.2 config-chain: 1.1.13 - '@portabletext/editor@1.21.1(@sanity/block-tools@packages+@sanity+block-tools)(@sanity/schema@packages+@sanity+schema)(@sanity/types@packages+@sanity+types)(@types/react@19.0.6)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rxjs@7.8.1)': + '@portabletext/block-tools@1.0.2(@sanity/types@packages+@sanity+types)(@types/react@19.0.6)': + dependencies: + '@sanity/types': link:packages/@sanity/types + '@types/react': 19.0.6 + get-random-values-esm: 1.0.2 + lodash: 4.17.21 + + '@portabletext/editor@1.21.5(@sanity/schema@packages+@sanity+schema)(@sanity/types@packages+@sanity+types)(@types/react@19.0.6)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rxjs@7.8.1)': dependencies: + '@portabletext/block-tools': 1.0.2(@sanity/types@packages+@sanity+types)(@types/react@19.0.6) '@portabletext/patches': 1.1.1 - '@sanity/block-tools': link:packages/@sanity/block-tools '@sanity/schema': link:packages/@sanity/schema '@sanity/types': link:packages/@sanity/types '@xstate/react': 5.0.1(@types/react@19.0.6)(react@18.3.1)(xstate@5.19.1) @@ -14703,10 +14715,10 @@ snapshots: - react-dom - supports-color - '@portabletext/editor@1.21.1(@sanity/block-tools@packages+@sanity+block-tools)(@sanity/schema@packages+@sanity+schema)(@sanity/types@packages+@sanity+types)(@types/react@19.0.6)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(rxjs@7.8.1)': + '@portabletext/editor@1.21.5(@sanity/schema@packages+@sanity+schema)(@sanity/types@packages+@sanity+types)(@types/react@19.0.6)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(rxjs@7.8.1)': dependencies: + '@portabletext/block-tools': 1.0.2(@sanity/types@packages+@sanity+types)(@types/react@19.0.6) '@portabletext/patches': 1.1.1 - '@sanity/block-tools': link:packages/@sanity/block-tools '@sanity/schema': link:packages/@sanity/schema '@sanity/types': link:packages/@sanity/types '@xstate/react': 5.0.1(@types/react@19.0.6)(react@19.0.0)(xstate@5.19.1)