Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

fix: swap joi-browser with superstruct #1961

Merged
merged 2 commits into from
Mar 28, 2019
Merged

Conversation

hugomrdias
Copy link
Member

@hugomrdias hugomrdias commented Mar 22, 2019

The validation is now a bit more strict.
Relay config is removed because libp2p already validates it.
A bug was detected and fixed because the validation is stricter.
This should improve the overall bundle size and safety of handling the config.

This PR is a subset of #1795 to make review and merge easier.

@ghost ghost assigned hugomrdias Mar 22, 2019
@ghost ghost added the status/in-progress In progress label Mar 22, 2019
@hugomrdias
Copy link
Member Author

this is failing because of #1955

@alanshaw
Copy link
Member

@hugomrdias #1955 is now merged - can we get CI 🍏 for this one now?

The validation is now a bit more strict.
Relay config is removed because libp2p already validates it.
A bug was detected and fixed because the validation is stricter.
This should improve the overall bundle size and safety handling the config.
@hugomrdias hugomrdias force-pushed the fix/bundle-size-remove-joi branch from fd9f38a to 9f46e9a Compare March 27, 2019 14:21
@hugomrdias
Copy link
Member Author

@alanshaw ready to merge

@alanshaw alanshaw merged commit 8fb5825 into master Mar 28, 2019
@ghost ghost removed the status/in-progress In progress label Mar 28, 2019
@alanshaw alanshaw deleted the fix/bundle-size-remove-joi branch March 28, 2019 19:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants