sync-disk-cache
Advanced tools
Comparing version 2.0.0 to 2.1.0
@@ -20,3 +20,3 @@ 'use strict'; | ||
const mode = { | ||
mode: parseInt('0777', 8) | ||
mode: '600' | ||
}; | ||
@@ -206,3 +206,3 @@ | ||
if (e.code === 'ENOENT') { | ||
mkdirp(path.dirname(filePath), mode); | ||
mkdirp(path.dirname(filePath), { mode: '700' }); | ||
writeFile(tmpfile, this.compress(value), mode); | ||
@@ -209,0 +209,0 @@ } else { |
{ | ||
"name": "sync-disk-cache", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "sync disk cache", | ||
@@ -5,0 +5,0 @@ "files": [ |
10643