mysql2 3.11.3 → 3.11.4-canary.401db79b

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mysql2",
3
- "version": "3.11.3",
3
+ "version": "3.11.4-canary.401db79b",
4
4
  "description": "fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS",
5
5
  "main": "index.js",
6
6
  "typings": "typings/mysql/index",
@@ -183,7 +183,7 @@ export interface ConnectionOptions {
183
183
  *
184
184
  * You can also specify a function to do the type casting yourself:
185
185
  * ```ts
186
- * (field: Field, next: () => void) => {
186
+ * (field: Field, next: () => unknown) => {
187
187
  * return next();
188
188
  * }
189
189
  * ```
@@ -49,6 +49,6 @@ export type Field = Type & {
49
49
  geometry: () => Geometry | Geometry[] | null;
50
50
  };
51
51
 
52
- export type Next = () => void;
52
+ export type Next = () => unknown;
53
53
 
54
54
  export type TypeCast = ((field: Field, next: Next) => any) | boolean;
@@ -44,7 +44,7 @@ export interface QueryOptions {
44
44
  *
45
45
  * You can also specify a function to do the type casting yourself:
46
46
  * ```ts
47
- * (field: Field, next: () => void) => {
47
+ * (field: Field, next: () => unknown) => {
48
48
  * return next();
49
49
  * }
50
50
  * ```