Skip to content

Commit 125d928

Browse files
committed
fix: Require mongodb >=v4.1.1
1 parent 7181bb3 commit 125d928

File tree

2 files changed

+36
-23
lines changed

2 files changed

+36
-23
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"jsdoc-api": "7.0.1",
7575
"jsdoc-parse": "6.0.0",
7676
"lint-staged": "11.1.0",
77-
"mongodb": "4.0.0",
77+
"mongodb": "4.1.1",
7878
"mongodb-memory-server-global-4.4": "7.3.0",
7979
"mongoose": "5.12.12",
8080
"prettier": "2.3.0",
@@ -84,7 +84,7 @@
8484
"typescript": "4.3.2"
8585
},
8686
"peerDependencies": {
87-
"mongodb": "4.x"
87+
"mongodb": ">=4.1.1"
8888
},
8989
"commitlint": {
9090
"extends": [
@@ -118,4 +118,4 @@
118118
"node": "14.16.0",
119119
"yarn": "1.22.10"
120120
}
121-
}
121+
}

yarn.lock

Lines changed: 33 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1521,6 +1521,19 @@
15211521
resolved "https://registry.yarnpkg.com/@types/tmp/-/tmp-0.2.0.tgz#e3f52b4d7397eaa9193592ef3fdd44dc0af4298c"
15221522
integrity sha512-flgpHJjntpBAdJD43ShRosQvNC0ME97DCfGvZEDlAThQmnerRXrLbX6YgzRBQCZTthET9eAWFAMaYP0m0Y4HzQ==
15231523

1524+
"@types/webidl-conversions@*":
1525+
version "6.1.1"
1526+
resolved "https://registry.yarnpkg.com/@types/webidl-conversions/-/webidl-conversions-6.1.1.tgz#e33bc8ea812a01f63f90481c666334844b12a09e"
1527+
integrity sha512-XAahCdThVuCFDQLT7R7Pk/vqeObFNL3YqRyFZg+AqAP/W1/w3xHaIxuW7WszQqTbIBOPRcItYJIou3i/mppu3Q==
1528+
1529+
"@types/whatwg-url@^8.2.1":
1530+
version "8.2.1"
1531+
resolved "https://registry.yarnpkg.com/@types/whatwg-url/-/whatwg-url-8.2.1.tgz#f1aac222dab7c59e011663a0cb0a3117b2ef05d4"
1532+
integrity sha512-2YubE1sjj5ifxievI5Ge1sckb9k/Er66HyR2c+3+I6VDUUg1TLPdYYTEbQ+DjRkS4nTxMJhgWfSfMRD2sl2EYQ==
1533+
dependencies:
1534+
"@types/node" "*"
1535+
"@types/webidl-conversions" "*"
1536+
15241537
"@types/yargs-parser@*":
15251538
version "20.2.0"
15261539
resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-20.2.0.tgz#dd3e6699ba3237f0348cd085e4698780204842f9"
@@ -2054,10 +2067,10 @@ bson@^1.1.4:
20542067
resolved "https://registry.yarnpkg.com/bson/-/bson-1.1.6.tgz#fb819be9a60cd677e0853aee4ca712a785d6618a"
20552068
integrity sha512-EvVNVeGo4tHxwi8L6bPj3y3itEvStdwvvlojVxxbyYfoaxJ6keLgrTuKdyfEAszFK+H3olzBuafE0yoh0D1gdg==
20562069

2057-
bson@^4.4.0:
2058-
version "4.4.1"
2059-
resolved "https://registry.yarnpkg.com/bson/-/bson-4.4.1.tgz#682c3cb8b90b222414ce14ef8398154ba2cc21bc"
2060-
integrity sha512-Uu4OCZa0jouQJCKOk1EmmyqtdWAP5HVLru4lQxTwzJzxT+sJ13lVpEZU/MATDxtHiekWMAL84oQY3Xn1LpJVSg==
2070+
bson@^4.5.1:
2071+
version "4.5.1"
2072+
resolved "https://registry.yarnpkg.com/bson/-/bson-4.5.1.tgz#02e9d649ce017ab14ed258737756c11809963d6c"
2073+
integrity sha512-XqFP74pbTVLyLy5KFxVfTUyRrC1mgOlmu/iXHfXqfCKT59jyP9lwbotGfbN59cHBRbJSamZNkrSopjv+N0SqAA==
20612074
dependencies:
20622075
buffer "^5.6.0"
20632076

