<#1175 fix: retire lodash omitby to fix vulnerabil...
# pact-js-development
g
#1175 fix: retire lodash omitby to fix vulnerability Pull request opened by yukun-han Checklist ☑︎
npm run dist
works locally (this will run tests, lint and build) ☑︎ Commit messages are ready to go in the changelog (see below for details) ☑︎ PR template filled in (see below for details) Summary Mentioned in issue #1169,
lodash.omitby
will be reported security risk by BlackDuck. This PR retired
lodash.omitby
dependency and replaced it with
ramda
to avoid vulnerability.
lodash.omitby
is used to filter out null and undefined value from a object.
ramda
does not provide same name
omitBy
function but this functionality could be achieved by
ramda.reject
referring to link. pact-foundation/pact-js ✅ All checks have passed 10/10 successful checks