Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

Upgraded isbot package.

Mike Caoe6b45cc9b9e4
diff --git a/package.json b/package.json
index af2cdc639..f2161f48e 100644
--- a/package.json
+++ b/package.json
@@ -93,7 +93,7 @@
"is-ci": "^3.0.1",
"is-docker": "^3.0.0",
"is-localhost-ip": "^1.4.0",
- "isbot": "^3.4.5",
+ "isbot": "^5.1.1",
"kafkajs": "^2.1.0",
"maxmind": "^4.3.6",
"md5": "^2.3.0",
diff --git a/src/pages/api/send.ts b/src/pages/api/send.ts
index 4f34a61dc..7734bff73 100644
--- a/src/pages/api/send.ts
+++ b/src/pages/api/send.ts
@@ -1,5 +1,5 @@
import ipaddr from 'ipaddr.js';
-import isbot from 'isbot';
+import { isbot } from 'isbot';
import { COLLECTION_TYPE, HOSTNAME_REGEX, IP_REGEX } from 'lib/constants';
import { secret } from 'lib/crypto';
import { getIpAddress } from 'lib/detect';
diff --git a/yarn.lock b/yarn.lock
index 7a9c6dbd4..cf06b486e 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -6737,10 +6737,10 @@ isarray@^2.0.5:
resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.5.tgz#8af1e4c1221244cc62459faf38940d4e644a5723"
integrity sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==
-isbot@^3.4.5:
- version "3.7.1"
- resolved "https://registry.yarnpkg.com/isbot/-/isbot-3.7.1.tgz#83655e59bfae8cd410d3c63b398c8ad813bf3fdf"
- integrity sha512-JfqOaY3O1lcWt2nc+D6Mq231CNpwZrBboLa59Go0J8hjGH+gY/Sy0CA/YLUSIScINmAVwTdJZIsOTk4PfBtRuw==
+isbot@^5.1.1:
+ version "5.1.1"
+ resolved "https://registry.yarnpkg.com/isbot/-/isbot-5.1.1.tgz#02ac8c99b8a0152ac8d5486d6a1ecb8bcc58b576"
+ integrity sha512-l4ArJhXWgEahbPEY5nVNh3Ojr0s4Eg2evSAmEQ6QkiFIwdsHg2wThzCMs/kcqgNc1D4HxwEg3+FEYP+bgAiplA==
isexe@^2.0.0:
version "2.0.0"