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

Migrate from @hapi/joi to joi #119

Merged
merged 1 commit into from
Sep 2, 2020
Merged

Conversation

rentzsch
Copy link
Contributor

@@ -33,7 +33,7 @@
"middleware"
],
"dependencies": {
"@hapi/joi": "17.x.x",
"joi": "17.x.x",
"@types/express": "4.x.x",
"@types/hapi__joi": "16.x.x"
Copy link

Choose a reason for hiding this comment

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

Shouldn't this change to @types/joi? We may need to wait until it gets in sync with the last release of joi

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yup, should probably jump "@types/hapi__joito@types/joi`. But as you mentioned it still hasn't caught up, so that's probably another, later, Pull Request.

This PR should be mergeable now, and would remove the deprecation warning at npm/yarn install time.

Copy link
Owner

Choose a reason for hiding this comment

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

Many thanks

Copy link

Choose a reason for hiding this comment

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

Re: @types/joi, there is a PR to update the types DefinitelyTyped/DefinitelyTyped#46241 but it looks like the progress has stalled.

@AndrewKeig AndrewKeig merged commit d07c738 into AndrewKeig:master Sep 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants