Socket
Socket
Sign inDemoInstall

quell

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quell - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

CHANGELOG.md

4

lib/quell.js

@@ -499,3 +499,3 @@ var assign = require('lodash.assign');

if (type && (options.replace || self.schema.autoincrement !== field)) {
if (type && typeof self.data[field] !== 'undefined' && (options.replace || self.schema.autoincrement !== field)) {
write[field] = type.prepare(self.data[field]);

@@ -591,3 +591,3 @@ }

if (type && (options.replace || self.schema.autoincrement !== field)) {
if (type && typeof self.data[field] !== 'undefined' && (options.replace || self.schema.autoincrement !== field)) {
write[field] = type.prepare(self.data[field]);

@@ -594,0 +594,0 @@ }

quell.js
Copyright (c) 2013-2014, Jarvis Badgley - chiper[at]chipersoft[dot]com
Copyright (c) 2013-2016, Jarvis Badgley - chiper[at]chipersoft[dot]com

@@ -4,0 +4,0 @@ Permission is hereby granted, free of charge, to any person obtaining

{
"name": "quell",
"version": "0.1.2",
"version": "0.1.3",
"description": "A no-frills active record implementation for node-mysql.",

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

@@ -30,3 +30,4 @@ var assign = require('lodash.assign');

id: quell.INT(),
name: quell.VARCHAR()
name: quell.VARCHAR(),
email: quell.VARCHAR()
},

@@ -38,3 +39,3 @@ primaries: ['id'],

var model = new Model({name: 'john doe'});
var model = new Model({name: 'john doe', email: undefined });

@@ -41,0 +42,0 @@ quell._buildInsertQuery = function (tablename, write, replace) {

@@ -30,3 +30,4 @@ var assign = require('lodash.assign');

id: quell.INT(),
name: quell.VARCHAR()
name: quell.VARCHAR(),
email: quell.VARCHAR()
},

@@ -38,3 +39,3 @@ primaries: ['id'],

var model = new Model({id: 5, name: 'john doe'});
var model = new Model({id: 5, name: 'john doe', email: undefined});

@@ -41,0 +42,0 @@ quell._buildUpdateQuery = function (tablename, write, lookup) {

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