File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -444,6 +444,6 @@ function flattenPosition(pos) {
444444 ':' ,
445445 pos . end . column
446446 ]
447- . map ( ( d ) => String ( d ) )
447+ . map ( String )
448448 . join ( '' )
449449}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import type {Element} from 'hast'
44
55/* File for types which are not handled correctly in JSDoc mode */
66
7- export interface ReactMarkdownProps {
7+ export type ReactMarkdownProps = {
88 node : Element
99 children : ReactNode [ ]
1010 /**
Original file line number Diff line number Diff line change 104104 "@types/react-dom" : " ^18.0.0" ,
105105 "@types/react-is" : " ^17.0.0" ,
106106 "c8" : " ^7.0.0" ,
107- "esbuild" : " ^0.14 .0" ,
107+ "esbuild" : " ^0.15 .0" ,
108108 "eslint-config-xo-react" : " ^0.27.0" ,
109109 "eslint-plugin-es" : " ^4.0.0" ,
110110 "eslint-plugin-react" : " ^7.0.0" ,
114114 "react" : " ^18.0.0" ,
115115 "react-dom" : " ^18.0.0" ,
116116 "rehype-raw" : " ^6.0.0" ,
117- "remark-cli" : " ^10 .0.0" ,
117+ "remark-cli" : " ^11 .0.0" ,
118118 "remark-gfm" : " ^3.0.0" ,
119119 "remark-preset-wooorm" : " ^9.0.0" ,
120120 "remark-toc" : " ^8.0.0" ,
121121 "rimraf" : " ^3.0.0" ,
122122 "type-coverage" : " ^2.0.0" ,
123- "typescript" : " ~4.4 .0" ,
123+ "typescript" : " ^4.0 .0" ,
124124 "uvu" : " ^0.5.0" ,
125- "xo" : " ^0.48 .0"
125+ "xo" : " ^0.52 .0"
126126 },
127127 "scripts" : {
128128 "prepack" : " npm run build && npm run format" ,
195195 " test/**/*.jsx"
196196 ],
197197 "rules" : {
198- "node /file-extension-in-import" : " off" ,
198+ "n /file-extension-in-import" : " off" ,
199199 "react/no-children-prop" : " off" ,
200200 "react/prop-types" : " off"
201201 }
You can’t perform that action at this time.
0 commit comments