@depup/mysql2 3.23.1-depup.0 → 3.23.2-depup.0

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/README.md CHANGED
@@ -13,8 +13,8 @@ npm install @depup/mysql2
13
13
 
14
14
  | Field | Value |
15
15
  |-------|-------|
16
- | Original | [mysql2](https://www.npmjs.com/package/mysql2) @ 3.23.1 |
17
- | Processed | 2026-07-21 |
16
+ | Original | [mysql2](https://www.npmjs.com/package/mysql2) @ 3.23.2 |
17
+ | Processed | 2026-07-27 |
18
18
  | Smoke test | passed |
19
19
  | Deps updated | 1 |
20
20
 
package/changes.json CHANGED
@@ -5,6 +5,6 @@
5
5
  "to": "^0.7.3"
6
6
  }
7
7
  },
8
- "timestamp": "2026-07-21T17:25:03.071Z",
8
+ "timestamp": "2026-07-27T16:45:19.802Z",
9
9
  "totalUpdated": 1
10
10
  }
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ const Timers = require('timers');
4
+
3
5
  const Command = require('./command.js');
4
6
  const Query = require('./query.js');
5
7
  const Packets = require('../packets/index.js');
@@ -63,7 +65,16 @@ class Execute extends Command {
63
65
  try {
64
66
  connection.writePacket(executePacket.toPacket(1));
65
67
  } catch (error) {
66
- this.onResult(error);
68
+ if (this.queryTimeout) {
69
+ Timers.clearTimeout(this.queryTimeout);
70
+ this.queryTimeout = null;
71
+ }
72
+ if (this.onResult) {
73
+ this.onResult(error);
74
+ } else {
75
+ this.emit('error', error);
76
+ }
77
+ return null;
67
78
  }
68
79
  return Execute.prototype.resultsetHeader;
69
80
  }
@@ -16,7 +16,7 @@ class ChangeUser {
16
16
  this.passwordSha1 = opts.passwordSha1;
17
17
  this.authPluginData1 = opts.authPluginData1;
18
18
  this.authPluginData2 = opts.authPluginData2;
19
- this.connectAttributes = opts.connectAttrinutes || {};
19
+ this.connectAttributes = opts.connectAttributes || {};
20
20
  let authToken;
21
21
  if (this.passwordSha1) {
22
22
  authToken = auth41.calculateTokenFromPasswordSha(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depup/mysql2",
3
- "version": "3.23.1-depup.0",
3
+ "version": "3.23.2-depup.0",
4
4
  "description": "fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS (with updated dependencies)",
5
5
  "main": "index.js",
6
6
  "typings": "typings/mysql/index",
@@ -109,8 +109,8 @@
109
109
  },
110
110
  "depsUpdated": 1,
111
111
  "originalPackage": "mysql2",
112
- "originalVersion": "3.23.1",
113
- "processedAt": "2026-07-21T17:25:10.865Z",
112
+ "originalVersion": "3.23.2",
113
+ "processedAt": "2026-07-27T16:45:28.701Z",
114
114
  "smokeTest": "passed"
115
115
  }
116
116
  }