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

react-json-pretty

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-json-pretty - npm Package Compare versions

Comparing version 1.7.6 to 1.7.9

CHANGELOG.md

2

JSONPretty.jsx

@@ -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, '&lt;').replace(/>/g, '&gt;')

@@ -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, '&amp;').replace(/\\"([^,])/g, '&quot;$1').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(regLine, this._replace);
return text.replace(/&/g, '&amp;').replace(/\\"([^,])/g, '\\&quot;$1').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(regLine, this._replace);
},

@@ -50,0 +50,0 @@ render: function render() {

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