cloudcmd 19.19.1 → 19.20.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/ChangeLog +13 -0
- package/HELP.md +2 -1
- package/README.md +1 -1
- package/dist/cloudcmd.common.css +1 -1
- package/dist/cloudcmd.common.css.map +1 -1
- package/dist/cloudcmd.common.js +7978 -9367
- package/dist/cloudcmd.common.js.map +1 -1
- package/dist/cloudcmd.js +164 -175
- package/dist/cloudcmd.js.map +1 -1
- package/dist/columns/name-size-date-time.css +1 -1
- package/dist/columns/name-size-date-time.css.map +1 -1
- package/dist/columns/name-size-date-time.js +4 -4
- package/dist/columns/name-size-date-time.js.map +1 -1
- package/dist/columns/name-size-date.css +1 -1
- package/dist/columns/name-size-date.css.map +1 -1
- package/dist/columns/name-size-date.js +4 -4
- package/dist/columns/name-size-date.js.map +1 -1
- package/dist/columns/name-size.css +1 -1
- package/dist/columns/name-size.css.map +1 -1
- package/dist/columns/name-size.js +4 -4
- package/dist/columns/name-size.js.map +1 -1
- package/dist/config.css +1 -1
- package/dist/config.css.map +1 -1
- package/dist/config.js +4 -4
- package/dist/config.js.map +1 -1
- package/dist/help.css +1 -1
- package/dist/help.css.map +1 -1
- package/dist/help.js +4 -4
- package/dist/help.js.map +1 -1
- package/dist/modules/cloud.js +164 -175
- package/dist/modules/cloud.js.map +1 -1
- package/dist/modules/command-line.js +164 -175
- package/dist/modules/command-line.js.map +1 -1
- package/dist/modules/config.js +164 -175
- package/dist/modules/config.js.map +1 -1
- package/dist/modules/contact.js +164 -175
- package/dist/modules/contact.js.map +1 -1
- package/dist/modules/edit-file-vim.js +164 -175
- package/dist/modules/edit-file-vim.js.map +1 -1
- package/dist/modules/edit-file.js +164 -175
- package/dist/modules/edit-file.js.map +1 -1
- package/dist/modules/edit-names-vim.js +164 -175
- package/dist/modules/edit-names-vim.js.map +1 -1
- package/dist/modules/edit-names.js +164 -175
- package/dist/modules/edit-names.js.map +1 -1
- package/dist/modules/edit.js +164 -175
- package/dist/modules/edit.js.map +1 -1
- package/dist/modules/help.js +164 -175
- package/dist/modules/help.js.map +1 -1
- package/dist/modules/konsole.js +164 -175
- package/dist/modules/konsole.js.map +1 -1
- package/dist/modules/markdown.js +164 -175
- package/dist/modules/markdown.js.map +1 -1
- package/dist/modules/menu.js +164 -175
- package/dist/modules/menu.js.map +1 -1
- package/dist/modules/operation.js +164 -175
- package/dist/modules/operation.js.map +1 -1
- package/dist/modules/polyfill.js +164 -175
- package/dist/modules/polyfill.js.map +1 -1
- package/dist/modules/terminal-run.js +164 -175
- package/dist/modules/terminal-run.js.map +1 -1
- package/dist/modules/terminal.js +164 -175
- package/dist/modules/terminal.js.map +1 -1
- package/dist/modules/upload.js +164 -175
- package/dist/modules/upload.js.map +1 -1
- package/dist/modules/user-menu.js +164 -175
- package/dist/modules/user-menu.js.map +1 -1
- package/dist/modules/view.js +164 -175
- package/dist/modules/view.js.map +1 -1
- package/dist/nojs.css +1 -1
- package/dist/nojs.css.map +1 -1
- package/dist/nojs.js +4 -4
- package/dist/nojs.js.map +1 -1
- package/dist/sw.js +37 -46
- package/dist/sw.js.map +1 -1
- package/dist/terminal.css.map +1 -1
- package/dist/terminal.js +4 -4
- package/dist/terminal.js.map +1 -1
- package/dist/themes/dark.css +1 -1
- package/dist/themes/dark.css.map +1 -1
- package/dist/themes/dark.js +4 -4
- package/dist/themes/dark.js.map +1 -1
- package/dist/themes/light.css +1 -1
- package/dist/themes/light.css.map +1 -1
- package/dist/themes/light.js +4 -4
- package/dist/themes/light.js.map +1 -1
- package/dist/user-menu.css +1 -1
- package/dist/user-menu.css.map +1 -1
- package/dist/user-menu.js +4 -4
- package/dist/user-menu.js.map +1 -1
- package/dist/view.css +1 -1
- package/dist/view.css.map +1 -1
- package/dist/view.js +4 -4
- package/dist/view.js.map +1 -1
- package/dist-dev/cloudcmd.common.css +17 -17
- package/dist-dev/cloudcmd.common.js +759 -1198
- package/dist-dev/cloudcmd.js +160 -184
- package/dist-dev/columns/name-size-date-time.css +1 -1
- package/dist-dev/columns/name-size-date-time.js +26 -42
- package/dist-dev/columns/name-size-date.css +1 -1
- package/dist-dev/columns/name-size-date.js +26 -42
- package/dist-dev/columns/name-size.css +1 -1
- package/dist-dev/columns/name-size.js +26 -42
- package/dist-dev/config.css +1 -1
- package/dist-dev/config.js +26 -42
- package/dist-dev/help.css +1 -1
- package/dist-dev/help.js +26 -42
- package/dist-dev/modules/cloud.js +160 -184
- package/dist-dev/modules/command-line.js +160 -184
- package/dist-dev/modules/config.js +160 -184
- package/dist-dev/modules/contact.js +160 -184
- package/dist-dev/modules/edit-file-vim.js +160 -184
- package/dist-dev/modules/edit-file.js +160 -184
- package/dist-dev/modules/edit-names-vim.js +160 -184
- package/dist-dev/modules/edit-names.js +160 -184
- package/dist-dev/modules/edit.js +160 -184
- package/dist-dev/modules/help.js +160 -184
- package/dist-dev/modules/konsole.js +160 -184
- package/dist-dev/modules/markdown.js +160 -184
- package/dist-dev/modules/menu.js +160 -184
- package/dist-dev/modules/operation.js +160 -184
- package/dist-dev/modules/polyfill.js +160 -184
- package/dist-dev/modules/terminal-run.js +160 -184
- package/dist-dev/modules/terminal.js +160 -184
- package/dist-dev/modules/upload.js +160 -184
- package/dist-dev/modules/user-menu.js +160 -184
- package/dist-dev/modules/view.js +160 -184
- package/dist-dev/nojs.css +1 -1
- package/dist-dev/nojs.js +26 -42
- package/dist-dev/sw.js +71 -99
- package/dist-dev/terminal.css +1 -1
- package/dist-dev/terminal.js +26 -42
- package/dist-dev/themes/dark.css +1 -1
- package/dist-dev/themes/dark.js +26 -42
- package/dist-dev/themes/light.css +1 -1
- package/dist-dev/themes/light.js +26 -42
- package/dist-dev/user-menu.css +1 -1
- package/dist-dev/user-menu.js +26 -42
- package/dist-dev/view.css +1 -1
- package/dist-dev/view.js +26 -42
- package/package.json +11 -14
- package/server/rest/index.js +16 -0
package/dist-dev/view.js
CHANGED
|
@@ -1,49 +1,33 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
6
|
-
* or disable the default devtool with "devtool: false".
|
|
7
|
-
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
8
|
-
*/
|
|
9
|
-
/******/ (() => { // webpackBootstrap
|
|
10
|
-
/******/ "use strict";
|
|
11
|
-
/******/ var __webpack_modules__ = ({
|
|
12
|
-
|
|
13
|
-
/***/ "./css/view.css"
|
|
1
|
+
(() => {
|
|
2
|
+
"use strict";
|
|
3
|
+
var __webpack_modules__ = ({
|
|
4
|
+
"./css/view.css"
|
|
14
5
|
/*!**********************!*\
|
|
15
6
|
!*** ./css/view.css ***!
|
|
16
7
|
\**********************/
|
|
17
|
-
(
|
|
8
|
+
(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
9
|
+
eval("{__webpack_require__.r(__webpack_exports__);\n// extracted by css-extract-rspack-plugin\n\n\n//# sourceURL=file://cloudcmd//Users/coderaiser/cloudcmd/css/view.css\n}");
|
|
18
10
|
|
|
19
|
-
|
|
11
|
+
},
|
|
20
12
|
|
|
21
|
-
|
|
13
|
+
});
|
|
14
|
+
// The require scope
|
|
15
|
+
var __webpack_require__ = {};
|
|
22
16
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
/******/
|
|
40
|
-
/************************************************************************/
|
|
41
|
-
/******/
|
|
42
|
-
/******/ // startup
|
|
43
|
-
/******/ // Load entry module and return exports
|
|
44
|
-
/******/ // This entry module can't be inlined because the eval devtool is used.
|
|
45
|
-
/******/ var __webpack_exports__ = {};
|
|
46
|
-
/******/ __webpack_modules__["./css/view.css"](0,__webpack_exports__,__webpack_require__);
|
|
47
|
-
/******/
|
|
48
|
-
/******/ })()
|
|
17
|
+
// webpack/runtime/make_namespace_object
|
|
18
|
+
(() => {
|
|
19
|
+
// define __esModule on exports
|
|
20
|
+
__webpack_require__.r = (exports) => {
|
|
21
|
+
if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
22
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
23
|
+
}
|
|
24
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
25
|
+
};
|
|
26
|
+
})();
|
|
27
|
+
// startup
|
|
28
|
+
// Load entry module and return exports
|
|
29
|
+
// This entry module can't be inlined because the eval devtool is used.
|
|
30
|
+
var __webpack_exports__ = {}
|
|
31
|
+
__webpack_modules__["./css/view.css"](0, __webpack_exports__, __webpack_require__);
|
|
32
|
+
})()
|
|
49
33
|
;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cloudcmd",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.20.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
|
|
6
6
|
"description": "File manager for the web with console and editor",
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"@putout/plugin-cloudcmd": "^5.2.0",
|
|
94
94
|
"aleman": "^2.0.1",
|
|
95
95
|
"apart": "^2.0.0",
|
|
96
|
-
"chalk": "^
|
|
96
|
+
"chalk": "^6.0.0",
|
|
97
97
|
"compression": "^1.7.4",
|
|
98
98
|
"console-io": "^15.0.1",
|
|
99
99
|
"copymitter": "^10.3.0",
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
"jju": "^1.3.0",
|
|
119
119
|
"jonny": "^3.0.0",
|
|
120
120
|
"just-snake-case": "^3.2.0",
|
|
121
|
-
"markdown-it": "^
|
|
121
|
+
"markdown-it": "^15.0.0",
|
|
122
122
|
"mellow": "^3.0.0",
|
|
123
123
|
"mime-types": "^3.0.1",
|
|
124
124
|
"montag": "^2.0.1",
|
|
@@ -151,10 +151,10 @@
|
|
|
151
151
|
"yargs-parser": "^22.0.0"
|
|
152
152
|
},
|
|
153
153
|
"devDependencies": {
|
|
154
|
-
"@babel/code-frame": "^
|
|
155
|
-
"@babel/core": "^
|
|
156
|
-
"@babel/plugin-transform-optional-chaining": "^
|
|
157
|
-
"@babel/preset-env": "^
|
|
154
|
+
"@babel/code-frame": "^8.0.0",
|
|
155
|
+
"@babel/core": "^8.0.1",
|
|
156
|
+
"@babel/plugin-transform-optional-chaining": "^8.0.1",
|
|
157
|
+
"@babel/preset-env": "^8.0.2",
|
|
158
158
|
"@cloudcmd/clipboard": "^2.0.0",
|
|
159
159
|
"@cloudcmd/create-element": "^2.0.0",
|
|
160
160
|
"@cloudcmd/modal": "^4.0.0",
|
|
@@ -162,6 +162,8 @@
|
|
|
162
162
|
"@cloudcmd/stub": "^5.0.0",
|
|
163
163
|
"@iocmd/wait": "^2.1.0",
|
|
164
164
|
"@putout/eslint-flat": "^4.0.0",
|
|
165
|
+
"@rspack/cli": "^2.1.4",
|
|
166
|
+
"@rspack/core": "^2.1.4",
|
|
165
167
|
"@supertape/loader-css": "^1.0.0",
|
|
166
168
|
"@types/node-fetch": "^2.6.11",
|
|
167
169
|
"auto-globals": "^4.0.0",
|
|
@@ -171,7 +173,6 @@
|
|
|
171
173
|
"clean-css-loader": "^4.2.1",
|
|
172
174
|
"codegen.macro": "^4.0.0",
|
|
173
175
|
"css-loader": "^7.1.2",
|
|
174
|
-
"css-minimizer-webpack-plugin": "^8.0.0",
|
|
175
176
|
"css-modules-require-hook": "^4.2.3",
|
|
176
177
|
"cssnano-preset-default": "^8.0.1",
|
|
177
178
|
"domtokenlist-shim": "^1.2.0",
|
|
@@ -190,7 +191,6 @@
|
|
|
190
191
|
"load.js": "^3.0.0",
|
|
191
192
|
"madrun": "^13.0.0",
|
|
192
193
|
"memfs": "^4.2.0",
|
|
193
|
-
"mini-css-extract-plugin": "^2.9.2",
|
|
194
194
|
"minor": "^1.2.2",
|
|
195
195
|
"morgan": "^1.6.1",
|
|
196
196
|
"multi-rename": "^3.0.0",
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
"request": "^2.76.0",
|
|
206
206
|
"rimraf": "^6.0.1",
|
|
207
207
|
"scroll-into-view-if-needed": "^3.0.4",
|
|
208
|
-
"serve-once": "^
|
|
208
|
+
"serve-once": "^4.0.1",
|
|
209
209
|
"smalltalk": "^5.0.0",
|
|
210
210
|
"style-loader": "^4.0.0",
|
|
211
211
|
"superc8": "^12.6.0",
|
|
@@ -215,10 +215,7 @@
|
|
|
215
215
|
"unionfs": "^4.0.0",
|
|
216
216
|
"url-loader": "^4.0.0",
|
|
217
217
|
"util": "^0.12.5",
|
|
218
|
-
"webpack": "^
|
|
219
|
-
"webpack-cli": "^7.0.2",
|
|
220
|
-
"webpack-merge": "^6.0.1",
|
|
221
|
-
"webpackbar": "^7.0.0"
|
|
218
|
+
"webpack-merge": "^6.0.1"
|
|
222
219
|
},
|
|
223
220
|
"imports": {
|
|
224
221
|
"#css/": "./css/",
|
package/server/rest/index.js
CHANGED
|
@@ -32,6 +32,8 @@ const UserError = (msg) => {
|
|
|
32
32
|
return error;
|
|
33
33
|
};
|
|
34
34
|
|
|
35
|
+
export const _UserError = UserError;
|
|
36
|
+
|
|
35
37
|
export default currify(({config, fs = _fs, moveFiles = _moveFiles}, request, response, next) => {
|
|
36
38
|
const name = ponse.getPathName(request);
|
|
37
39
|
const regExp = RegExp(`^${apiURL}`);
|
|
@@ -153,6 +155,8 @@ function getPackReg(packer) {
|
|
|
153
155
|
return /\.tar\.gz$/;
|
|
154
156
|
}
|
|
155
157
|
|
|
158
|
+
export const _getPackReg = getPackReg;
|
|
159
|
+
|
|
156
160
|
function streamPack(cmd, response, packer) {
|
|
157
161
|
const noop = () => {};
|
|
158
162
|
const filename = cmd.replace(getPackReg(packer), '');
|
|
@@ -172,6 +176,8 @@ function getCMD(cmd) {
|
|
|
172
176
|
return cmd;
|
|
173
177
|
}
|
|
174
178
|
|
|
179
|
+
export const _getCMD = getCMD;
|
|
180
|
+
|
|
175
181
|
const getMoveMsg = (names) => formatMsg('move', names);
|
|
176
182
|
|
|
177
183
|
const getRenameMsg = (from, to) => {
|
|
@@ -276,6 +282,8 @@ function rename(rootDir, from, to, fs, callback) {
|
|
|
276
282
|
return fs.rename(fromRooted, toRooted, fn);
|
|
277
283
|
}
|
|
278
284
|
|
|
285
|
+
export const _rename = rename;
|
|
286
|
+
|
|
279
287
|
function pack(from, to, names, config, fn) {
|
|
280
288
|
const rootDir = config('root');
|
|
281
289
|
const packer = config('packer');
|
|
@@ -294,6 +302,8 @@ function pack(from, to, names, config, fn) {
|
|
|
294
302
|
operation('pack', packer, from, to, names, fn);
|
|
295
303
|
}
|
|
296
304
|
|
|
305
|
+
export const _pack = pack;
|
|
306
|
+
|
|
297
307
|
function extract(from, to, config, fn) {
|
|
298
308
|
const rootDir = config('root');
|
|
299
309
|
|
|
@@ -307,6 +317,8 @@ function extract(from, to, config, fn) {
|
|
|
307
317
|
operation('extract', config('packer'), from, to, fn);
|
|
308
318
|
}
|
|
309
319
|
|
|
320
|
+
export const _extract = extract;
|
|
321
|
+
|
|
310
322
|
function getPacker(operation, packer) {
|
|
311
323
|
if (operation === 'extract')
|
|
312
324
|
return inly;
|
|
@@ -317,6 +329,8 @@ function getPacker(operation, packer) {
|
|
|
317
329
|
return jaguar.pack;
|
|
318
330
|
}
|
|
319
331
|
|
|
332
|
+
export const _getPacker = getPacker;
|
|
333
|
+
|
|
320
334
|
function operation(op, packer, from, to, names, fn) {
|
|
321
335
|
if (!fn) {
|
|
322
336
|
fn = names;
|
|
@@ -345,6 +359,8 @@ function operation(op, packer, from, to, names, fn) {
|
|
|
345
359
|
});
|
|
346
360
|
}
|
|
347
361
|
|
|
362
|
+
export const _operation = operation;
|
|
363
|
+
|
|
348
364
|
function copy(from, to, names, fn) {
|
|
349
365
|
copymitter(from, to, names)
|
|
350
366
|
.on('error', fn)
|