mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 20:20:49 +00:00
Fix per review comment
This commit is contained in:
parent
a53fc736e9
commit
8353f353ae
1 changed files with 1 additions and 0 deletions
|
|
@ -19,6 +19,7 @@ import {
|
||||||
* @property {function(string, string): boolean} isNewlyReleasedPackage
|
* @property {function(string, string): boolean} isNewlyReleasedPackage
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// Shared per-process cache to avoid rebuilding the same feed-backed database on each request.
|
||||||
/** @type {NewPackagesDatabase | null} */
|
/** @type {NewPackagesDatabase | null} */
|
||||||
let cachedNewPackagesDatabase = null;
|
let cachedNewPackagesDatabase = null;
|
||||||
let hasWarnedAboutUnavailableNewPackagesDatabase = false;
|
let hasWarnedAboutUnavailableNewPackagesDatabase = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue