Socket
Socket
Sign inDemoInstall

write-file-atomic

Package Overview
Dependencies
4
Maintainers
7
Versions
31
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.1 to 3.0.2

2

index.js

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc