Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

temp-write

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

temp-write - npm Package Compare versions

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc