Socket
Socket
Sign inDemoInstall

caccl-send-request

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

caccl-send-request - npm Package Compare versions

Comparing version 2.2.4 to 2.2.5

2

lib/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc