karl-common-util
Advanced tools
Comparing version 1.4.8 to 1.4.9
@@ -97,3 +97,10 @@ "use strict"; | ||
v = v.map(function (d) { | ||
return encodeURI(d); | ||
if ((typeof d === "undefined" ? "undefined" : _typeof(d)) === "object") { | ||
for (var k1 in d) { | ||
d[k1] = encodeURI(k1); | ||
} | ||
return d; | ||
} else { | ||
return encodeURI(d); | ||
} | ||
}); | ||
@@ -100,0 +107,0 @@ } |
{ | ||
"name": "karl-common-util", | ||
"version": "1.4.8", | ||
"version": "1.4.9", | ||
"description": "karl common lib for client and server", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -61,3 +61,10 @@ import "isomorphic-fetch" | ||
v = v.map(d => { | ||
return encodeURI(d) | ||
if (typeof (d) === "object") { | ||
for (let k1 in d) { | ||
d[k1] = encodeURI(k1) | ||
} | ||
return d | ||
} else { | ||
return encodeURI(d) | ||
} | ||
}) | ||
@@ -64,0 +71,0 @@ } |
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
62356
1502