(owner, pkg)
| 128 | } |
| 129 | |
| 130 | async #listPackages (owner, pkg) { |
| 131 | if (!owner) { |
| 132 | owner = await getIdentity(this.npm, this.npm.flatOptions) |
| 133 | } |
| 134 | const pkgs = await libnpmaccess.getPackages(owner, this.npm.flatOptions) |
| 135 | this.#output(pkgs, pkg) |
| 136 | } |
| 137 | |
| 138 | async #listCollaborators (pkg, user) { |
| 139 | const pkgName = await this.#getPackage(pkg, false) |