mysql2 3.2.0 → 3.2.1

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/index.d.ts CHANGED
@@ -83,7 +83,7 @@ export interface Connection extends mysql.Connection {
83
83
  sequenceId: number;
84
84
  }
85
85
 
86
- export interface PoolConnection extends mysql.PoolConnection, Connection {
86
+ export interface PoolConnection extends mysql.PoolConnection {
87
87
  promise(promiseImpl?: PromiseConstructor): PromisePoolConnection;
88
88
  }
89
89
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mysql2",
3
- "version": "3.2.0",
3
+ "version": "3.2.1",
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": {
@@ -52,14 +52,14 @@
52
52
  "engines": {
53
53
  "node": ">= 8.0"
54
54
  },
55
- "author": "Andrey Sidorov <sidorares@yandex.ru>",
55
+ "author": "Andrey Sidorov <andrey.sidorov@gmail.com>",
56
56
  "license": "MIT",
57
57
  "dependencies": {
58
58
  "denque": "^2.1.0",
59
59
  "generate-function": "^2.3.1",
60
60
  "iconv-lite": "^0.6.3",
61
61
  "long": "^5.2.1",
62
- "lru-cache": "^7.14.1",
62
+ "lru-cache": "^8.0.0",
63
63
  "named-placeholders": "^1.1.3",
64
64
  "seq-queue": "^0.0.5",
65
65
  "sqlstring": "^2.3.2"
@@ -85,7 +85,7 @@
85
85
  "portfinder": "^1.0.28",
86
86
  "prettier": "^2.4.1",
87
87
  "progress": "^2.0.3",
88
- "typescript": "^4.4.3",
88
+ "typescript": "^5.0.2",
89
89
  "urun": "0.0.8",
90
90
  "utest": "0.0.8"
91
91
  }
@@ -290,6 +290,8 @@ declare class Connection extends EventEmitter {
290
290
  unprepare(sql: string): any;
291
291
 
292
292
  serverHandshake(args: any): any;
293
+
294
+ promise(): Promise<Connection>;
293
295
  }
294
296
 
295
297
  export = Connection;