-
Notifications
You must be signed in to change notification settings - Fork 55
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
Bump yup from 0.32.11 to 1.3.3 in /frontend #7113
Conversation
@dependabot rebase |
04c5169
to
8eff0f3
Compare
lots of breaking changes with this major version bump -- I will work on getting this fixed up :) |
Still work-in-progress! need to smoke test forms |
494af8e
to
d6aa002
Compare
3bd8810
to
245d0e3
Compare
@@ -92,13 +92,15 @@ export const initOrgErrors = (): Record< | |||
workPhoneNumber: "", | |||
}); | |||
|
|||
export const organizationSchema: yup.SchemaOf<OrganizationCreateRequest> = yup | |||
.object() | |||
.shape({ |
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.
@@ -15,17 +11,3 @@ export interface EditOrgMutationResponse { | |||
editPendingOrganization: string; | |||
}; | |||
} | |||
|
|||
const phoneNumberIsValidOrEmpty = (input: any) => |
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.
@@ -25,7 +25,8 @@ const phoneUtil = PhoneNumberUtil.getInstance(); | |||
const MAX_LENGTH = 256; | |||
const NOTES_MAX_LENGTH = 10000; | |||
|
|||
type TranslatedSchema<T> = (t: TFunction) => yup.SchemaOf<T>; |
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.
SchemaOf
https://github.com/jquense/yup/releases/tag/v1.0.0-alpha.3
This is ready for review! Deployed on dev7 |
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.
Tested out on dev7 and overall everything seems good!
Bumps [yup](https://github.com/jquense/yup) from 0.32.11 to 1.3.3. - [Release notes](https://github.com/jquense/yup/releases) - [Changelog](https://github.com/jquense/yup/blob/master/CHANGELOG.md) - [Commits](jquense/yup@v0.32.11...v1.3.3) --- updated-dependencies: - dependency-name: yup dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
245d0e3
to
4d6aff5
Compare
Quality Gate failedFailed conditions 76.5% Coverage on New Code (required ≥ 80%) |
Bumps yup from 0.32.11 to 1.3.3.
Release notes
Sourced from yup's releases.
... (truncated)
Changelog
Sourced from yup's changelog.
... (truncated)
Commits
5db2b2f
Publish v1.3.3f921fe6
fix(addMethod): allow Schema without making TypeScript upseta58f02d
Publish v1.3.22f2c0aa
fix type020901f
Allow parent resolve before describe. (#2051)6956ee7
fix: pick and omit with excluded edgese15297b
Publish v1.3.1bc5121b
fix: ValidationError extends Error9c1208c
Publish v1.3.0809b55a
fix: add tuple to locale object (#2100)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)