mssql 10.0.1 → 10.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -363,7 +363,7 @@ class ConnectionPool extends EventEmitter {
|
|
|
363
363
|
*/
|
|
364
364
|
|
|
365
365
|
acquire (requester, callback) {
|
|
366
|
-
const acquirePromise = shared.Promise.resolve(this._acquire()
|
|
366
|
+
const acquirePromise = shared.Promise.resolve(this._acquire()).catch(err => {
|
|
367
367
|
this.emit('error', err)
|
|
368
368
|
throw err
|
|
369
369
|
})
|
|
@@ -382,7 +382,7 @@ class ConnectionPool extends EventEmitter {
|
|
|
382
382
|
return shared.Promise.reject(new ConnectionError('Connection is closing', 'ENOTOPEN'))
|
|
383
383
|
}
|
|
384
384
|
|
|
385
|
-
return this.pool.acquire()
|
|
385
|
+
return this.pool.acquire().promise
|
|
386
386
|
}
|
|
387
387
|
|
|
388
388
|
/**
|
package/package.json
CHANGED
|
@@ -21,8 +21,9 @@
|
|
|
21
21
|
"azure",
|
|
22
22
|
"node-mssql"
|
|
23
23
|
],
|
|
24
|
-
"version": "10.0.
|
|
24
|
+
"version": "10.0.2",
|
|
25
25
|
"main": "index.js",
|
|
26
|
+
"type": "commonjs",
|
|
26
27
|
"repository": "github:tediousjs/node-mssql",
|
|
27
28
|
"license": "MIT",
|
|
28
29
|
"dependencies": {
|
|
@@ -34,14 +35,14 @@
|
|
|
34
35
|
"tedious": "^16.4.0"
|
|
35
36
|
},
|
|
36
37
|
"devDependencies": {
|
|
37
|
-
"@commitlint/cli": "^
|
|
38
|
-
"@commitlint/config-conventional": "^
|
|
39
|
-
"@semantic-release/commit-analyzer": "^
|
|
38
|
+
"@commitlint/cli": "^18.0.0",
|
|
39
|
+
"@commitlint/config-conventional": "^18.0.0",
|
|
40
|
+
"@semantic-release/commit-analyzer": "^11.0.0",
|
|
40
41
|
"@semantic-release/github": "^9.0.3",
|
|
41
|
-
"@semantic-release/npm": "^
|
|
42
|
-
"@semantic-release/release-notes-generator": "^
|
|
42
|
+
"@semantic-release/npm": "^11.0.0",
|
|
43
|
+
"@semantic-release/release-notes-generator": "^12.0.0",
|
|
43
44
|
"mocha": "^10.0.0",
|
|
44
|
-
"semantic-release": "^
|
|
45
|
+
"semantic-release": "^22.0.0",
|
|
45
46
|
"standard": "^17.0.0"
|
|
46
47
|
},
|
|
47
48
|
"engines": {
|