fix(dependencies update): update

This commit is contained in:
2019-11-19 23:00:37 +00:00
parent ad0fa8c65a
commit f08713bb45
6 changed files with 438 additions and 164 deletions

View File

@ -134,7 +134,10 @@ export class SmartNetwork {
return result;
}
public async getDefaultGateway(): Promise<{ipv4: plugins.os.NetworkInterfaceInfo, ipv6: plugins.os.NetworkInterfaceInfo}> {
public async getDefaultGateway(): Promise<{
ipv4: plugins.os.NetworkInterfaceInfo;
ipv6: plugins.os.NetworkInterfaceInfo;
}> {
const defaultGatewayName = await plugins.systeminformation.networkInterfaceDefault();
if (!defaultGatewayName) {
console.log('Cannot determine default gateway');

View File

@ -1,9 +1,7 @@
// native scope
import * as os from 'os';
export {
os
};
export { os };
// @pushrocks scope
import * as smartpromise from '@pushrocks/smartpromise';
@ -11,7 +9,7 @@ import * as smartstring from '@pushrocks/smartstring';
export { smartpromise, smartstring };
// @third party scope
// @third party scope
import * as portscanner from 'portscanner';
import speedtestNet from 'speedtest-net';
import * as systeminformation from 'systeminformation';