Perform an advisory check when a user ran bun add <package> [...packages]
or other related/similar commands.
If this function throws an error, Bun will immediately stop the install process and print the error to the user.
interface
This is the version of the scanner implementation. It may change in future versions, so we will use this version to discriminate between such versions. It's entirely possible this API changes in the future so much that version 1 would no longer be supported.
The version is required because third-party scanner package versions are inherently unrelated to Bun versions