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

larvituser

Package Overview
Dependencies
Maintainers
3
Versions
265
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

larvituser - npm Package Compare versions

Comparing version 0.10.8 to 0.10.9

2

package.json
{
"name": "larvituser",
"version": "0.10.8",
"version": "0.10.9",
"author": {

@@ -5,0 +5,0 @@ "name": "Mikael 'Lilleman' Göransson",

@@ -48,3 +48,3 @@ 'use strict';

if (that.matchAllFields !== undefined) {
for (let field in that.matchAllFields) {
for (const field in that.matchAllFields) {
sql += 'AND uuid IN (SELECT userUuid FROM user_users_data WHERE data = ?\n'

@@ -57,2 +57,7 @@ + ' AND fieldUuid = (SELECT uuid FROM user_data_fields WHERE name = ?))';

if (that.q !== undefined) {
sql += ' AND uuid IN (SELECT userUuid FROM user_users_data WHERE data LIKE ?)\n';
dbFields.push('%' + that.q + '%');
}
if (that.limit !== undefined && ! isNaN(parseInt(that.limit))) {

@@ -72,3 +77,2 @@ sql += ' LIMIT ' + parseInt(that.limit);

for (let i = 0; rows[i] !== undefined; i ++) {
const user = {};

@@ -145,3 +149,3 @@

if (that.matchAllFields !== undefined) {
for (let field in that.matchAllFields) {
for (const field in that.matchAllFields) {
sql += 'AND uuid IN (SELECT userUuid FROM user_users_data WHERE data = ?\n'

@@ -155,2 +159,7 @@ + ' AND fieldUuid = (SELECT uuid FROM user_data_fields WHERE name = ?))';

if (that.q !== undefined) {
sql += ' AND uuid IN (SELECT userUuid FROM user_users_data WHERE data LIKE ?)\n';
dbFields.push('%' + that.q + '%');
}
db.query(sql, dbFields, function (err, rows) {

@@ -157,0 +166,0 @@ if (err) return cb(err);

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