murmuration-mariadb 1.0.35 → 1.0.39

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 +3 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -35,6 +35,8 @@ const { database, migrate, transaction, Connection } = murmuration,
35
35
  ...
36
36
  ```
37
37
 
38
+ This package leverages the [`mysql`](https://github.com/mysqljs/mysql) package and uses its parameterised queries. This guard against SQL injection without further ado.
39
+
38
40
  ### Configuration
39
41
 
40
42
  The `configuration` argument should be a plain old JavaScript object with at least the following properties:
@@ -85,7 +87,7 @@ query(connection, sql, username, password, (error, rows) => {
85
87
  ```
86
88
  The `execute()` function is treated entirely similarly.
87
89
 
88
- For more information on placeholders and performing queries in general, see the `pg` package documentation [here](https://node-postgres.com/features/queries).
90
+ For more information on placeholders and performing queries in general, see the `mysql` package documentation [here](https://github.com/mysqljs/mysql#performing-queries).
89
91
 
90
92
  ## Contact
91
93
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "murmuration-mariadb",
3
3
  "author": "James Smith",
4
- "version": "1.0.35",
4
+ "version": "1.0.39",
5
5
  "license": "MIT, Anti-996",
6
6
  "homepage": "https://github.com/djalbat/murmuration-mariadb",
7
7
  "description": "Connections, transactions and migrations for MariaDB.",
@@ -10,7 +10,7 @@
10
10
  "url": "https://github.com/djalbat/murmuration-mariadb"
11
11
  },
12
12
  "dependencies": {
13
- "murmuration": "^1.0.25",
13
+ "murmuration": "^1.0.30",
14
14
  "mysql": "^2.18.1"
15
15
  },
16
16
  "devDependencies": {},