react-markdown-github
Advanced tools
Comparing version
# `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'; |
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
43616
0.55%0
-100%22
4.76%