Skip to content

Commit 75ec1f8

Browse files
committed
Update dev-dependencies
1 parent cfe075b commit 75ec1f8

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

lib/ast-to-react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

lib/complex-types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
/**

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
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",
@@ -114,15 +114,15 @@
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",
@@ -195,7 +195,7 @@
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
}

0 commit comments

Comments
 (0)