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 8.1.0 to 9.0.0

24

fs-extra/index.d.ts

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

// Type definitions for fs-extra 8.1
// Type definitions for fs-extra 9.0
// Project: https://github.com/jprichardson/node-fs-extra

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

// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2

@@ -99,3 +98,7 @@ /// <reference types="node" />

export function ensureLink(src: string, dest: string, callback: (err: Error) => void): void;
// alias for ensureLink
export const createLink: typeof ensureLink;
export function ensureLinkSync(src: string, dest: string): void;
// aliased as
export const createLinkSync: typeof ensureLinkSync;

@@ -187,2 +190,10 @@ export function ensureSymlink(src: string, dest: string, type?: SymlinkType): Promise<void>;

export function opendir(path: string, cb: (err: NodeJS.ErrnoException | null, dir: fs.Dir) => void): void;
export function opendir(
path: string,
options: fs.OpenDirOptions,
cb: (err: NodeJS.ErrnoException | null, dir: fs.Dir) => void,
): void;
export function opendir(path: string, options?: fs.OpenDirOptions): Promise<fs.Dir>;
export function read(fd: number, buffer: Buffer, offset: number, length: number, position: number | null,

@@ -257,2 +268,6 @@ callback: (err: NodeJS.ErrnoException, bytesRead: number, buffer: Buffer) => void): void;

export function writev(fd: number, buffers: NodeJS.ArrayBufferView[], position: number, cb: (err: NodeJS.ErrnoException | null, bytesWritten: number, buffers: NodeJS.ArrayBufferView[]) => void): void;
export function writev(fd: number, buffers: NodeJS.ArrayBufferView[], cb: (err: NodeJS.ErrnoException | null, bytesWritten: number, buffers: NodeJS.ArrayBufferView[]) => void): void;
export function writev(fd: number, buffers: NodeJS.ArrayBufferView[], position?: number): Promise<WritevResult>;
/**

@@ -333,1 +348,6 @@ * Asynchronous mkdtemp - Creates a unique temporary directory. Generates six random characters to be appended behind a required prefix to create a unique temporary directory.

}
export interface WritevResult {
bytesWritten: number;
buffers: ArrayBufferView[];
}

6

fs-extra/package.json
{
"name": "@types/fs-extra",
"version": "8.1.0",
"version": "9.0.0",
"description": "TypeScript definitions for fs-extra",

@@ -59,4 +59,4 @@ "license": "MIT",

},
"typesPublisherContentHash": "79e52bc8d5c9913cee6d8de57e160e2606e0e9f52b7c65e1bbeda16bcd38256f",
"typeScriptVersion": "2.8"
"typesPublisherContentHash": "efe5f309bb62ec03e93774c694b7ca9cb1b8cb9c36a639324c6ad350b7a4ff61",
"typeScriptVersion": "3.0"
}

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

### Additional Details
* Last updated: Tue, 18 Feb 2020 00:47:10 GMT
* Last updated: Fri, 15 May 2020 18:26:32 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)

@@ -14,0 +14,0 @@ * Global values: none

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