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

iw-mysql-wrapper

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iw-mysql-wrapper - npm Package Compare versions

Comparing version 0.1.0 to 1.0.0

15

index.js

@@ -44,2 +44,17 @@ var mysql = require("mysql"),

this.paramify = function (list, prefix) {
var result = {
values: {},
tokens: []
};
list.forEach(function (item, itemIndex) {
var tokenKey = prefix + itemIndex;
result.tokens.push(":" + tokenKey);
result.values[tokenKey] = item;
});
return result;
};
this.query = function (query, args) {

@@ -46,0 +61,0 @@ var start = process.hrtime();

2

package.json
{
"name": "iw-mysql-wrapper",
"version": "0.1.0",
"version": "1.0.0",
"description": "Internal wrapper: promises, logging, binding",

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

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