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 1.0.4 to 1.0.5

11

index.js

@@ -21,3 +21,3 @@ const axios = require('axios');

* @param {boolean} [ignoreSSLIssues=false] - if true, ignores SSL certificate
* issues
* issues. If host is localhost:8088, this will default to true
* @return {Promise.<CACCLErrror|object>} Returns { body, status, headers } on

@@ -49,2 +49,9 @@ * success, CACCLError on failure

// Default ignoreSSLIssues
const ignoreSSLIssues = (
options.ignoreSSLIssues !== undefined
? options.ignoreSSLIssues
: options.host === 'localhost:8088'
);
// Create data (only if not GET)

@@ -55,3 +62,3 @@ const data = (method !== 'GET' ? stringifiedParams : null);

const httpsAgent = (
options.ignoreSSLIssues
ignoreSSLIssues
? ignoreSSLIssuesAgent

@@ -58,0 +65,0 @@ : undefined

2

package.json
{
"name": "caccl-send-request",
"version": "1.0.4",
"version": "1.0.5",
"description": "The default request sender used throughout the CACCL project.",

@@ -5,0 +5,0 @@ "main": "index.js",

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