fix(core): update

This commit is contained in:
Philipp Kunz 2021-04-14 11:34:33 +00:00
parent 163ec2bd50
commit 12ede2be02
3 changed files with 1217 additions and 96 deletions

1305
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -16,13 +16,13 @@
"@gitzone/tsrun": "^1.2.12", "@gitzone/tsrun": "^1.2.12",
"@gitzone/tstest": "^1.0.52", "@gitzone/tstest": "^1.0.52",
"@pushrocks/tapbundle": "^3.2.14", "@pushrocks/tapbundle": "^3.2.14",
"@types/node": "^14.14.31", "@types/node": "^14.14.37",
"tslint": "^6.1.3", "tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0" "tslint-config-prettier": "^1.18.0"
}, },
"dependencies": { "dependencies": {
"@pushrocks/smartfile": "^8.0.8", "@pushrocks/smartfile": "^8.0.9",
"@pushrocks/smartnetwork": "^1.1.22", "@pushrocks/smartnetwork": "^2.0.4",
"@pushrocks/smartpromise": "^3.1.3", "@pushrocks/smartpromise": "^3.1.3",
"@pushrocks/smartpuppeteer": "^1.0.21", "@pushrocks/smartpuppeteer": "^1.0.21",
"@pushrocks/smartunique": "^3.0.3", "@pushrocks/smartunique": "^3.0.3",

View File

@ -39,7 +39,7 @@ export class SmartPdf {
}); });
this.htmlServerInstance = plugins.http.createServer(app); this.htmlServerInstance = plugins.http.createServer(app);
const smartnetworkInstance = new plugins.smartnetwork.SmartNetwork(); const smartnetworkInstance = new plugins.smartnetwork.SmartNetwork();
const portAvailable = smartnetworkInstance.isLocalPortAvailable(3210); const portAvailable = smartnetworkInstance.isLocalPortUnused(3210);
this.htmlServerInstance.listen(3210, 'localhost'); this.htmlServerInstance.listen(3210, 'localhost');
this.htmlServerInstance.on('listening', () => { this.htmlServerInstance.on('listening', () => {
this._readyDeferred.resolve(); this._readyDeferred.resolve();