Socket
Socket
Sign inDemoInstall

mysql2

Package Overview
Dependencies
Maintainers
3
Versions
184
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mysql2 - npm Package Compare versions

Comparing version 3.6.1 to 3.6.2

6

lib/connection.js

@@ -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;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc