Uniswap / token-lists

📚 The Token Lists specification
https://tokenlists.org
MIT License
1.4k stars 951 forks source link

Further generalize compareTokenInfoProperty for token list diffing #84

Open DZGoldman opened 2 years ago

DZGoldman commented 2 years ago

Currently it checks for 3 cases an then fallbacks to false (i.e., unequal), which always returns a "patch" change for any extensions object; e.g. this standard. Any reason not to fallback to a deep-equals here?

moodysalem commented 2 years ago

no idea why i didn't just pull in deep-equals