property
Security.Advisory.level
level: 'warn' | 'fatal'
The severity of the advisory.
Bun always pretty-prints every advisory returned from the scan() hook, then:
- if any is fatal, Bun immediately cancels the installation and exits with a non-zero exit code
- otherwise, if any is warn, Bun asks whether to continue with the install when running in a TTY, and exits immediately when not