@wmfs/tymly-solr-plugin
Advanced tools
Comparing version 2.17.1 to 2.18.0
@@ -17,3 +17,5 @@ 'use strict' | ||
get categories () { return this.services.categories.categories } | ||
get rbac () { return this.services.rbac } | ||
get solr () { return this.services.solr } | ||
@@ -138,8 +140,12 @@ | ||
) { | ||
const searchTerm = event.query | ||
const st = event.query | ||
? event.query | ||
.trim() | ||
.replace(emojiRegex, '') // remove emojis | ||
.replace(/([-]|[_]|[.]|[!]|[~]|[*]|[']|[(]|[)]|[+])/g, '') // remove unescaped | ||
: '' | ||
const searchTerm = st | ||
? '(' + encodeURIComponent( | ||
event.query | ||
.trim() | ||
.replace(emojiRegex, '') // remove emojis | ||
.replace(/([-]|[_]|[.]|[!]|[~]|[*]|[']|[(]|[)]|[+])/g, '') // remove unescaped | ||
st | ||
.split(' ') | ||
@@ -146,0 +152,0 @@ .filter(x => x) |
{ | ||
"name": "@wmfs/tymly-solr-plugin", | ||
"version": "2.17.1", | ||
"version": "2.18.0", | ||
"description": "Plugin which handles interaction with Apache Solr for Tymly framework", | ||
@@ -23,3 +23,3 @@ "homepage": "https://github.com/wmfs/tymly-solr-plugin#readme", | ||
"dependencies": { | ||
"axios": "0.21.0", | ||
"axios": "0.21.1", | ||
"debug": "4.2.0", | ||
@@ -26,0 +26,0 @@ "emoji-regex": "9.2.0", |
{ | ||
"name": "solr", | ||
"version": "2.17.1", | ||
"version": "2.18.0", | ||
"label": "Solr", | ||
@@ -5,0 +5,0 @@ "author": "Tim Needham", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
183684
2354
+ Addedaxios@0.21.1(transitive)
- Removedaxios@0.21.0(transitive)
Updatedaxios@0.21.1