Socket
Socket
Sign inDemoInstall

snowflake-sdk

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

snowflake-sdk - npm Package Compare versions

Comparing version 1.6.15 to 1.6.16

14

lib/connection/connection_config.js

@@ -182,2 +182,3 @@ /*

var proxyProtocol = options.proxyProtocol;
var noProxy = options.noProxy;

@@ -204,2 +205,9 @@ // if we're running in node and some proxy information is specified

if (Util.exists(noProxy))
{
// check for invalid noProxy
Errors.checkArgumentValid(Util.isString(noProxy),
ErrorCodes.ERR_CONN_CREATE_INVALID_NO_PROXY);
}
if (Util.exists(proxyUser) || Util.exists(proxyPassword))

@@ -229,3 +237,4 @@ {

password: proxyPassword,
protocol: proxyProtocol
protocol: proxyProtocol,
noProxy: noProxy
};

@@ -238,3 +247,4 @@ }

host: proxyHost,
port: proxyPort
port: proxyPort,
noProxy: noProxy
};

@@ -241,0 +251,0 @@ }

@@ -60,2 +60,3 @@ /*

exports[404035] = 'Invalid proxyPassword. The specified value must be a string.';
exports[404036] = 'Invalid noProxy. The specified value must be a string.';

@@ -62,0 +63,0 @@ // 405001

@@ -65,2 +65,3 @@ /*

codes.ERR_CONN_CREATE_INVALID_PROXY_PASS = 404035;
codes.ERR_CONN_CREATE_INVALID_NO_PROXY = 404036;

@@ -67,0 +68,0 @@ // 405001

@@ -11,2 +11,3 @@ /*

const HttpAgent = require('http').Agent;
const Logger = require('../logger');

@@ -53,3 +54,19 @@ /**

let options;
var bypassProxy = false;
if (proxy && proxy.noProxy)
{
var bypassList = proxy.noProxy.split("|");
for (let i = 0; i < bypassList.length; i++)
{
host = bypassList[i].trim();
host = host.replace("*", ".*?");
var matches = url.match(host);
if (matches) {
Logger.getInstance().debug("bypassing proxy for %s", url);
bypassProxy = true;
}
}
}
if (isHttps && mock)

@@ -65,3 +82,3 @@ {

{
if (proxy)
if (proxy && !bypassProxy)
{

@@ -86,3 +103,3 @@ agentClass = HttpsProxyAgent;

}
else if (proxy)
else if (proxy && !bypassProxy)
{

@@ -89,0 +106,0 @@ options =

4

package.json
{
"name": "snowflake-sdk",
"version": "1.6.15",
"version": "1.6.16",
"description": "Node.js driver for Snowflake",

@@ -25,3 +25,3 @@ "dependencies": {

"mock-require": "^3.0.3",
"moment": "^2.29.3",
"moment": "^2.29.4",
"moment-timezone": "^0.5.15",

@@ -28,0 +28,0 @@ "@techteamer/ocsp": "1.0.0",

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