diff --git a/package-lock.json b/package-lock.json index d1a2880..09b7eee 100644 --- a/package-lock.json +++ b/package-lock.json @@ -37,7 +37,7 @@ "micro-cors": "^0.1.1", "next": "^13.4.10", "next-auth": "^4.22.1", - "posthog-js": "^1.53.4", + "posthog-js": "^1.160.3", "posthog-node": "^3.1.0", "react": "18.2.0", "react-dom": "18.2.0", @@ -6673,12 +6673,14 @@ "dev": true }, "node_modules/posthog-js": { - "version": "1.53.4", - "resolved": "https://registry.npmjs.org/posthog-js/-/posthog-js-1.53.4.tgz", - "integrity": "sha512-aaQ9S+/eDuBl2XTuU/lMyMtX7eeNAQ/+53O0O+I05FwX7e5NDN1nVqlnkMP0pfZlFcnsPaVqm8N3HoYj+b7Eow==", + "version": "1.160.3", + "resolved": "https://registry.npmjs.org/posthog-js/-/posthog-js-1.160.3.tgz", + "integrity": "sha512-mGvxOIlWPtdPx8EI0MQ81wNKlnH2K0n4RqwQOl044b34BCKiFVzZ7Hc7geMuZNaRAvCi5/5zyGeWHcAYZQxiMQ==", + "license": "MIT", "dependencies": { - "fflate": "^0.4.1", - "rrweb-snapshot": "^1.1.14" + "fflate": "^0.4.8", + "preact": "^10.19.3", + "web-vitals": "^4.0.1" } }, "node_modules/posthog-node": { @@ -6702,9 +6704,10 @@ } }, "node_modules/preact": { - "version": "10.13.2", - "resolved": "https://registry.npmjs.org/preact/-/preact-10.13.2.tgz", - "integrity": "sha512-q44QFLhOhty2Bd0Y46fnYW0gD/cbVM9dUVtNTDKPcdXSMA7jfY+Jpd6rk3GB0lcQss0z5s/6CmVP0Z/hV+g6pw==", + "version": "10.24.1", + "resolved": "https://registry.npmjs.org/preact/-/preact-10.24.1.tgz", + "integrity": "sha512-PnBAwFI3Yjxxcxw75n6VId/5TFxNW/81zexzWD9jn1+eSrOP84NdsS38H5IkF/UH3frqRPT+MvuCoVHjTDTnDw==", + "license": "MIT", "funding": { "type": "opencollective", "url": "https://opencollective.com/preact" @@ -7385,11 +7388,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/rrweb-snapshot": { - "version": "1.1.14", - "resolved": "https://registry.npmjs.org/rrweb-snapshot/-/rrweb-snapshot-1.1.14.tgz", - "integrity": "sha512-eP5pirNjP5+GewQfcOQY4uBiDnpqxNRc65yKPW0eSoU1XamDfc4M8oqpXGMyUyvLyxFDB0q0+DChuxxiU2FXBQ==" - }, "node_modules/run-parallel": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", @@ -8401,6 +8399,12 @@ "node": ">=10.13.0" } }, + "node_modules/web-vitals": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/web-vitals/-/web-vitals-4.2.3.tgz", + "integrity": "sha512-/CFAm1mNxSmOj6i0Co+iGFJ58OS4NRGVP+AWS/l509uIK5a1bSoIVaHz/ZumpHTfHSZBpgrJ+wjfpAOrTHok5Q==", + "license": "Apache-2.0" + }, "node_modules/webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", @@ -13415,12 +13419,13 @@ "dev": true }, "posthog-js": { - "version": "1.53.4", - "resolved": "https://registry.npmjs.org/posthog-js/-/posthog-js-1.53.4.tgz", - "integrity": "sha512-aaQ9S+/eDuBl2XTuU/lMyMtX7eeNAQ/+53O0O+I05FwX7e5NDN1nVqlnkMP0pfZlFcnsPaVqm8N3HoYj+b7Eow==", + "version": "1.160.3", + "resolved": "https://registry.npmjs.org/posthog-js/-/posthog-js-1.160.3.tgz", + "integrity": "sha512-mGvxOIlWPtdPx8EI0MQ81wNKlnH2K0n4RqwQOl044b34BCKiFVzZ7Hc7geMuZNaRAvCi5/5zyGeWHcAYZQxiMQ==", "requires": { - "fflate": "^0.4.1", - "rrweb-snapshot": "^1.1.14" + "fflate": "^0.4.8", + "preact": "^10.19.3", + "web-vitals": "^4.0.1" } }, "posthog-node": { @@ -13443,9 +13448,9 @@ } }, "preact": { - "version": "10.13.2", - "resolved": "https://registry.npmjs.org/preact/-/preact-10.13.2.tgz", - "integrity": "sha512-q44QFLhOhty2Bd0Y46fnYW0gD/cbVM9dUVtNTDKPcdXSMA7jfY+Jpd6rk3GB0lcQss0z5s/6CmVP0Z/hV+g6pw==" + "version": "10.24.1", + "resolved": "https://registry.npmjs.org/preact/-/preact-10.24.1.tgz", + "integrity": "sha512-PnBAwFI3Yjxxcxw75n6VId/5TFxNW/81zexzWD9jn1+eSrOP84NdsS38H5IkF/UH3frqRPT+MvuCoVHjTDTnDw==" }, "preact-render-to-string": { "version": "5.2.6", @@ -13880,11 +13885,6 @@ "glob": "^7.1.3" } }, - "rrweb-snapshot": { - "version": "1.1.14", - "resolved": "https://registry.npmjs.org/rrweb-snapshot/-/rrweb-snapshot-1.1.14.tgz", - "integrity": "sha512-eP5pirNjP5+GewQfcOQY4uBiDnpqxNRc65yKPW0eSoU1XamDfc4M8oqpXGMyUyvLyxFDB0q0+DChuxxiU2FXBQ==" - }, "run-parallel": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", @@ -14609,6 +14609,11 @@ "graceful-fs": "^4.1.2" } }, + "web-vitals": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/web-vitals/-/web-vitals-4.2.3.tgz", + "integrity": "sha512-/CFAm1mNxSmOj6i0Co+iGFJ58OS4NRGVP+AWS/l509uIK5a1bSoIVaHz/ZumpHTfHSZBpgrJ+wjfpAOrTHok5Q==" + }, "webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", diff --git a/package.json b/package.json index e902ebf..b8604d5 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "micro-cors": "^0.1.1", "next": "^13.4.10", "next-auth": "^4.22.1", - "posthog-js": "^1.53.4", + "posthog-js": "^1.160.3", "posthog-node": "^3.1.0", "react": "18.2.0", "react-dom": "18.2.0",