From 6c857ed0353b46a43e8d18bab4846ae33dac014c Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 23 Sep 2023 18:34:49 +0000 Subject: [PATCH] fix: upgrade telegraf from 4.12.2 to 4.13.1 Snyk has created this PR to upgrade telegraf from 4.12.2 to 4.13.1. See this package in npm: https://www.npmjs.com/package/telegraf See this project in Snyk: https://app.snyk.io/org/jlenon7/project/42d854db-ca4b-4152-adf1-d7003d145b2b?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 42 +++++++++++++++++++++--------------------- package.json | 2 +- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7adec8f..5c3dfdb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "MIT", "dependencies": { "cls-rtracer": "^2.6.3", - "telegraf": "^4.12.2" + "telegraf": "^4.13.1" }, "devDependencies": { "@athenna/common": "^4.13.1", @@ -1336,6 +1336,11 @@ "node": ">=14.16" } }, + "node_modules/@telegraf/types": { + "version": "6.9.1", + "resolved": "https://registry.npmjs.org/@telegraf/types/-/types-6.9.1.tgz", + "integrity": "sha512-bzqwhicZq401T0e09tu8b1KvGfJObPmzKU/iKCT5V466AsAZZWQrBYQ5edbmD1VZuHLEwopoOVY5wPP4HaLtug==" + }, "node_modules/@tsconfig/node10": { "version": "1.0.8", "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.8.tgz", @@ -8933,18 +8938,18 @@ } }, "node_modules/telegraf": { - "version": "4.12.2", - "resolved": "https://registry.npmjs.org/telegraf/-/telegraf-4.12.2.tgz", - "integrity": "sha512-PgwqI4wD86cMqVfFtEM9JkGGnMHgvgLJbReZMmwW4z35QeOi4DvbdItONld4bPnYn3A1jcO0SRKs0BXmR+x+Ew==", + "version": "4.13.1", + "resolved": "https://registry.npmjs.org/telegraf/-/telegraf-4.13.1.tgz", + "integrity": "sha512-WXITwqE3ivqDqjHFxj94xaQhHddldBZdE2g/hRJXyCMTkwZYw69q9I7La7nsDpsHLn5ADSQlGv0KAbwFkFpmlA==", "dependencies": { + "@telegraf/types": "^6.8.1", "abort-controller": "^3.0.0", "debug": "^4.3.4", "mri": "^1.2.0", "node-fetch": "^2.6.8", "p-timeout": "^4.1.0", "safe-compare": "^1.1.4", - "sandwich-stream": "^2.0.2", - "typegram": "^4.3.0" + "sandwich-stream": "^2.0.2" }, "bin": { "telegraf": "lib/cli.mjs" @@ -9275,11 +9280,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/typegram": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/typegram/-/typegram-4.3.0.tgz", - "integrity": "sha512-pS4STyOZoJ++Mwa9GPMTNjOwEzMkxFfFt1By6IbMOJfheP0utMP/H1ga6J9R4DTjAYBr0UDn4eQg++LpWBvcAg==" - }, "node_modules/typescript": { "version": "5.0.2", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.0.2.tgz", @@ -10705,6 +10705,11 @@ "defer-to-connect": "^2.0.1" } }, + "@telegraf/types": { + "version": "6.9.1", + "resolved": "https://registry.npmjs.org/@telegraf/types/-/types-6.9.1.tgz", + "integrity": "sha512-bzqwhicZq401T0e09tu8b1KvGfJObPmzKU/iKCT5V466AsAZZWQrBYQ5edbmD1VZuHLEwopoOVY5wPP4HaLtug==" + }, "@tsconfig/node10": { "version": "1.0.8", "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.8.tgz", @@ -16395,18 +16400,18 @@ } }, "telegraf": { - "version": "4.12.2", - "resolved": "https://registry.npmjs.org/telegraf/-/telegraf-4.12.2.tgz", - "integrity": "sha512-PgwqI4wD86cMqVfFtEM9JkGGnMHgvgLJbReZMmwW4z35QeOi4DvbdItONld4bPnYn3A1jcO0SRKs0BXmR+x+Ew==", + "version": "4.13.1", + "resolved": "https://registry.npmjs.org/telegraf/-/telegraf-4.13.1.tgz", + "integrity": "sha512-WXITwqE3ivqDqjHFxj94xaQhHddldBZdE2g/hRJXyCMTkwZYw69q9I7La7nsDpsHLn5ADSQlGv0KAbwFkFpmlA==", "requires": { + "@telegraf/types": "^6.8.1", "abort-controller": "^3.0.0", "debug": "^4.3.4", "mri": "^1.2.0", "node-fetch": "^2.6.8", "p-timeout": "^4.1.0", "safe-compare": "^1.1.4", - "sandwich-stream": "^2.0.2", - "typegram": "^4.3.0" + "sandwich-stream": "^2.0.2" } }, "temp-dir": { @@ -16649,11 +16654,6 @@ "is-typed-array": "^1.1.9" } }, - "typegram": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/typegram/-/typegram-4.3.0.tgz", - "integrity": "sha512-pS4STyOZoJ++Mwa9GPMTNjOwEzMkxFfFt1By6IbMOJfheP0utMP/H1ga6J9R4DTjAYBr0UDn4eQg++LpWBvcAg==" - }, "typescript": { "version": "5.0.2", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.0.2.tgz", diff --git a/package.json b/package.json index be8d172..6c85170 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "#tests": "./tests/index.js" }, "dependencies": { - "telegraf": "^4.12.2", + "telegraf": "^4.13.1", "cls-rtracer": "^2.6.3" }, "devDependencies": {