mysql2 3.6.2 → 3.6.3
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/lib/connection.js +4 -2
- package/package.json +2 -2
package/lib/connection.js
CHANGED
|
@@ -623,7 +623,8 @@ class Connection extends EventEmitter {
|
|
|
623
623
|
options = {
|
|
624
624
|
...options,
|
|
625
625
|
...sql,
|
|
626
|
-
sql: sql.sql
|
|
626
|
+
sql: sql.sql,
|
|
627
|
+
values: sql.values
|
|
627
628
|
};
|
|
628
629
|
if (typeof values === 'function') {
|
|
629
630
|
cb = values;
|
|
@@ -913,7 +914,8 @@ class Connection extends EventEmitter {
|
|
|
913
914
|
options = {
|
|
914
915
|
...options,
|
|
915
916
|
...sql,
|
|
916
|
-
sql: sql.sql
|
|
917
|
+
sql: sql.sql,
|
|
918
|
+
values: sql.values
|
|
917
919
|
};
|
|
918
920
|
if (typeof values === 'function') {
|
|
919
921
|
cb = values;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mysql2",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.3",
|
|
4
4
|
"description": "fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"directories": {
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"eslint-plugin-async-await": "0.0.0",
|
|
80
80
|
"eslint-plugin-markdown": "^3.0.0",
|
|
81
81
|
"husky": "^8.0.2",
|
|
82
|
-
"lint-staged": "^
|
|
82
|
+
"lint-staged": "^15.0.1",
|
|
83
83
|
"portfinder": "^1.0.28",
|
|
84
84
|
"prettier": "^3.0.0",
|
|
85
85
|
"progress": "^2.0.3",
|