Skip to content

Commit

Permalink
chore: Upgrade mongodb to v6.12.0 (#986)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Jan 20, 2025
1 parent 4e76758 commit 15503b4
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 15 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"jsdoc-api": "9.3.4",
"jsdoc-parse": "6.2.4",
"lint-staged": "15.2.9",
"mongodb": "6.10.0",
"mongodb": "6.12.0",
"mongodb-memory-server": "10.1.2",
"mongoose": "8.8.1",
"pinst": "3.0.0",
Expand Down
59 changes: 47 additions & 12 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/__tests__/mongodbTypes.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ describe('mongodb types', () => {
expectType<PaprFilter<TestDocument>>({ dbRef: new DBRef('collection', new ObjectId()) });
expectType<PaprFilter<TestDocument>>({ decimal: new Decimal128('123.45') });
expectType<PaprFilter<TestDocument>>({ int32: new Int32('123') });
expectType<PaprFilter<TestDocument>>({ long: new Long('123', 45) });
expectType<PaprFilter<TestDocument>>({ long: new Long(123, 45) });
expectType<PaprFilter<TestDocument>>({ maxKey: new MaxKey() });
expectType<PaprFilter<TestDocument>>({ minKey: new MinKey() });
expectType<PaprFilter<TestDocument>>({ regexp: /foo/ });
Expand Down Expand Up @@ -516,7 +516,7 @@ describe('mongodb types', () => {
$set: { decimal: new Decimal128('123.45') },
});
expectType<PaprUpdateFilter<TestDocument>>({ $set: { int32: new Int32('123') } });
expectType<PaprUpdateFilter<TestDocument>>({ $set: { long: new Long('123', 45) } });
expectType<PaprUpdateFilter<TestDocument>>({ $set: { long: new Long(123, 45) } });
expectType<PaprUpdateFilter<TestDocument>>({ $set: { maxKey: new MaxKey() } });
expectType<PaprUpdateFilter<TestDocument>>({ $set: { minKey: new MinKey() } });
expectType<PaprUpdateFilter<TestDocument>>({ $set: { regexp: /foo/ } });
Expand Down

0 comments on commit 15503b4

Please sign in to comment.