@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) >=
|
|
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, '
|
|
29
|
+
return compareOfficialLibVersionWithVersion(dependencies, '2.26.2', 1682499675611);
|
|
30
30
|
}
|
|
31
31
|
exports.isEnablePageRoot = isEnablePageRoot;
|