@types/mysql
Advanced tools
Comparing version 2.15.21 to 2.15.22
@@ -12,5 +12,5 @@ // Type definitions for mysql 2.15 | ||
import stream = require('stream'); | ||
import tls = require('tls'); | ||
import events = require('events'); | ||
import stream = require("stream"); | ||
import tls = require("tls"); | ||
import events = require("events"); | ||
@@ -86,3 +86,3 @@ export interface EscapeFunctions { | ||
export function raw(sql: string): { | ||
toSqlString: () => string | ||
toSqlString: () => string; | ||
}; | ||
@@ -93,3 +93,3 @@ | ||
state: 'connected' | 'authenticated' | 'disconnected' | 'protocol_error' | string; | ||
state: "connected" | "authenticated" | "disconnected" | "protocol_error" | string; | ||
@@ -275,11 +275,11 @@ threadId: number | null; | ||
on(ev: 'result', callback: (row: any, index: number) => void): Query; | ||
on(ev: "result", callback: (row: any, index: number) => void): Query; | ||
on(ev: 'error', callback: (err: MysqlError) => void): Query; | ||
on(ev: "error", callback: (err: MysqlError) => void): Query; | ||
on(ev: 'fields', callback: (fields: FieldInfo[], index: number) => void): Query; | ||
on(ev: "fields", callback: (fields: FieldInfo[], index: number) => void): Query; | ||
on(ev: 'packet', callback: (packet: any) => void): Query; | ||
on(ev: "packet", callback: (packet: any) => void): Query; | ||
on(ev: 'end', callback: () => void): Query; | ||
on(ev: "end", callback: () => void): Query; | ||
} | ||
@@ -295,11 +295,11 @@ | ||
| (( | ||
field: UntypedFieldInfo & { | ||
type: string; | ||
length: number; | ||
string(): null | string; | ||
buffer(): null | Buffer; | ||
geometry(): null | GeometryType; | ||
}, | ||
next: () => void, | ||
) => any); | ||
field: UntypedFieldInfo & { | ||
type: string; | ||
length: number; | ||
string(): null | string; | ||
buffer(): null | Buffer; | ||
geometry(): null | GeometryType; | ||
}, | ||
next: () => void, | ||
) => any); | ||
@@ -482,3 +482,3 @@ export type queryCallback = (err: MysqlError | null, results?: any, fields?: FieldInfo[]) => void; | ||
*/ | ||
dateStrings?: boolean | Array<'TIMESTAMP' | 'DATETIME' | 'DATE'> | undefined; | ||
dateStrings?: boolean | Array<"TIMESTAMP" | "DATETIME" | "DATE"> | undefined; | ||
@@ -485,0 +485,0 @@ /** |
{ | ||
"name": "@types/mysql", | ||
"version": "2.15.21", | ||
"version": "2.15.22", | ||
"description": "TypeScript definitions for mysql", | ||
@@ -40,4 +40,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mysql", | ||
}, | ||
"typesPublisherContentHash": "c933cddb877a9aa6ebbeaa1d627787706a706a9ed44070ca8c9cfaf58df4577f", | ||
"typeScriptVersion": "3.8" | ||
"typesPublisherContentHash": "48f54215189654cbd3ee5449408ebabc92dac8e60d44bc0450413dd5fa7b573b", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 08 Feb 2022 21:31:23 GMT | ||
* Last updated: Wed, 27 Sep 2023 09:42:16 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -14,0 +14,0 @@ * Global values: none |
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
25750