Socket
Socket
Sign inDemoInstall

@types/rimraf

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/rimraf - npm Package Compare versions

Comparing version 2.0.4 to 2.0.5

32

rimraf v2.0/index.d.ts

@@ -24,22 +24,22 @@ // Type definitions for rimraf 2.0

interface Options {
maxBusyTries?: number;
emfileWait?: number;
disableGlob?: boolean;
glob?: glob.IOptions | false;
maxBusyTries?: number | undefined;
emfileWait?: number | undefined;
disableGlob?: boolean | undefined;
glob?: glob.IOptions | false | undefined;
unlink?: typeof fs.unlink;
chmod?: typeof fs.chmod;
stat?: typeof fs.stat;
lstat?: typeof fs.lstat;
rmdir?: typeof fs.rmdir;
readdir?: typeof fs.readdir;
unlink?: typeof fs.unlink | undefined;
chmod?: typeof fs.chmod | undefined;
stat?: typeof fs.stat | undefined;
lstat?: typeof fs.lstat | undefined;
rmdir?: typeof fs.rmdir | undefined;
readdir?: typeof fs.readdir | undefined;
unlinkSync?: typeof fs.unlinkSync;
chmodSync?: typeof fs.chmodSync;
statSync?: typeof fs.statSync;
lstatSync?: typeof fs.lstatSync;
rmdirSync?: typeof fs.rmdirSync;
readdirSync?: typeof fs.readdirSync;
unlinkSync?: typeof fs.unlinkSync | undefined;
chmodSync?: typeof fs.chmodSync | undefined;
statSync?: typeof fs.statSync | undefined;
lstatSync?: typeof fs.lstatSync | undefined;
rmdirSync?: typeof fs.rmdirSync | undefined;
readdirSync?: typeof fs.readdirSync | undefined;
}
}
export = rimraf;
{
"name": "@types/rimraf",
"version": "2.0.4",
"version": "2.0.5",
"description": "TypeScript definitions for rimraf",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rimraf",
"license": "MIT",

@@ -40,4 +41,4 @@ "contributors": [

},
"typesPublisherContentHash": "3a3891f2afd6bea86f86ac691571cfca63e146d10ae3f7a9b951882714d73372",
"typeScriptVersion": "2.8"
"typesPublisherContentHash": "8b2a52af42d5525465e665fc33177cb2156cbf1a28909f5998859a283f693a40",
"typeScriptVersion": "3.6"
}

@@ -9,5 +9,53 @@ # Installation

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rimraf/v2.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rimraf/v2/index.d.ts)
````ts
// Type definitions for rimraf 2.0
// Project: https://github.com/isaacs/rimraf
// Definitions by: Carlos Ballesteros Velasco <https://github.com/soywiz>
// e-cloud <https://github.com/e-cloud>
// Ruben Schmidmeister <https://github.com/bash>
// Oganexon <https://github.com/oganexon>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Imported from: https://github.com/soywiz/typescript-node-definitions/rimraf.d.ts
/// <reference types="node" />
import glob = require('glob');
import fs = require('fs');
declare function rimraf(path: string, options: rimraf.Options, callback: (error: Error) => void): void;
declare function rimraf(path: string, callback: (error: Error) => void): void;
declare namespace rimraf {
function __promisify__(path: string, options?: Options): Promise<void>;
function sync(path: string, options?: Options): void;
let EMFILE_MAX: number;
let BUSYTRIES_MAX: number;
interface Options {
maxBusyTries?: number | undefined;
emfileWait?: number | undefined;
disableGlob?: boolean | undefined;
glob?: glob.IOptions | false | undefined;
unlink?: typeof fs.unlink | undefined;
chmod?: typeof fs.chmod | undefined;
stat?: typeof fs.stat | undefined;
lstat?: typeof fs.lstat | undefined;
rmdir?: typeof fs.rmdir | undefined;
readdir?: typeof fs.readdir | undefined;
unlinkSync?: typeof fs.unlinkSync | undefined;
chmodSync?: typeof fs.chmodSync | undefined;
statSync?: typeof fs.statSync | undefined;
lstatSync?: typeof fs.lstatSync | undefined;
rmdirSync?: typeof fs.rmdirSync | undefined;
readdirSync?: typeof fs.readdirSync | undefined;
}
}
export = rimraf;
````
### Additional Details
* Last updated: Fri, 20 Mar 2020 18:06:10 GMT
* Last updated: Wed, 07 Jul 2021 18:02:26 GMT
* Dependencies: [@types/glob](https://npmjs.com/package/@types/glob), [@types/node](https://npmjs.com/package/@types/node)

@@ -14,0 +62,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