oak-domain 5.1.30 → 5.1.32
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/lib/compiler/dependencyBuilder.js +2 -3
- package/lib/compiler/localeBuilder.d.ts +0 -1
- package/lib/compiler/routerBuilder.js +1 -2
- package/lib/compiler/schemalBuilder.js +12 -12
- package/lib/store/AsyncRowStore.d.ts +0 -1
- package/lib/store/CascadeStore.d.ts +1 -1
- package/lib/store/CascadeStore.js +2 -2
- package/lib/store/IntrinsicCheckers.js +1 -2
- package/lib/store/IntrinsicLogics.js +1 -2
- package/lib/store/RelationAuth.js +2 -2
- package/lib/store/checker.js +4 -5
- package/lib/store/filter.js +12 -13
- package/lib/store/modi.js +5 -6
- package/lib/store/relation.js +1 -2
- package/lib/timers/oper.js +1 -2
- package/lib/timers/vaccum.js +1 -2
- package/lib/types/AppLoader.d.ts +0 -1
- package/lib/types/Connector.d.ts +0 -1
- package/lib/types/Demand.js +2 -2
- package/lib/types/Endpoint.d.ts +0 -1
- package/lib/types/Exception.js +2 -2
- package/lib/types/Expression.js +12 -13
- package/lib/types/Timer.d.ts +1 -0
- package/lib/utils/SimpleConnector.d.ts +2 -3
- package/lib/utils/assert.d.ts +0 -1
- package/lib/utils/date.js +1 -2
- package/lib/utils/domain.js +1 -2
- package/lib/utils/executor.js +1 -2
- package/lib/utils/geo.js +5 -6
- package/lib/utils/lodash.js +3 -3
- package/lib/utils/module/combine.common.js +1 -1
- package/lib/utils/module/combine.dev.d.ts +1 -1
- package/lib/utils/module/combine.dev.js +1 -1
- package/lib/utils/module/combine.prod.js +1 -1
- package/lib/utils/module/combine.server.d.ts +1 -1
- package/lib/utils/module/combine.server.js +1 -1
- package/lib/utils/money.d.ts +1 -1
- package/lib/utils/money.js +32 -21
- package/lib/utils/operationResult.js +1 -2
- package/lib/utils/projection.js +2 -3
- package/lib/utils/random/random.js +1 -2
- package/lib/utils/random/random.mp.d.ts +1 -1
- package/lib/utils/random/random.mp.js +1 -2
- package/lib/utils/random/random.native.d.ts +1 -1
- package/lib/utils/random/random.native.js +1 -2
- package/lib/utils/random/random.web.d.ts +1 -1
- package/lib/utils/random/random.web.js +1 -2
- package/lib/utils/relationPath.js +3 -4
- package/lib/utils/row.js +2 -3
- package/lib/utils/string.js +4 -4
- package/lib/utils/url/index.d.ts +0 -1
- package/lib/utils/url/index.native.d.ts +4 -3
- package/lib/utils/url/index.web.d.ts +4 -3
- package/lib/utils/url/whatwg-url/lib/URL-impl.d.ts +15 -8
- package/lib/utils/url/whatwg-url/lib/infra.js +4 -5
- package/lib/utils/url/whatwg-url/lib/urlencoded.d.ts +1 -2
- package/lib/utils/url/whatwg-url/lib/utils.d.ts +1 -1
- package/lib/utils/uuid.js +10 -11
- package/lib/utils/validator.js +3 -3
- package/lib/utils/version.js +2 -3
- package/package.json +1 -1
package/lib/utils/version.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.compareVersion = compareVersion;
|
|
4
|
+
exports.isVersion = isVersion;
|
|
4
5
|
/**
|
|
5
6
|
* 版本比较
|
|
6
7
|
* @param curVersion 当前版本
|
|
@@ -18,7 +19,6 @@ function compareVersion(curVersion, reqVersion) {
|
|
|
18
19
|
}
|
|
19
20
|
return 0;
|
|
20
21
|
}
|
|
21
|
-
exports.compareVersion = compareVersion;
|
|
22
22
|
;
|
|
23
23
|
/**
|
|
24
24
|
* 是不是一个有效的版本号
|
|
@@ -28,4 +28,3 @@ exports.compareVersion = compareVersion;
|
|
|
28
28
|
function isVersion(version) {
|
|
29
29
|
return /([1-9][0-9]*|[0-9])\.([1-9][0-9]*|[0-9])*\.([1-9][0-9]*|[0-9])*(\-[0-9A-Za-z-](\.[0-9A-Za-z-])*)*/g.test(version);
|
|
30
30
|
}
|
|
31
|
-
exports.isVersion = isVersion;
|