yargs-parser
the mighty option parser used by yargs
27
Versions
ISC
License
No
Install Scripts
Missing
Provenance
Supply chain provenance
Status for the latest visible version.
No SLSA provenance
npm registry signatures
gitHead linked
Without SLSA provenance there is no cryptographic link between this tarball and the public source — the axios compromise (March 2026) relied on exactly this gap.
Maintainers
bcoenexdrewoss-bot
Keywords
argumentparseryargscommandcliparsingoptionargsargument
Accepted risks
Findings the reviewer chose to accept rather than block on.
| Source | Rule | Reason | Accepted by | When |
|---|---|---|---|---|
| semgrep | semgrep:dynamic-require | AI (semgrep): Dynamic require is used to load user-specified config files — core documented functionality of yargs-parser. Not an arbitrary code execution risk beyond user intent. | ai | |
| semgrep | semgrep:env-bulk-read | AI (semgrep): process.env enumeration implements the env-prefix feature for mapping env vars to CLI args — expected, documented behavior for this argument parsing library. | ai | |
| dependencies | unvetted-dep:decamelize | AI (dependencies): decamelize is a well-known, minimal utility package used legitimately by yargs-parser for argument name conversion. | ai |
Versions (showing 27 of 27)
| Version | Deps | Published |
|---|---|---|
| 22.0.0 | 0 / 18 | |
| 21.1.1 | 0 / 23 | |
| 21.1.0 | 0 / 23 | |
| 21.0.1 | 0 / 23 | |
| 21.0.0 | 0 / 23 | |
| 20.2.9 | 0 / 23 | |
| 20.2.7 | 0 / 23 | |
| 20.2.6 | 0 / 23 | |
| 20.2.5 | 0 / 23 | |
| 20.2.4 | 0 / 23 | |
| 20.2.3 | 0 / 23 | |
| 20.2.2 | 0 / 23 | |
| 20.2.1 | 0 / 23 | |
| 20.2.0 | 0 / 23 | |
| 20.1.0 | 0 / 23 | |
| 20.0.0 | 0 / 23 | |
| 19.0.4 | 0 / 23 | |
| 19.0.1 | 0 / 21 | |
| 19.0.0 | 0 / 21 | |
| 18.1.3 | 2 / 4 | |
| 18.1.2 | 2 / 4 | |
| 18.1.1 | 2 / 4 | |
| 15.0.3 | 2 / 6 | |
| 15.0.2 | 2 / 6 | |
| 15.0.1 | 2 / 6 | |
| 13.1.2 | 2 / 6 | |
| 5.0.1 | 2 / 6 |