"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "prunePrefetchCache", { enumerable: true, get: function() { return prunePrefetchCache; } }); const _getprefetchcacheentrystatus = require("../get-prefetch-cache-entry-status"); function prunePrefetchCache(prefetchCache) { for (const [href, prefetchCacheEntry] of prefetchCache){ if ((0, _getprefetchcacheentrystatus.getPrefetchEntryCacheStatus)(prefetchCacheEntry) === _getprefetchcacheentrystatus.PrefetchCacheEntryStatus.expired) { prefetchCache.delete(href); } } } if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') { Object.defineProperty(exports.default, '__esModule', { value: true }); Object.assign(exports.default, exports); module.exports = exports.default; } //# sourceMappingURL=prune-prefetch-cache.js.map