Skip to content
Open
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
778 changes: 736 additions & 42 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/device-id/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"@mongodb-js/tsconfig-devtools": "^1.1.1",
"@types/chai": "^4.2.21",
"@types/mocha": "^9.1.1",
"@types/node": "^22.15.30",
"@types/node": "^25.5.2",
"@types/sinon-chai": "^3.2.5",
"chai": "^4.5.0",
"depcheck": "^1.4.7",
Expand Down
2 changes: 1 addition & 1 deletion packages/devtools-connect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"@mongodb-js/saslprep": "^1.4.7",
"@types/lodash.merge": "^4.6.7",
"@types/mocha": "^9.1.1",
"@types/node": "^22.15.30",
"@types/node": "^25.5.2",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"chai": "^4.5.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/devtools-proxy-support/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"@mongodb-js/tsconfig-devtools": "^1.1.1",
"@types/chai": "^4.2.21",
"@types/mocha": "^9.1.1",
"@types/node": "^22.15.30",
"@types/node": "^25.5.2",
"@types/sinon-chai": "^3.2.5",
"chai": "^4.5.0",
"depcheck": "^1.4.7",
Expand Down
2 changes: 1 addition & 1 deletion packages/dl-center/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"@mongodb-js/tsconfig-devtools": "^1.1.1",
"@types/chai": "^4.2.21",
"@types/mocha": "^9.1.1",
"@types/node": "^22.15.30",
"@types/node": "^25.5.2",
"@types/s3rver": "^3.7.0",
"@types/sinon-chai": "^3.2.5",
"json-schema-to-typescript": "^13.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/download-url/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"@mongodb-js/tsconfig-devtools": "^1.1.1",
"@types/chai": "^4.2.21",
"@types/mocha": "^9.1.1",
"@types/node": "^22.15.30",
"@types/node": "^25.5.2",
"depcheck": "^1.4.7",
"eslint": "^7.25.0 || ^8.0.0",
"gen-esm-wrapper": "^1.1.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/get-os-info/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"@mongodb-js/tsconfig-devtools": "^1.1.1",
"@types/chai": "^4.2.21",
"@types/mocha": "^9.1.1",
"@types/node": "^22.15.30",
"@types/node": "^25.5.2",
"@types/sinon-chai": "^3.2.5",
"chai": "^4.5.0",
"depcheck": "^1.4.7",
Expand Down
2 changes: 1 addition & 1 deletion packages/mongodb-cloud-info/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"@mongodb-js/tsconfig-devtools": "^1.1.1",
"@types/chai": "^4.2.21",
"@types/mocha": "^9.1.1",
"@types/node": "^22.15.30",
"@types/node": "^25.5.2",
"@types/sinon-chai": "^3.2.5",
"chai": "^4.5.0",
"cheerio": "^1.0.0-rc.12",
Expand Down
2 changes: 1 addition & 1 deletion packages/mongodb-downloader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"@types/debug": "^4.1.8",
"@types/decompress": "^4.2.7",
"@types/mocha": "^9.1.1",
"@types/node": "^22.15.30",
"@types/node": "^25.5.2",
"@types/proper-lockfile": "^4.1.4",
"@types/sinon-chai": "^3.2.5",
"@types/tar": "^6.1.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/mongodb-runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"@types/chai": "^4.2.21",
"@types/debug": "^4.1.8",
"@types/mocha": "^9.1.1",
"@types/node": "^22.15.30",
"@types/node": "^25.5.2",
"@types/sinon-chai": "^3.2.5",
"@types/yargs": "^17.0.24",
"chai": "^4.5.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/mongodb-runner/src/tls-helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ export async function handleTLSClientKeyOptions({
modulusLength: 2048,
};
const now = Date.now();
const keys = await webcrypto.subtle.generateKey(alg, true, [
const keys = (await webcrypto.subtle.generateKey(alg, true, [
'sign',
'verify',
]);
])) as CryptoKeyPair;
const cert = await x509.X509CertificateGenerator.createSelfSigned({
name: 'O=MongoDB, OU=MongoDBRunnerCA, CN=MongoDBRunnerCA',
notBefore: new Date(now - 1000 * 60 * 60),
Expand Down
2 changes: 1 addition & 1 deletion packages/mongodb-server-log-checker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"@mongodb-js/tsconfig-devtools": "^1.1.1",
"@types/chai": "^4.2.21",
"@types/mocha": "^9.1.1",
"@types/node": "^22.15.30",
"@types/node": "^25.5.2",
"@types/sinon-chai": "^3.2.5",
"chai": "^4.5.0",
"depcheck": "^1.4.7",
Expand Down
2 changes: 1 addition & 1 deletion packages/mongodb-ts-autocomplete/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"@mongodb-js/mql-typescript": "^0.4.6",
"@types/chai": "^4.2.21",
"@types/mocha": "^9.1.1",
"@types/node": "^22.15.30",
"@types/node": "^25.5.2",
"@types/sinon-chai": "^3.2.5",
"bson": "^4.6.3 || ^5 || ^6.10.3 || ^7.0.0",
"mongodb": "^6.9.0 || ^7.0.0",
Expand Down
26 changes: 25 additions & 1 deletion packages/mongodb-ts-autocomplete/scripts/extract-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ const deps: Readonly<Record<string, string[]>> = {
'diagnostics_channel.d.ts',
'dns.d.ts',
'dns/promises.d.ts',
'dom-events.d.ts',
'domain.d.ts',
'events.d.ts',
'fs.d.ts',
Expand All @@ -104,14 +103,19 @@ const deps: Readonly<Record<string, string[]>> = {
'https.d.ts',
'index.d.ts',
'inspector.d.ts',
'inspector.generated.d.ts',
'inspector/promises.d.ts',
'module.d.ts',
'net.d.ts',
'os.d.ts',
'path.d.ts',
'path/posix.d.ts',
'path/win32.d.ts',
'perf_hooks.d.ts',
'process.d.ts',
'punycode.d.ts',
'querystring.d.ts',
'quic.d.ts',
'readline.d.ts',
'readline/promises.d.ts',
'repl.d.ts',
Expand All @@ -123,16 +127,34 @@ const deps: Readonly<Record<string, string[]>> = {
'stream/web.d.ts',
'string_decoder.d.ts',
'test.d.ts',
'test/reporters.d.ts',
'timers.d.ts',
'timers/promises.d.ts',
'tls.d.ts',
'trace_events.d.ts',
'tty.d.ts',
'url.d.ts',
'util.d.ts',
'util/types.d.ts',
'v8.d.ts',
'vm.d.ts',
'wasi.d.ts',
'web-globals/abortcontroller.d.ts',
'web-globals/blob.d.ts',
'web-globals/console.d.ts',
'web-globals/crypto.d.ts',
'web-globals/domexception.d.ts',
'web-globals/encoding.d.ts',
'web-globals/events.d.ts',
'web-globals/fetch.d.ts',
'web-globals/importmeta.d.ts',
'web-globals/messaging.d.ts',
'web-globals/navigator.d.ts',
'web-globals/performance.d.ts',
'web-globals/storage.d.ts',
'web-globals/streams.d.ts',
'web-globals/timers.d.ts',
'web-globals/url.d.ts',
'worker_threads.d.ts',
'zlib.d.ts',
],
Expand Down Expand Up @@ -205,6 +227,8 @@ const deps: Readonly<Record<string, string[]>> = {
'lib/lib.es2020.string.d.ts',
'lib/lib.es2020.symbol.wellknown.d.ts',
'lib/lib.es5.d.ts',
'lib/lib.esnext.disposable.d.ts',
'lib/lib.esnext.float16.d.ts',
],
'undici-types': ['package.json', 'index.d.ts'],
url: [
Expand Down
2 changes: 1 addition & 1 deletion packages/monorepo-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@mongodb-js/prettier-config-devtools": "^1.0.2",
"@mongodb-js/tsconfig-devtools": "^1.1.1",
"@types/mocha": "^9.1.1",
"@types/node": "^22.15.30",
"@types/node": "^25.5.2",
"@types/pacote": "^11.1.8",
"@types/toposort": "^2.0.7",
"depcheck": "^1.4.7",
Expand Down
2 changes: 1 addition & 1 deletion packages/mql-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"@mongodb-js/tsconfig-devtools": "^1.1.1",
"@types/js-yaml": "^4.0.9",
"@types/jsdom": "^21.1.7",
"@types/node": "^22.15.30",
"@types/node": "^25.5.2",
"@types/chai": "^4.2.21",
"depcheck": "^1.4.7",
"eslint": "^7.25.0 || ^8.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/native-machine-id/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"@mongodb-js/prettier-config-devtools": "^1.0.2",
"@mongodb-js/tsconfig-devtools": "^1.1.1",
"@types/mocha": "^9.1.1",
"@types/node": "^22.15.30",
"@types/node": "^25.5.2",
"@types/sinon-chai": "^3.2.5",
"eslint": "^7.25.0 || ^8.0.0",
"gen-esm-wrapper": "^1.1.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"@types/chai": "^4.2.21",
"@types/cross-spawn": "^6.0.6",
"@types/mocha": "^9.1.1",
"@types/node": "^22.15.30",
"@types/node": "^25.5.2",
"@types/sinon-chai": "^3.2.5",
"chai": "^4.5.0",
"cross-spawn": "^7.0.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/oidc-mock-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"@mongodb-js/tsconfig-devtools": "^1.1.1",
"@types/chai": "^4.2.21",
"@types/mocha": "^9.1.1",
"@types/node": "^22.15.30",
"@types/node": "^25.5.2",
"@types/sinon-chai": "^3.2.5",
"chai": "^4.5.0",
"depcheck": "^1.4.7",
Expand Down
4 changes: 2 additions & 2 deletions packages/oidc-mock-provider/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import type {
import { createServer as createHTTPServer } from 'http';
import type { AddressInfo } from 'net';
import crypto from 'crypto';
import type { KeyPairKeyObjectResult } from 'crypto';

import { promisify } from 'util';
import { URLSearchParams } from 'url';

Expand Down Expand Up @@ -96,7 +96,7 @@ export class OIDCMockProvider {

// This provider only supports a single RSA key currently.
private kid: string;
private keys: KeyPairKeyObjectResult;
private keys: { publicKey: crypto.KeyObject; privateKey: crypto.KeyObject };

private state = new Map<string, unknown>();
private config: OIDCMockProviderConfig;
Expand Down
2 changes: 1 addition & 1 deletion packages/query-parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"@mongodb-js/tsconfig-devtools": "^1.1.1",
"@types/chai": "^4.2.21",
"@types/mocha": "^9.1.1",
"@types/node": "^22.15.30",
"@types/node": "^25.5.2",
"@types/sinon-chai": "^3.2.5",
"bson": "^4.6.3 || ^5 || ^6.10.3 || ^7.0.0",
"depcheck": "^1.4.7",
Expand Down
2 changes: 1 addition & 1 deletion packages/saslprep/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"@mongodb-js/tsconfig-devtools": "^1.1.1",
"@types/chai": "^4.2.21",
"@types/mocha": "^9.1.1",
"@types/node": "^22.15.30",
"@types/node": "^25.5.2",
"@types/sinon-chai": "^3.2.5",
"@types/sparse-bitfield": "^3.0.4",
"chai": "^4.5.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/sbom-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"@types/chai": "^4.2.21",
"@types/lodash": "^4.14.194",
"@types/mocha": "^9.1.1",
"@types/node": "^22.15.30",
"@types/node": "^25.5.2",
"@types/node-fetch": "^2.6.3",
"@types/sinon-chai": "^3.2.5",
"@types/spdx-satisfies": "^0.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/signing-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"@mongodb-js/tsconfig-devtools": "^1.1.1",
"@types/chai": "^4.2.21",
"@types/mocha": "^9.1.1",
"@types/node": "^22.15.30",
"@types/node": "^25.5.2",
"@types/sinon-chai": "^3.2.5",
"chai": "^4.5.0",
"depcheck": "^1.4.7",
Expand Down
2 changes: 1 addition & 1 deletion packages/ts-autocomplete/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"@mongodb-js/tsconfig-devtools": "^1.1.1",
"@types/chai": "^4.2.21",
"@types/mocha": "^9.1.1",
"@types/node": "^22.15.30",
"@types/node": "^25.5.2",
"@types/sinon-chai": "^3.2.5",
"chai": "^4.5.0",
"depcheck": "^1.4.7",
Expand Down