Comparing version 3.6.1 to 3.6.2
@@ -625,3 +625,4 @@ // This file was modified by Oracle on June 1, 2021. | ||
...options, | ||
...sql | ||
...sql, | ||
sql: sql.sql | ||
}; | ||
@@ -915,3 +916,4 @@ if (typeof values === 'function') { | ||
...options, | ||
...sql | ||
...sql, | ||
sql: sql.sql | ||
}; | ||
@@ -918,0 +920,0 @@ if (typeof values === 'function') { |
{ | ||
"name": "mysql2", | ||
"version": "3.6.1", | ||
"version": "3.6.2", | ||
"description": "fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS", | ||
@@ -82,3 +82,3 @@ "main": "index.js", | ||
"husky": "^8.0.2", | ||
"lint-staged": "^13.0.3", | ||
"lint-staged": "^14.0.1", | ||
"portfinder": "^1.0.28", | ||
@@ -85,0 +85,0 @@ "prettier": "^3.0.0", |
@@ -21,3 +21,3 @@ import { EventEmitter } from 'events'; | ||
declare class QueryableAndExecutableBase extends QueryableBaseClass( | ||
ExecutableBaseClass(EventEmitter) | ||
ExecutableBaseClass(EventEmitter), | ||
) {} | ||
@@ -28,3 +28,3 @@ | ||
execute( | ||
paramaters: any | any[] | { [param: string]: any } | ||
parameters: any | any[] | { [param: string]: any }, | ||
): Promise< | ||
@@ -39,3 +39,3 @@ [ | ||
), | ||
FieldPacket[] | ||
FieldPacket[], | ||
] | ||
@@ -128,3 +128,3 @@ >; | ||
export function createConnection( | ||
config: ConnectionOptions | ||
config: ConnectionOptions, | ||
): Promise<Connection>; | ||
@@ -131,0 +131,0 @@ |
@@ -21,3 +21,3 @@ import { Sequence } from './Sequence.js'; | ||
>( | ||
paramaters: any | any[] | { [param: string]: any }, | ||
parameters: any | any[] | { [param: string]: any }, | ||
callback?: (err: QueryError | null, result: T, fields: FieldPacket[]) => any | ||
@@ -24,0 +24,0 @@ ): Query; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
605810
15048