Socket
Socket
Sign inDemoInstall

temp-write

Package Overview
Dependencies
9
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.0.1

5

index.js

@@ -8,2 +8,3 @@ 'use strict';

var pify = require('pify');
var Promise = require('pinkie-promise');
var TMP_DIR = osTmpdir();

@@ -18,5 +19,5 @@

return pify(mkdirp)(path.dirname(fullpath))
return pify(mkdirp, Promise)(path.dirname(fullpath))
.then(function () {
return pify(fs.writeFile)(fullpath, str);
return pify(fs.writeFile, Promise)(fullpath, str);
})

@@ -23,0 +24,0 @@ .then(function () {

3

package.json
{
"name": "temp-write",
"version": "2.0.0",
"version": "2.0.1",
"description": "Write string/buffer to a random temp file",

@@ -41,2 +41,3 @@ "license": "MIT",

"pify": "^2.2.0",
"pinkie-promise": "^1.0.0",
"uuid": "^2.0.1"

@@ -43,0 +44,0 @@ },

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