File tree 2 files changed +1
-3
lines changed
2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 1
1
import { decodeEntity } from 'parse-entities/decode-entity.js'
2
- import repeatString from 'repeat-string'
3
2
import { stringifyEntitiesLight } from 'stringify-entities'
4
3
import { visitParents } from 'unist-util-visit-parents'
5
4
import containerFlow from 'mdast-util-to-markdown/lib/util/container-flow.js'
@@ -308,7 +307,7 @@ function fence(node) {
308
307
size = 1
309
308
}
310
309
311
- return repeatString ( ':' , size )
310
+ return ':' . repeat ( size )
312
311
313
312
function onvisit ( node , parents ) {
314
313
let index = parents . length
Original file line number Diff line number Diff line change 35
35
"dependencies" : {
36
36
"mdast-util-to-markdown" : " ^0.6.0" ,
37
37
"parse-entities" : " ^3.0.0" ,
38
- "repeat-string" : " ^1.0.0" ,
39
38
"stringify-entities" : " ^4.0.0" ,
40
39
"unist-util-visit-parents" : " ^4.0.0"
41
40
},
You can’t perform that action at this time.
0 commit comments