Skip to content

Commit 9b6cf26

Browse files
hasezoeynodkz
authored andcommitted
docs(README): fix mentions of "latest" while being "4.0.14"
fixes #338
1 parent 22e791c commit 9b6cf26

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ And one of those:
8282

8383
### mongodb-memory-server
8484

85-
Auto-downloads the latest `mongod` binary on npm install to: `node_modules/.cache/mongodb-binaries`.
85+
Auto-downloads version ~~`latest`~~`4.0.14` `mongod` binary on npm install to: `node_modules/.cache/mongodb-binaries`.
8686

8787
```bash
8888
yarn add mongodb-memory-server --dev
@@ -92,7 +92,7 @@ npm install mongodb-memory-server --save-dev
9292

9393
### mongodb-memory-server-global
9494

95-
Auto-downloads the latest `mongod` binary on npm install to: `%HOME%/.cache/mongodb-binaries` / `~/.cache/mongodb-binaries`.
95+
Auto-downloads version ~~`latest`~~`4.0.14` `mongod` binary on npm install to: `%HOME%/.cache/mongodb-binaries` / `~/.cache/mongodb-binaries`.
9696

9797
```bash
9898
yarn add mongodb-memory-server-global --dev
@@ -114,7 +114,7 @@ _Note: the package does try to download `mongod` upon server start if it cannot
114114

115115
### Configuring which mongod binary to use
116116

117-
The default behaviour is that the latest version for your OS will be downloaded. By setting [ENVIRONMENT variables](#options-which-can-be-set-via-environment-variables) you are able to specify which version and binary will be downloaded:
117+
The default behaviour is that version ~~`latest`~~`4.0.14` for your OS will be downloaded. By setting [ENVIRONMENT variables](#options-which-can-be-set-via-environment-variables) you are able to specify which version and binary will be downloaded:
118118

119119
```bash
120120
export MONGOMS_DOWNLOAD_URL=https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1804-4.2.8.tgz
@@ -168,7 +168,7 @@ const mongod = new MongoMemoryServer({
168168
args?: string[], // by default no additional arguments, any additional command line arguments for `mongod` `mongod` (ex. ['--notablescan'])
169169
},
170170
binary: {
171-
version?: string, // by default 'latest'
171+
version?: string, // by default '4.0.14'
172172
downloadDir?: string, // by default node_modules/.cache/mongodb-memory-server/mongodb-binaries
173173
platform?: string, // by default os.platform()
174174
arch?: string, // by default os.arch()

0 commit comments

Comments
 (0)