Update cheatsheets

This commit is contained in:
ivuorinen
2025-11-19 00:20:57 +00:00
parent 83af6b3c72
commit c80d49f5d0
26 changed files with 464 additions and 13 deletions

29
tldr/bun-audit Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# bun-audit
> Check installed packages for known security vulnerabilities.
> More information: <https://bun.com/docs/pm/cli/audit>.
- Audit all dependencies in a project with a `bun.lock` file:
`bun audit`
- Show only vulnerabilities at or above a specific severity level:
`bun audit --audit-level {{low|moderate|high|critical}}`
- Audit only production dependencies:
`bun audit --prod`
- Ignore a specific CVE ID:
`bun audit --ignore {{CVE-XXXX-YYYY}}`
- Output the raw JSON report:
`bun audit --json`