Skip to content

Commit 6e24ea8

Browse files
mabaasitaddaleax
andauthored
chore(deps): bump driver and oidc (#2019)
* bump driver * bootstrap * oidc update * fix test * bump oidc * fixup: oidc-plugin 1.0.2 --------- Co-authored-by: Anna Henningsen <[email protected]>
1 parent a9428d6 commit 6e24ea8

File tree

12 files changed

+231
-99
lines changed

12 files changed

+231
-99
lines changed

package-lock.json

Lines changed: 211 additions & 82 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
@@ -109,7 +109,7 @@
109109
"glob": "^10.3.12",
110110
"husky": "^8.0.3",
111111
"mocha": "^10.2.0",
112-
"mongodb": "^6.6.2",
112+
"mongodb": "^6.7.0",
113113
"mongodb-runner": "^5.6.1",
114114
"node-gyp": "^9.0.0",
115115
"nyc": "^15.1.0",

packages/arg-parser/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@
4040
"mongodb-connection-string-url": "^3.0.1"
4141
},
4242
"devDependencies": {
43-
"@mongodb-js/devtools-connect": "^2.6.3",
43+
"@mongodb-js/devtools-connect": "^3.0.1",
4444
"@mongodb-js/eslint-config-mongosh": "^1.0.0",
4545
"@mongodb-js/prettier-config-devtools": "^1.0.1",
4646
"@mongodb-js/tsconfig-mongosh": "^1.0.0",
4747
"depcheck": "^1.4.3",
4848
"eslint": "^7.25.0",
49-
"mongodb": "^6.6.2",
49+
"mongodb": "^6.7.0",
5050
"prettier": "^2.8.8"
5151
}
5252
}

packages/browser-repl/package.json

Lines changed: 1 addition & 1 deletion
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.6.2",
72+
"mongodb": "^6.7.0",
7373
"@mongodb-js/compass-components": "*",
7474
"@mongodb-js/compass-editor": "*",
7575
"@mongodb-js/eslint-config-mongosh": "^1.0.0",

packages/cli-repl/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
"yargs-parser": "^20.2.4"
9595
},
9696
"devDependencies": {
97-
"mongodb": "^6.6.2",
97+
"mongodb": "^6.7.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.5.2",

packages/e2e-tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"eslint": "^7.25.0",
4545
"lodash": "^4.17.21",
4646
"moment": "^2.29.1",
47-
"mongodb": "^6.6.2",
47+
"mongodb": "^6.7.0",
4848
"node-fetch": "^3.3.2",
4949
"prettier": "^2.8.8",
5050
"rimraf": "^3.0.2"

packages/e2e-tests/test/e2e-oidc.spec.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,13 +230,16 @@ describe('OIDC auth e2e', function () {
230230
const originalGetPayload = getTokenPayload;
231231
getTokenPayload = async (metadata) => {
232232
return {
233-
expires_in: 10,
233+
expires_in: 2, // seconds
234234
payload: (await originalGetPayload(metadata)).payload,
235235
};
236236
};
237237
shell = TestShell.start({
238238
args: [
239-
await testServer.connectionString(),
239+
await testServer.connectionString({
240+
maxIdleTimeMS: '1',
241+
minPoolSize: '0',
242+
}),
240243
'--authenticationMechanism=MONGODB-OIDC',
241244
'--oidcRedirectUri=http://localhost:0/',
242245
`--browser=${fetchBrowserFixture}`,
@@ -245,7 +248,7 @@ describe('OIDC auth e2e', function () {
245248
await shell.waitForPrompt();
246249

247250
await shell.executeLine('db.adminCommand({ping: 1})');
248-
await shell.executeLine('sleep(1000)');
251+
await shell.executeLine('sleep(4000)');
249252
await shell.executeLine('db.adminCommand({ping: 1})');
250253
shell.assertNoErrors();
251254
expect(tokenFetches).to.be.greaterThan(1);

packages/logging/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"node": ">=14.15.1"
1818
},
1919
"dependencies": {
20-
"@mongodb-js/devtools-connect": "^2.6.3",
20+
"@mongodb-js/devtools-connect": "^3.0.1",
2121
"@mongosh/errors": "0.0.0-dev.0",
2222
"@mongosh/history": "0.0.0-dev.0",
2323
"@mongosh/types": "0.0.0-dev.0",

packages/service-provider-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"@aws-sdk/credential-providers": "^3.525.0",
4747
"@mongosh/errors": "0.0.0-dev.0",
4848
"bson": "^6.7.0",
49-
"mongodb": "^6.6.2",
49+
"mongodb": "^6.7.0",
5050
"mongodb-build-info": "^1.7.2"
5151
},
5252
"optionalDependencies": {

packages/service-provider-server/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@
4747
}
4848
},
4949
"dependencies": {
50-
"@mongodb-js/devtools-connect": "^2.6.3",
51-
"@mongodb-js/oidc-plugin": "^0.4.0",
50+
"@mongodb-js/devtools-connect": "^3.0.1",
51+
"@mongodb-js/oidc-plugin": "^1.0.2",
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.6.2",
56+
"mongodb": "^6.7.0",
5757
"mongodb-connection-string-url": "^3.0.1",
5858
"socks": "^2.8.3"
5959
},

0 commit comments

Comments
 (0)