Socket
Socket
Sign inDemoInstall

tmp

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tmp - npm Package Compare versions

Comparing version 0.0.14 to 0.0.15

4

lib/tmp.js

@@ -13,3 +13,5 @@ /*!

path = require('path'),
os = require('os'),
exists = fs.exists || path.exists,
tmpDir = os.tmpDir || _getTMPDir,
_c = require('constants');

@@ -22,3 +24,3 @@

// store the actual TMP directory
_TMP = _getTMPDir(),
_TMP = tmpDir(),

@@ -25,0 +27,0 @@ // the random characters to choose from

{
"name": "tmp",
"version": "0.0.14",
"version": "0.0.15",
"description": "Temporary file and directory creator",

@@ -5,0 +5,0 @@ "author": "KARASZI István <github@spam.raszi.hu> (http://raszi.hu/)",

@@ -137,3 +137,3 @@ # Tmp

* `mode`: the file mode to create with it fallbacks to `0600` on file creation and `0700` on directory creation
* `mode`: the file mode to create with, it fallbacks to `0600` on file creation and `0700` on directory creation
* `prefix`: the optional prefix, fallbacks to `tmp-` if not provided

@@ -143,4 +143,4 @@ * `postfix`: the optional postfix, fallbacks to `.tmp` on file creation

* `dir`: the optional temporary directory, fallbacks to system default (guesses from environment)
* `tries`: how many times should the function tries to get a unique filename before giving up, default `3`
* `keep`: signals that the temporary file or directory should not be deleted on exit, default is to delete
* `tries`: how many times should the function try to get a unique filename before giving up, default `3`
* `keep`: signals that the temporary file or directory should not be deleted on exit, default is `false`, means delete

@@ -147,0 +147,0 @@ [1]: http://nodejs.org/

Sorry, the diff of this file is not supported yet

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