cloudcmd 18.5.1 → 18.6.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,28 @@
1
+ 2025.07.02, v18.6.0
2
+
3
+ feature:
4
+ - 2eb3dc66 cloudcmd: @iocmd/wait v2.1.0
5
+ - 1679b788 cloudcmd: webpackbar v7.0.0
6
+ - 9a4cf388 cloudcmd: eslint-plugin-putout v27.2.1
7
+ - f4b0f92f cloudcmd: express v5.1.0
8
+ - 4ab4be12 thread-it: get rid (#438)
9
+ - 99ad0c21 cloudcmd: rm @putout/babel
10
+ - 8ccec23d cloudcmd: help: require -> import
11
+ - 2a97ac66 cloudcmd: yargs-parser v22.0.0
12
+ - b26c8bba cloudcmd: thread-it v3.0.0
13
+
14
+ 2025.04.10, v18.5.2
15
+
16
+ feature:
17
+ - 8450bfa6 cloudcmd: putout v40.0.3
18
+ - 51f51b54 cloudcmd: @putout/plugin-cloudcmd v4.0.0
19
+ - 08ab63d7 cloudcmd: supertape v11.0.4
20
+ - e7cc9b92 cloudcmd: redlint v4.1.1
21
+ - 368c9bb8 cloudcmd: eslint v9.23.0
22
+ - 43fd5ed6 cloudcmd: madrun v11.0.0
23
+ - f774d5b2 cloudcmd: eslint-plugin-putout v26.1.0
24
+ - b0a7fc16 cloudcmd: putout v39.3.0
25
+
1
26
  2025.02.03, v18.5.1
2
27
 
3
28
  feature:
package/HELP.md CHANGED
@@ -1,4 +1,4 @@
1
- # Cloud Commander v18.5.1
1
+ # Cloud Commander v18.6.0
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.02*, **[v18.6.0](//github.com/coderaiser/cloudcmd/releases/tag/v18.6.0)**
1102
+ - *2025.04.10*, **[v18.5.2](//github.com/coderaiser/cloudcmd/releases/tag/v18.5.2)**
1101
1103
  - *2025.02.03*, **[v18.5.1](//github.com/coderaiser/cloudcmd/releases/tag/v18.5.1)**
1102
1104
  - *2025.01.20*, **[v18.5.0](//github.com/coderaiser/cloudcmd/releases/tag/v18.5.0)**
1103
1105
  - *2024.12.13*, **[v18.4.1](//github.com/coderaiser/cloudcmd/releases/tag/v18.4.1)**
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Cloud Commander v18.5.1 [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Codacy][CodacyIMG]][CodacyURL] [![Gitter][GitterIMGURL]][GitterURL]
1
+ # Cloud Commander v18.6.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/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
 
package/bin/release.mjs CHANGED
@@ -19,7 +19,8 @@ await main();
19
19
  async function main() {
20
20
  const history = '## Version history\n\n';
21
21
  const link = '//github.com/coderaiser/cloudcmd/releases/tag/';
22
- const template = '- *{{ date }}*, ' +
22
+ const template =
23
+ '- *{{ date }}*, ' +
23
24
  '**[v{{ version }}]' +
24
25
  '(' + link +
25
26
  'v{{ version }})**\n';
@@ -173,7 +173,6 @@ module.exports.buildFromJSON = (params) => {
173
173
  Path(path);
174
174
 
175
175
  fileTable += `${header}<ul data-name="js-files" class="files">`;
176
-
177
176
  /* Если мы не в корне */
178
177
  if (path !== '/') {
179
178
  const dotDot = getDotDot(path);
@@ -204,43 +203,43 @@ module.exports.buildFromJSON = (params) => {
204
203
 
205
204
  fileTable += files
206
205
  .filter(filterOutDotFiles({
207
- showDotFiles,
208
- }))
206
+ showDotFiles,
207
+ }))
209
208
  .map(updateField)
210
209
  .map((file) => {
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
- })
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
+ })
244
243
  .join('');
245
244
 
246
245
  fileTable += '</ul>';