Skip to content

Commit 712e541

Browse files
authored
Merge pull request #15713 from Automattic/dependabot/npm_and_yarn/master/mongodb-js/mongodb-downloader-1.0.0
chore(deps-dev): bump @mongodb-js/mongodb-downloader from 0.4.4 to 1.0.0
2 parents 2704c50 + 0d3e8e9 commit 712e541

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"@ark/attest": "0.53.0",
3333
"@babel/core": "7.28.5",
3434
"@babel/preset-env": "7.28.5",
35-
"@mongodb-js/mongodb-downloader": "^0.4.2",
35+
"@mongodb-js/mongodb-downloader": "^1.0.0",
3636
"@typescript-eslint/eslint-plugin": "^8.19.1",
3737
"@typescript-eslint/parser": "^8.19.1",
3838
"acquit": "1.4.0",

scripts/setup-encryption-tests.js

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,13 @@ async function main() {
1414
await writeFile('fle-cluster-config.json', JSON.stringify(configuration, null, 2));
1515

1616
async function downloadCryptShared() {
17-
const crypt_shared_dir = await downloadMongoDb(join(runnerDir, 'crypt'), serverVersion, {
18-
enterprise: true,
19-
crypt_shared: true
17+
const crypt_shared_dir = await downloadMongoDb({
18+
directory: join(runnerDir, 'crypt'),
19+
version: serverVersion,
20+
downloadOptions: {
21+
enterprise: true,
22+
crypt_shared: true
23+
}
2024
});
2125

2226
for (const dirEntry of await readdir(crypt_shared_dir)) {
@@ -30,8 +34,12 @@ async function main() {
3034
await rm(runnerDir, { recursive: true }).catch(() => {});
3135

3236
const cryptShared = await downloadCryptShared();
33-
const binDir = await downloadMongoDb(runnerDir, serverVersion, {
34-
enterprise: true
37+
const binDir = await downloadMongoDb({
38+
directory: runnerDir,
39+
version: serverVersion,
40+
downloadOptions: {
41+
enterprise: true
42+
}
3543
});
3644

3745
await start({ id: 'encryption-test-cluster', binDir, topology:

0 commit comments

Comments
 (0)