From f3d84fc852633c1b69a3e43a06e7f53e68efb86a Mon Sep 17 00:00:00 2001 From: Charles Hill Date: Tue, 26 Apr 2022 18:53:27 +0100 Subject: [PATCH] Upgraded deps --- lib/HttpLightningBackend.js | 2 +- package-lock.json | 28 ++++++++++++++-------------- package.json | 4 ++-- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/lib/HttpLightningBackend.js b/lib/HttpLightningBackend.js index 051e96d..93aa00a 100644 --- a/lib/HttpLightningBackend.js +++ b/lib/HttpLightningBackend.js @@ -3,7 +3,7 @@ const http = require('http'); const https = require('https'); const LightningBackend = require('./LightningBackend'); const querystring = require('querystring'); -const SocksProxyAgent = require('socks-proxy-agent'); +const { SocksProxyAgent } = require('socks-proxy-agent'); const url = require('url'); class HttpLightningBackend extends LightningBackend { diff --git a/package-lock.json b/package-lock.json index 03e838d..25acb32 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,9 +5,9 @@ "requires": true, "dependencies": { "@bleskomat/form": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/@bleskomat/form/-/form-1.2.5.tgz", - "integrity": "sha512-5R7X7Ha2tehDdsVD8M+MChHZRe3PkmGJ0rdWU169XCMwl/2VyUJoz/gN3nqfoD2jnRSlVGosQPQjA3nCaB19Ww==", + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/@bleskomat/form/-/form-1.2.6.tgz", + "integrity": "sha512-xAMj1zfYWydo2K2U30Tn1R8p2hOEdRF9o0d/QPYHjGNQkgx6rHv4lgf6/UXOptjUvPKEIRtxXJBl7fYZ8nnRzA==", "requires": { "express-handlebars": "6.0.3", "underscore": "1.13.2" @@ -463,9 +463,9 @@ } }, "graceful-fs": { - "version": "4.2.9", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.9.tgz", - "integrity": "sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ==" + "version": "4.2.10", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", + "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==" }, "growl": { "version": "1.10.5", @@ -900,13 +900,13 @@ } }, "socks-proxy-agent": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-6.1.0.tgz", - "integrity": "sha512-57e7lwCN4Tzt3mXz25VxOErJKXlPfXmkMLnk310v/jwW20jWRVcgsOit+xNkN3eIEdB47GwnfAEBLacZ/wVIKg==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-6.2.0.tgz", + "integrity": "sha512-wWqJhjb32Q6GsrUqzuFkukxb/zzide5quXYcMVpIjxalDBBYy2nqKCFQ/9+Ie4dvOYSQdOk3hUlZSdzZOd3zMQ==", "requires": { "agent-base": "^6.0.2", - "debug": "^4.3.1", - "socks": "^2.6.1" + "debug": "^4.3.3", + "socks": "^2.6.2" } }, "source-map": { @@ -972,9 +972,9 @@ "integrity": "sha512-7uc1O8h1M1g0rArakJdf0uLRSSgFcYexrVoKo+bzJd32gd4gDy2L/Z+8/FjPnU9ydY3pEnVPtr9FyscYY60K1g==" }, "uglify-js": { - "version": "3.15.3", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.15.3.tgz", - "integrity": "sha512-6iCVm2omGJbsu3JWac+p6kUiOpg3wFO2f8lIXjfEb8RrmLjzog1wTPMmwKB7swfzzqxj9YM+sGUM++u1qN4qJg==", + "version": "3.15.4", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.15.4.tgz", + "integrity": "sha512-vMOPGDuvXecPs34V74qDKk4iJ/SN4vL3Ow/23ixafENYvtrNvtbcgUeugTcUGRGsOF/5fU8/NYSL5Hyb3l1OJA==", "optional": true }, "underscore": { diff --git a/package.json b/package.json index 2402a3d..86b49d6 100644 --- a/package.json +++ b/package.json @@ -40,11 +40,11 @@ }, "homepage": "https://github.com/bleskomat/lightning-backends-node#readme", "dependencies": { - "@bleskomat/form": "1.2.5", + "@bleskomat/form": "1.2.6", "async": "3.2.3", "bolt11": "1.3.4", "secp256k1": "4.0.3", - "socks-proxy-agent": "6.1.0" + "socks-proxy-agent": "6.2.0" }, "devDependencies": { "dotenv": "16.0.0",