compress-json
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -49,3 +49,3 @@ "use strict"; | ||
function decode(values, key) { | ||
if (key === '') { | ||
if (key === '' || key === '_') { | ||
return null; | ||
@@ -52,0 +52,0 @@ } |
@@ -118,3 +118,4 @@ "use strict"; | ||
const v = o[i]; | ||
acc += '|' + addValue(mem, v, o); | ||
const key = v === null ? '_' : addValue(mem, v, o); | ||
acc += '|' + key; | ||
} | ||
@@ -121,0 +122,0 @@ if (acc === 'a') { |
{ | ||
"name": "compress-json", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "convert JSON data to space efficient format", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
22952
542