@hyperwatch/hyperwatch 3.9.1 → 3.9.3
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 +2 -2
- package/src/modules/identity.js +8 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperwatch/hyperwatch",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.3",
|
|
4
4
|
"description": "Open Source HTTP Traffic Manager",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "François Hodierne <francois@hodierne.net>",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"immutable": "^4.1.0",
|
|
42
42
|
"ip-cidr": "^3.0.10",
|
|
43
43
|
"lodash": "^4.17.21",
|
|
44
|
-
"lru-cache": "^
|
|
44
|
+
"lru-cache": "^6.0.0",
|
|
45
45
|
"micro-strptime": "^0.2.3",
|
|
46
46
|
"proxy-addr": "^2.0.7",
|
|
47
47
|
"rc": "^1.2.8",
|
package/src/modules/identity.js
CHANGED
|
@@ -178,6 +178,14 @@ function augment(log) {
|
|
|
178
178
|
return hostname && hostname.endsWith('.007ac9.net')
|
|
179
179
|
? log.set('identity', 'Seekport')
|
|
180
180
|
: log;
|
|
181
|
+
case 'Neevabot':
|
|
182
|
+
return hostname && hostname.endsWith('.neevabot.com')
|
|
183
|
+
? log.set('identity', 'Neevabot')
|
|
184
|
+
: log;
|
|
185
|
+
case 'DataForSeoBot':
|
|
186
|
+
return hostname && hostname.endsWith('.dataforseo.com')
|
|
187
|
+
? log.set('identity', 'DataForSeo')
|
|
188
|
+
: log;
|
|
181
189
|
|
|
182
190
|
// Per hostname + CIDR
|
|
183
191
|
case 'Twitterbot':
|