Socket
Socket
Sign inDemoInstall

@types/temp

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/temp - npm Package Compare versions

Comparing version 0.8.34 to 0.9.0

11

temp/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for temp 0.8
// Type definitions for temp 0.9
// Project: https://github.com/bruce/node-temp

@@ -31,7 +31,9 @@ // Definitions by: Daniel Rosenwasser <https://github.com/DanielRosenwasser>

function mkdir(affixes?: string | AffixOptions, callback?: (err: any, dirPath: string) => void): void;
function mkdir(affixes: string | AffixOptions | undefined, callback: (err: any, dirPath: string) => void): void;
function mkdir(affixes?: string | AffixOptions): Promise<string>;
function mkdirSync(affixes?: string | AffixOptions): string;
function open(affixes?: string | AffixOptions, callback?: (err: any, result: OpenFile) => void): void;
function open(affixes: string | AffixOptions | undefined, callback: (err: any, result: OpenFile) => void): void;
function open(affixes?: string | AffixOptions): Promise<OpenFile>;

@@ -42,3 +44,4 @@ function openSync(affixes?: string | AffixOptions): OpenFile;

function cleanup(callback?: (err: any, result: Stats) => void): void;
function cleanup(callback: (err: any, result: Stats) => void): void;
function cleanup(): Promise<Stats>;

@@ -45,0 +48,0 @@ function cleanupSync(): boolean | Stats;

{
"name": "@types/temp",
"version": "0.8.34",
"version": "0.9.0",
"description": "TypeScript definitions for temp",

@@ -14,3 +14,3 @@ "license": "MIT",

"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -25,4 +25,4 @@ "type": "git",

},
"typesPublisherContentHash": "de1262c88cdc8be63bb50a97ac99ea07721724db52baa483e27d169f0397d1b8",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "eb80d56d647bf1b69b6ae234818e9840553b45958ffe78966e413b7273e58c5c",
"typeScriptVersion": "3.5"
}

@@ -5,13 +5,13 @@ # Installation

# Summary
This package contains type definitions for temp ( https://github.com/bruce/node-temp ).
This package contains type definitions for temp (https://github.com/bruce/node-temp).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/temp
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/temp.
Additional Details
* Last updated: Fri, 26 Apr 2019 01:02:31 GMT
* Dependencies: @types/node
### Additional Details
* Last updated: Mon, 05 Apr 2021 06:01:28 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)
* Global values: none
# Credits
These definitions were written by Daniel Rosenwasser <https://github.com/DanielRosenwasser>.
These definitions were written by [Daniel Rosenwasser](https://github.com/DanielRosenwasser).

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