cloudcmd 18.5.2 → 18.6.1

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,25 @@
1
+ 2025.07.04, v18.6.1
2
+
3
+ feature:
4
+ - 9eafa189 cloudcmd: http-auth v4.2.1
5
+ - e99d0847 cloudcmd: montag v1.2.1
6
+ - b77e9c91 cloudcmd: pipe-io v4.0.1
7
+ - 4b476a6d cloudcmd: globals v16.3.0
8
+ - 2057065d cloudcmd: @putout/eslint-flat v3.0.1
9
+
10
+ 2025.07.02, v18.6.0
11
+
12
+ feature:
13
+ - 2eb3dc66 cloudcmd: @iocmd/wait v2.1.0
14
+ - 1679b788 cloudcmd: webpackbar v7.0.0
15
+ - 9a4cf388 cloudcmd: eslint-plugin-putout v27.2.1
16
+ - f4b0f92f cloudcmd: express v5.1.0
17
+ - 4ab4be12 thread-it: get rid (#438)
18
+ - 99ad0c21 cloudcmd: rm @putout/babel
19
+ - 8ccec23d cloudcmd: help: require -> import
20
+ - 2a97ac66 cloudcmd: yargs-parser v22.0.0
21
+ - b26c8bba cloudcmd: thread-it v3.0.0
22
+
1
23
  2025.04.10, v18.5.2
2
24
 
3
25
  feature:
package/HELP.md CHANGED
@@ -1,4 +1,4 @@
1
- # Cloud Commander v18.5.2
1
+ # Cloud Commander v18.6.1
2
2
 
3
3
  ### [Main][MainURL] [Blog][BlogURL] [Support][SupportURL] [Demo][DemoURL]
4
4
 
@@ -1098,6 +1098,8 @@ There are a lot of ways to be involved in `Cloud Commander` development:
1098
1098
 
1099
1099
  ## Version history
1100
1100
 
1101
+ - *2025.07.04*, **[v18.6.1](//github.com/coderaiser/cloudcmd/releases/tag/v18.6.1)**
1102
+ - *2025.07.02*, **[v18.6.0](//github.com/coderaiser/cloudcmd/releases/tag/v18.6.0)**
1101
1103
  - *2025.04.10*, **[v18.5.2](//github.com/coderaiser/cloudcmd/releases/tag/v18.5.2)**
1102
1104
  - *2025.02.03*, **[v18.5.1](//github.com/coderaiser/cloudcmd/releases/tag/v18.5.1)**
1103
1105
  - *2025.01.20*, **[v18.5.0](//github.com/coderaiser/cloudcmd/releases/tag/v18.5.0)**
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Cloud Commander v18.5.2 [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Codacy][CodacyIMG]][CodacyURL] [![Gitter][GitterIMGURL]][GitterURL]
1
+ # Cloud Commander v18.6.1 [![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/bin/cloudcmd.mjs CHANGED
@@ -316,7 +316,12 @@ async function readConfig(name) {
316
316
  }
317
317
 
318
318
  async function help() {
319
- const bin = require('../json/help.json');
319
+ const {default: bin} = await import('../json/help.json', {
320
+ with: {
321
+ type: 'json',
322
+ },
323
+ });
324
+
320
325
  const forEachKey = await simport('for-each-key');
321
326
  const currify = await simport('currify');
322
327
 
@@ -173,6 +173,7 @@ module.exports.buildFromJSON = (params) => {
173
173
  Path(path);
174
174
 
175
175
  fileTable += `${header}<ul data-name="js-files" class="files">`;
176
+
176
177
  /* Если мы не в корне */
177
178
  if (path !== '/') {
178
179
  const dotDot = getDotDot(path);
@@ -203,43 +204,43 @@ module.exports.buildFromJSON = (params) => {
203
204
 
204
205
  fileTable += files
205
206
  .filter(filterOutDotFiles({
206
- showDotFiles,
207
- }))
207
+ showDotFiles,
208
+ }))
208
209
  .map(updateField)
209
210
  .map((file) => {
210
- const name = encode(file.name);
211
- const link = prefix + FS + path + name;
212
-
213
- const {
214
- type,
215
- mode,
216
- date,
217
- owner,
218
- size,
219
- } = file;
220
-
221
- const linkResult = rendy(templateLink, {
222
- link,
223
- title: name,
224
- name,
225
- attribute: getAttribute(file.type),
226
- });
227
-
228
- const dataName = getDataName(file.name);
229
- const attribute = `draggable="true" ${dataName}`;
230
-
231
- return rendy(templateFile, {
232
- tag: 'li',
233
- attribute,
234
- className: '',
235
- type,
236
- name: linkResult,
237
- size,
238
- date,
239
- owner,
240
- mode,
241
- });
242
- })
211
+ const name = encode(file.name);
212
+ const link = prefix + FS + path + name;
213
+
214
+ const {
215
+ type,
216
+ mode,
217
+ date,
218
+ owner,
219
+ size,
220
+ } = file;
221
+
222
+ const linkResult = rendy(templateLink, {
223
+ link,
224
+ title: name,
225
+ name,
226
+ attribute: getAttribute(file.type),
227
+ });
228
+
229
+ const dataName = getDataName(file.name);
230
+ const attribute = `draggable="true" ${dataName}`;
231
+
232
+ return rendy(templateFile, {
233
+ tag: 'li',
234
+ attribute,
235
+ className: '',
236
+ type,
237
+ name: linkResult,
238
+ size,
239
+ date,
240
+ owner,
241
+ mode,
242
+ });
243
+ })
243
244
  .join('');
244
245
 
245
246
  fileTable += '</ul>';