fix(core): update

This commit is contained in:
Philipp Kunz 2022-09-13 18:39:38 +02:00
parent 4f93d258b8
commit 82b1c187ee
4 changed files with 10 additions and 10 deletions

14
package-lock.json generated
View File

@ -27,7 +27,7 @@
"@gitzone/tsrun": "^1.2.35",
"@gitzone/tstest": "^1.0.73",
"@pushrocks/tapbundle": "^5.0.4",
"@types/node": "^18.7.14"
"@types/node": "^18.7.17"
}
},
"node_modules/@adobe/helix-fetch": {
@ -1869,9 +1869,9 @@
"license": "MIT"
},
"node_modules/@types/node": {
"version": "18.7.14",
"resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-18.7.14.tgz",
"integrity": "sha512-6bbDaETVi8oyIARulOE9qF1/Qdi/23z6emrUh0fNJRUmjznqrixD4MpGDdgOFk5Xb0m2H6Xu42JGdvAxaJR/wA==",
"version": "18.7.17",
"resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-18.7.17.tgz",
"integrity": "sha512-0UyfUnt02zIuqp7yC8RYtDkp/vo8bFaQ13KkSEvUAohPOAlnVNbj5Fi3fgPSuwzakS+EvvnnZ4x9y7i6ASaSPQ==",
"license": "MIT"
},
"node_modules/@types/parse5": {
@ -9300,9 +9300,9 @@
"integrity": "sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ=="
},
"@types/node": {
"version": "18.7.14",
"resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-18.7.14.tgz",
"integrity": "sha512-6bbDaETVi8oyIARulOE9qF1/Qdi/23z6emrUh0fNJRUmjznqrixD4MpGDdgOFk5Xb0m2H6Xu42JGdvAxaJR/wA=="
"version": "18.7.17",
"resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-18.7.17.tgz",
"integrity": "sha512-0UyfUnt02zIuqp7yC8RYtDkp/vo8bFaQ13KkSEvUAohPOAlnVNbj5Fi3fgPSuwzakS+EvvnnZ4x9y7i6ASaSPQ=="
},
"@types/parse5": {
"version": "6.0.3",

View File

@ -17,7 +17,7 @@
"@gitzone/tsrun": "^1.2.35",
"@gitzone/tstest": "^1.0.73",
"@pushrocks/tapbundle": "^5.0.4",
"@types/node": "^18.7.14"
"@types/node": "^18.7.17"
},
"dependencies": {
"@pushrocks/smartdelay": "^2.0.13",

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@pushrocks/smartpdf',
version: '3.0.9',
version: '3.0.10',
description: 'create pdfs on the fly'
}

View File

@ -84,7 +84,7 @@ export class SmartPdf {
const response = await page.goto(`http://localhost:3210/${pdfCandidate.pdfId}`, {
waitUntil: 'networkidle2',
});
await plugins.smartdelay.delayFor(1000);
// await plugins.smartdelay.delayFor(1000);
const headers = response.headers();
if (headers['pdf-id'] !== pdfCandidate.pdfId) {
console.log('Error! Headers do not match. For security reasons no pdf is being emitted!');