mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +08:00
deps: upgrade mark-twain
This commit is contained in:
parent
203627f4c7
commit
3c5c36c0d9
@ -105,7 +105,7 @@
|
||||
"less-loader": "^2.2.0",
|
||||
"lesshint-antd": "^1.2.1",
|
||||
"lodash": "^4.1.0",
|
||||
"mark-twain": "^0.2.0-beta",
|
||||
"mark-twain": "^0.2.0-beta.4",
|
||||
"nico-jsx": "~0.8.2",
|
||||
"postcss-loader": "^0.8.0",
|
||||
"pre-commit": "1.x",
|
||||
|
@ -34,7 +34,7 @@ exports.parseFileContent = R.pipe(
|
||||
|
||||
const parseBasicMeta = R.pipe(
|
||||
R.path(['1', 'children']),
|
||||
R.map((child) => R.split(/:\s?/, child.children[0].children)),
|
||||
R.map((child) => R.split(/:\s?/, child.children)),
|
||||
R.fromPairs
|
||||
);
|
||||
const parseEnglishTitle = R.path(['0', 'children']);
|
||||
|
Loading…
Reference in New Issue
Block a user