@uploadista/flow-documents-unpdf 0.0.20 → 0.1.0-beta.5

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.
@@ -1,15 +1,16 @@
1
-
2
- > @uploadista/flow-documents-unpdf@0.0.20-beta.9 build /Users/denislaboureyras/Documents/uploadista/dev/uploadista-workspace/uploadista-sdk/packages/flow/documents/unpdf
3
- > tsc --noEmit && tsdown
4
-
5
- ℹ tsdown v0.18.0 powered by rolldown v1.0.0-beta.53
6
- ℹ entry: src/index.ts
7
- ℹ tsconfig: tsconfig.json
8
- ℹ Build start
9
- ℹ Cleaning 4 files
10
- ℹ dist/index.mjs 2.41 kB │ gzip: 0.83 kB
11
- ℹ dist/index.mjs.map 4.58 kB │ gzip: 1.38 kB
12
- ℹ dist/index.d.mts.map 0.18 kB │ gzip: 0.15 kB
13
- ℹ dist/index.d.mts 0.39 kB │ gzip: 0.21 kB
14
- ℹ 4 files, total: 7.56 kB
15
- ✔ Build complete in 7572ms
1
+
2
+ 
3
+ > @uploadista/flow-documents-unpdf@0.1.0-beta.4 build /Users/denislaboureyras/Documents/uploadista/dev/uploadista-workspace/uploadista-sdk/packages/flow/documents/unpdf
4
+ > tsc --noEmit && tsdown
5
+
6
+ ℹ tsdown v0.19.0 powered by rolldown v1.0.0-beta.59
7
+ ℹ entry: src/index.ts
8
+ ℹ tsconfig: tsconfig.json
9
+ ℹ Build start
10
+ ℹ Cleaning 4 files
11
+ ℹ dist/index.mjs 2.41 kB │ gzip: 0.83 kB
12
+ ℹ dist/index.mjs.map 4.58 kB │ gzip: 1.38 kB
13
+ ℹ dist/index.d.mts.map 0.18 kB │ gzip: 0.15 kB
14
+ ℹ dist/index.d.mts 0.39 kB │ gzip: 0.21 kB
15
+ ℹ 4 files, total: 7.56 kB
16
+ ✔ Build complete in 5566ms
@@ -0,0 +1,6 @@
1
+
2
+ 
3
+ > @uploadista/flow-documents-unpdf@0.1.0-beta.2 check /Users/denislaboureyras/Documents/uploadista/dev/uploadista-workspace/uploadista-sdk/packages/flow/documents/unpdf
4
+ > biome check --write ./src
5
+
6
+ Checked 2 files in 187ms. No fixes applied.
@@ -1,5 +1,183 @@
1
-
2
- > @uploadista/flow-documents-unpdf@0.0.17 test /Users/denislaboureyras/Documents/uploadista/dev/uploadista-workspace/uploadista-sdk/packages/flow/documents/unpdf
3
- > vitest run
4
-
5
-  ELIFECYCLE  Test failed. See above for more details.
1
+
2
+ 
3
+ > @uploadista/flow-documents-unpdf@0.1.0-beta.2 test /Users/denislaboureyras/Documents/uploadista/dev/uploadista-workspace/uploadista-sdk/packages/flow/documents/unpdf
4
+ > vitest run
5
+
6
+ [?25l
7
+  RUN  v4.0.17 /Users/denislaboureyras/Documents/uploadista/dev/uploadista-workspace/uploadista-sdk/packages/flow/documents/unpdf
8
+
9
+ [?2026h
10
+  ❯ tests/document-plugin.test.ts [queued]
11
+
12
+  Test Files 0 passed (1)
13
+  Tests 0 passed (0)
14
+  Start at 16:43:57
15
+  Duration 958ms
16
+ [?2026l[?2026h
17
+  ❯ tests/document-plugin.test.ts [queued]
18
+
19
+  Test Files 0 passed (1)
20
+  Tests 0 passed (0)
21
+  Start at 16:43:57
22
+  Duration 1.97s
23
+ [?2026l[?2026h
24
+  ❯ tests/document-plugin.test.ts [queued]
25
+
26
+  Test Files 0 passed (1)
27
+  Tests 0 passed (0)
28
+  Start at 16:43:57
29
+  Duration 2.97s
30
+ [?2026l[?2026h
31
+  ❯ tests/document-plugin.test.ts [queued]
32
+
33
+  Test Files 0 passed (1)
34
+  Tests 0 passed (0)
35
+  Start at 16:43:57
36
+  Duration 3.91s
37
+ [?2026l[?2026h
38
+  ❯ tests/document-plugin.test.ts [queued]
39
+
40
+  Test Files 0 passed (1)
41
+  Tests 0 passed (0)
42
+  Start at 16:43:57
43
+  Duration 5.29s
44
+ [?2026l[?2026h
45
+  ❯ tests/document-plugin.test.ts [queued]
46
+
47
+  Test Files 0 passed (1)
48
+  Tests 0 passed (0)
49
+  Start at 16:43:57
50
+  Duration 6.24s
51
+ [?2026l[?2026h
52
+  ❯ tests/document-plugin.test.ts [queued]
53
+
54
+  Test Files 0 passed (1)
55
+  Tests 0 passed (0)
56
+  Start at 16:43:57
57
+  Duration 7.29s
58
+ [?2026l[?2026h
59
+  ❯ tests/document-plugin.test.ts [queued]
60
+
61
+  Test Files 0 passed (1)
62
+  Tests 0 passed (0)
63
+  Start at 16:43:57
64
+  Duration 8.89s
65
+ [?2026l[?2026h
66
+  ❯ tests/document-plugin.test.ts [queued]
67
+
68
+  Test Files 0 passed (1)
69
+  Tests 0 passed (0)
70
+  Start at 16:43:57
71
+  Duration 9.85s
72
+ [?2026l[?2026h
73
+  ❯ tests/document-plugin.test.ts [queued]
74
+
75
+  Test Files 0 passed (1)
76
+  Tests 0 passed (0)
77
+  Start at 16:43:57
78
+  Duration 10.84s
79
+ [?2026l[?2026h
80
+  ❯ tests/document-plugin.test.ts [queued]
81
+
82
+  Test Files 0 passed (1)
83
+  Tests 0 passed (0)
84
+  Start at 16:43:57
85
+  Duration 11.82s
86
+ [?2026l[?2026h
87
+  ❯ tests/document-plugin.test.ts [queued]
88
+
89
+  Test Files 0 passed (1)
90
+  Tests 0 passed (0)
91
+  Start at 16:43:57
92
+  Duration 12.84s
93
+ [?2026l[?2026h
94
+  ❯ tests/document-plugin.test.ts [queued]
95
+
96
+  Test Files 0 passed (1)
97
+  Tests 0 passed (0)
98
+  Start at 16:43:57
99
+  Duration 13.91s
100
+ [?2026l[?2026h
101
+  ❯ tests/document-plugin.test.ts [queued]
102
+
103
+  Test Files 0 passed (1)
104
+  Tests 0 passed (0)
105
+  Start at 16:43:57
106
+  Duration 14.87s
107
+ [?2026l[?2026h
108
+  ❯ tests/document-plugin.test.ts [queued]
109
+
110
+  Test Files 0 passed (1)
111
+  Tests 0 passed (0)
112
+  Start at 16:43:57
113
+  Duration 15.90s
114
+ [?2026l[?2026h
115
+  ❯ tests/document-plugin.test.ts [queued]
116
+
117
+  Test Files 0 passed (1)
118
+  Tests 0 passed (0)
119
+  Start at 16:43:57
120
+  Duration 16.87s
121
+ [?2026l[?2026h
122
+  ❯ tests/document-plugin.test.ts 0/7
123
+
124
+  Test Files 0 passed (1)
125
+  Tests 0 passed (7)
126
+  Start at 16:43:57
127
+  Duration 17.90s
128
+ [?2026l[?2026h
129
+  ❯ tests/document-plugin.test.ts 1/7
130
+
131
+  Test Files 0 passed (1)
132
+  Tests 1 passed (7)
133
+  Start at 16:43:57
134
+  Duration 18.52s
135
+ [?2026l[?2026h
136
+  ❯ tests/document-plugin.test.ts 2/7
137
+
138
+  Test Files 0 passed (1)
139
+  Tests 2 passed (7)
140
+  Start at 16:43:57
141
+  Duration 18.62s
142
+ [?2026l[?2026h
143
+  ❯ tests/document-plugin.test.ts 3/7
144
+
145
+  Test Files 0 passed (1)
146
+  Tests 3 passed (7)
147
+  Start at 16:43:57
148
+  Duration 18.73s
149
+ [?2026l[?2026hstderr | tests/document-plugin.test.ts > unpdf Document Plugin > error handling > should fail with corrupted PDF data
150
+ Warning: Indexing all PDF objects
151
+
152
+
153
+  ❯ tests/document-plugin.test.ts 4/7
154
+
155
+  Test Files 0 passed (1)
156
+  Tests 4 passed (7)
157
+  Start at 16:43:57
158
+  Duration 18.93s
159
+ [?2026l[?2026h
160
+  ❯ tests/document-plugin.test.ts 7/7
161
+
162
+  Test Files 0 passed (1)
163
+  Tests 7 passed (7)
164
+  Start at 16:43:57
165
+  Duration 19.03s
166
+ [?2026l ✓ tests/document-plugin.test.ts (7 tests) 1921ms
167
+ ✓ unpdf Document Plugin (7)
168
+ ✓ extractText (5)
169
+ ✓ should extract text from single-page PDF  1478ms
170
+ ✓ should extract text from multi-page PDF 130ms
171
+ ✓ should handle PDF with special characters 105ms
172
+ ✓ should handle PDF with multiple paragraphs 57ms
173
+ ✓ should handle empty PDF 19ms
174
+ ✓ error handling (2)
175
+ ✓ should fail with corrupted PDF data 73ms
176
+ ✓ should fail with empty buffer 53ms
177
+
178
+  Test Files  1 passed (1)
179
+  Tests  7 passed (7)
180
+  Start at  16:43:57
181
+  Duration  19.11s (transform 4.44s, setup 0ms, import 16.06s, tests 1.92s, environment 0ms)
182
+
183
+ [?25h
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@uploadista/flow-documents-unpdf",
3
3
  "type": "module",
4
- "version": "0.0.20",
4
+ "version": "0.1.0-beta.5",
5
5
  "description": "unpdf plugin for Uploadista document text extraction",
6
6
  "license": "MIT",
7
7
  "author": "Uploadista",
@@ -15,20 +15,20 @@
15
15
  },
16
16
  "dependencies": {
17
17
  "unpdf": "^1.4.0",
18
- "@uploadista/core": "0.0.20",
19
- "@uploadista/observability": "0.0.20"
18
+ "@uploadista/core": "0.1.0-beta.5",
19
+ "@uploadista/observability": "0.1.0-beta.5"
20
20
  },
21
21
  "peerDependencies": {
22
22
  "effect": "^3.0.0"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@effect/vitest": "0.27.0",
26
- "@types/node": "24.10.4",
27
- "effect": "3.19.12",
26
+ "@types/node": "24.10.8",
27
+ "effect": "3.19.14",
28
28
  "pdf-lib": "^1.17.1",
29
- "tsdown": "0.18.0",
30
- "vitest": "4.0.15",
31
- "@uploadista/typescript-config": "0.0.20"
29
+ "tsdown": "0.19.0",
30
+ "vitest": "4.0.17",
31
+ "@uploadista/typescript-config": "0.1.0-beta.5"
32
32
  },
33
33
  "scripts": {
34
34
  "build": "tsc --noEmit && tsdown",