fix(core): update

This commit is contained in:
Philipp Kunz 2022-09-15 20:52:22 +02:00
parent 876466b18d
commit 1e4b16b734
4 changed files with 42 additions and 162 deletions

192
package-lock.json generated
View File

@ -16,10 +16,10 @@
"@pushrocks/smartpromise": "^3.1.7", "@pushrocks/smartpromise": "^3.1.7",
"@pushrocks/smartpuppeteer": "^2.0.2", "@pushrocks/smartpuppeteer": "^2.0.2",
"@pushrocks/smartunique": "^3.0.3", "@pushrocks/smartunique": "^3.0.3",
"@tsclass/tsclass": "^4.0.19", "@tsclass/tsclass": "^4.0.21",
"@types/express": "^4.17.13", "@types/express": "^4.17.14",
"express": "^4.18.1", "express": "^4.18.1",
"pdf-merger-js": "^4.1.0", "pdf-merger-js": "^3.4.0",
"pdf2json": "^2.0.0" "pdf2json": "^2.0.0"
}, },
"devDependencies": { "devDependencies": {
@ -27,7 +27,7 @@
"@gitzone/tsrun": "^1.2.35", "@gitzone/tsrun": "^1.2.35",
"@gitzone/tstest": "^1.0.73", "@gitzone/tstest": "^1.0.73",
"@pushrocks/tapbundle": "^5.0.4", "@pushrocks/tapbundle": "^5.0.4",
"@types/node": "^18.7.17" "@types/node": "^18.7.18"
} }
}, },
"node_modules/@adobe/helix-fetch": { "node_modules/@adobe/helix-fetch": {
@ -417,24 +417,6 @@
"lit-html": "^2.0.0" "lit-html": "^2.0.0"
} }
}, },
"node_modules/@pdf-lib/standard-fonts": {
"version": "1.0.0",
"resolved": "https://verdaccio.lossless.one/@pdf-lib%2fstandard-fonts/-/standard-fonts-1.0.0.tgz",
"integrity": "sha512-hU30BK9IUN/su0Mn9VdlVKsWBS6GyhVfqjwl1FjZN4TxP6cCw0jP2w7V3Hf5uX7M0AZJ16vey9yE0ny7Sa59ZA==",
"license": "MIT",
"dependencies": {
"pako": "^1.0.6"
}
},
"node_modules/@pdf-lib/upng": {
"version": "1.0.1",
"resolved": "https://verdaccio.lossless.one/@pdf-lib%2fupng/-/upng-1.0.1.tgz",
"integrity": "sha512-dQK2FUMQtowVP00mtIksrlZhdFXQZPC+taih1q4CvPZ5vqdxR/LKBaFg0oAfzd1GlHZXXSPdQfzQnt+ViGvEIQ==",
"license": "MIT",
"dependencies": {
"pako": "^1.0.10"
}
},
"node_modules/@pushrocks/consolecolor": { "node_modules/@pushrocks/consolecolor": {
"version": "2.0.1", "version": "2.0.1",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fconsolecolor/-/consolecolor-2.0.1.tgz", "resolved": "https://verdaccio.lossless.one/@pushrocks%2fconsolecolor/-/consolecolor-2.0.1.tgz",
@ -1025,16 +1007,6 @@
"url": "https://github.com/sponsors/isaacs" "url": "https://github.com/sponsors/isaacs"
} }
}, },
"node_modules/@pushrocks/smartpdf/node_modules/pdf-merger-js": {
"version": "3.4.0",
"resolved": "https://verdaccio.lossless.one/pdf-merger-js/-/pdf-merger-js-3.4.0.tgz",
"integrity": "sha512-2LkaPYf49cp/QAhjE+n9LEZXVVOzCjZPGlB6fE3a0neW+fers6vz+0A9drQCYNesMbzZ6JttCUF8jJvgwNPHAA==",
"dev": true,
"license": "MIT",
"dependencies": {
"pdfjs": "^2.4.7"
}
},
"node_modules/@pushrocks/smartpromise": { "node_modules/@pushrocks/smartpromise": {
"version": "3.1.7", "version": "3.1.7",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartpromise/-/smartpromise-3.1.7.tgz", "resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartpromise/-/smartpromise-3.1.7.tgz",
@ -1443,7 +1415,6 @@
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://verdaccio.lossless.one/@rkusa%2flinebreak/-/linebreak-1.0.0.tgz", "resolved": "https://verdaccio.lossless.one/@rkusa%2flinebreak/-/linebreak-1.0.0.tgz",
"integrity": "sha512-yCSm87XA1aYMgfcABSxcIkk3JtCw3AihNceHY+DnZGLvVP/g2z3UWZbi0xIoYpZWAJEVPr5Zt3QE37Q80wF1pA==", "integrity": "sha512-yCSm87XA1aYMgfcABSxcIkk3JtCw3AihNceHY+DnZGLvVP/g2z3UWZbi0xIoYpZWAJEVPr5Zt3QE37Q80wF1pA==",
"dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"unicode-trie": "^0.3.0" "unicode-trie": "^0.3.0"
@ -1478,9 +1449,9 @@
} }
}, },
"node_modules/@tsclass/tsclass": { "node_modules/@tsclass/tsclass": {
"version": "4.0.19", "version": "4.0.21",
"resolved": "https://verdaccio.lossless.one/@tsclass%2ftsclass/-/tsclass-4.0.19.tgz", "resolved": "https://verdaccio.lossless.one/@tsclass%2ftsclass/-/tsclass-4.0.21.tgz",
"integrity": "sha512-DBEssoRYrrXthRCBje211LtzFUSbgjfYGkV8piy2sLKrsTY2xdY/nLtsx/0iUdEI4Sc/KE+sMJdKnl3AeDc3Qw==", "integrity": "sha512-1dFOIMaZEyHjt1TNd8un98YHz2oW1oi4oEBigGR73B5iNHkcPgbzn5dvhnP/9mXp//MucOAg6GwGKxC0nb4yeQ==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"type-fest": "^2.18.0" "type-fest": "^2.18.0"
@ -1660,9 +1631,9 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/@types/express": { "node_modules/@types/express": {
"version": "4.17.13", "version": "4.17.14",
"resolved": "https://verdaccio.lossless.one/@types%2fexpress/-/express-4.17.13.tgz", "resolved": "https://verdaccio.lossless.one/@types%2fexpress/-/express-4.17.14.tgz",
"integrity": "sha512-6bSZTPaTIACxn48l50SR+axgrqm6qXFIxrdAKaG6PaJk3+zuUr35hBlgT7vOmJcum+OEaIBLtHV/qloEAFITeA==", "integrity": "sha512-TEbt+vaPFQ+xpxFLFssxUDXj5cWCxZJjIcB7Yg0k0GMHGtgtQgpvx/MUQUeAkNbA9AAGrwkAsoeItdTgS7FMyg==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@types/body-parser": "*", "@types/body-parser": "*",
@ -1869,9 +1840,9 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/@types/node": { "node_modules/@types/node": {
"version": "18.7.17", "version": "18.7.18",
"resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-18.7.17.tgz", "resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-18.7.18.tgz",
"integrity": "sha512-0UyfUnt02zIuqp7yC8RYtDkp/vo8bFaQ13KkSEvUAohPOAlnVNbj5Fi3fgPSuwzakS+EvvnnZ4x9y7i6ASaSPQ==", "integrity": "sha512-m+6nTEOadJZuTPkKR/SYK3A2d7FZrgElol9UP1Kae90VVU4a6mxnPuLiIW1m4Cq4gZ/nWb9GrdVXJCoCazDAbg==",
"license": "MIT" "license": "MIT"
}, },
"node_modules/@types/parse5": { "node_modules/@types/parse5": {
@ -5839,7 +5810,6 @@
"version": "1.3.4", "version": "1.3.4",
"resolved": "https://verdaccio.lossless.one/opentype.js/-/opentype.js-1.3.4.tgz", "resolved": "https://verdaccio.lossless.one/opentype.js/-/opentype.js-1.3.4.tgz",
"integrity": "sha512-d2JE9RP/6uagpQAVtJoF0pJJA/fgai89Cc50Yp0EJHk+eLp6QQ7gBoblsnubRULNY132I0J1QKMJ+JTbMqz4sw==", "integrity": "sha512-d2JE9RP/6uagpQAVtJoF0pJJA/fgai89Cc50Yp0EJHk+eLp6QQ7gBoblsnubRULNY132I0J1QKMJ+JTbMqz4sw==",
"dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"string.prototype.codepointat": "^0.2.1", "string.prototype.codepointat": "^0.2.1",
@ -5897,12 +5867,6 @@
"node": ">=6" "node": ">=6"
} }
}, },
"node_modules/pako": {
"version": "1.0.11",
"resolved": "https://verdaccio.lossless.one/pako/-/pako-1.0.11.tgz",
"integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==",
"license": "(MIT AND Zlib)"
},
"node_modules/param-case": { "node_modules/param-case": {
"version": "2.1.1", "version": "2.1.1",
"resolved": "https://verdaccio.lossless.one/param-case/-/param-case-2.1.1.tgz", "resolved": "https://verdaccio.lossless.one/param-case/-/param-case-2.1.1.tgz",
@ -5982,25 +5946,13 @@
"node": ">=8" "node": ">=8"
} }
}, },
"node_modules/pdf-lib": {
"version": "1.17.1",
"resolved": "https://verdaccio.lossless.one/pdf-lib/-/pdf-lib-1.17.1.tgz",
"integrity": "sha512-V/mpyJAoTsN4cnP31vc0wfNA1+p20evqqnap0KLoRUN0Yk/p3wN52DOEsL4oBFcLdb76hlpKPtzJIgo67j/XLw==",
"license": "MIT",
"dependencies": {
"@pdf-lib/standard-fonts": "^1.0.0",
"@pdf-lib/upng": "^1.0.1",
"pako": "^1.0.11",
"tslib": "^1.11.1"
}
},
"node_modules/pdf-merger-js": { "node_modules/pdf-merger-js": {
"version": "4.1.0", "version": "3.4.0",
"resolved": "https://verdaccio.lossless.one/pdf-merger-js/-/pdf-merger-js-4.1.0.tgz", "resolved": "https://verdaccio.lossless.one/pdf-merger-js/-/pdf-merger-js-3.4.0.tgz",
"integrity": "sha512-W/AXj/cPZm/uPsMovyMwyK1qq4WSFa3x3/sBn3c/Kt3DyFNyOK9Zu/vFc9LMnc1sw+Or0zqzAkR/1XkvcORyiA==", "integrity": "sha512-2LkaPYf49cp/QAhjE+n9LEZXVVOzCjZPGlB6fE3a0neW+fers6vz+0A9drQCYNesMbzZ6JttCUF8jJvgwNPHAA==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"pdf-lib": "^1.17.1" "pdfjs": "^2.4.7"
} }
}, },
"node_modules/pdf2json": { "node_modules/pdf2json": {
@ -6034,7 +5986,6 @@
"version": "2.4.7", "version": "2.4.7",
"resolved": "https://verdaccio.lossless.one/pdfjs/-/pdfjs-2.4.7.tgz", "resolved": "https://verdaccio.lossless.one/pdfjs/-/pdfjs-2.4.7.tgz",
"integrity": "sha512-qGGZiQ7cz7nDgRgNSMm0qsZ4QPlAvZr+kWwB78hZzClojtfqGbGUT/gwzf8S2nniwvLMB56boBTTIppQohTJUA==", "integrity": "sha512-qGGZiQ7cz7nDgRgNSMm0qsZ4QPlAvZr+kWwB78hZzClojtfqGbGUT/gwzf8S2nniwvLMB56boBTTIppQohTJUA==",
"dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@rkusa/linebreak": "^1.0.0", "@rkusa/linebreak": "^1.0.0",
@ -6052,14 +6003,12 @@
"version": "2.0.4", "version": "2.0.4",
"resolved": "https://verdaccio.lossless.one/pako/-/pako-2.0.4.tgz", "resolved": "https://verdaccio.lossless.one/pako/-/pako-2.0.4.tgz",
"integrity": "sha512-v8tweI900AUkZN6heMU/4Uy4cXRc2AYNRggVmTR+dEncawDJgCdLMximOVA2p4qO57WMynangsfGRb5WD6L1Bg==", "integrity": "sha512-v8tweI900AUkZN6heMU/4Uy4cXRc2AYNRggVmTR+dEncawDJgCdLMximOVA2p4qO57WMynangsfGRb5WD6L1Bg==",
"dev": true,
"license": "(MIT AND Zlib)" "license": "(MIT AND Zlib)"
}, },
"node_modules/pdfjs/node_modules/readable-stream": { "node_modules/pdfjs/node_modules/readable-stream": {
"version": "3.6.0", "version": "3.6.0",
"resolved": "https://verdaccio.lossless.one/readable-stream/-/readable-stream-3.6.0.tgz", "resolved": "https://verdaccio.lossless.one/readable-stream/-/readable-stream-3.6.0.tgz",
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
"dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"inherits": "^2.0.3", "inherits": "^2.0.3",
@ -6074,7 +6023,6 @@
"version": "8.3.2", "version": "8.3.2",
"resolved": "https://verdaccio.lossless.one/uuid/-/uuid-8.3.2.tgz", "resolved": "https://verdaccio.lossless.one/uuid/-/uuid-8.3.2.tgz",
"integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==",
"dev": true,
"license": "MIT", "license": "MIT",
"bin": { "bin": {
"uuid": "dist/bin/uuid" "uuid": "dist/bin/uuid"
@ -6884,7 +6832,6 @@
"version": "0.2.1", "version": "0.2.1",
"resolved": "https://verdaccio.lossless.one/string.prototype.codepointat/-/string.prototype.codepointat-0.2.1.tgz", "resolved": "https://verdaccio.lossless.one/string.prototype.codepointat/-/string.prototype.codepointat-0.2.1.tgz",
"integrity": "sha512-2cBVCj6I4IOvEnjgO/hWqXjqBGsY+zwPmHl12Srk9IXSZ56Jwwmy+66XO5Iut/oQVR7t5ihYdLB0GMa4alEUcg==", "integrity": "sha512-2cBVCj6I4IOvEnjgO/hWqXjqBGsY+zwPmHl12Srk9IXSZ56Jwwmy+66XO5Iut/oQVR7t5ihYdLB0GMa4alEUcg==",
"dev": true,
"license": "MIT" "license": "MIT"
}, },
"node_modules/strip-ansi": { "node_modules/strip-ansi": {
@ -7061,7 +7008,6 @@
"version": "1.0.3", "version": "1.0.3",
"resolved": "https://verdaccio.lossless.one/tiny-inflate/-/tiny-inflate-1.0.3.tgz", "resolved": "https://verdaccio.lossless.one/tiny-inflate/-/tiny-inflate-1.0.3.tgz",
"integrity": "sha512-pkY1fj1cKHb2seWDy0B16HeWyczlJA9/WW3u3c4z/NiWDsO3DOU5D7nhTLE9CF0yXv/QZFY7sEJmj24dK+Rrqw==", "integrity": "sha512-pkY1fj1cKHb2seWDy0B16HeWyczlJA9/WW3u3c4z/NiWDsO3DOU5D7nhTLE9CF0yXv/QZFY7sEJmj24dK+Rrqw==",
"dev": true,
"license": "MIT" "license": "MIT"
}, },
"node_modules/tiny-worker": { "node_modules/tiny-worker": {
@ -7191,12 +7137,6 @@
} }
} }
}, },
"node_modules/tslib": {
"version": "1.14.1",
"resolved": "https://verdaccio.lossless.one/tslib/-/tslib-1.14.1.tgz",
"integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==",
"license": "0BSD"
},
"node_modules/tsscmp": { "node_modules/tsscmp": {
"version": "1.0.6", "version": "1.0.6",
"resolved": "https://verdaccio.lossless.one/tsscmp/-/tsscmp-1.0.6.tgz", "resolved": "https://verdaccio.lossless.one/tsscmp/-/tsscmp-1.0.6.tgz",
@ -7322,7 +7262,6 @@
"version": "0.3.1", "version": "0.3.1",
"resolved": "https://verdaccio.lossless.one/unicode-trie/-/unicode-trie-0.3.1.tgz", "resolved": "https://verdaccio.lossless.one/unicode-trie/-/unicode-trie-0.3.1.tgz",
"integrity": "sha1-1nHd3YkQGgi6w3tqUWEBBgIFIIU=", "integrity": "sha1-1nHd3YkQGgi6w3tqUWEBBgIFIIU=",
"dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"pako": "^0.2.5", "pako": "^0.2.5",
@ -7333,7 +7272,6 @@
"version": "0.2.9", "version": "0.2.9",
"resolved": "https://verdaccio.lossless.one/pako/-/pako-0.2.9.tgz", "resolved": "https://verdaccio.lossless.one/pako/-/pako-0.2.9.tgz",
"integrity": "sha1-8/dSL073gjSNqBYbrZ7P1Rv4OnU=", "integrity": "sha1-8/dSL073gjSNqBYbrZ7P1Rv4OnU=",
"dev": true,
"license": "MIT" "license": "MIT"
}, },
"node_modules/universalify": { "node_modules/universalify": {
@ -7349,7 +7287,6 @@
"version": "1.6.0", "version": "1.6.0",
"resolved": "https://verdaccio.lossless.one/unorm/-/unorm-1.6.0.tgz", "resolved": "https://verdaccio.lossless.one/unorm/-/unorm-1.6.0.tgz",
"integrity": "sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA==", "integrity": "sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA==",
"dev": true,
"license": "MIT or GPL-2.0", "license": "MIT or GPL-2.0",
"engines": { "engines": {
"node": ">= 0.4.0" "node": ">= 0.4.0"
@ -7966,22 +7903,6 @@
"lit-html": "^2.0.0" "lit-html": "^2.0.0"
} }
}, },
"@pdf-lib/standard-fonts": {
"version": "1.0.0",
"resolved": "https://verdaccio.lossless.one/@pdf-lib%2fstandard-fonts/-/standard-fonts-1.0.0.tgz",
"integrity": "sha512-hU30BK9IUN/su0Mn9VdlVKsWBS6GyhVfqjwl1FjZN4TxP6cCw0jP2w7V3Hf5uX7M0AZJ16vey9yE0ny7Sa59ZA==",
"requires": {
"pako": "^1.0.6"
}
},
"@pdf-lib/upng": {
"version": "1.0.1",
"resolved": "https://verdaccio.lossless.one/@pdf-lib%2fupng/-/upng-1.0.1.tgz",
"integrity": "sha512-dQK2FUMQtowVP00mtIksrlZhdFXQZPC+taih1q4CvPZ5vqdxR/LKBaFg0oAfzd1GlHZXXSPdQfzQnt+ViGvEIQ==",
"requires": {
"pako": "^1.0.10"
}
},
"@pushrocks/consolecolor": { "@pushrocks/consolecolor": {
"version": "2.0.1", "version": "2.0.1",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fconsolecolor/-/consolecolor-2.0.1.tgz", "resolved": "https://verdaccio.lossless.one/@pushrocks%2fconsolecolor/-/consolecolor-2.0.1.tgz",
@ -8531,15 +8452,6 @@
"once": "^1.3.0", "once": "^1.3.0",
"path-is-absolute": "^1.0.0" "path-is-absolute": "^1.0.0"
} }
},
"pdf-merger-js": {
"version": "3.4.0",
"resolved": "https://verdaccio.lossless.one/pdf-merger-js/-/pdf-merger-js-3.4.0.tgz",
"integrity": "sha512-2LkaPYf49cp/QAhjE+n9LEZXVVOzCjZPGlB6fE3a0neW+fers6vz+0A9drQCYNesMbzZ6JttCUF8jJvgwNPHAA==",
"dev": true,
"requires": {
"pdfjs": "^2.4.7"
}
} }
} }
}, },
@ -8931,7 +8843,6 @@
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://verdaccio.lossless.one/@rkusa%2flinebreak/-/linebreak-1.0.0.tgz", "resolved": "https://verdaccio.lossless.one/@rkusa%2flinebreak/-/linebreak-1.0.0.tgz",
"integrity": "sha512-yCSm87XA1aYMgfcABSxcIkk3JtCw3AihNceHY+DnZGLvVP/g2z3UWZbi0xIoYpZWAJEVPr5Zt3QE37Q80wF1pA==", "integrity": "sha512-yCSm87XA1aYMgfcABSxcIkk3JtCw3AihNceHY+DnZGLvVP/g2z3UWZbi0xIoYpZWAJEVPr5Zt3QE37Q80wF1pA==",
"dev": true,
"requires": { "requires": {
"unicode-trie": "^0.3.0" "unicode-trie": "^0.3.0"
} }
@ -8956,9 +8867,9 @@
} }
}, },
"@tsclass/tsclass": { "@tsclass/tsclass": {
"version": "4.0.19", "version": "4.0.21",
"resolved": "https://verdaccio.lossless.one/@tsclass%2ftsclass/-/tsclass-4.0.19.tgz", "resolved": "https://verdaccio.lossless.one/@tsclass%2ftsclass/-/tsclass-4.0.21.tgz",
"integrity": "sha512-DBEssoRYrrXthRCBje211LtzFUSbgjfYGkV8piy2sLKrsTY2xdY/nLtsx/0iUdEI4Sc/KE+sMJdKnl3AeDc3Qw==", "integrity": "sha512-1dFOIMaZEyHjt1TNd8un98YHz2oW1oi4oEBigGR73B5iNHkcPgbzn5dvhnP/9mXp//MucOAg6GwGKxC0nb4yeQ==",
"requires": { "requires": {
"type-fest": "^2.18.0" "type-fest": "^2.18.0"
} }
@ -9116,9 +9027,9 @@
"integrity": "sha512-tpu0hp+AOIzwdAHyZPzLE5pCf9uT0pb+xZ76T4S7MrY2YTVq918Q7Q2VQ3KCVQqYxM7nxuCK/SL3X97jBEIeKQ==" "integrity": "sha512-tpu0hp+AOIzwdAHyZPzLE5pCf9uT0pb+xZ76T4S7MrY2YTVq918Q7Q2VQ3KCVQqYxM7nxuCK/SL3X97jBEIeKQ=="
}, },
"@types/express": { "@types/express": {
"version": "4.17.13", "version": "4.17.14",
"resolved": "https://verdaccio.lossless.one/@types%2fexpress/-/express-4.17.13.tgz", "resolved": "https://verdaccio.lossless.one/@types%2fexpress/-/express-4.17.14.tgz",
"integrity": "sha512-6bSZTPaTIACxn48l50SR+axgrqm6qXFIxrdAKaG6PaJk3+zuUr35hBlgT7vOmJcum+OEaIBLtHV/qloEAFITeA==", "integrity": "sha512-TEbt+vaPFQ+xpxFLFssxUDXj5cWCxZJjIcB7Yg0k0GMHGtgtQgpvx/MUQUeAkNbA9AAGrwkAsoeItdTgS7FMyg==",
"requires": { "requires": {
"@types/body-parser": "*", "@types/body-parser": "*",
"@types/express-serve-static-core": "^4.17.18", "@types/express-serve-static-core": "^4.17.18",
@ -9300,9 +9211,9 @@
"integrity": "sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==" "integrity": "sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ=="
}, },
"@types/node": { "@types/node": {
"version": "18.7.17", "version": "18.7.18",
"resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-18.7.17.tgz", "resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-18.7.18.tgz",
"integrity": "sha512-0UyfUnt02zIuqp7yC8RYtDkp/vo8bFaQ13KkSEvUAohPOAlnVNbj5Fi3fgPSuwzakS+EvvnnZ4x9y7i6ASaSPQ==" "integrity": "sha512-m+6nTEOadJZuTPkKR/SYK3A2d7FZrgElol9UP1Kae90VVU4a6mxnPuLiIW1m4Cq4gZ/nWb9GrdVXJCoCazDAbg=="
}, },
"@types/parse5": { "@types/parse5": {
"version": "6.0.3", "version": "6.0.3",
@ -11974,7 +11885,6 @@
"version": "1.3.4", "version": "1.3.4",
"resolved": "https://verdaccio.lossless.one/opentype.js/-/opentype.js-1.3.4.tgz", "resolved": "https://verdaccio.lossless.one/opentype.js/-/opentype.js-1.3.4.tgz",
"integrity": "sha512-d2JE9RP/6uagpQAVtJoF0pJJA/fgai89Cc50Yp0EJHk+eLp6QQ7gBoblsnubRULNY132I0J1QKMJ+JTbMqz4sw==", "integrity": "sha512-d2JE9RP/6uagpQAVtJoF0pJJA/fgai89Cc50Yp0EJHk+eLp6QQ7gBoblsnubRULNY132I0J1QKMJ+JTbMqz4sw==",
"dev": true,
"requires": { "requires": {
"string.prototype.codepointat": "^0.2.1", "string.prototype.codepointat": "^0.2.1",
"tiny-inflate": "^1.0.3" "tiny-inflate": "^1.0.3"
@ -12006,11 +11916,6 @@
"resolved": "https://verdaccio.lossless.one/p-try/-/p-try-2.2.0.tgz", "resolved": "https://verdaccio.lossless.one/p-try/-/p-try-2.2.0.tgz",
"integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==" "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ=="
}, },
"pako": {
"version": "1.0.11",
"resolved": "https://verdaccio.lossless.one/pako/-/pako-1.0.11.tgz",
"integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw=="
},
"param-case": { "param-case": {
"version": "2.1.1", "version": "2.1.1",
"resolved": "https://verdaccio.lossless.one/param-case/-/param-case-2.1.1.tgz", "resolved": "https://verdaccio.lossless.one/param-case/-/param-case-2.1.1.tgz",
@ -12063,23 +11968,12 @@
"integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==",
"dev": true "dev": true
}, },
"pdf-lib": {
"version": "1.17.1",
"resolved": "https://verdaccio.lossless.one/pdf-lib/-/pdf-lib-1.17.1.tgz",
"integrity": "sha512-V/mpyJAoTsN4cnP31vc0wfNA1+p20evqqnap0KLoRUN0Yk/p3wN52DOEsL4oBFcLdb76hlpKPtzJIgo67j/XLw==",
"requires": {
"@pdf-lib/standard-fonts": "^1.0.0",
"@pdf-lib/upng": "^1.0.1",
"pako": "^1.0.11",
"tslib": "^1.11.1"
}
},
"pdf-merger-js": { "pdf-merger-js": {
"version": "4.1.0", "version": "3.4.0",
"resolved": "https://verdaccio.lossless.one/pdf-merger-js/-/pdf-merger-js-4.1.0.tgz", "resolved": "https://verdaccio.lossless.one/pdf-merger-js/-/pdf-merger-js-3.4.0.tgz",
"integrity": "sha512-W/AXj/cPZm/uPsMovyMwyK1qq4WSFa3x3/sBn3c/Kt3DyFNyOK9Zu/vFc9LMnc1sw+Or0zqzAkR/1XkvcORyiA==", "integrity": "sha512-2LkaPYf49cp/QAhjE+n9LEZXVVOzCjZPGlB6fE3a0neW+fers6vz+0A9drQCYNesMbzZ6JttCUF8jJvgwNPHAA==",
"requires": { "requires": {
"pdf-lib": "^1.17.1" "pdfjs": "^2.4.7"
} }
}, },
"pdf2json": { "pdf2json": {
@ -12100,7 +11994,6 @@
"version": "2.4.7", "version": "2.4.7",
"resolved": "https://verdaccio.lossless.one/pdfjs/-/pdfjs-2.4.7.tgz", "resolved": "https://verdaccio.lossless.one/pdfjs/-/pdfjs-2.4.7.tgz",
"integrity": "sha512-qGGZiQ7cz7nDgRgNSMm0qsZ4QPlAvZr+kWwB78hZzClojtfqGbGUT/gwzf8S2nniwvLMB56boBTTIppQohTJUA==", "integrity": "sha512-qGGZiQ7cz7nDgRgNSMm0qsZ4QPlAvZr+kWwB78hZzClojtfqGbGUT/gwzf8S2nniwvLMB56boBTTIppQohTJUA==",
"dev": true,
"requires": { "requires": {
"@rkusa/linebreak": "^1.0.0", "@rkusa/linebreak": "^1.0.0",
"opentype.js": "^1.3.3", "opentype.js": "^1.3.3",
@ -12113,14 +12006,12 @@
"pako": { "pako": {
"version": "2.0.4", "version": "2.0.4",
"resolved": "https://verdaccio.lossless.one/pako/-/pako-2.0.4.tgz", "resolved": "https://verdaccio.lossless.one/pako/-/pako-2.0.4.tgz",
"integrity": "sha512-v8tweI900AUkZN6heMU/4Uy4cXRc2AYNRggVmTR+dEncawDJgCdLMximOVA2p4qO57WMynangsfGRb5WD6L1Bg==", "integrity": "sha512-v8tweI900AUkZN6heMU/4Uy4cXRc2AYNRggVmTR+dEncawDJgCdLMximOVA2p4qO57WMynangsfGRb5WD6L1Bg=="
"dev": true
}, },
"readable-stream": { "readable-stream": {
"version": "3.6.0", "version": "3.6.0",
"resolved": "https://verdaccio.lossless.one/readable-stream/-/readable-stream-3.6.0.tgz", "resolved": "https://verdaccio.lossless.one/readable-stream/-/readable-stream-3.6.0.tgz",
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
"dev": true,
"requires": { "requires": {
"inherits": "^2.0.3", "inherits": "^2.0.3",
"string_decoder": "^1.1.1", "string_decoder": "^1.1.1",
@ -12130,8 +12021,7 @@
"uuid": { "uuid": {
"version": "8.3.2", "version": "8.3.2",
"resolved": "https://verdaccio.lossless.one/uuid/-/uuid-8.3.2.tgz", "resolved": "https://verdaccio.lossless.one/uuid/-/uuid-8.3.2.tgz",
"integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg=="
"dev": true
} }
} }
}, },
@ -12702,8 +12592,7 @@
"string.prototype.codepointat": { "string.prototype.codepointat": {
"version": "0.2.1", "version": "0.2.1",
"resolved": "https://verdaccio.lossless.one/string.prototype.codepointat/-/string.prototype.codepointat-0.2.1.tgz", "resolved": "https://verdaccio.lossless.one/string.prototype.codepointat/-/string.prototype.codepointat-0.2.1.tgz",
"integrity": "sha512-2cBVCj6I4IOvEnjgO/hWqXjqBGsY+zwPmHl12Srk9IXSZ56Jwwmy+66XO5Iut/oQVR7t5ihYdLB0GMa4alEUcg==", "integrity": "sha512-2cBVCj6I4IOvEnjgO/hWqXjqBGsY+zwPmHl12Srk9IXSZ56Jwwmy+66XO5Iut/oQVR7t5ihYdLB0GMa4alEUcg=="
"dev": true
}, },
"strip-ansi": { "strip-ansi": {
"version": "6.0.1", "version": "6.0.1",
@ -12823,8 +12712,7 @@
"tiny-inflate": { "tiny-inflate": {
"version": "1.0.3", "version": "1.0.3",
"resolved": "https://verdaccio.lossless.one/tiny-inflate/-/tiny-inflate-1.0.3.tgz", "resolved": "https://verdaccio.lossless.one/tiny-inflate/-/tiny-inflate-1.0.3.tgz",
"integrity": "sha512-pkY1fj1cKHb2seWDy0B16HeWyczlJA9/WW3u3c4z/NiWDsO3DOU5D7nhTLE9CF0yXv/QZFY7sEJmj24dK+Rrqw==", "integrity": "sha512-pkY1fj1cKHb2seWDy0B16HeWyczlJA9/WW3u3c4z/NiWDsO3DOU5D7nhTLE9CF0yXv/QZFY7sEJmj24dK+Rrqw=="
"dev": true
}, },
"tiny-worker": { "tiny-worker": {
"version": "2.3.0", "version": "2.3.0",
@ -12905,11 +12793,6 @@
"yn": "3.1.1" "yn": "3.1.1"
} }
}, },
"tslib": {
"version": "1.14.1",
"resolved": "https://verdaccio.lossless.one/tslib/-/tslib-1.14.1.tgz",
"integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="
},
"tsscmp": { "tsscmp": {
"version": "1.0.6", "version": "1.0.6",
"resolved": "https://verdaccio.lossless.one/tsscmp/-/tsscmp-1.0.6.tgz", "resolved": "https://verdaccio.lossless.one/tsscmp/-/tsscmp-1.0.6.tgz",
@ -12983,7 +12866,6 @@
"version": "0.3.1", "version": "0.3.1",
"resolved": "https://verdaccio.lossless.one/unicode-trie/-/unicode-trie-0.3.1.tgz", "resolved": "https://verdaccio.lossless.one/unicode-trie/-/unicode-trie-0.3.1.tgz",
"integrity": "sha1-1nHd3YkQGgi6w3tqUWEBBgIFIIU=", "integrity": "sha1-1nHd3YkQGgi6w3tqUWEBBgIFIIU=",
"dev": true,
"requires": { "requires": {
"pako": "^0.2.5", "pako": "^0.2.5",
"tiny-inflate": "^1.0.0" "tiny-inflate": "^1.0.0"
@ -12992,8 +12874,7 @@
"pako": { "pako": {
"version": "0.2.9", "version": "0.2.9",
"resolved": "https://verdaccio.lossless.one/pako/-/pako-0.2.9.tgz", "resolved": "https://verdaccio.lossless.one/pako/-/pako-0.2.9.tgz",
"integrity": "sha1-8/dSL073gjSNqBYbrZ7P1Rv4OnU=", "integrity": "sha1-8/dSL073gjSNqBYbrZ7P1Rv4OnU="
"dev": true
} }
} }
}, },
@ -13005,8 +12886,7 @@
"unorm": { "unorm": {
"version": "1.6.0", "version": "1.6.0",
"resolved": "https://verdaccio.lossless.one/unorm/-/unorm-1.6.0.tgz", "resolved": "https://verdaccio.lossless.one/unorm/-/unorm-1.6.0.tgz",
"integrity": "sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA==", "integrity": "sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA=="
"dev": true
}, },
"unpipe": { "unpipe": {
"version": "1.0.0", "version": "1.0.0",

View File

@ -17,7 +17,7 @@
"@gitzone/tsrun": "^1.2.35", "@gitzone/tsrun": "^1.2.35",
"@gitzone/tstest": "^1.0.73", "@gitzone/tstest": "^1.0.73",
"@pushrocks/tapbundle": "^5.0.4", "@pushrocks/tapbundle": "^5.0.4",
"@types/node": "^18.7.17" "@types/node": "^18.7.18"
}, },
"dependencies": { "dependencies": {
"@pushrocks/smartdelay": "^2.0.13", "@pushrocks/smartdelay": "^2.0.13",
@ -27,10 +27,10 @@
"@pushrocks/smartpromise": "^3.1.7", "@pushrocks/smartpromise": "^3.1.7",
"@pushrocks/smartpuppeteer": "^2.0.2", "@pushrocks/smartpuppeteer": "^2.0.2",
"@pushrocks/smartunique": "^3.0.3", "@pushrocks/smartunique": "^3.0.3",
"@tsclass/tsclass": "^4.0.19", "@tsclass/tsclass": "^4.0.21",
"@types/express": "^4.17.13", "@types/express": "^4.17.14",
"express": "^4.18.1", "express": "^4.18.1",
"pdf-merger-js": "^4.1.0", "pdf-merger-js": "^3.4.0",
"pdf2json": "^2.0.0" "pdf2json": "^2.0.0"
}, },
"files": [ "files": [

View File

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

View File

@ -186,7 +186,7 @@ export class SmartPdf {
public async mergePdfs(pdfArrayArg: plugins.tsclass.business.IPdf[]): Promise<IPdf> { public async mergePdfs(pdfArrayArg: plugins.tsclass.business.IPdf[]): Promise<IPdf> {
const merger = new plugins.pdfMerger(); const merger = new plugins.pdfMerger();
for (const pdf of pdfArrayArg) { for (const pdf of pdfArrayArg) {
merger.add(pdf.buffer as Buffer); merger.add(Buffer.from(pdf.buffer));
} }
const resultBuffer = await merger.saveAsBuffer(); const resultBuffer = await merger.saveAsBuffer();
return { return {