Skip to content

Commit d6eac31

Browse files
authored
docs(NODE-5562): update upcoming crl option changes (#3836)
1 parent 43673fa commit d6eac31

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/connection_string.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1108,7 +1108,7 @@ export const OPTIONS = {
11081108
},
11091109
sslCRL: {
11101110
deprecated:
1111-
'sslCRL is deprecated and will be removed in the next major version. Please use tlsCertificateKeyFile instead.',
1111+
'sslCRL is deprecated and will be removed in the next major version and be replaced by tlsCRLFile in that release.',
11121112
target: 'crl',
11131113
transform({ values: [value] }) {
11141114
return fs.readFileSync(String(value), { encoding: 'ascii' });

src/mongo_client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@ export interface MongoOptions
814814
* | nodejs native option | driver spec compliant option name | legacy option name | driver option type |
815815
* |:----------------------|:----------------------------------------------|:-------------------|:-------------------|
816816
* | `ca` | `tlsCAFile` | `sslCA` | `string` |
817-
* | `crl` | N/A | `sslCRL` | `string` |
817+
* | `crl` | `tlsCRLFile` (next major version) | `sslCRL` | `string` |
818818
* | `cert` | `tlsCertificateFile`, `tlsCertificateKeyFile` | `sslCert` | `string` |
819819
* | `key` | `tlsCertificateKeyFile` | `sslKey` | `string` |
820820
* | `passphrase` | `tlsCertificateKeyFilePassword` | `sslPass` | `string` |

0 commit comments

Comments
 (0)