Socket
Socket
Sign inDemoInstall

@types/fs-extra

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/fs-extra - npm Package Compare versions

Comparing version 5.0.5 to 5.1.0

13

fs-extra/index.d.ts

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

// Type definitions for fs-extra 5.0
// Type definitions for fs-extra 5.1
// Project: https://github.com/jprichardson/node-fs-extra

@@ -8,2 +8,3 @@ // Definitions by: Alan Agius <https://github.com/alan-agius4>,

// Justin Rockwood <https://github.com/jrockwood>
// Sang Dang <https://github.com/sangdth>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -37,5 +38,5 @@ // TypeScript Version: 2.2

export function ensureDir(path: string): Promise<void>;
export function ensureDir(path: string, callback: (err: Error) => void): void;
export function ensureDirSync(path: string): void;
export function ensureDir(path: string, options?: EnsureOptions | number): Promise<void>;
export function ensureDir(path: string, options?: EnsureOptions | number, callback?: (err: Error) => void): void;
export function ensureDirSync(path: string, options?: EnsureOptions | number): void;

@@ -285,2 +286,6 @@ export function mkdirs(dir: string): Promise<void>;

export interface EnsureOptions {
mode?: number;
}
export interface MoveOptions {

@@ -287,0 +292,0 @@ overwrite?: boolean;

{
"name": "@types/fs-extra",
"version": "5.0.5",
"version": "5.1.0",
"description": "TypeScript definitions for fs-extra",

@@ -31,2 +31,7 @@ "license": "MIT",

"githubUsername": "jrockwood"
},
{
"name": "Sang Dang",
"url": "https://github.com/sangdth",
"githubUsername": "sangdth"
}

@@ -38,3 +43,4 @@ ],

"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/fs-extra"
},

@@ -45,4 +51,4 @@ "scripts": {},

},
"typesPublisherContentHash": "673ff3c942b7657983137cb82db10fce8a2d349c92ff85a496ba15574758f1fa",
"typesPublisherContentHash": "a431bf39984869078ed6f3d6c5138e05f37561439fffddea61667c7c2ae8f3aa",
"typeScriptVersion": "2.2"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Tue, 12 Feb 2019 21:16:02 GMT
* Last updated: Mon, 06 May 2019 08:19:13 GMT
* Dependencies: @types/node

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by Alan Agius <https://github.com/alan-agius4>, midknight41 <https://github.com/midknight41>, Brendan Forster <https://github.com/shiftkey>, Mees van Dijk <https://github.com/mees->, Justin Rockwood <https://github.com/jrockwood>.
These definitions were written by Alan Agius <https://github.com/alan-agius4>, midknight41 <https://github.com/midknight41>, Brendan Forster <https://github.com/shiftkey>, Mees van Dijk <https://github.com/mees->, Justin Rockwood <https://github.com/jrockwood>, Sang Dang <https://github.com/sangdth>.
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