Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
293 changes: 211 additions & 82 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
"glob": "^10.3.12",
"husky": "^8.0.3",
"mocha": "^10.2.0",
"mongodb": "^6.6.2",
"mongodb": "^6.7.0",
"mongodb-runner": "^5.6.1",
"node-gyp": "^9.0.0",
"nyc": "^15.1.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/arg-parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@
"mongodb-connection-string-url": "^3.0.1"
},
"devDependencies": {
"@mongodb-js/devtools-connect": "^2.6.3",
"@mongodb-js/devtools-connect": "^3.0.1",
"@mongodb-js/eslint-config-mongosh": "^1.0.0",
"@mongodb-js/prettier-config-devtools": "^1.0.1",
"@mongodb-js/tsconfig-mongosh": "^1.0.0",
"depcheck": "^1.4.3",
"eslint": "^7.25.0",
"mongodb": "^6.6.2",
"mongodb": "^6.7.0",
"prettier": "^2.8.8"
}
}
2 changes: 1 addition & 1 deletion packages/browser-repl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"mongodb": "^6.6.2",
"mongodb": "^6.7.0",
"@mongodb-js/compass-components": "*",
"@mongodb-js/compass-editor": "*",
"@mongodb-js/eslint-config-mongosh": "^1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli-repl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"yargs-parser": "^20.2.4"
},
"devDependencies": {
"mongodb": "^6.6.2",
"mongodb": "^6.7.0",
"@mongodb-js/eslint-config-mongosh": "^1.0.0",
"@mongodb-js/prettier-config-devtools": "^1.0.1",
"@mongodb-js/sbom-tools": "^0.5.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"eslint": "^7.25.0",
"lodash": "^4.17.21",
"moment": "^2.29.1",
"mongodb": "^6.6.2",
"mongodb": "^6.7.0",
"node-fetch": "^3.3.2",
"prettier": "^2.8.8",
"rimraf": "^3.0.2"
Expand Down
9 changes: 6 additions & 3 deletions packages/e2e-tests/test/e2e-oidc.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,13 +230,16 @@ describe('OIDC auth e2e', function () {
const originalGetPayload = getTokenPayload;
getTokenPayload = async (metadata) => {
return {
expires_in: 10,
expires_in: 2, // seconds
payload: (await originalGetPayload(metadata)).payload,
};
};
shell = TestShell.start({
args: [
await testServer.connectionString(),
await testServer.connectionString({
maxIdleTimeMS: '1',
minPoolSize: '0',
}),
'--authenticationMechanism=MONGODB-OIDC',
'--oidcRedirectUri=http://localhost:0/',
`--browser=${fetchBrowserFixture}`,
Expand All @@ -245,7 +248,7 @@ describe('OIDC auth e2e', function () {
await shell.waitForPrompt();

await shell.executeLine('db.adminCommand({ping: 1})');
await shell.executeLine('sleep(1000)');
await shell.executeLine('sleep(4000)');
await shell.executeLine('db.adminCommand({ping: 1})');
shell.assertNoErrors();
expect(tokenFetches).to.be.greaterThan(1);
Expand Down
2 changes: 1 addition & 1 deletion packages/logging/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"node": ">=14.15.1"
},
"dependencies": {
"@mongodb-js/devtools-connect": "^2.6.3",
"@mongodb-js/devtools-connect": "^3.0.1",
"@mongosh/errors": "0.0.0-dev.0",
"@mongosh/history": "0.0.0-dev.0",
"@mongosh/types": "0.0.0-dev.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/service-provider-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@aws-sdk/credential-providers": "^3.525.0",
"@mongosh/errors": "0.0.0-dev.0",
"bson": "^6.7.0",
"mongodb": "^6.6.2",
"mongodb": "^6.7.0",
"mongodb-build-info": "^1.7.2"
},
"optionalDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions packages/service-provider-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@
}
},
"dependencies": {
"@mongodb-js/devtools-connect": "^2.6.3",
"@mongodb-js/oidc-plugin": "^0.4.0",
"@mongodb-js/devtools-connect": "^3.0.1",
"@mongodb-js/oidc-plugin": "^1.0.2",
"@mongosh/errors": "0.0.0-dev.0",
"@mongosh/service-provider-core": "0.0.0-dev.0",
"@mongosh/types": "0.0.0-dev.0",
"aws4": "^1.12.0",
"mongodb": "^6.6.2",
"mongodb": "^6.7.0",
"mongodb-connection-string-url": "^3.0.1",
"socks": "^2.8.3"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/shell-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"bson": "^6.7.0",
"depcheck": "^1.4.3",
"eslint": "^7.25.0",
"mongodb": "^6.6.2",
"mongodb": "^6.7.0",
"prettier": "^2.8.8",
"semver": "^7.5.3"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@
"unitTestsOnly": true
},
"dependencies": {
"@mongodb-js/devtools-connect": "^2.6.3"
"@mongodb-js/devtools-connect": "^3.0.1"
},
"devDependencies": {
"@mongodb-js/eslint-config-mongosh": "^1.0.0",
"@mongodb-js/prettier-config-devtools": "^1.0.1",
"@mongodb-js/tsconfig-mongosh": "^1.0.0",
"depcheck": "^1.4.3",
"eslint": "^7.25.0",
"mongodb": "^6.6.2",
"mongodb": "^6.7.0",
"prettier": "^2.8.8"
}
}