cloudcmd 19.13.1 → 19.14.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 CHANGED
@@ -1,3 +1,12 @@
1
+ 2026.04.28, v19.14.0
2
+
3
+ feature:
4
+ - 36a8b641 cloudcmd: ponse v8.0.0
5
+ - 1c263c18 docker: io: /usr/src/cloudcmd -> /usr/local/share/cloudcmd
6
+ - ea7b828c docker: io: ubuntu: resolute
7
+ - cd6c11ac docker: io: far2l
8
+ - c4beeec6 docker: io: gdu: add
9
+
1
10
  2026.04.21, v19.13.1
2
11
 
3
12
  feature:
package/HELP.md CHANGED
@@ -1,4 +1,4 @@
1
- # Cloud Commander v19.13.1
1
+ # Cloud Commander v19.14.0
2
2
 
3
3
  ### [Main][MainURL] [Blog][BlogURL] [Support][SupportURL] [Demo][DemoURL]
4
4
 
@@ -1115,6 +1115,7 @@ There are a lot of ways to be involved in `Cloud Commander` development:
1115
1115
 
1116
1116
  ## Version history
1117
1117
 
1118
+ - *2026.04.28*, **[v19.14.0](//github.com/coderaiser/cloudcmd/releases/tag/v19.14.0)**
1118
1119
  - *2026.04.21*, **[v19.13.1](//github.com/coderaiser/cloudcmd/releases/tag/v19.13.1)**
1119
1120
  - *2026.04.15*, **[v19.13.0](//github.com/coderaiser/cloudcmd/releases/tag/v19.13.0)**
1120
1121
  - *2026.04.12*, **[v19.12.5](//github.com/coderaiser/cloudcmd/releases/tag/v19.12.5)**
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Cloud Commander v19.13.1 [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Codacy][CodacyIMG]][CodacyURL] [![Gitter][GitterIMGURL]][GitterURL]
1
+ # Cloud Commander v19.14.0 [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Codacy][CodacyIMG]][CodacyURL] [![Gitter][GitterIMGURL]][GitterURL]
2
2
 
3
3
  ### [Main][MainURL] [Blog][BlogURL] [Support][SupportURL] [Demo][DemoURL]
4
4
 
package/dist/sw.js CHANGED
@@ -311,7 +311,7 @@ const respondWith = currify((f, e) => {
311
311
  e.respondWith(f(e));
312
312
  });
313
313
  const getPathName = url => new URL(url).pathname;
314
- const date = "Tue Apr 21 2026 23:31:12 GMT+0300 (Eastern European Summer Time)";
314
+ const date = "Tue Apr 28 2026 20:52:16 GMT+0300 (Eastern European Summer Time)";
315
315
  const NAME = `cloudcmd: ${date}`;
316
316
  const createRequest = a => new Request(a, {
317
317
  credentials: 'same-origin'
package/dist-dev/sw.js CHANGED
@@ -37,7 +37,7 @@ eval("{// shim for using process in browser\nvar process = module.exports = {};\
37
37
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
38
38
 
39
39
  "use strict";
40
- 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 = \"Tue Apr 21 2026 23:31:15 GMT+0300 (Eastern European Summer 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.js\n}");
40
+ 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 = \"Tue Apr 28 2026 20:52:18 GMT+0300 (Eastern European Summer 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.js\n}");
41
41
 
42
42
  /***/ },
43
43
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloudcmd",
3
- "version": "19.13.1",
3
+ "version": "19.14.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",
@@ -127,7 +127,7 @@
127
127
  "open": "^11.0.0",
128
128
  "package-json": "^10.0.0",
129
129
  "pipe-io": "^4.0.1",
130
- "ponse": "^7.0.0",
130
+ "ponse": "^8.0.0",
131
131
  "pullout": "^5.0.0",
132
132
  "putout": "^42.0.5",
133
133
  "redzip": "^4.6.1",
@@ -5,7 +5,7 @@ import fs from 'node:fs';
5
5
  import {fullstore} from 'fullstore';
6
6
  import currify from 'currify';
7
7
  import apart from 'apart';
8
- import ponse from 'ponse';
8
+ import * as ponse from 'ponse';
9
9
  import {restafary} from 'restafary';
10
10
  import restbox from 'restbox';
11
11
  import {konsole} from 'console-io';
@@ -186,7 +186,7 @@ function cloudcmdMiddle({modules, config}) {
186
186
  const zip = apart(config, 'zip');
187
187
  const root = apart(config, 'root');
188
188
 
189
- const ponseStatic = ponse.static({
189
+ const ponseStatic = ponse.createStatic({
190
190
  cache,
191
191
  root: DIR_ROOT,
192
192
  });
package/server/config.js CHANGED
@@ -6,7 +6,7 @@ import currify from 'currify';
6
6
  import wraptile from 'wraptile';
7
7
  import {tryToCatch} from 'try-to-catch';
8
8
  import pullout from 'pullout';
9
- import ponse from 'ponse';
9
+ import * as ponse from 'ponse';
10
10
  import jonny from 'jonny';
11
11
  import jju from 'jju';
12
12
  import writejson from 'writejson';
@@ -2,7 +2,7 @@ import {callbackify} from 'node:util';
2
2
  import {fileURLToPath} from 'node:url';
3
3
  import {dirname} from 'node:path';
4
4
  import pullout from 'pullout';
5
- import ponse from 'ponse';
5
+ import {getQuery} from 'ponse';
6
6
  import {read} from 'redzip';
7
7
  import root from '../root.js';
8
8
  import parse from './worker.js';
@@ -40,7 +40,7 @@ function parseName(query, name, rootDir) {
40
40
  }
41
41
 
42
42
  async function onGET(request, name, root) {
43
- const query = ponse.getQuery(request);
43
+ const query = getQuery(request);
44
44
  const fileName = parseName(query, name, root);
45
45
  const stream = await read(fileName);
46
46
  const data = await pullout(stream);
@@ -8,7 +8,7 @@ import wraptile from 'wraptile';
8
8
  import currify from 'currify';
9
9
  import pullout from 'pullout';
10
10
  import json from 'jonny';
11
- import ponse from 'ponse';
11
+ import * as ponse from 'ponse';
12
12
  import {copymitter} from 'copymitter';
13
13
  import _moveFiles from '@cloudcmd/move-files';
14
14
  import * as CloudFunc from '#common/cloudfunc';
package/server/route.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {createRequire} from 'node:module';
2
2
  import {extname} from 'node:path';
3
3
  import * as _win32 from 'win32';
4
- import ponse from 'ponse';
4
+ import * as ponse from 'ponse';
5
5
  import {rendy} from 'rendy';
6
6
  import format from 'format-io';
7
7
  import currify from 'currify';