yarnpkg/yarn

Yarn audit does not work with an external repository

Open

#7,012 建立於 2019年2月7日

在 GitHub 查看
 (11 留言) (14 反應) (0 負責人)JavaScript (2,731 fork)batch import
good first issuehelp wanted

倉庫指標

Star
 (41,514 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Do you want to request a feature or report a bug? Bug

What is the current behavior?

When running yarn audit with the --registry flag, it uses the main yarn repo anyway.

If the current behavior is a bug, please provide the steps to reproduce.

Execute yarn audit --registry https://registry.npmjs.org/

What is the expected behavior?

Audit calls are made to the defined registry. This is especially important for everyone with third party repo's where the outside world it blocked on CI agents. Or if you're using some kind of proxy.

Please mention your node.js, yarn and operating system version.

Mac Os Mojave Yarn 1.13.0 Node 10.15.1

貢獻者指南