Description: Adapt lru-cache usage for v10 API lru-cache v10 dropped the default export. Author: Yadd Forwarded: not-needed Last-Update: 2026-04-02 --- a/editorconfig/src/lib/fnmatch.js +++ b/editorconfig/src/lib/fnmatch.js @@ -7,7 +7,7 @@ minimatch.Minimatch = Minimatch - var LRU = require("lru-cache") + var LRU = require("lru-cache").LRUCache , cache = minimatch.cache = new LRU({max: 100}) , GLOBSTAR = minimatch.GLOBSTAR = Minimatch.GLOBSTAR = {} , sigmund = require("sigmund")