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

Drop support for Node 10 #5436

Merged
merged 2 commits into from
Mar 9, 2024
Merged

Drop support for Node 10 #5436

merged 2 commits into from
Mar 9, 2024

Conversation

timmywil
Copy link
Member

@timmywil timmywil commented Mar 8, 2024

Summary

  • remove all the things we had in place so the build worked in Node 10
  • fix an issue with test cleanup if the server ever stalled

Checklist

@timmywil timmywil mentioned this pull request Mar 8, 2024
2 tasks
@timmywil timmywil requested a review from mgol March 8, 2024 23:44
Copy link
Member

@mgol mgol left a comment

Choose a reason for hiding this comment

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

LGTM

const path = require( "path" );
const util = require( "util" );
const exec = util.promisify( require( "child_process" ).exec );
const fs = require( "node:fs/promises" );
Copy link
Member

Choose a reason for hiding this comment

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

Not for this PR but maybe we could eventually make all our Node build files ESM instead of CommonJS?

Copy link
Member Author

Choose a reason for hiding this comment

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

Maybe that's something I could tackle in the release PR.

Copy link
Member

@mgol mgol left a comment

Choose a reason for hiding this comment

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

Actually, one comment

"express-body-parser-error-handler": "1.0.7",
"globals": "14.0.0",
"husky": "8.0.3",
"husky": "9.0.11",
Copy link
Member

Choose a reason for hiding this comment

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

On the 3.x PR, you also changed husky install to husky. Isn't that required here as well?

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks, I meant to do that. Both technically work, but the first is deprecated.

@timmywil timmywil force-pushed the node-10 branch 2 times, most recently from c987cbd to 08f1b40 Compare March 9, 2024 15:32
@timmywil timmywil merged commit 0754d59 into jquery:main Mar 9, 2024
13 checks passed
@timmywil timmywil deleted the node-10 branch March 9, 2024 15:36
timmywil added a commit that referenced this pull request Mar 9, 2024
@mgol mgol added the Build label Mar 19, 2024
@mgol mgol added this to the 4.0.0 milestone Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

None yet

2 participants