tiny-readdir 2.5.0 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -1
- package/package.json +1 -1
- package/src/index.ts +2 -1
package/dist/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "tiny-readdir",
|
|
3
3
|
"repository": "github:fabiospampinato/tiny-readdir",
|
|
4
4
|
"description": "A simple promisified recursive readdir function.",
|
|
5
|
-
"version": "2.
|
|
5
|
+
"version": "2.6.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"exports": "./dist/index.js",
|
package/src/index.ts
CHANGED
|
@@ -5,7 +5,7 @@ import fs from 'node:fs';
|
|
|
5
5
|
import path from 'node:path';
|
|
6
6
|
import {NOOP_PROMISE_LIKE} from './constants';
|
|
7
7
|
import {isFunction, makeCounterPromise} from './utils';
|
|
8
|
-
import type {Options, ResultDirectory, ResultDirectories, Result} from './types';
|
|
8
|
+
import type {Dirent, Options, ResultDirectory, ResultDirectories, Result} from './types';
|
|
9
9
|
|
|
10
10
|
/* MAIN */
|
|
11
11
|
|
|
@@ -252,3 +252,4 @@ const readdir = ( rootPath: string, options?: Options ): Promise<Result> => {
|
|
|
252
252
|
/* EXPORT */
|
|
253
253
|
|
|
254
254
|
export default readdir;
|
|
255
|
+
export type {Dirent, Options, Result};
|