tiny-readdir 2.7.0 → 2.7.1

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 CHANGED
@@ -1,4 +1,4 @@
1
- import type { Dirent, Options, Result } from './types';
1
+ import type { Dirent, Options, ResultDirectory, ResultDirectories, Result } from './types';
2
2
  declare const readdir: (rootPath: string, options?: Options) => Promise<Result>;
3
3
  export default readdir;
4
- export type { Dirent, Options, Result };
4
+ export type { Dirent, Options, ResultDirectory, ResultDirectories, Result };
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.7.0",
5
+ "version": "2.7.1",
6
6
  "type": "module",
7
7
  "main": "dist/index.js",
8
8
  "exports": "./dist/index.js",
package/src/index.ts CHANGED
@@ -253,4 +253,4 @@ const readdir = ( rootPath: string, options?: Options ): Promise<Result> => {
253
253
  /* EXPORT */
254
254
 
255
255
  export default readdir;
256
- export type {Dirent, Options, Result};
256
+ export type {Dirent, Options, ResultDirectory, ResultDirectories, Result};