Skip to content

Commit 5b8459c

Browse files
committed
chore: update dependencies
1 parent a7a19ea commit 5b8459c

File tree

4 files changed

+1557
-1240
lines changed

4 files changed

+1557
-1240
lines changed

package.json

Lines changed: 12 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -5,51 +5,22 @@
55
"description": "In-memory MongoDB Server. Designed with testing in mind, the server will allow you to connect your favourite ODM or client library to the MongoDB Server and run integration tests isolated from each other.",
66
"repository": "https://github.com/nodkz/mongodb-memory-server",
77
"devDependencies": {
8-
"@types/cross-spawn": "^6.0.0",
9-
"@types/decompress": "^4.2.3",
10-
"@types/dedent": "^0.7.0",
11-
"@types/find-cache-dir": "^2.0.0",
12-
"@types/find-package-json": "^1.1.0",
13-
"@types/get-port": "^4.0.1",
14-
"@types/getos": "^3.0.0",
15-
"@types/jest": "^24.0.13",
16-
"@types/lockfile": "^1.0.1",
17-
"@types/md5-file": "^4.0.0",
18-
"@types/mkdirp": "^0.5.2",
19-
"@types/mongodb": "^3.3.3",
20-
"@types/node": "^12.0.5",
21-
"@types/tmp": "0.1.0",
22-
"@types/uuid": "^3.4.4",
8+
"@types/jest": "^24.0.19",
9+
"@types/mongodb": "^3.3.6",
10+
"@types/node": "^12.11.2",
2311
"@typescript-eslint/eslint-plugin": "^1.9.0",
24-
"cross-env": "^5.2.0",
12+
"cross-env": "^6.0.3",
2513
"eslint": "^5.15.1",
2614
"eslint-config-prettier": "^4.3.0",
2715
"eslint-plugin-prettier": "^3.1.0",
28-
"flowgen": "^1.8.3",
29-
"jest": "^24.8.0",
30-
"lerna": "^3.14.1",
31-
"mongodb": ">=3.2.7",
16+
"flowgen": "^1.10.0",
17+
"jest": "^24.9.0",
18+
"lerna": "^3.18.2",
19+
"mongodb": "^3.2.7",
3220
"npm-run-all": "^4.1.5",
33-
"prettier": "^1.17.1",
34-
"rimraf": "^2.6.3",
35-
"ts-jest": "^24.0.0",
36-
"typescript": "^3.5.1"
37-
},
38-
"dependencies": {
39-
"camelcase": "^5.3.1",
40-
"debug": "^4.1.1",
41-
"decompress": "^4.2.0",
42-
"dedent": "^0.7.0",
43-
"find-cache-dir": "^3.0.0",
44-
"find-package-json": "^1.2.0",
45-
"get-port": "^5.0.0",
46-
"getos": "^3.1.1",
47-
"https-proxy-agent": "^3.0.0",
48-
"lockfile": "^1.0.4",
49-
"md5-file": "^4.0.0",
50-
"mkdirp": "^0.5.1",
51-
"tmp": "^0.1.0",
52-
"uuid": "^3.2.1"
21+
"prettier": "^1.18.2",
22+
"ts-jest": "^24.1.0",
23+
"typescript": "^3.6.4"
5324
},
5425
"workspaces": {
5526
"packages": [
@@ -59,7 +30,7 @@
5930
"scripts": {
6031
"test": "lerna run test --stream",
6132
"lint": "lerna run lint --stream",
62-
"watch": "yarn test --watchAll",
33+
"watch": "jest --watch",
6334
"build": "tsc --build tsconfig.build.json",
6435
"release": "yarn build && lerna publish",
6536
"postinstall": "yarn build"

packages/mongodb-memory-server-core/package.json

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,21 @@
2727
"url": "https://github.com/nodkz/mongodb-memory-server/issues"
2828
},
2929
"homepage": "https://github.com/nodkz/mongodb-memory-server",
30+
"devDependencies": {
31+
"@types/cross-spawn": "^6.0.1",
32+
"@types/decompress": "^4.2.3",
33+
"@types/dedent": "^0.7.0",
34+
"@types/find-cache-dir": "^2.0.0",
35+
"@types/find-package-json": "^1.1.0",
36+
"@types/get-port": "^4.0.1",
37+
"@types/getos": "^3.0.0",
38+
"@types/lockfile": "^1.0.1",
39+
"@types/md5-file": "^4.0.0",
40+
"@types/mkdirp": "^0.5.2",
41+
"@types/tmp": "0.1.0",
42+
"@types/uuid": "^3.4.5",
43+
"rimraf": "^3.0.0"
44+
},
3045
"dependencies": {
3146
"camelcase": "^5.3.1",
3247
"cross-spawn": "^6.0.5",
@@ -37,15 +52,15 @@
3752
"find-package-json": "^1.2.0",
3853
"get-port": "^5.0.0",
3954
"getos": "^3.1.1",
40-
"https-proxy-agent": "^2.2.1",
55+
"https-proxy-agent": "^2.2.3",
4156
"lockfile": "^1.0.4",
4257
"md5-file": "^4.0.0",
4358
"mkdirp": "^0.5.1",
4459
"tmp": "^0.1.0",
45-
"uuid": "^3.2.1"
60+
"uuid": "^3.3.3"
4661
},
4762
"optionalDependencies": {
48-
"mongodb": ">=3.2.7"
63+
"mongodb": "^3.2.7"
4964
},
5065
"scripts": {
5166
"build": "npm-run-all build:*",

packages/mongodb-memory-server-core/src/util/MongoBinaryDownload.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,7 @@ export default class MongoBinaryDownload {
223223
this._downloadingUrl || `https://${httpOptions.hostname}/${httpOptions.path}`;
224224
reject(
225225
new Error(
226-
`Too small (${
227-
this.dlProgress.current
228-
} bytes) mongod binary downloaded from ${downloadUrl}`
226+
`Too small (${this.dlProgress.current} bytes) mongod binary downloaded from ${downloadUrl}`
229227
)
230228
);
231229
return;

0 commit comments

Comments
 (0)