Skip to content

Commit

Permalink
chore(NODE-6315): update dev dependencies and add dependabot config (#42
Browse files Browse the repository at this point in the history
)
  • Loading branch information
baileympearson authored Aug 7, 2024
1 parent 41f0a2b commit 77e9f4a
Show file tree
Hide file tree
Showing 13 changed files with 1,117 additions and 1,072 deletions.
30 changes: 30 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "monthly"
ignore:
# chai is esmodule only.
- dependency-name: "chai"
versions: [">=5.0.0"]
# sinon-chai 4.x+ supports chai 5.x+.
- dependency-name: "sinon-chai"
versions: [">=4.0.0"]
# nyc is Node18+ only starting on [email protected].
- dependency-name: "nyc"
versions: [">=16.0.0"]
# we ignore TS as a part of quarterly dependency updates.
- dependency-name: "typescript"
groups:
development-dependencies:
dependency-type: "development"
applies-to: version-updates
update-types:
- "minor"
- "patch"
4 changes: 2 additions & 2 deletions mongodb-legacy.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@ declare class LegacyChangeStream<TSchema extends Document = Document, TChange ex
/**
* Try to get the next available document from the Change Stream's cursor or `null` if an empty batch is returned
*/
tryNext(): Promise<Document | null>;
tryNext(callback: Callback<Document | null>): void;
tryNext(): Promise<TChange | null>;
tryNext(callback: Callback<TChange | null>): void;
/** Close the Change Stream */
close(): Promise<void>;
close(callback: Callback): void;
Expand Down
Loading

0 comments on commit 77e9f4a

Please sign in to comment.