Commit Graph

10 Commits

Author SHA1 Message Date
Mariusz Nowak
9b1d235a34 refactor: update up to new lint rules 2017-08-28 13:51:01 +02:00
Mariusz Nowak
9e574d8df5 -- lint 2014-08-21 15:45:29 +02:00
Mariusz Nowak
c691c97a8d Fix returning id (after clear) race cond issue
Fix #18
2014-07-28 18:12:13 +02:00
Mariusz Nowak
da0f3356a7 Fix internal primitive id resolution. Fix #15
It was not forced to be serialized to string, therefore it collided
with `null` case
2014-07-07 12:15:46 +02:00
Mariusz Nowak
4168a0e9cd Assure unique cache ids among clear calls. Fix #13 2014-06-22 12:05:03 +02:00
Mariusz Nowak
eb72d16bf6 Major reorganization and partial refactoring
- Move out main modules from `lib` folder
- Introduce `normalizer` based configurations, and convert primitive and regular handlers into thos normalizers (can be found in lib/normalizers folder). Custom normalizers can be provided at run time via `normaizer` option
- Provide `plain` module which does not load any extensions or normalizers. Any extensions that have to be used should be required upfront and normalizers should be provided directly
- Remove `method` option, instead `methods` and `methods-plan` modules are provided which generate descriptors for lazy created memoized methods
- `profile` is no longer extension. To be used it should be required directly
- Improve logic for `async` handling
- Take out `max` extensionLRU logic into external `lru-queue` package
- Remove `context` option
- Remove possibility to access original arguments when resolvers are used
- Assure expected length of memoized functions
2014-04-27 12:11:06 +02:00
Mariusz Nowak
ff85fb5228 Do not emit asyncpurge on uninitialized values
Fix #9
2013-10-08 15:20:23 +02:00
Mariusz Nowak
a62f1680af -- lint 2012-09-21 15:14:19 +02:00
Mariusz Nowak
eada1427eb Keep refCounter async tests at refCounter section 2012-09-21 14:06:13 +02:00
Mariusz Nowak
146e59e543 Modularization. Cleanup and logic improvements.
Additionally changed max option algorithm from FIFO to LRU
2012-09-21 12:04:55 +02:00