Skip to content

feat(deps): bump oidc-plugin to 2.0.0 MONGOSH-2194 #2500

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Jul 30, 2025
Merged
Show file tree
Hide file tree
Changes from 10 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
1,204 changes: 738 additions & 466 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/arg-parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"mongodb-connection-string-url": "^3.0.1"
},
"devDependencies": {
"@mongodb-js/devtools-connect": "^3.4.1",
"@mongodb-js/devtools-connect": "^3.9.2",
"@mongodb-js/eslint-config-mongosh": "^1.0.0",
"@mongodb-js/prettier-config-devtools": "^1.0.1",
"@mongodb-js/tsconfig-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 @@ -62,7 +62,7 @@
}
},
"dependencies": {
"@mongodb-js/devtools-proxy-support": "^0.4.2",
"@mongodb-js/devtools-proxy-support": "^0.5.1",
"@mongosh/arg-parser": "^3.14.0",
"@mongosh/autocomplete": "^3.18.0",
"@mongosh/editor": "^3.18.0",
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 @@ -29,7 +29,7 @@
"dependencies": {
"@mongosh/cli-repl": "2.5.6",
"@mongosh/service-provider-core": "3.3.5",
"@mongodb-js/oidc-plugin": "^1.1.8",
"@mongodb-js/oidc-plugin": "^2.0.1",
"strip-ansi": "^6.0.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/logging/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"dependencies": {
"@mongodb-js/device-id": "^0.2.1",
"@mongodb-js/devtools-connect": "^3.4.1",
"@mongodb-js/devtools-connect": "^3.9.2",
"@mongosh/errors": "2.4.2",
"@mongosh/history": "2.4.8",
"@mongosh/types": "3.10.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/service-provider-node-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
}
},
"dependencies": {
"@mongodb-js/devtools-connect": "^3.4.1",
"@mongodb-js/oidc-plugin": "^1.1.8",
"@mongodb-js/devtools-connect": "^3.9.2",
"@mongodb-js/oidc-plugin": "^2.0.1",
"@mongosh/errors": "2.4.2",
"@mongosh/service-provider-core": "3.3.5",
"@mongosh/types": "3.10.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,17 @@ export type DropDatabaseResult = {
/**
* Default driver options we always use.
*/
const DEFAULT_DRIVER_OPTIONS: MongoClientOptions = Object.freeze({});
const DEFAULT_DRIVER_OPTIONS: MongoClientOptions = Object.freeze({
// In COMPASS-9455 / https://github.com/mongodb-js/devtools-shared/pull/557,
// we turned on the driver-internal `__skipPingOnConnect` option on by default
// for devtools-connect usage, turning off an extra `ping` rountrip when auth
// options have been provided. In mongosh, we do require this ping check,
// because we only print a warning rather than throwing an exception
// if a follow-up ping fails (e.g. in load-balanced mode). So setting this
// flag to `false` here restores mongosh's existing behavior, and we can
// revisit this in the next major version of mongosh.
__skipPingOnConnect: false,
} as MongoClientOptions);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nbbeeken fyi


/**
* Default driver method options we always use.
Expand Down
2 changes: 1 addition & 1 deletion packages/snippet-manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"unitTestsOnly": true
},
"dependencies": {
"@mongodb-js/devtools-proxy-support": "^0.4.2",
"@mongodb-js/devtools-proxy-support": "^0.5.1",
"@mongosh/errors": "2.4.2",
"@mongosh/shell-api": "^3.18.0",
"@mongosh/types": "3.10.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"unitTestsOnly": true
},
"dependencies": {
"@mongodb-js/devtools-connect": "^3.4.1"
"@mongodb-js/devtools-connect": "^3.9.2"
},
"devDependencies": {
"@mongodb-js/eslint-config-mongosh": "^1.0.0",
Expand Down
Loading