Skip to content

Commit ce418fa

Browse files
authored
chore(deps): bump driver, bson, oidc-plugin to latest MONGOSH-1916 (#2279)
1 parent c90120f commit ce418fa

File tree

16 files changed

+58
-48
lines changed

16 files changed

+58
-48
lines changed

package-lock.json

+27-27
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,13 @@
107107
"@types/which": "^1.3.2",
108108
"chai": "^4.2.0",
109109
"cross-env": "^6.0.3",
110+
"depcheck": "^1.4.7",
110111
"duplexpair": "^1.0.2",
111112
"find-up": "^5.0.0",
112113
"glob": "^10.3.12",
113114
"husky": "^9.0.11",
114115
"mocha": "^10.2.0",
115-
"mongodb": "^6.10.0",
116+
"mongodb": "^6.11.0",
116117
"mongodb-runner": "^5.7.1",
117118
"node-gyp": "^9.0.0 || ^10.2.0",
118119
"nyc": "^15.1.0",
@@ -130,8 +131,7 @@
130131
"webpack-bundle-analyzer": "^4.7.0",
131132
"webpack-cli": "^4.3.1",
132133
"which": "^2.0.2",
133-
"yaml": "^1.10.0",
134-
"depcheck": "^1.4.7"
134+
"yaml": "^1.10.0"
135135
},
136136
"optionalDependencies": {
137137
"lerna": "^8.1.8"

packages/arg-parser/package.json

+1-1
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.10.0",
49+
"mongodb": "^6.11.0",
5050
"prettier": "^2.8.8"
5151
}
5252
}

packages/browser-repl/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"@babel/plugin-proposal-class-properties": "^7.8.3",
7070
"@babel/preset-react": "^7.18.6",
7171
"@babel/preset-typescript": "^7.18.6",
72-
"mongodb": "^6.10.0",
72+
"mongodb": "^6.11.0",
7373
"@mongodb-js/compass-components": "*",
7474
"@mongodb-js/compass-editor": "*",
7575
"@mongodb-js/eslint-config-mongosh": "^1.0.0",

packages/browser-runtime-core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"@mongodb-js/prettier-config-devtools": "^1.0.1",
4343
"@mongodb-js/tsconfig-mongosh": "^1.0.0",
4444
"@mongosh/types": "0.0.0-dev.0",
45-
"bson": "^6.9.0",
45+
"bson": "^6.10.0",
4646
"depcheck": "^1.4.7",
4747
"eslint": "^7.25.0",
4848
"prettier": "^2.8.8",

packages/cli-repl/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
"yargs-parser": "^20.2.4"
9595
},
9696
"devDependencies": {
97-
"mongodb": "^6.10.0",
97+
"mongodb": "^6.11.0",
9898
"@mongodb-js/eslint-config-mongosh": "^1.0.0",
9999
"@mongodb-js/prettier-config-devtools": "^1.0.1",
100100
"@mongodb-js/sbom-tools": "^0.7.0",

packages/e2e-tests/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@
3939
"@types/chai-as-promised": "^7.1.3",
4040
"@types/node": "^14.14.6",
4141
"@types/rimraf": "^3.0.0",
42-
"bson": "^6.9.0",
42+
"bson": "^6.10.0",
4343
"chai-as-promised": "^7.1.1",
4444
"depcheck": "^1.4.7",
4545
"eslint": "^7.25.0",
4646
"lodash": "^4.17.21",
4747
"moment": "^2.29.1",
48-
"mongodb": "^6.10.0",
48+
"mongodb": "^6.11.0",
4949
"node-fetch": "^3.3.2",
5050
"prettier": "^2.8.8",
5151
"rimraf": "^3.0.2"

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"@mongosh/service-provider-core": "0.0.0-dev.0",
4343
"@mongosh/service-provider-node-driver": "0.0.0-dev.0",
4444
"@mongosh/types": "0.0.0-dev.0",
45-
"bson": "^6.9.0",
45+
"bson": "^6.10.0",
4646
"depcheck": "^1.4.7",
4747
"eslint": "^7.25.0",
4848
"mocha": "^10.2.0",

packages/service-provider-core/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@
4545
"dependencies": {
4646
"@aws-sdk/credential-providers": "^3.525.0",
4747
"@mongosh/errors": "0.0.0-dev.0",
48-
"bson": "^6.9.0",
49-
"mongodb": "^6.10.0",
48+
"bson": "^6.10.0",
49+
"mongodb": "^6.11.0",
5050
"mongodb-build-info": "^1.7.2",
5151
"mongodb-connection-string-url": "^3.0.1"
5252
},

packages/service-provider-node-driver/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@
4848
},
4949
"dependencies": {
5050
"@mongodb-js/devtools-connect": "^3.3.3",
51-
"@mongodb-js/oidc-plugin": "^1.1.2",
51+
"@mongodb-js/oidc-plugin": "^1.1.5",
5252
"@mongosh/errors": "0.0.0-dev.0",
5353
"@mongosh/service-provider-core": "0.0.0-dev.0",
5454
"@mongosh/types": "0.0.0-dev.0",
5555
"aws4": "^1.12.0",
56-
"mongodb": "^6.10.0",
56+
"mongodb": "^6.11.0",
5757
"mongodb-connection-string-url": "^3.0.1",
5858
"socks": "^2.8.3"
5959
},

