pdfnative 1.4.0 → 1.5.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/README.md +54 -16
- package/dist/index.cjs +550 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +289 -2
- package/dist/index.d.ts +289 -2
- package/dist/index.js +546 -15
- package/dist/index.js.map +1 -1
- package/dist/tools/index.cjs +657 -0
- package/dist/tools/index.cjs.map +1 -0
- package/dist/tools/index.d.cts +110 -0
- package/dist/tools/index.d.ts +110 -0
- package/dist/tools/index.js +654 -0
- package/dist/tools/index.js.map +1 -0
- package/dist/worker/index.cjs +18 -0
- package/dist/worker/index.cjs.map +1 -1
- package/dist/worker/index.js +18 -0
- package/dist/worker/index.js.map +1 -1
- package/fonts/noto-sans-math-data.d.ts +13 -0
- package/fonts/noto-sans-math-data.js +64 -0
- package/package.json +29 -3
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pdfnative",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "Zero-dependency native PDF generation library. 22 scripts (Arabic, Hebrew, Thai, CJK, Devanagari, Telugu, Bengali, Tamil, Sinhala, Tibetan, Khmer, Myanmar, Ethiopic, Cyrillic, Greek, Georgian, Armenian, Latin), BiDi, PDF/A-1b/2b/3b, AES encryption, digital signatures, AcroForm, barcodes, SVG, COLRv1 colour emoji. Pure JavaScript ISO 32000-1 implementation.",
|
|
3
|
+
"version": "1.5.0",
|
|
4
|
+
"description": "Zero-dependency native PDF generation library. 22 scripts (Arabic, Hebrew, Thai, CJK, Devanagari, Telugu, Bengali, Tamil, Sinhala, Tibetan, Khmer, Myanmar, Ethiopic, Cyrillic, Greek, Georgian, Armenian, Latin), BiDi, PDF/A-1b/2b/3b, AES encryption, digital signatures, AcroForm, barcodes, SVG (with text), math symbols, markup annotations, layout inspection, font-data tools, COLRv1 colour emoji. Pure JavaScript ISO 32000-1 implementation, built under a human-in-the-loop AI-agent governance policy.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
7
7
|
"module": "./dist/index.js",
|
|
@@ -27,6 +27,16 @@
|
|
|
27
27
|
"default": "./dist/worker/index.cjs"
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
|
+
"./tools": {
|
|
31
|
+
"import": {
|
|
32
|
+
"types": "./dist/tools/index.d.ts",
|
|
33
|
+
"default": "./dist/tools/index.js"
|
|
34
|
+
},
|
|
35
|
+
"require": {
|
|
36
|
+
"types": "./dist/tools/index.d.cts",
|
|
37
|
+
"default": "./dist/tools/index.cjs"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
30
40
|
"./fonts/*": "./fonts/*",
|
|
31
41
|
"./package.json": "./package.json"
|
|
32
42
|
},
|
|
@@ -53,6 +63,7 @@
|
|
|
53
63
|
"test:generate": "npx tsx scripts/generate-samples.ts",
|
|
54
64
|
"validate:pdfa": "npx tsx scripts/validate-pdfa.ts",
|
|
55
65
|
"fonts:download": "npx tsx scripts/download-fonts.ts",
|
|
66
|
+
"verify:issue": "node scripts/verify-issue.mjs",
|
|
56
67
|
"lint": "eslint src/",
|
|
57
68
|
"typecheck": "tsc --noEmit",
|
|
58
69
|
"typecheck:tests": "tsc --project tsconfig.test.json --noEmit",
|
|
@@ -115,7 +126,22 @@
|
|
|
115
126
|
"viewer-preferences",
|
|
116
127
|
"rsa",
|
|
117
128
|
"ecdsa",
|
|
118
|
-
"typescript"
|
|
129
|
+
"typescript",
|
|
130
|
+
"svg-to-pdf",
|
|
131
|
+
"math-symbols",
|
|
132
|
+
"pdf-annotations",
|
|
133
|
+
"layout-inspection",
|
|
134
|
+
"font-tools",
|
|
135
|
+
"ai-governance",
|
|
136
|
+
"human-in-the-loop",
|
|
137
|
+
"hitl",
|
|
138
|
+
"responsible-ai",
|
|
139
|
+
"agent-safety",
|
|
140
|
+
"pdfkit-alternative",
|
|
141
|
+
"puppeteer-alternative",
|
|
142
|
+
"serverless-pdf",
|
|
143
|
+
"invoice",
|
|
144
|
+
"factur-x"
|
|
119
145
|
],
|
|
120
146
|
"author": "Nizoka <hello@pdfnative.dev> (https://pdfnative.dev)",
|
|
121
147
|
"license": "MIT",
|