Socket
Socket
Sign inDemoInstall

tedious

Package Overview
Dependencies
Maintainers
8
Versions
227
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tedious - npm Package Compare versions

Comparing version 18.2.4 to 18.3.0

16

lib/connection.d.ts

@@ -10,2 +10,3 @@ /// <reference types="node" />

import { type SecureContextOptions } from 'tls';
import { type TokenCredential } from '@azure/core-auth';
import BulkLoad, { type Options as BulkLoadOptions, type Callback as BulkLoadCallback } from './bulk-load';

@@ -173,2 +174,12 @@ import Debug from './debug';

}
/** Structure that defines the options that are necessary to authenticate the Tedious.JS instance with an `@azure/identity` token credential. */
interface TokenCredentialAuthentication {
/** Unique designator for the type of authentication to be used. */
type: 'token-credential';
/** Set of configurations that are required or allowed with this authentication type. */
options: {
/** Credential object used to authenticate to the resource. */
credential: TokenCredential;
};
}
interface NtlmAuthentication {

@@ -206,3 +217,3 @@ type: 'ntlm';

}
export type ConnectionAuthentication = DefaultAuthentication | NtlmAuthentication | AzureActiveDirectoryPasswordAuthentication | AzureActiveDirectoryMsiAppServiceAuthentication | AzureActiveDirectoryMsiVmAuthentication | AzureActiveDirectoryAccessTokenAuthentication | AzureActiveDirectoryServicePrincipalSecret | AzureActiveDirectoryDefaultAuthentication;
export type ConnectionAuthentication = DefaultAuthentication | NtlmAuthentication | TokenCredentialAuthentication | AzureActiveDirectoryPasswordAuthentication | AzureActiveDirectoryMsiAppServiceAuthentication | AzureActiveDirectoryMsiVmAuthentication | AzureActiveDirectoryAccessTokenAuthentication | AzureActiveDirectoryServicePrincipalSecret | AzureActiveDirectoryDefaultAuthentication;
interface InternalConnectionConfig {

@@ -289,3 +300,3 @@ server: string;

}
type Authentication = DefaultAuthentication | NtlmAuthentication | AzureActiveDirectoryPasswordAuthentication | AzureActiveDirectoryMsiAppServiceAuthentication | AzureActiveDirectoryMsiVmAuthentication | AzureActiveDirectoryAccessTokenAuthentication | AzureActiveDirectoryServicePrincipalSecret | AzureActiveDirectoryDefaultAuthentication;
type Authentication = DefaultAuthentication | NtlmAuthentication | TokenCredentialAuthentication | AzureActiveDirectoryPasswordAuthentication | AzureActiveDirectoryMsiAppServiceAuthentication | AzureActiveDirectoryMsiVmAuthentication | AzureActiveDirectoryAccessTokenAuthentication | AzureActiveDirectoryServicePrincipalSecret | AzureActiveDirectoryDefaultAuthentication;
type AuthenticationType = Authentication['type'];

@@ -346,2 +357,3 @@ export interface ConnectionConfiguration {

* * `ntlm` :[[NtlmAuthentication]]
* * `token-credential`: [[CredentialChainAuthentication.options]]
* * `azure-active-directory-password` : [[AzureActiveDirectoryPasswordAuthentication.options]]

@@ -348,0 +360,0 @@ * * `azure-active-directory-access-token` : [[AzureActiveDirectoryAccessTokenAuthentication.options]]

3

package.json

@@ -30,3 +30,3 @@ {

"license": "MIT",
"version": "18.2.4",
"version": "18.3.0",
"main": "./lib/tedious.js",

@@ -45,2 +45,3 @@ "types": "./lib/tedious.d.ts",

"dependencies": {
"@azure/core-auth": "^1.7.2",
"@azure/identity": "^4.2.1",

@@ -47,0 +48,0 @@ "@azure/keyvault-keys": "^4.4.0",

Sorry, the diff of this file is too big to display

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