delta icon indicating copy to clipboard operation
delta copied to clipboard

Replace deprecated lodash.isequal with internal implementation to remove warnings

Open r-farkhutdinov opened this issue 7 months ago • 2 comments

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.isequal from dependencies
  • Added internal isEqual utility 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.

r-farkhutdinov avatar May 28 '25 10:05 r-farkhutdinov

I hope this PR will merge

AssafGolani avatar Jul 07 '25 08:07 AssafGolani

@r-farkhutdinov why not use lodash directly and let tree-shaking remove what is not needed?

aqeelat avatar Oct 05 '25 16:10 aqeelat