mssql 12.5.4 → 12.6.0

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.
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  Supported TDS drivers:
8
8
 
9
9
  - [Tedious][tedious-url] (pure JavaScript - Windows/macOS/Linux, default)
10
- - [MSNodeSQLv8][msnodesqlv8-url] (Microsoft / Contributors Node V8 Driver for Node.js for SQL Server, v2 native - Windows or Linux/macOS 64 bits only)
10
+ - [MSNodeSQLv8][msnodesqlv8-url] (Microsoft / Contributors Node V8 Driver for Node.js for SQL Server, v2-v5 native - Windows or Linux/macOS 64 bits only)
11
11
 
12
12
  ## Installation
13
13
 
@@ -481,7 +481,7 @@ class Request extends BaseRequest {
481
481
 
482
482
  // process batch outputs
483
483
  if (batchHasOutput) {
484
- if (!this.stream) batchLastRow = recordsets.pop()[0]
484
+ if (!this.stream) batchLastRow = recordsets.pop()?.[0]
485
485
 
486
486
  for (const name in batchLastRow) {
487
487
  const value = batchLastRow[name]
package/package.json CHANGED
@@ -21,7 +21,7 @@
21
21
  "azure",
22
22
  "node-mssql"
23
23
  ],
24
- "version": "12.5.4",
24
+ "version": "12.6.0",
25
25
  "main": "index.js",
26
26
  "type": "commonjs",
27
27
  "repository": {