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.3 to 3.0.0

19

rimraf/index.d.ts

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

// Type definitions for rimraf 2.0
// Type definitions for rimraf 3.0
// Project: https://github.com/isaacs/rimraf

@@ -7,6 +7,5 @@ // Definitions by: Carlos Ballesteros Velasco <https://github.com/soywiz>

// Oganexon <https://github.com/oganexon>
// Piotr Błażejewicz <https://github.com/peterblazejewicz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Imported from: https://github.com/soywiz/typescript-node-definitions/rimraf.d.ts
/// <reference types="node" />

@@ -20,9 +19,16 @@

declare namespace rimraf {
function __promisify__(path: string, options?: Options): Promise<void>;
/**
* It can remove stuff synchronously, too.
* But that's not so good. Use the async API.
* It's better.
*/
function sync(path: string, options?: Options): void;
let EMFILE_MAX: number;
let BUSYTRIES_MAX: number;
/**
* see {@link https://github.com/isaacs/rimraf/blob/79b933fb362b2c51bedfa448be848e1d7ed32d7e/README.md#options}
*/
interface Options {
maxBusyTries?: number;
emfileWait?: number;
/** @default false */
disableGlob?: boolean;

@@ -37,3 +43,2 @@ glob?: glob.IOptions | false;

readdir?: typeof fs.readdir;
unlinkSync?: typeof fs.unlinkSync;

@@ -40,0 +45,0 @@ chmodSync?: typeof fs.chmodSync;

{
"name": "@types/rimraf",
"version": "2.0.3",
"version": "3.0.0",
"description": "TypeScript definitions for rimraf",

@@ -26,6 +26,11 @@ "license": "MIT",

"githubUsername": "oganexon"
},
{
"name": "Piotr Błażejewicz",
"url": "https://github.com/peterblazejewicz",
"githubUsername": "peterblazejewicz"
}
],
"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -41,4 +46,4 @@ "type": "git",

},
"typesPublisherContentHash": "c6c2c45a7542913bd1aed2e04fbdc32076b84fea74f57168d7899d85f02aab08",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "95d9030c25688dbd8c92efbfff673d88008ec8871b5fa3f55082961271ad4ca3",
"typeScriptVersion": "2.8"
}

@@ -8,10 +8,10 @@ # Installation

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rimraf
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rimraf.
Additional Details
* Last updated: Thu, 24 Oct 2019 19:49:07 GMT
* Dependencies: @types/glob, @types/node
### Additional Details
* Last updated: Fri, 20 Mar 2020 18:06:09 GMT
* Dependencies: [@types/glob](https://npmjs.com/package/@types/glob), [@types/node](https://npmjs.com/package/@types/node)
* Global values: none
# Credits
These definitions were written by Carlos Ballesteros Velasco <https://github.com/soywiz>, e-cloud <https://github.com/e-cloud>, Ruben Schmidmeister <https://github.com/bash>, and Oganexon <https://github.com/oganexon>.
These definitions were written 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), and [Piotr Błażejewicz](https://github.com/peterblazejewicz).
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