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 1.5.5 to 1.5.6

18

lib/connection.js

@@ -533,5 +533,8 @@ // Generated by CoffeeScript 1.7.1

if (_this.request) {
if (_this.config.options.rowCollectionOnRequestCompletion || _this.config.options.rowCollectionOnDone) {
if (_this.config.options.rowCollectionOnRequestCompletion) {
_this.request.rows.push(token.columns);
}
if (_this.config.options.rowCollectionOnDone) {
_this.request.rst.push(token.columns);
}
return _this.request.emit('row', token.columns);

@@ -561,3 +564,3 @@ } else {

if (_this.request) {
_this.request.emit('doneProc', token.rowCount, token.more, _this.procReturnStatusValue, _this.request.rows);
_this.request.emit('doneProc', token.rowCount, token.more, _this.procReturnStatusValue, _this.request.rst);
_this.procReturnStatusValue = void 0;

@@ -568,3 +571,3 @@ if (token.rowCount !== void 0) {

if (_this.config.options.rowCollectionOnDone) {
return _this.request.rows = [];
return _this.request.rst = [];
}

@@ -577,3 +580,3 @@ }

if (_this.request) {
_this.request.emit('doneInProc', token.rowCount, token.more, _this.request.rows);
_this.request.emit('doneInProc', token.rowCount, token.more, _this.request.rst);
if (token.rowCount !== void 0) {

@@ -583,3 +586,3 @@ _this.request.rowCount += token.rowCount;

if (_this.config.options.rowCollectionOnDone) {
return _this.request.rows = [];
return _this.request.rst = [];
}

@@ -598,3 +601,3 @@ }

}
_this.request.emit('done', token.rowCount, token.more, _this.request.rows);
_this.request.emit('done', token.rowCount, token.more, _this.request.rst);
if (token.rowCount !== void 0) {

@@ -604,3 +607,3 @@ _this.request.rowCount += token.rowCount;

if (_this.config.options.rowCollectionOnDone) {
return _this.request.rows = [];
return _this.request.rst = [];
}

@@ -1028,2 +1031,3 @@ }

this.request.rows = [];
this.request.rst = [];
this.createRequestTimer();

@@ -1030,0 +1034,0 @@ this.messageIo.sendMessage(packetType, payload.data, this.resetConnectionOnNextRequest);

@@ -33,3 +33,3 @@ {

],
"version": "1.5.5",
"version": "1.5.6",
"main": "./lib/tedious.js",

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

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