🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

commonmark-react-renderer

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

commonmark-react-renderer - npm Package Compare versions

Comparing version

to
4.1.2

6

CHANGELOG.md

@@ -5,2 +5,8 @@ # Change Log

## [4.1.2] - 2016-03-12
### Changes
- Also join sibling nodes within paragraphs and similar (Espen Hovlandsdal)
## [4.1.1] - 2016-03-12

@@ -7,0 +13,0 @@

2

package.json
{
"name": "commonmark-react-renderer",
"description": "React renderer for CommonMark (rationalized Markdown)",
"version": "4.1.1",
"version": "4.1.2",
"keywords": [

@@ -6,0 +6,0 @@ "commonmark",

@@ -145,5 +145,9 @@ 'use strict';

props.children = props.children || (node.react && node.react.children);
props.literal = node.literal;
var children = props.children || (node.react && node.react.children);
if (Array.isArray(children)) {
props.children = children.reduce(reduceChildren, []) || null;
}
return props;

@@ -150,0 +154,0 @@ }