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

cosmos-db-writer-ssl-fixed-aad

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cosmos-db-writer-ssl-fixed-aad - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

5

dao/databaseDao.js

@@ -13,9 +13,10 @@ /**

const aadCredentials = config.cosmosdb.aadCredentials
const tokenProvider = config.cosmosdb.tokenProvider
if (config.environment === 'local') {
//const connectionPolicy = new cosmos.ConnectionPolicy();
//connectionPolicy.DisableSSLVerification = true;
return new CosmosClient({endpoint,aadCredentials});
return new CosmosClient({endpoint,tokenProvider});
}
else {
return new CosmosClient({endpoint,aadCredentials})
return new CosmosClient({endpoint,tokenProvider})
}

@@ -22,0 +23,0 @@ };

2

package.json

@@ -14,3 +14,3 @@ {

},
"version": "1.1.2"
"version": "1.1.3"
}
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