cloudcmd 19.1.20 → 19.1.21
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 +11 -0
- package/HELP.md +2 -1
- package/README.md +1 -1
- package/common/cloudfunc.mjs +1 -1
- package/common/{entity.js → entity.mjs} +2 -5
- package/dist/cloudcmd.common.css +1 -1
- package/dist/cloudcmd.common.js +2 -2
- package/dist/cloudcmd.common.js.map +1 -1
- package/dist/modules/command-line.js +1 -1
- package/dist/modules/command-line.js.map +1 -1
- package/dist/modules/edit.js +1 -1
- package/dist/modules/edit.js.map +1 -1
- package/dist/modules/konsole.js +1 -1
- package/dist/modules/konsole.js.map +1 -1
- package/dist/modules/view.js +1 -1
- package/dist/modules/view.js.map +1 -1
- package/dist/sw.js +1 -1
- package/dist-dev/cloudcmd.common.css +112 -120
- package/dist-dev/cloudcmd.common.js +61 -72
- package/dist-dev/modules/command-line.js +1 -1
- package/dist-dev/modules/edit.js +1 -1
- package/dist-dev/modules/konsole.js +1 -1
- package/dist-dev/modules/view.js +1 -1
- package/dist-dev/sw.js +1 -1
- package/package.json +7 -3
- package/server/cloudcmd.mjs +1 -1
- package/server/rest/index.mjs +1 -1
- package/server/route.mjs +1 -1
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
/******/ // startup
|
|
171
171
|
/******/ // Load entry module and return exports
|
|
172
172
|
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
173
|
-
/******/ var __webpack_exports__ = __webpack_require__.O(undefined, ["cloudcmd.common"], () => (__webpack_require__("./client/modules/command-line.
|
|
173
|
+
/******/ var __webpack_exports__ = __webpack_require__.O(undefined, ["cloudcmd.common"], () => (__webpack_require__("./client/modules/command-line.mjs")))
|
|
174
174
|
/******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
|
|
175
175
|
/******/
|
|
176
176
|
/******/ })()
|
package/dist-dev/modules/edit.js
CHANGED
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
/******/ // startup
|
|
171
171
|
/******/ // Load entry module and return exports
|
|
172
172
|
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
173
|
-
/******/ var __webpack_exports__ = __webpack_require__.O(undefined, ["cloudcmd.common"], () => (__webpack_require__("./client/modules/edit.
|
|
173
|
+
/******/ var __webpack_exports__ = __webpack_require__.O(undefined, ["cloudcmd.common"], () => (__webpack_require__("./client/modules/edit.mjs")))
|
|
174
174
|
/******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
|
|
175
175
|
/******/
|
|
176
176
|
/******/ })()
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
/******/ // startup
|
|
171
171
|
/******/ // Load entry module and return exports
|
|
172
172
|
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
173
|
-
/******/ var __webpack_exports__ = __webpack_require__.O(undefined, ["cloudcmd.common"], () => (__webpack_require__("./client/modules/konsole.
|
|
173
|
+
/******/ var __webpack_exports__ = __webpack_require__.O(undefined, ["cloudcmd.common"], () => (__webpack_require__("./client/modules/konsole.mjs")))
|
|
174
174
|
/******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
|
|
175
175
|
/******/
|
|
176
176
|
/******/ })()
|
package/dist-dev/modules/view.js
CHANGED
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
/******/ // startup
|
|
171
171
|
/******/ // Load entry module and return exports
|
|
172
172
|
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
173
|
-
/******/ var __webpack_exports__ = __webpack_require__.O(undefined, ["cloudcmd.common"], () => (__webpack_require__("./client/modules/view/index.
|
|
173
|
+
/******/ var __webpack_exports__ = __webpack_require__.O(undefined, ["cloudcmd.common"], () => (__webpack_require__("./client/modules/view/index.mjs")))
|
|
174
174
|
/******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
|
|
175
175
|
/******/
|
|
176
176
|
/******/ })()
|
package/dist-dev/sw.js
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
17
17
|
|
|
18
18
|
"use strict";
|
|
19
|
-
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var node_process__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! node:process */ \"./node_modules/process/browser.js\");\n/* harmony import */ var try_to_catch__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! try-to-catch */ \"./node_modules/try-to-catch/lib/try-to-catch.js\");\n/* harmony import */ var currify__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! currify */ \"./node_modules/currify/lib/currify.js\");\n\n\n\nconst isDev = \"development\" === 'development';\nconst isGet = a => a.method === 'GET';\nconst isBasic = a => a.type === 'basic';\nconst wait = currify__WEBPACK_IMPORTED_MODULE_2__((f, e) => e.waitUntil(f()));\nconst respondWith = currify__WEBPACK_IMPORTED_MODULE_2__((f, e) => {\n const {\n request\n } = e;\n const {\n url\n } = request;\n const pathname = getPathName(url);\n if (url.endsWith('/') || /\\^\\/fs/.test(pathname)) return;\n if (!isGet(request)) return;\n if (!isBasic(request)) return;\n if (pathname.startsWith('/api')) return;\n if (/^socket.io/.test(pathname)) return;\n e.respondWith(f(e));\n});\nconst getPathName = url => new URL(url).pathname;\nconst date = \"
|
|
19
|
+
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var node_process__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! node:process */ \"./node_modules/process/browser.js\");\n/* harmony import */ var try_to_catch__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! try-to-catch */ \"./node_modules/try-to-catch/lib/try-to-catch.js\");\n/* harmony import */ var currify__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! currify */ \"./node_modules/currify/lib/currify.js\");\n\n\n\nconst isDev = \"development\" === 'development';\nconst isGet = a => a.method === 'GET';\nconst isBasic = a => a.type === 'basic';\nconst wait = currify__WEBPACK_IMPORTED_MODULE_2__((f, e) => e.waitUntil(f()));\nconst respondWith = currify__WEBPACK_IMPORTED_MODULE_2__((f, e) => {\n const {\n request\n } = e;\n const {\n url\n } = request;\n const pathname = getPathName(url);\n if (url.endsWith('/') || /\\^\\/fs/.test(pathname)) return;\n if (!isGet(request)) return;\n if (!isBasic(request)) return;\n if (pathname.startsWith('/api')) return;\n if (/^socket.io/.test(pathname)) return;\n e.respondWith(f(e));\n});\nconst getPathName = url => new URL(url).pathname;\nconst date = \"Mon Feb 02 2026 22:39:14 GMT+0200 (Eastern European Standard Time)\";\nconst NAME = `cloudcmd: ${date}`;\nconst createRequest = a => new Request(a, {\n credentials: 'same-origin'\n});\nconst getRequest = (a, request) => {\n if (a !== '/') return request;\n return createRequest('/');\n};\nglobalThis.addEventListener('install', wait(onInstall));\nglobalThis.addEventListener('fetch', respondWith(onFetch));\nglobalThis.addEventListener('activate', wait(onActivate));\nasync function onActivate() {\n console.info(`cloudcmd: sw: activate: ${NAME}`);\n await globalThis.clients.claim();\n const keys = await caches.keys();\n const deleteCache = caches.delete.bind(caches);\n await Promise.all(keys.map(deleteCache));\n}\nasync function onInstall() {\n console.info(`cloudcmd: sw: install: ${NAME}`);\n await globalThis.skipWaiting();\n}\nasync function onFetch(event) {\n const {\n request\n } = event;\n const {\n url\n } = request;\n const pathname = getPathName(url);\n const newRequest = getRequest(pathname, event.request);\n const cache = await caches.open(NAME);\n const response = await cache.match(request);\n if (!isDev && response) return response;\n const [e, resp] = await (0,try_to_catch__WEBPACK_IMPORTED_MODULE_1__.tryToCatch)(fetch, newRequest, {\n credentials: 'same-origin'\n });\n if (e) return new Response(e.message);\n await addToCache(request, resp.clone());\n return resp;\n}\nasync function addToCache(request, response) {\n const cache = await caches.open(NAME);\n return cache.put(request, response);\n}\n\n//# sourceURL=file://cloudcmd//Users/coderaiser/cloudcmd/client/sw/sw.mjs\n}");
|
|
20
20
|
|
|
21
21
|
/***/ },
|
|
22
22
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cloudcmd",
|
|
3
|
-
"version": "19.1.
|
|
3
|
+
"version": "19.1.21",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
|
|
6
6
|
"description": "File manager for the web with console and editor",
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
"rimraf": "^6.0.1",
|
|
207
207
|
"scroll-into-view-if-needed": "^3.0.4",
|
|
208
208
|
"serve-once": "^3.0.1",
|
|
209
|
-
"smalltalk": "^
|
|
209
|
+
"smalltalk": "^5.0.0",
|
|
210
210
|
"style-loader": "^4.0.0",
|
|
211
211
|
"supermenu": "^4.0.1",
|
|
212
212
|
"supertape": "^12.0.0",
|
|
@@ -220,14 +220,18 @@
|
|
|
220
220
|
"webpackbar": "^7.0.0"
|
|
221
221
|
},
|
|
222
222
|
"imports": {
|
|
223
|
+
"#css/": "./css/",
|
|
223
224
|
"#dom/events": "./client/dom/events/index.mjs",
|
|
224
225
|
"#dom/load": "./client/dom/load.mjs",
|
|
225
226
|
"#dom/dialog": "./client/dom/dialog.mjs",
|
|
227
|
+
"#dom/images": "./client/dom/images.mjs",
|
|
226
228
|
"#dom/files": "./client/dom/files.mjs",
|
|
227
229
|
"#dom/upload-files": "./client/dom/upload-files.mjs",
|
|
228
230
|
"#dom/storage": "./client/dom/storage.mjs",
|
|
229
231
|
"#dom/rest": "./client/dom/rest.mjs",
|
|
230
|
-
"#common/util": "./common/util.mjs"
|
|
232
|
+
"#common/util": "./common/util.mjs",
|
|
233
|
+
"#common/cloudfunc": "./common/cloudfunc.mjs",
|
|
234
|
+
"#common/entity": "./common/entity.mjs"
|
|
231
235
|
},
|
|
232
236
|
"engines": {
|
|
233
237
|
"node": ">=22"
|
package/server/cloudcmd.mjs
CHANGED
|
@@ -14,7 +14,7 @@ import dword from 'dword';
|
|
|
14
14
|
import deepword from 'deepword';
|
|
15
15
|
import nomine from 'nomine';
|
|
16
16
|
import fileop from '@cloudcmd/fileop';
|
|
17
|
-
import * as cloudfunc from '
|
|
17
|
+
import * as cloudfunc from '#common/cloudfunc';
|
|
18
18
|
import authentication from './auth.js';
|
|
19
19
|
import {createConfig, configPath} from './config.mjs';
|
|
20
20
|
import modulas from './modulas.mjs';
|
package/server/rest/index.mjs
CHANGED
|
@@ -11,8 +11,8 @@ import json from 'jonny';
|
|
|
11
11
|
import ponse from 'ponse';
|
|
12
12
|
import copymitter from 'copymitter';
|
|
13
13
|
import _moveFiles from '@cloudcmd/move-files';
|
|
14
|
+
import * as CloudFunc from '#common/cloudfunc';
|
|
14
15
|
import root from '../root.js';
|
|
15
|
-
import * as CloudFunc from '../../common/cloudfunc.mjs';
|
|
16
16
|
import markdown from '../markdown/index.js';
|
|
17
17
|
import info from './info.js';
|
|
18
18
|
|
package/server/route.mjs
CHANGED
|
@@ -10,9 +10,9 @@ import {tryToCatch} from 'try-to-catch';
|
|
|
10
10
|
import once from 'once';
|
|
11
11
|
import pipe from 'pipe-io';
|
|
12
12
|
import {contentType} from 'mime-types';
|
|
13
|
+
import * as CloudFunc from '#common/cloudfunc';
|
|
13
14
|
import root from './root.js';
|
|
14
15
|
import prefixer from './prefixer.js';
|
|
15
|
-
import * as CloudFunc from '../common/cloudfunc.mjs';
|
|
16
16
|
import Template from './template.js';
|
|
17
17
|
import {getColumns} from './columns.mjs';
|
|
18
18
|
import {getThemes} from './theme.mjs';
|