chore(deps): lock file maintenance (#3428)

* chore(deps): lock file maintenance

* fix: don't add undefined children property

* chore: add missing axios dependency

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: erezrokah <erezrokah@users.noreply.github.com>
This commit is contained in:
renovate[bot] 2020-03-16 12:38:10 +01:00 committed by GitHub
parent 69c2a7df9c
commit d812eecc51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 940 additions and 1178 deletions

View File

@ -103,6 +103,7 @@
"@typescript-eslint/eslint-plugin": "^2.9.0",
"@typescript-eslint/parser": "^2.9.0",
"all-contributors-cli": "^6.0.0",
"axios": "^0.19.2",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^11.0.0-beta.2",
"babel-jest": "^24.5.0",

View File

@ -243,7 +243,7 @@ export default function remarkEscapeMarkdownEntities() {
*/
if (has(node.data, 'shortcode')) return node;
const children = node.children && node.children.map(transform);
const children = node.children ? { children: node.children.map(transform) } : {};
/**
* Escape characters in text and html nodes only. We store a lot of normal
@ -255,13 +255,13 @@ export default function remarkEscapeMarkdownEntities() {
* common characters.
*/
const value = index === 0 ? escapeAllChars(node.value) : escapeCommonChars(node.value);
return { ...node, value, children };
return { ...node, value, ...children };
}
/**
* Always return nodes with recursively mapped children.
*/
return { ...node, children };
return { ...node, ...children };
};
return transform;

File diff suppressed because it is too large Load Diff

1244
yarn.lock

File diff suppressed because it is too large Load Diff