mssql 7.3.1 → 7.3.4

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/CHANGELOG.txt CHANGED
@@ -1,3 +1,16 @@
1
+ v7.3.4 (2022-05-18)
2
+ -------------------
3
+ [fix] msnodesqlv8.js file was missing from previous release
4
+
5
+ v7.3.3 (2022-05-18)
6
+ -------------------
7
+ Duplicate tag
8
+
9
+ v7.3.2 (2022-05-18)
10
+ -------------------
11
+ [fix] nodemsqlv8 driver tests working against Node 10 ([#1368](https://github.com/tediousjs/node-mssql/pull/1368))
12
+ [fix] quote identifiers in table primary keys ([#1394](https://github.com/tediousjs/node-mssql/pull/1394))
13
+
1
14
  v7.3.1 (2022-02-24)
2
15
  -------------------
3
16
  [fix] Bump debug dependency ([#1361](https://github.com/tediousjs/node-mssql/pull/1361))
package/lib/table.js CHANGED
@@ -92,7 +92,7 @@ Table.prototype._makeBulk = function _makeBulk () {
92
92
  }
93
93
 
94
94
  Table.prototype.declare = function declare () {
95
- const pkey = this.columns.filter(col => col.primary === true).map(col => col.name)
95
+ const pkey = this.columns.filter(col => col.primary === true).map(col => `[${col.name}]`)
96
96
  const cols = this.columns.map(col => {
97
97
  const def = [`[${col.name}] ${declareType(col.type, col)}`]
98
98
 
package/package.json CHANGED
@@ -21,7 +21,7 @@
21
21
  "azure",
22
22
  "node-mssql"
23
23
  ],
24
- "version": "7.3.1",
24
+ "version": "7.3.4",
25
25
  "main": "index.js",
26
26
  "repository": "github:tediousjs/node-mssql",
27
27
  "license": "MIT",
@@ -42,8 +42,9 @@
42
42
  "files": [
43
43
  "lib/",
44
44
  "bin/",
45
- "*.js",
46
- "*.md"
45
+ "msnodesqlv8.js",
46
+ "tedious.js",
47
+ "index.js"
47
48
  ],
48
49
  "scripts": {
49
50
  "test": "npm run lint && npm run test-unit",