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

Fix npm.isCollaborator() on npm v9 #966

Merged
merged 1 commit into from Dec 27, 2022

Commits on Dec 27, 2022

  1. Fix npm.isCollaborator() on npm v9

    With v9.0.0 release [npm][] has changed the CLI commands for package
    access. While previously it was `npm access ls-collaborators` and the
    output was a JSON object, now it is `npm access list collaborators` and
    the output is plain text unless `--json` flag is provided.
    
    This commit adds support for npm v9.0.0 while keeping support for older
    npm versions.
    
    [npm]: npm/cli@9c32c6c
    indutny committed Dec 27, 2022
    Copy the full SHA
    b52617c View commit details
    Browse the repository at this point in the history