Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4096d81

Browse files
npm-cli-botMylesBorins
authored andcommittedJul 21, 2022
deps: upgrade npm to 8.14.0
PR-URL: #43826 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
1 parent 581a84e commit 4096d81

File tree

133 files changed

+3787
-511
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+3787
-511
lines changed
 

‎deps/npm/docs/content/commands/npm-adduser.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,12 @@ npm init --scope=@foo --yes
9393
#### `auth-type`
9494

9595
* Default: "legacy"
96-
* Type: "legacy", "webauthn", "sso", "saml", or "oauth"
97-
* DEPRECATED: The SSO/SAML/OAuth methods are deprecated and will be removed in
98-
a future version of npm in favor of web-based login.
96+
* Type: "legacy", "web", "sso", "saml", "oauth", or "webauthn"
9997

100-
What authentication strategy to use with `adduser`/`login`.
98+
NOTE: auth-type values "sso", "saml", "oauth", and "webauthn" will be
99+
removed in a future version.
101100

102-
Pass `webauthn` to use a web-based login.
101+
What authentication strategy to use with `login`.
103102

104103
<!-- automatically generated, do not edit manually -->
105104
<!-- see lib/utils/config/definitions.js -->

‎deps/npm/docs/content/commands/npm-audit.md

+12-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ description: Run a security audit
1111
<!-- see lib/commands/audit.js -->
1212

1313
```bash
14-
npm audit [fix]
14+
npm audit [fix|signatures]
1515
```
1616

1717
<!-- automatically generated, do not edit manually -->
@@ -41,6 +41,17 @@ vulnerability is found. It may be useful in CI environments to include the
4141
will cause the command to fail. This option does not filter the report
4242
output, it simply changes the command's failure threshold.
4343

44+
### Audit Signatures
45+
46+
This command can also audit the integrity values of the packages in your
47+
tree against any signatures present in the registry they were downloaded
48+
from. npm will attempt to download the keys from `/-/npm/v1/keys` on
49+
each the registry used to download any given package. It will then
50+
check the `dist.signatures` object in the package itself, and verify the
51+
`sig` present there using the `keyid` there, matching it with a key
52+
returned from the registry. The command for this is `npm audit
53+
signatures`
54+
4455
### Audit Endpoints
4556

4657
There are two audit endpoints that npm may use to fetch vulnerability

0 commit comments

Comments
 (0)
Please sign in to comment.