File tree Expand file tree Collapse file tree 5 files changed +162
-193
lines changed Expand file tree Collapse file tree 5 files changed +162
-193
lines changed Original file line number Diff line number Diff line change 30
30
"@1stg/lib-config" : " ^0.5.5" ,
31
31
"@1stg/tslint-config" : " ^0.8.5" ,
32
32
"@types/eslint" : " ^7.2.0" ,
33
- "@types/jest" : " ^26.0.8 " ,
34
- "@types/node" : " ^14.0.27 " ,
35
- "@types/react" : " ^16.9.44 " ,
33
+ "@types/jest" : " ^26.0.10 " ,
34
+ "@types/node" : " ^14.6.0 " ,
35
+ "@types/react" : " ^16.9.46 " ,
36
36
"@types/rebass" : " ^4.0.6" ,
37
37
"@types/unist" : " ^2.0.3" ,
38
- "cosmiconfig" : " ^6.0.0" ,
39
38
"eslint-mdx" : " link:packages/eslint-mdx/src" ,
40
39
"eslint-plugin-mdx" : " link:packages/eslint-plugin-mdx/src" ,
41
40
"lerna" : " ^3.22.1" ,
42
41
"npm-run-all" : " ^4.1.5" ,
43
42
"react" : " ^16.13.1" ,
44
- "ts-jest" : " ^26.1.4 " ,
43
+ "ts-jest" : " ^26.2.0 " ,
45
44
"ts-node" : " ^8.10.2" ,
46
- "tslint" : " ^6.1.2 " ,
45
+ "tslint" : " ^6.1.3 " ,
47
46
"type-coverage" : " ^2.9.0" ,
48
47
"typescript" : " ^3.9.7" ,
49
- "yarn-deduplicate" : " ^2.1.0 "
48
+ "yarn-deduplicate" : " ^2.1.1 "
50
49
},
51
50
"resolutions" : {
52
51
"prettier" : " ^2.0.5"
Original file line number Diff line number Diff line change 33
33
"eslint" : " >=5.0.0"
34
34
},
35
35
"dependencies" : {
36
- "espree" : " ^7.1 .0" ,
37
- "remark-mdx" : " ^1.6.5 " ,
38
- "remark-parse" : " ^8.0.2 " ,
39
- "tslib" : " ^2.0.0 " ,
40
- "unified" : " ^9.0 .0"
36
+ "espree" : " ^7.2 .0" ,
37
+ "remark-mdx" : " ^1.6.16 " ,
38
+ "remark-parse" : " ^8.0.3 " ,
39
+ "tslib" : " ^2.0.1 " ,
40
+ "unified" : " ^9.1 .0"
41
41
}
42
42
}
Original file line number Diff line number Diff line change 33
33
"eslint" : " >=5.0.0"
34
34
},
35
35
"dependencies" : {
36
- "cosmiconfig" : " ^6 .0.0" ,
36
+ "cosmiconfig" : " ^7 .0.0" ,
37
37
"eslint-mdx" : " ^1.8.1" ,
38
- "eslint-plugin-react" : " ^7.20.0 " ,
39
- "remark-mdx" : " ^1.6.5 " ,
40
- "remark-parse" : " ^8.0.2 " ,
41
- "remark-stringify" : " ^8.0.0 " ,
42
- "tslib" : " ^2.0.0 " ,
43
- "unified" : " ^9.0 .0" ,
38
+ "eslint-plugin-react" : " ^7.20.6 " ,
39
+ "remark-mdx" : " ^1.6.16 " ,
40
+ "remark-parse" : " ^8.0.3 " ,
41
+ "remark-stringify" : " ^8.1.1 " ,
42
+ "tslib" : " ^2.0.1 " ,
43
+ "unified" : " ^9.1 .0" ,
44
44
"vfile" : " ^4.1.1"
45
45
},
46
46
"optionalDependencies" : {
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { CosmiconfigResult } from 'cosmiconfig/dist/types'
5
5
import remarkMdx from 'remark-mdx'
6
6
import remarkParse from 'remark-parse'
7
7
import remarkStringify from 'remark-stringify'
8
- import unified , { Processor } from 'unified'
8
+ import unified , { FrozenProcessor } from 'unified'
9
9
10
10
import { RemarkConfig } from './types'
11
11
@@ -39,7 +39,7 @@ export const requirePkg = <T>(
39
39
}
40
40
41
41
let searchSync : ( searchFrom ?: string ) => CosmiconfigResult
42
- let remarkProcessor : Processor
42
+ let remarkProcessor : FrozenProcessor
43
43
44
44
export const getRemarkProcessor = ( searchFrom : string , isMdx : boolean ) => {
45
45
if ( ! searchSync ) {
You can’t perform that action at this time.
0 commit comments