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

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 3.0.0 to 3.0.1

10

out/main.js

@@ -49,5 +49,5 @@ "use strict";

const systemTmpDir = process.env.TEST_TMP_DIR || process.env.ELECTRON_BUILDER_TMP_DIR || process.env.ELECTRON_BUILDER_TEST_DIR || (0, (_os || _load_os()).tmpdir)();
const isTempDirManagedExternally = process.env.TMP_DIR_MANAGER_ENSURE_REMOVED_ON_EXIT === "false";
if (isTempDirManagedExternally) {
promise = (_bluebirdLst || _load_bluebirdLst()).default.resolve(systemTmpDir);
const isEnsureRemovedOnExit = process.env.TMP_DIR_MANAGER_ENSURE_REMOVED_ON_EXIT !== "false";
if (!isEnsureRemovedOnExit) {
promise = Promise.resolve(systemTmpDir);
} else if ((_fsExtraP || _load_fsExtraP()).mkdtemp == null) {

@@ -60,3 +60,3 @@ const dir = _path.join(systemTmpDir, getTempName("temp-files"));

return promise.then(it => (0, (_fsExtraP || _load_fsExtraP()).realpath)(it)).then(dir => {
if (isTempDirManagedExternally) {
if (isEnsureRemovedOnExit) {
addExitHook(dir);

@@ -158,3 +158,3 @@ }

if (tempFiles.length === 0) {
return (_bluebirdLst || _load_bluebirdLst()).default.resolve();
return Promise.resolve();
}

@@ -161,0 +161,0 @@ this.tempFiles = [];

{
"name": "temp-file",
"version": "3.0.0",
"version": "3.0.1",
"main": "out/main.js",

@@ -20,11 +20,11 @@ "author": "Vladimir Krivosheev",

"bluebird-lst": "^1.0.5",
"fs-extra-p": "^4.4.4",
"lazy-val": "^1.0.2"
"fs-extra-p": "^4.5.0",
"lazy-val": "^1.0.3"
},
"devDependencies": {
"@types/js-yaml": "^3.10.1",
"@types/node": "^8.0.53",
"@types/node": "^8.5.5",
"babel-preset-ts-node6-bluebird": "^1.0.1",
"ts-babel": "^4.1.8",
"typescript": "^2.6.1"
"typescript": "^2.6.2"
},

@@ -31,0 +31,0 @@ "babel": {

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