New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

azure-kusto-data

Package Overview
Dependencies
Maintainers
2
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

azure-kusto-data - npm Package Compare versions

Comparing version

to
0.3.3

2

package.json
{
"name": "azure-kusto-data",
"version": "0.3.2",
"version": "0.3.3",
"description": "Azure Data Explorer Query SDK",

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

@@ -18,6 +18,6 @@

let authority = kcsb.authorityId || "common";
const authority = kcsb.authorityId || "common";
let url;
// support node compatability
// support node compatibility
try {

@@ -30,4 +30,9 @@ url = new URL(kcsb.dataSource);

const aadAuthorityUri = process.env.AadAuthorityUri;
const fullAuthorityUri = aadAuthorityUri ?
aadAuthorityUri + (aadAuthorityUri.endsWith("/") ? "" : "/") + authority
: `https://login.microsoftonline.com/${authority}`;
this.kustoCluster = `${url.protocol}//${url.hostname}`;
this.adalContext = new AuthenticationContext(`https://login.microsoftonline.com/${authority}`);
this.adalContext = new AuthenticationContext(fullAuthorityUri);
if (!!kcsb.aadUserId && !!kcsb.password) {

@@ -34,0 +39,0 @@ this.authMethod = AuthenticationMethod.username;