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 joi to 17.4.0 and adapt the codebase #99899

Merged
merged 32 commits into from
May 20, 2021
Merged
Show file tree
Hide file tree
Changes from 27 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
eefd427
bump joi to 17.4.0, start adapting stuff
pgayvallet May 11, 2021
a148a25
remove custom validation rule, adapt instead
pgayvallet May 11, 2021
f7591b2
fix error handling
pgayvallet May 11, 2021
6c86026
fix error handling again
pgayvallet May 11, 2021
e23bcb0
fix strings type & validation
pgayvallet May 11, 2021
a8789e4
fix buffers and arrays
pgayvallet May 12, 2021
1c454eb
fix bytes
pgayvallet May 12, 2021
f4578fa
fix bytes_size type
pgayvallet May 12, 2021
5eab450
update conditional_type error messages in tests
pgayvallet May 12, 2021
831649f
fix duration and map types
pgayvallet May 12, 2021
e76029d
first attempt to fix union type error messages
pgayvallet May 12, 2021
a6fd0e6
revert conditional type assertions back to master state
pgayvallet May 12, 2021
83d41ab
fix object type
pgayvallet May 12, 2021
69007a3
fix record type
pgayvallet May 12, 2021
56eb879
fix stream types
pgayvallet May 12, 2021
cbf105e
rename test files to match sources
pgayvallet May 12, 2021
c238519
fix union type tests
pgayvallet May 12, 2021
1783023
temporary adapt feature/home usages of Joi
pgayvallet May 12, 2021
f344583
fix lint
pgayvallet May 12, 2021
acf5073
adapt test assertion
pgayvallet May 12, 2021
3513b24
fix http config schema validation
pgayvallet May 12, 2021
73bd9f6
fix @kbn/test Config class
pgayvallet May 12, 2021
3aa3b71
fix config again
pgayvallet May 12, 2021
d3617ed
Merge remote-tracking branch 'upstream/master' into kbn-xxx-joi-migra…
pgayvallet May 18, 2021
1dfe1b0
fix reporting schema tests
pgayvallet May 18, 2021
76d5445
fix security solution schema
pgayvallet May 18, 2021
344926d
adapt url tests
pgayvallet May 18, 2021
0952a6d
remove useless comment
pgayvallet May 18, 2021
645f9fb
remove space
pgayvallet May 18, 2021
d1c61fe
typo
pgayvallet May 18, 2021
d0ff45d
Merge remote-tracking branch 'upstream/master' into kbn-xxx-joi-migra…
pgayvallet May 20, 2021
c69cbf1
review comments
pgayvallet May 20, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@
"io-ts": "^2.0.5",
"ipaddr.js": "2.0.0",
"isbinaryfile": "4.0.2",
"joi": "^13.5.2",
"joi": "^17.4.0",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

💪

"jquery": "^3.5.0",
"js-levenshtein": "^1.1.6",
"js-search": "^1.4.3",
Expand Down Expand Up @@ -548,7 +548,7 @@
"@types/jest": "^26.0.22",
"@types/jest-specific-snapshot": "^0.5.5",
"@types/jest-when": "^2.7.2",
"@types/joi": "^13.4.2",
"@types/joi": "^17.2.3",
"@types/jquery": "^3.3.31",
"@types/js-search": "^1.4.0",
"@types/js-yaml": "^3.11.1",
Expand Down
Loading