You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/getting-started/setting-up-your-npm-user-account/about-two-factor-authentication.mdx
+31-34Lines changed: 31 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,45 +39,42 @@ Two-factor authentication on npm can be enabled for authorization and writes, or
39
39
40
40
By default, 2FA is enabled for authorization and writes. We will request a second form of authentication for certain authorized actions, as well as write actions.
["Log in to npm", <Linkkey="login"href="https://docs.npmjs.com/cli/adduser"><InlineCode>npm login</InlineCode></Link>],
47
+
["Change profile settings (including your password)", <Linkkey="profile-set"href="https://docs.npmjs.com/cli/profile"><InlineCode>npm profile set</InlineCode></Link>],
48
+
["Change 2FA modes for your user account", <Linkkey="2fa-enable"href="https://docs.npmjs.com/cli/profile"><InlineCode>npm profile enable-2fa auth-and-writes</InlineCode></Link>],
49
+
["Disable 2FA for your user account", <Linkkey="2fa-disable"href="https://docs.npmjs.com/cli/profile"><InlineCode>npm profile disable-2fa</InlineCode></Link>],
["Change user and team package access", <Linkkey="access-grant"href="https://docs.npmjs.com/cli/access"><InlineCode>npm access grant/revoke</InlineCode></Link>],
["Log in to npm", <Linkkey="login"href="https://docs.npmjs.com/cli/adduser"><InlineCode>npm login</InlineCode></Link>],
70
+
["Change profile settings (including your password)", <Linkkey="profile-set"href="https://docs.npmjs.com/cli/profile"><InlineCode>npm profile set</InlineCode></Link>],
71
+
["Change 2FA modes for your user account", <Linkkey="2fa-enable"href="https://docs.npmjs.com/cli/profile"><InlineCode>npm profile enable-2fa auth-only</InlineCode></Link>],
72
+
["Disable 2FA for your user account", <Linkkey="2fa-disable"href="https://docs.npmjs.com/cli/profile"><InlineCode>npm profile disable-2fa</InlineCode></Link>],
Copy file name to clipboardExpand all lines: content/getting-started/troubleshooting/common-errors.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -178,7 +178,7 @@ npm is written to use resources efficiently on install, and part of this is that
178
178
179
179
## `cb() never called!` when using shrinkwrapped dependencies
180
180
181
-
Take a look at [issue #5920](https://github.com/npm/npm/issues/5920). <s>We're working on fixing this one, but it's a fairly subtle race condition and it's taking us a little time. You might try moving your `npm-shrinkwrap.json` file out of the way until we have this fixed.</s> This has been fixed in versions of npm newer than `npm@2.1.5`, so update to `npm@latest`.
181
+
Take a look at [issue #5920](https://github.com/npm/npm/issues/5920). <Strikethrough>We're working on fixing this one, but it's a fairly subtle race condition and it's taking us a little time. You might try moving your `npm-shrinkwrap.json` file out of the way until we have this fixed.</Strikethrough> This has been fixed in versions of npm newer than `npm@2.1.5`, so update to `npm@latest`.
Copy file name to clipboardExpand all lines: content/organizations/managing-organization-members/organization-roles-and-permissions.mdx
+19-15Lines changed: 19 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,18 +14,22 @@ There are three roles in an organization:
14
14
15
15
<><strong>On the public registry, you cannot remove the last owner from an organization.</strong> To delete an organization, {shared['contact-support'].text}.</>
Copy file name to clipboardExpand all lines: content/packages-and-modules/introduction-to-packages-and-modules/package-scope-access-level-and-visibility.mdx
+10-7Lines changed: 10 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,13 +12,16 @@ Visibility of npm packages depends on the scope (namespace) in which the package
12
12
13
13
## npm Package Access Matrix
14
14
15
-
| Scope | Access level | Can view and download | Can write (publish) |
16
-
| --- | --- | --- | --- |
17
-
| Org | Private | Members of a team in the organization with read access to the package | Members of a team in the organization with read and write access to the package |
18
-
| Org | Public | Everyone | Members of a team in the organization with read and write access to the package |
19
-
| User | Private | The package owner and users who have been granted read access to the package | The package owner and users who have been granted read and write access to the package |
20
-
| User | Public | Everyone | The package owner and users who have been granted read and write access to the package |
21
-
| Unscoped | Public | Everyone | The package owner and users who have been granted read and write access to the package |
15
+
<DataTable
16
+
headers={["Scope", "Access level", "Can view and download", "Can write (publish)"]}
17
+
rows={[
18
+
["Org", "Private", "Members of a team in the organization with read access to the package", "Members of a team in the organization with read and write access to the package"],
19
+
["Org", "Public", "Everyone", "Members of a team in the organization with read and write access to the package"],
20
+
["User", "Private", "The package owner and users who have been granted read access to the package", "The package owner and users who have been granted read and write access to the package"],
21
+
["User", "Public", "Everyone", "The package owner and users who have been granted read and write access to the package"],
22
+
["Unscoped", "Public", "Everyone", "The package owner and users who have been granted read and write access to the package"]
0 commit comments