react-markdown
Advanced tools
Comparing version 5.0.0 to 5.0.1
@@ -5,2 +5,7 @@ # Change Log | ||
## 5.0.1 - 2020-10-21 | ||
* [`c3dc5ee`](https://github.com/remarkjs/react-markdown/commit/c3dc5ee) | ||
Fix to not crash on empty text nodes | ||
## 5.0.0 - 2020-10-19 | ||
@@ -7,0 +12,0 @@ |
@@ -43,4 +43,6 @@ /* eslint-disable react/prop-types, react/no-multi-comp */ | ||
function TextRenderer(props) { | ||
var children = props.children || ''; | ||
/* istanbul ignore next - `span` is a fallback for old React. */ | ||
return supportsStringRender ? props.children : createElement('span', null, props.children); | ||
return supportsStringRender ? children : createElement('span', null, children); | ||
} | ||
@@ -47,0 +49,0 @@ |
{ | ||
"name": "react-markdown", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "Render Markdown as React components", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -15,9 +15,2 @@ # react-markdown | ||
## Note | ||
We’re currently really busy updating this project! | ||
See [GH-470](https://github.com/remarkjs/react-markdown/issues/470) for more | ||
info. | ||
Expect a new release (documented below) in a couple days! | ||
## Install | ||
@@ -149,3 +142,3 @@ | ||
This example shows how to use a plugin. | ||
In this case, [`remark-gfm`][gfm], which adds support for which adds support for | ||
In this case, [`remark-gfm`][gfm], which adds support for | ||
strikethrough, tables, tasklists and URLs directly: | ||
@@ -152,0 +145,0 @@ |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
1316
0
176015
502