fix(core): update

This commit is contained in:
Philipp Kunz 2022-11-08 07:56:52 +01:00
parent e9bf2032fb
commit 431f63e283
4 changed files with 61 additions and 46 deletions

View File

@ -21,7 +21,7 @@
"homepage": "https://gitlab.com/pushrocks/smartbrowser#README",
"dependencies": {
"@pushrocks/smartdelay": "^2.0.13",
"@pushrocks/smartpdf": "^3.0.14",
"@pushrocks/smartpdf": "^3.0.15",
"@pushrocks/smartpuppeteer": "^2.0.0",
"@pushrocks/smartunique": "^3.0.3"
},
@ -29,7 +29,8 @@
"@gitzone/tsbuild": "^2.1.61",
"@gitzone/tsrun": "^1.2.39",
"@gitzone/tstest": "^1.0.69",
"@pushrocks/tapbundle": "^5.0.3"
"@pushrocks/tapbundle": "^5.0.3",
"@types/node": "^18.11.9"
},
"private": false,
"files": [

View File

@ -5,22 +5,24 @@ specifiers:
'@gitzone/tsrun': ^1.2.39
'@gitzone/tstest': ^1.0.69
'@pushrocks/smartdelay': ^2.0.13
'@pushrocks/smartpdf': ^3.0.14
'@pushrocks/smartpdf': ^3.0.15
'@pushrocks/smartpuppeteer': ^2.0.0
'@pushrocks/smartunique': ^3.0.3
'@pushrocks/tapbundle': ^5.0.3
'@types/node': ^18.11.9
dependencies:
'@pushrocks/smartdelay': 2.0.13
'@pushrocks/smartpdf': 3.0.14
'@pushrocks/smartpdf': 3.0.15
'@pushrocks/smartpuppeteer': 2.0.2
'@pushrocks/smartunique': 3.0.3
devDependencies:
'@gitzone/tsbuild': 2.1.65
'@gitzone/tsrun': 1.2.39
'@gitzone/tstest': 1.0.73
'@gitzone/tsrun': 1.2.39_@types+node@18.11.9
'@gitzone/tstest': 1.0.73_@types+node@18.11.9
'@pushrocks/tapbundle': 5.0.4
'@types/node': 18.11.9
packages:
@ -143,7 +145,7 @@ packages:
'@pushrocks/smartpromise': 3.1.7
'@pushrocks/smartspawn': 3.0.2
'@types/html-minifier': 4.0.2
'@types/node': 18.11.7
'@types/node': 18.11.9
esbuild: 0.14.54
html-minifier: 4.0.0
typescript: 4.8.4
@ -151,13 +153,13 @@ packages:
- supports-color
dev: true
/@gitzone/tsrun/1.2.39:
/@gitzone/tsrun/1.2.39_@types+node@18.11.9:
resolution: {integrity: sha512-gLqKOic3T1GIdqsp+T5g1OewfboMJKKMr7/SJgBuMx4BUEBfW7TYhqk6psgfewhHs/zKII5rWbbPauykkKlYIg==}
hasBin: true
dependencies:
'@pushrocks/smartfile': 10.0.5
'@pushrocks/smartshell': 2.0.30
ts-node: 10.9.1_typescript@4.8.4
ts-node: 10.9.1_cbe7ovvae6zqfnmtgctpgpys54
typescript: 4.8.4
transitivePeerDependencies:
- '@swc/core'
@ -166,12 +168,12 @@ packages:
- supports-color
dev: true
/@gitzone/tstest/1.0.73:
/@gitzone/tstest/1.0.73_@types+node@18.11.9:
resolution: {integrity: sha512-IaarQBH6vTivIvVpdvwfiABLHf6bkGQlYLcDHymTllMMYrPKRFnpkW+hHJ8KlV0Q8eX/Uyar1PtnSxKEtO3/Fw==}
hasBin: true
dependencies:
'@gitzone/tsbundle': 2.0.7
'@gitzone/tsrun': 1.2.39
'@gitzone/tsrun': 1.2.39_@types+node@18.11.9
'@pushrocks/consolecolor': 2.0.1
'@pushrocks/smartbrowser': 2.0.2
'@pushrocks/smartdelay': 2.0.13
@ -356,7 +358,7 @@ packages:
resolution: {integrity: sha512-VDBGb6O1nyFrFQFVS7AsVUjkundUVFEkWWEsYVCeglqt3AELzXZoxtV0Lrc9leVFwGS/v/0tUWi6gTz3T7wCIw==}
dependencies:
'@pushrocks/smartdelay': 2.0.13
'@pushrocks/smartpdf': 3.0.14
'@pushrocks/smartpdf': 3.0.15
'@pushrocks/smartpuppeteer': 2.0.2
'@pushrocks/smartunique': 3.0.3
transitivePeerDependencies:
@ -574,7 +576,7 @@ packages:
'@types/default-gateway': 3.0.1
isopen: 1.3.0
public-ip: 6.0.1
systeminformation: 5.12.10
systeminformation: 5.12.13
/@pushrocks/smartparam/1.1.6:
resolution: {integrity: sha512-1El/F2QTWYDGy4Nh6vz9Ry1JVg1FEeyexB7Uvi4zHElpXYVxwso6xImRTLj+SW50JAg7nwEZ+ljkzTG9XvnwWA==}
@ -587,8 +589,8 @@ packages:
/@pushrocks/smartpath/5.0.5:
resolution: {integrity: sha512-t2lXXGMpKnPlwubIcYGD6cGi2CUJxJ3t2yftVt8tHfjX68jELA5sJhFMtyD3AeFZVxePFZOCiHwWEbWkSDNnmw==}
/@pushrocks/smartpdf/3.0.14:
resolution: {integrity: sha512-lEA1L8YEQ+WS0TeeiT9emN//wORdzNshasL7YeS202LFgIYLGdXuK6bX9Owue2i5Foeo8L1cQkfvev8vivntVw==}
/@pushrocks/smartpdf/3.0.15:
resolution: {integrity: sha512-z1XAxHW3C0gkzk30yZJpc74S6MJyMBAtlG9FiGhIhs9jGw6z/dkgpVr8beJMOCOX1KIzlA5HJoJOWtex/fd90g==}
dependencies:
'@pushrocks/smartdelay': 2.0.13
'@pushrocks/smartfile': 10.0.5
@ -597,7 +599,7 @@ packages:
'@pushrocks/smartpromise': 3.1.7
'@pushrocks/smartpuppeteer': 2.0.2
'@pushrocks/smartunique': 3.0.3
'@tsclass/tsclass': 4.0.26
'@tsclass/tsclass': 4.0.27
'@types/express': 4.17.14
express: 4.18.2
pdf-merger-js: 3.4.0
@ -842,6 +844,12 @@ packages:
resolution: {integrity: sha512-wHL7ryA4RJI+lnq19VTz66asN2lTyDHTawxQX4n/SyuXs0XbfSXWBbq7MfgYgLRA9wuuE+gapzRsyIPY/CZsBA==}
dependencies:
type-fest: 3.1.0
dev: true
/@tsclass/tsclass/4.0.27:
resolution: {integrity: sha512-bljXAsgl1dHha2O9jSd1q8nCkYTswXdTUFqqcIKu25QsWb9g7uJyOXCG5YH9i82BhHRJurDaMfXPz/fXCktKMw==}
dependencies:
type-fest: 3.2.0
/@tsconfig/node10/1.0.9:
resolution: {integrity: sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==}
@ -862,7 +870,7 @@ packages:
/@types/accepts/1.3.5:
resolution: {integrity: sha512-jOdnI/3qTpHABjM5cx1Hc0sKsPoYCp+DP/GJRGtDlPd7fiV9oXGGIcjW/ZOxLIvjGz8MA+uMZI9metHlgqbgwQ==}
dependencies:
'@types/node': 18.11.7
'@types/node': 18.11.9
dev: true
/@types/babel__code-frame/7.0.3:
@ -873,7 +881,7 @@ packages:
resolution: {integrity: sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==}
dependencies:
'@types/connect': 3.4.35
'@types/node': 18.11.7
'@types/node': 18.11.9
/@types/buffer-json/2.0.1:
resolution: {integrity: sha512-y2q2QGDqpS8NBtgKg8si+vKfanyd8smKzTglDCm7dXrco1VclSR8G1/uezK+sWbEUxsVPTomv5RxsTl3JAzxLA==}
@ -891,14 +899,14 @@ packages:
/@types/clean-css/4.2.6:
resolution: {integrity: sha512-Ze1tf+LnGPmG6hBFMi0B4TEB0mhF7EiMM5oyjLDNPE9hxrPU0W+5+bHvO+eFPA+bt0iC1zkQMoU/iGdRVjcRbw==}
dependencies:
'@types/node': 18.11.7
'@types/node': 18.11.9
source-map: 0.6.1
dev: true
/@types/co-body/6.1.0:
resolution: {integrity: sha512-3e0q2jyDAnx/DSZi0z2H0yoZ2wt5yRDZ+P7ymcMObvq0ufWRT4tsajyO+Q1VwVWiv9PRR4W3YEjEzBjeZlhF+w==}
dependencies:
'@types/node': 18.11.7
'@types/node': 18.11.9
'@types/qs': 6.9.7
dev: true
@ -911,7 +919,7 @@ packages:
/@types/connect/3.4.35:
resolution: {integrity: sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==}
dependencies:
'@types/node': 18.11.7
'@types/node': 18.11.9
/@types/content-disposition/0.5.5:
resolution: {integrity: sha512-v6LCdKfK6BwcqMo+wYW05rLS12S0ZO0Fl4w1h4aaZMD7bqT3gVUns6FvLJKGZHQmYn3SX55JWGpziwJRwVgutA==}
@ -931,7 +939,7 @@ packages:
'@types/connect': 3.4.35
'@types/express': 4.17.14
'@types/keygrip': 1.0.2
'@types/node': 18.11.7
'@types/node': 18.11.9
dev: true
/@types/cors/2.8.12:
@ -948,7 +956,7 @@ packages:
/@types/express-serve-static-core/4.17.31:
resolution: {integrity: sha512-DxMhY+NAsTwMMFHBTtJFNp5qiHKJ7TeqOo23zVEM9alT1Ml27Q3xcTH0xwxn7Q0BbMcVEJOs/7aQtUWupUQN3Q==}
dependencies:
'@types/node': 18.11.7
'@types/node': 18.11.9
'@types/qs': 6.9.7
'@types/range-parser': 1.2.4
@ -976,24 +984,24 @@ packages:
/@types/finalhandler/1.2.0:
resolution: {integrity: sha512-NgEZKOhxUSXkwNnWNaMXZaopQ5aFGPAYiEpEWIkQ6Dzc4iS0M1oQsvWne2t+ex9QZUAdTz/ZT4tOXJhWtP6mCw==}
dependencies:
'@types/node': 18.11.7
'@types/node': 18.11.9
dev: true
/@types/from2/2.3.1:
resolution: {integrity: sha512-l7kKtohAc5h0CKh6vFMv5WcWvQx40KE6dQneUg22i8c1mwxhVPbN781bYts/mYXxSBrQMhNxkhwg18QY0MfeOg==}
dependencies:
'@types/node': 18.11.7
'@types/node': 18.11.9
/@types/fs-extra/9.0.13:
resolution: {integrity: sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA==}
dependencies:
'@types/node': 18.11.7
'@types/node': 18.11.9
/@types/glob/8.0.0:
resolution: {integrity: sha512-l6NQsDDyQUVeoTynNpC9uRvCUint/gSUXQA2euwmTuWGvPY5LSDUu6tkCtJB2SvGQlJQzLaKqcGZP4//7EDveA==}
dependencies:
'@types/minimatch': 5.1.2
'@types/node': 18.11.7
'@types/node': 18.11.9
/@types/html-minifier/4.0.2:
resolution: {integrity: sha512-4IkmkXJP/25R2fZsCHDX2abztXuQRzUAZq39PfCMz2loLFj8vS9y7aF6vDl58koXSTpsF+eL4Lc5Y4Aww/GCTQ==}
@ -1057,7 +1065,7 @@ packages:
'@types/http-errors': 1.8.2
'@types/keygrip': 1.0.2
'@types/koa-compose': 3.2.5
'@types/node': 18.11.7
'@types/node': 18.11.9
dev: true
/@types/lodash.clonedeep/4.5.7:
@ -1080,8 +1088,8 @@ packages:
/@types/minimatch/5.1.2:
resolution: {integrity: sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==}
/@types/node/18.11.7:
resolution: {integrity: sha512-LhFTglglr63mNXUSRYD8A+ZAIu5sFqNJ4Y2fPuY7UlrySJH87rRRlhtVmMHplmfk5WkoJGmDjE9oiTfyX94CpQ==}
/@types/node/18.11.9:
resolution: {integrity: sha512-CRpX21/kGdzjOpFsZSkcrXMGIBWMGNIHXXBVFSH+ggkftxg+XYP20TESbh+zFvFj3EQOl5byk0HTRn1IL6hbqg==}
/@types/parse5/6.0.3:
resolution: {integrity: sha512-SuT16Q1K51EAVPz1K29DJ/sXjhSQ0zjvsypYJ6tlwVsRV9jwW5Adq2ch8Dq8kDBCkYnELS7N7VNCSB5nC56t/g==}
@ -1107,7 +1115,7 @@ packages:
resolution: {integrity: sha512-z5xyF6uh8CbjAu9760KDKsH2FcDxZ2tFCsA4HIMWE6IkiYMXfVoa+4f9KX+FN0ZLsaMw1WNG2ETLA6N+/YA+cg==}
dependencies:
'@types/mime': 3.0.1
'@types/node': 18.11.7
'@types/node': 18.11.9
/@types/shortid/0.0.29:
resolution: {integrity: sha1-gJPuBBam4r8qpjOBCRFLP7/6Dps=}
@ -1135,7 +1143,7 @@ packages:
/@types/through2/2.0.36:
resolution: {integrity: sha512-vuifQksQHJXhV9McpVsXKuhnf3lsoX70PnhcqIAbs9dqLH2NgrGz0DzZPDY3+Yh6eaRqcE1gnCQ6QhBn1/PT5A==}
dependencies:
'@types/node': 18.11.7
'@types/node': 18.11.9
/@types/trusted-types/2.0.2:
resolution: {integrity: sha512-F5DIZ36YVLE+PN+Zwws4kJogq47hNgX3Nx6WyDJ3kcplxyke3XIzB8uK5n/Lpm1HBsbGzd6nmGehL8cPekP+Tg==}
@ -1156,14 +1164,14 @@ packages:
/@types/ws/7.4.7:
resolution: {integrity: sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==}
dependencies:
'@types/node': 18.11.7
'@types/node': 18.11.9
dev: true
/@types/yauzl/2.10.0:
resolution: {integrity: sha512-Cn6WYCm0tXv8p6k+A8PvbDG763EDpBoTzHdA+Q/MF6H3sapGjCm9NzoaJncJS9tUKSuCoDs9XHxYYsQDgxR6kw==}
requiresBuild: true
dependencies:
'@types/node': 18.11.7
'@types/node': 18.11.9
optional: true
/@web/browser-logs/0.2.5:
@ -1483,7 +1491,7 @@ packages:
'@types/http-cache-semantics': 4.0.1
get-stream: 6.0.1
http-cache-semantics: 4.1.0
keyv: 4.5.0
keyv: 4.5.2
mimic-response: 4.0.0
normalize-url: 7.2.0
responselike: 3.0.0
@ -1855,7 +1863,7 @@ packages:
dependencies:
'@types/cookie': 0.4.1
'@types/cors': 2.8.12
'@types/node': 18.11.7
'@types/node': 18.11.9
accepts: 1.3.8
base64id: 2.0.0
cookie: 0.4.2
@ -2737,8 +2745,8 @@ packages:
tsscmp: 1.0.6
dev: true
/keyv/4.5.0:
resolution: {integrity: sha512-2YvuMsA+jnFGtBareKqgANOEKe1mk3HKiXu2fRmAfyxG0MJAywNhi5ttWA3PMjl4NmpyjZNbFifR2vNjW1znfA==}
/keyv/4.5.2:
resolution: {integrity: sha512-5MHbFaKn8cNSmVW7BYnijeAVlE4cYA/SVkifVgrh7yotnfhKmjuXpDKjrABLnT0SfHWV21P8ow07OGfRrNDg8g==}
dependencies:
json-buffer: 3.0.1
@ -3177,8 +3185,8 @@ packages:
/pako/0.2.9:
resolution: {integrity: sha1-8/dSL073gjSNqBYbrZ7P1Rv4OnU=}
/pako/2.0.4:
resolution: {integrity: sha512-v8tweI900AUkZN6heMU/4Uy4cXRc2AYNRggVmTR+dEncawDJgCdLMximOVA2p4qO57WMynangsfGRb5WD6L1Bg==}
/pako/2.1.0:
resolution: {integrity: sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug==}
/param-case/2.1.1:
resolution: {integrity: sha1-35T9jPZTHs915r75oIWPvHK+Ikc=}
@ -3239,7 +3247,7 @@ packages:
dependencies:
'@rkusa/linebreak': 1.0.0
opentype.js: 1.3.4
pako: 2.0.4
pako: 2.1.0
readable-stream: 3.6.0
unorm: 1.6.0
uuid: 8.3.2
@ -3708,8 +3716,8 @@ packages:
/symbol-tree/3.2.4:
resolution: {integrity: sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==}
/systeminformation/5.12.10:
resolution: {integrity: sha512-rLShZFpz14aWqg3nNCS8zw74WicRV6c3R17Ob7oO37zSypZATT4M2Dgjr4nE6PYGlome9ObU0A2uqXiAlaBbuA==}
/systeminformation/5.12.13:
resolution: {integrity: sha512-2z1Ul+PDkO50yGmEGKWOPk3+TeAtTkbn6PmxqzH9D3BAN53QXgbYy6+PPJmBrszXy+X7g8uwZd1WdThKZtICcg==}
engines: {node: '>=8.0.0'}
os: [darwin, linux, win32, freebsd, openbsd, netbsd, sunos, android]
hasBin: true
@ -3787,7 +3795,7 @@ packages:
resolution: {integrity: sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==}
hasBin: true
/ts-node/10.9.1_typescript@4.8.4:
/ts-node/10.9.1_cbe7ovvae6zqfnmtgctpgpys54:
resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==}
hasBin: true
peerDependencies:
@ -3806,6 +3814,7 @@ packages:
'@tsconfig/node12': 1.0.11
'@tsconfig/node14': 1.0.3
'@tsconfig/node16': 1.0.3
'@types/node': 18.11.9
acorn: 8.8.1
acorn-walk: 8.2.0
arg: 4.1.3
@ -3842,6 +3851,11 @@ packages:
/type-fest/3.1.0:
resolution: {integrity: sha512-StmrZmK3eD9mDF9Vt7UhqthrDSk66O9iYl5t5a0TSoVkHjl0XZx/xuc/BRz4urAXXGHOY5OLsE0RdJFIApSFmw==}
engines: {node: '>=14.16'}
dev: true
/type-fest/3.2.0:
resolution: {integrity: sha512-Il3wdLRzWvbAEtocgxGQA9YOoRVeVUGOMBtel5LdEpNeEAol6GJTLw8GbX6Z8EIMfvfhoOXs2bwOijtAZdK5og==}
engines: {node: '>=14.16'}
/type-is/1.6.18:
resolution: {integrity: sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==}

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@pushrocks/smartbrowser',
version: '2.0.4',
version: '2.0.5',
description: 'simplified puppeteer'
}

View File

@ -30,7 +30,7 @@ export class SmartBrowser {
* create a pdf from page
* @param urlArg
*/
public async pdfFromPage(urlArg: string) {
public async pdfFromPage(urlArg: string): Promise<plugins.smartpdf.IPdf> {
const result = await this.smartpdf.getFullWebsiteAsSinglePdf(urlArg);
return result;
}