Comparing version 0.6.4 to 0.6.5
@@ -0,1 +1,2 @@ | ||
// cache | ||
@@ -5,4 +6,4 @@ | ||
, options = { max: 50 | ||
, maxAge: 1000 * 60 * 60 } | ||
, maxAge: 1000 * 60 * 3 } | ||
module.exports = LRU(options) |
@@ -0,1 +1,2 @@ | ||
// read - read files and return blake items | ||
@@ -13,5 +14,5 @@ | ||
if (me) return me | ||
me = {} | ||
me.read = function (path, callback) { | ||
@@ -22,3 +23,3 @@ if (!path) { | ||
} | ||
fs.stat(path, function (err, stats) { | ||
@@ -41,3 +42,3 @@ if (stats.isDirectory()) { | ||
} | ||
fs.readFile(filename, function (err, data) { | ||
@@ -47,3 +48,3 @@ var item = getItem(props, filename, data.toString()) | ||
return callback(err, item) | ||
}) | ||
}) | ||
} | ||
@@ -69,3 +70,3 @@ | ||
}) | ||
// not sure why we get repeats here | ||
@@ -72,0 +73,0 @@ if (!seen) items.push(item) |
{ | ||
"name": "blake", | ||
"description": "Simple, blog aware infrastructure to generate static sites", | ||
"version": "0.6.4", | ||
"version": "0.6.5", | ||
"homepage": "http://michaelnisi.github.com/blake/", | ||
@@ -6,0 +6,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31288