Skip to content

Commit 101c06c

Browse files
committed
chore: Naively upgrade the driver to 7.0.0 to detect errors
We are upgrading the driver to 7.0.0 to detect all compilation errors. We will be fixing each compilatio error in it's specific commit.
1 parent 06cca65 commit 101c06c

File tree

16 files changed

+522
-2098
lines changed

16 files changed

+522
-2098
lines changed

package-lock.json

Lines changed: 501 additions & 2077 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
"glob": "^10.3.12",
117117
"husky": "^9.0.11",
118118
"mocha": "^10.2.0",
119-
"mongodb": "^6.19.0",
119+
"mongodb": "^7.0.0",
120120
"mongodb-runner": "^6.0.0",
121121
"node-gyp": "^11.5.0",
122122
"nyc": "^15.1.0",

packages/arg-parser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"@mongodb-js/tsconfig-mongosh": "^1.0.0",
4747
"depcheck": "^1.4.7",
4848
"eslint": "^7.25.0",
49-
"mongodb": "^6.19.0",
49+
"mongodb": "^7.0.0",
5050
"prettier": "^2.8.8"
5151
}
5252
}

packages/browser-repl/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"@mongosh/node-runtime-worker-thread": "3.3.30",
6565
"@mongosh/service-provider-core": "3.6.3",
6666
"@mongosh/shell-bson": "1.0.4",
67-
"bson": "^6.10.4",
67+
"bson": "^7.0.0",
6868
"numeral": "^2.0.6",
6969
"text-table": "^0.2.0"
7070
},
@@ -73,7 +73,7 @@
7373
"@babel/plugin-proposal-class-properties": "^7.18.6",
7474
"@babel/preset-react": "^7.26.3",
7575
"@babel/preset-typescript": "^7.27.0",
76-
"mongodb": "^6.19.0",
76+
"mongodb": "^7.0.0",
7777
"@mongodb-js/compass-components": "*",
7878
"@mongodb-js/compass-editor": "*",
7979
"@mongodb-js/eslint-config-mongosh": "^1.0.0",

packages/browser-runtime-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"@mongodb-js/tsconfig-mongosh": "^1.0.0",
4444
"@mongodb-js/mongodb-ts-autocomplete": "^0.4.7",
4545
"@mongosh/types": "^3.14.0",
46-
"bson": "^6.10.4",
46+
"bson": "^7.0.0",
4747
"depcheck": "^1.4.7",
4848
"eslint": "^7.25.0",
4949
"prettier": "^2.8.8",

packages/browser-runtime-electron/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"@mongosh/service-provider-node-driver": "^3.17.5",
4545
"@types/sinon": "^7.5.1",
4646
"@types/sinon-chai": "^3.2.4",
47-
"bson": "^6.10.4",
47+
"bson": "^7.0.0",
4848
"depcheck": "^1.4.7",
4949
"eslint": "^7.25.0",
5050
"prettier": "^2.8.8",

packages/cli-repl/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
"ansi-escape-sequences": "^5.1.2",
8282
"askcharacter": "^2.0.4",
8383
"askpassword": "^2.0.2",
84-
"bson": "^6.10.4",
84+
"bson": "^7.0.0",
8585
"escape-string-regexp": "^4.0.0",
8686
"is-recoverable-error": "^1.0.3",
8787
"js-yaml": "^4.1.0",
@@ -111,7 +111,7 @@
111111
"chai-as-promised": "^7.1.1",
112112
"depcheck": "^1.4.7",
113113
"eslint": "^7.25.0",
114-
"mongodb": "^6.19.0",
114+
"mongodb": "^7.0.0",
115115
"mongodb-crypt-library-dummy": "^1.0.2",
116116
"prettier": "^2.8.8",
117117
"webpack-merge": "^5.8.0"

packages/e2e-tests/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@
4141
"@types/chai-as-promised": "^7.1.3",
4242
"@types/node": "^22.15.30",
4343
"@types/rimraf": "^3.0.0",
44-
"bson": "^6.10.4",
44+
"bson": "^7.0.0",
4545
"chai-as-promised": "^7.1.1",
4646
"depcheck": "^1.4.7",
4747
"eslint": "^7.25.0",
4848
"lodash": "^4.17.21",
4949
"moment": "^2.29.1",
50-
"mongodb": "^6.19.0",
50+
"mongodb": "^7.0.0",
5151
"node-fetch": "^3.3.2",
5252
"prettier": "^2.8.8",
5353
"rimraf": "^3.0.2"

packages/editor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"@mongosh/shell-api": "^3.26.2",
4040
"@mongosh/shell-evaluator": "^3.26.2",
4141
"@mongosh/types": "^3.14.0",
42-
"bson": "^6.10.4",
42+
"bson": "^7.0.0",
4343
"js-beautify": "^1.15.1"
4444
},
4545
"devDependencies": {

packages/node-runtime-worker-thread/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"@mongosh/service-provider-core": "3.6.3",
4646
"@mongosh/service-provider-node-driver": "^3.17.5",
4747
"@mongosh/types": "^3.14.0",
48-
"bson": "^6.10.4",
48+
"bson": "^7.0.0",
4949
"depcheck": "^1.4.7",
5050
"eslint": "^7.25.0",
5151
"mocha": "^10.2.0",

0 commit comments

Comments
 (0)