cloudcmd 19.1.16 → 19.1.17
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/{util.js → util.mjs} +7 -9
- package/dist/cloudcmd.common.css +1 -1
- package/dist/cloudcmd.common.js +2 -2
- package/dist/cloudcmd.common.js.map +1 -1
- package/dist/sw.js +1 -1
- package/dist-dev/cloudcmd.common.css +85 -85
- package/dist-dev/cloudcmd.common.js +71 -60
- package/dist-dev/sw.js +1 -1
- package/package.json +5 -2
package/ChangeLog
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
2026.01.29, v19.1.17
|
|
2
|
+
|
|
3
|
+
feature:
|
|
4
|
+
- f9c28319 client: dom: migrate to ESM
|
|
5
|
+
- 9d2c4e4a client: dom: cmd: move out
|
|
6
|
+
- 5a2aa70f client: dom: simplify require
|
|
7
|
+
- dee50a85 client: dom: files: migrate to ESM
|
|
8
|
+
- 23c0d770 client: dom: dom-tree: migrate to ESM
|
|
9
|
+
- cf2c6415 client: directory: migrate to ESM
|
|
10
|
+
- 0eb802e7 client: dom: dialog: migrate to ESM
|
|
11
|
+
|
|
1
12
|
2026.01.28, v19.1.16
|
|
2
13
|
|
|
3
14
|
fix:
|
package/HELP.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Cloud Commander v19.1.
|
|
1
|
+
# Cloud Commander v19.1.17
|
|
2
2
|
|
|
3
3
|
### [Main][MainURL] [Blog][BlogURL] [Support][SupportURL] [Demo][DemoURL]
|
|
4
4
|
|
|
@@ -1111,6 +1111,7 @@ There are a lot of ways to be involved in `Cloud Commander` development:
|
|
|
1111
1111
|
|
|
1112
1112
|
## Version history
|
|
1113
1113
|
|
|
1114
|
+
- *2026.01.29*, **[v19.1.17](//github.com/coderaiser/cloudcmd/releases/tag/v19.1.17)**
|
|
1114
1115
|
- *2026.01.28*, **[v19.1.16](//github.com/coderaiser/cloudcmd/releases/tag/v19.1.16)**
|
|
1115
1116
|
- *2026.01.28*, **[v19.1.15](//github.com/coderaiser/cloudcmd/releases/tag/v19.1.15)**
|
|
1116
1117
|
- *2026.01.28*, **[v19.1.14](//github.com/coderaiser/cloudcmd/releases/tag/v19.1.14)**
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Cloud Commander v19.1.
|
|
1
|
+
# Cloud Commander v19.1.17 [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Codacy][CodacyIMG]][CodacyURL] [![Gitter][GitterIMGURL]][GitterURL]
|
|
2
2
|
|
|
3
3
|
### [Main][MainURL] [Blog][BlogURL] [Support][SupportURL] [Demo][DemoURL]
|
|
4
4
|
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import exec from 'execon';
|
|
2
2
|
|
|
3
|
-
const exec = require('execon');
|
|
4
3
|
const isString = (a) => typeof a === 'string';
|
|
5
4
|
|
|
6
|
-
|
|
5
|
+
export const escapeRegExp = (str) => {
|
|
7
6
|
const isStr = isString(str);
|
|
8
7
|
|
|
9
8
|
if (isStr)
|
|
@@ -15,7 +14,7 @@ module.exports.escapeRegExp = (str) => {
|
|
|
15
14
|
/**
|
|
16
15
|
* get regexp from wild card
|
|
17
16
|
*/
|
|
18
|
-
|
|
17
|
+
export const getRegExp = (wildcard) => {
|
|
19
18
|
const escaped = `^${wildcard // search from start of line
|
|
20
19
|
.replace(/\./g, '\\.')
|
|
21
20
|
.replace(/\*/g, '.*')
|
|
@@ -25,14 +24,13 @@ module.exports.getRegExp = (wildcard) => {
|
|
|
25
24
|
return RegExp(escaped);
|
|
26
25
|
};
|
|
27
26
|
|
|
28
|
-
module.exports.exec = exec;
|
|
29
27
|
/**
|
|
30
28
|
* function gets file extension
|
|
31
29
|
*
|
|
32
30
|
* @param name
|
|
33
31
|
* @return ext
|
|
34
32
|
*/
|
|
35
|
-
|
|
33
|
+
export const getExt = (name) => {
|
|
36
34
|
const isStr = isString(name);
|
|
37
35
|
|
|
38
36
|
if (!isStr)
|
|
@@ -52,7 +50,7 @@ module.exports.getExt = (name) => {
|
|
|
52
50
|
* @param array
|
|
53
51
|
* @param name
|
|
54
52
|
*/
|
|
55
|
-
|
|
53
|
+
export const findObjByNameInArr = (array, name) => {
|
|
56
54
|
let ret;
|
|
57
55
|
|
|
58
56
|
if (!Array.isArray(array))
|
|
@@ -90,7 +88,7 @@ module.exports.findObjByNameInArr = (array, name) => {
|
|
|
90
88
|
* start timer
|
|
91
89
|
* @param name
|
|
92
90
|
*/
|
|
93
|
-
|
|
91
|
+
export const time = (name) => {
|
|
94
92
|
exec.ifExist(console, 'time', [name]);
|
|
95
93
|
};
|
|
96
94
|
|
|
@@ -98,6 +96,6 @@ module.exports.time = (name) => {
|
|
|
98
96
|
* stop timer
|
|
99
97
|
* @param name
|
|
100
98
|
*/
|
|
101
|
-
|
|
99
|
+
export const timeEnd = (name) => {
|
|
102
100
|
exec.ifExist(console, 'timeEnd', [name]);
|
|
103
101
|
};
|