Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
67f21d2500 | |||
1cf095a5cc | |||
ffeaec7fe9 | |||
a31e196e5b | |||
57851d90a5 | |||
1e4b16b734 |
13211
package-lock.json
generated
13211
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
11
package.json
11
package.json
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@pushrocks/smartpdf",
|
"name": "@pushrocks/smartpdf",
|
||||||
"version": "3.0.10",
|
"version": "3.0.13",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "create pdfs on the fly",
|
"description": "create pdfs on the fly",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
@ -14,10 +14,11 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@gitzone/tsbuild": "^2.1.65",
|
"@gitzone/tsbuild": "^2.1.65",
|
||||||
|
"@gitzone/tsdoc": "^1.1.12",
|
||||||
"@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 +28,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": [
|
||||||
|
4148
pnpm-lock.yaml
generated
Normal file
4148
pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@pushrocks/smartpdf',
|
name: '@pushrocks/smartpdf',
|
||||||
version: '3.0.10',
|
version: '3.0.13',
|
||||||
description: 'create pdfs on the fly'
|
description: 'create pdfs on the fly'
|
||||||
}
|
}
|
||||||
|
@ -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 {
|
||||||
|
Reference in New Issue
Block a user