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
2 changes: 1 addition & 1 deletion configs/mocha-config-devtools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
"dependencies": {
"@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
"chai": "^4.5.0",
"chai": "^6.2.2",
"chai-dom": "^1.9.0",
"chai-enzyme": "^1.0.0-beta.1",
"enzyme": "^3.11.0",
Expand Down
5,294 changes: 2,339 additions & 2,955 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/device-id/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@
"@types/chai": "^4.2.21",
"@types/mocha": "^9.1.1",
"@types/node": "^22.15.30",
"@types/sinon-chai": "^4.0.0",
"chai": "^4.5.0",
"@types/sinon-chai": "^4.0.0",
"chai": "^6.2.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/devtools-connect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"@types/node": "^22.15.30",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"chai": "^4.5.0",
"chai": "^6.2.2",
"eslint": "^7.25.0 || ^8.0.0",
"eslint-config-semistandard": "^17.0.0",
"eslint-config-standard": "^17.1.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/devtools-proxy-support/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@
"@types/chai": "^4.2.21",
"@types/mocha": "^9.1.1",
"@types/node": "^22.15.30",
"@types/sinon-chai": "^4.0.0",
"chai": "^4.5.0",
"@types/sinon-chai": "^4.0.0",
"chai": "^6.2.2",
"depcheck": "^1.4.7",
"duplexpair": "^1.0.2",
"electron": "^39.8.5",
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 @@ -64,7 +64,7 @@
"@types/s3rver": "^3.7.4",
"@types/sinon-chai": "^4.0.0",
"json-schema-to-typescript": "^13.0.2",
"chai": "^4.5.0",
"chai": "^6.2.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/download-url/src/version-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ async function getFullJSON(opts: VersionListOpts): Promise<FullJSON> {
`Could not get mongodb versions from ${versionListUrl}: ${response.statusText}`,
);
}
fullJSON = await response.json();
fullJSON = (await response.json()) as FullJSON;
fullJSONFetchTime = new Date().getTime();
if (tryWriteCache) {
const partialFilePath = cachePath + `.partial.${process.pid}`;
Expand Down
4 changes: 2 additions & 2 deletions packages/get-os-info/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@
"@types/chai": "^4.2.21",
"@types/mocha": "^9.1.1",
"@types/node": "^22.15.30",
"@types/sinon-chai": "^4.0.0",
"chai": "^4.5.0",
"@types/sinon-chai": "^4.0.0",
"chai": "^6.2.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/mongodb-build-info/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"@mongodb-js/prettier-config-devtools": "^1.0.3",
"@mongodb-js/tsconfig-devtools": "^1.1.2",
"@types/mocha": "^9.1.1",
"chai": "^4.5.0",
"chai": "^6.2.2",
"depcheck": "^1.4.7",
"eslint": "^7.25.0 || ^8.0.0",
"mocha": "^8.4.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/mongodb-cloud-info/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@
"@types/chai": "^4.2.21",
"@types/mocha": "^9.1.1",
"@types/node": "^22.15.30",
"@types/sinon-chai": "^4.0.0",
"chai": "^4.5.0",
"@types/sinon-chai": "^4.0.0",
"chai": "^6.2.2",
"cheerio": "^1.2.0",
"depcheck": "^1.4.7",
"eslint": "^7.25.0 || ^8.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/mongodb-constants/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@
"@types/semver": "^7.7.0",
"@types/sinon-chai": "^4.0.0",
"bson": "^4.6.3 || ^5 || ^6.10.3 || ^7.0.0",
"acorn": "^8.16.0",
"chai": "^4.5.0",
"acorn": "^8.16.0",
"chai": "^6.2.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/mongodb-downloader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"@types/proper-lockfile": "^4.1.4",
"@types/sinon-chai": "^4.0.0",
"@types/tar": "^6.1.5",
"chai": "^4.5.0",
"chai": "^6.2.2",
"depcheck": "^1.4.7",
"eslint": "^7.25.0 || ^8.0.0",
"gen-esm-wrapper": "^1.1.3",
Expand Down
2 changes: 2 additions & 0 deletions packages/mongodb-downloader/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ export class MongoDBDownloader {
if (/\.tgz$|\.tar(\.[^.]+)?$/.exec(url)) {
// the server's tarballs can contain hard links, which the (unmaintained?)
// `download` package is unable to handle (https://github.com/kevva/decompress/issues/93)
if (!response.body) throw new Error(`No response body for ${url}`);
await promisify(pipeline)(
response.body,
tar.x({ cwd: downloadTarget, strip: isCryptLibrary ? 0 : 1 }),
Expand All @@ -151,6 +152,7 @@ export class MongoDBDownloader {
downloadTarget,
path.basename(new URL(url).pathname),
);
if (!response.body) throw new Error(`No response body for ${url}`);
await promisify(pipeline)(
response.body,
createWriteStream(filename, { highWaterMark: MongoDBDownloader.HWM }),
Expand Down
4 changes: 2 additions & 2 deletions packages/mongodb-log-writer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@
"@types/chai": "^4.2.21",
"@types/mocha": "^9.1.1",
"@types/semver": "^7.7.0",
"@types/sinon-chai": "^4.0.0",
"@types/sinon-chai": "^4.0.0",
"acorn": "^8.16.0",
"chai": "^4.5.0",
"chai": "^6.2.2",
"depcheck": "^1.4.7",
"eslint": "^7.25.0 || ^8.0.0",
"gen-esm-wrapper": "^1.1.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/mongodb-redact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@
"@types/chai": "^4.2.21",
"@types/mocha": "^9.1.1",
"@types/regexp.escape": "^2.0.0",
"@types/sinon-chai": "^4.0.0",
"chai": "^4.5.0",
"@types/sinon-chai": "^4.0.0",
"chai": "^6.2.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/mongodb-runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"@types/node": "^22.15.30",
"@types/sinon-chai": "^4.0.0",
"@types/yargs": "^17.0.24",
"chai": "^4.5.0",
"chai": "^6.2.2",
"depcheck": "^1.4.7",
"eslint": "^7.25.0 || ^8.0.0",
"gen-esm-wrapper": "^1.1.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/mongodb-server-log-checker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@
"@types/chai": "^4.2.21",
"@types/mocha": "^9.1.1",
"@types/node": "^22.15.30",
"@types/sinon-chai": "^4.0.0",
"chai": "^4.5.0",
"@types/sinon-chai": "^4.0.0",
"chai": "^6.2.2",
"depcheck": "^1.4.7",
"eslint": "^7.25.0 || ^8.0.0",
"gen-esm-wrapper": "^1.1.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/mongodb-ts-autocomplete/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@
"@types/node": "^22.15.30",
"@types/sinon-chai": "^4.0.0",
"bson": "^4.6.3 || ^5 || ^6.10.3 || ^7.0.0",
"mongodb": "^7.2.0",
"chai": "^4.5.0",
"mongodb": "^7.2.0",
"chai": "^6.2.2",
"depcheck": "^1.4.7",
"eslint": "^7.25.0 || ^8.0.0",
"gen-esm-wrapper": "^1.1.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/node-webpack-startup-snapshot-checker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@
"@types/cross-spawn": "^6.0.6",
"@types/mocha": "^9.1.1",
"@types/node": "^22.15.30",
"@types/sinon-chai": "^4.0.0",
"chai": "^4.5.0",
"@types/sinon-chai": "^4.0.0",
"chai": "^6.2.2",
"cross-spawn": "^7.0.6",
"depcheck": "^1.4.7",
"eslint": "^7.25.0 || ^8.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/oidc-http-server-pages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@
"@types/mocha": "^9.1.1",
"@types/react": "^17.0.53",
"@types/react-dom": "^17.0.19",
"@types/sinon-chai": "^4.0.0",
"chai": "^4.5.0",
"@types/sinon-chai": "^4.0.0",
"chai": "^6.2.2",
"depcheck": "^1.4.7",
"eslint": "^7.25.0 || ^8.0.0",
"gen-esm-wrapper": "^1.1.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/oidc-mock-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@
"@types/chai": "^4.2.21",
"@types/mocha": "^9.1.1",
"@types/node": "^22.15.30",
"@types/sinon-chai": "^4.0.0",
"chai": "^4.5.0",
"@types/sinon-chai": "^4.0.0",
"chai": "^6.2.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/saslprep/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"@types/node": "^22.15.30",
"@types/sinon-chai": "^4.0.0",
"@types/sparse-bitfield": "^3.0.4",
"chai": "^4.5.0",
"chai": "^6.2.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/sbom-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"@types/node-fetch": "^2.6.13",
"@types/sinon-chai": "^4.0.0",
"@types/spdx-satisfies": "^0.1.0",
"chai": "^4.5.0",
"chai": "^6.2.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/shell-bson-parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"@types/sinon-chai": "^4.0.0",
"benchmark": "^2.1.4",
"bson": "^4.6.3 || ^5 || ^6.10.3 || ^7.0.0",
"chai": "^4.5.0",
"chai": "^6.2.2",
"depcheck": "^1.4.7",
"eslint": "^7.25.0 || ^8.0.0",
"gen-esm-wrapper": "^1.1.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/signing-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@
"@types/chai": "^4.2.21",
"@types/mocha": "^9.1.1",
"@types/node": "^22.15.30",
"@types/sinon-chai": "^4.0.0",
"chai": "^4.5.0",
"@types/sinon-chai": "^4.0.0",
"chai": "^6.2.2",
"depcheck": "^1.4.7",
"eslint": "^7.25.0 || ^8.0.0",
"gen-esm-wrapper": "^1.1.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/ts-autocomplete/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@
"@types/chai": "^4.2.21",
"@types/mocha": "^9.1.1",
"@types/node": "^22.15.30",
"@types/sinon-chai": "^4.0.0",
"chai": "^4.5.0",
"@types/sinon-chai": "^4.0.0",
"chai": "^6.2.2",
"depcheck": "^1.4.7",
"eslint": "^7.25.0 || ^8.0.0",
"gen-esm-wrapper": "^1.1.3",
Expand Down
Loading