File tree Expand file tree Collapse file tree 3 files changed +197
-337
lines changed Expand file tree Collapse file tree 3 files changed +197
-337
lines changed Original file line number Diff line number Diff line change 1
1
import BenchTable from 'benchtable'
2
2
import cliProgress from 'cli-progress'
3
3
import * as fs from 'fs'
4
- import ReactMarkdown from 'react-markdown'
5
4
import SimpleMarkdown from 'simple-markdown'
6
5
import MarkdownIt from 'markdown-it'
7
6
import { compiler } from './dist'
@@ -22,7 +21,6 @@ let totalCycles
22
21
// add tests
23
22
suite
24
23
. addFunction ( 'markdown-to-jsx' , input => compiler ( input ) )
25
- . addFunction ( 'react-markdown' , input => new ReactMarkdown ( { source : input } ) )
26
24
. addFunction ( 'simple-markdown' , input =>
27
25
SimpleMarkdown . defaultReactOutput ( SimpleMarkdown . defaultBlockParse ( input ) )
28
26
)
Original file line number Diff line number Diff line change 48
48
"in-publish" : " ^2.0.0" ,
49
49
"jest" : " ^27.5.1" ,
50
50
"jest-serializer-html" : " ^7.0.0" ,
51
- "markdown-it" : " ^11.0.0 " ,
52
- "microbundle" : " ^0.13.0 " ,
51
+ "markdown-it" : " ^12.3.2 " ,
52
+ "microbundle" : " ^0.14.2 " ,
53
53
"microtime" : " ^3.0.0" ,
54
54
"mkdirp" : " ^1.0.4" ,
55
55
"polished" : " ^3.0.3" ,
56
- "preact" : " ^10.5.9 " ,
56
+ "preact" : " ^10.6.6 " ,
57
57
"prettier" : " ^2.5.1" ,
58
58
"react" : " ^16.13.1" ,
59
59
"react-dom" : " ^16.13.1" ,
60
- "react-markdown" : " ^4.0.3" ,
61
60
"rimraf" : " ^3.0.2" ,
62
61
"simple-markdown" : " ^0.7.2" ,
63
62
"size-limit" : " ^7.0.8" ,
You can’t perform that action at this time.
0 commit comments