@uploadista/flow-security-nodes 0.1.0-beta.5 → 0.1.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.
@@ -1,23 +1,21 @@
1
-
2
- 
3
- > @uploadista/flow-security-nodes@0.1.0-beta.4 build /Users/denislaboureyras/Documents/uploadista/dev/uploadista-workspace/uploadista-sdk/packages/flow/security/nodes
4
- > tsc --noEmit && tsdown
5
-
6
- ℹ tsdown v0.19.0 powered by rolldown v1.0.0-beta.59
7
- ℹ config file: /Users/denislaboureyras/Documents/uploadista/dev/uploadista-workspace/uploadista-sdk/packages/flow/security/nodes/tsdown.config.ts
8
- ℹ entry: src/index.ts
9
- ℹ tsconfig: tsconfig.json
10
- ℹ Build start
11
- ℹ Cleaning 7 files
12
- ℹ [CJS] dist/index.cjs 1.23 kB │ gzip: 0.69 kB
13
- ℹ [CJS] 1 files, total: 1.23 kB
14
- ℹ [ESM] dist/index.mjs 1.26 kB │ gzip: 0.73 kB
15
- ℹ [ESM] dist/index.mjs.map 5.64 kB │ gzip: 2.19 kB
16
- ℹ [ESM] dist/index.d.mts.map 0.54 kB │ gzip: 0.29 kB
17
- ℹ [ESM] dist/index.d.mts 3.29 kB │ gzip: 1.21 kB
18
- ℹ [ESM] 4 files, total: 10.73 kB
19
- ✔ Build complete in 6293ms
20
- ℹ [CJS] dist/index.d.cts.map 0.54 kB │ gzip: 0.29 kB
21
- ℹ [CJS] dist/index.d.cts 3.29 kB │ gzip: 1.20 kB
22
- ℹ [CJS] 2 files, total: 3.83 kB
23
- ✔ Build complete in 6315ms
1
+
2
+ > @uploadista/flow-security-nodes@0.1.0 build /home/runner/work/uploadista-sdk/uploadista-sdk/packages/flow/security/nodes
3
+ > tsc --noEmit && tsdown
4
+
5
+ ℹ tsdown v0.19.0 powered by rolldown v1.0.0-beta.59
6
+ ℹ config file: /home/runner/work/uploadista-sdk/uploadista-sdk/packages/flow/security/nodes/tsdown.config.ts
7
+ ℹ entry: src/index.ts
8
+ ℹ tsconfig: tsconfig.json
9
+ ℹ Build start
10
+ ℹ [CJS] dist/index.cjs 1.23 kB │ gzip: 0.69 kB
11
+ ℹ [CJS] 1 files, total: 1.23 kB
12
+ ℹ [ESM] dist/index.mjs 1.26 kB │ gzip: 0.73 kB
13
+ ℹ [ESM] dist/index.mjs.map 5.64 kB │ gzip: 2.19 kB
14
+ ℹ [ESM] dist/index.d.mts.map 0.54 kB │ gzip: 0.29 kB
15
+ ℹ [ESM] dist/index.d.mts 3.29 kB │ gzip: 1.21 kB
16
+ ℹ [ESM] 4 files, total: 10.73 kB
17
+ ✔ Build complete in 25058ms
18
+ ℹ [CJS] dist/index.d.cts.map 0.54 kB │ gzip: 0.29 kB
19
+ ℹ [CJS] dist/index.d.cts 3.29 kB │ gzip: 1.20 kB
20
+ ℹ [CJS] 2 files, total: 3.83 kB
21
+ ✔ Build complete in 25074ms
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@uploadista/flow-security-nodes",
3
3
  "type": "module",
4
- "version": "0.1.0-beta.5",
4
+ "version": "0.1.0",
5
5
  "description": "Security processing nodes for Uploadista Flow",
6
6
  "license": "MIT",
7
7
  "author": "Uploadista",
@@ -14,7 +14,7 @@
14
14
  }
15
15
  },
16
16
  "dependencies": {
17
- "@uploadista/core": "0.1.0-beta.5"
17
+ "@uploadista/core": "0.1.0"
18
18
  },
19
19
  "peerDependencies": {
20
20
  "effect": "^3.0.0",
@@ -27,7 +27,7 @@
27
27
  "tsdown": "0.19.0",
28
28
  "vitest": "4.0.17",
29
29
  "zod": "4.3.5",
30
- "@uploadista/typescript-config": "0.1.0-beta.5"
30
+ "@uploadista/typescript-config": "0.1.0"
31
31
  },
