marcuswestin / store.js

Cross-browser storage for all use cases, used across the web.
MIT License
14.02k stars 1.33k forks source link

Expire and Events plugins conflict with each other, results in RangeError: Maximum call stack size exceeded #235

Closed iwsfg closed 7 years ago

iwsfg commented 7 years ago

I've been repeatedly getting RangeError: Maximum call stack size exceeded errors when tried to use the library in combination with expire and events plugins.

Here's the test case: https://repl.it/IRXf/1

All you need to have is one expiration record for the key you're trying to update and it breaks on the next set() call.

Browser: Chrome 58.0.3029.110 (64-bit)

marcuswestin commented 7 years ago

Looking at this now