File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,6 @@ import {matters} from 'micromark-extension-frontmatter/matters.js'
21
21
* Extension for `mdast-util-from-markdown`.
22
22
*/
23
23
export function frontmatterFromMarkdown ( options ) {
24
- // @ts -expect-error: `micromark-extension-frontmatter` should fix types to
25
- // accept `null` as options.
26
24
const settings = matters ( options )
27
25
/** @type {FromMarkdownExtension['enter'] } */
28
26
const enter = { }
@@ -92,8 +90,6 @@ export function frontmatterToMarkdown(options) {
92
90
const unsafe = [ ]
93
91
/** @type {ToMarkdownExtension['handlers'] } */
94
92
const handlers = { }
95
- // @ts -expect-error: `micromark-extension-frontmatter` should fix types to
96
- // accept `null` as options.
97
93
const settings = matters ( options )
98
94
let index = - 1
99
95
Original file line number Diff line number Diff line change 41
41
"micromark-extension-frontmatter" : " ^1.0.0"
42
42
},
43
43
"devDependencies" : {
44
- "@types/node" : " ^18 .0.0" ,
44
+ "@types/node" : " ^20 .0.0" ,
45
45
"c8" : " ^7.0.0" ,
46
46
"mdast-util-from-markdown" : " ^1.0.0" ,
47
47
"prettier" : " ^2.0.0" ,
48
- "remark-cli" : " ^10 .0.0" ,
48
+ "remark-cli" : " ^11 .0.0" ,
49
49
"remark-preset-wooorm" : " ^9.0.0" ,
50
50
"type-coverage" : " ^2.0.0" ,
51
- "typescript" : " ^4 .0.0" ,
51
+ "typescript" : " ^5 .0.0" ,
52
52
"unist-util-remove-position" : " ^4.0.0" ,
53
- "xo" : " ^0.49 .0"
53
+ "xo" : " ^0.54 .0"
54
54
},
55
55
"scripts" : {
56
56
"prepack" : " npm run build && npm run format" ,
You can’t perform that action at this time.
0 commit comments