diff --git a/config/storybook/package.json b/config/storybook/package.json index d9a549de61..5f13752a2b 100644 --- a/config/storybook/package.json +++ b/config/storybook/package.json @@ -21,7 +21,7 @@ "@marigold/components": "workspace:*", "@marigold/theme-b2b": "workspace:*", "@marigold/theme-core": "workspace:*", - "@mdx-js/react": "3.0.1", + "@mdx-js/react": "3.1.0", "@storybook/addon-a11y": "^8.2.9", "@storybook/addon-essentials": "^8.1.11", "@storybook/addon-interactions": "^8.1.11", diff --git a/docs/package.json b/docs/package.json index f402debcbc..1805c27bc3 100644 --- a/docs/package.json +++ b/docs/package.json @@ -33,7 +33,7 @@ "eslint-config-next": "14.2.16", "framer-motion": "11.11.10", "github-slugger": "2.0.0", - "mdast-util-toc": "7.0.1", + "mdast-util-toc": "7.1.0", "next": "14.2.16", "next-contentlayer2": "0.5.1", "postcss": "8.4.47", @@ -45,7 +45,7 @@ "react-use": "17.5.1", "react-use-clipboard": "1.0.9", "rehype-autolink-headings": "7.1.0", - "rehype-pretty-code": "0.13.2", + "rehype-pretty-code": "0.14.0", "rehype-slug": "6.0.0", "remark-gfm": "4.0.0", "shiki": "1.22.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9ab0fa65de..db7ac9785f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -241,8 +241,8 @@ importers: specifier: workspace:* version: link:../../themes/theme-core '@mdx-js/react': - specifier: 3.0.1 - version: 3.0.1(@types/react@18.3.12)(react@18.3.1) + specifier: 3.1.0 + version: 3.1.0(@types/react@18.3.12)(react@18.3.1) '@storybook/addon-a11y': specifier: ^8.2.9 version: 8.3.6(storybook@8.3.6) @@ -385,8 +385,8 @@ importers: specifier: 2.0.0 version: 2.0.0 mdast-util-toc: - specifier: 7.0.1 - version: 7.0.1 + specifier: 7.1.0 + version: 7.1.0 next: specifier: 14.2.16 version: 14.2.16(@babel/core@7.26.0)(@opentelemetry/api@1.9.0)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -421,8 +421,8 @@ importers: specifier: 7.1.0 version: 7.1.0 rehype-pretty-code: - specifier: 0.13.2 - version: 0.13.2(shiki@1.22.1) + specifier: 0.14.0 + version: 0.14.0(shiki@1.22.1) rehype-slug: specifier: 6.0.0 version: 6.0.0 @@ -2794,8 +2794,8 @@ packages: '@mdx-js/mdx@3.0.1': resolution: {integrity: sha512-eIQ4QTrOWyL3LWEe/bu6Taqzq2HQvHcyTMaOrI95P2/LmJE7AsfPfgJGuFLPVqBUE1BC1rik3VIhU+s9u72arA==} - '@mdx-js/react@3.0.1': - resolution: {integrity: sha512-9ZrPIU4MGf6et1m1ov3zKf+q9+deetI51zprKB1D/z3NOb+rUxxtEl3mCjW5wTGh6VhRdwPueh1oRzi6ezkA8A==} + '@mdx-js/react@3.1.0': + resolution: {integrity: sha512-QjHtSaoameoalGnKDT3FoIl4+9RwyTmo9ZJGBdLOks/YOiWHoRDI3PUwEzOE7kEmGcV3AFcp9K6dYu9rEuKLAQ==} peerDependencies: '@types/react': '>=16' react: '>=16' @@ -7339,8 +7339,8 @@ packages: mdast-util-to-string@4.0.0: resolution: {integrity: sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==} - mdast-util-toc@7.0.1: - resolution: {integrity: sha512-mBuhuKtP8F/5vVLNJKeC1fs1W5w2sZqB1uUvKwQK9qftSiBILVkQjKQ8aLVrhIEFPGwbMKCVCB3WAAW+BoVPxg==} + mdast-util-toc@7.1.0: + resolution: {integrity: sha512-2TVKotOQzqdY7THOdn2gGzS9d1Sdd66bvxUyw3aNpWfcPXCLYSJCCgfPy30sEtuzkDraJgqF35dzgmz6xlvH/w==} mdn-data@2.0.14: resolution: {integrity: sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow==} @@ -8591,8 +8591,8 @@ packages: rehype-parse@9.0.0: resolution: {integrity: sha512-WG7nfvmWWkCR++KEkZevZb/uw41E8TsH4DsY9UxsTbIXCVGbAs4S+r8FrQ+OtH5EEQAs+5UxKC42VinkmpA1Yw==} - rehype-pretty-code@0.13.2: - resolution: {integrity: sha512-F+PaFMscfJOcSHcR2b//+hk/0jT56hmGDqXcVD6VC9j0CUSGiqv8YxaWUyhR7qEIRRSbzAVxx+0uxzk+akXs+w==} + rehype-pretty-code@0.14.0: + resolution: {integrity: sha512-hBeKF/Wkkf3zyUS8lal9RCUuhypDWLQc+h9UrP9Pav25FUm/AQAVh4m5gdvJxh4Oz+U+xKvdsV01p1LdvsZTiQ==} engines: {node: '>=18'} peerDependencies: shiki: ^1.3.0 @@ -9406,6 +9406,9 @@ packages: unified@11.0.4: resolution: {integrity: sha512-apMPnyLjAX+ty4OrNap7yumyVAMlKx5IWU2wlzzUdYJO9A8f1p9m/gywF/GM2ZDFcjQPrx59Mc90KwmxsoklxQ==} + unified@11.0.5: + resolution: {integrity: sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==} + unist-builder@4.0.0: resolution: {integrity: sha512-wmRFnH+BLpZnTKpc5L7O67Kac89s9HMrtELpnNaE6TAobq5DTZZs5YaTQfAZBA9bFPECx2uVAPO31c+GVug8mg==} @@ -12218,7 +12221,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@mdx-js/react@3.0.1(@types/react@18.3.12)(react@18.3.1)': + '@mdx-js/react@3.1.0(@types/react@18.3.12)(react@18.3.1)': dependencies: '@types/mdx': 2.0.12 '@types/react': 18.3.12 @@ -13789,7 +13792,7 @@ snapshots: '@storybook/addon-docs@8.3.6(storybook@8.3.6)(webpack-sources@3.2.3)': dependencies: - '@mdx-js/react': 3.0.1(@types/react@18.3.12)(react@18.3.1) + '@mdx-js/react': 3.1.0(@types/react@18.3.12)(react@18.3.1) '@storybook/blocks': 8.3.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6) '@storybook/csf-plugin': 8.3.6(storybook@8.3.6)(webpack-sources@3.2.3) '@storybook/global': 5.0.0 @@ -18272,7 +18275,7 @@ snapshots: dependencies: '@types/mdast': 4.0.4 - mdast-util-toc@7.0.1: + mdast-util-toc@7.1.0: dependencies: '@types/mdast': 4.0.4 '@types/ungap__structured-clone': 1.2.0 @@ -19762,16 +19765,16 @@ snapshots: dependencies: '@types/hast': 3.0.4 hast-util-from-html: 2.0.1 - unified: 11.0.4 + unified: 11.0.5 - rehype-pretty-code@0.13.2(shiki@1.22.1): + rehype-pretty-code@0.14.0(shiki@1.22.1): dependencies: '@types/hast': 3.0.4 hast-util-to-string: 3.0.0 parse-numeric-range: 1.3.0 rehype-parse: 9.0.0 shiki: 1.22.1 - unified: 11.0.4 + unified: 11.0.5 unist-util-visit: 5.0.0 rehype-slug@6.0.0: @@ -20688,6 +20691,16 @@ snapshots: trough: 2.2.0 vfile: 6.0.1 + unified@11.0.5: + dependencies: + '@types/unist': 3.0.2 + bail: 2.0.2 + devlop: 1.1.0 + extend: 3.0.2 + is-plain-obj: 4.1.0 + trough: 2.2.0 + vfile: 6.0.1 + unist-builder@4.0.0: dependencies: '@types/unist': 3.0.2