mssql 10.0.2 → 10.0.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.
Files changed (2) hide show
  1. package/README.md +5 -4
  2. package/package.json +8 -8
package/README.md CHANGED
@@ -17,7 +17,7 @@ Supported TDS drivers:
17
17
  ```javascript
18
18
  const sql = require('mssql')
19
19
 
20
- async () => {
20
+ (async () => {
21
21
  try {
22
22
  // make sure that any items are correctly URL encoded in the connection string
23
23
  await sql.connect('Server=localhost,1433;Database=database;User Id=username;Password=password;Encrypt=true')
@@ -26,7 +26,7 @@ async () => {
26
26
  } catch (err) {
27
27
  // ... error checks
28
28
  }
29
- }
29
+ })()
30
30
  ```
31
31
 
32
32
  If you're on Windows Azure, add `?encrypt=true` to your connection string. See [docs](#configuration) to learn more.
@@ -39,6 +39,7 @@ Assuming you have set the appropriate environment variables, you can construct a
39
39
 
40
40
  ```javascript
41
41
  const sql = require('mssql')
42
+
42
43
  const sqlConfig = {
43
44
  user: process.env.DB_USER,
44
45
  password: process.env.DB_PWD,
@@ -55,7 +56,7 @@ const sqlConfig = {
55
56
  }
56
57
  }
57
58
 
58
- async () => {
59
+ (async () => {
59
60
  try {
60
61
  // make sure that any items are correctly URL encoded in the connection string
61
62
  await sql.connect(sqlConfig)
@@ -64,7 +65,7 @@ async () => {
64
65
  } catch (err) {
65
66
  // ... error checks
66
67
  }
67
- }
68
+ })()
68
69
  ```
69
70
 
70
71
  ## Documentation
package/package.json CHANGED
@@ -21,7 +21,7 @@
21
21
  "azure",
22
22
  "node-mssql"
23
23
  ],
24
- "version": "10.0.2",
24
+ "version": "10.0.4",
25
25
  "main": "index.js",
26
26
  "type": "commonjs",
27
27
  "repository": "github:tediousjs/node-mssql",
@@ -35,14 +35,14 @@
35
35
  "tedious": "^16.4.0"
36
36
  },
37
37
  "devDependencies": {
38
- "@commitlint/cli": "^18.0.0",
39
- "@commitlint/config-conventional": "^18.0.0",
40
- "@semantic-release/commit-analyzer": "^11.0.0",
41
- "@semantic-release/github": "^9.0.3",
42
- "@semantic-release/npm": "^11.0.0",
43
- "@semantic-release/release-notes-generator": "^12.0.0",
38
+ "@commitlint/cli": "^19.0.3",
39
+ "@commitlint/config-conventional": "^19.0.3",
40
+ "@semantic-release/commit-analyzer": "^13.0.0",
41
+ "@semantic-release/github": "^10.0.2",
42
+ "@semantic-release/npm": "^12.0.0",
43
+ "@semantic-release/release-notes-generator": "^14.0.0",
44
44
  "mocha": "^10.0.0",
45
- "semantic-release": "^22.0.0",
45
+ "semantic-release": "^24.0.0",
46
46
  "standard": "^17.0.0"
47
47
  },
48
48
  "engines": {