clickgo 3.2.6 → 3.2.7
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/README.md +1 -1
- package/dist/clickgo.js +1 -1
- package/dist/clickgo.ts +1 -1
- package/dist/control/page.cgc +0 -0
- package/dist/lib/zip.js +2 -2
- package/dist/lib/zip.ts +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -28,7 +28,7 @@ Load the module loader first, and then load it using the module loader.
|
|
|
28
28
|
**index.html**
|
|
29
29
|
|
|
30
30
|
```html
|
|
31
|
-
<script src="https://cdn.jsdelivr.net/npm/@litert/loader@3.4.9/dist/loader.min.js?path=index&npm={'clickgo':'3.2.
|
|
31
|
+
<script src="https://cdn.jsdelivr.net/npm/@litert/loader@3.4.9/dist/loader.min.js?path=index&npm={'clickgo':'3.2.7'}"></script>
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
**index.js**
|
package/dist/clickgo.js
CHANGED
|
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.zip = exports.tool = exports.theme = exports.task = exports.native = exports.fs = exports.form = exports.dom = exports.core = exports.control = exports.vue = exports.hasFrame = exports.isImmersion = exports.getPlatform = exports.isNative = exports.getVersion = void 0;
|
|
27
|
-
const version = '3.2.
|
|
27
|
+
const version = '3.2.7';
|
|
28
28
|
function getVersion() {
|
|
29
29
|
return version;
|
|
30
30
|
}
|
package/dist/clickgo.ts
CHANGED
package/dist/control/page.cgc
CHANGED
|
Binary file
|
package/dist/lib/zip.js
CHANGED
|
@@ -120,14 +120,14 @@ class Zip {
|
|
|
120
120
|
}
|
|
121
121
|
isDir(path) {
|
|
122
122
|
const pstats = this.stats(path);
|
|
123
|
-
if (!pstats ||
|
|
123
|
+
if (!(pstats === null || pstats === void 0 ? void 0 : pstats.isDirectory)) {
|
|
124
124
|
return false;
|
|
125
125
|
}
|
|
126
126
|
return pstats;
|
|
127
127
|
}
|
|
128
128
|
isFile(path) {
|
|
129
129
|
const pstats = this.stats(path);
|
|
130
|
-
if (!pstats ||
|
|
130
|
+
if (!(pstats === null || pstats === void 0 ? void 0 : pstats.isFile)) {
|
|
131
131
|
return false;
|
|
132
132
|
}
|
|
133
133
|
return pstats;
|
package/dist/lib/zip.ts
CHANGED
|
@@ -124,7 +124,7 @@ export class Zip {
|
|
|
124
124
|
*/
|
|
125
125
|
public isDir(path: string): types.IZipStats | false {
|
|
126
126
|
const pstats = this.stats(path);
|
|
127
|
-
if (!pstats
|
|
127
|
+
if (!pstats?.isDirectory) {
|
|
128
128
|
return false;
|
|
129
129
|
}
|
|
130
130
|
return pstats;
|
|
@@ -136,7 +136,7 @@ export class Zip {
|
|
|
136
136
|
*/
|
|
137
137
|
public isFile(path: string): types.IZipStats | false {
|
|
138
138
|
const pstats = this.stats(path);
|
|
139
|
-
if (!pstats
|
|
139
|
+
if (!pstats?.isFile) {
|
|
140
140
|
return false;
|
|
141
141
|
}
|
|
142
142
|
return pstats;
|