cloudcmd 19.1.17 → 19.1.18
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 +12 -0
- package/HELP.md +2 -1
- package/README.md +1 -1
- 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/menu.js +1 -1
- package/dist/modules/menu.js.map +1 -1
- package/dist/modules/operation.js +1 -1
- package/dist/modules/operation.js.map +1 -1
- package/dist/modules/upload.js +1 -1
- package/dist/modules/upload.js.map +1 -1
- package/dist/modules/user-menu.js +1 -1
- package/dist/modules/user-menu.js.map +1 -1
- package/dist/sw.js +1 -1
- package/dist-dev/cloudcmd.common.css +27 -27
- package/dist-dev/cloudcmd.common.js +706 -103
- package/dist-dev/modules/menu.js +1 -1
- package/dist-dev/modules/upload.js +1 -1
- package/dist-dev/modules/user-menu.js +1 -1
- package/dist-dev/sw.js +1 -1
- package/package.json +6 -1
package/dist-dev/modules/menu.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/menu/index.
|
|
173
|
+
/******/ var __webpack_exports__ = __webpack_require__.O(undefined, ["cloudcmd.common"], () => (__webpack_require__("./client/modules/menu/index.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/upload.
|
|
173
|
+
/******/ var __webpack_exports__ = __webpack_require__.O(undefined, ["cloudcmd.common"], () => (__webpack_require__("./client/modules/upload.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/user-menu/index.
|
|
173
|
+
/******/ var __webpack_exports__ = __webpack_require__.O(undefined, ["cloudcmd.common"], () => (__webpack_require__("./client/modules/user-menu/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 = \"Fri Jan 30 2026 00:56:05 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.18",
|
|
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",
|
|
@@ -72,6 +72,7 @@
|
|
|
72
72
|
"watch:test:client": "madrun watch:test:client",
|
|
73
73
|
"watch:test:server": "madrun watch:test:server",
|
|
74
74
|
"watch:coverage": "madrun watch:coverage",
|
|
75
|
+
"watch:fix:lint": "madrun watch:fix:lint",
|
|
75
76
|
"build": "madrun build",
|
|
76
77
|
"build:dev": "madrun build:dev",
|
|
77
78
|
"build:client": "madrun build:client",
|
|
@@ -212,6 +213,7 @@
|
|
|
212
213
|
"tar-stream": "^3.0.0",
|
|
213
214
|
"unionfs": "^4.0.0",
|
|
214
215
|
"url-loader": "^4.0.0",
|
|
216
|
+
"util": "^0.12.5",
|
|
215
217
|
"webpack": "^5.99.9",
|
|
216
218
|
"webpack-cli": "^6.0.1",
|
|
217
219
|
"webpack-merge": "^6.0.1",
|
|
@@ -222,6 +224,9 @@
|
|
|
222
224
|
"#dom/load": "./client/dom/load.mjs",
|
|
223
225
|
"#dom/dialog": "./client/dom/dialog.mjs",
|
|
224
226
|
"#dom/files": "./client/dom/files.mjs",
|
|
227
|
+
"#dom/upload-files": "./client/dom/upload-files.mjs",
|
|
228
|
+
"#dom/storage": "./client/dom/storage.mjs",
|
|
229
|
+
"#dom/rest": "./client/dom/rest.mjs",
|
|
225
230
|
"#common/util": "./common/util.mjs"
|
|
226
231
|
},
|
|
227
232
|
"engines": {
|