Commit graph

13 commits

Author SHA1 Message Date
Sander Declerck
932ea6b8f9
Add type information for new functions. 2025-11-03 11:47:59 +01:00
Sander Declerck
be6a6dccd9
Merge branch 'main' into verbose-logging 2025-11-03 11:37:47 +01:00
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
ddc8218a2d
Rename writeVerboseInformation to writeVerbose 2025-10-27 17:14:45 +01:00
Sander Declerck
c5e25f4813
Add verbose logging setting + setup buffering of logs to prevent interleaving logs with the package manager. 2025-10-27 17:09:28 +01:00
Sander Declerck
0b393eeb5f
Merge branch 'main' into verbose-logging 2025-10-27 15:11:53 +01:00
Sander Declerck
ab3319a310
Remove --safe-chain-malware-action flag 2025-10-27 11:51:19 +01:00
Sander Declerck
d6dda73fb9
WIP 2025-10-24 16:21:14 +02:00
Sander Declerck
9a78cafbfd
Introduce silent mode to disable logging 2025-10-23 17:45:03 +02:00
Hans Ott
41ab4b1edb Use oxlint instead of eslint
- Less dev dependencies
- Much faster
- More helpful output
- More sane defaults
- Easier config
2025-10-09 18:03:45 +02:00
Sander Declerck
f163101200
Remove @inquirer/prompts, update eslint. 2025-09-15 10:04:49 +02:00
Sander Declerck
7673d32912
Move safe-chain package to packages/safe-chain 2025-09-05 11:19:37 +02:00
Renamed from src/environment/userInteraction.js (Browse further)