Socket
Socket
Sign inDemoInstall

monologue

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

monologue - npm Package Compare versions

Comparing version 0.7.2 to 0.7.3

8

monologue.js

@@ -224,3 +224,3 @@ (function(exports) {

Monologue.prototype.where = function where( wh, sep ) {
this.parts.where = this.condition(wh, sep, this.parts.where);
this.parts.where = condition.call( this, wh, sep, this.parts.where );

@@ -237,3 +237,3 @@ this.last_condition = this.where;

Monologue.prototype.having = function having( hav, sep ) {
this.parts.having = this.condition(hav, sep, this.parts.having);
this.parts.having = condition.call( this, hav, sep, this.parts.having );

@@ -246,3 +246,3 @@ this.last_condition = this.having;

Monologue.prototype.condition = function condition(cond, sep, part) {
function condition(cond, sep, part) {
sep = ( typeof sep === "undefined" ? "AND" : sep );

@@ -415,3 +415,3 @@ sep = ( sep.length > 0 ? " " + sep + " " : sep );

//*** not sure if these 2 blocks belong. they make queries read more
//*** naturally but by adding complexity...
//*** naturally, but by adding complexity...

@@ -418,0 +418,0 @@ //*** sample usage

{
"name": "monologue",
"version": "0.7.2",
"version": "0.7.3",
"description": "Streamlined MySQL query building",

@@ -5,0 +5,0 @@ "main": "./monologue.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