Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mysql2

Package Overview
Dependencies
Maintainers
3
Versions
192
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.11.2 to 3.11.3-canary.81be01b1

2

package.json
{
"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;

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