Comparing version 0.2.1 to 0.2.2
@@ -501,4 +501,4 @@ // Generated by CoffeeScript 1.7.1 | ||
return instanceLookup(this.config.server, this.config.options.instanceName, (function(_this) { | ||
return function(err, port) { | ||
if (err) { | ||
return function(message, port) { | ||
if (message) { | ||
return _this.emit('connect', ConnectionError(message, 'EINSTLOOKUP')); | ||
@@ -535,3 +535,4 @@ } else { | ||
Connection.prototype.closeConnection = function() { | ||
return this.socket.destroy(); | ||
var _ref1; | ||
return (_ref1 = this.socket) != null ? _ref1.destroy() : void 0; | ||
}; | ||
@@ -538,0 +539,0 @@ |
@@ -29,3 +29,3 @@ { | ||
], | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"main": "./lib/tedious.js", | ||
@@ -50,4 +50,4 @@ "repository": { | ||
"test": "scripts/tests-unit", | ||
"publish": "scripts/build" | ||
"prepublish": "scripts/build" | ||
} | ||
} |
@@ -7,3 +7,3 @@ # Tedious (node implementation of TDS) | ||
## What's new in 0.2.0 | ||
## What's new in 0.2 | ||
@@ -26,3 +26,3 @@ - Added support for TDS 7.4 | ||
### Upgrade from 0.1.5 to 0.2.0 | ||
### Upgrade from 0.1.5 to 0.2 | ||
@@ -29,0 +29,0 @@ - Time values are now passed/received in UTC instead of local time. You can disable this by `options.useUTC = false`. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
161896
4665
3