Socket
Socket
Sign inDemoInstall

nodebb-plugin-solr

Package Overview
Dependencies
48
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.0.1

4

lib/utils.js

@@ -7,7 +7,7 @@ 'use strict';

if (data.uid && Array.isArray(data.uid) && data.uid.length) {
newTerm += ' AND ( ' + data.uid.map(function(uid) { return 'uid_i:' + uid; }).join(' OR ') + ' )';
newTerm += (newTerm.length ? ' AND ' : '') + '( ' + data.uid.map(function(uid) { return 'uid_i:' + uid; }).join(' OR ') + ' )';
}
if (data.cid && Array.isArray(data.cid) && data.cid.length) {
newTerm += ' AND ( ' + data.cid.map(function(cid) { return 'cid_i:' + cid; }).join(' OR ') + ' )';
newTerm += (newTerm.length ? ' AND ' : '') + '( ' + data.cid.map(function(cid) { return 'cid_i:' + cid; }).join(' OR ') + ' )';
}

@@ -14,0 +14,0 @@

{
"name": "nodebb-plugin-solr",
"version": "2.0.0",
"version": "2.0.1",
"description": "Full-text searching for NodeBB using Apache Solr",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc