File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 56
56
"parse-english" : " ^5.0.0" ,
57
57
"parse-latin" : " ^5.0.0" ,
58
58
"prettier" : " ^2.0.0" ,
59
- "rehype" : " ^11 .0.0" ,
59
+ "rehype" : " ^12 .0.0" ,
60
60
"remark-cli" : " ^9.0.0" ,
61
61
"remark-preset-wooorm" : " ^8.0.0" ,
62
62
"rimraf" : " ^3.0.0" ,
Original file line number Diff line number Diff line change 1
1
import fs from 'node:fs'
2
2
import path from 'node:path'
3
3
import test from 'tape'
4
- import rehype from 'rehype'
4
+ import { rehype } from 'rehype'
5
5
import { VFile } from 'vfile'
6
6
// @ts -expect-error: to do type.
7
7
import { ParseLatin } from 'parse-latin'
@@ -193,7 +193,6 @@ test('Fixtures', (t) => {
193
193
input = path . join ( root , files [ index ] , 'input.html' )
194
194
output = path . join ( root , files [ index ] , 'output.json' )
195
195
file = new VFile ( fs . readFileSync ( input ) )
196
- // @ts -ignore Assume hast.
197
196
actual = toNlcst ( rehype ( ) . parse ( file ) , file , ParseLatin )
198
197
199
198
try {
You can’t perform that action at this time.
0 commit comments