Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
processNode: function(node, children, index) {
// eslint-disable-line react/display-name
const elementProps = {
key: "anchor-" + keyIndex++,
target: "_blank",
rel: "noreferrer noopener"
};
node.attribs = combine(node.attribs, elementProps);
return utils.createElement(node, index, node.data, children);
}
});