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 2.0.2 to 2.0.3

6

out/main.js

@@ -48,8 +48,8 @@ "use strict";

let promise;
const systemTmpDir = process.env.TEST_DIR || (0, (_os || _load_os()).tmpdir)();
const systemTmpDir = process.env.TEST_TMP_DIR || process.env.ELECTRON_BUILDER_TEST_DIR || (0, (_os || _load_os()).tmpdir)();
if ((_fsExtraP || _load_fsExtraP()).mkdtemp == null) {
const dir = _path.join(systemTmpDir, getTempName("electron-builder"));
const dir = _path.join(systemTmpDir, getTempName("temp-files"));
promise = (0, (_fsExtraP || _load_fsExtraP()).mkdirs)(dir, { mode: 448 }).then(() => dir);
} else {
promise = (0, (_fsExtraP || _load_fsExtraP()).mkdtemp)(`${_path.join(systemTmpDir, "electron-builder")}-`);
promise = (0, (_fsExtraP || _load_fsExtraP()).mkdtemp)(`${_path.join(systemTmpDir, "temp-files")}-`);
}

@@ -56,0 +56,0 @@ return promise.then(it => (0, (_fsExtraP || _load_fsExtraP()).realpath)(it)).then(dir => {

{
"name": "temp-file",
"version": "2.0.2",
"version": "2.0.3",
"main": "out/main.js",

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

"@types/js-yaml": "^3.9.1",
"@types/node": "^8.0.24",
"@types/node": "^8.0.25",
"babel-preset-ts-node4-bluebird": "^0.1.0",
"ts-babel": "^4.0.1",
"ts-babel": "^4.1.4",
"typescript": "^2.4.2"

@@ -30,0 +30,0 @@ },

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