Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update README with new CLI flag for package name aliases #178

Merged
merged 2 commits into from
Aug 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/selfish-moons-destroy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'lockfile-lint': minor
'lockfile-lint-api': minor
---

New CLI flag to add package name and aliases as trusted policy
2 changes: 1 addition & 1 deletion packages/lockfile-lint/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ lockfile-lint --path yarn.lock --allowed-hosts yarn --allowed-urls https://githu
| `--allowed-urls`, `-u` | allowed URLs (e.g. `https://github.com/some-org/some-repo#some-hash`) | ✅ |
| `--empty-hostname`, `-e` | allow empty hostnames, or set to false if you wish for a stricter policy | ✅ |
| `--validate-package-names`, `-n` | validates that the resolved URL matches the package name | ✅ |
| `--validate-checksum`, `-c` | check that all resources include a checksum | ❌ PRs welcome |
| `--validate-integrity`, `-i` | validates the integrity field is a sha512 hash | ✅ |
| `--allowed-package-name-aliases`, `-l` | allow package name aliases to be used by specifying package name and their alias as pairs (e.g: `string-width-cjs:string-width`) | ✅ |

# File-Based Configuration

Expand Down
Loading