pdfnative 1.2.0 → 1.4.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.2.0",
4
- "description": "Zero-dependency native PDF generation library. 16 scripts (Arabic, Hebrew, Thai, CJK, Devanagari, Bengali, Tamil, Cyrillic, Greek, Georgian, Armenian, Latin), BiDi, PDF/A-1b/2b/3b, AES encryption, digital signatures, AcroForm, barcodes, SVG. Pure JavaScript ISO 32000-1 implementation.",
3
+ "version": "1.4.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.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
7
7
  "module": "./dist/index.js",
@@ -26,7 +26,9 @@
26
26
  "types": "./dist/worker/index.d.cts",
27
27
  "default": "./dist/worker/index.cjs"
28
28
  }
29
- }
29
+ },
30
+ "./fonts/*": "./fonts/*",
31
+ "./package.json": "./package.json"
30
32
  },
31
33
  "files": [
32
34
  "dist",
@@ -38,7 +40,8 @@
38
40
  ],
39
41
  "sideEffects": false,
40
42
  "bin": {
41
- "pdfnative-build-font": "./tools/build-font-data.cjs"
43
+ "pdfnative-build-font": "./tools/build-font-data.cjs",
44
+ "pdfnative-build-emoji-font": "./dist/tools/build-emoji-font.js"
42
45
  },
43
46
  "scripts": {
44
47
  "build": "tsup",
@@ -72,6 +75,13 @@
72
75
  "bengali",
73
76
  "tamil",
74
77
  "devanagari",
78
+ "telugu",
79
+ "sinhala",
80
+ "tibetan",
81
+ "khmer",
82
+ "myanmar",
83
+ "amharic",
84
+ "ethiopic",
75
85
  "bidi",
76
86
  "multi-font",
77
87
  "opentype",
@@ -85,8 +95,26 @@
85
95
  "barcode",
86
96
  "qr-code",
87
97
  "emoji",
98
+ "color-emoji",
99
+ "greek",
100
+ "cyrillic",
101
+ "georgian",
102
+ "armenian",
103
+ "font-subsetting",
104
+ "pdf-ua",
105
+ "watermark",
88
106
  "web-worker",
89
107
  "streaming",
108
+ "outline",
109
+ "bookmarks",
110
+ "page-labels",
111
+ "merge-pdf",
112
+ "split-pdf",
113
+ "extract-pdf",
114
+ "pdf-manipulation",
115
+ "viewer-preferences",
116
+ "rsa",
117
+ "ecdsa",
90
118
  "typescript"
91
119
  ],
92
120
  "author": "Nizoka <hello@pdfnative.dev> (https://pdfnative.dev)",
@@ -111,12 +139,15 @@
111
139
  },
112
140
  "devDependencies": {
113
141
  "@types/node": "^22.0.0",
114
- "@vitest/coverage-v8": "^2.1.9",
142
+ "@vitest/coverage-v8": "^4.1.8",
115
143
  "eslint": "^9.0.0",
116
144
  "tsup": "^8.0.0",
117
- "tsx": "^4.21.0",
145
+ "tsx": "^4.22.4",
118
146
  "typescript": "^5.4.0",
119
147
  "typescript-eslint": "^8.57.2",
120
- "vitest": "^2.1.9"
148
+ "vitest": "^4.1.8"
149
+ },
150
+ "overrides": {
151
+ "esbuild": "0.28.1"
121
152
  }
122
153
  }