Skip to content

Commit

Permalink
docs(NODE-5562): update upcoming crl option changes (#3836)
Browse files Browse the repository at this point in the history
  • Loading branch information
durran authored Aug 23, 2023
1 parent 43673fa commit d6eac31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/connection_string.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1108,7 +1108,7 @@ export const OPTIONS = {
},
sslCRL: {
deprecated:
'sslCRL is deprecated and will be removed in the next major version. Please use tlsCertificateKeyFile instead.',
'sslCRL is deprecated and will be removed in the next major version and be replaced by tlsCRLFile in that release.',
target: 'crl',
transform({ values: [value] }) {
return fs.readFileSync(String(value), { encoding: 'ascii' });
Expand Down
2 changes: 1 addition & 1 deletion src/mongo_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,7 @@ export interface MongoOptions
* | nodejs native option | driver spec compliant option name | legacy option name | driver option type |
* |:----------------------|:----------------------------------------------|:-------------------|:-------------------|
* | `ca` | `tlsCAFile` | `sslCA` | `string` |
* | `crl` | N/A | `sslCRL` | `string` |
* | `crl` | `tlsCRLFile` (next major version) | `sslCRL` | `string` |
* | `cert` | `tlsCertificateFile`, `tlsCertificateKeyFile` | `sslCert` | `string` |
* | `key` | `tlsCertificateKeyFile` | `sslKey` | `string` |
* | `passphrase` | `tlsCertificateKeyFilePassword` | `sslPass` | `string` |
Expand Down

0 comments on commit d6eac31

Please sign in to comment.