Arthur Fiorette
|
cf97535d33
|
fix: cache update not being executed correctly (#283)
* test: added flaky test
* fix: fixed flaky test
* style: formatted code
|
2022-06-29 22:04:28 -03:00 |
|
arthurfiorette
|
dfe1595f3b
|
docs: improved override docs
|
2022-06-05 20:56:34 -03:00 |
|
arthurfiorette
|
67bad3772d
|
docs: typos
|
2022-06-05 11:31:06 -03:00 |
|
arthurfiorette
|
338c9a6888
|
feat: better override documentation
|
2022-06-05 11:26:17 -03:00 |
|
arthurfiorette
|
268fccb935
|
feat: override cache option
|
2022-06-05 11:26:00 -03:00 |
|
arthurfiorette
|
d87307ae93
|
feat: remove remnant x-axios-headers from server response
|
2022-06-05 09:50:02 -03:00 |
|
Heiko Rothkranz
|
728b69d71a
|
fix: Interpret max-age=0 as a valid cache-control header (#253)
* fix: Interpret `max-age=0` as a valid `cache-control` header
* tests: added max-age=0 test
* fix: fixed linting
Co-authored-by: arthurfiorette <arthur.fiorette@gmail.com>
|
2022-06-02 21:57:51 -03:00 |
|
arthurfiorette
|
623ae22053
|
refactor: updated some minor things
|
2022-05-07 15:08:52 -03:00 |
|
arthurfiorette
|
b6302efb80
|
fix: removed symbol to preserve sideEffect free status (#233)
|
2022-05-04 17:24:04 -03:00 |
|
Arthur Fiorette
|
f5b519a888
|
feat: updated axios to 0.27 (#227)
|
2022-05-01 10:04:08 -03:00 |
|
Arthur Fiorette
|
17682ca0b9
|
Pass currentRequest on each access to storages (#220) (#226)
* feat: initial working code
* fix: better usage of currentRequest on storages
* feat: added tests
|
2022-05-01 10:03:30 -03:00 |
|
arthurfiorette
|
55f9599788
|
refactor: simpler config.cache check
|
2022-04-30 22:40:49 -03:00 |
|
dependabot[bot]
|
f0f10c4520
|
chore(deps-dev): bump prettier-plugin-jsdoc from 0.3.36 to 0.3.38 (#208)
* chore(deps-dev): bump prettier-plugin-jsdoc from 0.3.36 to 0.3.38
Bumps [prettier-plugin-jsdoc](https://github.com/hosseinmd/prettier-plugin-jsdoc) from 0.3.36 to 0.3.38.
- [Release notes](https://github.com/hosseinmd/prettier-plugin-jsdoc/releases)
- [Changelog](https://github.com/hosseinmd/prettier-plugin-jsdoc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hosseinmd/prettier-plugin-jsdoc/compare/v0.3.36...v0.3.38)
---
updated-dependencies:
- dependency-name: prettier-plugin-jsdoc
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix: fixed prettier warnings
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: arthurfiorette <arthur.fiorette@gmail.com>
|
2022-04-12 19:24:24 -03:00 |
|
arthurfiorette
|
0a00778065
|
fix: fixed bug when a pending request had it cached empty (#165)
|
2022-03-24 19:03:40 -03:00 |
|
dependabot[bot]
|
66e88ada0e
|
chore(deps-dev): bump prettier-plugin-jsdoc from 0.3.30 to 0.3.31 (#171)
* chore(deps-dev): bump prettier-plugin-jsdoc from 0.3.30 to 0.3.31
Bumps [prettier-plugin-jsdoc](https://github.com/hosseinmd/prettier-plugin-jsdoc) from 0.3.30 to 0.3.31.
- [Release notes](https://github.com/hosseinmd/prettier-plugin-jsdoc/releases)
- [Changelog](https://github.com/hosseinmd/prettier-plugin-jsdoc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hosseinmd/prettier-plugin-jsdoc/compare/v0.3.30...v0.3.31)
---
updated-dependencies:
- dependency-name: prettier-plugin-jsdoc
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* style: formatted code
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: arthurfiorette <arthur.fiorette@gmail.com>
|
2022-03-14 10:13:12 -03:00 |
|
arthurfiorette
|
119fa32f18
|
feat!: updated default caching options
|
2022-03-14 10:07:30 -03:00 |
|
arthurfiorette
|
08d7ab49e2
|
docs: updated benchmark and fixed some typos
|
2022-03-11 17:07:30 -03:00 |
|
arthurfiorette
|
09a69f8006
|
refactor: clone data only when needed
|
2022-03-11 17:02:31 -03:00 |
|
Arthur Fiorette
|
7293cf0c26
|
feat!: new bundle setup & fixed development bundles (#167)
* feat: added issue template
* fix: move dev bundles to a specific folder
* docs: some documentation changes
* docs: updated issue template
* chore!: updated build setup
* style: formatted code
* chore: allow importing any file
|
2022-03-11 13:46:08 -03:00 |
|
Arthur Fiorette
|
f699e194f8
|
fix: memory storage copy data to avoid reference changes (#164)
* tests: added initial unit test
* fix: added fix
* tests: fixed tests
* style: formatted code
|
2022-03-11 13:29:13 -03:00 |
|
arthurfiorette
|
ab45164287
|
fix: defaultKeyGenerator keeps response unchanged (#161)
|
2022-03-03 18:50:43 -03:00 |
|
arthurfiorette
|
8d0dedb238
|
deps: updated code dependencies
|
2022-02-28 17:02:20 -03:00 |
|
arthurfiorette
|
9f4b40066f
|
deps: updated object-code
|
2022-02-21 14:51:25 -03:00 |
|
Christos Kopanos
|
6db89530c1
|
feat: handle web storage DOMExceptions (#148)
|
2022-02-21 14:10:32 -03:00 |
|
arthurfiorette
|
098cf47d06
|
refactor: added debug points
|
2022-01-23 18:12:14 -03:00 |
|
arthurfiorette
|
ea4ab4c4eb
|
refactor: added ACI prefix to avoid external conflicts
|
2022-01-23 16:18:00 -03:00 |
|
arthurfiorette
|
0ba6025fb5
|
feat: debug mode & fixed tests
|
2022-01-23 16:13:22 -03:00 |
|
arthurfiorette
|
bd4bf26e18
|
refactor: prefer the usage of AxiosResponseHeaders
|
2022-01-19 08:07:21 -03:00 |
|
arthurfiorette
|
7dc15be22e
|
refactor: added memory storage type
|
2022-01-19 08:04:12 -03:00 |
|
arthurfiorette
|
d14750ee63
|
refactor: moved header file
|
2022-01-19 07:48:33 -03:00 |
|
arthurfiorette
|
7217eaff02
|
fix: removed breaking behaviour
|
2022-01-18 12:48:49 -03:00 |
|
arthurfiorette
|
66f29c92c7
|
deps: updated axios to v0.25
|
2022-01-18 12:25:31 -03:00 |
|
arthurfiorette
|
edb32bdea3
|
feat: add staleIfError support
|
2022-01-18 12:06:20 -03:00 |
|
arthurfiorette
|
0aed72f309
|
docs: updated rukit example
|
2022-01-17 17:15:13 -03:00 |
|
arthurfiorette
|
0e2508c020
|
refactor: use Object.freeze at Header enum
|
2022-01-15 21:42:46 -03:00 |
|
arthurfiorette
|
6d9683a410
|
build: optimize umd builds with tslib
|
2022-01-15 13:02:57 -03:00 |
|
arthurfiorette
|
e391f5664c
|
refactor: Header as const and renaming...
|
2022-01-15 12:22:12 -03:00 |
|
arthurfiorette
|
9379fce100
|
feat: buildKeyGenerator and ids with req.data by default
|
2022-01-14 18:46:20 -03:00 |
|
arthurfiorette
|
fa2c6e3204
|
perf: only execute one generateKey per request
|
2022-01-13 21:23:36 -03:00 |
|
arthurfiorette
|
6f9ef36e75
|
fix: include data at keyGenerator (#116)
|
2022-01-13 20:48:21 -03:00 |
|
Arthur Fiorette
|
4734c5f7a8
|
build: Yarn v2 and ESM & CJS bundles (#114)
|
2022-01-13 18:57:50 -03:00 |
|
arthurfiorette
|
93df4fd93b
|
chore: eslint no-explicit-any
|
2022-01-10 13:40:55 -03:00 |
|
arthurfiorette
|
ff73ad5c69
|
fix: await unawaited promises and eslint more severe
|
2022-01-10 13:30:31 -03:00 |
|
arthurfiorette
|
c3661a64e9
|
refactor: removed return await
|
2022-01-10 13:10:59 -03:00 |
|
arthurfiorette
|
88d45cc0fb
|
feat: cache predicate now supports async functions
|
2022-01-10 13:00:35 -03:00 |
|
arthurfiorette
|
d0b0e2fb6c
|
refactor: prefer unknown instead of any
|
2022-01-09 17:31:28 -03:00 |
|
arthurfiorette
|
38a5ecd365
|
refactor: simplified cachePredicate
|
2022-01-09 17:27:51 -03:00 |
|
arthurfiorette
|
e11e3466f1
|
fix: removed deprecated code
|
2022-01-09 13:35:11 -03:00 |
|
arthurfiorette
|
1b93070db4
|
refactor: used triple equal sign
|
2022-01-09 13:33:44 -03:00 |
|
arthurfiorette
|
37431a9d34
|
refactor!: removed isAxiosCacheInterceptor function
|
2022-01-08 12:57:19 -03:00 |
|