rrdir 13.2.2 → 14.0.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.map +1 -1
- package/dist/index.js +7 -9
- package/package.json +11 -11
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAC,KAAK,EAAS,MAAM,SAAS,CAAC;AAC3C,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAQvC,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,QAAQ,CAAC;AACzC,MAAM,MAAM,GAAG,GAAG,MAAM,GAAG,UAAU,CAAC;AACtC,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,MAAM,CAAC;AAEhD,MAAM,MAAM,SAAS,GAAG;IACtB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAC,KAAK,EAAS,MAAM,SAAS,CAAC;AAC3C,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAQvC,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,QAAQ,CAAC;AACzC,MAAM,MAAM,GAAG,GAAG,MAAM,GAAG,UAAU,CAAC;AACtC,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,MAAM,CAAC;AAEhD,MAAM,MAAM,SAAS,GAAG;IACtB,MAAM,CAAC,EAAE,OAAO,CA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
-
import { readdirSync, statSync, lstatSync } from
|
|
3
|
-
import { sep, resolve } from
|
|
4
|
-
import picomatch from
|
|
1
|
+
import { readdir, stat, lstat } from 'node:fs/promises';
|
|
2
|
+
import { readdirSync, statSync, lstatSync } from 'node:fs';
|
|
3
|
+
import { sep, resolve } from 'node:path';
|
|
4
|
+
import picomatch from 'picomatch';
|
|
5
|
+
|
|
5
6
|
const encoder = new TextEncoder();
|
|
6
7
|
const toUint8Array = encoder.encode.bind(encoder);
|
|
7
8
|
const decoder = new TextDecoder();
|
|
@@ -183,8 +184,5 @@ function rrdirSync(dir, opts = {}, { includeMatcher, excludeMatcher, encoding }
|
|
|
183
184
|
}
|
|
184
185
|
return results;
|
|
185
186
|
}
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
rrdirAsync,
|
|
189
|
-
rrdirSync
|
|
190
|
-
};
|
|
187
|
+
|
|
188
|
+
export { rrdir, rrdirAsync, rrdirSync };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rrdir",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "14.0.0",
|
|
4
4
|
"description": "Recursive directory reader with a delightful API",
|
|
5
5
|
"author": "silverwind <me@silverwind.io>",
|
|
6
6
|
"repository": "silverwind/rrdir",
|
|
@@ -14,20 +14,20 @@
|
|
|
14
14
|
"dist"
|
|
15
15
|
],
|
|
16
16
|
"engines": {
|
|
17
|
-
"node": ">=
|
|
17
|
+
"node": ">=22"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"picomatch": "
|
|
20
|
+
"picomatch": "4.0.3"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@types/node": "24.
|
|
24
|
-
"@types/picomatch": "4.0.
|
|
25
|
-
"eslint": "
|
|
26
|
-
"eslint-config-silverwind": "
|
|
27
|
-
"typescript-config-silverwind": "
|
|
28
|
-
"updates": "16.
|
|
29
|
-
"versions": "13.1.
|
|
30
|
-
"vite": "7.
|
|
23
|
+
"@types/node": "24.3.3",
|
|
24
|
+
"@types/picomatch": "4.0.2",
|
|
25
|
+
"eslint": "9.35.0",
|
|
26
|
+
"eslint-config-silverwind": "103.0.1",
|
|
27
|
+
"typescript-config-silverwind": "10.0.1",
|
|
28
|
+
"updates": "16.7.2",
|
|
29
|
+
"versions": "13.1.1",
|
|
30
|
+
"vite": "7.1.5",
|
|
31
31
|
"vite-config-silverwind": "5.4.0",
|
|
32
32
|
"vitest": "3.2.4",
|
|
33
33
|
"vitest-config-silverwind": "10.2.0"
|