techfort / LokiJS

javascript embeddable / in-memory database
http:/techfort.github.io/LokiJS
MIT License
6.71k stars 478 forks source link

Incorrect implementation of `ResultSet.update` #915

Open Losses opened 1 year ago

Losses commented 1 year ago

Since disableFreeze is defined in Collection, but not in ResultSet: https://github.com/techfort/LokiJS/blob/master/src/lokijs.js#L5064

But the member is used in ResultSet: https://github.com/techfort/LokiJS/blob/master/src/lokijs.js#L3894

This will always return false.