pdfnative 1.3.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pdfnative",
3
- "version": "1.3.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, 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
  },
@@ -40,7 +50,8 @@
40
50
  ],
41
51
  "sideEffects": false,
42
52
  "bin": {
43
- "pdfnative-build-font": "./tools/build-font-data.cjs"
53
+ "pdfnative-build-font": "./tools/build-font-data.cjs",
54
+ "pdfnative-build-emoji-font": "./dist/tools/build-emoji-font.js"
44
55
  },
45
56
  "scripts": {
46
57
  "build": "tsup",
@@ -52,6 +63,7 @@
52
63
  "test:generate": "npx tsx scripts/generate-samples.ts",
53
64
  "validate:pdfa": "npx tsx scripts/validate-pdfa.ts",
54
65
  "fonts:download": "npx tsx scripts/download-fonts.ts",
66
+ "verify:issue": "node scripts/verify-issue.mjs",
55
67
  "lint": "eslint src/",
56
68
  "typecheck": "tsc --noEmit",
57
69
  "typecheck:tests": "tsc --project tsconfig.test.json --noEmit",
@@ -104,7 +116,32 @@
104
116
  "watermark",
105
117
  "web-worker",
106
118
  "streaming",
107
- "typescript"
119
+ "outline",
120
+ "bookmarks",
121
+ "page-labels",
122
+ "merge-pdf",
123
+ "split-pdf",
124
+ "extract-pdf",
125
+ "pdf-manipulation",
126
+ "viewer-preferences",
127
+ "rsa",
128
+ "ecdsa",
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"
108
145
  ],
109
146
  "author": "Nizoka <hello@pdfnative.dev> (https://pdfnative.dev)",
110
147
  "license": "MIT",
@@ -131,9 +168,12 @@
131
168
  "@vitest/coverage-v8": "^4.1.8",
132
169
  "eslint": "^9.0.0",
133
170
  "tsup": "^8.0.0",
134
- "tsx": "^4.21.0",
171
+ "tsx": "^4.22.4",
135
172
  "typescript": "^5.4.0",
136
173
  "typescript-eslint": "^8.57.2",
137
174
  "vitest": "^4.1.8"
175
+ },
176
+ "overrides": {
177
+ "esbuild": "0.28.1"
138
178
  }
139
179
  }