filefive 1.6.0 → 1.8.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/README.md +7 -7
- package/dist/commands/settings.js +1 -1
- package/dist/index.js +6 -1
- package/dist/keybindings.json +20 -4
- package/dist/public/9f7265fc2b70bf1167a9.woff2 +0 -0
- package/dist/public/assets/manifest.webmanifest +1 -1
- package/dist/public/index.js +1 -1
- package/dist/queues/Queue.js +20 -1
- package/package.json +28 -28
- package/dist/public/76e5e3fe6b35d5e6a980.woff2 +0 -0
package/dist/queues/Queue.js
CHANGED
|
@@ -11,6 +11,8 @@ const ramda_1 = require("ramda");
|
|
|
11
11
|
const Connection_1 = __importDefault(require("../Connection"));
|
|
12
12
|
const Local_1 = require("../Local");
|
|
13
13
|
const filter_1 = require("../utils/filter");
|
|
14
|
+
const Local_2 = __importDefault(require("../transformers/Local"));
|
|
15
|
+
const URI_1 = require("../utils/URI");
|
|
14
16
|
const lsRemote = (connId) => {
|
|
15
17
|
const cache = new Map();
|
|
16
18
|
return async (path) => {
|
|
@@ -92,6 +94,19 @@ class TransmitQueue {
|
|
|
92
94
|
if (this.filter) {
|
|
93
95
|
const re = (0, filter_1.filterRegExp)(this.filter);
|
|
94
96
|
matchFilter = (file) => {
|
|
97
|
+
if (this.filter.ignored === true && 'git_i' in file.attributes) {
|
|
98
|
+
return false;
|
|
99
|
+
}
|
|
100
|
+
if (this.filter.uncommited === true &&
|
|
101
|
+
!('git_u' in file.attributes ||
|
|
102
|
+
'git_m' in file.attributes ||
|
|
103
|
+
'git_a' in file.attributes ||
|
|
104
|
+
'git_c' in file.attributes)) {
|
|
105
|
+
return false;
|
|
106
|
+
}
|
|
107
|
+
if (!re) {
|
|
108
|
+
return true;
|
|
109
|
+
}
|
|
95
110
|
const found = re.exec(file.name);
|
|
96
111
|
return this.filter?.invert ?? false ? found === null : found !== null;
|
|
97
112
|
};
|
|
@@ -186,8 +201,12 @@ class TransmitQueue {
|
|
|
186
201
|
}
|
|
187
202
|
}
|
|
188
203
|
ls(connId) {
|
|
204
|
+
const transformer = new Local_2.default();
|
|
189
205
|
return connId == types_1.LocalFileSystemID ?
|
|
190
|
-
(dir) =>
|
|
206
|
+
async (dir) => {
|
|
207
|
+
return transformer.transform(dir, (await Connection_1.default.get(connId).ls(dir))
|
|
208
|
+
.map(f => ({ ...f, URI: (0, URI_1.createURI)(types_1.LocalFileSystemID, f.path) })));
|
|
209
|
+
} :
|
|
191
210
|
(0, exports.lsRemote)(connId);
|
|
192
211
|
}
|
|
193
212
|
stat(connId) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "filefive",
|
|
3
3
|
"description": "SFTP/FTP/Amazon S3 client and dual-panel file manager for macOS and Linux",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.8.0",
|
|
5
5
|
"license": "GPL-3.0",
|
|
6
6
|
"author": "Max Miroshnikov",
|
|
7
7
|
"bin": {
|
|
@@ -36,39 +36,39 @@
|
|
|
36
36
|
"publish": "tsc -p . && npm publish"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@aws-sdk/client-s3": "^3.
|
|
40
|
-
"chalk": "^5.
|
|
41
|
-
"commander": "^
|
|
42
|
-
"express": "^
|
|
39
|
+
"@aws-sdk/client-s3": "^3.962.0",
|
|
40
|
+
"chalk": "^5.6.2",
|
|
41
|
+
"commander": "^14.0.2",
|
|
42
|
+
"express": "^5.2.1",
|
|
43
43
|
"ftp": "^0.3.10",
|
|
44
|
-
"multer": "^
|
|
45
|
-
"open": "^
|
|
46
|
-
"ramda": "^0.
|
|
47
|
-
"rxjs": "^7.8.
|
|
48
|
-
"ssh2": "^1.
|
|
49
|
-
"trash": "^
|
|
50
|
-
"whatwg-url": "^
|
|
51
|
-
"ws": "^8.18.
|
|
44
|
+
"multer": "^2.0.2",
|
|
45
|
+
"open": "^11.0.0",
|
|
46
|
+
"ramda": "^0.32.0",
|
|
47
|
+
"rxjs": "^7.8.2",
|
|
48
|
+
"ssh2": "^1.17.0",
|
|
49
|
+
"trash": "^10.0.1",
|
|
50
|
+
"whatwg-url": "^15.1.0",
|
|
51
|
+
"ws": "^8.18.3"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@eslint/js": "^9.
|
|
55
|
-
"@types/express": "^5.0.
|
|
54
|
+
"@eslint/js": "^9.39.2",
|
|
55
|
+
"@types/express": "^5.0.6",
|
|
56
56
|
"@types/ftp": "^0.3.36",
|
|
57
|
-
"@types/jest": "^
|
|
58
|
-
"@types/multer": "^
|
|
59
|
-
"@types/node": "^
|
|
60
|
-
"@types/ramda": "^0.
|
|
61
|
-
"@types/ssh2": "^1.15.
|
|
57
|
+
"@types/jest": "^30.0.0",
|
|
58
|
+
"@types/multer": "^2.0.0",
|
|
59
|
+
"@types/node": "^25.0.3",
|
|
60
|
+
"@types/ramda": "^0.31.1",
|
|
61
|
+
"@types/ssh2": "^1.15.5",
|
|
62
62
|
"@types/whatwg-url": "^13.0.0",
|
|
63
|
-
"@types/ws": "^8.
|
|
64
|
-
"dotenv": "^17.2.
|
|
65
|
-
"eslint": "^9.
|
|
66
|
-
"jest": "^
|
|
67
|
-
"nodemon": "^3.1.
|
|
68
|
-
"ts-jest": "^29.
|
|
63
|
+
"@types/ws": "^8.18.1",
|
|
64
|
+
"dotenv": "^17.2.3",
|
|
65
|
+
"eslint": "^9.39.2",
|
|
66
|
+
"jest": "^30.2.0",
|
|
67
|
+
"nodemon": "^3.1.11",
|
|
68
|
+
"ts-jest": "^29.4.6",
|
|
69
69
|
"ts-node": "^10.9.2",
|
|
70
|
-
"typescript": "^5.
|
|
71
|
-
"typescript-eslint": "^8.
|
|
70
|
+
"typescript": "^5.9.3",
|
|
71
|
+
"typescript-eslint": "^8.51.0"
|
|
72
72
|
},
|
|
73
73
|
"nodemonConfig": {
|
|
74
74
|
"ignore": [
|
|
Binary file
|