32
32
  "scripts": {
33
33
  "build": "tsc --noEmit && tsdown",
@@ -1,6 +0,0 @@
1
-
2
- 
3
- > @uploadista/flow-security-nodes@0.1.0-beta.2 check /Users/denislaboureyras/Documents/uploadista/dev/uploadista-workspace/uploadista-sdk/packages/flow/security/nodes
4
- > biome check --write ./src
5
-
6
- Checked 2 files in 79ms. No fixes applied.
@@ -1,126 +0,0 @@
1
-
2
- 
3
- > @uploadista/flow-security-nodes@0.1.0-beta.2 test /Users/denislaboureyras/Documents/uploadista/dev/uploadista-workspace/uploadista-sdk/packages/flow/security/nodes
4
- > vitest run
5
-
6
- [?25l
7
-  RUN  v4.0.17 /Users/denislaboureyras/Documents/uploadista/dev/uploadista-workspace/uploadista-sdk/packages/flow/security/nodes
8
-
9
- [?2026h
10
-  Test Files 0 passed (1)
11
-  Tests 0 passed (0)
12
-  Start at 16:11:08
13
-  Duration 959ms
14
- [?2026l[?2026h
15
-  ❯ tests/scan-virus-node.test.ts [queued]
16
-
17
-  Test Files 0 passed (1)
18
-  Tests 0 passed (0)
19
-  Start at 16:11:08
20
-  Duration 1.16s
21
- [?2026l[?2026h
22
-  ❯ tests/scan-virus-node.test.ts [queued]
23
-
24
-  Test Files 0 passed (1)
25
-  Tests 0 passed (0)
26
-  Start at 16:11:08
27
-  Duration 1.90s
28
- [?2026l[?2026h
29
-  ❯ tests/scan-virus-node.test.ts [queued]
30
-
31
-  Test Files 0 passed (1)
32
-  Tests 0 passed (0)
33
-  Start at 16:11:08
34
-  Duration 2.91s
35
- [?2026l[?2026h
36
-  ❯ tests/scan-virus-node.test.ts [queued]
37
-
38
-  Test Files 0 passed (1)
39
-  Tests 0 passed (0)
40
-  Start at 16:11:08
41
-  Duration 3.97s
42
- [?2026l[?2026h
43
-  ❯ tests/scan-virus-node.test.ts 0/16
44
-
45
-  Test Files 0 passed (1)
46
-  Tests 0 passed (16)
47
-  Start at 16:11:08
48
-  Duration 4.59s
49
- [?2026l[?2026h
50
-  ❯ tests/scan-virus-node.test.ts 1/16
51
-
52
-  Test Files 0 passed (1)
53
-  Tests 1 passed (16)
54
-  Start at 16:11:08
55
-  Duration 4.89s
56
- [?2026l[?2026h
57
-  ❯ tests/scan-virus-node.test.ts 2/16
58
-
59
-  Test Files 0 passed (1)
60
-  Tests 2 passed (16)
61
-  Start at 16:11:08
62
-  Duration 4.99s
63
- [?2026l[?2026h
64
-  ❯ tests/scan-virus-node.test.ts 4/16
65
-
66
-  Test Files 0 passed (1)
67
-  Tests 4 passed (16)
68
-  Start at 16:11:08
69
-  Duration 5.20s
70
- [?2026l[?2026h
71
-  ❯ tests/scan-virus-node.test.ts 6/16
72
-
73
-  Test Files 0 passed (1)
74
-  Tests 6 passed (16)
75
-  Start at 16:11:08
76
-  Duration 5.30s
77
- [?2026l[?2026h
78
-  ❯ tests/scan-virus-node.test.ts 7/16
79
-
80
-  Test Files 0 passed (1)
81
-  Tests 7 passed (16)
82
-  Start at 16:11:08
83
-  Duration 5.50s
84
- [?2026l[?2026h
85
-  ❯ tests/scan-virus-node.test.ts 9/16
86
-
87
-  Test Files 0 passed (1)
88
-  Tests 9 passed (16)
89
-  Start at 16:11:08
90
-  Duration 5.60s
91
- [?2026l[?2026h ✓ tests/scan-virus-node.test.ts (16 tests) 1141ms
92
- ✓ Scan Virus Node (16)
93
- ✓ Node Creation (2)
94
- ✓ should create scan virus node with correct properties 226ms
95
- ✓ should create node with default parameters 46ms
96
- ✓ Clean File Scanning (3)
97
- ✓ should pass clean file through unchanged 57ms
98
- ✓ should add virus scan metadata to clean file 45ms
99
- ✓ should preserve existing file metadata 116ms
100
- ✓ Infected File Scanning - Fail Action (3)
101
- ✓ should fail flow when virus detected with fail action 147ms
102
- ✓ should include virus names in error message 48ms
103
- ✓ should include scan metadata in error details 111ms
104
- ✓ Infected File Scanning - Pass Action (3)
105
- ✓ should continue flow when virus detected with pass action 11ms
106
- ✓ should add virus detection metadata when passing infected file 82ms
107
- ✓ should preserve file bytes when passing infected file 33ms
108
- ✓ Parameter Validation (4)
109
- ✓ should accept valid fail action 5ms
110
- ✓ should accept valid pass action 40ms
111
- ✓ should apply default timeout 10ms
112
- ✓ should accept custom timeout within limits 26ms
113
- ✓ Engine Version (1)
114
- ✓ should include engine version in scan metadata 14ms
115
-
116
-  Test Files 1 passed (1)
117
-  Tests 16 passed (16)
118
-  Start at 16:11:08
119
-  Duration 5.70s
120
- [?2026l
121
-  Test Files  1 passed (1)
122
-  Tests  16 passed (16)
123
-  Start at  16:11:08
124
-  Duration  5.78s (transform 755ms, setup 0ms, import 3.43s, tests 1.14s, environment 0ms)
125
-
126
- [?25h