wingbot 3.67.9 → 3.67.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wingbot",
3
- "version": "3.67.9",
3
+ "version": "3.67.10",
4
4
  "description": "Enterprise Messaging Bot Conversation Engine",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -54,18 +54,18 @@
54
54
  },
55
55
  "dependencies": {
56
56
  "@amplitude/ua-parser-js": "^0.7.33",
57
- "compress-json": "^2.1.2",
57
+ "compress-json": "^3.0.0",
58
58
  "deep-extend": "^0.6.0",
59
59
  "form-data": "^4.0.0",
60
- "graphql": "^16.8.0",
61
- "jsonwebtoken": "^9.0.0",
60
+ "graphql": "^16.8.1",
61
+ "jsonwebtoken": "^9.0.2",
62
62
  "node-fetch": "^2.6.7",
63
63
  "path-to-regexp": "^6.2.1",
64
- "uuid": "^9.0.0",
64
+ "uuid": "^9.0.1",
65
65
  "webalize": "^0.1.0"
66
66
  },
67
67
  "optionalDependencies": {
68
- "axios": "^0.21.1",
68
+ "axios": "^1.6.4",
69
69
  "handlebars": "^4.0.0"
70
70
  }
71
71
  }
@@ -129,7 +129,9 @@ function prepareFuzzyIndex (data, {
129
129
  ? synonyms
130
130
  : [value, ...synonyms];
131
131
 
132
- texts = texts.map((text) => cleanForMultiples(text));
132
+ texts = texts
133
+ .filter((t) => t)
134
+ .map((text) => cleanForMultiples(text));
133
135
 
134
136
  texts = texts
135
137
  .map((text) => multiplier(text, texts[0]))