mssql 7.3.2 → 7.3.5

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,4 +1,16 @@
1
- v7.3.2 (2022-02-24)
1
+ v7.3.5 (2022-05-27)
2
+ -------------------
3
+ [fix] quote identifiers in table constraint declaration ([#1397](https://github.com/tediousjs/node-mssql/pull/1397))
4
+
5
+ v7.3.4 (2022-05-18)
6
+ -------------------
7
+ [fix] msnodesqlv8.js file was missing from previous release
8
+
9
+ v7.3.3 (2022-05-18)
10
+ -------------------
11
+ Duplicate tag
12
+
13
+ v7.3.2 (2022-05-18)
2
14
  -------------------
3
15
  [fix] nodemsqlv8 driver tests working against Node 10 ([#1368](https://github.com/tediousjs/node-mssql/pull/1368))
4
16
  [fix] quote identifiers in table primary keys ([#1394](https://github.com/tediousjs/node-mssql/pull/1394))
package/lib/table.js CHANGED
@@ -109,7 +109,7 @@ Table.prototype.declare = function declare () {
109
109
  return def.join(' ')
110
110
  })
111
111
 
112
- const constraint = pkey.length > 1 ? `, constraint PK_${this.temporary ? this.name.substr(1) : this.name} primary key (${pkey.join(', ')})` : ''
112
+ const constraint = pkey.length > 1 ? `, constraint [PK_${this.temporary ? this.name.substr(1) : this.name}] primary key (${pkey.join(', ')})` : ''
113
113
  return `create table ${this.path} (${cols.join(', ')}${constraint})`
114
114
  }
115
115
 
package/msnodesqlv8.js ADDED
@@ -0,0 +1 @@
1
+ module.exports = require('./lib/msnodesqlv8')
package/package.json CHANGED
@@ -21,7 +21,7 @@
21
21
  "azure",
22
22
  "node-mssql"
23
23
  ],
24
- "version": "7.3.2",
24
+ "version": "7.3.5",
25
25
  "main": "index.js",
26
26
  "repository": "github:tediousjs/node-mssql",
27
27
  "license": "MIT",
@@ -42,6 +42,7 @@
42
42
  "files": [
43
43
  "lib/",
44
44
  "bin/",
45
+ "msnodesqlv8.js",
45
46
  "tedious.js",
46
47
  "index.js"
47
48
  ],