Commit Graph

57 Commits

Author SHA1 Message Date
Randall Schmidt
ea89aefcd8 add CI file for github actions 2021-06-11 14:03:48 -04:00
Randall Schmidt
1f25cf946b add coverage script 2021-06-11 14:03:47 -04:00
Randall Schmidt
df86b6acea update readme 2021-06-11 14:03:47 -04:00
Randall Schmidt
43cbd56153 update readme 2021-06-11 14:03:47 -04:00
Randall Schmidt
ba067e65fd update readme 2021-06-11 14:03:46 -04:00
Randall Schmidt
4cae72dce2 custom caching 2021-06-11 14:03:46 -04:00
Randall Schmidt
1ae909985e npm audit fix 2021-06-11 14:03:46 -04:00
Randall Schmidt
6dcc8c7c6f add fpersist as dependency 2021-06-11 14:03:46 -04:00
Randall Schmidt
14061ba617 update readme 2021-06-11 14:03:45 -04:00
Randall Schmidt
95973cb2ce update readme 2021-06-11 14:03:45 -04:00
Randall Schmidt
275e9b66f4 update readme 2021-06-11 14:03:45 -04:00
Randall Schmidt
ce5a142084 update readme 2021-06-11 14:03:45 -04:00
Randall Schmidt
ee8418b15c update readme 2021-06-11 14:03:44 -04:00
Randall Schmidt
e3522e95a7 update readme 2021-06-11 14:03:44 -04:00
Randall Schmidt
075dad56ab update readme 2021-06-11 14:03:44 -04:00
Randall Schmidt
08d209349c update readme 2021-06-11 14:03:44 -04:00
Randall Schmidt
817119c09e update readme 2021-06-11 14:03:43 -04:00
Randall Schmidt
3cbe81bc87 update readme 2021-06-11 14:03:43 -04:00
Randall Schmidt
48de677ac7 update readme 2021-06-11 14:03:43 -04:00
Randall Schmidt
08060adfe6 update readme 2021-06-11 14:03:42 -04:00
Randall Schmidt
0bf89a9644 update readme 2021-06-11 14:03:42 -04:00
Randall Schmidt
f49d0939d6 support streaming response 2021-06-11 14:03:42 -04:00
Randall Schmidt
be468439af only allow body to be consumed once, add some tests 2021-06-11 14:03:42 -04:00
Randall Schmidt
4969a22ed4 give tests longer timeout 2021-06-11 14:03:41 -04:00
Randall Schmidt
6e782f49db add a CACHE_VERSION to invalid caches when versions become incompatible 2021-06-11 14:03:41 -04:00
Randall Schmidt
7e5c71ffe7 add support for FormData 2021-06-11 14:03:41 -04:00
Randall Schmidt
206d6784d1 handle fs read streams 2021-06-11 14:03:41 -04:00
Randall Schmidt
b94babec12 refactor cache key calculation to have more space for dealing with different types of bodies 2021-06-11 14:03:35 -04:00
Randall Schmidt
2e79048563 add raw headers function 2021-06-11 14:03:27 -04:00
Randall Schmidt
077b92ebaa add tests for string body and URLSearchParams bodies 2021-06-11 14:03:26 -04:00
Randall Schmidt
1df05c2584 dont error if ejectFromCache is called when the response is already not cached 2021-06-11 14:03:26 -04:00
Randall Schmidt
76978176d5 add husky to enforce lint rules and tests 2021-06-11 14:03:26 -04:00
Randall Schmidt
022626e7f9 fix lint warnings 2021-06-11 14:03:26 -04:00
Randall Schmidt
49741e9608 add test for cache ejection 2021-06-11 14:03:25 -04:00
Randall Schmidt
8833c2276e add tests, fix flawed logic 2021-06-11 14:03:25 -04:00
Randall Schmidt
37daa38c7c implement new expanded response caching logic 2021-06-11 14:03:19 -04:00
Randall Schmidt
e6ac859d1c add test boilerplate 2021-06-11 14:03:02 -04:00
Randall Schmidt
03dc8d9204 add mocha for tests 2021-06-11 14:02:40 -04:00
Randall Schmidt
e7bf4ef96c npmignore .vscode 2020-11-27 21:45:20 -05:00
Randall Schmidt
8507c1be1c fix error if no second argument passed 2020-11-27 21:44:36 -05:00
Randall Schmidt
fb1bfd6bf9 bump version 2020-11-27 20:49:58 -05:00
Randall Schmidt
e6efe02905 auto-fix eslint warnings 2020-11-27 20:49:36 -05:00
Randall
5b692cef4b
Merge pull request #3 from vegar/master
Include request body as string in hash
2020-11-27 18:47:17 -07:00
Vegar Vikan
b2efd4a00c include request body in hash 2020-11-28 00:01:16 +01:00
Randall
01b32347a7
Merge pull request #2 from mistval/dependabot/npm_and_yarn/node-fetch-2.6.1
Bump node-fetch from 2.6.0 to 2.6.1
2020-09-12 14:00:37 -06:00
dependabot[bot]
4f75868371
Bump node-fetch from 2.6.0 to 2.6.1
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-12 19:26:43 +00:00
Randall
59316223a8
Merge pull request #1 from mistval/dependabot/npm_and_yarn/lodash-4.17.19
Bump lodash from 4.17.15 to 4.17.19
2020-07-20 06:22:43 -06:00
dependabot[bot]
0a7a54a251
Bump lodash from 4.17.15 to 4.17.19
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-20 09:08:21 +00:00
Randall Schmidt
4bba89691e add npmignore 2020-04-17 17:11:19 -04:00
Randall Schmidt
bff8a5c175 update readme 2020-04-17 17:09:24 -04:00