14 Commits

Author SHA1 Message Date
arthurfiorette
a7751fd1cb
tests: 100% coverage again 2022-01-03 09:21:16 -03:00
arthurfiorette
e776f01c98
refactor: simplified header interpreter 2022-01-02 20:32:29 -03:00
arthurfiorette
fec63a84a7
test: added one simple test 2021-12-27 09:05:53 -03:00
arthurfiorette
6ce658b053
deps: use cache-parser 2021-12-13 15:32:38 -03:00
arthurfiorette
6929b021e0
style: fixed prettier plugin order 2021-12-11 10:43:11 -03:00
Hazork
76a8af7433 feat: immutable cache support 2021-11-11 14:26:27 -03:00
Arthur Fiorette
92b9ed7abf
feat: more headers supports, tests and must-revalidate fix (#51)
* feat: must-revalidate and headers enum
* test: added more tests
* test: test and code fixes
* test: more tests
2021-11-11 14:16:37 -03:00
Hazork
f8adcc4352 fix: force import type to help compilation tools 2021-09-26 16:24:33 -03:00
Hazork
33b8dcd58b refactor!: updated all exports 2021-09-21 12:01:47 -03:00
Hazork
70e5c07ff3 refactor: concurreny fixes and refactored deferred
Also changed format settings,
fixed AxiosResponse types
and coded more tests
2021-09-20 12:04:40 -03:00
Hazork
f4bbd8b832 feat: enable cache by creating or applying 2021-09-19 18:06:02 -03:00
Hazork
1f88779e46 fix: axios headers are lowercased 2021-09-16 19:11:45 -03:00
Hazork
288c11849c feat: interpreter also handles Expires header (and tests) 2021-09-13 17:46:26 -03:00
Hazork
ce2b7ecb4b refactor: externalized the header interceptor 2021-09-11 10:21:53 -03:00