Comparing version 3.11.2 to 3.11.3-canary.81be01b1
{ | ||
"name": "mysql2", | ||
"version": "3.11.2", | ||
"version": "3.11.3-canary.81be01b1", | ||
"description": "fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -0,1 +1,4 @@ | ||
/** | ||
* sqlstring types are based on https://www.npmjs.com/package/@types/sqlstring, version 2.3.2 | ||
*/ | ||
import { Pool as BasePool, PoolOptions } from './lib/Pool.js'; | ||
@@ -56,5 +59,10 @@ import { | ||
export function escape(value: any): string; | ||
type TimeZone = 'local' | 'Z' | (string & NonNullable<unknown>); | ||
export function escape( | ||
value: any, | ||
stringifyObjects?: boolean, | ||
timeZone?: TimeZone, | ||
): string; | ||
export function escapeId(value: any): string; | ||
export function escapeId(value: any, forbidQualified?: boolean): string; | ||
@@ -64,14 +72,7 @@ export function format(sql: string): string; | ||
sql: string, | ||
values: any[], | ||
values: any | any[], | ||
stringifyObjects?: boolean, | ||
timeZone?: string, | ||
timeZone?: TimeZone, | ||
): string; | ||
export function format( | ||
sql: string, | ||
values: any, | ||
stringifyObjects?: boolean, | ||
timeZone?: string, | ||
): string; | ||
export function raw(sql: string): { | ||
@@ -78,0 +79,0 @@ toSqlString: () => string; |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
503096
13743
1