-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(NODE-5801): use more specific key typing for multiple KMS provide…
…r support (#4146) Co-authored-by: Bailey Pearson <[email protected]> Co-authored-by: Neal Beeken <[email protected]>
- Loading branch information
1 parent
3ed6a2a
commit 465ffd9
Showing
6 changed files
with
39 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ export TSC="./node_modules/typescript/bin/tsc" | |
export TS_VERSION=$(get_ts_version) | ||
|
||
# On old versions of TS we need to put the node types back to 18.11.19 | ||
npm install --no-save --force typescript@"$TS_VERSION" "$(if [[ $TS_VERSION == '4.1.6' ]]; then echo "@types/[email protected]"; else echo ""; fi)" | ||
npm install --no-save --force typescript@"$TS_VERSION" "$(if [[ $TS_VERSION == '4.4' ]]; then echo "@types/[email protected]"; else echo ""; fi)" | ||
|
||
echo "Typescript $($TSC -v)" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,9 +27,9 @@ The official [MongoDB](https://www.mongodb.com/) driver for Node.js. | |
The GitHub release contains a detached signature file for the NPM package (named | ||
`mongodb-X.Y.Z.tgz.sig`). | ||
|
||
The following command returns the link npm package. | ||
The following command returns the link npm package. | ||
```shell | ||
npm view [email protected] dist.tarball | ||
npm view [email protected] dist.tarball | ||
``` | ||
|
||
Using the result of the above command, a `curl` command can return the official npm package for the release. | ||
|
@@ -81,7 +81,7 @@ The following table describes add-on component version compatibility for the Nod | |
|
||
#### Typescript Version | ||
|
||
We recommend using the latest version of typescript, however we currently ensure the driver's public types compile against `typescript@4.1.6`. | ||
We recommend using the latest version of typescript, however we currently ensure the driver's public types compile against `typescript@4.4.0`. | ||
This is the lowest typescript version guaranteed to work with our driver: older versions may or may not work - use at your own risk. | ||
Since typescript [does not restrict breaking changes to major versions](https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes), we consider this support best effort. | ||
If you run into any unexpected compiler failures against our supported TypeScript versions, please let us know by filing an issue on our [JIRA](https://jira.mongodb.org/browse/NODE). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters