Skip to content

Commit 625cee0

Browse files
authored
chore(deps): bump mongodb-log-writer MONGOSH-1992 (#2323)
Includes a version bump and adjustments for the breaking change from the latest major release.
1 parent 468e256 commit 625cee0

File tree

4 files changed

+30
-5
lines changed

4 files changed

+30
-5
lines changed

package-lock.json

Lines changed: 27 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/cli-repl/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
"is-recoverable-error": "^1.0.3",
8686
"js-yaml": "^4.1.0",
8787
"mongodb-connection-string-url": "^3.0.1",
88-
"mongodb-log-writer": "^1.4.2",
88+
"mongodb-log-writer": "^2.1.0",
8989
"numeral": "^2.0.6",
9090
"pretty-repl": "^4.0.1",
9191
"semver": "^7.5.4",

packages/cli-repl/src/cli-repl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ export class CliRepl implements MongoshIOProvider {
307307
}
308308
markTime(TimingCategories.REPLInstantiation, 'ensured shell homedir');
309309

310-
await this.logManager.cleanupOldLogfiles();
310+
await this.logManager.cleanupOldLogFiles();
311311
markTime(TimingCategories.Logging, 'cleaned up log files');
312312
const logger = await this.logManager.createLogWriter();
313313
const { quiet } = CliRepl.getFileAndEvalInfo(this.cliOptions);

packages/logging/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"@mongosh/errors": "2.4.0",
2222
"@mongosh/history": "2.4.0",
2323
"@mongosh/types": "3.0.0",
24-
"mongodb-log-writer": "^1.4.2",
24+
"mongodb-log-writer": "^2.1.0",
2525
"mongodb-redact": "^1.1.5"
2626
},
2727
"devDependencies": {

0 commit comments

Comments
 (0)