Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/tedious

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/tedious - npm Package Compare versions

Comparing version 2.6.1 to 3.0.0

65

tedious/index.d.ts

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

// Type definitions for tedious 2.6.2
// Type definitions for tedious 3.0.0
// Project: http://tediousjs.github.io/tedious/

@@ -6,2 +6,3 @@ // Definitions by: Rogier Schouten <https://github.com/rogierschouten>

// Suraiya Hameed <https://github.com/v-suhame>
// Guilherme Amorim <https://github.com/guiampm>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -262,3 +263,3 @@

/**
* Application name used for identifying a specific application in profiling, logging or tracing tools of SQL Server. (default: Tedious)
* Application name used for identifying a specific application in profiling, logging or tracing tools of SQL Server. (default: Tedious)
*/

@@ -268,3 +269,3 @@ appName?: string;

/**
* Number of milliseconds before retrying to establish connection, in case of transient failure. (default: 500)
* Number of milliseconds before retrying to establish connection, in case of transient failure. (default: 500)
*/

@@ -279,3 +280,3 @@ connectionRetryInterval?: number;

/**
* A string representing position of month, day and year in temporal datatypes. (default: mdy)
* A string representing position of month, day and year in temporal datatypes. (default: mdy)
*/

@@ -285,3 +286,3 @@ dateFormat?: string;

/**
* A boolean, controls the way null values should be used during comparison operation. (default: true)
* A boolean, controls the way null values should be used during comparison operation. (default: true)
*/

@@ -291,3 +292,3 @@ enableAnsiNull?: boolean;

/**
* If true, SET ANSI_NULL_DFLT_ON ON will be set in the initial sql. This means new columns will be nullable by default. See the T-SQL documentation for more details. (Default: true).
* If true, SET ANSI_NULL_DFLT_ON ON will be set in the initial sql. This means new columns will be nullable by default. See the T-SQL documentation for more details. (Default: true).
*/

@@ -297,3 +298,3 @@ enableAnsiNullDefault?: boolean;

/**
* A boolean, controls if padding should be applied for values shorter than the size of defined column. (default: true)
* A boolean, controls if padding should be applied for values shorter than the size of defined column. (default: true)
*/

@@ -303,3 +304,3 @@ enableAnsiPadding?: boolean;

/**
* If true, SQL Server will follow ISO standard behavior during various error conditions. For details, see documentation. (default: true)
* If true, SQL Server will follow ISO standard behavior during various error conditions. For details, see documentation. (default: true)
*/

@@ -309,3 +310,3 @@ enableAnsiWarnings?: boolean;

/**
* A boolean, determines if query execution should be terminated during overflow or divide-by-zero error. (default: false)
* A boolean, determines if query execution should be terminated during overflow or divide-by-zero error. (default: false)
*/

@@ -315,3 +316,3 @@ enableArithAbort?: boolean;

/**
* A boolean, determines if concatenation with NULL should result in NULL or empty string value, more details in documentation. (default: true)
* A boolean, determines if concatenation with NULL should result in NULL or empty string value, more details in documentation. (default: true)
*/

@@ -321,3 +322,3 @@ enableConcatNullYieldsNull?: boolean;

/**
* A boolean, controls whether cursor should be closed, if the transaction opening it gets committed or rolled back. (default: false)
* A boolean, controls whether cursor should be closed, if the transaction opening it gets committed or rolled back. (default: false)
*/

@@ -327,3 +328,3 @@ enableCursorCloseOnCommit?: boolean;

/**
* A boolean, sets the connection to either implicit or autocommit transaction mode. (default: false)
* A boolean, sets the connection to either implicit or autocommit transaction mode. (default: false)
*/

@@ -333,3 +334,3 @@ enableImplicitTransactions?: boolean;

/**
* If false, error is not generated during loss of precession. (default: false)
* If false, error is not generated during loss of precession. (default: false)
*/

@@ -339,3 +340,3 @@ enableNumericRoundabort?: boolean;

/**
* If true, characters enclosed in single quotes are treated as literals and those enclosed double quotes are treated as identifiers. (default: true)
* If true, characters enclosed in single quotes are treated as literals and those enclosed double quotes are treated as identifiers. (default: true)
*/

@@ -416,3 +417,3 @@ enableQuotedIdentifier?: boolean;

/**
* The request has been prepared and can be used in subsequent calls to execute and unprepare.
* The request has been prepared and can be used in subsequent calls to execute and unprepare.
*/

@@ -422,8 +423,8 @@ on(event: 'prepared', listener: () => void):this;

/**
* The request encountered an error and has not been prepared.
* The request encountered an error and has not been prepared.
*/
on(event: 'error', listener: (err: Error) => void):this;
/**
* This is the final event emitted by a request. This is emitted after the callback passed in a request is called.
* This is the final event emitted by a request. This is emitted after the callback passed in a request is called.
*/

@@ -440,3 +441,3 @@ on(event: 'requestCompleted', listener: () => void):this;

