File tree Expand file tree Collapse file tree 9 files changed +837
-1180
lines changed
parcel-transformer-mdx-docs
parcel-transformer-mdx-storybook Expand file tree Collapse file tree 9 files changed +837
-1180
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 177177 "npm-cli-login" : " ^1.0.0" ,
178178 "parcel" : " ^2.16.3" ,
179179 "parcel-optimizer-strict-mode" : " workspace:^" ,
180- "patch-package" : " ^6.2.0 " ,
180+ "patch-package" : " ^8.0.1 " ,
181181 "playwright" : " ^1.45.3" ,
182182 "postcss" : " ^8.4.24" ,
183183 "postcss-custom-properties" : " ^13.2.0" ,
229229 "@types/node@npm:*" : " ^24" ,
230230 "@types/node@npm:^18.0.0" : " ^24" ,
231231 "@types/node@npm:>= 8" : " ^24" ,
232+ "unist-util-is" : " 6.0.0" ,
232233 "micromark-extension-mdxjs" : " patch:micromark-extension-mdxjs@npm%3A1.0.0#~/.yarn/patches/micromark-extension-mdxjs-npm-1.0.0-d2b6b69e4a.patch" ,
233- "remark-mdx" : " patch:remark-mdx@npm%3A2.0.0-rc.2#~/.yarn/patches/remark-mdx-npm-2.0.0-rc.2-7a71234e1f.patch" ,
234- "remark-parse" : " patch:remark-parse@npm%3A10.0.1#~/.yarn/patches/remark-parse-npm-10.0.1-e654d7df78.patch" ,
235234 "lightningcss" : " 1.30.1" ,
236235 "react-server-dom-parcel" : " canary" ,
237236 "react-test-renderer" : " 19.1.0" ,
Original file line number Diff line number Diff line change @@ -429,7 +429,7 @@ module.exports = new Transformer({
429429
430430 let { compile} = await import ( '@mdx-js/mdx' ) ;
431431 let frontmatter = ( await import ( 'remark-frontmatter' ) ) . default ;
432- let slug = ( await import ( 'remark -slug' ) ) . default ;
432+ let slug = ( await import ( 'rehype -slug' ) ) . default ;
433433 let compiled = await compile ( await asset . getCode ( ) , {
434434 providerImportSource : '@mdx-js/react' ,
435435 remarkPlugins : [
Original file line number Diff line number Diff line change 77 "parcel" : " ^2.0.0"
88 },
99 "dependencies" : {
10- "@mdx-js/mdx" : " next " ,
11- "@mdx-js/react" : " next " ,
10+ "@mdx-js/mdx" : " ^3.1.1 " ,
11+ "@mdx-js/react" : " ^3.1.1 " ,
1212 "@parcel/core" : " ^2.16.3" ,
1313 "@parcel/plugin" : " ^2.16.3" ,
1414 "dprint-node" : " ^1.0.7" ,
1515 "js-yaml" : " ^3.13.1" ,
1616 "mdast-util-toc" : " ^6.1.0" ,
17- "remark-frontmatter " : " ^4 .0.1 " ,
18- "remark-slug " : " ^7 .0.1 " ,
17+ "rehype-slug " : " ^6 .0.0 " ,
18+ "remark-frontmatter " : " ^5 .0.0 " ,
1919 "tree-sitter-highlight" : " ^1.0.1" ,
2020 "unist-util-flatmap" : " ^1.0.0" ,
2121 "unist-util-visit" : " ^4.0.0"
Original file line number Diff line number Diff line change 88 },
99 "dependencies" : {
1010 "@parcel/plugin" : " ^2.16.3" ,
11- "remark-mdx" : " ^2.0.0-rc.2 " ,
12- "remark-parse" : " ^10 .0.1 " ,
11+ "remark-mdx" : " ^3.1.0 " ,
12+ "remark-parse" : " ^11 .0.0 " ,
1313 "unified" : " ^10.0.1" ,
1414 "unist-util-visit" : " ^4.0.0"
1515 }
Original file line number Diff line number Diff line change 77 "parcel" : " ^2.0.0"
88 },
99 "dependencies" : {
10- "@mdx-js/mdx" : " next " ,
11- "@mdx-js/react" : " next " ,
10+ "@mdx-js/mdx" : " ^3.1.1 " ,
11+ "@mdx-js/react" : " ^3.1.1 " ,
1212 "@parcel/plugin" : " ^2.16.3"
1313 },
1414 "peerDependencies" : {
Original file line number Diff line number Diff line change 4242 "@react-spectrum/utils" : " ^3.12.6" ,
4343 "@react-types/shared" : " ^3.30.0" ,
4444 "@react-types/textfield" : " ^3.12.3" ,
45- "emojibase-data" : " ^16.0.3" ,
45+ "emojibase" : " ^17.0.0" ,
46+ "emojibase-data" : " ^17.0.0" ,
4647 "fast-glob" : " ^3.3.3" ,
4748 "globals-docs" : " ^2.4.1" ,
4849 "gray-matter" : " ^4.0.3" ,
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ index be47704..c7ca78e 100644
44+++ b/node_modules/@mdx-js/react/lib/index.d.ts
55@@ -1,3 +1,4 @@
66+ import {JSX} from 'react';
7- /**
7+ - /**
8+ + /**
89 * @param {import('react').ComponentType<any>} Component
910 * @deprecated
You can’t perform that action at this time.
0 commit comments