Comparing version 8.0.0 to 8.0.1
@@ -12,2 +12,3 @@ v8.0.0 (2022-01-30) | ||
[removed] Remove connection string parser helpers ((#1342)[https://github.com/tediousjs/node-mssql/pull/1342]) | ||
[removed] Remove deprecated pool properties ((#1359)[https://github.com/tediousjs/node-mssql/pull/1359]) | ||
@@ -14,0 +15,0 @@ v7.2.1 (2021-08-19) |
@@ -391,37 +391,2 @@ 'use strict' | ||
) | ||
const self = this | ||
Object.defineProperties(this.pool, { | ||
size: { | ||
get: () => { | ||
const message = 'the `size` property on pool is deprecated, access it directly on the `ConnectionPool`' | ||
self.emit('debug', message) | ||
process.emitWarning(message) | ||
return self.size | ||
} | ||
}, | ||
available: { | ||
get: () => { | ||
const message = 'the `available` property on pool is deprecated, access it directly on the `ConnectionPool`' | ||
self.emit('debug', message) | ||
process.emitWarning(message) | ||
return self.available | ||
} | ||
}, | ||
pending: { | ||
get: () => { | ||
const message = 'the `pending` property on pool is deprecate, access it directly on the `ConnectionPool`' | ||
self.emit('debug', message) | ||
process.emitWarning(message) | ||
return self.pending | ||
} | ||
}, | ||
borrowed: { | ||
get: () => { | ||
const message = 'the `borrowed` property on pool is deprecated, access it directly on the `ConnectionPool`' | ||
self.emit('debug', message) | ||
process.emitWarning(message) | ||
return self.borrowed | ||
} | ||
} | ||
}) | ||
@@ -428,0 +393,0 @@ this._connecting = false |
@@ -24,3 +24,3 @@ { | ||
], | ||
"version": "8.0.0", | ||
"version": "8.0.1", | ||
"main": "index.js", | ||
@@ -27,0 +27,0 @@ "repository": "github:tediousjs/node-mssql", |
Sorry, the diff of this file is too big to display
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
2084
252301
4779