@iqx-limited/quick-pdf 1.9.0 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +1 -1
- package/package.json +16 -15
package/dist/index.mjs
CHANGED
|
@@ -7,7 +7,7 @@ import os, { platform } from 'node:os';
|
|
|
7
7
|
import { execSync } from 'node:child_process';
|
|
8
8
|
import { imageSize } from 'image-size';
|
|
9
9
|
import PDFDocument from 'pdfkit';
|
|
10
|
-
import {
|
|
10
|
+
import { readFileSync, existsSync } from 'node:fs';
|
|
11
11
|
import { HtmlValidate } from 'html-validate';
|
|
12
12
|
|
|
13
13
|
let firefox = null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iqx-limited/quick-pdf",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0",
|
|
4
4
|
"author": "IQX",
|
|
5
5
|
"description": "Converting PDFs to images (📃 to 📸)",
|
|
6
6
|
"type": "module",
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"module": "dist/index.mjs",
|
|
15
15
|
"exports": {
|
|
16
16
|
".": {
|
|
17
|
+
"types": "./dist/types/index.d.ts",
|
|
17
18
|
"import": "./dist/index.mjs",
|
|
18
19
|
"require": "./dist/index.cjs"
|
|
19
20
|
}
|
|
@@ -35,6 +36,7 @@
|
|
|
35
36
|
"scripts": {
|
|
36
37
|
"build": "npm ci --no-audit && rollup -c",
|
|
37
38
|
"lint": "npx --yes eslint",
|
|
39
|
+
"tsc-verify": "tsc --noEmit",
|
|
38
40
|
"test": "npm run build && npm run test:cjs && npm run test:esm && npm run test:firefox",
|
|
39
41
|
"test:esm": "npm run build && node test/test-esm.mjs",
|
|
40
42
|
"test:cjs": "npm run build && node test/test-cjs.cjs",
|
|
@@ -45,30 +47,29 @@
|
|
|
45
47
|
},
|
|
46
48
|
"engineStrict": true,
|
|
47
49
|
"dependencies": {
|
|
48
|
-
"file-type": "^
|
|
49
|
-
"html-validate": "^10.
|
|
50
|
+
"file-type": "^22.0.1",
|
|
51
|
+
"html-validate": "^10.11.3",
|
|
50
52
|
"image-size": "^2.0.2",
|
|
51
53
|
"path2d-polyfill": "^3.2.1",
|
|
52
|
-
"pdfkit": "^0.
|
|
53
|
-
"puppeteer": "^24.
|
|
54
|
+
"pdfkit": "^0.18.0",
|
|
55
|
+
"puppeteer": "^24.40.0",
|
|
54
56
|
"rollup-plugin-node-externals": "^8.1.2",
|
|
55
|
-
"semver": "^7.7.
|
|
57
|
+
"semver": "^7.7.4"
|
|
56
58
|
},
|
|
57
59
|
"devDependencies": {
|
|
58
|
-
"@rollup/plugin-commonjs": "^29.0.
|
|
60
|
+
"@rollup/plugin-commonjs": "^29.0.2",
|
|
59
61
|
"@rollup/plugin-json": "^6.1.0",
|
|
60
62
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
61
63
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
62
|
-
"@stylistic/eslint-plugin": "^5.
|
|
63
|
-
"@types/node": "^25.
|
|
64
|
-
"@types/pdfkit": "^0.17.
|
|
64
|
+
"@stylistic/eslint-plugin": "^5.10.0",
|
|
65
|
+
"@types/node": "^25.5.2",
|
|
66
|
+
"@types/pdfkit": "^0.17.5",
|
|
65
67
|
"@types/semver": "^7.7.1",
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"typescript": "^
|
|
69
|
-
"typescript-eslint": "^8.53.1"
|
|
68
|
+
"rollup": "^4.60.1",
|
|
69
|
+
"typescript": "^6.0.2",
|
|
70
|
+
"typescript-eslint": "^8.58.1"
|
|
70
71
|
},
|
|
71
72
|
"volta": {
|
|
72
|
-
"node": "24.
|
|
73
|
+
"node": "24.14.1"
|
|
73
74
|
}
|
|
74
75
|
}
|