Mariusz Nowak
fe3e4922a7
style: Prettify
2024-05-23 21:55:17 +02:00
Mariusz Nowak
4578f94a5c
test: increase timeouts to avoid CI race conditions
2018-10-22 11:39:03 +02:00
Mariusz Nowak
31c50d0ded
test: increase time resolution to prevent accidental fails
2018-08-29 10:47:14 +02:00
Mariusz Nowak
8e8dfb6392
test: docs
2018-08-29 10:45:26 +02:00
Page-
b4b018d83e
feat(promise): support cancellation case
...
PR #97 by @Page-
2018-08-06 20:55:10 +02:00
Mariusz Nowak
072a0770a4
style: prettier
2018-08-04 09:03:57 +02:00
Mariusz Nowak
f45faded9b
style: prettier
2018-08-04 09:03:46 +02:00
Mariusz Nowak
26abc7a0cb
style: prettier
2018-08-04 09:03:33 +02:00
Mariusz Nowak
1577932525
test: increase timeouts to avoid race conditions
2018-07-11 10:29:11 +02:00
Mariusz Nowak
766a2bd2cc
test: increase gaps to avoid race conditions in CI
2018-07-03 09:01:26 +02:00
Mariusz Nowak
f63d7873f9
test: add comments
2018-07-03 08:59:45 +02:00
Mariusz Nowak
8a9c3a7d33
test: increase wait time (to avoid race conditions)
2018-07-02 09:51:03 +02:00
Mariusz Nowak
9446048064
test: rely on timeout not immune to race conditions
...
(we observed occasional CI fails)
2018-01-30 14:21:20 +01:00
Mariusz Nowak
ceb1a7e204
test: add explanations
2018-01-30 14:20:49 +01:00
Mariusz Nowak
84dc62823c
style: whitespace
2018-01-30 14:19:34 +01:00
Mariusz Nowak
66da13701f
style: whitespace
2018-01-30 14:18:38 +01:00
Mariusz Nowak
053361dd6a
style: update to new lint rules
2017-09-07 08:58:41 +02:00
Mariusz Nowak
3aa13c3070
refactor: update after change of linter
2017-08-28 15:13:36 +02:00
Mariusz Nowak
9b1d235a34
refactor: update up to new lint rules
2017-08-28 13:51:01 +02:00
Mariusz Nowak
4a25558e23
Force 'done' mode when errors are involved
2016-07-13 09:48:31 +02:00
Mariusz Nowak
de187ba8dd
Improve tests against race conditions
2016-07-07 14:54:46 +02:00
Mariusz Nowak
1a102b3143
Improve tests against race conditions
2016-07-07 14:20:29 +02:00
Mariusz Nowak
9e3cc51cfc
Add comments to tests
2016-07-07 14:10:36 +02:00
Mariusz Nowak
92f507f317
Delay some tests to avoid race conditions
2016-07-07 13:47:39 +02:00
Mariusz Nowak
d87a7f6660
Bring back right require
2016-07-07 13:47:17 +02:00
Mariusz Nowak
2896dc25a9
Improve tests
...
So they're not immune to race conditions
2016-07-07 12:51:13 +02:00
Mariusz Nowak
a44a2f9564
Adjust tests for impls with not forced async
2016-07-07 12:44:27 +02:00
Mariusz Nowak
cd24707e87
Add 'promise' mode tests to 'ref-counter' test
2016-07-07 12:12:12 +02:00
Mariusz Nowak
39c0df55f9
Remove obsolete arg
2016-07-07 11:52:40 +02:00
Mariusz Nowak
ab45d8b2fb
Add promise mode tests to 'max' tests
2016-07-07 11:51:40 +02:00
Mariusz Nowak
14bdf961b7
Improve tests
2016-07-07 11:36:09 +02:00
Mariusz Nowak
307e290f1b
Add promise tests to dispose
2016-07-05 17:36:02 +02:00
Mariusz Nowak
b30613903d
Use done instead of then in tests
2016-07-05 17:33:38 +02:00
Mariusz Nowak
c0c7515098
-- convention
2016-07-05 17:31:35 +02:00
Kirill Efimov
9cf8df8c22
Added promise support
2016-01-27 04:16:49 +03:00
Mariusz Nowak
9e574d8df5
-- lint
2014-08-21 15:45:29 +02:00
Mariusz Nowak
168a9faf87
Fix prefetch support for asynchronous functions
...
Fix #19
2014-08-14 11:16:31 +02:00
Mariusz Nowak
fd0f39c3d5
Fix major issue in maxAge functionality
...
After timeout whole cache was cleared instead of call in question
2014-07-28 18:16:53 +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
05949b19e3
Merge with v0.2
2013-10-08 15:27:12 +02:00
Mariusz Nowak
ff85fb5228
Do not emit asyncpurge on uninitialized values
...
Fix #9
2013-10-08 15:20:23 +02:00
Mariusz Nowak
3a25f3d14c
Update up to changes in es5-ext package
2013-10-01 15:14:15 +02:00
Mariusz Nowak
2986e6d0e9
Update up to changes in es5-ext package
2013-08-28 12:59:22 +02:00
Mariusz Nowak
b0ad851327
-- lint
2013-08-07 22:40:53 +02:00
Mariusz Nowak
d8136b32c8
-- lint
2013-07-24 13:47:34 +02:00
Mariusz Nowak
fb4439692d
Improve 'method' functionality.
...
- Proto chain safe
- Memoized method is ready right after first access (previously it was bundled on first invokation which was problematic)
- memoize when used with method option returns object with name -> descriptor content, it should be used with Object.defineProperties on target object
2013-02-11 17:43:55 +01:00
Mariusz Nowak
0e32a471f6
Run dispose in same context as main function
2013-02-11 16:28:59 +01:00