2
0
mirror of https://github.com/tenrok/BBob.git synced 2026-06-11 18:02:26 +03:00

chore(*): update dependencies (#57)

Updated Rollup
Updated Babel
Fixed security problems with some dependencies
This commit is contained in:
Nikolay Kostyurin
2020-01-22 20:25:42 +02:00
committed by GitHub
parent cdc7f66e21
commit aac1ae0e81
52 changed files with 16569 additions and 7723 deletions
+1 -2
View File
@@ -2,8 +2,7 @@ import React from 'react';
import PropTypes from 'prop-types';
import { render } from './render';
const content = (children, plugins, options) => React.Children.map(children, child =>
(typeof child === 'string' ? render(child, plugins, options) : child));
const content = (children, plugins, options) => React.Children.map(children, (child) => (typeof child === 'string' ? render(child, plugins, options) : child));
const Component = ({
container,
+1 -1
View File
@@ -7,7 +7,7 @@ import { isTagNode, isStringNode } from '@bbob/plugin-helper';
const toAST = (source, plugins, options) => core(plugins)
.process(source, {
...options,
render: input => html.render(input, { stripTags: true }),
render: (input) => html.render(input, { stripTags: true }),
}).tree;
function tagToReactElement(node, index) {