Skip to content

Commit

Permalink
fix(Dependencies): update mongodb version
Browse files Browse the repository at this point in the history
- update mongodb version to 3.6.2 to fix "bl" security issue
- update tar-stream to 2.1.4

fixes #349
  • Loading branch information
hasezoey committed Sep 11, 2020
1 parent c9061e3 commit fe53081
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@semantic-release/release-notes-generator": "^9.0.1",
"@types/jest": "26.0.13",
"@types/mongodb": "3.5.27",
"@types/node": "14.6.4",
"@types/node": "14.10.0",
"@typescript-eslint/eslint-plugin": "4.1.0",
"@typescript-eslint/parser": "4.1.0",
"commitlint": "^9.1.2",
Expand All @@ -29,7 +29,7 @@
"jest": "26.4.2",
"lerna": "^3.22.1",
"lint-staged": "^10.3.0",
"mongodb": "3.6.1",
"mongodb": "3.6.2",
"prettier": "2.1.1",
"semantic-release": "^17.1.1",
"ts-jest": "26.3.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/mongodb-memory-server-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@
"md5-file": "^5.0.0",
"mkdirp": "^1.0.4",
"semver": "^7.3.2",
"tar-stream": "^2.1.3",
"tar-stream": "^2.1.4",
"tmp": "^0.2.1",
"uuid": "8.3.0",
"yauzl": "^2.10.0"
},
"optionalDependencies": {
"mongodb": "3.6.1"
"mongodb": "3.6.2"
},
"scripts": {
"clean": "rimraf tmp lib coverage node_modules/.cache",
Expand Down
35 changes: 32 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1899,11 +1899,16 @@
"@types/bson" "*"
"@types/node" "*"

"@types/node@*", "@types/node@14.6.4", "@types/node@>= 8":
"@types/node@*", "@types/node@>= 8":
version "14.6.4"
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.6.4.tgz#a145cc0bb14ef9c4777361b7bbafa5cf8e3acb5a"
integrity sha512-Wk7nG1JSaMfMpoMJDKUsWYugliB2Vy55pdjLpmLixeyMi7HizW2I/9QoxsPCkXl3dO+ZOVqPumKaDUv5zJu2uQ==

"@types/node@14.10.0":
version "14.10.0"
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.10.0.tgz#15815dff82c8dc30827f6b1286f865902945095a"
integrity sha512-SOIyrdADB4cq6eY1F+9iU48iIomFAPltu11LCvA9PKcyEwHadjCFzNVPotAR+oEJA0bCP4Xvvgy+vwu1ZjVh8g==

"@types/normalize-package-data@^2.4.0":
version "2.4.0"
resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e"
Expand Down Expand Up @@ -2499,15 +2504,15 @@ bin-links@^1.1.2, bin-links@^1.1.8:
npm-normalize-package-bin "^1.0.0"
write-file-atomic "^2.3.0"

bl@^2.2.0:
bl@^2.2.0, bl@^2.2.1:
version "2.2.1"
resolved "https://registry.yarnpkg.com/bl/-/bl-2.2.1.tgz#8c11a7b730655c5d56898cdc871224f40fd901d5"
integrity sha512-6Pesp1w0DEX1N550i/uGV/TqucVL4AM/pgThFSN/Qq9si1/DF9aIHs1BxD8V/QU0HoeHO6cQRTAuYnLPKq1e4g==
dependencies:
readable-stream "^2.3.5"
safe-buffer "^5.1.1"

bl@^4.0.1:
bl@^4.0.1, bl@^4.0.3:
version "4.0.3"
resolved "https://registry.yarnpkg.com/bl/-/bl-4.0.3.tgz#12d6287adc29080e22a705e5764b2a9522cdc489"
integrity sha512-fs4G6/Hu4/EE+F75J8DuN/0IpQqNjAdC7aEQv7Qt8MHGUH7Ckv2MwTEEeN9QehD0pfIDkMI1bkHYkKy7xHyKIg==
Expand Down Expand Up @@ -6980,6 +6985,19 @@ mongodb@3.6.1:
optionalDependencies:
saslprep "^1.0.0"

mongodb@3.6.2:
version "3.6.2"
resolved "https://registry.yarnpkg.com/mongodb/-/mongodb-3.6.2.tgz#1154a4ac107bf1375112d83a29c5cf97704e96b6"
integrity sha512-sSZOb04w3HcnrrXC82NEh/YGCmBuRgR+C1hZgmmv4L6dBz4BkRse6Y8/q/neXer9i95fKUBbFi4KgeceXmbsOA==
dependencies:
bl "^2.2.1"
bson "^1.1.4"
denque "^1.4.1"
require_optional "^1.0.1"
safe-buffer "^5.1.2"
optionalDependencies:
saslprep "^1.0.0"

move-concurrently@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/move-concurrently/-/move-concurrently-1.0.1.tgz#be2c005fda32e0b29af1f05d7c4b33214c701f92"
Expand Down Expand Up @@ -9474,6 +9492,17 @@ tar-stream@^2.1.3:
inherits "^2.0.3"
readable-stream "^3.1.1"

tar-stream@^2.1.4:
version "2.1.4"
resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-2.1.4.tgz#c4fb1a11eb0da29b893a5b25476397ba2d053bfa"
integrity sha512-o3pS2zlG4gxr67GmFYBLlq+dM8gyRGUOvsrHclSkvtVtQbjV0s/+ZE8OpICbaj8clrX3tjeHngYGP7rweaBnuw==
dependencies:
bl "^4.0.3"
end-of-stream "^1.4.1"
fs-constants "^1.0.0"
inherits "^2.0.3"
readable-stream "^3.1.1"

tar@^4.4.10, tar@^4.4.12, tar@^4.4.13, tar@^4.4.8:
version "4.4.13"
resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.13.tgz#43b364bc52888d555298637b10d60790254ab525"
Expand Down

0 comments on commit fe53081

Please sign in to comment.