mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-16 21:40:23 +01:00
chore: up ttlcache to 2.x
This commit is contained in:
@@ -33,7 +33,7 @@
|
|||||||
"@fontsource/inter": "5.2.8",
|
"@fontsource/inter": "5.2.8",
|
||||||
"@fontsource/poppins": "5.2.7",
|
"@fontsource/poppins": "5.2.7",
|
||||||
"@fortawesome/fontawesome-free": "6.7.2",
|
"@fortawesome/fontawesome-free": "6.7.2",
|
||||||
"@isaacs/ttlcache": "1.4.1",
|
"@isaacs/ttlcache": "2.0.1",
|
||||||
"@nodebb/spider-detector": "2.0.3",
|
"@nodebb/spider-detector": "2.0.3",
|
||||||
"@popperjs/core": "2.11.8",
|
"@popperjs/core": "2.11.8",
|
||||||
"@textcomplete/contenteditable": "0.1.13",
|
"@textcomplete/contenteditable": "0.1.13",
|
||||||
|
|||||||
2
src/cache/ttl.js
vendored
2
src/cache/ttl.js
vendored
@@ -1,7 +1,7 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
module.exports = function (opts) {
|
module.exports = function (opts) {
|
||||||
const TTLCache = require('@isaacs/ttlcache');
|
const { TTLCache } = require('@isaacs/ttlcache');
|
||||||
const os = require('os');
|
const os = require('os');
|
||||||
const winston = require('winston');
|
const winston = require('winston');
|
||||||
const chalk = require('chalk');
|
const chalk = require('chalk');
|
||||||
|
|||||||
Reference in New Issue
Block a user