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

@goodware/mysql

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@goodware/mysql - npm Package Compare versions

Comparing version 3.0.7 to 3.0.8

16

index.js

@@ -55,6 +55,8 @@ /* eslint-disable no-param-reassign */

// eslint-disable-next-line quotes
maxConnectDelay: Joi.alternatives(Joi.number().min(0), Joi.string()).default(100000).description(
`The maximum amount of time (converted to milliseconds) to wait between connection attempts. It starts at 10 ms \
maxConnectDelay: Joi.alternatives(Joi.number().min(0), Joi.string())
.default(100000)
.description(
`The maximum amount of time (converted to milliseconds) to wait between connection attempts. It starts at 10 ms \
and increases exponentially.`
),
),
multipleStatements: Joi.boolean().description(`true enables mysql2 connections to run multiple statements (separated \

@@ -82,3 +84,3 @@ by seicolons) via one call to query(), execute(), etc.`),

*/
const logTag = 'mysql';
const logTag = 'db';

@@ -365,3 +367,3 @@ /**

if (logger) {
log(logger, ['error', logTag], {
log(logger, ['warn', logTag], {
message: `Destroying connection failed on '${this.connectOptions.host}'`,

@@ -383,3 +385,3 @@ host: this.connectOptions.host,

if (logger) {
log(logger, ['error', logTag], {
log(logger, ['warn', logTag], {
message: `Dead connection detected on '${this.connectOptions.host}'`,

@@ -395,3 +397,3 @@ host: this.connectOptions.host,

if (logger) {
log(logger, ['error', logTag], {
log(logger, ['warn', logTag], {
message: `Destroying connection failed on '${this.connectOptions.host}'`,

@@ -398,0 +400,0 @@ host: this.connectOptions.host,

@@ -0,1 +1,7 @@

# @goodware/mysql Release History
## 3.0.8 2021-06-07
Log using tag 'db' instead of mysql
## 3.0.7 2021-06-07

@@ -2,0 +8,0 @@

{
"name": "@goodware/mysql",
"version": "3.0.7",
"version": "3.0.8",
"description": "A mysql2-based connection helper",

@@ -5,0 +5,0 @@ "keywords": [

/* eslint-disable no-console */
const MySqlConnector = require('../index');
const config = require('./config.js');
const config = require('./config');

@@ -5,0 +5,0 @@ class Logger {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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