is-antibot 2.1.4 → 2.1.5

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/providers.json +11 -13
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "is-antibot",
3
3
  "description": "Detect antibot protection from 30+ providers — Cloudflare, Akamai, DataDome, PerimeterX, Kasada, Imperva, reCAPTCHA, hCaptcha, Turnstile, and more.",
4
4
  "homepage": "https://antibot.microlink.io/",
5
- "version": "2.1.4",
5
+ "version": "2.1.5",
6
6
  "exports": {
7
7
  ".": "./src/index.js",
8
8
  "./providers.json": "./src/providers.json",
@@ -158,7 +158,7 @@
158
158
  "type": "html",
159
159
  "rules": [
160
160
  {
161
- "contains": "shapesecurity"
161
+ "regex": "shapesecurity\\.\\w+\\s*\\("
162
162
  }
163
163
  ]
164
164
  }
@@ -213,10 +213,7 @@
213
213
  "type": "html",
214
214
  "rules": [
215
215
  {
216
- "contains": "incapsula"
217
- },
218
- {
219
- "contains": "imperva"
216
+ "regex": "(?:incapsula|imperva)\\.\\w+\\s*\\("
220
217
  }
221
218
  ]
222
219
  },
@@ -254,7 +251,7 @@
254
251
  "type": "html",
255
252
  "rules": [
256
253
  {
257
- "contains": "reblaze"
254
+ "contains": "Protected by Reblaze"
258
255
  }
259
256
  ]
260
257
  }
@@ -296,7 +293,7 @@
296
293
  "type": "html",
297
294
  "rules": [
298
295
  {
299
- "contains": "sucuri"
296
+ "contains": "Sucuri Website Firewall"
300
297
  }
301
298
  ]
302
299
  }
@@ -309,7 +306,8 @@
309
306
  "type": "html",
310
307
  "rules": [
311
308
  {
312
- "contains": "ThreatMetrix"
309
+ "regex": "ThreatMetrix\\.\\w+\\s*\\(",
310
+ "flags": ""
313
311
  }
314
312
  ]
315
313
  },
@@ -330,7 +328,7 @@
330
328
  "type": "html",
331
329
  "rules": [
332
330
  {
333
- "contains": "meetrics"
331
+ "regex": "meetricsGlobal\\.\\w+\\s*\\("
334
332
  }
335
333
  ]
336
334
  },
@@ -463,7 +461,7 @@
463
461
  "contains": "arkoselabs.com"
464
462
  },
465
463
  {
466
- "contains": "funcaptcha"
464
+ "regex": "funcaptcha\\.\\w+\\s*\\("
467
465
  }
468
466
  ]
469
467
  }
@@ -485,7 +483,7 @@
485
483
  "type": "html",
486
484
  "rules": [
487
485
  {
488
- "contains": "geetest"
486
+ "regex": "geetest\\.\\w+\\s*\\("
489
487
  }
490
488
  ]
491
489
  }
@@ -782,10 +780,10 @@
782
780
  "type": "html",
783
781
  "rules": [
784
782
  {
785
- "contains": "aws-waf"
783
+ "regex": "aws-waf\\.\\w+\\s*\\("
786
784
  },
787
785
  {
788
- "contains": "awswaf"
786
+ "regex": "awswaf\\.com|\\/awswaf\\/"
789
787
  }
790
788
  ]
791
789
  },