temp-write
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -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 () { |
{ | ||
"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 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4183
28
6
+ Addedpinkie-promise@^1.0.0
+ Addedpinkie@1.0.0(transitive)
+ Addedpinkie-promise@1.0.0(transitive)