Node.js based forum software built for the modern web
chore: up ttlcache to 2.x
Barış Soner Uşaklıa0a10c8b5cd6
diff --git a/install/package.json b/install/package.jsonindex 3a6155f6d7..ff5d94af5e 100644--- a/install/package.json+++ b/install/package.json@@ -33,7 +33,7 @@"@fontsource/inter": "5.2.8","@fontsource/poppins": "5.2.7","@fortawesome/fontawesome-free": "6.7.2",- "@isaacs/ttlcache": "1.4.1",+ "@isaacs/ttlcache": "2.0.1","@nodebb/spider-detector": "2.0.3","@popperjs/core": "2.11.8","@textcomplete/contenteditable": "0.1.13",diff --git a/src/cache/ttl.js b/src/cache/ttl.jsindex c8ed90af57..61cd4c07f4 100644--- a/src/cache/ttl.js+++ b/src/cache/ttl.js@@ -1,7 +1,7 @@'use strict';module.exports = function (opts) {- const TTLCache = require('@isaacs/ttlcache');+ const { TTLCache } = require('@isaacs/ttlcache');const os = require('os');const winston = require('winston');const chalk = require('chalk');