git ssb

30+

cel / git-ssb-web



Commit d19c73f6a5c9563914be6761839a3ba08ba10394

Use hashlru

cel committed on 5/15/2020, 9:01:34 PM
Parent: bd05d6ab80237bba5fb65b70dafabdf7d2d6787c

Files changed

index.jschanged
lib/acme-challenge.jschanged
package.jsonchanged
index.jsView
@@ -24,9 +24,9 @@
2424 var many = require('pull-many')
2525 var ident = require('pull-identify-filetype')
2626 var mime = require('mime-types')
2727 var moment = require('moment')
28-var LRUCache = require('lrucache')
28 +var LRUCache = require('hashlru')
2929
3030 var hlCssPath = path.resolve(require.resolve('highlight.js'), '../../styles')
3131
3232 function ParamError(msg) {
lib/acme-challenge.jsView
@@ -1,7 +1,7 @@
11 var pull = require('pull-stream')
22 var asyncmemo = require('asyncmemo')
3-var lru = require('lrucache')
3 +var lru = require('hashlru')
44
55 function getChallenge(sbot, token, cb) {
66 /* TODO: index this on disk */
77 pull(
package.jsonView
@@ -12,9 +12,9 @@
1212 "dependencies": {
1313 "asyncmemo": "^1.0.0",
1414 "diff": "^3.0.1",
1515 "highlight.js": "^9.8.0",
16- "lrucache": "^1.0.2",
16 + "hashlru": "^2.3.0",
1717 "mime-types": "^2.1.12",
1818 "moment": "^2.14.1",
1919 "multicb": "^1.2.1",
2020 "node-polyglot": "^1.0.0",
@@ -28,9 +28,9 @@
2828 "pull-paramap": "^1.2.1",
2929 "pull-stream": "^3.5.0",
3030 "remove-markdown": "^0.1.0",
3131 "ssb-client": "^4.2.1",
32- "ssb-config": "^2.2.0",
32 + "ssb-config": "^3.2.0",
3333 "ssb-git-repo": "^2.11.0",
3434 "ssb-issues": "^1.0.0",
3535 "ssb-keys": "^7.0.3",
3636 "ssb-marked": "^0.6.0",

Built with git-ssb-web