[BUG] Publishing with --access restricted should prevent packages with no namespace being pushed #2588
Labels
Bug
thing that needs fixing
Needs Triage
needs review for next steps
Release 7.x
work is associated with a specific npm 7 release
Current Behavior:
If a non-namespaced package is published with
npm publish --access restricted
npm ignored the user directive that access should be restricted and publishes the package.
Expected Behavior:
Attempting to publish a package which isn't namespaced with
npm publish --access restricted
shouldSteps To Reproduce:
npm publish --access restricted
The text was updated successfully, but these errors were encountered: