delta
delta copied to clipboard
Replace deprecated lodash.isequal with internal implementation to remove warnings
Motivation
This PR removes the deprecated lodash.isequal dependency, which is currently used by this package and causes deprecation warnings for downstream consumers.
Since [email protected] is no longer maintained and emits security/audit warnings, we’ve replaced it with a minimal internal utility that performs deep equality checks for arrays and plain objects.
What was done
- Removed
lodash.isequalfrom dependencies - Added internal
isEqualutility that handles the required comparison logic
Benefits
- No more deprecated or noisy audit warnings in dependent projects
- Lighter dependency footprint
- Improved maintainability and forward compatibility
Let me know if you'd prefer to replace it with a different utility (e.g. fast-deep-equal) instead of a custom implementation.
I hope this PR will merge
@r-farkhutdinov why not use lodash directly and let tree-shaking remove what is not needed?