@cloudbase/cals 1.0.0 → 1.0.2

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.
@@ -11,7 +11,7 @@ function compareOfficialLibVersionWithVersion(dependencies, baseVersion, timesna
11
11
  return (0, common_1.semverComp)(baseVersion, version) <= 0;
12
12
  // 正式版本的版本号
13
13
  }
14
- else if (Number(version) >= 1678760239346) {
14
+ else if (Number(version) >= timesnap) {
15
15
  // 测试版本的版本号
16
16
  return true;
17
17
  }
@@ -26,6 +26,6 @@ function isEnbaleObserverVersion(dependencies = []) {
26
26
  }
27
27
  exports.isEnbaleObserverVersion = isEnbaleObserverVersion;
28
28
  function isEnablePageRoot(dependencies) {
29
- return compareOfficialLibVersionWithVersion(dependencies, '20000.21.3', 1679640531142);
29
+ return compareOfficialLibVersionWithVersion(dependencies, '2.26.2', 1682499675611);
30
30
  }
31
31
  exports.isEnablePageRoot = isEnablePageRoot;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudbase/cals",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Common application specifications",
5
5
  "main": "lib/utils/index.js",
6
6
  "source": "src/utils/index.ts",