@@ -5235,12 +5248,13 @@ modify-values@^1.0.0:
52355248
resolved "https://registry.yarnpkg.com/modify-values/-/modify-values-1.0.1.tgz#b3939fa605546474e3e3e3c63d64bd43b4ee6022"
52365249
integrity sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw==
52375250

5238-
mongodb-connection-string-url@^1.0.0:
5239-
version "1.0.1"
5240-
resolved "https://registry.yarnpkg.com/mongodb-connection-string-url/-/mongodb-connection-string-url-1.0.1.tgz#1509b44570851f5331f9ca7052b723789d63f8dc"
5241-
integrity sha512-sXi8w9nwbMrErWbOK+8nofHz531rboasDbYAMS+sQ+W+2YnHN980RlMr+t5SDL6uKEU/kw/wG6jcjCTLiJltoA==
5251+
mongodb-connection-string-url@^2.0.0:
5252+
version "2.0.0"
5253+
resolved "https://registry.yarnpkg.com/mongodb-connection-string-url/-/mongodb-connection-string-url-2.0.0.tgz#72cea65084ffa45655670070efb57bb0a5da46bc"
5254+
integrity sha512-M0I1vyLoq5+HQTuPSJWbt+hIXsMCfE8sS1fS5mvP9R2DOMoi2ZD32yWqgBIITyu0dFu4qtS50erxKjvUeBiyog==
52425255
dependencies:
5243-
whatwg-url "^8.4.0"
5256+
"@types/whatwg-url" "^8.2.1"
5257+
whatwg-url "^9.1.0"
52445258

52455259
52465260
version "7.3.0"
@@ -5286,14 +5300,14 @@ [email protected]:
52865300
optionalDependencies:
52875301
saslprep "^1.0.0"
52885302

5289-
mongodb@4.0.0:
5290-
version "4.0.0"
5291-
resolved "https://registry.yarnpkg.com/mongodb/-/mongodb-4.0.0.tgz#e97b1a98be44cac2e1832b35c21dbef695c0bab3"
5292-
integrity sha512-ZsqdUyeSeuP2rfWvHpihvQ3MRDXuzsKHmhr1/vtM37JWj6M4yZvIXYFp8OJ85dYI6FvB9KQ1x0Cy6DQinrjUwA==
5303+
mongodb@4.1.1:
5304+
version "4.1.1"
5305+
resolved "https://registry.yarnpkg.com/mongodb/-/mongodb-4.1.1.tgz#d328e832675e7351f58b642f833126dc89ac2e66"
5306+
integrity sha512-fbACrWEyvr6yl0sSiCGV0sqEiBwTtDJ8iSojmkDjAfw9JnOZSAkUyv9seFSPYhPPKwxp1PDtyjvBNfMDz0WBLQ==
52935307
dependencies:
5294-
bson "^4.4.0"
5308+
bson "^4.5.1"
52955309
denque "^1.5.0"
5296-
mongodb-connection-string-url "^1.0.0"
5310+
mongodb-connection-string-url "^2.0.0"
52975311
optionalDependencies:
52985312
saslprep "^1.0.0"
52995313

@@ -7250,12 +7264,11 @@ whatwg-url@^8.0.0, whatwg-url@^8.5.0:
72507264
tr46 "^2.0.2"
72517265
webidl-conversions "^6.1.0"
72527266

7253-
whatwg-url@^8.4.0:
7254-
version "8.7.0"
7255-
resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-8.7.0.tgz#656a78e510ff8f3937bc0bcbe9f5c0ac35941b77"
7256-
integrity sha512-gAojqb/m9Q8a5IV96E3fHJM70AzCkgt4uXYX2O7EmuyOnLrViCQlsEBmF9UQIu3/aeAIp2U17rtbpZWNntQqdg==
7267+
whatwg-url@^9.1.0:
7268+
version "9.1.0"
7269+
resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-9.1.0.tgz#1b112cf237d72cd64fa7882b9c3f6234a1c3050d"
7270+
integrity sha512-CQ0UcrPHyomtlOCot1TL77WyMIm/bCwrJ2D6AOKGwEczU9EpyoqAokfqrf/MioU9kHcMsmJZcg1egXix2KYEsA==
72577271
dependencies:
7258-
lodash "^4.7.0"
72597272
tr46 "^2.1.0"
72607273
webidl-conversions "^6.1.0"
72617274

0 commit comments

Comments
 (0)