-
Notifications
You must be signed in to change notification settings - Fork 153
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
feat: upgrade to @hapi #201
Conversation
Joi seems to have ditched the Also sinon is complaining about double-wrapped methods Among other random test failures |
@JKHeadley Some deps are still downgraded (since I tried fixing the tests this way, but seems that most are broken because of hapi API changes). Also joi-objectid has a problem with the new joi, so that is forked now as well. Btw, I have sent an email to the owner of the loggin package and CC'd npm support, so if it won't get updated I'll possibly get to take it over next month. I'll do the same one for joi-objectid, since peeble is now bought by fitbit and I doubt they're doing much opensource for it now. |
@mkg20001 Awesome about loggin and joi-objectId, def let me know how it goes! |
@JKHeadley I now own loggin (and the underlying gh-organization fistlabs) In case of joi-objectid: I'll let the pr idle until the end of the month before contacting support. (Edit: I've saved the email as a draft, could you possibly remind me in a few weeks to send it?) |
@JKHeadley Besides that, could you look into the tests? I'm clueless as to what is broken, but since you've written it you might be able to get a better idea. |
Great news! Yeah I'll try to look into the tests. |
Note that a possible bugfix for joi errors that include something about |
Codecov Report
@@ Coverage Diff @@
## master #201 +/- ##
======================================
Coverage 94.3% 94.3%
======================================
Files 51 51
Lines 11827 11827
======================================
Hits 11154 11154
Misses 673 673
Continue to review full report at Codecov.
|
I've sent out the email to joi-objectid now instead of waiting forever. Response is that it's a bit complicated since the company that owns it is now gone. |
Pushed some changes to fix the tests. I'll leave it up to you, but I think for now keeping Joi to v14 will be a good idea so we can merge the rest. The jump from 14 to 16 looks to be pretty major: Maybe we can tackle that one in a different PR. |
Sure, sounds pretty reasonable |
So LGTM? |
Merged! Thanks for all the work! 👍 |
This upgrades all packages and switches namespaces for old hapi packages to new namespace, to fix warnings and security issues.