Skip to content
Draft
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
2,276 changes: 134 additions & 2,142 deletions package-lock.json

Large diffs are not rendered by default.

13 changes: 11 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
"glob": "^10.3.12",
"husky": "^9.0.11",
"mocha": "^10.2.0",
"mongodb": "^6.19.0",
"mongodb": "6.20.0-dev.20251024.sha.51c1b9d2",
"mongodb-runner": "^5.7.1",
"node-gyp": "^9.0.0 || ^10.2.0",
"nyc": "^15.1.0",
Expand Down Expand Up @@ -171,6 +171,15 @@
"packages/connectivity-tests"
],
"overrides": {
"cookie": "^0.7.2"
"cookie": "^0.7.2",
"mongodb-connection-string-url": "^4.0.0-alpha",
"kerberos": "^3.0.0-alpha",
"mongodb-client-encryption": "^7.0.0-alpha",
"bson": "^7.0.0-alpha.2",
"mongodb": "6.20.0-dev.20251024.sha.51c1b9d2"
},
"dependencies": {
"bson": "^7.0.0-alpha.2",
"kerberos": "^3.0.0-alpha"
}
}
4 changes: 2 additions & 2 deletions packages/arg-parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"dependencies": {
"@mongosh/errors": "2.4.4",
"@mongosh/i18n": "^2.17.0",
"mongodb-connection-string-url": "^3.0.2"
"mongodb-connection-string-url": "^4.0.0-alpha"
},
"devDependencies": {
"@mongodb-js/devtools-connect": "^3.9.4",
Expand All @@ -46,7 +46,7 @@
"@mongodb-js/tsconfig-mongosh": "^1.0.0",
"depcheck": "^1.4.7",
"eslint": "^7.25.0",
"mongodb": "^6.19.0",
"mongodb": "6.20.0-dev.20251024.sha.51c1b9d2",
"prettier": "^2.8.8"
}
}
4 changes: 2 additions & 2 deletions packages/browser-repl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"@mongosh/node-runtime-worker-thread": "3.3.26",
"@mongosh/service-provider-core": "3.6.1",
"@mongosh/shell-bson": "1.0.2",
"bson": "^6.10.4",
"bson": "^7.0.0-alpha.2",
"numeral": "^2.0.6",
"text-table": "^0.2.0"
},
Expand All @@ -73,7 +73,7 @@
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/preset-react": "^7.26.3",
"@babel/preset-typescript": "^7.27.0",
"mongodb": "^6.19.0",
"mongodb": "6.20.0-dev.20251024.sha.51c1b9d2",
"@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 @@ -43,7 +43,7 @@
"@mongodb-js/tsconfig-mongosh": "^1.0.0",
"@mongodb-js/mongodb-ts-autocomplete": "^0.4.7",
"@mongosh/types": "^3.14.0",
"bson": "^6.10.4",
"bson": "^7.0.0-alpha.2",
"depcheck": "^1.4.7",
"eslint": "^7.25.0",
"prettier": "^2.8.8",
Expand Down
2 changes: 1 addition & 1 deletion packages/browser-runtime-electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"@mongosh/service-provider-node-driver": "^3.17.1",
"@types/sinon": "^7.5.1",
"@types/sinon-chai": "^3.2.4",
"bson": "^6.10.4",
"bson": "^7.0.0-alpha.2",
"depcheck": "^1.4.7",
"eslint": "^7.25.0",
"prettier": "^2.8.8",
Expand Down
6 changes: 3 additions & 3 deletions packages/cli-repl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@
"ansi-escape-sequences": "^5.1.2",
"askcharacter": "^2.0.4",
"askpassword": "^2.0.2",
"bson": "^6.10.4",
"bson": "^7.0.0-alpha.2",
"escape-string-regexp": "^4.0.0",
"is-recoverable-error": "^1.0.3",
"js-yaml": "^4.1.0",
"mongodb-connection-string-url": "^3.0.2",
"mongodb-connection-string-url": "^4.0.0-alpha",
"mongodb-log-writer": "^2.4.3",
"numeral": "^2.0.6",
"pretty-repl": "^4.0.1",
Expand All @@ -96,7 +96,7 @@
"glibc-version": "^1.0.0"
},
"devDependencies": {
"mongodb": "^6.19.0",
"mongodb": "6.20.0-dev.20251024.sha.51c1b9d2",
"@mongodb-js/eslint-config-mongosh": "^1.0.0",
"@mongodb-js/prettier-config-devtools": "^1.0.1",
"@mongodb-js/sbom-tools": "^0.8.1",
Expand Down
3 changes: 3 additions & 0 deletions packages/cli-repl/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ const config = {
'commonjs2 ../build/Release/mongocrypt.node',
'../build/Debug/mongocrypt.node':
'commonjs2 ../build/Debug/mongocrypt.node',
'../build/Release/kerberos.node':
'commonjs2 ../build/Release/kerberos.node',
'../build/Debug/kerberos.node': 'commonjs2 ../build/Debug/kerberos.node',
},

externalsPresets: {
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 @@ -41,13 +41,13 @@
"@types/chai-as-promised": "^7.1.3",
"@types/node": "^22.15.30",
"@types/rimraf": "^3.0.0",
"bson": "^6.10.4",
"bson": "^7.0.0-alpha.2",
"chai-as-promised": "^7.1.1",
"depcheck": "^1.4.7",
"eslint": "^7.25.0",
"lodash": "^4.17.21",
"moment": "^2.29.1",
"mongodb": "^6.19.0",
"mongodb": "6.20.0-dev.20251024.sha.51c1b9d2",
"node-fetch": "^3.3.2",
"prettier": "^2.8.8",
"rimraf": "^3.0.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@mongosh/shell-api": "^3.24.0",
"@mongosh/shell-evaluator": "^3.24.0",
"@mongosh/types": "^3.14.0",
"bson": "^6.10.4",
"bson": "^7.0.0-alpha.2",
"js-beautify": "^1.15.1"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/history/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"unitTestsOnly": true
},
"dependencies": {
"mongodb-connection-string-url": "^3.0.2",
"mongodb-connection-string-url": "^4.0.0-alpha",
"mongodb-redact": "^1.1.5"
},
"devDependencies": {
Expand All @@ -44,7 +44,7 @@
"@mongodb-js/tsconfig-mongosh": "^1.0.0",
"depcheck": "^1.4.7",
"eslint": "^7.25.0",
"mongodb-connection-string-url": "^3.0.2",
"mongodb-connection-string-url": "^4.0.0-alpha",
"prettier": "^2.8.8"
}
}
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 @@ -45,7 +45,7 @@
"@mongosh/service-provider-core": "3.6.1",
"@mongosh/service-provider-node-driver": "^3.17.1",
"@mongosh/types": "^3.14.0",
"bson": "^6.10.4",
"bson": "^7.0.0-alpha.2",
"depcheck": "^1.4.7",
"eslint": "^7.25.0",
"mocha": "^10.2.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/service-provider-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@
"dependencies": {
"@mongosh/errors": "2.4.4",
"@mongosh/shell-bson": "1.0.2",
"bson": "^6.10.4",
"mongodb": "^6.19.0",
"bson": "^7.0.0-alpha.2",
"mongodb": "6.20.0-dev.20251024.sha.51c1b9d2",
"mongodb-build-info": "^1.7.2",
"mongodb-connection-string-url": "^3.0.2"
"mongodb-connection-string-url": "^4.0.0-alpha"
},
"devDependencies": {
"@mongodb-js/eslint-config-mongosh": "^1.0.0",
Expand Down
12 changes: 6 additions & 6 deletions packages/service-provider-node-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@
"@mongosh/service-provider-core": "3.6.1",
"@mongosh/types": "^3.14.0",
"aws4": "^1.12.0",
"mongodb": "^6.19.0",
"mongodb-connection-string-url": "^3.0.2",
"mongodb": "6.20.0-dev.20251024.sha.51c1b9d2",
"mongodb-connection-string-url": "^4.0.0-alpha",
"socks": "^2.8.3",
"mongodb-client-encryption": "^6.5.0",
"kerberos": "2.1.0"
"mongodb-client-encryption": "^7.0.0-alpha",
"kerberos": "^3.0.0-alpha"
},
"optionalDependencies": {
"kerberos": "2.1.0",
"mongodb-client-encryption": "^6.5.0"
"kerberos": "^3.0.0-alpha",
"mongodb-client-encryption": "^7.0.0-alpha"
},
"devDependencies": {
"@mongodb-js/eslint-config-mongosh": "^1.0.0",
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 @@ -69,10 +69,10 @@
"@mongodb-js/prettier-config-devtools": "^1.0.1",
"@mongodb-js/tsconfig-mongosh": "^1.0.0",
"@mongosh/types": "^3.14.0",
"bson": "^6.10.4",
"bson": "^7.0.0-alpha.2",
"depcheck": "^1.4.7",
"eslint": "^7.25.0",
"mongodb": "^6.19.0",
"mongodb": "6.20.0-dev.20251024.sha.51c1b9d2",
"prettier": "^2.8.8",
"semver": "^7.5.3"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/shell-bson/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@
"@mongosh/errors": "^2.4.4"
},
"peerDependencies": {
"bson": "^6.10.4"
"bson": "^7.0.0-alpha.2"
},
"devDependencies": {
"@mongodb-js/eslint-config-mongosh": "^1.0.0",
"@mongodb-js/prettier-config-devtools": "^1.0.1",
"@mongodb-js/tsconfig-mongosh": "^1.0.0",
"bson": "^6.10.4",
"bson": "^7.0.0-alpha.2",
"depcheck": "^1.4.7",
"eslint": "^7.25.0",
"prettier": "^2.8.8"
Expand Down
1 change: 1 addition & 0 deletions packages/shell-bson/src/shell-bson.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ export function constructShellBson<
[[undefined, 'string', 'number', 'object']],
'ObjectId'
);
if (typeof id === 'number') return bson.ObjectId.createFromTime(id);
return new bson.ObjectId(id);
},
pickWithExactKeyMatch(bson.ObjectId, ['prototype', 'cacheHexString', 'generate', 'createFromTime', 'createFromHexString', 'createFromBase64', 'isValid'])),
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": "2.4.4",
"@mongosh/shell-api": "^3.24.0",
"@mongosh/types": "^3.14.0",
"bson": "^6.10.4",
"bson": "^7.0.0-alpha.2",
"cross-spawn": "^7.0.5",
"escape-string-regexp": "^4.0.0",
"zod": "^3.24.1",
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.19.0",
"mongodb": "6.20.0-dev.20251024.sha.51c1b9d2",
"prettier": "^2.8.8"
}
}