lakutata 2.0.81 → 2.0.82
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/orm.cjs +731 -731
- package/orm.mjs +835 -835
- package/package.json +1 -1
- package/src/components/Database.cjs +2 -2
- package/src/components/Database.mjs +6 -6
- package/src/components/cacher/Cacher.cjs +129 -129
- package/src/components/cacher/Cacher.mjs +117 -117
- package/src/components/cacher/adapters/CreateFileCacheAdapter.cjs +94 -94
- package/src/components/cacher/adapters/CreateFileCacheAdapter.mjs +100 -100
- package/src/components/cacher/adapters/CreateMemcacheCacheAdapter.cjs +12 -12
- package/src/components/cacher/adapters/CreateMemcacheCacheAdapter.mjs +11 -11
- package/src/components/cacher/adapters/CreateMongoCacheAdapter.cjs +16 -16
- package/src/components/cacher/adapters/CreateMongoCacheAdapter.mjs +14 -14
- package/src/components/cacher/adapters/CreateMysqlCacheAdapter.cjs +11 -11
- package/src/components/cacher/adapters/CreateMysqlCacheAdapter.mjs +11 -11
- package/src/components/cacher/adapters/CreatePostgresCacheAdapter.cjs +12 -12
- package/src/components/cacher/adapters/CreatePostgresCacheAdapter.mjs +13 -13
- package/src/components/cacher/adapters/CreateRedisCacheAdapter.cjs +2 -2
- package/src/components/cacher/adapters/CreateRedisCacheAdapter.mjs +2 -2
- package/src/components/cacher/adapters/CreateSqliteCacheAdapter.cjs +10 -10
- package/src/components/cacher/adapters/CreateSqliteCacheAdapter.mjs +10 -10
- package/src/components/cacher/lib/IsDriverPackageInstalled.cjs +2 -2
- package/src/components/cacher/lib/IsDriverPackageInstalled.mjs +5 -5
- package/src/components/docker/ConnectionOptionsBuilder.cjs +10 -10
- package/src/components/docker/ConnectionOptionsBuilder.mjs +6 -6
- package/src/components/docker/Docker.cjs +1687 -1687
- package/src/components/docker/Docker.mjs +1563 -1563
- package/src/components/docker/lib/ParseEnvToRecord.cjs +2 -2
- package/src/components/docker/lib/ParseEnvToRecord.mjs +12 -12
- package/src/components/docker/lib/ParseRepositoryTag.cjs +9 -9
- package/src/components/docker/lib/ParseRepositoryTag.mjs +11 -11
- package/src/components/entrypoint/Entrypoint.cjs +1789 -1789
- package/src/components/entrypoint/Entrypoint.mjs +1632 -1632
- package/src/components/monitor/AliveMonitor.cjs +2 -2
- package/src/components/monitor/AliveMonitor.mjs +2 -2
- package/src/components/monitor/MemoryMonitor.cjs +3 -3
- package/src/decorators/asst/After.cjs +3 -3
- package/src/decorators/asst/After.mjs +2 -2
- package/src/decorators/asst/Before.cjs +2 -2
- package/src/decorators/asst/Before.mjs +4 -4
- package/src/decorators/ctrl/CLIAction.cjs +2 -2
- package/src/decorators/ctrl/CLIAction.mjs +7 -7
- package/src/decorators/ctrl/HTTPAction.cjs +6 -6
- package/src/decorators/ctrl/HTTPAction.mjs +4 -4
- package/src/decorators/ctrl/ServiceAction.cjs +3 -3
- package/src/decorators/ctrl/ServiceAction.mjs +4 -4
- package/src/decorators/ctrl/http/DELETE.cjs +2 -2
- package/src/decorators/ctrl/http/DELETE.mjs +2 -2
- package/src/decorators/ctrl/http/GET.cjs +2 -2
- package/src/decorators/ctrl/http/GET.mjs +2 -2
- package/src/decorators/ctrl/http/HEAD.cjs +2 -2
- package/src/decorators/ctrl/http/HEAD.mjs +2 -2
- package/src/decorators/ctrl/http/OPTIONS.cjs +2 -2
- package/src/decorators/ctrl/http/OPTIONS.mjs +2 -2
- package/src/decorators/ctrl/http/PATCH.cjs +2 -2
- package/src/decorators/ctrl/http/PATCH.mjs +2 -2
- package/src/decorators/ctrl/http/POST.cjs +2 -2
- package/src/decorators/ctrl/http/POST.mjs +2 -2
- package/src/decorators/ctrl/http/PUT.cjs +2 -2
- package/src/decorators/ctrl/http/PUT.mjs +2 -2
- package/src/decorators/di/Autoload.cjs +2 -2
- package/src/decorators/di/Autoload.mjs +2 -2
- package/src/decorators/di/Configurable.cjs +3 -3
- package/src/decorators/di/Configurable.mjs +2 -2
- package/src/decorators/di/Inject.cjs +6 -6
- package/src/decorators/di/Inject.mjs +11 -11
- package/src/decorators/di/Lifetime.cjs +18 -18
- package/src/decorators/di/Lifetime.mjs +13 -13
- package/src/decorators/dto/Accept.cjs +3 -3
- package/src/decorators/dto/Accept.mjs +2 -2
- package/src/decorators/dto/Expect.cjs +2 -2
- package/src/decorators/dto/Expect.mjs +3 -3
- package/src/decorators/dto/IndexSignature.cjs +2 -2
- package/src/decorators/dto/IndexSignature.mjs +3 -3
- package/src/decorators/dto/Return.cjs +3 -3
- package/src/decorators/dto/Return.mjs +2 -2
- package/src/lib/base/EventEmitter.cjs +238 -238
- package/src/lib/base/EventEmitter.mjs +221 -221
- package/src/lib/base/async-constructor/Append.cjs +11 -11
- package/src/lib/base/async-constructor/Append.mjs +7 -7
- package/src/lib/base/internal/BasicInfo.cjs +10 -10
- package/src/lib/base/internal/BasicInfo.mjs +9 -9
- package/src/lib/base/internal/CamelCase.cjs +4 -4
- package/src/lib/base/internal/CamelCase.mjs +11 -11
- package/src/lib/base/internal/ConfigurableRecordsInjection.cjs +19 -19
- package/src/lib/base/internal/ConfigurableRecordsInjection.mjs +18 -18
- package/src/lib/base/internal/ConstructorSymbol.cjs +10 -10
- package/src/lib/base/internal/ConstructorSymbol.mjs +8 -8
- package/src/lib/base/internal/ControllerEntrypoint.cjs +65 -65
- package/src/lib/base/internal/ControllerEntrypoint.mjs +36 -36
- package/src/lib/base/internal/DataValidator.cjs +70 -70
- package/src/lib/base/internal/DataValidator.mjs +137 -137
- package/src/lib/base/internal/GetActionDTOAndOptions.cjs +9 -9
- package/src/lib/base/internal/GetActionDTOAndOptions.mjs +10 -10
- package/src/lib/base/internal/IEEE754.cjs +74 -74
- package/src/lib/base/internal/IEEE754.mjs +70 -70
- package/src/lib/base/internal/MethodAssistantFunction.cjs +28 -28
- package/src/lib/base/internal/MethodAssistantFunction.mjs +38 -38
- package/src/lib/base/internal/MethodValidation.cjs +25 -25
- package/src/lib/base/internal/MethodValidation.mjs +20 -20
- package/src/lib/base/internal/ObjectConfiguration.cjs +10 -10
- package/src/lib/base/internal/ObjectConfiguration.mjs +15 -15
- package/src/lib/base/internal/ObjectContainer.cjs +7 -7
- package/src/lib/base/internal/ObjectContainer.mjs +6 -6
- package/src/lib/base/internal/ObjectInjection.cjs +16 -16
- package/src/lib/base/internal/ObjectInjection.mjs +13 -13
- package/src/lib/base/internal/ObjectLifetime.cjs +10 -10
- package/src/lib/base/internal/ObjectLifetime.mjs +9 -9
- package/src/lib/base/internal/ObjectWeakRefs.cjs +11 -11
- package/src/lib/base/internal/ObjectWeakRefs.mjs +9 -9
- package/src/lib/base/internal/PatternManager.cjs +235 -235
- package/src/lib/base/internal/PatternManager.mjs +233 -233
- package/src/lib/base/internal/StringifyPattern.cjs +26 -26
- package/src/lib/base/internal/StringifyPattern.mjs +26 -26
- package/src/lib/base/internal/ThrowWarning.cjs +2 -2
- package/src/lib/base/internal/ThrowWarning.mjs +2 -2
- package/src/lib/core/Alias.cjs +5 -5
- package/src/lib/core/Application.cjs +57 -57
- package/src/lib/core/Application.mjs +63 -63
- package/src/lib/helpers/ArrayToSet.cjs +2 -2
- package/src/lib/helpers/ArrayToSet.mjs +3 -3
- package/src/lib/helpers/As.cjs +2 -2
- package/src/lib/helpers/As.mjs +2 -2
- package/src/lib/helpers/ConvertArrayLikeToIterable.cjs +3 -3
- package/src/lib/helpers/ConvertArrayLikeToIterable.mjs +3 -3
- package/src/lib/helpers/ConvertArrayLikeToStream.cjs +2 -2
- package/src/lib/helpers/ConvertArrayLikeToStream.mjs +2 -2
- package/src/lib/helpers/Delay.cjs +2 -2
- package/src/lib/helpers/Delay.mjs +2 -2
- package/src/lib/helpers/DevNull.cjs +2 -2
- package/src/lib/helpers/DevNull.mjs +2 -2
- package/src/lib/helpers/GetObjectNestingDepth.cjs +12 -12
- package/src/lib/helpers/GetObjectNestingDepth.mjs +11 -11
- package/src/lib/helpers/GetObjectPropertyPaths.cjs +7 -7
- package/src/lib/helpers/GetObjectPropertyPaths.mjs +9 -9
- package/src/lib/helpers/Glob.cjs +890 -890
- package/src/lib/helpers/Glob.mjs +889 -889
- package/src/lib/helpers/GraceExit.cjs +3 -3
- package/src/lib/helpers/GraceExit.mjs +7 -7
- package/src/lib/helpers/HexToIEEE754.cjs +4 -4
- package/src/lib/helpers/HexToIEEE754.mjs +2 -2
- package/src/lib/helpers/HexToSigned.cjs +5 -5
- package/src/lib/helpers/HexToSigned.mjs +4 -4
- package/src/lib/helpers/HexToUnsigned.cjs +2 -2
- package/src/lib/helpers/HexToUnsigned.mjs +2 -2
- package/src/lib/helpers/IEEE754ToHex.cjs +5 -5
- package/src/lib/helpers/IEEE754ToHex.mjs +5 -5
- package/src/lib/helpers/IsAbortError.cjs +2 -2
- package/src/lib/helpers/IsAbortError.mjs +3 -3
- package/src/lib/helpers/IsEmptyObject.cjs +3 -3
- package/src/lib/helpers/IsEmptyObject.mjs +3 -3
- package/src/lib/helpers/IsExists.cjs +5 -5
- package/src/lib/helpers/IsExists.mjs +4 -4
- package/src/lib/helpers/IsHtml.cjs +23 -7
- package/src/lib/helpers/IsHtml.mjs +23 -7
- package/src/lib/helpers/IsNativeFunction.cjs +2 -2
- package/src/lib/helpers/IsNativeFunction.mjs +2 -2
- package/src/lib/helpers/IsPath.cjs +2 -2
- package/src/lib/helpers/IsPath.mjs +5 -5
- package/src/lib/helpers/IsPromise.cjs +2 -2
- package/src/lib/helpers/IsPromise.mjs +2 -2
- package/src/lib/helpers/IsPromiseLike.cjs +5 -5
- package/src/lib/helpers/IsPromiseLike.mjs +6 -6
- package/src/lib/helpers/IsXML.cjs +1502 -1650
- package/src/lib/helpers/IsXML.mjs +1500 -1648
- package/src/lib/helpers/MD5.cjs +2 -2
- package/src/lib/helpers/MD5.mjs +2 -2
- package/src/lib/helpers/MergeArray.cjs +3 -3
- package/src/lib/helpers/MergeArray.mjs +3 -3
- package/src/lib/helpers/MergeMap.cjs +3 -3
- package/src/lib/helpers/MergeMap.mjs +3 -3
- package/src/lib/helpers/MergeSet.cjs +2 -2
- package/src/lib/helpers/MergeSet.mjs +3 -3
- package/src/lib/helpers/NoCase.cjs +27 -27
- package/src/lib/helpers/NoCase.mjs +24 -24
- package/src/lib/helpers/NonceStr.cjs +2 -2
- package/src/lib/helpers/NonceStr.mjs +2 -2
- package/src/lib/helpers/ObjectConstructor.cjs +2 -2
- package/src/lib/helpers/ObjectConstructor.mjs +4 -4
- package/src/lib/helpers/ObjectHash.cjs +234 -234
- package/src/lib/helpers/ObjectHash.mjs +227 -227
- package/src/lib/helpers/ObjectParentConstructor.cjs +2 -2
- package/src/lib/helpers/ObjectParentConstructor.mjs +5 -5
- package/src/lib/helpers/ObjectParentConstructors.cjs +6 -6
- package/src/lib/helpers/ObjectParentConstructors.mjs +2 -2
- package/src/lib/helpers/ObjectPrototype.cjs +2 -2
- package/src/lib/helpers/ObjectPrototype.mjs +2 -2
- package/src/lib/helpers/ObjectToMap.cjs +2 -2
- package/src/lib/helpers/ObjectToMap.mjs +3 -3
- package/src/lib/helpers/Paginator.cjs +2 -2
- package/src/lib/helpers/Paginator.mjs +6 -6
- package/src/lib/helpers/RandomString.cjs +82 -82
- package/src/lib/helpers/RandomString.mjs +67 -67
- package/src/lib/helpers/SHA1.cjs +2 -2
- package/src/lib/helpers/SHA1.mjs +2 -2
- package/src/lib/helpers/SHA256.cjs +2 -2
- package/src/lib/helpers/SHA256.mjs +2 -2
- package/src/lib/helpers/SetToArray.cjs +2 -2
- package/src/lib/helpers/SetToArray.mjs +2 -2
- package/src/lib/helpers/SignedToHex.cjs +4 -4
- package/src/lib/helpers/SignedToHex.mjs +4 -4
- package/src/lib/helpers/SortArray.cjs +16 -16
- package/src/lib/helpers/SortArray.mjs +15 -15
- package/src/lib/helpers/SortKeys.cjs +41 -41
- package/src/lib/helpers/SortKeys.mjs +41 -41
- package/src/lib/helpers/SortObject.cjs +2 -2
- package/src/lib/helpers/SortObject.mjs +2 -2
- package/src/lib/helpers/Templating.cjs +25 -25
- package/src/lib/helpers/Templating.mjs +25 -25
- package/src/lib/helpers/URLBuilder.cjs +234 -234
- package/src/lib/helpers/URLBuilder.mjs +231 -231
- package/src/lib/helpers/UniqueArray.cjs +3 -3
- package/src/lib/helpers/UniqueArray.mjs +2 -2
- package/src/lib/helpers/UnsignedToHex.cjs +3 -3
- package/src/lib/helpers/UnsignedToHex.mjs +3 -3
- package/src/lib/ioc/DependencyInjectionContainer.cjs +106 -106
- package/src/lib/ioc/DependencyInjectionContainer.mjs +122 -122
- package/src/lib/ioc/FunctionTokenizer.cjs +115 -115
- package/src/lib/ioc/FunctionTokenizer.mjs +102 -102
- package/src/lib/ioc/Lifetime.cjs +5 -5
- package/src/lib/ioc/Lifetime.mjs +5 -5
- package/src/lib/ioc/ListModules.cjs +3359 -3359
- package/src/lib/ioc/ListModules.mjs +2274 -2274
- package/src/lib/ioc/LoadModules.cjs +56 -56
- package/src/lib/ioc/LoadModules.mjs +69 -69
- package/src/lib/ioc/ParamParser.cjs +30 -30
- package/src/lib/ioc/ParamParser.mjs +41 -41
- package/src/lib/ioc/Resolvers.cjs +87 -87
- package/src/lib/ioc/Resolvers.mjs +109 -109
- package/src/lib/ioc/Utils.cjs +12 -12
- package/src/lib/ioc/Utils.mjs +18 -18
- package/src/lib/validation/VLD.cjs +1124 -1124
- package/src/lib/validation/VLD.mjs +1113 -1113
- package/src/providers/Database.cjs +2 -2
- package/src/providers/Database.mjs +7 -7
- package/src/providers/PasswordHash.cjs +330 -330
- package/src/providers/PasswordHash.mjs +397 -397
- package/vendor/Package.1.cjs +256 -256
- package/vendor/Package.1.mjs +254 -254
- package/vendor/Package.112.cjs +32208 -32208
- package/vendor/Package.112.mjs +32111 -32111
- package/vendor/Package.13.cjs +36 -36
- package/vendor/Package.13.mjs +24 -24
- package/vendor/Package.16.cjs +10312 -10312
- package/vendor/Package.16.mjs +10309 -10309
- package/vendor/Package.17.cjs +924 -924
- package/vendor/Package.17.mjs +943 -943
- package/vendor/Package.18.cjs +19 -19
- package/vendor/Package.18.mjs +21 -21
- package/vendor/Package.19.cjs +19 -19
- package/vendor/Package.19.mjs +20 -20
- package/vendor/Package.2.cjs +3913 -3913
- package/vendor/Package.2.mjs +3931 -3931
- package/vendor/Package.20.cjs +16 -16
- package/vendor/Package.20.mjs +12 -12
- package/vendor/Package.21.cjs +19 -19
- package/vendor/Package.21.mjs +17 -17
- package/vendor/Package.22.cjs +11 -11
- package/vendor/Package.22.mjs +12 -12
- package/vendor/Package.23.cjs +8 -8
- package/vendor/Package.23.mjs +12 -12
- package/vendor/Package.24.cjs +16 -16
- package/vendor/Package.24.mjs +14 -14
- package/vendor/Package.25.cjs +11 -11
- package/vendor/Package.25.mjs +12 -12
- package/vendor/Package.26.cjs +19 -19
- package/vendor/Package.26.mjs +12 -12
- package/vendor/Package.27.cjs +16 -16
- package/vendor/Package.27.mjs +6 -6
- package/vendor/Package.28.cjs +19 -19
- package/vendor/Package.28.mjs +17 -17
- package/vendor/Package.29.cjs +15 -15
- package/vendor/Package.29.mjs +13 -13
- package/vendor/Package.3.cjs +60 -60
- package/vendor/Package.3.mjs +85 -85
- package/vendor/Package.30.cjs +9 -9
- package/vendor/Package.30.mjs +9 -9
- package/vendor/Package.31.cjs +14 -14
- package/vendor/Package.31.mjs +27 -27
- package/vendor/Package.32.cjs +11 -11
- package/vendor/Package.32.mjs +11 -11
- package/vendor/Package.33.cjs +4 -4
- package/vendor/Package.33.mjs +6 -6
- package/vendor/Package.34.cjs +10 -10
- package/vendor/Package.34.mjs +23 -23
- package/vendor/Package.35.cjs +6 -6
- package/vendor/Package.35.mjs +16 -16
- package/vendor/Package.36.cjs +17 -17
- package/vendor/Package.36.mjs +21 -21
- package/vendor/Package.37.cjs +15 -15
- package/vendor/Package.37.mjs +17 -17
- package/vendor/Package.38.cjs +12 -12
- package/vendor/Package.38.mjs +16 -16
- package/vendor/Package.39.cjs +17 -17
- package/vendor/Package.39.mjs +13 -13
- package/vendor/Package.4.cjs +412 -412
- package/vendor/Package.4.mjs +537 -537
- package/vendor/Package.40.cjs +5 -5
- package/vendor/Package.40.mjs +6 -6
- package/vendor/Package.41.cjs +18 -18
- package/vendor/Package.41.mjs +17 -17
- package/vendor/Package.42.cjs +24 -24
- package/vendor/Package.42.mjs +17 -17
- package/vendor/Package.43.cjs +5 -5
- package/vendor/Package.43.mjs +19 -19
- package/vendor/Package.44.cjs +16 -16
- package/vendor/Package.44.mjs +13 -13
- package/vendor/Package.45.cjs +21 -21
- package/vendor/Package.45.mjs +22 -22
- package/vendor/Package.46.cjs +6 -6
- package/vendor/Package.46.mjs +22 -22
- package/vendor/Package.47.cjs +16 -16
- package/vendor/Package.47.mjs +29 -29
- package/vendor/Package.48.cjs +8 -8
- package/vendor/Package.48.mjs +16 -16
- package/vendor/Package.49.cjs +6 -6
- package/vendor/Package.49.mjs +20 -20
- package/vendor/Package.5.cjs +10 -10
- package/vendor/Package.5.mjs +9 -9
- package/vendor/Package.50.cjs +13 -13
- package/vendor/Package.50.mjs +14 -14
- package/vendor/Package.51.cjs +18 -18
- package/vendor/Package.51.mjs +23 -23
- package/vendor/Package.52.cjs +4 -4
- package/vendor/Package.52.mjs +5 -5
- package/vendor/Package.53.cjs +6 -6
- package/vendor/Package.53.mjs +8 -8
- package/vendor/Package.54.cjs +30 -30
- package/vendor/Package.54.mjs +29 -29
- package/vendor/Package.55.cjs +16 -16
- package/vendor/Package.55.mjs +20 -20
- package/vendor/Package.56.cjs +14 -14
- package/vendor/Package.56.mjs +18 -18
- package/vendor/Package.57.cjs +6 -6
- package/vendor/Package.57.mjs +17 -17
- package/vendor/Package.58.cjs +22 -22
- package/vendor/Package.58.mjs +19 -19
- package/vendor/Package.59.cjs +18 -18
- package/vendor/Package.59.mjs +13 -13
- package/vendor/Package.6.cjs +1739 -1739
- package/vendor/Package.6.mjs +1739 -1739
- package/vendor/Package.60.cjs +13553 -13553
- package/vendor/Package.60.mjs +13562 -13562
- package/vendor/Package.610.cjs +9 -9
- package/vendor/Package.611.cjs +39 -39
- package/vendor/Package.611.mjs +22 -22
- package/vendor/Package.612.cjs +33 -33
- package/vendor/Package.612.mjs +17 -17
- package/vendor/Package.613.cjs +62 -62
- package/vendor/Package.613.mjs +29 -29
- package/vendor/Package.62.cjs +292 -292
- package/vendor/Package.62.mjs +312 -312
- package/vendor/Package.63.cjs +354 -354
- package/vendor/Package.63.mjs +229 -229
- package/vendor/Package.64.cjs +74 -74
- package/vendor/Package.64.mjs +74 -74
- package/vendor/Package.65.cjs +1833 -1833
- package/vendor/Package.65.mjs +1656 -1656
- package/vendor/Package.66.cjs +16 -16
- package/vendor/Package.66.mjs +16 -16
- package/vendor/Package.67.cjs +87 -87
- package/vendor/Package.67.mjs +85 -85
- package/vendor/Package.68.cjs +115 -256
- package/vendor/Package.68.mjs +134 -268
- package/vendor/Package.69.cjs +8 -8
- package/vendor/Package.7.cjs +3 -3
- package/vendor/Package.7.mjs +3 -3
- package/vendor/Package.9.cjs +45 -45
- package/vendor/Package.9.mjs +79 -79
|
@@ -6,9 +6,9 @@ Object.defineProperty(exports, Symbol.toStringTag, {
|
|
|
6
6
|
|
|
7
7
|
const e = require("./DevNull.cjs");
|
|
8
8
|
|
|
9
|
-
function
|
|
9
|
+
function GraceExit(t, ...r) {
|
|
10
10
|
setImmediate((async () => {
|
|
11
|
-
for (const t of
|
|
11
|
+
for (const t of r) {
|
|
12
12
|
try {
|
|
13
13
|
await t();
|
|
14
14
|
} catch (t) {
|
|
@@ -19,4 +19,4 @@ function t(t, ...o) {
|
|
|
19
19
|
}));
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
exports.GraceExit =
|
|
22
|
+
exports.GraceExit = GraceExit;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { DevNull as t } from "./DevNull.mjs";
|
|
2
2
|
|
|
3
|
-
function
|
|
3
|
+
function GraceExit(e, ...c) {
|
|
4
4
|
setImmediate((async () => {
|
|
5
|
-
for (const
|
|
5
|
+
for (const e of c) {
|
|
6
6
|
try {
|
|
7
|
-
await
|
|
8
|
-
} catch (
|
|
9
|
-
t(
|
|
7
|
+
await e();
|
|
8
|
+
} catch (e) {
|
|
9
|
+
t(e);
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
process.exit(
|
|
12
|
+
process.exit(e);
|
|
13
13
|
}));
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { GraceExit };
|
|
@@ -6,13 +6,13 @@ Object.defineProperty(exports, Symbol.toStringTag, {
|
|
|
6
6
|
|
|
7
7
|
const e = require("../base/internal/IEEE754.cjs");
|
|
8
8
|
|
|
9
|
-
function
|
|
10
|
-
const
|
|
11
|
-
if (
|
|
9
|
+
function HexToIEEE754(r) {
|
|
10
|
+
const E = Buffer.from(r, "hex");
|
|
11
|
+
if (E.length === 8) {
|
|
12
12
|
return e.readIEEE754(Buffer.from(r, "hex"), 0, false, 52, 8);
|
|
13
13
|
} else {
|
|
14
14
|
return e.readIEEE754(Buffer.from(r, "hex"), 0, false, 23, 4);
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
exports.HexToIEEE754 =
|
|
18
|
+
exports.HexToIEEE754 = HexToIEEE754;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { readIEEE754 as e } from "../base/internal/IEEE754.mjs";
|
|
2
2
|
|
|
3
|
-
function
|
|
3
|
+
function HexToIEEE754(f) {
|
|
4
4
|
const r = Buffer.from(f, "hex");
|
|
5
5
|
if (r.length === 8) {
|
|
6
6
|
return e(Buffer.from(f, "hex"), 0, false, 52, 8);
|
|
@@ -9,4 +9,4 @@ function f(f) {
|
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
export {
|
|
12
|
+
export { HexToIEEE754 };
|
|
@@ -4,11 +4,11 @@ Object.defineProperty(exports, Symbol.toStringTag, {
|
|
|
4
4
|
value: "Module"
|
|
5
5
|
});
|
|
6
6
|
|
|
7
|
-
function
|
|
7
|
+
function HexToSigned(t) {
|
|
8
8
|
if (t.startsWith("0x") || t.startsWith("0X")) t = parseInt(t, 16).toString(16);
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
return parseInt(
|
|
9
|
+
const e = t.length * 4;
|
|
10
|
+
const n = BigInt.asIntN(e, BigInt(`0x${t}`));
|
|
11
|
+
return parseInt(n.toString());
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
exports.HexToSigned =
|
|
14
|
+
exports.HexToSigned = HexToSigned;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
function
|
|
1
|
+
function HexToSigned(t) {
|
|
2
2
|
if (t.startsWith("0x") || t.startsWith("0X")) t = parseInt(t, 16).toString(16);
|
|
3
3
|
const n = t.length * 4;
|
|
4
|
-
const
|
|
5
|
-
return parseInt(
|
|
4
|
+
const i = BigInt.asIntN(n, BigInt(`0x${t}`));
|
|
5
|
+
return parseInt(i.toString());
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
export {
|
|
8
|
+
export { HexToSigned };
|
|
@@ -4,10 +4,10 @@ Object.defineProperty(exports, Symbol.toStringTag, {
|
|
|
4
4
|
value: "Module"
|
|
5
5
|
});
|
|
6
6
|
|
|
7
|
-
function
|
|
7
|
+
function HexToUnsigned(t) {
|
|
8
8
|
if (t.startsWith("0x") || t.startsWith("0X")) t = parseInt(t, 16).toString(16);
|
|
9
9
|
const e = BigInt(`0x${t}`);
|
|
10
10
|
return parseInt(e.toString());
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
exports.HexToUnsigned =
|
|
13
|
+
exports.HexToUnsigned = HexToUnsigned;
|
|
@@ -6,10 +6,10 @@ Object.defineProperty(exports, Symbol.toStringTag, {
|
|
|
6
6
|
|
|
7
7
|
const e = require("../base/internal/IEEE754.cjs");
|
|
8
8
|
|
|
9
|
-
function
|
|
10
|
-
const
|
|
11
|
-
e.writeIEEE754(
|
|
12
|
-
return
|
|
9
|
+
function IEEE754ToHex(t, o = 32) {
|
|
10
|
+
const r = Buffer.alloc(o / 8);
|
|
11
|
+
e.writeIEEE754(r, t, 0, false, r.length === 4 ? 23 : 52, r.length);
|
|
12
|
+
return r.toString("hex").toUpperCase();
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
exports.IEEE754ToHex =
|
|
15
|
+
exports.IEEE754ToHex = IEEE754ToHex;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { writeIEEE754 as e } from "../base/internal/IEEE754.mjs";
|
|
2
2
|
|
|
3
|
-
function
|
|
4
|
-
const
|
|
5
|
-
e(
|
|
6
|
-
return
|
|
3
|
+
function IEEE754ToHex(t, o = 32) {
|
|
4
|
+
const n = Buffer.alloc(o / 8);
|
|
5
|
+
e(n, t, 0, false, n.length === 4 ? 23 : 52, n.length);
|
|
6
|
+
return n.toString("hex").toUpperCase();
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export {
|
|
9
|
+
export { IEEE754ToHex };
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, Symbol.toStringTag, {
|
|
|
4
4
|
value: "Module"
|
|
5
5
|
});
|
|
6
6
|
|
|
7
|
-
function
|
|
8
|
-
return !Object.getOwnPropertyNames(
|
|
7
|
+
function IsEmptyObject(t) {
|
|
8
|
+
return !Object.getOwnPropertyNames(t).length && !Object.getOwnPropertySymbols(t).length;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
exports.IsEmptyObject =
|
|
11
|
+
exports.IsEmptyObject = IsEmptyObject;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
function
|
|
2
|
-
return !Object.getOwnPropertyNames(
|
|
1
|
+
function IsEmptyObject(t) {
|
|
2
|
+
return !Object.getOwnPropertyNames(t).length && !Object.getOwnPropertySymbols(t).length;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
-
export {
|
|
5
|
+
export { IsEmptyObject };
|
|
@@ -4,17 +4,17 @@ Object.defineProperty(exports, Symbol.toStringTag, {
|
|
|
4
4
|
value: "Module"
|
|
5
5
|
});
|
|
6
6
|
|
|
7
|
-
const
|
|
7
|
+
const s = require("fs");
|
|
8
8
|
|
|
9
9
|
const t = require("node:fs/promises");
|
|
10
10
|
|
|
11
|
-
async function
|
|
11
|
+
async function IsExists(e) {
|
|
12
12
|
try {
|
|
13
|
-
await t.access(
|
|
13
|
+
await t.access(e, s.constants.F_OK);
|
|
14
14
|
return true;
|
|
15
|
-
} catch (
|
|
15
|
+
} catch (s) {
|
|
16
16
|
return false;
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
exports.IsExists =
|
|
20
|
+
exports.IsExists = IsExists;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { constants as r } from "fs";
|
|
2
2
|
|
|
3
|
-
import { access as
|
|
3
|
+
import { access as s } from "node:fs/promises";
|
|
4
4
|
|
|
5
|
-
async function
|
|
5
|
+
async function IsExists(t) {
|
|
6
6
|
try {
|
|
7
|
-
await t
|
|
7
|
+
await s(t, r.F_OK);
|
|
8
8
|
return true;
|
|
9
9
|
} catch (r) {
|
|
10
10
|
return false;
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
export {
|
|
14
|
+
export { IsExists };
|
|
@@ -4,17 +4,33 @@ Object.defineProperty(exports, Symbol.toStringTag, {
|
|
|
4
4
|
value: "Module"
|
|
5
5
|
});
|
|
6
6
|
|
|
7
|
-
const t =
|
|
7
|
+
const t = require("../../../vendor/Package.5.cjs");
|
|
8
8
|
|
|
9
|
-
const e = [ "area", "base", "br", "col", "embed", "hr", "img", "input", "link", "meta", "source", "track", "wbr" ];
|
|
9
|
+
const e = [ "a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "label", "legend", "li", "link", "main", "map", "mark", "math", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rb", "rp", "rt", "rtc", "ruby", "s", "samp", "script", "search", "section", "select", "slot", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "svg", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u", "ul", "var", "video", "wbr" ];
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
var r;
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
var a;
|
|
14
14
|
|
|
15
|
-
function
|
|
15
|
+
function requireHtmlTags() {
|
|
16
|
+
if (a) return r;
|
|
17
|
+
a = 1;
|
|
18
|
+
"use strict";
|
|
19
|
+
r = e;
|
|
20
|
+
return r;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
var o = requireHtmlTags();
|
|
24
|
+
|
|
25
|
+
const s = t.getDefaultExportFromCjs(o);
|
|
26
|
+
|
|
27
|
+
const i = /\s?<!doctype html>|(<html\b[^>]*>|<body\b[^>]*>|<x-[^>]+>)+/i;
|
|
28
|
+
|
|
29
|
+
const l = new RegExp(s.map((t => `<${t}\\b[^>]*>`)).join("|"), "i");
|
|
30
|
+
|
|
31
|
+
function IsHtml(t) {
|
|
16
32
|
t = t.trim().slice(0, 1e3);
|
|
17
|
-
return
|
|
33
|
+
return i.test(t) || l.test(t);
|
|
18
34
|
}
|
|
19
35
|
|
|
20
|
-
exports.IsHtml =
|
|
36
|
+
exports.IsHtml = IsHtml;
|
|
@@ -1,14 +1,30 @@
|
|
|
1
|
-
|
|
1
|
+
import { g as t } from "../../../vendor/Package.5.mjs";
|
|
2
2
|
|
|
3
|
-
const e = [ "area", "base", "br", "col", "embed", "hr", "img", "input", "link", "meta", "source", "track", "wbr" ];
|
|
3
|
+
const e = [ "a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "label", "legend", "li", "link", "main", "map", "mark", "math", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rb", "rp", "rt", "rtc", "ruby", "s", "samp", "script", "search", "section", "select", "slot", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "svg", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u", "ul", "var", "video", "wbr" ];
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
var r;
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
var a;
|
|
8
8
|
|
|
9
|
-
function
|
|
9
|
+
function requireHtmlTags() {
|
|
10
|
+
if (a) return r;
|
|
11
|
+
a = 1;
|
|
12
|
+
"use strict";
|
|
13
|
+
r = e;
|
|
14
|
+
return r;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
var o = requireHtmlTags();
|
|
18
|
+
|
|
19
|
+
const s = t(o);
|
|
20
|
+
|
|
21
|
+
const i = /\s?<!doctype html>|(<html\b[^>]*>|<body\b[^>]*>|<x-[^>]+>)+/i;
|
|
22
|
+
|
|
23
|
+
const l = new RegExp(s.map((t => `<${t}\\b[^>]*>`)).join("|"), "i");
|
|
24
|
+
|
|
25
|
+
function IsHtml(t) {
|
|
10
26
|
t = t.trim().slice(0, 1e3);
|
|
11
|
-
return
|
|
27
|
+
return i.test(t) || l.test(t);
|
|
12
28
|
}
|
|
13
29
|
|
|
14
|
-
export {
|
|
30
|
+
export { IsHtml };
|
|
@@ -12,9 +12,9 @@ const e = /^\[object .+?Constructor\]$/;
|
|
|
12
12
|
|
|
13
13
|
const n = RegExp("^" + String(t).replace(/[.*+?^${}()|[\]\/\\]/g, "\\$&").replace(/toString|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
|
|
14
14
|
|
|
15
|
-
function
|
|
15
|
+
function IsNativeFunction(c) {
|
|
16
16
|
const r = typeof c;
|
|
17
17
|
return r == "function" ? n.test(o.call(c)) : c && r == "object" && e.test(t.call(c)) || false;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
exports.IsNativeFunction =
|
|
20
|
+
exports.IsNativeFunction = IsNativeFunction;
|
|
@@ -6,9 +6,9 @@ const n = /^\[object .+?Constructor\]$/;
|
|
|
6
6
|
|
|
7
7
|
const c = RegExp("^" + String(t).replace(/[.*+?^${}()|[\]\/\\]/g, "\\$&").replace(/toString|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
|
|
8
8
|
|
|
9
|
-
function
|
|
9
|
+
function IsNativeFunction(e) {
|
|
10
10
|
const r = typeof e;
|
|
11
11
|
return r == "function" ? c.test(o.call(e)) : e && r == "object" && n.test(t.call(e)) || false;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
export {
|
|
14
|
+
export { IsNativeFunction };
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, Symbol.toStringTag, {
|
|
|
6
6
|
|
|
7
7
|
const t = require("./As.cjs");
|
|
8
8
|
|
|
9
|
-
function
|
|
9
|
+
function IsPath(e) {
|
|
10
10
|
try {
|
|
11
11
|
const r = new RegExp('^(\\/|\\.\\.?\\/|([A-Za-z]:)?\\\\)([^\\\\\\/:*?"<>|\\r\\n]+[\\\\\\/])*[^\\\\\\/:*?"<>|\\r\\n]*$');
|
|
12
12
|
return r.test(t.As(e));
|
|
@@ -15,4 +15,4 @@ function e(e) {
|
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
exports.IsPath =
|
|
18
|
+
exports.IsPath = IsPath;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { As as
|
|
1
|
+
import { As as t } from "./As.mjs";
|
|
2
2
|
|
|
3
|
-
function
|
|
3
|
+
function IsPath(r) {
|
|
4
4
|
try {
|
|
5
5
|
const n = new RegExp('^(\\/|\\.\\.?\\/|([A-Za-z]:)?\\\\)([^\\\\\\/:*?"<>|\\r\\n]+[\\\\\\/])*[^\\\\\\/:*?"<>|\\r\\n]*$');
|
|
6
|
-
return n.test(r
|
|
7
|
-
} catch (
|
|
6
|
+
return n.test(t(r));
|
|
7
|
+
} catch (t) {
|
|
8
8
|
return false;
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
export {
|
|
12
|
+
export { IsPath };
|
|
@@ -6,8 +6,8 @@ Object.defineProperty(exports, Symbol.toStringTag, {
|
|
|
6
6
|
|
|
7
7
|
const e = require("util/types");
|
|
8
8
|
|
|
9
|
-
function
|
|
9
|
+
function IsPromise(t) {
|
|
10
10
|
return e.isPromise(t) ? true : !!t && (typeof t === "object" || typeof t === "function") && typeof t.then === "function";
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
exports.IsPromise =
|
|
13
|
+
exports.IsPromise = IsPromise;
|
|
@@ -8,10 +8,10 @@ const e = require("./IsPromise.cjs");
|
|
|
8
8
|
|
|
9
9
|
require("util/types");
|
|
10
10
|
|
|
11
|
-
function
|
|
12
|
-
if (e.IsPromise(
|
|
13
|
-
const {then:
|
|
14
|
-
return
|
|
11
|
+
function IsPromiseLike(r) {
|
|
12
|
+
if (e.IsPromise(r)) return true;
|
|
13
|
+
const {then: s} = r || false;
|
|
14
|
+
return s instanceof Function;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
exports.IsPromiseLike =
|
|
17
|
+
exports.IsPromiseLike = IsPromiseLike;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { IsPromise as
|
|
1
|
+
import { IsPromise as e } from "./IsPromise.mjs";
|
|
2
2
|
|
|
3
3
|
import "util/types";
|
|
4
4
|
|
|
5
|
-
function
|
|
6
|
-
if (t
|
|
7
|
-
const {then:
|
|
8
|
-
return
|
|
5
|
+
function IsPromiseLike(t) {
|
|
6
|
+
if (e(t)) return true;
|
|
7
|
+
const {then: i} = t || false;
|
|
8
|
+
return i instanceof Function;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
export {
|
|
11
|
+
export { IsPromiseLike };
|