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

tedious

Package Overview
Dependencies
Maintainers
4
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 0.3.0 to 1.0.0

History.md

4

lib/connection.js

@@ -362,3 +362,3 @@ // Generated by CoffeeScript 1.7.1

if (!token.tdsVersion) {
_this.loginError = ConnectionError("Server responded with unknown TDS version.");
_this.loginError = ConnectionError("Server responded with unknown TDS version.", 'ETDS');
_this.loggedIn = false;

@@ -368,3 +368,3 @@ return;

if (!token["interface"]) {
_this.loginError = ConnectionError("Server responded with unsupported interface.");
_this.loginError = ConnectionError("Server responded with unsupported interface.", 'EINTERFACENOTSUPP');
_this.loggedIn = false;

@@ -371,0 +371,0 @@ return;

@@ -29,3 +29,3 @@ {

],
"version": "0.3.0",
"version": "1.0.0",
"main": "./lib/tedious.js",

@@ -32,0 +32,0 @@ "repository": {

@@ -7,36 +7,4 @@ # Tedious (node implementation of TDS)

## What's new in 0.3
See the [changelog](https://github.com/pekim/tedious/blob/master/History.md) for version history.
- Added support for default connection isolation level
- Added support for returning camel cased columns
- Added support for building lib on Windows
- Fixed issue with IEEE 754 rounding errors
- Minor fixes
## What's new in 0.2
- Added support for TDS 7.4
- Added request cancelation
- Added support for UDT, TVP, Time, Date, DateTime2 and DateTimeOffset data types
- Added option to choose whether to pass/receive times in UTC or local time (`useUTC`)
- Binary, VarBinary, Image, Numeric, Decimal, SmallMoney and Money are now supported as input parameters
- Binary, VarBinary and Image types are now returned as Buffer (was Array)
- Connection errors are now correctly propagated to `connect` event
- Better support for numeric column names and columns with same name
- Errors are now instanceof Error / ConnectionError / RequestError (was plain text)
- Transaction isolationLevel default is now `READ_COMMITED` (was `READ_UNCOMMITED`)
- Fixed issue when zero value was casted as null when using BigInt as input parameter
- Fixed issue when dates before 1900/01/01 in input parameters resulted in "Out of bounds" error
- Fixed negative return values
- Fixed compatibility with TDS 7.1 (SQL Server 2000)
- Minor fixes
### Upgrade from 0.1.5 to 0.2
- Time values are now passed/received in UTC instead of local time. You can disable this by `options.useUTC = false`.
- There was a change in default transaction isolationLevel from `READ_UNCOMMITED` to `READ_COMMITED`. You can disable this by `options.isolationLevel = require('tedious').ISOLATION_LEVEL.READ_UNCOMMITTED`.
- Binary values are now returned in Buffers.
- All error values are no longer strings, but instances of Error.
- Results (rows and column metadata) are now simple arrays. You can change this to key-value collections by `options.useColumnNames = true`.
### Supported TDS versions

@@ -43,0 +11,0 @@

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