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

@osaas/client-db

Package Overview
Dependencies
Maintainers
0
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@osaas/client-db - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

9

lib/index.js

@@ -154,4 +154,3 @@ "use strict";

case 'postgres':
case 'mariadb':
case 'clickhouse': {
case 'mariadb': {
const token = await ctx.getServiceAccessToken(exports.DatabaseTypeToServiceId[type]);

@@ -171,2 +170,8 @@ const ports = await (0, client_core_1.getPortsForInstance)(ctx, exports.DatabaseTypeToServiceId[type], name, token);

}
case 'clickhouse': {
const url = new URL(instance.url);
url.username = opts.username || 'default';
url.password = opts.password || '';
return url.toString();
}
default:

@@ -173,0 +178,0 @@ throw new Error(`Unsupported database type: ${type}`);

{
"name": "@osaas/client-db",
"version": "0.5.0",
"version": "0.5.1",
"description": "Open Source Cloud Client SDK database library",

@@ -36,3 +36,3 @@ "author": "Eyevinn Open Source Cloud <osc@eyevinn.se>",

},
"gitHead": "4413b4785d4361bf7e3d82908e9b81683d41eca9"
"gitHead": "f2fd26e785fc80d629cab4916f3fd22e77726888"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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