extra-filesystem 0.4.6 → 0.4.7
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/README.md +3 -3
- package/lib/es2015/find-all-dirnames.d.ts +1 -1
- package/lib/es2015/find-all-filenames.d.ts +1 -1
- package/lib/es2015/read-file-line-by-line-sync.d.ts +1 -1
- package/lib/es2018/find-all-dirnames.d.ts +1 -1
- package/lib/es2018/find-all-filenames.d.ts +1 -1
- package/lib/es2018/read-file-line-by-line-sync.d.ts +1 -1
- package/package.json +14 -14
package/README.md
CHANGED
|
@@ -160,7 +160,7 @@ function isReadable(path: string): Promise<boolean>
|
|
|
160
160
|
function findAllFilenames(
|
|
161
161
|
dirname: string
|
|
162
162
|
, predicate: (dirname: string) => boolean = _ => true
|
|
163
|
-
):
|
|
163
|
+
): AsyncIterableIterator<string>
|
|
164
164
|
```
|
|
165
165
|
|
|
166
166
|
### findAllDirnames
|
|
@@ -168,7 +168,7 @@ function findAllFilenames(
|
|
|
168
168
|
function findAllDirnames(
|
|
169
169
|
dirname: string
|
|
170
170
|
, predicate: (dirname: string) => boolean = _ => true
|
|
171
|
-
):
|
|
171
|
+
): AsyncIterableIterator<string>
|
|
172
172
|
```
|
|
173
173
|
|
|
174
174
|
### getLongExtension
|
|
@@ -206,7 +206,7 @@ function readFileLineByLine(
|
|
|
206
206
|
function* readFileLineByLineSync(
|
|
207
207
|
filename: string
|
|
208
208
|
, encoding: BufferEncoding = 'utf-8'
|
|
209
|
-
):
|
|
209
|
+
): IterableIterator<string>
|
|
210
210
|
```
|
|
211
211
|
|
|
212
212
|
### writeIterableToFile
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function findAllDirnames(dirname: string, predicate?: (dirname: string) => boolean):
|
|
1
|
+
export declare function findAllDirnames(dirname: string, predicate?: (dirname: string) => boolean): AsyncIterableIterator<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function findAllFilenames(dirname: string, predicate?: (dirname: string) => boolean):
|
|
1
|
+
export declare function findAllFilenames(dirname: string, predicate?: (dirname: string) => boolean): AsyncIterableIterator<string>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
export declare function readFileLineByLineSync(filename: string, encoding?: BufferEncoding):
|
|
2
|
+
export declare function readFileLineByLineSync(filename: string, encoding?: BufferEncoding): IterableIterator<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function findAllDirnames(dirname: string, predicate?: (dirname: string) => boolean):
|
|
1
|
+
export declare function findAllDirnames(dirname: string, predicate?: (dirname: string) => boolean): AsyncIterableIterator<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function findAllFilenames(dirname: string, predicate?: (dirname: string) => boolean):
|
|
1
|
+
export declare function findAllFilenames(dirname: string, predicate?: (dirname: string) => boolean): AsyncIterableIterator<string>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
export declare function readFileLineByLineSync(filename: string, encoding?: BufferEncoding):
|
|
2
|
+
export declare function readFileLineByLineSync(filename: string, encoding?: BufferEncoding): IterableIterator<string>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "extra-filesystem",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.7",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"files": [
|
|
@@ -38,31 +38,31 @@
|
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@blackglory/jest-matchers": "^0.
|
|
42
|
-
"@commitlint/cli": "^17.
|
|
43
|
-
"@commitlint/config-conventional": "^17.
|
|
41
|
+
"@blackglory/jest-matchers": "^0.5.0",
|
|
42
|
+
"@commitlint/cli": "^17.3.0",
|
|
43
|
+
"@commitlint/config-conventional": "^17.3.0",
|
|
44
44
|
"@types/fs-extra": "^9.0.13",
|
|
45
|
-
"@types/jest": "^
|
|
45
|
+
"@types/jest": "^29.2.3",
|
|
46
46
|
"@types/node": "14",
|
|
47
47
|
"@types/tmp": "^0.2.3",
|
|
48
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
49
|
-
"@typescript-eslint/parser": "^5.
|
|
50
|
-
"eslint": "^8.
|
|
48
|
+
"@typescript-eslint/eslint-plugin": "^5.44.0",
|
|
49
|
+
"@typescript-eslint/parser": "^5.44.0",
|
|
50
|
+
"eslint": "^8.28.0",
|
|
51
51
|
"husky": "^4.3.0",
|
|
52
|
-
"iterable-operator": "^2.
|
|
53
|
-
"jest": "^
|
|
54
|
-
"jest-extended": "^
|
|
52
|
+
"iterable-operator": "^2.5.0",
|
|
53
|
+
"jest": "^29.3.1",
|
|
54
|
+
"jest-extended": "^3.1.0",
|
|
55
55
|
"npm-run-all": "^4.1.5",
|
|
56
56
|
"return-style": "^1.0.0",
|
|
57
57
|
"rimraf": "^3.0.2",
|
|
58
58
|
"standard-version": "^9.5.0",
|
|
59
|
-
"ts-jest": "^
|
|
59
|
+
"ts-jest": "^29.0.3",
|
|
60
60
|
"tscpaths": "^0.0.9",
|
|
61
|
-
"typescript": "^4.
|
|
61
|
+
"typescript": "^4.9.3"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"@blackglory/pass": "^1.1.0",
|
|
65
|
-
"extra-promise": "^4.
|
|
65
|
+
"extra-promise": "^4.3.0",
|
|
66
66
|
"fs-extra": "^10.1.0",
|
|
67
67
|
"tmp-promise": "^3.0.3"
|
|
68
68
|
}
|