-
Notifications
You must be signed in to change notification settings - Fork 165
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
base: main
Are you sure you want to change the base?
Conversation
da6812e
to
988aef1
Compare
c731154
to
f9e4529
Compare
f189f7f
to
7ec14e8
Compare
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
7ec14e8
to
9222ab1
Compare
There was a problem hiding this 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
There was a problem hiding this comment.
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>( |
There was a problem hiding this comment.
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
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