(scope, target)
| 38 | |
| 39 | return { |
| 40 | get(scope, target) { |
| 41 | const key = buildAppResolutionCacheKey(scope, target); |
| 42 | const entry = entries.get(key); |
| 43 | if (!entry) return undefined; |
| 44 | if (entry.expiresAtMs <= nowMs()) { |
| 45 | entries.delete(key); |
| 46 | return undefined; |
| 47 | } |
| 48 | return entry.value; |
| 49 | }, |
| 50 | set(scope, target, value) { |
| 51 | entries.set(buildAppResolutionCacheKey(scope, target), { |
| 52 | value, |
nothing calls this directly
no test coverage detected