mirror of
https://github.com/alexbosworth/balanceofsatoshis.git
synced 2026-08-13 12:33:37 +02:00
remove update notifier
This commit is contained in:
parent
41374971e1
commit
20192f6b8c
4 changed files with 319 additions and 1546 deletions
|
|
@ -1,5 +1,9 @@
|
|||
# Versions
|
||||
|
||||
## 12.13.4
|
||||
|
||||
- Remove update notifier functionality
|
||||
|
||||
## 12.13.3
|
||||
|
||||
- `reconnect`: Stop removing peers that have an inbound disabled routing policy
|
||||
|
|
|
|||
1848
package-lock.json
generated
1848
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -27,7 +27,7 @@
|
|||
"cbor": "8.1.0",
|
||||
"colorette": "2.0.19",
|
||||
"crypto-js": "4.1.1",
|
||||
"csv-parse": "5.2.0",
|
||||
"csv-parse": "5.2.1",
|
||||
"ecpair": "2.0.1",
|
||||
"goldengate": "11.2.3",
|
||||
"grammy": "1.9.0",
|
||||
|
|
@ -48,7 +48,6 @@
|
|||
"socks-proxy-agent": "7.0.0",
|
||||
"table": "6.8.0",
|
||||
"tiny-secp256k1": "2.2.1",
|
||||
"update-notifier": "5.1.0",
|
||||
"window-size": "1.1.1"
|
||||
},
|
||||
"description": "Lightning balance CLI",
|
||||
|
|
@ -84,5 +83,5 @@
|
|||
"postpublish": "docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t alexbosworth/balanceofsatoshis --push .",
|
||||
"test": "tap --branches=1 --functions=1 --lines=1 --statements=1 -t 60 test/arrays/*.js test/balances/*.js test/chain/*.js test/display/*.js test/encryption/*.js test/lnd/*.js test/network/*.js test/nodes/*.js test/peers/*.js test/responses/*.js test/routing/*.js test/services/*.js test/swaps/*.js test/tags/*.js test/telegram/*.js test/wallets/*.js"
|
||||
},
|
||||
"version": "12.13.3"
|
||||
"version": "12.13.4"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
const {getBorderCharacters} = require('table');
|
||||
const renderTable = require('table').table;
|
||||
const updateNotifier = require('update-notifier');
|
||||
|
||||
const pkg = require('./../package.json');
|
||||
const writeJsonFile = require('./write_json_file');
|
||||
|
|
@ -8,7 +7,6 @@ const writeJsonFile = require('./write_json_file');
|
|||
const border = getBorderCharacters('norc');
|
||||
const emptyCell = ' ';
|
||||
const {isArray} = Array;
|
||||
const notifier = updateNotifier({pkg});
|
||||
const summary = n => `${n}_summary`;
|
||||
|
||||
/** Return an object result to a logger in a promise
|
||||
|
|
@ -74,12 +72,6 @@ module.exports = ({exit, file, logger, reject, resolve, table, write}) => {
|
|||
logger.info(res);
|
||||
}
|
||||
|
||||
try {
|
||||
notifier.notify({isGlobal: true});
|
||||
} catch (err) {
|
||||
// Suppress errors on version notify issues
|
||||
}
|
||||
|
||||
if (!!exit) {
|
||||
exit();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue