node-stringify
Advanced tools
Comparing version 0.0.13 to 0.0.14
@@ -14,3 +14,5 @@ var _ = require('underscore') | ||
if (_.isString(obj)) { return "'" + obj.replace(/'/g, "\\'") + "'" } | ||
if (_.isString(obj)) { | ||
return "'" + obj.replace(/'/g, "\\'").replace(/\n/g, '\\n') + "'" | ||
} | ||
@@ -17,0 +19,0 @@ if (_.isDate(obj)) { return 'new Date(' + obj.getTime() + ')' } |
{ | ||
"name": "node-stringify", | ||
"version": "0.0.13", | ||
"version": "0.0.14", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "Chiang Fu", |
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
2526
22