New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

arel

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arel - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

19

lib/visitors/MySQL.js

@@ -31,2 +31,6 @@ 'use strict';

var _isEmpty = require('lodash/isEmpty');
var _isEmpty2 = _interopRequireDefault(_isEmpty);
var _ToSql2 = require('./ToSql');

@@ -99,2 +103,17 @@

if (!(0, _isEmpty2.default)(o.values)) {
collector.append(' SET ');
collector = this.injectJoin(o.values, collector, ', ');
}
if (!(0, _isEmpty2.default)(o.wheres)) {
collector.append(' WHERE ');
collector = this.injectJoin(o.wheres, collector, ' AND ');
}
if (!(0, _isEmpty2.default)(o.orders)) {
collector.append(' ORDER BY ');
collector = this.injectJoin(o.orders, collector, ', ');
}
return this.maybeVisit(o.limit, collector);

@@ -101,0 +120,0 @@ }

2

package.json
{
"name": "arel",
"version": "0.2.1",
"version": "0.2.2",
"description": "arel",

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

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