Skip to content

Commit 56f94d4

Browse files
committed
Update dev-dependencies
1 parent 32e6153 commit 56f94d4

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

lib/index.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ import {matters} from 'micromark-extension-frontmatter/matters.js'
2121
* Extension for `mdast-util-from-markdown`.
2222
*/
2323
export function frontmatterFromMarkdown(options) {
24-
// @ts-expect-error: `micromark-extension-frontmatter` should fix types to
25-
// accept `null` as options.
2624
const settings = matters(options)
2725
/** @type {FromMarkdownExtension['enter']} */
2826
const enter = {}
@@ -92,8 +90,6 @@ export function frontmatterToMarkdown(options) {
9290
const unsafe = []
9391
/** @type {ToMarkdownExtension['handlers']} */
9492
const handlers = {}
95-
// @ts-expect-error: `micromark-extension-frontmatter` should fix types to
96-
// accept `null` as options.
9793
const settings = matters(options)
9894
let index = -1
9995

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,16 @@
4141
"micromark-extension-frontmatter": "^1.0.0"
4242
},
4343
"devDependencies": {
44-
"@types/node": "^18.0.0",
44+
"@types/node": "^20.0.0",
4545
"c8": "^7.0.0",
4646
"mdast-util-from-markdown": "^1.0.0",
4747
"prettier": "^2.0.0",
48-
"remark-cli": "^10.0.0",
48+
"remark-cli": "^11.0.0",
4949
"remark-preset-wooorm": "^9.0.0",
5050
"type-coverage": "^2.0.0",
51-
"typescript": "^4.0.0",
51+
"typescript": "^5.0.0",
5252
"unist-util-remove-position": "^4.0.0",
53-
"xo": "^0.49.0"
53+
"xo": "^0.54.0"
5454
},
5555
"scripts": {
5656
"prepack": "npm run build && npm run format",

0 commit comments

Comments
 (0)