-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 support for pre v16 joi #4474
base: next
Are you sure you want to change the base?
Conversation
@kanongil Is this still a valid PR? Any chance you can update it if need be? We're converging for a major release and may include this if it's ready. |
There might be an issue with this PR, let me check… |
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.
We need to keep support for non-async validators, since an external validator might only use this.
Ie. I have removed the logic changes, and this patch just replaces the legacy joi test, with a custom non-async validator test.
The test failures seem unrelated to this PR. Note that node@14 also a fails while reporting a false positive.
Note that since this no longer changes the logic, this patch could also be applied against the main branch. |
@kanongil Can you rebase and fix the lint errors on this? |
No – It is already based of the tip of |
The last
[email protected]
was released more than 4 years ago. It should be safe to drop (in a breaking release).This also removes several npm deprecation notices when installing dev dependencies.