Commit Graph

67 Commits

Author SHA1 Message Date
Randall Schmidt
3896ae2832 add blob support 2021-06-11 16:37:51 -04:00
Randall Schmidt
2f5409c25c update tests 2021-06-11 15:52:15 -04:00
Randall Schmidt
7f2dba84a3 add more header tests 2021-06-11 15:25:53 -04:00
Randall Schmidt
901e32fa09 add more files to npmignore 2021-06-11 14:17:11 -04:00
Randall Schmidt
ef5ddf69e4 npm ignore nyc_output 2021-06-11 14:12:34 -04:00
Randall Schmidt
6bc5de6581 npm ignore nyc_output 2021-06-11 14:12:34 -04:00
Randall Schmidt
f2a6b048bd add CI file for github actions 2021-06-11 14:12:34 -04:00
Randall Schmidt
2fb975d9a8 add coverage script 2021-06-11 14:12:34 -04:00
Randall Schmidt
41045996ae update readme 2021-06-11 14:12:33 -04:00
Randall Schmidt
ed25ae32ab update readme 2021-06-11 14:12:33 -04:00
Randall Schmidt
7779114055 update readme 2021-06-11 14:12:33 -04:00
Randall Schmidt
831440152a custom caching 2021-06-11 14:12:33 -04:00
Randall Schmidt
ad256800f8 npm audit fix 2021-06-11 14:12:32 -04:00
Randall Schmidt
421c68909e add fpersist as dependency 2021-06-11 14:12:32 -04:00
Randall Schmidt
1f9b533c66 update readme 2021-06-11 14:12:32 -04:00
Randall Schmidt
489da016fd update readme 2021-06-11 14:12:32 -04:00
Randall Schmidt
1e0030f5a3 update readme 2021-06-11 14:12:31 -04:00
Randall Schmidt
fe51a289e1 update readme 2021-06-11 14:12:31 -04:00
Randall Schmidt
1311282f5a update readme 2021-06-11 14:12:31 -04:00
Randall Schmidt
32a50f757a update readme 2021-06-11 14:12:30 -04:00
Randall Schmidt
664e2afc59 update readme 2021-06-11 14:12:30 -04:00
Randall Schmidt
ba9df959db update readme 2021-06-11 14:12:30 -04:00
Randall Schmidt
c46d08d76a update readme 2021-06-11 14:12:30 -04:00
Randall Schmidt
28348f511f update readme 2021-06-11 14:12:29 -04:00
Randall Schmidt
d676db7e88 update readme 2021-06-11 14:12:29 -04:00
Randall Schmidt
ac437a89ed update readme 2021-06-11 14:12:29 -04:00
Randall Schmidt
ff09dd8521 update readme 2021-06-11 14:12:29 -04:00
Randall Schmidt
9c9d2b88e1 support streaming response 2021-06-11 14:12:28 -04:00
Randall Schmidt
f92bd99968 only allow body to be consumed once, add some tests 2021-06-11 14:12:28 -04:00
Randall Schmidt
c3071e3059 give tests longer timeout 2021-06-11 14:12:28 -04:00
Randall Schmidt
bf4c295e48 add a CACHE_VERSION to invalid caches when versions become incompatible 2021-06-11 14:12:28 -04:00
Randall Schmidt
9241b74dde add support for FormData 2021-06-11 14:12:27 -04:00
Randall Schmidt
3b5adecd7f handle fs read streams 2021-06-11 14:12:27 -04:00
Randall Schmidt
8a338f5f5d refactor cache key calculation to have more space for dealing with different types of bodies 2021-06-11 14:12:27 -04:00
Randall Schmidt
a7fc94c3e9 add raw headers function 2021-06-11 14:12:26 -04:00
Randall Schmidt
facda80789 add tests for string body and URLSearchParams bodies 2021-06-11 14:12:26 -04:00
Randall Schmidt
8e1b57382a dont error if ejectFromCache is called when the response is already not cached 2021-06-11 14:12:26 -04:00
Randall Schmidt
558d63fd40 add husky to enforce lint rules and tests 2021-06-11 14:12:26 -04:00
Randall Schmidt
02653e04c4 fix lint warnings 2021-06-11 14:12:25 -04:00
Randall Schmidt
371d20e933 add test for cache ejection 2021-06-11 14:12:25 -04:00
Randall Schmidt
c452c8d860 add tests, fix flawed logic 2021-06-11 14:12:25 -04:00
Randall Schmidt
bc92aa6865 implement new expanded response caching logic 2021-06-11 14:12:24 -04:00
Randall Schmidt
01bc48594e add test boilerplate 2021-06-11 14:12:24 -04:00
Randall Schmidt
f854cccd23 add mocha for tests 2021-06-11 14:12:24 -04:00
Randall
dea019c42c
Merge pull request #6 from mistval/dependabot/npm_and_yarn/hosted-git-info-2.8.9
Bump hosted-git-info from 2.8.8 to 2.8.9
2021-05-11 17:05:53 -06:00
Randall
eda9f98e3b
Merge pull request #5 from mistval/dependabot/npm_and_yarn/lodash-4.17.21
Bump lodash from 4.17.19 to 4.17.21
2021-05-11 17:05:45 -06:00
dependabot[bot]
6d1369b50f
Bump hosted-git-info from 2.8.8 to 2.8.9
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 16:28:25 +00:00
dependabot[bot]
d97cb85f97
Bump lodash from 4.17.19 to 4.17.21
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 10:55:29 +00: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