Skip to content

Commit

Permalink
Update dev-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Oct 4, 2022
1 parent cfe075b commit 75ec1f8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/ast-to-react.js
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,6 @@ function flattenPosition(pos) {
':',
pos.end.column
]
.map((d) => String(d))
.map(String)
.join('')
}
2 changes: 1 addition & 1 deletion lib/complex-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type {Element} from 'hast'

/* File for types which are not handled correctly in JSDoc mode */

export interface ReactMarkdownProps {
export type ReactMarkdownProps = {
node: Element
children: ReactNode[]
/**
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
"@types/react-dom": "^18.0.0",
"@types/react-is": "^17.0.0",
"c8": "^7.0.0",
"esbuild": "^0.14.0",
"esbuild": "^0.15.0",
"eslint-config-xo-react": "^0.27.0",
"eslint-plugin-es": "^4.0.0",
"eslint-plugin-react": "^7.0.0",
Expand All @@ -114,15 +114,15 @@
"react": "^18.0.0",
"react-dom": "^18.0.0",
"rehype-raw": "^6.0.0",
"remark-cli": "^10.0.0",
"remark-cli": "^11.0.0",
"remark-gfm": "^3.0.0",
"remark-preset-wooorm": "^9.0.0",
"remark-toc": "^8.0.0",
"rimraf": "^3.0.0",
"type-coverage": "^2.0.0",
"typescript": "~4.4.0",
"typescript": "^4.0.0",
"uvu": "^0.5.0",
"xo": "^0.48.0"
"xo": "^0.52.0"
},
"scripts": {
"prepack": "npm run build && npm run format",
Expand Down Expand Up @@ -195,7 +195,7 @@
"test/**/*.jsx"
],
"rules": {
"node/file-extension-in-import": "off",
"n/file-extension-in-import": "off",
"react/no-children-prop": "off",
"react/prop-types": "off"
}
Expand Down

0 comments on commit 75ec1f8

Please sign in to comment.