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 3030 "@1stg/lib-config" : " ^0.5.5" ,
3131 "@1stg/tslint-config" : " ^0.8.5" ,
3232 "@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 " ,
3636 "@types/rebass" : " ^4.0.6" ,
3737 "@types/unist" : " ^2.0.3" ,
38- "cosmiconfig" : " ^6.0.0" ,
3938 "eslint-mdx" : " link:packages/eslint-mdx/src" ,
4039 "eslint-plugin-mdx" : " link:packages/eslint-plugin-mdx/src" ,
4140 "lerna" : " ^3.22.1" ,
4241 "npm-run-all" : " ^4.1.5" ,
4342 "react" : " ^16.13.1" ,
44- "ts-jest" : " ^26.1.4 " ,
43+ "ts-jest" : " ^26.2.0 " ,
4544 "ts-node" : " ^8.10.2" ,
46- "tslint" : " ^6.1.2 " ,
45+ "tslint" : " ^6.1.3 " ,
4746 "type-coverage" : " ^2.9.0" ,
4847 "typescript" : " ^3.9.7" ,
49- "yarn-deduplicate" : " ^2.1.0 "
48+ "yarn-deduplicate" : " ^2.1.1 "
5049 },
5150 "resolutions" : {
5251 "prettier" : " ^2.0.5"
Original file line number Diff line number Diff line change 3333 "eslint" : " >=5.0.0"
3434 },
3535 "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"
4141 }
4242}
Original file line number Diff line number Diff line change 3333 "eslint" : " >=5.0.0"
3434 },
3535 "dependencies" : {
36- "cosmiconfig" : " ^6 .0.0" ,
36+ "cosmiconfig" : " ^7 .0.0" ,
3737 "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" ,
4444 "vfile" : " ^4.1.1"
4545 },
4646 "optionalDependencies" : {
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { CosmiconfigResult } from 'cosmiconfig/dist/types'
55import remarkMdx from 'remark-mdx'
66import remarkParse from 'remark-parse'
77import remarkStringify from 'remark-stringify'
8- import unified , { Processor } from 'unified'
8+ import unified , { FrozenProcessor } from 'unified'
99
1010import { RemarkConfig } from './types'
1111
@@ -39,7 +39,7 @@ export const requirePkg = <T>(
3939}
4040
4141let searchSync : ( searchFrom ?: string ) => CosmiconfigResult
42- let remarkProcessor : Processor
42+ let remarkProcessor : FrozenProcessor
4343
4444export const getRemarkProcessor = ( searchFrom : string , isMdx : boolean ) => {
4545 if ( ! searchSync ) {
You can’t perform that action at this time.
0 commit comments