Skip to content
This repository was archived by the owner on Mar 4, 2026. It is now read-only.

chore: Make compile with NodeJS v20.5.0#1906

Merged
gcf-merge-on-green[bot] merged 3 commits intomainfrom
tomandersen/fixCI-NodeJSv20.5.0
Sep 26, 2023
Merged

chore: Make compile with NodeJS v20.5.0#1906
gcf-merge-on-green[bot] merged 3 commits intomainfrom
tomandersen/fixCI-NodeJSv20.5.0

Conversation

@tom-andersen
Copy link
Copy Markdown
Contributor

@tom-andersen tom-andersen commented Sep 25, 2023

An external change to CI appears to run code on NodeJS v20.5.0.

Unfortunately, this breaks our hacky override of Timeout. So as a quick fix, I made it even hackier. Since we only use this for tests, this should be fine.

@tom-andersen tom-andersen requested review from a team September 25, 2023 23:45
@product-auto-label product-auto-label Bot added size: xs Pull request size is extra small. api: firestore Issues related to the googleapis/nodejs-firestore API. labels Sep 25, 2023
Copy link
Copy Markdown
Contributor

@dconeybe dconeybe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one minor typo

Comment thread dev/src/backoff.ts Outdated
// https://github.com/DefinitelyTyped/DefinitelyTyped/pull/66176/files#diff-e838d0ace9cd5f6516bacfbd3ad00d02cd37bd60f9993ce6223f52d889a1fdbaR122-R126
//
// Adding `[Symbol.dispose](): void;` cannot be done on older versions of
// NodeJS. So we simply cast to `NodeJS.Timout`.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Spelling error: Timout

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@tom-andersen tom-andersen added the automerge Merge the pull request once unit tests and other checks pass. label Sep 26, 2023
@gcf-merge-on-green gcf-merge-on-green Bot merged commit 1d72fca into main Sep 26, 2023
@gcf-merge-on-green gcf-merge-on-green Bot deleted the tomandersen/fixCI-NodeJSv20.5.0 branch September 26, 2023 01:32
@gcf-merge-on-green gcf-merge-on-green Bot removed the automerge Merge the pull request once unit tests and other checks pass. label Sep 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: firestore Issues related to the googleapis/nodejs-firestore API. size: xs Pull request size is extra small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants