Comparing version
@@ -5,2 +5,3 @@ (function () { | ||
var fs = require("fs"), | ||
path = require("path"), | ||
os = require("os"), | ||
@@ -17,3 +18,3 @@ util = require("util"), | ||
// Create a temporary folder for remembered streams | ||
var tmpDir = os.tmpDir() + Math.random().toString(36) + '/'; | ||
var tmpDir = path.join(os.tmpDir(), Math.random().toString(36)) + '/'; | ||
fs.mkdirSync(tmpDir); | ||
@@ -20,0 +21,0 @@ var tmpCounter = 0; |
{ | ||
"name": "alzheimer", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Advanced memoization with promise and stream support", | ||
@@ -5,0 +5,0 @@ "author": "Ruben Verborgh <ruben.verborgh@gmail.com>", |
28496
0.14%198
0.51%