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: add requiredDeep() #24

Merged
merged 3 commits into from May 12, 2019
Merged

feat: add requiredDeep() #24

merged 3 commits into from May 12, 2019

Conversation

unional
Copy link
Owner

@unional unional commented May 12, 2019

fix: use deepmerge instead of lodash.merge internally.

lodash.merge is big compare to deepmerge.

Change the behavior when the first argument is undefined or null.
This could be breaking but I consider it as not because the type prevent this from happening.
And in normal usecase this should not happen.

The new behavior is more consistent.

fix: use `deepmerge` instead of `lodash.merge` internally.

`lodash.merge` is big compare to `deepmerge`.

Change the behavior when the first argument is undefined or null.
This could be breaking but I consider it as not because the type prevent this from happening.
And in normal usecase this should not happen.

The new behavior is more consistent.
@coveralls
Copy link

coveralls commented May 12, 2019

Coverage Status

Coverage remained the same at 100.0% when pulling 514de06 on required-deep into 8fe4c5e on master.

@codecov-io
Copy link

codecov-io commented May 12, 2019

Codecov Report

Merging #24 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #24   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           4      3    -1     
  Lines          35     14   -21     
  Branches        8      1    -7     
=====================================
- Hits           35     14   -21
Impacted Files Coverage Δ
src/index.ts 100% <ø> (ø) ⬆️
src/required.ts 100% <100%> (ø) ⬆️
src/unpartial.ts 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8fe4c5e...514de06. Read the comment docs.

@unional unional merged commit 49f1352 into master May 12, 2019
@unional
Copy link
Owner Author

unional commented May 12, 2019

🎉 This PR is included in version 0.6.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

None yet

3 participants