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

mysql-await

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mysql-await - npm Package Compare versions

Comparing version 2.2.2 to 2.2.3

4

index.js

@@ -393,5 +393,5 @@ /** Require external modules */

this.pool.getConnection((err, connection) => {
if ( this.config.throwErrors )
if ( this.config.throwErrors && connection )
connection.config.throwErrors = true;
else
else if ( connection )
connection.config.throwErrors = false;

@@ -398,0 +398,0 @@

{
"name": "mysql-await",
"version": "2.2.2",
"version": "2.2.3",
"description": "Backward Compatible MySQL Async/Await Connection Wrapper",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -1,2 +0,2 @@

# MySQL Async/Await Wrapper v2.2.2
# MySQL Async/Await Wrapper v2.2.3

@@ -3,0 +3,0 @@ Simple wrapper for MySQL async/await functionality. Intended for functionality to mimic the popular [mysql](https://github.com/mysqljs/mysql) Node.js callback-based package, but with additional methods for awaiting execution. Goal is for normal methods to be unaffected and only additional await methods added, though accomplished through intermediary class objects.

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