@types/rimraf
Advanced tools
Comparing version 0.0.28 to 2.0.0
@@ -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; |
{ | ||
"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>. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
3892
1
2
34
17
+ Added@types/glob@*
+ Added@types/node@*
+ Added@types/glob@8.1.0(transitive)
+ Added@types/minimatch@5.1.2(transitive)
+ Added@types/node@22.7.4(transitive)
+ Addedundici-types@6.19.8(transitive)