Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-markdown

Package Overview
Dependencies
Maintainers
2
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-markdown - npm Package Compare versions

Comparing version 5.0.2 to 5.0.3

14

changelog.md

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

## 5.0.3 - 2020-10-23
* [`bb0bdde`](https://github.com/remarkjs/react-markdown/commit/bb0bdde)
Unlock peer dependency on React to allow v17
* [`24e42bd`](https://github.com/remarkjs/react-markdown/commit/24e42bd)
Fix exception on missing element from `html-to-react`
* [`3d363e9`](https://github.com/remarkjs/react-markdown/commit/3d363e9)
Fix umd browser build
## 5.0.2 - 2020-10-23
* [`4dadaba`](https://github.com/remarkjs/react-markdown/commit/4dadaba)
Fix to allow combining `allowedTypes`, `unwrapDisallowed` in types
## 5.0.1 - 2020-10-21

@@ -7,0 +21,0 @@

2

lib/ast-to-react.js

@@ -206,3 +206,3 @@ 'use strict';

props.skipHtml = opts.skipHtml;
props.element = mergeNodeChildren(node, parsedChildren);
props.element = node.element ? mergeNodeChildren(node, parsedChildren) : null;
break;

@@ -209,0 +209,0 @@ }

{
"name": "react-markdown",
"version": "5.0.2",
"version": "5.0.3",
"description": "Render Markdown as React components",

@@ -52,4 +52,4 @@ "license": "MIT",

"peerDependencies": {
"@types/react": "^15.0.0 || ^16.0.0",
"react": "^15.0.0 || ^16.0.0"
"@types/react": ">=16",
"react": ">=16"
},

@@ -62,5 +62,5 @@ "devDependencies": {

"@rollup/plugin-babel": "^5.0.0",
"@rollup/plugin-commonjs": "^15.0.0",
"@rollup/plugin-commonjs": "^16.0.0",
"@rollup/plugin-json": "^4.0.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"@rollup/plugin-node-resolve": "^10.0.0",
"@rollup/plugin-replace": "^2.0.0",

@@ -67,0 +67,0 @@ "@types/react": "^16.0.0",

@@ -437,5 +437,5 @@ # react-markdown

[build-badge]: https://img.shields.io/travis/remarkjs/react-markdown/main.svg
[build-badge]: https://github.com/remarkjs/react-markdown/workflows/main/badge.svg
[build]: https://travis-ci.org/remarkjs/react-markdown
[build]: https://github.com/remarkjs/react-markdown/actions

@@ -442,0 +442,0 @@ [coverage-badge]: https://img.shields.io/codecov/c/github/remarkjs/react-markdown.svg

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc