File tree 2 files changed +6
-5
lines changed
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 49
49
"c8" : " ^8.0.0" ,
50
50
"hast-util-to-html" : " ^8.0.0" ,
51
51
"mdast-util-from-markdown" : " ^2.0.0" ,
52
- "mdast-util-to-hast" : " ^12 .0.0" ,
52
+ "mdast-util-to-hast" : " ^13 .0.0" ,
53
53
"mdast-util-to-markdown" : " ^2.0.0" ,
54
54
"micromark-extension-gfm-autolink-literal" : " ^2.0.0" ,
55
- "prettier" : " ^2 .0.0" ,
55
+ "prettier" : " ^3 .0.0" ,
56
56
"remark-cli" : " ^11.0.0" ,
57
57
"remark-preset-wooorm" : " ^9.0.0" ,
58
58
"type-coverage" : " ^2.0.0" ,
59
59
"typescript" : " ^5.0.0" ,
60
- "xo" : " ^0.54 .0"
60
+ "xo" : " ^0.55 .0"
61
61
},
62
62
"scripts" : {
63
63
"prepack" : " npm run build && npm run format" ,
64
64
"build" : " tsc --build --clean && tsc --build && type-coverage" ,
65
- "format" : " remark . -qfo && prettier . -w --loglevel warn && xo --fix" ,
65
+ "format" : " remark . -qfo && prettier . -w --log-level warn && xo --fix" ,
66
66
"test-api-prod" : " node --conditions production test/index.js" ,
67
67
"test-api-dev" : " node --conditions development test/index.js" ,
68
68
"test-api" : " npm run test-api-dev && npm run test-api-prod" ,
99
99
],
100
100
"prettier" : true ,
101
101
"rules" : {
102
+ "unicorn/prefer-at" : " off" ,
102
103
"unicorn/prefer-code-point" : " off"
103
104
}
104
105
}
Original file line number Diff line number Diff line change @@ -477,10 +477,10 @@ test('fixtures', async function (t) {
477
477
mdastExtensions : [ gfmAutolinkLiteralFromMarkdown ( ) ]
478
478
} )
479
479
480
- // @ts -expect-error: to do, remove when `to-hast` is released.
481
480
const hast = toHast ( mdast , { allowDangerousHtml : true } )
482
481
assert ( hast && hast . type === 'root' , 'expected root' )
483
482
483
+ // @ts -expect-error: to do, remove when `to-html` is released.
484
484
let actual = toHtml ( hast , {
485
485
allowDangerousHtml : true ,
486
486
entities : { useNamedReferences : true }
You can’t perform that action at this time.
0 commit comments