Compare commits

...

4 Commits

Author SHA1 Message Date
ec4121cbcf 2.0.1 2021-04-13 10:09:09 +00:00
ea9a2572f9 fix(core): update 2021-04-13 10:09:09 +00:00
cc0f1c40a6 2.0.0 2021-04-13 10:07:39 +00:00
9da04081e4 BREAKING CHANGE(core): update 2021-04-13 10:07:39 +00:00
3 changed files with 3788 additions and 1763 deletions

5530
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{ {
"name": "@pushrocks/smartnetwork", "name": "@pushrocks/smartnetwork",
"version": "1.1.22", "version": "2.0.1",
"private": false, "private": false,
"description": "network diagnostics", "description": "network diagnostics",
"main": "dist_ts/index.js", "main": "dist_ts/index.js",
@ -13,20 +13,19 @@
}, },
"devDependencies": { "devDependencies": {
"@gitzone/tsbuild": "^2.1.25", "@gitzone/tsbuild": "^2.1.25",
"@gitzone/tstest": "^1.0.44", "@gitzone/tstest": "^1.0.52",
"@pushrocks/tapbundle": "^3.2.9", "@pushrocks/tapbundle": "^3.2.14",
"tslint": "^5.20.1", "tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0" "tslint-config-prettier": "^1.18.0"
}, },
"dependencies": { "dependencies": {
"@pushrocks/smartpromise": "^3.0.6", "@pushrocks/smartpromise": "^3.1.3",
"@pushrocks/smartstring": "^3.0.18", "@pushrocks/smartstring": "^3.0.24",
"@types/default-gateway": "^3.0.1", "@types/default-gateway": "^3.0.1",
"default-gateway": "^5.0.5",
"isopen": "^1.3.0", "isopen": "^1.3.0",
"public-ip": "^4.0.2", "public-ip": "^4.0.3",
"speedtest-net": "^1.6.0", "speedtest-net": "^2.1.1",
"systeminformation": "^4.26.10" "systeminformation": "^5.6.12"
}, },
"files": [ "files": [
"ts/**/*", "ts/**/*",

View File

@ -15,7 +15,7 @@ tap.test('should perform a speedtest', async () => {
}); });
tap.test('should determine wether a port is free', async () => { tap.test('should determine wether a port is free', async () => {
await expect(testSmartNetwork.isLocalPortAvailable(8080)).to.eventually.be.true; await expect(testSmartNetwork.isLocalPortUnused(8080)).to.eventually.be.true;
}); });
tap.test('should scan a port', async () => { tap.test('should scan a port', async () => {