Skip to content

1.0.5

Compare
Choose a tag to compare
@jpodwys jpodwys released this 23 Oct 15:38
· 143 commits to master since this release

Making require('superagent-cache')(null, cache) calls made after the initial require('superagent-cache')(null, cache) call overwrite the cache param passed in an earlier calls. This is useful when you have multiple test files that call require('superagent-cache')(null, cache) but your test runner executes each of them from a single parent context such that each superagent-cache instance is not garbage collected before the next one is required.