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

mysql-promise

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mysql-promise - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

4

index.js
'use strict';
var Q = require('q'),
var Promise = require('bluebird'),
mysql = require('mysql'),

@@ -22,3 +22,3 @@ pool = null;

exports.query = function (query, params) {
var defer = Q.defer();
var defer = Promise.defer();
params = params || {};

@@ -25,0 +25,0 @@

{
"name": "mysql-promise",
"version": "0.1.0",
"version": "0.2.0",
"description": "Small wrapper for mysql that use promises.",

@@ -24,3 +24,3 @@ "main": "index.js",

"mysql": "~2.0.0-alpha9",
"q": "~0.9.7"
"bluebird": "~1.0.0"
},

@@ -27,0 +27,0 @@ "devDependencies": {

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