Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Make compile with NodeJS v20.5.0 #1906

Merged
merged 3 commits into from
Sep 26, 2023

Conversation

tom-andersen
Copy link
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 as code owners 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
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

// 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
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
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
15 checks passed
@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 join this conversation on GitHub. Already have an account? Sign in to comment
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