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

Remove old references to Node v4, small cleanup of node version stuff #53174

Merged
merged 3 commits into from Mar 9, 2023

Conversation

jakebailey
Copy link
Member

This removes the places where we check if we're in Node 4 as we at a minimum realistically only support Node 10.

Also, remove a helper for parsing out the node version; it's only used for a debug log.

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Mar 9, 2023
@@ -1449,21 +1449,6 @@ declare const global: any;
declare const __filename: string;
declare const __dirname: string;

export function getNodeMajorVersion(): number | undefined {
Copy link
Member Author

Choose a reason for hiding this comment

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

I could leave this, but, it's always going to be in the git history.

Copy link
Member Author

Choose a reason for hiding this comment

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

Wow, this was public. Why?

Copy link
Member

Choose a reason for hiding this comment

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

Consider cherry-picking to release-5.0?

Copy link
Member Author

Choose a reason for hiding this comment

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

This whole PR? Or should I just make the function internal so it looks like it's going away?

@jakebailey
Copy link
Member Author

@typescript-bot cherry-pick this to release-5.0

@typescript-bot
Copy link
Collaborator

Heya @jakebailey, I'm starting to run the task to cherry-pick this into release-5.0 on this PR at 036e568. Hold tight - I'll update this comment with the log link once the build has been queued.

@typescript-bot
Copy link
Collaborator

Hey @jakebailey, I've opened #53189 for you.

typescript-bot pushed a commit to typescript-bot/TypeScript that referenced this pull request Mar 9, 2023
Component commits:
16a8abd Remove old references to Node v4

5a62810 Remove function only used for logging

036e568 Update baselines (this was public???)
@jakebailey jakebailey added this to the TypeScript 5.0.2 milestone Mar 9, 2023
@jakebailey jakebailey merged commit ddcbd9f into microsoft:main Mar 9, 2023
18 checks passed
@jakebailey jakebailey deleted the old-node-cleanup branch March 9, 2023 22:32
DanielRosenwasser pushed a commit that referenced this pull request Mar 14, 2023
…e-5.0 (#53189)

Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
drivron pushed a commit to scenari/typescript that referenced this pull request Sep 14, 2023
…to release-5.0 (microsoft#53189)

Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
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.

None yet

5 participants