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 4.2.1 to 4.2.2

6

CHANGELOG.md

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

## 4.2.2 - 2019-09-03
### Fixes
- (Typings) Inline `RemarkParseOptions` for now (Espen Hovlandsdal)
## 4.2.1 - 2019-09-01

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

9

index.d.ts

@@ -11,3 +11,2 @@ // Type definitions for react-markdown > v3.3.0

import {Component, ReactElement, ReactNode, ReactType} from 'react'
import {RemarkParseOptions} from 'remark-parse'

@@ -29,2 +28,10 @@ declare class ReactMarkdown extends Component<ReactMarkdown.ReactMarkdownProps, {}> {}

interface RemarkParseOptions {
gfm: boolean
commonmark: boolean
footnotes: boolean
blocks: string[]
pedantic: boolean
}
export type NodeType =

@@ -31,0 +38,0 @@ | 'root'

2

package.json
{
"name": "react-markdown",
"description": "Renders Markdown as React components",
"version": "4.2.1",
"version": "4.2.2",
"keywords": [

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

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