Socket
Socket
Sign inDemoInstall

caw

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

caw - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

2

index.js

@@ -25,3 +25,3 @@ 'use strict';

var uriProtocol = opts.protocol === 'https' ? 'https' : 'http';
var proxyProtocol = proxy.protocol === 'https' ? 'Https' : 'Http';
var proxyProtocol = proxy.protocol === 'https:' ? 'Https' : 'Http';
var port = proxy.port || (proxyProtocol === 'Https' ? 443 : 80);

@@ -28,0 +28,0 @@ var method = [uriProtocol, proxyProtocol].join('Over');

{
"name": "caw",
"version": "1.0.2",
"version": "1.1.0",
"description": "Construct HTTP/HTTPS agents for tunneling proxies",

@@ -13,3 +13,3 @@ "license": "MIT",

"scripts": {
"test": "xo && tap test.js -t2"
"test": "xo && tap test/test.js -t2"
},

@@ -35,2 +35,4 @@ "engines": {

"devDependencies": {
"proxyquire": "^1.6.0",
"sinon": "^1.15.4",
"tap": "^1.3.1",

@@ -37,0 +39,0 @@ "xo": "*"

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