Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

blake

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blake - npm Package Compare versions

Comparing version 0.6.4 to 0.6.5

3

lib/cache.js

@@ -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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc