🚀 Socket Launch Week 🚀 Day 5: Introducing Socket Fix.Learn More →

react-markdown-github

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-markdown-github - npm Package Compare versions

Comparing version

to
3.0.1

# `react-markdown-github`
### 3.0.1
- [#8] Add ReactMarkdownGithub component as a default export
- [#8] Fixing babel output
### 3.0.0

@@ -31,1 +36,3 @@

[#5]: https://github.com/godaddy/react-markdown-github/pull/5
[#4]: https://github.com/godaddy/react-markdown-github/pull/4
[#8]: https://github.com/godaddy/react-markdown-github/pull/8
{
"name": "react-markdown-github",
"description": "React component that renders Markdown similarly to Github's formatting",
"version": "3.0.0",
"version": "3.0.1",
"main": "./lib/index.js",

@@ -19,3 +19,3 @@ "browser": "./lib/index.js",

"lint": "eslint-godaddy-react src/*.js test/*.js",
"prepublishOnly": "mkdir -p lib && babel -d ./lib src/*.js",
"prepublishOnly": "rimraf lib && mkdir -p lib && babel -d lib src",
"pretest": "npm run lint",

@@ -60,3 +60,4 @@ "test": "nyc --reporter=text --reporter=json-summary npm run test:mocha",

"react-dom": "^16.3.2",
"react-test-renderer": "^16.3.2"
"react-test-renderer": "^16.3.2",
"rimraf": "^2.6.2"
},

@@ -63,0 +64,0 @@ "dependencies": {

@@ -5,4 +5,4 @@ import ReactMarkdownGithub from './component.js';

export {
ReactMarkdownGithub,
ReactMarkdownGithub as default,
GithubSlugify
};
import React from 'react';
import { ReactMarkdownGithub } from '../src';
import ReactMarkdownGithub from '../src';
import { mount } from 'enzyme';

@@ -4,0 +4,0 @@ import assume from 'assume';