From 2a69d191cbbc25020c6ae90b2961d2301eaa22f8 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 27 Jul 2024 08:32:24 +0000 Subject: [PATCH] fix: upgrade posthog-js from 1.139.6 to 1.144.2 Snyk has created this PR to upgrade posthog-js from 1.139.6 to 1.144.2. See this package in npm: posthog-js See this project in Snyk: https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/f6446ec8-d441-487e-b58f-38373430e213?utm_source=github&utm_medium=referral&page=upgrade-pr --- Common/package-lock.json | 17 ++++++++++++----- Common/package.json | 2 +- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/Common/package-lock.json b/Common/package-lock.json index bdac0519f44..2c493e63e8e 100644 --- a/Common/package-lock.json +++ b/Common/package-lock.json @@ -16,7 +16,7 @@ "json5": "^2.2.3", "moment": "^2.30.1", "moment-timezone": "^0.5.45", - "posthog-js": "^1.139.6", + "posthog-js": "^1.144.2", "reflect-metadata": "^0.2.2", "slugify": "^1.6.5", "typeorm": "^0.3.20", @@ -3846,13 +3846,14 @@ } }, "node_modules/posthog-js": { - "version": "1.139.6", - "resolved": "https://registry.npmjs.org/posthog-js/-/posthog-js-1.139.6.tgz", - "integrity": "sha512-JpJwufLW6RhJ7yup0qZ6Lx9Fl0GpwhKUO30wzINywksTgucOujqneepgaSjuCoYPb6Sb0ULImUebIYlotSAzBA==", + "version": "1.144.2", + "resolved": "https://registry.npmjs.org/posthog-js/-/posthog-js-1.144.2.tgz", + "integrity": "sha512-Kgq8/bJvrTbDDsfSqAURIiYdkJ5tPegR2JC6pqIeoFjnTx/Rrq0j4n3vDW7K1nCapBch7G5gTZdaK7O6t+rI9A==", "license": "MIT", "dependencies": { "fflate": "^0.4.8", - "preact": "^10.19.3" + "preact": "^10.19.3", + "web-vitals": "^4.0.1" } }, "node_modules/preact": { @@ -4837,6 +4838,12 @@ "makeerror": "1.0.12" } }, + "node_modules/web-vitals": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/web-vitals/-/web-vitals-4.2.2.tgz", + "integrity": "sha512-nYfoOqb4EmElljyXU2qdeE76KsvoHdftQKY4DzA9Aw8DervCg2bG634pHLrJ/d6+B4mE3nWTSJv8Mo7B2mbZkw==", + "license": "Apache-2.0" + }, "node_modules/webidl-conversions": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-6.1.0.tgz", diff --git a/Common/package.json b/Common/package.json index eaa31215008..c6dc29e3e4a 100644 --- a/Common/package.json +++ b/Common/package.json @@ -27,7 +27,7 @@ "json5": "^2.2.3", "moment": "^2.30.1", "moment-timezone": "^0.5.45", - "posthog-js": "^1.139.6", + "posthog-js": "^1.144.2", "reflect-metadata": "^0.2.2", "slugify": "^1.6.5", "typeorm": "^0.3.20",