Comparing version 3.6.0 to 3.6.1
{ | ||
"name": "mysql2", | ||
"version": "3.6.0", | ||
"version": "3.6.1", | ||
"description": "fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS", | ||
@@ -78,3 +78,3 @@ "main": "index.js", | ||
"eslint": "^8.27.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-config-prettier": "^9.0.0", | ||
"eslint-plugin-async-await": "0.0.0", | ||
@@ -81,0 +81,0 @@ "eslint-plugin-markdown": "^3.0.0", |
@@ -118,3 +118,3 @@ import { EventEmitter } from 'events'; | ||
on(event: string, listener: (args: any[]) => void): this; | ||
on(event: string, listener: (...args: any[]) => void): this; | ||
on(event: 'remove', listener: (nodeId: number) => void): this; | ||
@@ -121,0 +121,0 @@ on(event: 'warn', listener: (err: Error) => void): this; |
@@ -360,3 +360,3 @@ // This file was modified by Oracle on November 04, 2021. | ||
on(event: string, listener: (args: any[]) => void): this; | ||
on(event: string, listener: (...args: any[]) => void): this; | ||
@@ -363,0 +363,0 @@ rollback(callback: (err: QueryError | null) => void): void; |
@@ -66,3 +66,3 @@ import { EventEmitter } from 'events'; | ||
on(event: string, listener: (args: any[]) => void): this; | ||
on(event: string, listener: (...args: any[]) => void): this; | ||
on(event: 'connection', listener: (connection: PoolConnection) => any): this; | ||
@@ -69,0 +69,0 @@ on(event: 'acquire', listener: (connection: PoolConnection) => any): this; |
@@ -81,3 +81,3 @@ import { EventEmitter } from 'events'; | ||
on(event: string, listener: (args: any[]) => void): this; | ||
on(event: string, listener: (...args: any[]) => void): this; | ||
on(event: 'remove', listener: (nodeId: number) => void): this; | ||
@@ -84,0 +84,0 @@ on(event: 'warn', listener: (err: Error) => void): this; |
@@ -136,3 +136,3 @@ import { Sequence } from './Sequence.js'; | ||
on(event: string, listener: (args: any[]) => void): this; | ||
on(event: string, listener: (...args: any[]) => void): this; | ||
on(event: 'error', listener: (err: QueryError) => any): this; | ||
@@ -139,0 +139,0 @@ on( |
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
605762