-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Drop nodejs 6 from dependencies for next #1732
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 nodejs 6 from dependencies for next #1732
Conversation
|
Would you mind removing the |
|
Note that only packages that need to be updated now (currently) are: tap, tap-mocha-reporter, and then remove joi and tap-mocha-reporter from greenkeeper ignore list). If I update both to latest I have some errors during tests: I think we should update and fix them (if it's something in Fastify code) ... but to let you know I should commit with '--force' so we can see here from CI builds, ok ? Thanks a lot. |
|
I you should also update
I don't understand. Use |
|
@mcollina reply inline
done, thanks for the hint
if I commit the upgrade even of Tap and related other library, there are some tests which fails, so to commit/push I need to skip pre-commit hook failures ... but in this way I can show to you the problem, makes sense ? |
|
git commit -n it skips the pre-commit hooks |
|
@mcollina commit even updates to latest version for tap and tap-mocha-reporter (skipping pre-commit hook), so you can see CI failure in some tests ... let's update soon because I'll need some help understanding if/what/how we need to fix something. Thanks for now. Bye |
|
I would recommend passing the ‘--no-esm’ option to tap. It might be related to that. |
sorry but even with that flag I see same errors ... |
|
I would change those two lines: fastify/test/internals/initialConfig.test.js Lines 201 to 202 in 25d822b
base64 of those. I think for some reasons comparing two buffers have changed behavior.
|
ok, I'll try to do it and keep you updated, thanks for the suggestion |
mcollina
left a comment
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.
LGTM
|
We can land if CI is happy. |
|
I still see a problem with Windows_yarm node_10_x and Windows_yarm node_12_x, it seems a timeout problem; later today I'll squash the branch to see if all builds are successful |
explicit update all dependencies to latest; only Tap will be updated later
update 'joi' to the new package name ('@hapi/joi')
update tap and tap-mocha-reporter to latest; note that this currently breaks some tests
fix failing tests (since Tap 14.x) on cloned options; explicit set Tap version to latest
update test to not clone anymore object containing Buffer instances
remove boom from greenkeeper ignore list
|
@mcollina all done :-) . Bye |
mcollina
left a comment
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.
LGTM
…er) (fastify#1732) explicit update all dependencies to latest; only Tap will be updated later update 'joi' to the new package name ('@hapi/joi') update tap and tap-mocha-reporter to latest; note that this currently breaks some tests fix failing tests (since Tap 14.x) on cloned options; explicit set Tap version to latest update test to not clone anymore object containing Buffer instances remove boom from greenkeeper ignore list
|
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hi all,
this is another part of changes for issue Drop support for Node.js 6.x in Fastify v3, related to update all dependcies to latest release (some packages were kept to be compatible with Node.js 6 before).
In first commit I updated only old packages (pinned to keep compatibility with node.js 6: joi, lolex), while in the second commit I updated explicitly all other dependencies to latest, to ensure all is good with current packages.
Hope it's good.
Bye
Checklist
npm run testandnpm run benchmark