react-json-pretty
Advanced tools
Comparing version 1.7.6 to 1.7.9
@@ -40,3 +40,3 @@ /* eslint-disable no-unused-vars */ | ||
return text.replace(/&/g, '&').replace(/\\"([^,])/g, '"$1') | ||
return text.replace(/&/g, '&').replace(/\\"([^,])/g, '\\"$1') | ||
.replace(/</g, '<').replace(/>/g, '>') | ||
@@ -43,0 +43,0 @@ .replace(regLine, this._replace); |
{ | ||
"name": "react-json-pretty", | ||
"version": "1.7.6", | ||
"version": "1.7.9", | ||
"description": "A code formatting tool for raw json data", | ||
@@ -12,2 +12,4 @@ "main": "src/JSONPretty.js", | ||
"prepush": "npm test", | ||
"release": "standard-version", | ||
"patch": "npm run release -- --release-as patch", | ||
"build-styl-monikai": "stylus --compress < JSONPretty.monikai.styl > src/JSONPretty.monikai.css", | ||
@@ -48,2 +50,3 @@ "build-styl-1337": "stylus --compress < JSONPretty.1337.styl > src/JSONPretty.1337.css", | ||
"react-test-renderer": "^15.5.4", | ||
"standard-version": "^4.4.0", | ||
"stylus": "^0.54.5", | ||
@@ -50,0 +53,0 @@ "webpack": "^2.4.1" |
@@ -106,39 +106,4 @@ # React JSON Pretty | ||
## Changelog | ||
### 1.7.6 | ||
1. Fix [issue 9](https://github.com/chenckang/react-json-pretty/issues/9) | ||
### 1.7.0 | ||
1. Add JSON formation properties —— `replacer` `space` | ||
2. Add class propertieds —— `themeClassName` | ||
3. Add .npmignore | ||
### 1.6.3 | ||
1. Add jest coverage | ||
2. Add eslint | ||
3. Add husky for git hook | ||
### 1.6.2 | ||
1. Add testcases(using jest) | ||
2. Add .travis.yml for travis ci | ||
### 1.6.1 | ||
1. Upgrade examples to depress warnings | ||
### 1.6.0 | ||
1. Use npm creat-react-class instead of using React.createClass to avoid react deprecated warning | ||
2. Peer Dependencies of react update to ">=15.5.0" | ||
3. Build all stylus files to css files | ||
4. Upgrade examples(use `npm link` command to add react-json-pretty as dependencies) | ||
5. Fix circular json problems in examples | ||
## License | ||
MIT (http://www.opensource.org/licenses/mit-license.php) |
@@ -47,3 +47,3 @@ 'use strict'; | ||
return text.replace(/&/g, '&').replace(/\\"([^,])/g, '"$1').replace(/</g, '<').replace(/>/g, '>').replace(regLine, this._replace); | ||
return text.replace(/&/g, '&').replace(/\\"([^,])/g, '\\"$1').replace(/</g, '<').replace(/>/g, '>').replace(regLine, this._replace); | ||
}, | ||
@@ -50,0 +50,0 @@ render: function render() { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16555
15
17
109