Skip to content

Commit

Permalink
docs: fix nodejs version requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
hasezoey committed Aug 15, 2023
1 parent f47d2d8 commit 2b9179a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Choose any package, because they are the same. They differ only in the default c

### Requirements

- NodeJS: 14.0+
- NodeJS: 14.20.1+
- Typescript: 5.0+ (if used)

And one of those (on Linux):
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/quick-start-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ If Top-Level async-await is not available for your case, the code can in most ca

## Requirements

- NodeJS: 14.0+
- NodeJS: 14.20.1+
- Typescript: 5.0+ (if used)

When on Linux, one of the following are required:
Expand Down
4 changes: 2 additions & 2 deletions packages/mongodb-memory-server-core/src/util/MongoInstance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import {

// ignore the nodejs warning for coverage
/* istanbul ignore next */
if (lt(process.version, '14.0.0')) {
console.warn('Using NodeJS below 14.0.0');
if (lt(process.version, '14.20.1')) {
console.warn('Using NodeJS below 14.20.1');
}

const log = debug('MongoMS:MongoInstance');
Expand Down

0 comments on commit 2b9179a

Please sign in to comment.