Skip to content

Commit 024ca4b

Browse files
committed
chore: update dependencies (remove deps from core package which already present in root)
1 parent ed78b89 commit 024ca4b

File tree

5 files changed

+353
-373
lines changed

5 files changed

+353
-373
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
flow-typed/*
22
lib/*
3+
.eslintrc.js

package.json

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,32 +5,32 @@
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-
"@commitlint/cli": "^9.1.2",
9-
"@commitlint/config-conventional": "^9.1.2",
8+
"@commitlint/cli": "11.0.0",
9+
"@commitlint/config-conventional": "11.0.0",
1010
"@google/semantic-release-replace-plugin": "^1.0.0",
1111
"@semantic-release/changelog": "^5.0.1",
1212
"@semantic-release/commit-analyzer": "^8.0.1",
1313
"@semantic-release/git": "^9.0.0",
1414
"@semantic-release/github": "^7.1.1",
1515
"@semantic-release/npm": "^7.0.6",
1616
"@semantic-release/release-notes-generator": "^9.0.1",
17-
"@types/jest": "26.0.13",
17+
"@types/jest": "26.0.14",
1818
"@types/mongodb": "3.5.27",
19-
"@types/node": "14.10.0",
20-
"@typescript-eslint/eslint-plugin": "4.1.0",
21-
"@typescript-eslint/parser": "4.1.0",
22-
"commitlint": "^9.1.2",
19+
"@types/node": "14.10.2",
20+
"@typescript-eslint/eslint-plugin": "4.1.1",
21+
"@typescript-eslint/parser": "4.1.1",
22+
"commitlint": "11.0.0",
2323
"cross-env": "^7.0.2",
2424
"doctoc": "^1.4.0",
25-
"eslint": "7.8.1",
25+
"eslint": "7.9.0",
2626
"eslint-config-prettier": "6.11.0",
2727
"eslint-plugin-prettier": "3.1.4",
2828
"husky": "^4.3.0",
2929
"jest": "26.4.2",
3030
"lerna": "^3.22.1",
31-
"lint-staged": "^10.3.0",
31+
"lint-staged": "10.4.0",
3232
"mongodb": "3.6.2",
33-
"prettier": "2.1.1",
33+
"prettier": "2.1.2",
3434
"semantic-release": "^17.1.1",
3535
"ts-jest": "26.3.0",
3636
"typescript": "4.0.2"
@@ -59,6 +59,7 @@
5959
"scripts": {
6060
"test": "lerna run test --stream",
6161
"lint": "lerna run lint --stream --npm-client=yarn --no-prefix",
62+
"eslint": "eslint 'packages/mongodb-memory-server-core/src/**/*.{js,ts}'",
6263
"watch": "jest --env node --watch",
6364
"jest": "jest --env node",
6465
"build": "tsc --build tsconfig.build.json",

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

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -36,27 +36,15 @@
3636
"@types/dedent": "^0.7.0",
3737
"@types/find-cache-dir": "^3.2.0",
3838
"@types/find-package-json": "^1.1.1",
39-
"@types/jest": "26.0.13",
4039
"@types/lockfile": "^1.0.1",
4140
"@types/md5-file": "^4.0.2",
4241
"@types/mkdirp": "^1.0.1",
4342
"@types/mongodb": "3.5.27",
44-
"@types/semver": "^7.3.3",
43+
"@types/semver": "7.3.4",
4544
"@types/tar-stream": "^2.1.0",
4645
"@types/uuid": "^8.0.0",
4746
"@types/yauzl": "^2.9.1",
48-
"@typescript-eslint/eslint-plugin": "4.1.0",
49-
"@typescript-eslint/parser": "4.1.0",
50-
"cross-env": "^7.0.2",
51-
"eslint": "7.8.1",
52-
"eslint-config-prettier": "6.11.0",
53-
"flowgen": "^1.10.0",
54-
"jest": "26.4.2",
55-
"lerna": "3.22.1",
56-
"mongodb": "3.5.4",
57-
"rimraf": "^3.0.2",
58-
"ts-jest": "26.3.0",
59-
"typescript": "4.0.2"
47+
"mongodb": "3.5.4"
6048
},
6149
"dependencies": {
6250
"@types/tmp": "^0.2.0",

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default class MongoBinary {
4343
try {
4444
await promisify(fs.access)(systemBinary);
4545

46-
log(`MongoBinary: found sytem binary path at "${systemBinary}"`);
46+
log(`MongoBinary: found system binary path at "${systemBinary}"`);
4747
binaryPath = systemBinary;
4848
} catch (err) {
4949
log(`MongoBinary: can't find system binary at "${systemBinary}".\n${err.message}`);
@@ -110,7 +110,7 @@ export default class MongoBinary {
110110
? `MongoBinary: Error when removing download lock ${err}`
111111
: `MongoBinary: Download lock removed`
112112
);
113-
res(); // we dont care if it was successful or not
113+
res(); // we don't care if it was successful or not
114114
});
115115
});
116116
return this.getCachePath(version);

0 commit comments

Comments
 (0)