less requirements for installing
Massimo Melina committed
Jul 6, 2023 at 20:12 UTC
2da748e9285295ae8c9713f07967f0a2f3e38214
2 files changed
+2
-2
package.json
+1
-1
@@ -68,7 +68,7 @@
68
"fast-glob": "^3.2.7",
69
"find-process": "^1.4.7",
70
"formidable": "^2.1.1",
71
- "fs-extended-attributes": "^1.0.1",
71
+ "fs-x-attributes": "^1.0.0",
72
"koa": "^2.13.4",
73
"koa-compress": "^5.1.0",
74
"koa-mount": "^4.0.0",
src/util-files.ts
+1
-1
@@ -12,7 +12,7 @@ import { once, Readable } from 'stream'
12
// @ts-ignore
13
import unzipper from 'unzip-stream'
14
// @ts-ignore
15
-import fsx from 'fs-extended-attributes'
15
+import fsx from 'fs-x-attributes'
16
17
export async function isDirectory(path: string) {
18
try { return (await fs.stat(path)).isDirectory() }