Skip to content

issues Search Results · repo:mattphillips/deep-object-diff language:JavaScript

Filter by

62 results
 (58 ms)

62 results

inmattphillips/deep-object-diff (press backspace or delete to remove)

On using updateDiff I m getting this error: [Nest] 1 - 06/04/2025, 6:52:38 PM ERROR [ExceptionsHandler] Maximum call stack size exceeded RangeError: Maximum call stack size exceeded at /app/node_modules/deep-object-diff/cjs/updated.js:19:34 ...
  • iampato
  • Opened 
    17 days ago
  • #106

While comparing two strings if there is whitespace in the target, it shows as a change and returns a change value, is there any options to trim the string before comparison?
  • i-paragsaxena
  • 1
  • Opened 
    on Jul 29, 2024
  • #104

When comparing two mongoose models whose _id or discriminated docs arent equal, the library returns no differences. Steps to reproduce: (pseudo code) 1.Find a document const original = await exampe.findOne(...); ...
  • soknifedev
  • 1
  • Opened 
    on Jun 26, 2024
  • #103

Some objects such as a map cannot have their keys or entries retrieved via Object.keys or Object.entries and you need to instead call those functions on the object itself e.g. new Map().entries() Could ...
  • SZOKOZ
  • Opened 
    on Mar 6, 2024
  • #102

Hey, thanks for the code. I m trying to replace our custom implementation with this lib and I noticed that filter1: { something: { values: [ Item-1 , Item-2 ], operator: 1, ...
  • trainoasis
  • 1
  • Opened 
    on Feb 12, 2024
  • #100

https://github.com/mattphillips/deep-object-diff/blob/a24d61fea6d6d644fc3e32a853f685953d6d5b41/src/added.js#LL5C1-L5C1 if (lhs === rhs || !isObject(lhs) || !isObject(rhs)) return {}; If we could return ...
  • robcdd
  • Opened 
    on Jun 2, 2023
  • #97

It would be great if you could give a third parameter to the methods with a few configuration options, like for example: - comparing operator: Strict (===) or Loose(==). And set the default to strict ...
  • FZ-Iskandar
  • 1
  • Opened 
    on May 8, 2023
  • #96

I think I m just re-reporting https://github.com/mattphillips/deep-object-diff/issues/79. diff({ test: [] }, { test: [ apple ] }) returns { test: { 0: apple }
  • StephenTHendrix
  • 6
  • Opened 
    on Mar 28, 2023
  • #94

Could you also export a function called equals like so? const equals = (a, b) = Object.keys(diff(a, b)).length === 0; This would make it more obvious that additional packages like https://www.npmjs.com/package/fast-deep-equal, ...
  • vikingair
  • Opened 
    on Feb 15, 2023
  • #93

I know this is a duplicate of some Issues, but I haven t found a solution yet. Here is an example: https://gist.github.com/blockiyt/0e37ca606ec232b38599d271d6aacdd9 Is it possible to fix that, or to ...
  • einlichtvogel
  • Opened 
    on Jan 30, 2023
  • #91
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub