Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rd

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rd - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

32

index.d.ts

@@ -41,7 +41,7 @@ /**

*/
export function eachFile(dir: string, findOne: FindOneCallback, callback: Callback1);
export function eachFile(dir: string, findOne: FindOneCallback, callback: Callback1): void;
/**
* 遍历目录下的所有文件
*/
export function eachFile(dir: string, thread_num: number, findOne: FindOneCallback, callback: Callback1);
export function eachFile(dir: string, thread_num: number, findOne: FindOneCallback, callback: Callback1): void;

@@ -60,7 +60,7 @@ /**

*/
export function eachDir(dir: string, findOne: FindOneCallback, callback: Callback1);
export function eachDir(dir: string, findOne: FindOneCallback, callback: Callback1): void;
/**
* 遍历目录下的所有目录
*/
export function eachDir(dir: string, thread_num: number, findOne: FindOneCallback, callback: Callback1);
export function eachDir(dir: string, thread_num: number, findOne: FindOneCallback, callback: Callback1): void;

@@ -79,7 +79,7 @@ /**

*/
export function eachFilter(dir: string, pattern: FindFilter, callback: Callback1);
export function eachFilter(dir: string, pattern: FindFilter, callback: Callback1): void;
/**
* 仅列出目录下指定规则的所有文件和目录
*/
export function eachFilter(dir: string, pattern: FindFilter, thread_num: number, callback: Callback1);
export function eachFilter(dir: string, pattern: FindFilter, thread_num: number, callback: Callback1): void;

@@ -89,7 +89,7 @@ /**

*/
export function eachFilterSync(dir: string, pattern: FindFilter);
export function eachFilterSync(dir: string, pattern: FindFilter): void;
/**
* 仅列出目录下指定规则的所有文件和目录
*/
export function eachFilterSync(dir: string, pattern: FindFilter, thread_num: number);
export function eachFilterSync(dir: string, pattern: FindFilter, thread_num: number): void;

@@ -99,7 +99,7 @@ /**

*/
export function eachFileFilter(dir: string, pattern: FindFilter, callback: Callback1);
export function eachFileFilter(dir: string, pattern: FindFilter, callback: Callback1): void;
/**
* 仅列出目录下指定规则的所有文件
*/
export function eachFileFilter(dir: string, pattern: FindFilter, thread_num: number, callback: Callback1);
export function eachFileFilter(dir: string, pattern: FindFilter, thread_num: number, callback: Callback1): void;

@@ -109,7 +109,7 @@ /**

*/
export function eachFileFilterSync(dir: string, pattern: FindFilter);
export function eachFileFilterSync(dir: string, pattern: FindFilter): void;
/**
* 仅列出目录下指定规则的所有文件
*/
export function eachFileFilterSync(dir: string, pattern: FindFilter, thread_num: number);
export function eachFileFilterSync(dir: string, pattern: FindFilter, thread_num: number): void;

@@ -120,7 +120,7 @@

*/
export function eachDirFilter(dir: string, pattern: FindFilter, callback: Callback1);
export function eachDirFilter(dir: string, pattern: FindFilter, callback: Callback1): void;
/**
* 仅列出目录下指定规则的所有目录
*/
export function eachDirFilter(dir: string, pattern: FindFilter, thread_num: number, callback: Callback1);
export function eachDirFilter(dir: string, pattern: FindFilter, thread_num: number, callback: Callback1): void;

@@ -130,7 +130,7 @@ /**

*/
export function eachDirFilterSync(dir: string, pattern: FindFilter);
export function eachDirFilterSync(dir: string, pattern: FindFilter): void;
/**
* 仅列出目录下指定规则的所有目录
*/
export function eachDirFilterSync(dir: string, pattern: FindFilter, thread_num: number);
export function eachDirFilterSync(dir: string, pattern: FindFilter, thread_num: number): void;

@@ -137,0 +137,0 @@

{
"name": "rd",
"version": "1.1.1",
"version": "1.1.2",
"description": "Read all directory recursively 列出(遍历)目录下的所有文件,包括子目录",

@@ -5,0 +5,0 @@ "main": "index.js",

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