diff --git a/package.json b/package.json index 89470a86d..03ac4fe2c 100644 --- a/package.json +++ b/package.json @@ -75,6 +75,9 @@ "mermaid@>=8.0.0 <9.1.2": ">=9.1.2", "mdx-mermaid@<1.3.0": ">=1.3.0", "d3-color@<3.1.0": ">=3.1.0" + }, + "patchedDependencies": { + "use-sync-external-store@1.2.0": "patches/use-sync-external-store@1.2.0.patch" } } } diff --git a/patches/use-sync-external-store@1.2.0.patch b/patches/use-sync-external-store@1.2.0.patch new file mode 100644 index 000000000..b3455cb0e --- /dev/null +++ b/patches/use-sync-external-store@1.2.0.patch @@ -0,0 +1,25 @@ +diff --git a/package.json b/package.json +index 7006692030f37a5ae24eced61b61c6357c5bb034..39416e1933f8c39b5bc9794fbf00fb1f20804868 100644 +--- a/package.json ++++ b/package.json +@@ -17,6 +17,20 @@ + "shim/", + "cjs/" + ], ++ "exports": { ++ ".": "./index.js", ++ "./index": "./index.js", ++ "./index.native": "./index.native.js", ++ "./with-selector": "./with-selector.js", ++ "./shim": "./shim/index.js", ++ "./shim/index": "./shim/index.js", ++ "./shim/index.native": "./shim/index.native.js", ++ "./shim/with-selector": "./shim/with-selector.js", ++ "./shim/*": "./shim/*", ++ "./cjs/*": "./cjs/*", ++ "./src/*": "./src/*", ++ "./package.json": "./package.json" ++ }, + "license": "MIT", + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0" \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1917c1a37..d802eccf7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -11,6 +11,11 @@ overrides: mdx-mermaid@<1.3.0: '>=1.3.0' d3-color@<3.1.0: '>=3.1.0' +patchedDependencies: + use-sync-external-store@1.2.0: + hash: zifctuasxutqued7wp7lp4536i + path: patches/use-sync-external-store@1.2.0.patch + importers: .: @@ -715,7 +720,7 @@ importers: '@react-hookz/web': 22.0.0_sfoxds7t5ydpegc3knd667wn6m p-debounce: 4.0.0 react-ssr-prepass: 1.5.0_react@17.0.2 - use-sync-external-store: 1.2.0_react@17.0.2 + use-sync-external-store: 1.2.0_zifctuasxutqued7wp7lp4536i_react@17.0.2 devDependencies: '@size-limit/preset-small-lib': 8.2.4_size-limit@8.2.4 '@testing-library/jest-dom': 5.16.5 @@ -10841,7 +10846,6 @@ packages: /just-extend/6.2.0: resolution: {integrity: sha512-cYofQu2Xpom82S6qD778jBDpwvvy39s1l/hrYij2u9AMdQcGRpaBu6kY4mVhuno5kJVi1DAz4aiphA2WI1/OAw==} - dev: false /just-has/2.3.0: resolution: {integrity: sha512-JzxCot/ETqLDullSSC5OtT/PLWiqgRNO5z33gVit6BoCXe/6BHut33o9ZunG5jQSqeY4EyzFnl8Wqc7S8Ci/wQ==} @@ -11967,7 +11971,7 @@ packages: react: 17.0.2 react-dom: 17.0.2_react@17.0.2 styled-jsx: 5.0.7_react@17.0.2 - use-sync-external-store: 1.2.0_react@17.0.2 + use-sync-external-store: 1.2.0_zifctuasxutqued7wp7lp4536i_react@17.0.2 optionalDependencies: '@next/swc-android-arm-eabi': 12.3.4 '@next/swc-android-arm64': 12.3.4 @@ -14910,12 +14914,13 @@ packages: tslib: 2.5.0 dev: false - /use-sync-external-store/1.2.0_react@17.0.2: + /use-sync-external-store/1.2.0_zifctuasxutqued7wp7lp4536i_react@17.0.2: resolution: {integrity: sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 dependencies: react: 17.0.2 + patched: true /utf-8-validate/6.0.3: resolution: {integrity: sha512-uIuGf9TWQ/y+0Lp+KGZCMuJWc3N9BHA+l/UmHd/oUHwJJDeysyTRxNQVkbzsIWfGFbRe3OcgML/i0mvVRPOyDA==} @@ -15477,6 +15482,7 @@ packages: '@gqty/utils': link:packages/utils flatted: 3.2.7 graphql: 17.0.0-alpha.2 + just-extend: 6.2.0 just-has: 2.3.0 just-memoize: 2.2.0 just-safe-get: 4.2.0