diff --git a/package.json b/package.json index ea5bad3..6b98877 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "@gitzone/tsrun": "^1.2.35", "@gitzone/tstest": "^1.0.73", "@pushrocks/tapbundle": "^5.0.4", - "@types/node": "^18.7.18" + "@types/node": "^18.11.9" }, "dependencies": { "@pushrocks/smartdelay": "^2.0.13", @@ -29,7 +29,7 @@ "@pushrocks/smartpromise": "^3.1.7", "@pushrocks/smartpuppeteer": "^2.0.2", "@pushrocks/smartunique": "^3.0.3", - "@tsclass/tsclass": "^4.0.21", + "@tsclass/tsclass": "^4.0.27", "@types/express": "^4.17.14", "express": "^4.18.1", "pdf-merger-js": "^3.4.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 524180a..383c410 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -13,9 +13,9 @@ specifiers: '@pushrocks/smartpuppeteer': ^2.0.2 '@pushrocks/smartunique': ^3.0.3 '@pushrocks/tapbundle': ^5.0.4 - '@tsclass/tsclass': ^4.0.21 + '@tsclass/tsclass': ^4.0.27 '@types/express': ^4.17.14 - '@types/node': ^18.7.18 + '@types/node': ^18.11.9 express: ^4.18.1 pdf-merger-js: ^3.4.0 pdf2json: ^2.0.0 @@ -28,7 +28,7 @@ dependencies: '@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 @@ -37,10 +37,10 @@ dependencies: devDependencies: '@gitzone/tsbuild': 2.1.65 '@gitzone/tsdoc': 1.1.12 - '@gitzone/tsrun': 1.2.39_@types+node@18.11.7 - '@gitzone/tstest': 1.0.73_@types+node@18.11.7 + '@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.7 + '@types/node': 18.11.9 packages: @@ -163,7 +163,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 @@ -188,13 +188,13 @@ packages: - supports-color dev: true - /@gitzone/tsrun/1.2.39_@types+node@18.11.7: + /@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_evej5wzm4hojmu6uzxwpspdmsu + ts-node: 10.9.1_cbe7ovvae6zqfnmtgctpgpys54 typescript: 4.8.4 transitivePeerDependencies: - '@swc/core' @@ -203,12 +203,12 @@ packages: - supports-color dev: true - /@gitzone/tstest/1.0.73_@types+node@18.11.7: + /@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_@types+node@18.11.7 + '@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 @@ -472,7 +472,7 @@ packages: '@pushrocks/smartrequest': 2.0.11 '@pushrocks/smartsitemap': 2.0.1 '@pushrocks/smarttime': 3.0.45 - '@tsclass/tsclass': 4.0.26 + '@tsclass/tsclass': 4.0.27 '@types/compression': 1.7.2 '@types/cors': 2.8.12 '@types/express': 4.17.14 @@ -634,7 +634,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 @@ -876,10 +876,10 @@ packages: type-fest: 2.19.0 dev: true - /@tsclass/tsclass/4.0.26: - resolution: {integrity: sha512-wHL7ryA4RJI+lnq19VTz66asN2lTyDHTawxQX4n/SyuXs0XbfSXWBbq7MfgYgLRA9wuuE+gapzRsyIPY/CZsBA==} + /@tsclass/tsclass/4.0.27: + resolution: {integrity: sha512-bljXAsgl1dHha2O9jSd1q8nCkYTswXdTUFqqcIKu25QsWb9g7uJyOXCG5YH9i82BhHRJurDaMfXPz/fXCktKMw==} dependencies: - type-fest: 3.1.0 + type-fest: 3.2.0 /@tsconfig/node10/1.0.9: resolution: {integrity: sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==} @@ -900,7 +900,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: @@ -911,7 +911,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==} @@ -929,14 +929,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 @@ -949,7 +949,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==} @@ -969,7 +969,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: @@ -986,7 +986,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 @@ -1014,24 +1014,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==} @@ -1095,7 +1095,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: @@ -1118,8 +1118,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==} @@ -1145,7 +1145,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=} @@ -1173,7 +1173,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==} @@ -1194,14 +1194,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: @@ -1295,6 +1295,10 @@ packages: - utf-8-validate dev: true + /@xmldom/xmldom/0.8.6: + resolution: {integrity: sha512-uRjjusqpoqfmRkTaNuLJ2VohVr67Q5YwDATW3VU7PfzTj6IRaihGrYI7zckGZjxQPBIp63nfvJbM+Yu5ICh0Bg==} + engines: {node: '>=10.0.0'} + /accepts/1.3.8: resolution: {integrity: sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==} engines: {node: '>= 0.6'} @@ -1889,7 +1893,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 @@ -3276,6 +3280,8 @@ packages: resolution: {integrity: sha512-mXF9AIgnvq1DP/ZM2R28tAfxP2wKZHYa2DjV0R1KCwcqSzm5Iqh1XQq9rdfAt6dp2DuPP0VHZIaCALc2v1cL5A==} engines: {node: '>=14.18.0', npm: '>=6.14.15'} hasBin: true + dependencies: + '@xmldom/xmldom': 0.8.6 bundledDependencies: - '@xmldom/xmldom' @@ -3841,7 +3847,7 @@ packages: resolution: {integrity: sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==} hasBin: true - /ts-node/10.9.1_evej5wzm4hojmu6uzxwpspdmsu: + /ts-node/10.9.1_cbe7ovvae6zqfnmtgctpgpys54: resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==} hasBin: true peerDependencies: @@ -3860,7 +3866,7 @@ packages: '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.3 - '@types/node': 18.11.7 + '@types/node': 18.11.9 acorn: 8.8.1 acorn-walk: 8.2.0 arg: 4.1.3 @@ -3894,8 +3900,8 @@ packages: engines: {node: '>=12.20'} dev: true - /type-fest/3.1.0: - resolution: {integrity: sha512-StmrZmK3eD9mDF9Vt7UhqthrDSk66O9iYl5t5a0TSoVkHjl0XZx/xuc/BRz4urAXXGHOY5OLsE0RdJFIApSFmw==} + /type-fest/3.2.0: + resolution: {integrity: sha512-Il3wdLRzWvbAEtocgxGQA9YOoRVeVUGOMBtel5LdEpNeEAol6GJTLw8GbX6Z8EIMfvfhoOXs2bwOijtAZdK5og==} engines: {node: '>=14.16'} /type-is/1.6.18: diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index bf2c4d1..e2fcf39 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@pushrocks/smartpdf', - version: '3.0.14', + version: '3.0.15', description: 'create pdfs on the fly' } diff --git a/ts/index.ts b/ts/index.ts index 4a634c7..07f785d 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -7,3 +7,11 @@ declare global { // normal export * from './smartpdf.classes.smartpdf.js'; + +// additional types +import type * as tsclassTypes from '@tsclass/tsclass'; +type IPdf = tsclassTypes.business.IPdf; + +export type { + IPdf +} \ No newline at end of file