diff --git a/package-lock.json b/package-lock.json index c98db262..047e2b92 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "lnp2pbot", - "version": "0.11.0", + "version": "0.11.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "lnp2pbot", - "version": "0.11.0", + "version": "0.11.1", "license": "MIT", "dependencies": { "@grammyjs/i18n": "^0.5.1", @@ -21,7 +21,7 @@ "nostr-tools": "^2.5.2", "qrcode": "^1.5.0", "socks-proxy-agent": "^6.2.0-beta.0", - "telegraf": "^4.6.0", + "telegraf": "4.8.0", "websocket-polyfill": "0.0.3", "winston": "^3.7.2" }, @@ -1694,11 +1694,6 @@ "node": ">=16.0.0" } }, - "node_modules/@telegraf/types": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/@telegraf/types/-/types-7.1.0.tgz", - "integrity": "sha512-kGevOIbpMcIlCDeorKGpwZmdH7kHbqlk/Yj6dEpJMKEQw5lk0KVQY0OLXaCswy8GqlIVLd5625OB+rAntP9xVw==" - }, "node_modules/@types/body-parser": { "version": "1.19.5", "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.5.tgz", @@ -5193,7 +5188,6 @@ "version": "1.2.8", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", - "dev": true, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -5347,6 +5341,11 @@ "node": ">=10" } }, + "node_modules/module-alias": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/module-alias/-/module-alias-2.2.3.tgz", + "integrity": "sha512-23g5BFj4zdQL/b6tor7Ji+QY4pEfNH784BMslY9Qb0UnJWRAt+lQGLYmRaM0KDBwIG23ffEBELhZDP2rhi9f/Q==" + }, "node_modules/module-not-found-error": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/module-not-found-error/-/module-not-found-error-1.0.1.tgz", @@ -5419,14 +5418,6 @@ "node": ">=12.0.0" } }, - "node_modules/mri": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/mri/-/mri-1.2.0.tgz", - "integrity": "sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==", - "engines": { - "node": ">=4" - } - }, "node_modules/ms": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", @@ -6974,26 +6965,32 @@ } }, "node_modules/telegraf": { - "version": "4.16.3", - "resolved": "https://registry.npmjs.org/telegraf/-/telegraf-4.16.3.tgz", - "integrity": "sha512-yjEu2NwkHlXu0OARWoNhJlIjX09dRktiMQFsM678BAH/PEPVwctzL67+tvXqLCRQQvm3SDtki2saGO9hLlz68w==", + "version": "4.8.0", + "resolved": "https://registry.npmjs.org/telegraf/-/telegraf-4.8.0.tgz", + "integrity": "sha512-jFcVqYySzRL1zKZSiKKbWbCvarfoF3F6/zEiscDrRbFSAEyGFmpziKWa7pTZeNZezAw1jyp0oI8GEv6JRa4MSg==", "dependencies": { - "@telegraf/types": "^7.1.0", "abort-controller": "^3.0.0", - "debug": "^4.3.4", - "mri": "^1.2.0", - "node-fetch": "^2.7.0", + "debug": "^4.3.3", + "minimist": "^1.2.6", + "module-alias": "^2.2.2", + "node-fetch": "^2.6.7", "p-timeout": "^4.1.0", "safe-compare": "^1.1.4", - "sandwich-stream": "^2.0.2" + "sandwich-stream": "^2.0.2", + "typegram": "^3.9.0" }, "bin": { - "telegraf": "lib/cli.mjs" + "telegraf": "bin/telegraf" }, "engines": { "node": "^12.20.0 || >=14.13.1" } }, + "node_modules/telegraf/node_modules/typegram": { + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/typegram/-/typegram-3.12.0.tgz", + "integrity": "sha512-/VrU0sJv8BdOsBIpYT4w35C7dPg5YyKP6fLiYN9qYXRZ86TVIiw0ZypkzElTAfDVsJtJSluGAufUrcX7VRSIYQ==" + }, "node_modules/telegram-test-api": { "version": "2.6.0", "resolved": "https://registry.npmjs.org/telegram-test-api/-/telegram-test-api-2.6.0.tgz", diff --git a/package.json b/package.json index 10bcd3fe..a259926b 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "nostr-tools": "^2.5.2", "qrcode": "^1.5.0", "socks-proxy-agent": "^6.2.0-beta.0", - "telegraf": "^4.6.0", + "telegraf": "4.8.0", "websocket-polyfill": "0.0.3", "winston": "^3.7.2" },