You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

v-connection-string

Package Overview
Dependencies
Maintainers
0
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

v-connection-string - npm Package Compare versions

Comparing version

to
1.1.1

2

index.d.ts
/**
* @license
* Copyright (c) 2022-2023 Open Text.
* Copyright (c) 2022-2024 Open Text.
*

@@ -5,0 +5,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

@@ -1,2 +0,2 @@

// Copyright (c) 2022-2023 Open Text.
// Copyright (c) 2022-2024 Open Text.
//

@@ -22,3 +22,3 @@ // Licensed under the Apache License, Version 2.0 (the "License");

//Original work Copyright (c) 2010-2014 Brian Carlson (brian.m.carlson@gmail.com)
//Modified work Copyright (c) 2022-2023 Open Text.
//Modified work Copyright (c) 2022-2024 Open Text.

@@ -60,3 +60,6 @@ //parses a connection string

return config
} else if (result.protocol !== 'vertica:') {
throw new Error("Invalid connection string. Only vertica:// scheme is supported.");
}
if (!config.host) {

@@ -63,0 +66,0 @@ // Only set the host if there is no equivalent query param.

{
"name": "v-connection-string",
"version": "1.1.0",
"version": "1.1.1",
"description": "Functions for dealing with a Vertica connection string",

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