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!: drop support for old nodejs versions #681

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

matthewrobertson
Copy link
Member

@matthewrobertson matthewrobertson commented Mar 27, 2025

This commit drops support for all Node.js versions < 18.0.0 as they are no longer supported by Cloud Run functions: https://cloud.google.com/functions/docs/runtime-support

chore!: upgrade all dependencies

fix!: delete the undocumented "typed" function signature

@matthewrobertson matthewrobertson force-pushed the drop-version-support branch 2 times, most recently from da6812e to 988aef1 Compare March 27, 2025 19:42
@matthewrobertson matthewrobertson force-pushed the drop-version-support branch 3 times, most recently from c731154 to f9e4529 Compare March 27, 2025 19:51
@matthewrobertson matthewrobertson requested a review from jama22 March 27, 2025 19:54
@matthewrobertson matthewrobertson force-pushed the drop-version-support branch 2 times, most recently from f189f7f to 7ec14e8 Compare March 27, 2025 19:59
This commit drops support for all Node.js versions < 18.0.0 as they are
no longer supported by Cloud Run functions:
https://cloud.google.com/functions/docs/runtime-support

chore!: upgrade all dependencies

fix!: delete the undocumented "typed" function signature
Copy link
Member

@maemayve maemayve left a comment

Choose a reason for hiding this comment

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

My primary question is what evidence is there that supports the removal of typed function

Copy link
Member

Choose a reason for hiding this comment

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

Undocumented doesn't necessarily mean unused, do we know that this is unused?

}

/**
* Singleton map to hold the registered functions
*/
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const registrationContainer = new Map<string, RegisteredFunction<any, any>>();
const registrationContainer = new Map<string, RegisteredFunction<any>>();

/**
* Helper method to store a registered function in the registration container
*/
const register = <T = unknown, U = unknown>(
Copy link
Member

Choose a reason for hiding this comment

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

Seems like U = unknown can be pulled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants