Skip to content

Commit

Permalink
chore(deps): bump driver, bson, oidc-plugin to latest MONGOSH-1916 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
addaleax authored Nov 25, 2024
1 parent c90120f commit ce418fa
Show file tree
Hide file tree
Showing 16 changed files with 58 additions and 48 deletions.
54 changes: 27 additions & 27 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,13 @@
"@types/which": "^1.3.2",
"chai": "^4.2.0",
"cross-env": "^6.0.3",
"depcheck": "^1.4.7",
"duplexpair": "^1.0.2",
"find-up": "^5.0.0",
"glob": "^10.3.12",
"husky": "^9.0.11",
"mocha": "^10.2.0",
"mongodb": "^6.10.0",
"mongodb": "^6.11.0",
"mongodb-runner": "^5.7.1",
"node-gyp": "^9.0.0 || ^10.2.0",
"nyc": "^15.1.0",
Expand All @@ -130,8 +131,7 @@
"webpack-bundle-analyzer": "^4.7.0",
"webpack-cli": "^4.3.1",
"which": "^2.0.2",
"yaml": "^1.10.0",
"depcheck": "^1.4.7"
"yaml": "^1.10.0"
},
"optionalDependencies": {
"lerna": "^8.1.8"
Expand Down
2 changes: 1 addition & 1 deletion packages/arg-parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@mongodb-js/tsconfig-mongosh": "^1.0.0",
"depcheck": "^1.4.7",
"eslint": "^7.25.0",
"mongodb": "^6.10.0",
"mongodb": "^6.11.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.10.0",
"mongodb": "^6.11.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/browser-runtime-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@mongodb-js/prettier-config-devtools": "^1.0.1",
"@mongodb-js/tsconfig-mongosh": "^1.0.0",
"@mongosh/types": "0.0.0-dev.0",
"bson": "^6.9.0",
"bson": "^6.10.0",
"depcheck": "^1.4.7",
"eslint": "^7.25.0",
"prettier": "^2.8.8",
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.10.0",
"mongodb": "^6.11.0",
"@mongodb-js/eslint-config-mongosh": "^1.0.0",
"@mongodb-js/prettier-config-devtools": "^1.0.1",
"@mongodb-js/sbom-tools": "^0.7.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/e2e-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@
"@types/chai-as-promised": "^7.1.3",
"@types/node": "^14.14.6",
"@types/rimraf": "^3.0.0",
"bson": "^6.9.0",
"bson": "^6.10.0",
"chai-as-promised": "^7.1.1",
"depcheck": "^1.4.7",
"eslint": "^7.25.0",
"lodash": "^4.17.21",
"moment": "^2.29.1",
"mongodb": "^6.10.0",
"mongodb": "^6.11.0",
"node-fetch": "^3.3.2",
"prettier": "^2.8.8",
"rimraf": "^3.0.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/node-runtime-worker-thread/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@mongosh/service-provider-core": "0.0.0-dev.0",
"@mongosh/service-provider-node-driver": "0.0.0-dev.0",
"@mongosh/types": "0.0.0-dev.0",
"bson": "^6.9.0",
"bson": "^6.10.0",
"depcheck": "^1.4.7",
"eslint": "^7.25.0",
"mocha": "^10.2.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/service-provider-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
"dependencies": {
"@aws-sdk/credential-providers": "^3.525.0",
"@mongosh/errors": "0.0.0-dev.0",
"bson": "^6.9.0",
"mongodb": "^6.10.0",
"bson": "^6.10.0",
"mongodb": "^6.11.0",
"mongodb-build-info": "^1.7.2",
"mongodb-connection-string-url": "^3.0.1"
},
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 @@ -48,12 +48,12 @@
},
"dependencies": {
"@mongodb-js/devtools-connect": "^3.3.3",
"@mongodb-js/oidc-plugin": "^1.1.2",
"@mongodb-js/oidc-plugin": "^1.1.5",
"@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.10.0",
"mongodb": "^6.11.0",
"mongodb-connection-string-url": "^3.0.1",
"socks": "^2.8.3"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/shell-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@
"@mongodb-js/prettier-config-devtools": "^1.0.1",
"@mongodb-js/tsconfig-mongosh": "^1.0.0",
"@mongosh/types": "0.0.0-dev.0",
"bson": "^6.9.0",
"bson": "^6.10.0",
"depcheck": "^1.4.7",
"eslint": "^7.25.0",
"mongodb": "^6.10.0",
"mongodb": "^6.11.0",
"prettier": "^2.8.8",
"semver": "^7.5.3"
}
Expand Down
6 changes: 5 additions & 1 deletion packages/shell-api/src/mongo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,11 @@ export default class Mongo extends ShellApiClass {
}
}

const allSessionOptions = ['causalConsistency', 'snapshot'] as const;
const allSessionOptions = [
'causalConsistency',
'snapshot',
'defaultTimeoutMS',
] as const;
function assertAllSessionOptionsUsed(
// eslint-disable-next-line @typescript-eslint/no-unused-vars
_options: (typeof allSessionOptions)[number] | 'defaultTransactionOptions'
Expand Down
6 changes: 6 additions & 0 deletions packages/shell-api/src/shell-bson.ts
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,10 @@ export default function constructShellBson(
'prototype',
'createFromBase64',
'createFromHexString',
'fromInt8Array',
'fromFloat32Array',
'fromPackedBits',
'fromBits',
'BUFFER_SIZE',
'SUBTYPE_DEFAULT',
'SUBTYPE_FUNCTION',
Expand All @@ -402,7 +406,9 @@ export default function constructShellBson(
'SUBTYPE_ENCRYPTED',
'SUBTYPE_COLUMN',
'SUBTYPE_SENSITIVE',
'SUBTYPE_VECTOR',
'SUBTYPE_USER_DEFINED',
'VECTOR_TYPE',
])
),
Double: assignAll(
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 @@ -39,7 +39,7 @@
"@mongosh/errors": "0.0.0-dev.0",
"@mongosh/shell-api": "0.0.0-dev.0",
"@mongosh/types": "0.0.0-dev.0",
"bson": "^6.9.0",
"bson": "^6.10.0",
"cross-spawn": "^7.0.5",
"escape-string-regexp": "^4.0.0",
"joi": "^17.4.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 @@ -46,7 +46,7 @@
"@mongodb-js/tsconfig-mongosh": "^1.0.0",
"depcheck": "^1.4.7",
"eslint": "^7.25.0",
"mongodb": "^6.10.0",
"mongodb": "^6.11.0",
"prettier": "^2.8.8"
}
}
4 changes: 2 additions & 2 deletions testing/test-vscode.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ cd "$test_root_dir"
git clone --depth=10 https://github.com/mongodb-js/vscode.git
cd vscode
npm install --force
rm -rf node_modules/@mongosh
(cd node_modules && ln -s "$mongosh_root_dir/packages" @mongosh)
rm -rf node_modules/@mongosh node_modules/mongodb
(cd node_modules && ln -s "$mongosh_root_dir/packages" @mongosh && ln -s "$mongosh_root_dir/node_modules/mongodb" mongodb)
# This test can require a lot of memory so we bump the maximum size.
NODE_OPTIONS=--max-old-space-size=4096 npm test
cd /tmp
Expand Down

0 comments on commit ce418fa

Please sign in to comment.