Skip to content

Commit 77e9f4a

Browse files
chore(NODE-6315): update dev dependencies and add dependabot config (#42)
1 parent 41f0a2b commit 77e9f4a

File tree

13 files changed

+1117
-1072
lines changed

13 files changed

+1117
-1072
lines changed

.github/dependabot.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "npm" # See documentation for possible values
9+
directory: "/" # Location of package manifests
10+
schedule:
11+
interval: "monthly"
12+
ignore:
13+
# chai is esmodule only.
14+
- dependency-name: "chai"
15+
versions: [">=5.0.0"]
16+
# sinon-chai 4.x+ supports chai 5.x+.
17+
- dependency-name: "sinon-chai"
18+
versions: [">=4.0.0"]
19+
# nyc is Node18+ only starting on [email protected].
20+
- dependency-name: "nyc"
21+
versions: [">=16.0.0"]
22+
# we ignore TS as a part of quarterly dependency updates.
23+
- dependency-name: "typescript"
24+
groups:
25+
development-dependencies:
26+
dependency-type: "development"
27+
applies-to: version-updates
28+
update-types:
29+
- "minor"
30+
- "patch"

mongodb-legacy.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,8 @@ declare class LegacyChangeStream<TSchema extends Document = Document, TChange ex
206206
/**
207207
* Try to get the next available document from the Change Stream's cursor or `null` if an empty batch is returned
208208
*/
209-
tryNext(): Promise<Document | null>;
210-
tryNext(callback: Callback<Document | null>): void;
209+
tryNext(): Promise<TChange | null>;
210+
tryNext(callback: Callback<TChange | null>): void;
211211
/** Close the Change Stream */
212212
close(): Promise<void>;
213213
close(callback: Callback): void;

0 commit comments

Comments
 (0)