From fe740e50af6259ae5f9aa4dc74cde5320cda98b4 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 10 Nov 2024 04:28:19 +0000 Subject: [PATCH] feat: upgrade prom-client from 12.0.0 to 15.1.3 Snyk has created this PR to upgrade prom-client from 12.0.0 to 15.1.3. See this package in npm: prom-client See this project in Snyk: https://app.snyk.io/org/doperiddle/project/09cea5ed-d730-4815-9858-2b92e1f152c3?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 34 +++++++++++++++++++++++++--------- package.json | 2 +- 2 files changed, 26 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index 975e9723..519790bd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -482,6 +482,11 @@ } } }, + "@opentelemetry/api": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-1.9.0.tgz", + "integrity": "sha512-3giAOQvZiH5F9bMlMiv8+GSPMeqg0dbaeo58/0SlA9sxSqZhnUtxzX9/2FzyhS9sWQf5S0GJE0AKBrFqjpeYcg==" + }, "@payid-org/server-metrics": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@payid-org/server-metrics/-/server-metrics-1.1.0.tgz", @@ -490,6 +495,16 @@ "@xpring-eng/logger": "^1.0.0", "prom-client": "^12.0.0", "typescript": "^3.9.5" + }, + "dependencies": { + "prom-client": { + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/prom-client/-/prom-client-12.0.0.tgz", + "integrity": "sha512-JbzzHnw0VDwCvoqf8y1WDtq4wSBAbthMB1pcVI/0lzdqHGJI3KBJDXle70XK+c7Iv93Gihqo0a5LlOn+g8+DrQ==", + "requires": { + "tdigest": "^0.1.1" + } + } } }, "@types/body-parser": { @@ -4841,10 +4856,11 @@ "dev": true }, "prom-client": { - "version": "12.0.0", - "resolved": "https://registry.npmjs.org/prom-client/-/prom-client-12.0.0.tgz", - "integrity": "sha512-JbzzHnw0VDwCvoqf8y1WDtq4wSBAbthMB1pcVI/0lzdqHGJI3KBJDXle70XK+c7Iv93Gihqo0a5LlOn+g8+DrQ==", + "version": "15.1.3", + "resolved": "https://registry.npmjs.org/prom-client/-/prom-client-15.1.3.tgz", + "integrity": "sha512-6ZiOBfCywsD4k1BN9IX0uZhF+tJkV8q8llP64G5Hajs4JOeVLPCwpPVcpXy3BwYiUGgyJzsJJQeOIv7+hDSq8g==", "requires": { + "@opentelemetry/api": "^1.4.0", "tdigest": "^0.1.1" } }, @@ -5551,6 +5567,12 @@ } } }, + "string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", + "dev": true + }, "string-argv": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/string-argv/-/string-argv-0.1.2.tgz", @@ -5610,12 +5632,6 @@ "es-abstract": "^1.17.5" } }, - "string_decoder": { - "version": "0.10.31", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", - "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", - "dev": true - }, "stringcase": { "version": "4.3.1", "resolved": "https://registry.npmjs.org/stringcase/-/stringcase-4.3.1.tgz", diff --git a/package.json b/package.json index 64b75e46..92cfd165 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "knex": "^0.21.5", "knex-stringcase": "^1.4.5", "pg": "8.2.1", - "prom-client": "^12.0.0", + "prom-client": "^15.1.3", "semver": "^7.3.2", "typescript": "^3.9.5" },