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

mapper

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mapper - npm Package Compare versions

Comparing version 0.2.2-pre to 0.2.3-pre

7

lib/client.js

@@ -137,3 +137,8 @@ /**

var config = this.config;
this.client = mysql.createConnectionSync(config.host, config.user, config.password, config.database, config.port);
this.client = mysql.createConnectionSync();
this.client.initSync();
if (config.charset) {
this.client.setOptionSync(mysql.MYSQL_SET_CHARSET_NAME, config.charset);
}
this.client.realConnectSync(config.host, config.user, config.password, config.database, config.port);
if (config.database) {

@@ -140,0 +145,0 @@ this.client.query('USE '+config.database);

@@ -476,2 +476,3 @@ var _ = require('lodash');

for (key in obj) {
if (!obj.hasOwnProperty(key)) continue;
if (columns.indexOf(key) > -1)

@@ -478,0 +479,0 @@ keys.push(key)

4

package.json
{
"name": "mapper",
"version": "0.2.2-pre",
"version": "0.2.3-pre",
"description": "Lightweight, blazing fast ODM on top of mysql-libmysqlclient.",

@@ -20,3 +20,3 @@ "tags" : ["odm", "mysql", "mysql-libmysqlclient"],

"devDependencies": {
"mysql": "2.0.0-alpha3",
"mysql": "2.0.0-alpha5",
"mocha": "~1.2.2",

@@ -23,0 +23,0 @@ "chai": "~0.5.3",

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