*/
on(event: 'done', listener: (error: Error, more: boolean, rows: any[]) => void):this;
on(event: 'done', listener: (rowCount: number, more: boolean, rows: any[]) => void):this;

@@ -446,3 +447,3 @@ /**

*/
on(event: 'doneInProc', listener: (error: Error, more: boolean, returnStatus: any, rows: any[]) => void):this;
on(event: 'doneInProc', listener: (rowCount: number, more: boolean, rows: any[]) => void):this;

@@ -452,3 +453,3 @@ /**

*/
on(event: 'doneProc', listener: (error: Error, more: boolean, rows: any[]) => void):this;
on(event: 'doneProc', listener: (rowCount: number, more: boolean, returnStatus: any, rows: any[]) => void):this;

@@ -464,5 +465,5 @@ /**

* @event 'columnMetadata' This event, describing result set columns, will be emitted before row events are emitted. This event may be emited multiple times when more than one recordset is produced by the statement.
* @event 'prepared' The request has been prepared and can be used in subsequent calls to execute and unprepare.
* @event 'error' The request encountered an error and has not been prepared.
* @event 'requestCompleted' This is the final event emitted by a request. This is emitted after the callback passed in a request is called.
* @event 'prepared' The request has been prepared and can be used in subsequent calls to execute and unprepare.
* @event 'error' The request encountered an error and has not been prepared.
* @event 'requestCompleted' This is the final event emitted by a request. This is emitted after the callback passed in a request is called.
* @event 'row' A row resulting from execution of the SQL statement

@@ -505,3 +506,3 @@ * @event 'done' All rows from a result set have been provided (through row events). This token is used to indicate the completion of a SQL statement. As multiple SQL statements can be sent to the server in a single SQL batch, multiple done events can be generated. An done event is emited for each SQL statement in the SQL batch except variable declarations. For execution of SQL statements within stored procedures, doneProc and doneInProc events are used in place of done events.

/**
* Temporarily suspends the flow of data from the database. No more 'row' events will be emitted until request.resume() is called.
* Temporarily suspends the flow of data from the database. No more 'row' events will be emitted until request.resume() is called.
*/

@@ -511,3 +512,3 @@ pause():void;

/**
* Resumes the flow of data from the database.
* Resumes the flow of data from the database.
*/

@@ -601,3 +602,3 @@ resume():void;

on(event: 'error', listener: (err: Error) => void ):this;
/**

@@ -607,3 +608,3 @@ * A debug message is available. It may be logged or ignored.

on(event: 'debug', listener: (messageText: string) => void ):this;
/**

@@ -613,3 +614,3 @@ * The server has issued an information message.

on(event: 'infoMessage', listener: (info: InfoObject) => void ):this;
/**

@@ -619,3 +620,3 @@ * The server has issued an error message.

on(event: 'errorMessage', listener: (err: Error) => void ):this;
/**

@@ -625,3 +626,3 @@ * The server has reported that the active database has changed. This may be as a result of a successful login, or a use statement.

on(event: 'databaseChange', listener: (databaseName: string) => void ):this;
/**

@@ -631,3 +632,3 @@ * The server has reported that the language has changed.

on(event: 'languageChange', listener: (languageName: string) => void ):this;
/**

@@ -634,0 +635,0 @@ * The server has reported that the charset has changed.

{
"name": "@types/tedious",
"version": "2.6.1",
"version": "3.0.0",
"description": "TypeScript definitions for tedious",

@@ -21,16 +21,22 @@ "license": "MIT",

"githubUsername": "v-suhame"
},
{
"name": "Guilherme Amorim",
"url": "https://github.com/guiampm",
"githubUsername": "guiampm"
}
],
"main": "",
"types": "index",
"repository": {
"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/tedious"
},
"scripts": {},
"dependencies": {
"@types/events": "*",
"@types/node": "*"
},
"typesPublisherContentHash": "8cd14bf15ff0358f9cca3c1c8e4a6d5445841df286cf26bbe79d38f728370fcc",
"typesPublisherContentHash": "cb619797359b496488650327c8e06ec99069ff10efee27d4e1d26a66bfc0579b",
"typeScriptVersion": "2.0"
}

@@ -5,3 +5,3 @@ # Installation

# Summary
This package contains type definitions for tedious (http://tediousjs.github.io/tedious/).
This package contains type definitions for tedious ( http://tediousjs.github.io/tedious/ ).

@@ -12,7 +12,7 @@ # Details

Additional Details
* Last updated: Fri, 06 Jul 2018 00:07:02 GMT
* Dependencies: events, node
* Last updated: Mon, 25 Mar 2019 16:42:34 GMT
* Dependencies: @types/node
* Global values: none
# Credits
These definitions were written by Rogier Schouten <https://github.com/rogierschouten>, Chris Thompson <https://github.com/cjthompson>, Suraiya Hameed <https://github.com/v-suhame>.
These definitions were written by Rogier Schouten <https://github.com/rogierschouten>, Chris Thompson <https://github.com/cjthompson>, Suraiya Hameed <https://github.com/v-suhame>, Guilherme Amorim <https://github.com/guiampm>.

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