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 0.0.28 to 2.0.0

rimraf/LICENSE

35

rimraf/index.d.ts

@@ -1,4 +0,4 @@

// Type definitions for rimraf
// Type definitions for rimraf 2.0
// Project: https://github.com/isaacs/rimraf
// Definitions by: Carlos Ballesteros Velasco <https://github.com/soywiz>
// Definitions by: Carlos Ballesteros Velasco <https://github.com/soywiz>, e-cloud <https://github.com/e-cloud>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -8,9 +8,34 @@

/// <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 {
export function sync(path: string): void;
export var EMFILE_MAX: number;
export var BUSYTRIES_MAX: number;
function sync(path: string, options?: rimraf.Options): void;
let EMFILE_MAX: number;
let BUSYTRIES_MAX: number;
interface Options {
maxBusyTries?: number;
emfileWait?: boolean;
disableGlob?: boolean;
glob?: glob.IOptions | false;
unlink?: typeof fs.unlink;
chmod?: typeof fs.chmod;
stat?: typeof fs.stat;
lstat?: typeof fs.lstat;
rmdir?: typeof fs.rmdir;
readdir?: typeof fs.readdir;
unlinkSync?: typeof fs.unlinkSync;
chmodSync?: typeof fs.chmodSync;
statSync?: typeof fs.statSync;
lstatSync?: typeof fs.lstatSync;
rmdirSync?: typeof fs.rmdirSync;
readdirSync?: typeof fs.readdirSync;
}
}
export = rimraf;

23

rimraf/package.json
{
"name": "@types/rimraf",
"version": "0.0.28",
"version": "2.0.0",
"description": "TypeScript definitions for rimraf",
"license": "MIT",
"author": "Carlos Ballesteros Velasco <https://github.com/soywiz>",
"contributors": [
{
"name": "Carlos Ballesteros Velasco",
"url": "https://github.com/soywiz"
},
{
"name": "e-cloud",
"url": "https://github.com/e-cloud"
}
],
"main": "",

@@ -13,5 +22,9 @@ "repository": {

"scripts": {},
"dependencies": {},
"typings": "index.d.ts",
"typesPublisherContentHash": "6b2db40533a59a57e10c89f4d88954f8ae07f126f921eddadd051f1abfc1a159"
"dependencies": {
"@types/glob": "*",
"@types/node": "*"
},
"peerDependencies": {},
"typesPublisherContentHash": "3ebb41c22ce7d03b12e0b04faadc3dfb58e1686f00bf99ff047738794bbf352d",
"typeScriptVersion": "2.0"
}

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

# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/types-2.0/rimraf
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rimraf
Additional Details
* Last updated: Mon, 19 Sep 2016 17:28:59 GMT
* File structure: ProperModule
* Library Dependencies: none
* Module Dependencies: none
* Global values: rimraf
* Last updated: Wed, 09 Aug 2017 17:37:36 GMT
* Dependencies: glob, fs, node
* Global values: none
# Credits
These definitions were written by Carlos Ballesteros Velasco <https://github.com/soywiz>.
These definitions were written by Carlos Ballesteros Velasco <https://github.com/soywiz>, e-cloud <https://github.com/e-cloud>.
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