packages/shell-api/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@
5252
"@mongodb-js/prettier-config-devtools": "^1.0.1",
5353
"@mongodb-js/tsconfig-mongosh": "^1.0.0",
5454
"@mongosh/types": "0.0.0-dev.0",
55-
"bson": "^6.9.0",
55+
"bson": "^6.10.0",
5656
"depcheck": "^1.4.7",
5757
"eslint": "^7.25.0",
58-
"mongodb": "^6.10.0",
58+
"mongodb": "^6.11.0",
5959
"prettier": "^2.8.8",
6060
"semver": "^7.5.3"
6161
}

packages/shell-api/src/mongo.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,11 @@ export default class Mongo extends ShellApiClass {
709709
}
710710
}
711711

712-
const allSessionOptions = ['causalConsistency', 'snapshot'] as const;
712+
const allSessionOptions = [
713+
'causalConsistency',
714+
'snapshot',
715+
'defaultTimeoutMS',
716+
] as const;
713717
function assertAllSessionOptionsUsed(
714718
// eslint-disable-next-line @typescript-eslint/no-unused-vars
715719
_options: (typeof allSessionOptions)[number] | 'defaultTransactionOptions'

packages/shell-api/src/shell-bson.ts

+6
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,10 @@ export default function constructShellBson(
392392
'prototype',
393393
'createFromBase64',
394394
'createFromHexString',
395+
'fromInt8Array',
396+
'fromFloat32Array',
397+
'fromPackedBits',
398+
'fromBits',
395399
'BUFFER_SIZE',
396400
'SUBTYPE_DEFAULT',
397401
'SUBTYPE_FUNCTION',
@@ -402,7 +406,9 @@ export default function constructShellBson(
402406
'SUBTYPE_ENCRYPTED',
403407
'SUBTYPE_COLUMN',
404408
'SUBTYPE_SENSITIVE',
409+
'SUBTYPE_VECTOR',
405410
'SUBTYPE_USER_DEFINED',
411+
'VECTOR_TYPE',
406412
])
407413
),
408414
Double: assignAll(

packages/snippet-manager/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"@mongosh/errors": "0.0.0-dev.0",
4040
"@mongosh/shell-api": "0.0.0-dev.0",
4141
"@mongosh/types": "0.0.0-dev.0",
42-
"bson": "^6.9.0",
42+
"bson": "^6.10.0",
4343
"cross-spawn": "^7.0.5",
4444
"escape-string-regexp": "^4.0.0",
4545
"joi": "^17.4.0",

packages/types/package.json

+1-1
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.10.0",
49+
"mongodb": "^6.11.0",
5050
"prettier": "^2.8.8"
5151
}
5252
}

testing/test-vscode.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ cd "$test_root_dir"
1313
git clone --depth=10 https://github.com/mongodb-js/vscode.git
1414
cd vscode
1515
npm install --force
16-
rm -rf node_modules/@mongosh
17-
(cd node_modules && ln -s "$mongosh_root_dir/packages" @mongosh)
16+
rm -rf node_modules/@mongosh node_modules/mongodb
17+
(cd node_modules && ln -s "$mongosh_root_dir/packages" @mongosh && ln -s "$mongosh_root_dir/node_modules/mongodb" mongodb)
1818
# This test can require a lot of memory so we bump the maximum size.
1919
NODE_OPTIONS=--max-old-space-size=4096 npm test
2020
cd /tmp

0 commit comments

Comments
 (0)