bv-ui-core 2.9.3 → 2.9.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -167,6 +167,10 @@ module.exports = function BvFetch ({ shouldCache, cacheName, cacheLimit }) {
167
167
  // Check if response is available in cache
168
168
  const newPromise = this.fetchFromCache(cacheKey)
169
169
  .then((cachedResponse) => {
170
+ if (!cachedResponse) {
171
+ this.cachedUrls.delete(cacheKey)
172
+ return Promise.resolve(null);
173
+ }
170
174
  // If response found in cache, return it
171
175
  if (cachedResponse) {
172
176
  return cachedResponse;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bv-ui-core",
3
- "version": "2.9.3",
3
+ "version": "2.9.4",
4
4
  "license": "Apache 2.0",
5
5
  "description": "Bazaarvoice UI-related JavaScript",
6
6
  "repository": {