Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

client-request

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

client-request - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

2

package.json
{
"name": "client-request",
"version": "2.1.0",
"version": "2.2.0",
"description": "A zero-dependency stripped-down http client request module based on the http://npm.im/request API",

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

@@ -10,2 +10,14 @@ "use strict"

var CORE_HTTPS_OPTS = [
'pfx',
'key',
'cert',
'ca',
'ciphers',
'rejectUnauthorized',
'secureProtocol',
'passphrase',
'servername'
]
var clientId = require("crypto").randomBytes(3).toString("hex")

@@ -179,3 +191,3 @@

if (protocol === 'https:') {
["pfx", "key", "cert", "ca", "ciphers", "rejectUnauthorized", "secureProtocol"].forEach(function ea(key) {
CORE_HTTPS_OPTS.forEach(function ea(key) {
if (options[key]) {

@@ -182,0 +194,0 @@ opts[key] = options[key]

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