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.1.0 to 3.1.1

3

out/main.d.ts

@@ -8,4 +8,6 @@ export declare function getTempName(prefix?: string | null | undefined): string;

export declare class TmpDir {
private readonly debugName;
private tempFiles;
private registered;
constructor(debugName?: string);
readonly rootTempDir: Promise<string>;

@@ -17,2 +19,3 @@ getTempDir(options?: GetTempFileOptions): Promise<string>;

cleanup(): Promise<any>;
toString(): string;
}

@@ -97,3 +97,4 @@ "use strict";

class TmpDir {
constructor() {
constructor(debugName = "") {
this.debugName = debugName;
this.tempFiles = [];

@@ -174,2 +175,5 @@ this.registered = false;

}
toString() {
return this.debugName;
}
}

@@ -176,0 +180,0 @@ exports.TmpDir = TmpDir;

4

package.json
{
"name": "temp-file",
"version": "3.1.0",
"version": "3.1.1",
"main": "out/main.js",

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

"@types/js-yaml": "^3.10.1",
"@types/node": "^8.5.5",
"@types/node": "^9.3.0",
"babel-preset-ts-node6-bluebird": "^1.0.1",

@@ -28,0 +28,0 @@ "ts-babel": "^4.1.8",

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