lakutata 2.0.82 → 2.0.83

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.
Files changed (464) hide show
  1. package/com/docker.cjs +1 -1
  2. package/com/docker.mjs +1 -1
  3. package/decorator/orm.cjs +84 -84
  4. package/decorator/orm.mjs +42 -128
  5. package/orm.cjs +871 -1408
  6. package/orm.mjs +712 -1462
  7. package/package.json +1 -1
  8. package/src/components/Database.cjs +2 -2
  9. package/src/components/Database.mjs +6 -6
  10. package/src/components/cacher/Cacher.cjs +129 -129
  11. package/src/components/cacher/Cacher.mjs +117 -117
  12. package/src/components/cacher/adapters/CreateFileCacheAdapter.cjs +303 -312
  13. package/src/components/cacher/adapters/CreateFileCacheAdapter.mjs +304 -313
  14. package/src/components/cacher/adapters/CreateMemcacheCacheAdapter.cjs +12 -12
  15. package/src/components/cacher/adapters/CreateMemcacheCacheAdapter.mjs +11 -11
  16. package/src/components/cacher/adapters/CreateMongoCacheAdapter.cjs +16 -16
  17. package/src/components/cacher/adapters/CreateMongoCacheAdapter.mjs +14 -14
  18. package/src/components/cacher/adapters/CreateMysqlCacheAdapter.cjs +11 -11
  19. package/src/components/cacher/adapters/CreateMysqlCacheAdapter.mjs +11 -11
  20. package/src/components/cacher/adapters/CreatePostgresCacheAdapter.cjs +12 -12
  21. package/src/components/cacher/adapters/CreatePostgresCacheAdapter.mjs +13 -13
  22. package/src/components/cacher/adapters/CreateRedisCacheAdapter.cjs +2 -2
  23. package/src/components/cacher/adapters/CreateRedisCacheAdapter.mjs +2 -2
  24. package/src/components/cacher/adapters/CreateSqliteCacheAdapter.cjs +10 -10
  25. package/src/components/cacher/adapters/CreateSqliteCacheAdapter.mjs +10 -10
  26. package/src/components/cacher/lib/IsDriverPackageInstalled.cjs +2 -2
  27. package/src/components/cacher/lib/IsDriverPackageInstalled.mjs +5 -5
  28. package/src/components/docker/ConnectionOptionsBuilder.cjs +11 -11
  29. package/src/components/docker/ConnectionOptionsBuilder.mjs +7 -7
  30. package/src/components/docker/Docker.cjs +5067 -4956
  31. package/src/components/docker/Docker.mjs +4982 -4871
  32. package/src/components/docker/lib/DockerContainer.cjs +1 -1
  33. package/src/components/docker/lib/DockerContainer.mjs +1 -1
  34. package/src/components/docker/lib/DockerContainerTTY.cjs +1 -1
  35. package/src/components/docker/lib/DockerContainerTTY.mjs +1 -1
  36. package/src/components/docker/lib/ParseEnvToRecord.cjs +2 -2
  37. package/src/components/docker/lib/ParseEnvToRecord.mjs +12 -12
  38. package/src/components/docker/lib/ParseRepositoryTag.cjs +9 -9
  39. package/src/components/docker/lib/ParseRepositoryTag.mjs +11 -11
  40. package/src/components/entrypoint/Entrypoint.cjs +1678 -2168
  41. package/src/components/entrypoint/Entrypoint.mjs +1680 -2170
  42. package/src/components/monitor/AliveMonitor.cjs +2 -2
  43. package/src/components/monitor/AliveMonitor.mjs +2 -2
  44. package/src/components/monitor/MemoryMonitor.cjs +3 -3
  45. package/src/decorators/asst/After.cjs +3 -3
  46. package/src/decorators/asst/After.mjs +2 -2
  47. package/src/decorators/asst/Before.cjs +2 -2
  48. package/src/decorators/asst/Before.mjs +4 -4
  49. package/src/decorators/ctrl/CLIAction.cjs +2 -2
  50. package/src/decorators/ctrl/CLIAction.mjs +7 -7
  51. package/src/decorators/ctrl/HTTPAction.cjs +6 -6
  52. package/src/decorators/ctrl/HTTPAction.mjs +4 -4
  53. package/src/decorators/ctrl/ServiceAction.cjs +3 -3
  54. package/src/decorators/ctrl/ServiceAction.mjs +4 -4
  55. package/src/decorators/ctrl/http/DELETE.cjs +2 -2
  56. package/src/decorators/ctrl/http/DELETE.mjs +2 -2
  57. package/src/decorators/ctrl/http/GET.cjs +2 -2
  58. package/src/decorators/ctrl/http/GET.mjs +2 -2
  59. package/src/decorators/ctrl/http/HEAD.cjs +2 -2
  60. package/src/decorators/ctrl/http/HEAD.mjs +2 -2
  61. package/src/decorators/ctrl/http/OPTIONS.cjs +2 -2
  62. package/src/decorators/ctrl/http/OPTIONS.mjs +2 -2
  63. package/src/decorators/ctrl/http/PATCH.cjs +2 -2
  64. package/src/decorators/ctrl/http/PATCH.mjs +2 -2
  65. package/src/decorators/ctrl/http/POST.cjs +2 -2
  66. package/src/decorators/ctrl/http/POST.mjs +2 -2
  67. package/src/decorators/ctrl/http/PUT.cjs +2 -2
  68. package/src/decorators/ctrl/http/PUT.mjs +2 -2
  69. package/src/decorators/di/Autoload.cjs +2 -2
  70. package/src/decorators/di/Autoload.mjs +2 -2
  71. package/src/decorators/di/Configurable.cjs +3 -3
  72. package/src/decorators/di/Configurable.mjs +2 -2
  73. package/src/decorators/di/Inject.cjs +6 -6
  74. package/src/decorators/di/Inject.mjs +11 -11
  75. package/src/decorators/di/Lifetime.cjs +18 -18
  76. package/src/decorators/di/Lifetime.mjs +13 -13
  77. package/src/decorators/dto/Accept.cjs +3 -3
  78. package/src/decorators/dto/Accept.mjs +2 -2
  79. package/src/decorators/dto/Expect.cjs +2 -2
  80. package/src/decorators/dto/Expect.mjs +3 -3
  81. package/src/decorators/dto/IndexSignature.cjs +2 -2
  82. package/src/decorators/dto/IndexSignature.mjs +3 -3
  83. package/src/decorators/dto/Return.cjs +3 -3
  84. package/src/decorators/dto/Return.mjs +2 -2
  85. package/src/decorators/orm/AfterInsert.cjs +26 -4
  86. package/src/decorators/orm/AfterInsert.mjs +25 -5
  87. package/src/decorators/orm/AfterLoad.cjs +26 -4
  88. package/src/decorators/orm/AfterLoad.mjs +25 -5
  89. package/src/decorators/orm/AfterRecover.cjs +26 -4
  90. package/src/decorators/orm/AfterRecover.mjs +25 -5
  91. package/src/decorators/orm/AfterRemove.cjs +26 -4
  92. package/src/decorators/orm/AfterRemove.mjs +25 -5
  93. package/src/decorators/orm/AfterSoftRemove.cjs +26 -4
  94. package/src/decorators/orm/AfterSoftRemove.mjs +25 -5
  95. package/src/decorators/orm/AfterUpdate.cjs +26 -4
  96. package/src/decorators/orm/AfterUpdate.mjs +25 -5
  97. package/src/decorators/orm/BeforeInsert.cjs +26 -4
  98. package/src/decorators/orm/BeforeInsert.mjs +25 -5
  99. package/src/decorators/orm/BeforeRecover.cjs +26 -4
  100. package/src/decorators/orm/BeforeRecover.mjs +25 -5
  101. package/src/decorators/orm/BeforeRemove.cjs +26 -4
  102. package/src/decorators/orm/BeforeRemove.mjs +25 -5
  103. package/src/decorators/orm/BeforeSoftRemove.cjs +26 -4
  104. package/src/decorators/orm/BeforeSoftRemove.mjs +25 -5
  105. package/src/decorators/orm/BeforeUpdate.cjs +26 -4
  106. package/src/decorators/orm/BeforeUpdate.mjs +25 -5
  107. package/src/decorators/orm/Check.cjs +29 -4
  108. package/src/decorators/orm/Check.mjs +28 -5
  109. package/src/decorators/orm/ChildEntity.cjs +29 -4
  110. package/src/decorators/orm/ChildEntity.mjs +28 -5
  111. package/src/decorators/orm/Column.cjs +61 -4
  112. package/src/decorators/orm/Column.mjs +61 -6
  113. package/src/decorators/orm/CreateDateColumn.cjs +25 -4
  114. package/src/decorators/orm/CreateDateColumn.mjs +24 -5
  115. package/src/decorators/orm/DeleteDateColumn.cjs +25 -4
  116. package/src/decorators/orm/DeleteDateColumn.mjs +23 -4
  117. package/src/decorators/orm/Entity.cjs +35 -4
  118. package/src/decorators/orm/Entity.mjs +33 -4
  119. package/src/decorators/orm/EventSubscriber.cjs +22 -4
  120. package/src/decorators/orm/EventSubscriber.mjs +21 -5
  121. package/src/decorators/orm/Exclusion.cjs +29 -4
  122. package/src/decorators/orm/Exclusion.mjs +28 -5
  123. package/src/decorators/orm/Generated.cjs +24 -4
  124. package/src/decorators/orm/Generated.mjs +23 -5
  125. package/src/decorators/orm/Index.cjs +41 -4
  126. package/src/decorators/orm/Index.mjs +41 -6
  127. package/src/decorators/orm/JoinColumn.cjs +29 -4
  128. package/src/decorators/orm/JoinColumn.mjs +28 -5
  129. package/src/decorators/orm/JoinTable.cjs +30 -4
  130. package/src/decorators/orm/JoinTable.mjs +28 -4
  131. package/src/decorators/orm/ManyToMany.cjs +42 -4
  132. package/src/decorators/orm/ManyToMany.mjs +40 -4
  133. package/src/decorators/orm/ManyToOne.cjs +42 -4
  134. package/src/decorators/orm/ManyToOne.mjs +40 -4
  135. package/src/decorators/orm/ObjectIdColumn.cjs +28 -4
  136. package/src/decorators/orm/ObjectIdColumn.mjs +27 -5
  137. package/src/decorators/orm/OneToMany.cjs +34 -4
  138. package/src/decorators/orm/OneToMany.mjs +34 -6
  139. package/src/decorators/orm/OneToOne.cjs +42 -4
  140. package/src/decorators/orm/OneToOne.mjs +40 -4
  141. package/src/decorators/orm/PrimaryColumn.cjs +49 -4
  142. package/src/decorators/orm/PrimaryColumn.mjs +49 -6
  143. package/src/decorators/orm/PrimaryGeneratedColumn.cjs +54 -4
  144. package/src/decorators/orm/PrimaryGeneratedColumn.mjs +54 -6
  145. package/src/decorators/orm/RelationId.cjs +26 -4
  146. package/src/decorators/orm/RelationId.mjs +25 -5
  147. package/src/decorators/orm/TableInheritance.cjs +26 -4
  148. package/src/decorators/orm/TableInheritance.mjs +25 -5
  149. package/src/decorators/orm/Tree.cjs +24 -4
  150. package/src/decorators/orm/Tree.mjs +23 -5
  151. package/src/decorators/orm/TreeChildren.cjs +31 -4
  152. package/src/decorators/orm/TreeChildren.mjs +29 -4
  153. package/src/decorators/orm/TreeLevelColumn.cjs +25 -4
  154. package/src/decorators/orm/TreeLevelColumn.mjs +23 -4
  155. package/src/decorators/orm/TreeParent.cjs +31 -4
  156. package/src/decorators/orm/TreeParent.mjs +29 -4
  157. package/src/decorators/orm/Unique.cjs +44 -4
  158. package/src/decorators/orm/Unique.mjs +44 -6
  159. package/src/decorators/orm/UpdateDateColumn.cjs +25 -4
  160. package/src/decorators/orm/UpdateDateColumn.mjs +24 -5
  161. package/src/decorators/orm/VersionColumn.cjs +25 -4
  162. package/src/decorators/orm/VersionColumn.mjs +24 -5
  163. package/src/decorators/orm/ViewColumn.cjs +25 -4
  164. package/src/decorators/orm/ViewColumn.mjs +24 -5
  165. package/src/decorators/orm/ViewEntity.cjs +34 -4
  166. package/src/decorators/orm/ViewEntity.mjs +33 -5
  167. package/src/decorators/orm/VirtualColumn.cjs +42 -4
  168. package/src/decorators/orm/VirtualColumn.mjs +40 -4
  169. package/src/lib/base/EventEmitter.cjs +1195 -1202
  170. package/src/lib/base/EventEmitter.mjs +1195 -1202
  171. package/src/lib/base/async-constructor/Append.cjs +11 -11
  172. package/src/lib/base/async-constructor/Append.mjs +7 -7
  173. package/src/lib/base/internal/BasicInfo.cjs +10 -10
  174. package/src/lib/base/internal/BasicInfo.mjs +9 -9
  175. package/src/lib/base/internal/CamelCase.cjs +4 -4
  176. package/src/lib/base/internal/CamelCase.mjs +11 -11
  177. package/src/lib/base/internal/ConfigurableRecordsInjection.cjs +19 -19
  178. package/src/lib/base/internal/ConfigurableRecordsInjection.mjs +18 -18
  179. package/src/lib/base/internal/ConstructorSymbol.cjs +10 -10
  180. package/src/lib/base/internal/ConstructorSymbol.mjs +8 -8
  181. package/src/lib/base/internal/ControllerEntrypoint.cjs +65 -65
  182. package/src/lib/base/internal/ControllerEntrypoint.mjs +36 -36
  183. package/src/lib/base/internal/DataValidator.cjs +185 -174
  184. package/src/lib/base/internal/DataValidator.mjs +230 -219
  185. package/src/lib/base/internal/GetActionDTOAndOptions.cjs +9 -9
  186. package/src/lib/base/internal/GetActionDTOAndOptions.mjs +10 -10
  187. package/src/lib/base/internal/IEEE754.cjs +74 -74
  188. package/src/lib/base/internal/IEEE754.mjs +70 -70
  189. package/src/lib/base/internal/MethodAssistantFunction.cjs +28 -28
  190. package/src/lib/base/internal/MethodAssistantFunction.mjs +38 -38
  191. package/src/lib/base/internal/MethodValidation.cjs +25 -25
  192. package/src/lib/base/internal/MethodValidation.mjs +20 -20
  193. package/src/lib/base/internal/ObjectConfiguration.cjs +10 -10
  194. package/src/lib/base/internal/ObjectConfiguration.mjs +15 -15
  195. package/src/lib/base/internal/ObjectContainer.cjs +7 -7
  196. package/src/lib/base/internal/ObjectContainer.mjs +6 -6
  197. package/src/lib/base/internal/ObjectInjection.cjs +16 -16
  198. package/src/lib/base/internal/ObjectInjection.mjs +13 -13
  199. package/src/lib/base/internal/ObjectLifetime.cjs +10 -10
  200. package/src/lib/base/internal/ObjectLifetime.mjs +9 -9
  201. package/src/lib/base/internal/ObjectWeakRefs.cjs +11 -11
  202. package/src/lib/base/internal/ObjectWeakRefs.mjs +9 -9
  203. package/src/lib/base/internal/PatternManager.cjs +739 -744
  204. package/src/lib/base/internal/PatternManager.mjs +743 -748
  205. package/src/lib/base/internal/StringifyPattern.cjs +26 -26
  206. package/src/lib/base/internal/StringifyPattern.mjs +26 -26
  207. package/src/lib/base/internal/ThrowWarning.cjs +2 -2
  208. package/src/lib/base/internal/ThrowWarning.mjs +2 -2
  209. package/src/lib/core/Alias.cjs +5 -5
  210. package/src/lib/core/Application.cjs +115 -128
  211. package/src/lib/core/Application.mjs +135 -148
  212. package/src/lib/helpers/ArrayToSet.cjs +2 -2
  213. package/src/lib/helpers/ArrayToSet.mjs +3 -3
  214. package/src/lib/helpers/As.cjs +2 -2
  215. package/src/lib/helpers/As.mjs +2 -2
  216. package/src/lib/helpers/ConvertArrayLikeToIterable.cjs +3 -3
  217. package/src/lib/helpers/ConvertArrayLikeToIterable.mjs +3 -3
  218. package/src/lib/helpers/ConvertArrayLikeToStream.cjs +2 -2
  219. package/src/lib/helpers/ConvertArrayLikeToStream.mjs +2 -2
  220. package/src/lib/helpers/Delay.cjs +2 -2
  221. package/src/lib/helpers/Delay.mjs +2 -2
  222. package/src/lib/helpers/DevNull.cjs +2 -2
  223. package/src/lib/helpers/DevNull.mjs +2 -2
  224. package/src/lib/helpers/GetObjectNestingDepth.cjs +12 -12
  225. package/src/lib/helpers/GetObjectNestingDepth.mjs +11 -11
  226. package/src/lib/helpers/GetObjectPropertyPaths.cjs +7 -7
  227. package/src/lib/helpers/GetObjectPropertyPaths.mjs +9 -9
  228. package/src/lib/helpers/Glob.cjs +890 -890
  229. package/src/lib/helpers/Glob.mjs +889 -889
  230. package/src/lib/helpers/GraceExit.cjs +3 -3
  231. package/src/lib/helpers/GraceExit.mjs +7 -7
  232. package/src/lib/helpers/HexToIEEE754.cjs +4 -4
  233. package/src/lib/helpers/HexToIEEE754.mjs +2 -2
  234. package/src/lib/helpers/HexToSigned.cjs +5 -5
  235. package/src/lib/helpers/HexToSigned.mjs +4 -4
  236. package/src/lib/helpers/HexToUnsigned.cjs +2 -2
  237. package/src/lib/helpers/HexToUnsigned.mjs +2 -2
  238. package/src/lib/helpers/IEEE754ToHex.cjs +5 -5
  239. package/src/lib/helpers/IEEE754ToHex.mjs +5 -5
  240. package/src/lib/helpers/IsAbortError.cjs +2 -2
  241. package/src/lib/helpers/IsAbortError.mjs +3 -3
  242. package/src/lib/helpers/IsEmptyObject.cjs +3 -3
  243. package/src/lib/helpers/IsEmptyObject.mjs +3 -3
  244. package/src/lib/helpers/IsExists.cjs +5 -5
  245. package/src/lib/helpers/IsExists.mjs +4 -4
  246. package/src/lib/helpers/IsHtml.cjs +8 -18
  247. package/src/lib/helpers/IsHtml.mjs +8 -18
  248. package/src/lib/helpers/IsNativeFunction.cjs +2 -2
  249. package/src/lib/helpers/IsNativeFunction.mjs +2 -2
  250. package/src/lib/helpers/IsPath.cjs +2 -2
  251. package/src/lib/helpers/IsPath.mjs +5 -5
  252. package/src/lib/helpers/IsPromise.cjs +2 -2
  253. package/src/lib/helpers/IsPromise.mjs +2 -2
  254. package/src/lib/helpers/IsPromiseLike.cjs +5 -5
  255. package/src/lib/helpers/IsPromiseLike.mjs +6 -6
  256. package/src/lib/helpers/IsXML.cjs +1531 -1525
  257. package/src/lib/helpers/IsXML.mjs +1527 -1521
  258. package/src/lib/helpers/MD5.cjs +2 -2
  259. package/src/lib/helpers/MD5.mjs +2 -2
  260. package/src/lib/helpers/MergeArray.cjs +3 -3
  261. package/src/lib/helpers/MergeArray.mjs +3 -3
  262. package/src/lib/helpers/MergeMap.cjs +3 -3
  263. package/src/lib/helpers/MergeMap.mjs +3 -3
  264. package/src/lib/helpers/MergeSet.cjs +2 -2
  265. package/src/lib/helpers/MergeSet.mjs +3 -3
  266. package/src/lib/helpers/NoCase.cjs +27 -27
  267. package/src/lib/helpers/NoCase.mjs +24 -24
  268. package/src/lib/helpers/NonceStr.cjs +2 -2
  269. package/src/lib/helpers/NonceStr.mjs +2 -2
  270. package/src/lib/helpers/ObjectConstructor.cjs +2 -2
  271. package/src/lib/helpers/ObjectConstructor.mjs +4 -4
  272. package/src/lib/helpers/ObjectHash.cjs +377 -384
  273. package/src/lib/helpers/ObjectHash.mjs +373 -380
  274. package/src/lib/helpers/ObjectParentConstructor.cjs +2 -2
  275. package/src/lib/helpers/ObjectParentConstructor.mjs +5 -5
  276. package/src/lib/helpers/ObjectParentConstructors.cjs +6 -6
  277. package/src/lib/helpers/ObjectParentConstructors.mjs +2 -2
  278. package/src/lib/helpers/ObjectPrototype.cjs +2 -2
  279. package/src/lib/helpers/ObjectPrototype.mjs +2 -2
  280. package/src/lib/helpers/ObjectToMap.cjs +2 -2
  281. package/src/lib/helpers/ObjectToMap.mjs +3 -3
  282. package/src/lib/helpers/Paginator.cjs +2 -2
  283. package/src/lib/helpers/Paginator.mjs +6 -6
  284. package/src/lib/helpers/RandomString.cjs +148 -169
  285. package/src/lib/helpers/RandomString.mjs +145 -166
  286. package/src/lib/helpers/SHA1.cjs +2 -2
  287. package/src/lib/helpers/SHA1.mjs +2 -2
  288. package/src/lib/helpers/SHA256.cjs +2 -2
  289. package/src/lib/helpers/SHA256.mjs +2 -2
  290. package/src/lib/helpers/SetToArray.cjs +2 -2
  291. package/src/lib/helpers/SetToArray.mjs +2 -2
  292. package/src/lib/helpers/SignedToHex.cjs +4 -4
  293. package/src/lib/helpers/SignedToHex.mjs +4 -4
  294. package/src/lib/helpers/SortArray.cjs +16 -16
  295. package/src/lib/helpers/SortArray.mjs +15 -15
  296. package/src/lib/helpers/SortKeys.cjs +41 -41
  297. package/src/lib/helpers/SortKeys.mjs +41 -41
  298. package/src/lib/helpers/SortObject.cjs +2 -2
  299. package/src/lib/helpers/SortObject.mjs +2 -2
  300. package/src/lib/helpers/Templating.cjs +25 -25
  301. package/src/lib/helpers/Templating.mjs +25 -25
  302. package/src/lib/helpers/URLBuilder.cjs +355 -355
  303. package/src/lib/helpers/URLBuilder.mjs +349 -349
  304. package/src/lib/helpers/UniqueArray.cjs +3 -3
  305. package/src/lib/helpers/UniqueArray.mjs +2 -2
  306. package/src/lib/helpers/UnsignedToHex.cjs +3 -3
  307. package/src/lib/helpers/UnsignedToHex.mjs +3 -3
  308. package/src/lib/ioc/DependencyInjectionContainer.cjs +106 -106
  309. package/src/lib/ioc/DependencyInjectionContainer.mjs +122 -122
  310. package/src/lib/ioc/FunctionTokenizer.cjs +115 -115
  311. package/src/lib/ioc/FunctionTokenizer.mjs +102 -102
  312. package/src/lib/ioc/Lifetime.cjs +5 -5
  313. package/src/lib/ioc/Lifetime.mjs +5 -5
  314. package/src/lib/ioc/ListModules.cjs +5298 -5221
  315. package/src/lib/ioc/ListModules.mjs +5258 -5181
  316. package/src/lib/ioc/LoadModules.cjs +56 -56
  317. package/src/lib/ioc/LoadModules.mjs +69 -69
  318. package/src/lib/ioc/ParamParser.cjs +30 -30
  319. package/src/lib/ioc/ParamParser.mjs +41 -41
  320. package/src/lib/ioc/Resolvers.cjs +87 -87
  321. package/src/lib/ioc/Resolvers.mjs +109 -109
  322. package/src/lib/ioc/Utils.cjs +12 -12
  323. package/src/lib/ioc/Utils.mjs +18 -18
  324. package/src/lib/validation/VLD.cjs +4025 -4202
  325. package/src/lib/validation/VLD.mjs +2972 -3149
  326. package/src/providers/Database.cjs +2 -2
  327. package/src/providers/Database.mjs +7 -7
  328. package/src/providers/PasswordHash.cjs +330 -330
  329. package/src/providers/PasswordHash.mjs +397 -397
  330. package/src/providers/migration/GenerateMigration.cjs +2 -2
  331. package/src/providers/migration/GenerateMigration.mjs +2 -2
  332. package/vendor/Package.1.cjs +256 -256
  333. package/vendor/Package.1.mjs +254 -254
  334. package/vendor/Package.112.cjs +42157 -42076
  335. package/vendor/Package.112.mjs +42222 -42081
  336. package/vendor/Package.13.cjs +36 -36
  337. package/vendor/Package.13.mjs +24 -24
  338. package/vendor/Package.16.cjs +12351 -12233
  339. package/vendor/Package.16.mjs +12348 -12230
  340. package/vendor/Package.17.cjs +924 -924
  341. package/vendor/Package.17.mjs +943 -943
  342. package/vendor/Package.18.cjs +48229 -20
  343. package/vendor/Package.18.mjs +48192 -24
  344. package/vendor/Package.2.cjs +5824 -5853
  345. package/vendor/Package.2.mjs +5780 -5809
  346. package/vendor/Package.3.cjs +60 -60
  347. package/vendor/Package.3.mjs +85 -85
  348. package/vendor/Package.4.cjs +874 -884
  349. package/vendor/Package.4.mjs +877 -887
  350. package/vendor/Package.5.cjs +15 -19
  351. package/vendor/Package.5.mjs +10 -14
  352. package/vendor/Package.6.cjs +2058 -2067
  353. package/vendor/Package.6.mjs +2064 -2073
  354. package/vendor/Package.610.cjs +9 -9
  355. package/vendor/Package.611.cjs +39 -39
  356. package/vendor/Package.611.mjs +22 -22
  357. package/vendor/Package.612.cjs +33 -33
  358. package/vendor/Package.612.mjs +17 -17
  359. package/vendor/Package.613.cjs +62 -62
  360. package/vendor/Package.613.mjs +29 -29
  361. package/vendor/Package.62.cjs +295 -298
  362. package/vendor/Package.62.mjs +278 -281
  363. package/vendor/Package.63.cjs +354 -354
  364. package/vendor/Package.63.mjs +229 -229
  365. package/vendor/Package.64.cjs +74 -74
  366. package/vendor/Package.64.mjs +74 -74
  367. package/vendor/Package.65.cjs +1851 -1858
  368. package/vendor/Package.65.mjs +1693 -1700
  369. package/vendor/Package.66.cjs +16 -16
  370. package/vendor/Package.66.mjs +16 -16
  371. package/vendor/Package.67.cjs +87 -87
  372. package/vendor/Package.67.mjs +85 -85
  373. package/vendor/Package.68.cjs +14 -14
  374. package/vendor/Package.68.mjs +6 -6
  375. package/vendor/Package.69.cjs +8 -8
  376. package/vendor/Package.7.cjs +3 -3
  377. package/vendor/Package.7.mjs +3 -3
  378. package/vendor/Package.9.cjs +124 -138
  379. package/vendor/Package.9.mjs +121 -135
  380. package/vendor/TypeDef.internal.3.d.ts +0 -14
  381. package/vendor/Package.19.cjs +0 -37
  382. package/vendor/Package.19.mjs +0 -35
  383. package/vendor/Package.20.cjs +0 -37
  384. package/vendor/Package.20.mjs +0 -35
  385. package/vendor/Package.21.cjs +0 -37
  386. package/vendor/Package.21.mjs +0 -35
  387. package/vendor/Package.22.cjs +0 -37
  388. package/vendor/Package.22.mjs +0 -35
  389. package/vendor/Package.23.cjs +0 -37
  390. package/vendor/Package.23.mjs +0 -35
  391. package/vendor/Package.24.cjs +0 -37
  392. package/vendor/Package.24.mjs +0 -35
  393. package/vendor/Package.25.cjs +0 -37
  394. package/vendor/Package.25.mjs +0 -35
  395. package/vendor/Package.26.cjs +0 -37
  396. package/vendor/Package.26.mjs +0 -35
  397. package/vendor/Package.27.cjs +0 -37
  398. package/vendor/Package.27.mjs +0 -35
  399. package/vendor/Package.28.cjs +0 -37
  400. package/vendor/Package.28.mjs +0 -35
  401. package/vendor/Package.29.cjs +0 -40
  402. package/vendor/Package.29.mjs +0 -38
  403. package/vendor/Package.30.cjs +0 -41
  404. package/vendor/Package.30.mjs +0 -39
  405. package/vendor/Package.31.cjs +0 -72
  406. package/vendor/Package.31.mjs +0 -70
  407. package/vendor/Package.32.cjs +0 -37
  408. package/vendor/Package.32.mjs +0 -35
  409. package/vendor/Package.33.cjs +0 -37
  410. package/vendor/Package.33.mjs +0 -35
  411. package/vendor/Package.34.cjs +0 -46
  412. package/vendor/Package.34.mjs +0 -44
  413. package/vendor/Package.35.cjs +0 -34
  414. package/vendor/Package.35.mjs +0 -32
  415. package/vendor/Package.36.cjs +0 -40
  416. package/vendor/Package.36.mjs +0 -38
  417. package/vendor/Package.37.cjs +0 -36
  418. package/vendor/Package.37.mjs +0 -34
  419. package/vendor/Package.38.cjs +0 -52
  420. package/vendor/Package.38.mjs +0 -50
  421. package/vendor/Package.39.cjs +0 -41
  422. package/vendor/Package.39.mjs +0 -39
  423. package/vendor/Package.40.cjs +0 -42
  424. package/vendor/Package.40.mjs +0 -40
  425. package/vendor/Package.41.cjs +0 -53
  426. package/vendor/Package.41.mjs +0 -51
  427. package/vendor/Package.42.cjs +0 -53
  428. package/vendor/Package.42.mjs +0 -51
  429. package/vendor/Package.43.cjs +0 -40
  430. package/vendor/Package.43.mjs +0 -38
  431. package/vendor/Package.44.cjs +0 -46
  432. package/vendor/Package.44.mjs +0 -44
  433. package/vendor/Package.45.cjs +0 -53
  434. package/vendor/Package.45.mjs +0 -51
  435. package/vendor/Package.46.cjs +0 -59
  436. package/vendor/Package.46.mjs +0 -57
  437. package/vendor/Package.47.cjs +0 -65
  438. package/vendor/Package.47.mjs +0 -63
  439. package/vendor/Package.48.cjs +0 -38
  440. package/vendor/Package.48.mjs +0 -36
  441. package/vendor/Package.49.cjs +0 -38
  442. package/vendor/Package.49.mjs +0 -36
  443. package/vendor/Package.50.cjs +0 -36
  444. package/vendor/Package.50.mjs +0 -34
  445. package/vendor/Package.51.cjs +0 -43
  446. package/vendor/Package.51.mjs +0 -41
  447. package/vendor/Package.52.cjs +0 -37
  448. package/vendor/Package.52.mjs +0 -35
  449. package/vendor/Package.53.cjs +0 -43
  450. package/vendor/Package.53.mjs +0 -41
  451. package/vendor/Package.54.cjs +0 -55
  452. package/vendor/Package.54.mjs +0 -53
  453. package/vendor/Package.55.cjs +0 -37
  454. package/vendor/Package.55.mjs +0 -35
  455. package/vendor/Package.56.cjs +0 -37
  456. package/vendor/Package.56.mjs +0 -35
  457. package/vendor/Package.57.cjs +0 -37
  458. package/vendor/Package.57.mjs +0 -35
  459. package/vendor/Package.58.cjs +0 -45
  460. package/vendor/Package.58.mjs +0 -43
  461. package/vendor/Package.59.cjs +0 -53
  462. package/vendor/Package.59.mjs +0 -51
  463. package/vendor/Package.60.cjs +0 -47649
  464. package/vendor/Package.60.mjs +0 -47606
