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

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.2.7 to 0.2.9

11

monologue.js

@@ -157,3 +157,3 @@ (function() {

// returns "this"
return this.where( " IN (" + i.join( "," ) + ")", "" );
return this.where( " IN (" + i + ")", "" );
},

@@ -313,6 +313,2 @@

if( Array.isArray( p ) ) {
// grab the column names from the first object
global.columns = Object.keys( p[0] ).sort();
c.push( global.columns );
for( var ii = 0, l = p.length; ii < l; ++ii ) {

@@ -322,2 +318,7 @@ // if parent is an array and child is an object,

if( toString.call( p[ii] ) === "[object Object]" ) {
if( c.length === 0 ) {
// grab the column names from the first object
global.columns = Object.keys( p[0] ).sort();
c.push( global.columns );
}
c.push( "(" + this.stringify( p[ii], "" ) + ")");

@@ -324,0 +325,0 @@ }

{
"name": "monologue",
"version": "0.2.7",
"version": "0.2.9",
"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