write-file-atomic
Advanced tools
Comparing version 3.0.1 to 3.0.2
@@ -181,3 +181,3 @@ 'use strict' | ||
try { | ||
fd = fs.openSync(tmpfile, 'w', options.mode) | ||
fd = fs.openSync(tmpfile, 'w', options.mode || 0o666) | ||
if (options.tmpfileCreated) { | ||
@@ -184,0 +184,0 @@ options.tmpfileCreated(tmpfile) |
{ | ||
"name": "write-file-atomic", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "Write files in an atomic fashion w/configurable ownership", | ||
"main": "index.js", | ||
"scripts": { | ||
"pretest": "standard", | ||
"test": "tap", | ||
"posttest": "rimraf chowncopy good nochmod nochown nofsync nofsyncopt noopen norename \"norename nounlink\" nowrite", | ||
"posttest": "npm run lint", | ||
"lint": "standard", | ||
"postlint": "rimraf chowncopy good nochmod nochown nofsync nofsyncopt noopen norename \"norename nounlink\" nowrite", | ||
"preversion": "npm test", | ||
"postversion": "npm publish", | ||
"postpublish": "git push origin --follow-tags" | ||
"prepublishOnly": "git push origin --follow-tags" | ||
}, | ||
@@ -38,4 +39,4 @@ "repository": { | ||
"rimraf": "^2.6.3", | ||
"standard": "^12.0.1", | ||
"tap": "^14.1.1" | ||
"standard": "^14.3.1", | ||
"tap": "^14.10.6" | ||
}, | ||
@@ -42,0 +43,0 @@ "files": [ |
12019