Skip to content

Remove perf_hooks patch needed for old versions of Node #53058

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

Merged
merged 1 commit into from
Mar 2, 2023

Conversation

jakebailey
Copy link
Member

Splitting this out of #51590 for a narrower review.

This patch is only needed for <12.16.3 || 13 <13.13. Anyone who is still using Node 12 better be using Node 12.20 at this point, and nobody should be using Node 13.

Removing this is needed for #51590 to prevent this file from using Version and causing a cycle.

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Mar 2, 2023
@jakebailey
Copy link
Member Author

Also note that #52524 shows that we aren't even using perf hooks in Node <16, so, this is a no-op anyway even if we do fix our code.

@jakebailey jakebailey requested a review from sheetalkamat March 2, 2023 17:15
@jakebailey jakebailey merged commit 40cd0de into microsoft:main Mar 2, 2023
@jakebailey jakebailey deleted the remove-old-performance-thing branch March 2, 2023 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants