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

Upgrade hapi.js dependencies #1958

Closed
jithine opened this issue Feb 10, 2020 · 1 comment
Closed

Upgrade hapi.js dependencies #1958

jithine opened this issue Feb 10, 2020 · 1 comment
Assignees
Labels

Comments

@jithine
Copy link
Member

jithine commented Feb 10, 2020

What happened:

Screwdriver hapi.js dependencies are outdated and not supported anymore.

What you expected to happen:

Use current stable versions of hapi dependencies.

How to reproduce it:

N/A

@pritamstyz4ever
Copy link
Contributor

Initial upgrade:
data-schema:

Upgrade to @hapi/joi
Update breaking schemas:
TypeError: Joi.object(...).keys(...).requiredKeys is not a function
TypeError: Joi.reach is not a function
Error: "language" is not allowed
Error: Method no longer accepts array arguments: valid. Joi.string.valid() does not allow array
Update structure of Joi.extend schema
https://github.com/sideway/joi/blob/v17.1.1/API.md#extendextensions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants