clickgo 3.2.5 → 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 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.5'}"></script>
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.5';
27
+ const version = '3.2.7';
28
28
  function getVersion() {
29
29
  return version;
30
30
  }
package/dist/clickgo.ts CHANGED
@@ -13,7 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- const version = '3.2.5';
16
+ const version = '3.2.7';
17
17
  export function getVersion(): string {
18
18
  return version;
19
19
  }
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 || !pstats.isDirectory) {
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 || !pstats.isFile) {
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 || !pstats.isDirectory) {
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 || !pstats.isFile) {
139
+ if (!pstats?.isFile) {
140
140
  return false;
141
141
  }
142
142
  return pstats;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clickgo",
3
- "version": "3.2.5",
3
+ "version": "3.2.7",
4
4
  "description": "Background interface, software interface, mobile phone APP interface operation library.",
5
5
  "keywords": [
6
6
  "deskrt",