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

react-markdown

Package Overview
Dependencies
Maintainers
1
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 3.2.1 to 3.2.2

6

CHANGELOG.md

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

## 3.2.2 - 2018-02-26
### Fixes
* Fix language escaping in code blocks (Espen Hovlandsdal)
## 3.2.1 - 2018-02-21

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

2

lib/ast-to-react.js

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

case 'code':
assignDefined(props, { language: node.lang && node.lang.split(' ', 1)[0] });
assignDefined(props, { language: node.lang && node.lang.split(/\s/, 1)[0] });
break;

@@ -71,0 +71,0 @@ case 'inlineCode':

{
"name": "react-markdown",
"description": "Renders Markdown as React components",
"version": "3.2.1",
"version": "3.2.2",
"keywords": [

@@ -6,0 +6,0 @@ "markdown",

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