@@ -4,102 +4,102 @@ Object.defineProperty(exports, Symbol.toStringTag, {
4
4
  value: "Module"
5
5
  });
6
6
 
7
- function readIEEE754(t, e, o, i, l) {
7
+ function t(t, e, o, l, i) {
8
8
  let s;
9
- let a;
10
- const n = l * 8 - i - 1;
11
- const r = (1 << n) - 1;
12
- const E = r >> 1;
13
- let h = -7;
14
- let w = o ? l - 1 : 0;
15
- const f = o ? -1 : 1;
16
- let M = t[e + w];
17
- w += f;
18
- s = M & (1 << -h) - 1;
19
- M >>= -h;
20
- h += n;
21
- while (h > 0) {
9
+ let n;
10
+ const a = i * 8 - l - 1;
11
+ const h = (1 << a) - 1;
12
+ const f = h >> 1;
13
+ let r = -7;
14
+ let w = o ? i - 1 : 0;
15
+ const M = o ? -1 : 1;
16
+ let c = t[e + w];
17
+ w += M;
18
+ s = c & (1 << -r) - 1;
19
+ c >>= -r;
20
+ r += a;
21
+ while (r > 0) {
22
22
  s = s * 256 + t[e + w];
23
- w += f;
24
- h -= 8;
23
+ w += M;
24
+ r -= 8;
25
25
  }
26
- a = s & (1 << -h) - 1;
27
- s >>= -h;
28
- h += i;
29
- while (h > 0) {
30
- a = a * 256 + t[e + w];
31
- w += f;
32
- h -= 8;
26
+ n = s & (1 << -r) - 1;
27
+ s >>= -r;
28
+ r += l;
29
+ while (r > 0) {
30
+ n = n * 256 + t[e + w];
31
+ w += M;
32
+ r -= 8;
33
33
  }
34
34
  if (s === 0) {
35
- s = 1 - E;
36
- } else if (s === r) {
37
- return a ? NaN : (M ? -1 : 1) * Infinity;
35
+ s = 1 - f;
36
+ } else if (s === h) {
37
+ return n ? NaN : (c ? -1 : 1) * Infinity;
38
38
  } else {
39
- a = a + Math.pow(2, i);
40
- s = s - E;
39
+ n = n + Math.pow(2, l);
40
+ s = s - f;
41
41
  }
42
- return (M ? -1 : 1) * a * Math.pow(2, s - i);
42
+ return (c ? -1 : 1) * n * Math.pow(2, s - l);
43
43
  }
44
44
 
45
- function writeIEEE754(t, e, o, i, l, s) {
46
- let a;
45
+ function e(t, e, o, l, i, s) {
47
46
  let n;
48
- let r;
49
- let E = s * 8 - l - 1;
50
- const h = (1 << E) - 1;
51
- const w = h >> 1;
52
- const f = l === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0;
53
- let M = i ? 0 : s - 1;
54
- const c = i ? 1 : -1;
55
- const p = e < 0 || e === 0 && 1 / e < 0 ? 1 : 0;
47
+ let a;
48
+ let h;
49
+ let f = s * 8 - i - 1;
50
+ const r = (1 << f) - 1;
51
+ const w = r >> 1;
52
+ const M = i === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0;
53
+ let c = l ? 0 : s - 1;
54
+ const p = l ? 1 : -1;
55
+ const u = e < 0 || e === 0 && 1 / e < 0 ? 1 : 0;
56
56
  e = Math.abs(e);
57
57
  if (isNaN(e) || e === Infinity) {
58
- n = isNaN(e) ? 1 : 0;
59
- a = h;
58
+ a = isNaN(e) ? 1 : 0;
59
+ n = r;
60
60
  } else {
61
- a = Math.floor(Math.log(e) / Math.LN2);
62
- if (e * (r = Math.pow(2, -a)) < 1) {
63
- a--;
64
- r *= 2;
61
+ n = Math.floor(Math.log(e) / Math.LN2);
62
+ if (e * (h = Math.pow(2, -n)) < 1) {
63
+ n--;
64
+ h *= 2;
65
65
  }
66
- if (a + w >= 1) {
67
- e += f / r;
66
+ if (n + w >= 1) {
67
+ e += M / h;
68
68
  } else {
69
- e += f * Math.pow(2, 1 - w);
69
+ e += M * Math.pow(2, 1 - w);
70
70
  }
71
- if (e * r >= 2) {
72
- a++;
73
- r /= 2;
71
+ if (e * h >= 2) {
72
+ n++;
73
+ h /= 2;
74
74
  }
75
- if (a + w >= h) {
76
- n = 0;
77
- a = h;
78
- } else if (a + w >= 1) {
79
- n = (e * r - 1) * Math.pow(2, l);
80
- a = a + w;
81
- } else {
82
- n = e * Math.pow(2, w - 1) * Math.pow(2, l);
75
+ if (n + w >= r) {
83
76
  a = 0;
77
+ n = r;
78
+ } else if (n + w >= 1) {
79
+ a = (e * h - 1) * Math.pow(2, i);
80
+ n = n + w;
81
+ } else {
82
+ a = e * Math.pow(2, w - 1) * Math.pow(2, i);
83
+ n = 0;
84
84
  }
85
85
  }
86
- while (l >= 8) {
87
- t[o + M] = n & 255;
88
- M += c;
89
- n /= 256;
90
- l -= 8;
91
- }
92
- a = a << l | n;
93
- E += l;
94
- while (E > 0) {
95
- t[o + M] = a & 255;
96
- M += c;
86
+ while (i >= 8) {
87
+ t[o + c] = a & 255;
88
+ c += p;
97
89
  a /= 256;
98
- E -= 8;
90
+ i -= 8;
91
+ }
92
+ n = n << i | a;
93
+ f += i;
94
+ while (f > 0) {
95
+ t[o + c] = n & 255;
96
+ c += p;
97
+ n /= 256;
98
+ f -= 8;
99
99
  }
100
- t[o + M - c] |= p * 128;
100
+ t[o + c - p] |= u * 128;
101
101
  }
102
102
 
103
- exports.readIEEE754 = readIEEE754;
103
+ exports.readIEEE754 = t;
104
104
 
105
- exports.writeIEEE754 = writeIEEE754;
105
+ exports.writeIEEE754 = e;
@@ -1,97 +1,97 @@
1
- function readIEEE754(t, e, o, i, l) {
2
- let a;
1
+ function t(t, e, o, l, i) {
3
2
  let n;
4
- const s = l * 8 - i - 1;
5
- const h = (1 << s) - 1;
6
- const w = h >> 1;
7
- let f = -7;
8
- let M = o ? l - 1 : 0;
9
- const E = o ? -1 : 1;
10
- let c = t[e + M];
11
- M += E;
12
- a = c & (1 << -f) - 1;
13
- c >>= -f;
14
- f += s;
15
- while (f > 0) {
16
- a = a * 256 + t[e + M];
17
- M += E;
18
- f -= 8;
19
- }
20
- n = a & (1 << -f) - 1;
21
- a >>= -f;
22
- f += i;
23
- while (f > 0) {
3
+ let s;
4
+ const a = i * 8 - l - 1;
5
+ const h = (1 << a) - 1;
6
+ const f = h >> 1;
7
+ let w = -7;
8
+ let M = o ? i - 1 : 0;
9
+ const c = o ? -1 : 1;
10
+ let p = t[e + M];
11
+ M += c;
12
+ n = p & (1 << -w) - 1;
13
+ p >>= -w;
14
+ w += a;
15
+ while (w > 0) {
24
16
  n = n * 256 + t[e + M];
25
- M += E;
26
- f -= 8;
17
+ M += c;
18
+ w -= 8;
19
+ }
20
+ s = n & (1 << -w) - 1;
21
+ n >>= -w;
22
+ w += l;
23
+ while (w > 0) {
24
+ s = s * 256 + t[e + M];
25
+ M += c;
26
+ w -= 8;
27
27
  }
28
- if (a === 0) {
29
- a = 1 - w;
30
- } else if (a === h) {
31
- return n ? NaN : (c ? -1 : 1) * Infinity;
28
+ if (n === 0) {
29
+ n = 1 - f;
30
+ } else if (n === h) {
31
+ return s ? NaN : (p ? -1 : 1) * Infinity;
32
32
  } else {
33
- n = n + Math.pow(2, i);
34
- a = a - w;
33
+ s = s + Math.pow(2, l);
34
+ n = n - f;
35
35
  }
36
- return (c ? -1 : 1) * n * Math.pow(2, a - i);
36
+ return (p ? -1 : 1) * s * Math.pow(2, n - l);
37
37
  }
38
38
 
39
- function writeIEEE754(t, e, o, i, l, a) {
40
- let n;
39
+ function e(t, e, o, l, i, n) {
41
40
  let s;
41
+ let a;
42
42
  let h;
43
- let w = a * 8 - l - 1;
44
- const f = (1 << w) - 1;
45
- const M = f >> 1;
46
- const E = l === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0;
47
- let c = i ? 0 : a - 1;
48
- const p = i ? 1 : -1;
43
+ let f = n * 8 - i - 1;
44
+ const w = (1 << f) - 1;
45
+ const M = w >> 1;
46
+ const c = i === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0;
47
+ let p = l ? 0 : n - 1;
48
+ const N = l ? 1 : -1;
49
49
  const r = e < 0 || e === 0 && 1 / e < 0 ? 1 : 0;
50
50
  e = Math.abs(e);
51
51
  if (isNaN(e) || e === Infinity) {
52
- s = isNaN(e) ? 1 : 0;
53
- n = f;
52
+ a = isNaN(e) ? 1 : 0;
53
+ s = w;
54
54
  } else {
55
- n = Math.floor(Math.log(e) / Math.LN2);
56
- if (e * (h = Math.pow(2, -n)) < 1) {
57
- n--;
55
+ s = Math.floor(Math.log(e) / Math.LN2);
56
+ if (e * (h = Math.pow(2, -s)) < 1) {
57
+ s--;
58
58
  h *= 2;
59
59
  }
60
- if (n + M >= 1) {
61
- e += E / h;
60
+ if (s + M >= 1) {
61
+ e += c / h;
62
62
  } else {
63
- e += E * Math.pow(2, 1 - M);
63
+ e += c * Math.pow(2, 1 - M);
64
64
  }
65
65
  if (e * h >= 2) {
66
- n++;
66
+ s++;
67
67
  h /= 2;
68
68
  }
69
- if (n + M >= f) {
70
- s = 0;
71
- n = f;
72
- } else if (n + M >= 1) {
73
- s = (e * h - 1) * Math.pow(2, l);
74
- n = n + M;
69
+ if (s + M >= w) {
70
+ a = 0;
71
+ s = w;
72
+ } else if (s + M >= 1) {
73
+ a = (e * h - 1) * Math.pow(2, i);
74
+ s = s + M;
75
75
  } else {
76
- s = e * Math.pow(2, M - 1) * Math.pow(2, l);
77
- n = 0;
76
+ a = e * Math.pow(2, M - 1) * Math.pow(2, i);
77
+ s = 0;
78
78
  }
79
79
  }
80
- while (l >= 8) {
81
- t[o + c] = s & 255;
82
- c += p;
83
- s /= 256;
84
- l -= 8;
80
+ while (i >= 8) {
81
+ t[o + p] = a & 255;
82
+ p += N;
83
+ a /= 256;
84
+ i -= 8;
85
85
  }
86
- n = n << l | s;
87
- w += l;
88
- while (w > 0) {
89
- t[o + c] = n & 255;
90
- c += p;
91
- n /= 256;
92
- w -= 8;
86
+ s = s << i | a;
87
+ f += i;
88
+ while (f > 0) {
89
+ t[o + p] = s & 255;
90
+ p += N;
91
+ s /= 256;
92
+ f -= 8;
93
93
  }
94
- t[o + c - p] |= r * 128;
94
+ t[o + p - N] |= r * 128;
95
95
  }
96
96
 
97
- export { readIEEE754, writeIEEE754 };
97
+ export { t as readIEEE754, e as writeIEEE754 };
@@ -28,49 +28,49 @@ require("./CamelCase.cjs");
28
28
 
29
29
  require("../../helpers/NoCase.cjs");
30
30
 
31
- const i = Symbol("ASST.BEFORE.FUNC.SET");
31
+ const s = Symbol("ASST.BEFORE.FUNC.SET");
32
32
 
33
- const s = Symbol("ASST.AFTER.FUNC.SET");
33
+ const i = Symbol("ASST.AFTER.FUNC.SET");
34
34
 
35
35
  const c = Symbol("ASST.MODIFIED");
36
36
 
37
- function RegisterBeforeFunction(e, t, n, i) {
38
- n.value = registerAssistantFunctionToMethod(e, t, applicabilityCheck(n.value, i), {
39
- before: i
37
+ function a(e, t, n, s) {
38
+ n.value = r(e, t, f(n.value, s), {
39
+ before: s
40
40
  });
41
41
  return n;
42
42
  }
43
43
 
44
- function RegisterAfterFunction(e, t, n, i) {
45
- n.value = registerAssistantFunctionToMethod(e, t, applicabilityCheck(n.value, i), {
46
- after: i
44
+ function o(e, t, n, s) {
45
+ n.value = r(e, t, f(n.value, s), {
46
+ after: s
47
47
  });
48
48
  return n;
49
49
  }
50
50
 
51
- function registerAssistantFunctionToMethod(t, o, a, r) {
52
- const f = Reflect.getOwnMetadata(i, t, o) || new Set;
53
- const u = Reflect.getOwnMetadata(s, t, o) || new Set;
51
+ function r(t, a, o, r) {
52
+ const f = Reflect.getOwnMetadata(s, t, a) || new Set;
53
+ const u = Reflect.getOwnMetadata(i, t, a) || new Set;
54
54
  if (r.before) {
55
55
  f.add(r.before);
56
- Reflect.defineMetadata(i, f, t, o);
56
+ Reflect.defineMetadata(s, f, t, a);
57
57
  }
58
58
  if (r.after) {
59
59
  u.add(r.after);
60
- Reflect.defineMetadata(s, u, t, o);
60
+ Reflect.defineMetadata(i, u, t, a);
61
61
  }
62
- if (Reflect.hasOwnMetadata(c, t, o)) return n.As(a);
63
- Reflect.defineMetadata(c, true, t, o);
62
+ if (Reflect.hasOwnMetadata(c, t, a)) return n.As(o);
63
+ Reflect.defineMetadata(c, true, t, a);
64
64
  let l;
65
- if (e.isAsyncFunction(a)) {
65
+ if (e.isAsyncFunction(o)) {
66
66
  l = async function(...e) {
67
- const n = Reflect.getOwnMetadata(i, t, o) || new Set;
68
- const c = Reflect.getOwnMetadata(s, t, o) || new Set;
67
+ const n = Reflect.getOwnMetadata(s, t, a) || new Set;
68
+ const c = Reflect.getOwnMetadata(i, t, a) || new Set;
69
69
  for (const t of n) {
70
70
  const n = await t.call(this, ...e);
71
71
  if (n !== undefined) e = n;
72
72
  }
73
- let r = await a.call(this, ...e);
73
+ let r = await o.call(this, ...e);
74
74
  for (const e of c) {
75
75
  const t = await e.call(this, r);
76
76
  if (t !== undefined) r = t;
@@ -79,13 +79,13 @@ function registerAssistantFunctionToMethod(t, o, a, r) {
79
79
  };
80
80
  } else {
81
81
  l = function(...e) {
82
- const c = Reflect.getOwnMetadata(i, t, o) || new Set;
83
- const r = Reflect.getOwnMetadata(s, t, o) || new Set;
82
+ const c = Reflect.getOwnMetadata(s, t, a) || new Set;
83
+ const r = Reflect.getOwnMetadata(i, t, a) || new Set;
84
84
  for (const t of c) {
85
- const i = n.As(t.call(this, ...e));
86
- if (i !== undefined) e = i;
85
+ const s = n.As(t.call(this, ...e));
86
+ if (s !== undefined) e = s;
87
87
  }
88
- let f = a.call(this, ...e);
88
+ let f = o.call(this, ...e);
89
89
  for (const e of r) {
90
90
  const t = n.As(e.call(this, f));
91
91
  if (t !== undefined) f = t;
@@ -96,13 +96,13 @@ function registerAssistantFunctionToMethod(t, o, a, r) {
96
96
  return l;
97
97
  }
98
98
 
99
- function applicabilityCheck(n, i) {
99
+ function f(n, s) {
100
100
  if (!n) throw new t.InvalidAssistantFunctionTypeException("Target method is undefined");
101
101
  if (e.isAsyncFunction(n)) return n;
102
- if (!e.isAsyncFunction(i)) return n;
102
+ if (!e.isAsyncFunction(s)) return n;
103
103
  throw new t.InvalidAssistantFunctionTypeException("Assistant function must not be async function when target method is not async function");
104
104
  }
105
105
 
106
- exports.RegisterAfterFunction = RegisterAfterFunction;
106
+ exports.RegisterAfterFunction = o;
107
107
 
108
- exports.RegisterBeforeFunction = RegisterBeforeFunction;
108
+ exports.RegisterBeforeFunction = a;
@@ -22,79 +22,79 @@ import "./CamelCase.mjs";
22
22
 
23
23
  import "../../helpers/NoCase.mjs";
24
24
 
25
- const i = Symbol("ASST.BEFORE.FUNC.SET");
25
+ const a = Symbol("ASST.BEFORE.FUNC.SET");
26
26
 
27
27
  const o = Symbol("ASST.AFTER.FUNC.SET");
28
28
 
29
- const a = Symbol("ASST.MODIFIED");
29
+ const i = Symbol("ASST.MODIFIED");
30
30
 
31
- function RegisterBeforeFunction(t, e, n, i) {
32
- n.value = registerAssistantFunctionToMethod(t, e, applicabilityCheck(n.value, i), {
33
- before: i
31
+ function s(t, e, n, a) {
32
+ n.value = r(t, e, c(n.value, a), {
33
+ before: a
34
34
  });
35
35
  return n;
36
36
  }
37
37
 
38
- function RegisterAfterFunction(t, e, n, i) {
39
- n.value = registerAssistantFunctionToMethod(t, e, applicabilityCheck(n.value, i), {
40
- after: i
38
+ function f(t, e, n, a) {
39
+ n.value = r(t, e, c(n.value, a), {
40
+ after: a
41
41
  });
42
42
  return n;
43
43
  }
44
44
 
45
- function registerAssistantFunctionToMethod(e, s, r, c) {
46
- const f = Reflect.getOwnMetadata(i, e, s) || new Set;
45
+ function r(e, s, f, r) {
46
+ const c = Reflect.getOwnMetadata(a, e, s) || new Set;
47
47
  const l = Reflect.getOwnMetadata(o, e, s) || new Set;
48
- if (c.before) {
49
- f.add(c.before);
50
- Reflect.defineMetadata(i, f, e, s);
48
+ if (r.before) {
49
+ c.add(r.before);
50
+ Reflect.defineMetadata(a, c, e, s);
51
51
  }
52
- if (c.after) {
53
- l.add(c.after);
52
+ if (r.after) {
53
+ l.add(r.after);
54
54
  Reflect.defineMetadata(o, l, e, s);
55
55
  }
56
- if (Reflect.hasOwnMetadata(a, e, s)) return n(r);
57
- Reflect.defineMetadata(a, true, e, s);
56
+ if (Reflect.hasOwnMetadata(i, e, s)) return n(f);
57
+ Reflect.defineMetadata(i, true, e, s);
58
58
  let d;
59
- if (t(r)) {
59
+ if (t(f)) {
60
60
  d = async function(...t) {
61
- const n = Reflect.getOwnMetadata(i, e, s) || new Set;
62
- const a = Reflect.getOwnMetadata(o, e, s) || new Set;
61
+ const n = Reflect.getOwnMetadata(a, e, s) || new Set;
62
+ const i = Reflect.getOwnMetadata(o, e, s) || new Set;
63
63
  for (const e of n) {
64
64
  const n = await e.call(this, ...t);
65
65
  if (n !== undefined) t = n;
66
66
  }
67
- let c = await r.call(this, ...t);
68
- for (const t of a) {
69
- const e = await t.call(this, c);
70
- if (e !== undefined) c = e;
67
+ let r = await f.call(this, ...t);
68
+ for (const t of i) {
69
+ const e = await t.call(this, r);
70
+ if (e !== undefined) r = e;
71
71
  }
72
- return c;
72
+ return r;
73
73
  };
74
74
  } else {
75
75
  d = function(...t) {
76
- const a = Reflect.getOwnMetadata(i, e, s) || new Set;
77
- const c = Reflect.getOwnMetadata(o, e, s) || new Set;
78
- for (const e of a) {
79
- const i = n(e.call(this, ...t));
80
- if (i !== undefined) t = i;
76
+ const i = Reflect.getOwnMetadata(a, e, s) || new Set;
77
+ const r = Reflect.getOwnMetadata(o, e, s) || new Set;
78
+ for (const e of i) {
79
+ const a = n(e.call(this, ...t));
80
+ if (a !== undefined) t = a;
81
81
  }
82
- let f = r.call(this, ...t);
83
- for (const t of c) {
84
- const e = n(t.call(this, f));
85
- if (e !== undefined) f = e;
82
+ let c = f.call(this, ...t);
83
+ for (const t of r) {
84
+ const e = n(t.call(this, c));
85
+ if (e !== undefined) c = e;
86
86
  }
87
- return f;
87
+ return c;
88
88
  };
89
89
  }
90
90
  return d;
91
91
  }
92
92
 
93
- function applicabilityCheck(n, i) {
93
+ function c(n, a) {
94
94
  if (!n) throw new e("Target method is undefined");
95
95
  if (t(n)) return n;
96
- if (!t(i)) return n;
96
+ if (!t(a)) return n;
97
97
  throw new e("Assistant function must not be async function when target method is not async function");
98
98
  }
99
99
 
100
- export { RegisterAfterFunction, RegisterBeforeFunction };
100
+ export { f as RegisterAfterFunction, s as RegisterBeforeFunction };