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

feat(1958): Upgrade hapiv19 dependencies BREAKING CHANGE #65

Merged
merged 3 commits into from
Aug 21, 2020

Conversation

pritamstyz4ever
Copy link
Contributor

Context

Upgrade to latest hapi js version v19 supported and stable version

Objective

This PR upgrades joi version to 17.x.x

References

screwdriver-cd/screwdriver#1958

License

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

@pritamstyz4ever pritamstyz4ever changed the title Hapi v19 feat(1958): Upgrade hapiv19 dependencies BREAKING CHANGE Aug 21, 2020
@@ -1,11 +1,11 @@
{
"name": "screwdriver-executor-base",
"version": "5.2.0",
"version": "8.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

I thought it ought to be 6.0.0? Then I checked releases, releases are on 7.5.x already. Never mind.

Copy link
Contributor

@adong adong left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -28,7 +27,7 @@ const annotationRe = /screwdriver.cd\/(\w+)/;
* @return {Promise}
*/
async function validate(config, schema) {
const result = Joi.validate(config, schema);
const result = schema.validate(config);
Copy link
Contributor

Choose a reason for hiding this comment

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

This actually reads better (to me).

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.

2 participants