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

@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.1 to 5.0.2

14

fs-extra/index.d.ts

@@ -6,3 +6,4 @@ // Type definitions for fs-extra 5.0

// Brendan Forster <https://github.com/shiftkey>,
// Mees van Dijk <https://github.com/mees->
// Mees van Dijk <https://github.com/mees->,
// Justin Rockwood <https://github.com/jrockwood>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -20,3 +21,3 @@ // TypeScript Version: 2.2

export function copy(src: string, dest: string, options: CopyOptions, callback: (err: Error) => void): void;
export function copySync(src: string, dest: string, options?: CopyOptions): void;
export function copySync(src: string, dest: string, options?: CopyOptionsSync): void;

@@ -259,3 +260,4 @@ export function move(src: string, dest: string, options?: MoveOptions): Promise<void>;

export type CopyFilter = (src: string, dest: string) => boolean;
export type CopyFilterSync = (src: string, dest: string) => boolean;
export type CopyFilterAsync = (src: string, dest: string) => Promise<boolean>;

@@ -269,6 +271,10 @@ export type SymlinkType = "dir" | "file";

errorOnExist?: boolean;
filter?: CopyFilter;
filter?: CopyFilterSync | CopyFilterAsync;
recursive?: boolean;
}
export interface CopyOptionsSync extends CopyOptions {
filter?: CopyFilterSync;
}
export interface MoveOptions {

@@ -275,0 +281,0 @@ overwrite?: boolean;

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

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

"githubUsername": "mees-"
},
{
"name": "Justin Rockwood",
"url": "https://github.com/jrockwood",
"githubUsername": "jrockwood"
}

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

},
"typesPublisherContentHash": "12f955b789c2eeca8e28c6028bd63bc9790db114dd6418ae41876534a9cbee55",
"typesPublisherContentHash": "b2733d283c46366a0a9b1bc4deeec119ff9685362d4046289de118a3d6698be6",
"typeScriptVersion": "2.2"
}

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

Additional Details
* Last updated: Mon, 26 Feb 2018 20:02:51 GMT
* Last updated: Wed, 11 Apr 2018 19:11:59 GMT
* Dependencies: fs, 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->.
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>.

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