A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/npm/cli/commit/2af31dd30f4c226f43ce7295cd0b5fbb3f3cb2a6 below:

change certfile to cafile (#7947) · npm/cli@2af31dd · GitHub

File tree Expand file treeCollapse file tree 4 files changed

+12

-27

lines changed

Filter options

Expand file treeCollapse file tree 4 files changed

+12

-27

lines changed Original file line number Diff line number Diff line change

@@ -103,7 +103,7 @@ The full list is:

103 103

- `username`

104 104

- `_password`

105 105

- `email`

106 -

- `certfile` (path to certificate file)

106 +

- `cafile` (path to certificate authority file)

107 107

- `keyfile` (path to key file)

108 108 109 109

In order to scope these values, they must be prefixed by a URI fragment.

Original file line number Diff line number Diff line change

@@ -331,21 +331,6 @@ audited 2 packages in xxx

331 331

2 packages have verified registry signatures

332 332

`

333 333 334 -

exports[`test/lib/commands/audit.js TAP fallback audit > must match snapshot 1`] = `

335 -

# npm audit report

336 - 337 -

test-dep-a 1.0.0

338 -

Severity: high

339 -

Test advisory 100 - https://github.com/advisories/GHSA-100

340 -

fix available via \`npm audit fix\`

341 -

node_modules/test-dep-a

342 - 343 -

1 high severity vulnerability

344 - 345 -

To address all issues, run:

346 -

npm audit fix

347 -

`

348 - 349 334

exports[`test/lib/commands/audit.js TAP json audit > must match snapshot 1`] = `

350 335

{

351 336

"auditReportVersion": 2,

Original file line number Diff line number Diff line change

@@ -1877,9 +1877,9 @@ When set to \`dev\` or \`development\`, this is an alias for \`--include=dev\`.

1877 1877

* Default: null

1878 1878

* Type: null or String

1879 1879

* DEPRECATED: \`key\` and \`cert\` are no longer used for most registry

1880 -

operations. Use registry scoped \`keyfile\` and \`certfile\` instead. Example:

1880 +

operations. Use registry scoped \`keyfile\` and \`cafile\` instead. Example:

1881 1881

//other-registry.tld/:keyfile=/path/to/key.pem

1882 -

//other-registry.tld/:certfile=/path/to/cert.crt

1882 +

//other-registry.tld/:cafile=/path/to/cert.crt

1883 1883 1884 1884

A client certificate to pass when accessing the registry. Values should be

1885 1885

in PEM format (Windows calls it "Base-64 encoded X.509 (.CER)") with

@@ -1890,8 +1890,8 @@ cert="-----BEGIN CERTIFICATE-----\\nXXXX\\nXXXX\\n-----END CERTIFICATE-----"

1890 1890

\`\`\`

1891 1891 1892 1892

It is _not_ the path to a certificate file, though you can set a

1893 -

registry-scoped "certfile" path like

1894 -

"//other-registry.tld/:certfile=/path/to/cert.pem".

1893 +

registry-scoped "cafile" path like

1894 +

"//other-registry.tld/:cafile=/path/to/cert.pem".

1895 1895 1896 1896 1897 1897

@@ -1982,9 +1982,9 @@ Alias for \`--init-version\`

1982 1982

* Default: null

1983 1983

* Type: null or String

1984 1984

* DEPRECATED: \`key\` and \`cert\` are no longer used for most registry

1985 -

operations. Use registry scoped \`keyfile\` and \`certfile\` instead. Example:

1985 +

operations. Use registry scoped \`keyfile\` and \`cafile\` instead. Example:

1986 1986

//other-registry.tld/:keyfile=/path/to/key.pem

1987 -

//other-registry.tld/:certfile=/path/to/cert.crt

1987 +

//other-registry.tld/:cafile=/path/to/cert.crt

1988 1988 1989 1989

A client key to pass when accessing the registry. Values should be in PEM

1990 1990

format with newlines replaced by the string "\\n". For example:

Original file line number Diff line number Diff line change

@@ -397,14 +397,14 @@ const definitions = {

397 397

\`\`\`

398 398 399 399

It is _not_ the path to a certificate file, though you can set a registry-scoped

400 -

"certfile" path like "//other-registry.tld/:certfile=/path/to/cert.pem".

400 +

"cafile" path like "//other-registry.tld/:cafile=/path/to/cert.pem".

401 401

`,

402 402

deprecated: `

403 403

\`key\` and \`cert\` are no longer used for most registry operations.

404 -

Use registry scoped \`keyfile\` and \`certfile\` instead.

404 +

Use registry scoped \`keyfile\` and \`cafile\` instead.

405 405

Example:

406 406

//other-registry.tld/:keyfile=/path/to/key.pem

407 -

//other-registry.tld/:certfile=/path/to/cert.crt

407 +

//other-registry.tld/:cafile=/path/to/cert.crt

408 408

`,

409 409

flatten,

410 410

}),

@@ -1077,10 +1077,10 @@ const definitions = {

1077 1077

`,

1078 1078

deprecated: `

1079 1079

\`key\` and \`cert\` are no longer used for most registry operations.

1080 -

Use registry scoped \`keyfile\` and \`certfile\` instead.

1080 +

Use registry scoped \`keyfile\` and \`cafile\` instead.

1081 1081

Example:

1082 1082

//other-registry.tld/:keyfile=/path/to/key.pem

1083 -

//other-registry.tld/:certfile=/path/to/cert.crt

1083 +

//other-registry.tld/:cafile=/path/to/cert.crt

1084 1084

`,

1085 1085

flatten,

1086 1086

}),

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4