Socket
Socket
Sign inDemoInstall

write-file-atomic

Package Overview
Dependencies
1
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "write-file-atomic",
"version": "1.0.0",
"version": "1.0.1",
"description": "Write files in an atomic fashion w/configurable ownership",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -33,3 +33,3 @@ write-file-atomic

```javascript
fs.writeFile('message.txt', 'Hello Node', {chown:{uid:100,gid:50}}, function (err) {
writeFileAtomic('message.txt', 'Hello Node', {chown:{uid:100,gid:50}}, function (err) {
if (err) throw err;

@@ -36,0 +36,0 @@ console.log('It\'s saved!');

Sorry, the diff of this file is not supported yet

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