caccl-send-request
Advanced tools
Comparing version 2.2.4 to 2.2.5
@@ -91,3 +91,3 @@ "use strict"; | ||
var key = _a[0], val = _a[1]; | ||
if (typeof val === 'object') { | ||
if (typeof val === 'object' && !Array.isArray(val)) { | ||
params[key] = JSON.stringify(val); | ||
@@ -94,0 +94,0 @@ } |
{ | ||
"name": "caccl-send-request", | ||
"version": "2.2.4", | ||
"version": "2.2.5", | ||
"description": "The default request sender used throughout the CACCL project.", | ||
@@ -39,5 +39,5 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"caccl-error": "^2.2.4", | ||
"caccl-error": "^2.2.5", | ||
"qs": "^6.9.6" | ||
} | ||
} |
@@ -63,3 +63,3 @@ // Import libs | ||
Object.entries(opts.params).forEach(([key, val]) => { | ||
if (typeof val === 'object') { | ||
if (typeof val === 'object' && !Array.isArray(val)) { | ||
(params as any)[key] = JSON.stringify(val); | ||
@@ -66,0 +66,0 @@ } else { |
Sorry, the diff of this file is not supported yet
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
23981
Updatedcaccl-error@^2.2.5