Commit graph

13 commits

Author SHA1 Message Date
Hans Ott
484cbcd960 Use @typedef {Object} X
When you write @typedef {Object} ScanResult, you’re telling both JSDoc and TypeScript’s parser that this typedef represents an object type, not just an abstract name. This is important because it makes tools like IDEs, linters, and TypeScript’s JSDoc inference more reliable. It avoids ambiguity, especially in cases where the typedef might later be confused with something like a primitive, union, or function type. The official TypeScript documentation and the JSDoc spec both show this form as the canonical one for object shapes.
2025-11-01 13:28:11 +01:00
Hans Ott
c88b1a624f Type check safe-chain package 2025-11-01 13:06:06 +01:00
Sander Declerck
ab3319a310
Remove --safe-chain-malware-action flag 2025-10-27 11:51:19 +01:00
Sander Declerck
0f164d055f
Fix mocking in tests 2025-10-23 17:48:26 +02:00
Sander Declerck
9a78cafbfd
Introduce silent mode to disable logging 2025-10-23 17:45:03 +02:00
Sander Declerck
8950d528d5
Fix tests to match new behavior 2025-10-08 10:56:31 +02:00
Sander Declerck
240123372a
Handle PR Comments 2025-10-08 10:49:04 +02:00
Sander Declerck
3ef4ed8bad
Update main.js code flow so proxy always gets stopped + add comment on why exit status is handled in bin/aikido-(tool).js 2025-10-06 13:47:38 +02:00
Sander Declerck
ccaa7934ee
Improve cli output. 2025-10-03 16:21:55 +02:00
Sander Declerck
53bfb14fea
Only load the malware database once 2025-10-02 09:20:59 +02:00
Sander Declerck
528a60c166
Exit installation when detecting changes failed due to non-zero exit code in dry-run 2025-09-19 08:52:42 +02:00
Sander Declerck
2f1692e253
Exit installation instead of prompting the user 2025-09-11 13:42:45 +02:00
Sander Declerck
7673d32912
Move safe-chain package to packages/safe-chain 2025-09-05 11:19:37 +02:00