Socket
Socket
Sign inDemoInstall

temp-write

Package Overview
Dependencies
6
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.2.0 to 3.3.0

6

index.js

@@ -5,3 +5,3 @@ 'use strict';

const isStream = require('is-stream');
const mkdirp = require('mkdirp');
const makeDir = require('make-dir');
const uuid = require('uuid');

@@ -34,3 +34,3 @@ const pify = require('pify');

return pify(mkdirp)(path.dirname(tempPath))
return makeDir(path.dirname(tempPath))
.then(() => write(tempPath, input))

@@ -43,3 +43,3 @@ .then(() => tempPath);

mkdirp.sync(path.dirname(tempPath));
makeDir.sync(path.dirname(tempPath));
fs.writeFileSync(tempPath, input);

@@ -46,0 +46,0 @@

{
"name": "temp-write",
"version": "3.2.0",
"version": "3.3.0",
"description": "Write string/buffer/stream to a random temp file",

@@ -40,3 +40,3 @@ "license": "MIT",

"is-stream": "^1.1.0",
"mkdirp": "^0.5.0",
"make-dir": "^1.0.0",
"pify": "^2.2.0",

@@ -43,0 +43,0 @@ "temp-dir": "^1.0.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