json-stringify-pretty-compact
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -0,1 +1,7 @@ | ||
### Version 1.0.4 (2017-04-29) ### | ||
- Fixed: String contents are no longer accidentally modified in some cases. | ||
Thanks to @powellquiring! | ||
### Version 1.0.3 (2017-03-30) ### | ||
@@ -2,0 +8,0 @@ |
@@ -73,3 +73,3 @@ // Copyright 2014, 2016 Simon Lydell | ||
// that case we don’t care since the output would be invalid anyway). | ||
var stringOrChar = /("(?:[^"]|\\.)*")|[:,]/g | ||
var stringOrChar = /("(?:[^\\"]|\\.)*")|[:,]/g | ||
@@ -76,0 +76,0 @@ function prettify (string) { |
{ | ||
"name": "json-stringify-pretty-compact", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"author": "Simon Lydell", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
6974