Skip to content

Commit 6c4c0e9

Browse files
authored
2 parents bc8d340 + f8b6f2c commit 6c4c0e9

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,7 @@ const Markdown = {
136136
Markdown._externalImageCache = cacheCreate({
137137
name: 'markdown.externalImageCache',
138138
max: parseInt(_self.config.probeCacheSize, 10) || 256,
139-
length: function () { return 1; },
140-
maxAge: 1000 * 60 * 60 * 24, // 1 day
139+
ttl: 1000 * 60 * 60 * 24, // 1 day
141140
});
142141
}
143142
});

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nodebb-plugin-ws-markdown",
3-
"version": "9.0.11",
3+
"version": "10.1.0",
44
"description": "A Markdown parser for NodeBB",
55
"main": "index.js",
66
"repository": {
@@ -46,7 +46,7 @@
4646
"markdown-it-sup": "^1.0.0"
4747
},
4848
"nbbpm": {
49-
"compatibility": "^2.0.0"
49+
"compatibility": "^2.4.0"
5050
},
5151
"devDependencies": {
5252
"@commitlint/cli": "16.2.1",

0 commit comments

Comments
 (0)