fix(core): update

This commit is contained in:
Philipp Kunz 2022-07-18 02:48:46 +02:00
parent 407ccf66b9
commit 76999d8720
5 changed files with 2248 additions and 10728 deletions

12927
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -13,17 +13,15 @@
"build": "tsbuild --web --allowimplicitany"
},
"devDependencies": {
"@gitzone/tsbuild": "^2.1.60",
"@gitzone/tstest": "^1.0.69",
"@gitzone/tsbuild": "^2.1.63",
"@gitzone/tstest": "^1.0.71",
"@pushrocks/tapbundle": "^5.0.3",
"@types/node": "^17.0.23",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.15.0"
"@types/node": "^18.0.6"
},
"dependencies": {
"@pushrocks/smartdelay": "^2.0.13",
"@pushrocks/smartshell": "^2.0.30",
"puppeteer": "^13.5.1",
"puppeteer": "^15.4.0",
"tree-kill": "^1.2.2"
},
"files": [

8
ts/00_commitinfo_data.ts Normal file
View File

@ -0,0 +1,8 @@
/**
* autocreated commitinfo by @pushrocks/commitinfo
*/
export const commitinfo = {
name: '@pushrocks/smartpuppeteer',
version: '2.0.1',
description: 'simplified access to puppeteer'
}

View File

@ -28,7 +28,7 @@ export class IncognitoBrowser {
*/
public async stop() {
this.status = 'stopped';
plugins.treeKill(this.browser.process().pid, 'SIGKILL');
plugins.treeKill(this.browser.process()?.pid as number, 'SIGKILL');
await this.browser.close();
}

View File

@ -1,17 +0,0 @@
{
"extends": ["tslint:latest", "tslint-config-prettier"],
"rules": {
"semicolon": [true, "always"],
"no-console": false,
"ordered-imports": false,
"object-literal-sort-keys": false,
"member-ordering": {
"options":{
"order": [
"static-method"
]
}
}
},
"defaultSeverity": "warning"
}