Socket
Socket
Sign inDemoInstall

temp-file

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

temp-file - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

4

out/main.js

@@ -51,3 +51,3 @@ "use strict";

const dir = _path.join(systemTmpDir, getTempName("temp-files"));
promise = (0, (_fsExtraP || _load_fsExtraP()).mkdirs)(dir, { mode: 448 }).then(() => dir);
promise = (0, (_fsExtraP || _load_fsExtraP()).ensureDir)(dir, { mode: 448 }).then(() => dir);
} else {

@@ -103,3 +103,3 @@ promise = (0, (_fsExtraP || _load_fsExtraP()).mkdtemp)(`${_path.join(systemTmpDir, "temp-files")}-`);

createTempDir(options) {
return this.getTempFile(options, true).then(it => (0, (_fsExtraP || _load_fsExtraP()).mkdir)(it).then(() => it));
return this.getTempFile(options, true).then(it => (0, (_fsExtraP || _load_fsExtraP()).ensureDir)(it).then(() => it));
}

@@ -106,0 +106,0 @@ getTempFile(options, isDir = false) {

{
"name": "temp-file",
"version": "2.1.0",
"version": "2.1.1",
"main": "out/main.js",

@@ -5,0 +5,0 @@ "author": "Vladimir Krivosheev",

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