lakutata 2.0.114 → 2.0.117

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 (907) hide show
  1. package/com/cacher.cjs +1 -1
  2. package/com/cacher.mjs +1 -1
  3. package/com/database.cjs +1 -1
  4. package/com/database.mjs +1 -1
  5. package/com/docker.cjs +1 -1
  6. package/com/docker.mjs +1 -1
  7. package/com/entrypoint.cjs +1 -1
  8. package/com/entrypoint.mjs +1 -1
  9. package/com/logger.cjs +1 -1
  10. package/com/logger.mjs +1 -1
  11. package/com/monitor.cjs +1 -1
  12. package/com/monitor.mjs +1 -1
  13. package/decorator/asst.cjs +1 -1
  14. package/decorator/asst.mjs +1 -1
  15. package/decorator/ctrl.cjs +1 -1
  16. package/decorator/ctrl.mjs +1 -1
  17. package/decorator/di.cjs +1 -1
  18. package/decorator/di.mjs +1 -1
  19. package/decorator/dto.cjs +1 -1
  20. package/decorator/dto.mjs +1 -1
  21. package/decorator/orm.cjs +1 -1
  22. package/decorator/orm.mjs +1 -1
  23. package/dtos.cjs +1 -1
  24. package/dtos.mjs +1 -1
  25. package/helper.cjs +13 -9
  26. package/helper.d.ts +1 -1
  27. package/helper.mjs +3 -1
  28. package/lakutata.cjs +1 -1
  29. package/lakutata.mjs +1 -1
  30. package/orm.cjs +1 -1
  31. package/orm.mjs +1 -1
  32. package/package.json +1 -1
  33. package/provider/database.cjs +1 -1
  34. package/provider/database.mjs +1 -1
  35. package/provider/passwordHash.cjs +1 -1
  36. package/provider/passwordHash.mjs +1 -1
  37. package/src/components/Database.cjs +1 -1
  38. package/src/components/Database.mjs +1 -1
  39. package/src/components/Logger.cjs +1 -1
  40. package/src/components/Logger.mjs +1 -1
  41. package/src/components/cacher/Cacher.cjs +1 -1
  42. package/src/components/cacher/Cacher.mjs +1 -1
  43. package/src/components/cacher/adapters/CreateFileCacheAdapter.cjs +1 -1
  44. package/src/components/cacher/adapters/CreateFileCacheAdapter.mjs +1 -1
  45. package/src/components/cacher/adapters/CreateMemcacheCacheAdapter.cjs +1 -1
  46. package/src/components/cacher/adapters/CreateMemcacheCacheAdapter.mjs +1 -1
  47. package/src/components/cacher/adapters/CreateMongoCacheAdapter.cjs +1 -1
  48. package/src/components/cacher/adapters/CreateMongoCacheAdapter.mjs +1 -1
  49. package/src/components/cacher/adapters/CreateMysqlCacheAdapter.cjs +1 -1
  50. package/src/components/cacher/adapters/CreateMysqlCacheAdapter.mjs +1 -1
  51. package/src/components/cacher/adapters/CreatePostgresCacheAdapter.cjs +1 -1
  52. package/src/components/cacher/adapters/CreatePostgresCacheAdapter.mjs +1 -1
  53. package/src/components/cacher/adapters/CreateRedisCacheAdapter.cjs +1 -1
  54. package/src/components/cacher/adapters/CreateRedisCacheAdapter.mjs +1 -1
  55. package/src/components/cacher/adapters/CreateSqliteCacheAdapter.cjs +1 -1
  56. package/src/components/cacher/adapters/CreateSqliteCacheAdapter.mjs +1 -1
  57. package/src/components/cacher/exceptions/CacheDriverNotFoundException.cjs +1 -1
  58. package/src/components/cacher/exceptions/CacheDriverNotFoundException.mjs +1 -1
  59. package/src/components/cacher/interfaces/CacherOptions.cjs +1 -1
  60. package/src/components/cacher/interfaces/CacherOptions.mjs +1 -1
  61. package/src/components/cacher/lib/IsDriverPackageInstalled.cjs +1 -1
  62. package/src/components/cacher/lib/IsDriverPackageInstalled.mjs +1 -1
  63. package/src/components/cacher/options/FileCacheOptions.cjs +1 -1
  64. package/src/components/cacher/options/FileCacheOptions.mjs +1 -1
  65. package/src/components/cacher/options/MemcacheCacheOptions.cjs +1 -1
  66. package/src/components/cacher/options/MemcacheCacheOptions.mjs +1 -1
  67. package/src/components/cacher/options/MongoCacheOptions.cjs +1 -1
  68. package/src/components/cacher/options/MongoCacheOptions.mjs +1 -1
  69. package/src/components/cacher/options/MysqlCacheOptions.cjs +1 -1
  70. package/src/components/cacher/options/MysqlCacheOptions.mjs +1 -1
  71. package/src/components/cacher/options/PostgresCacheOptions.cjs +1 -1
  72. package/src/components/cacher/options/PostgresCacheOptions.mjs +1 -1
  73. package/src/components/cacher/options/RedisCacheOptions.cjs +1 -1
  74. package/src/components/cacher/options/RedisCacheOptions.mjs +1 -1
  75. package/src/components/cacher/options/SqliteCacheOptions.cjs +1 -1
  76. package/src/components/cacher/options/SqliteCacheOptions.mjs +1 -1
  77. package/src/components/cacher/types/CacheStoreOptions.cjs +1 -1
  78. package/src/components/cacher/types/CacheStoreOptions.mjs +1 -1
  79. package/src/components/docker/ConnectionOptionsBuilder.cjs +1 -1
  80. package/src/components/docker/ConnectionOptionsBuilder.mjs +1 -1
  81. package/src/components/docker/Docker.cjs +1 -1
  82. package/src/components/docker/Docker.mjs +1 -1
  83. package/src/components/docker/exceptions/DockerConnectionException.cjs +1 -1
  84. package/src/components/docker/exceptions/DockerConnectionException.mjs +1 -1
  85. package/src/components/docker/exceptions/DockerImageBuildException.cjs +1 -1
  86. package/src/components/docker/exceptions/DockerImageBuildException.mjs +1 -1
  87. package/src/components/docker/exceptions/DockerImageImportException.cjs +1 -1
  88. package/src/components/docker/exceptions/DockerImageImportException.mjs +1 -1
  89. package/src/components/docker/exceptions/DockerImageNotFoundException.cjs +1 -1
  90. package/src/components/docker/exceptions/DockerImageNotFoundException.mjs +1 -1
  91. package/src/components/docker/exceptions/DockerImagePullException.cjs +1 -1
  92. package/src/components/docker/exceptions/DockerImagePullException.mjs +1 -1
  93. package/src/components/docker/exceptions/DockerImagePushException.cjs +1 -1
  94. package/src/components/docker/exceptions/DockerImagePushException.mjs +1 -1
  95. package/src/components/docker/exceptions/DockerImageRepoTagNotFoundException.cjs +1 -1
  96. package/src/components/docker/exceptions/DockerImageRepoTagNotFoundException.mjs +1 -1
  97. package/src/components/docker/exceptions/DockerNetworkNotFoundException.cjs +1 -1
  98. package/src/components/docker/exceptions/DockerNetworkNotFoundException.mjs +1 -1
  99. package/src/components/docker/interfaces/IDockerConnectionOptions.cjs +1 -1
  100. package/src/components/docker/interfaces/IDockerConnectionOptions.mjs +1 -1
  101. package/src/components/docker/interfaces/IDockerHttpConnectionOptions.cjs +1 -1
  102. package/src/components/docker/interfaces/IDockerHttpConnectionOptions.mjs +1 -1
  103. package/src/components/docker/interfaces/IDockerHttpsConnectionOptions.cjs +1 -1
  104. package/src/components/docker/interfaces/IDockerHttpsConnectionOptions.mjs +1 -1
  105. package/src/components/docker/interfaces/IDockerKeyObject.cjs +1 -1
  106. package/src/components/docker/interfaces/IDockerKeyObject.mjs +1 -1
  107. package/src/components/docker/interfaces/IDockerSSHConnectionOptions.cjs +1 -1
  108. package/src/components/docker/interfaces/IDockerSSHConnectionOptions.mjs +1 -1
  109. package/src/components/docker/interfaces/IDockerSocketConnectionOptions.cjs +1 -1
  110. package/src/components/docker/interfaces/IDockerSocketConnectionOptions.mjs +1 -1
  111. package/src/components/docker/lib/DockerContainer.cjs +1 -1
  112. package/src/components/docker/lib/DockerContainer.mjs +1 -1
  113. package/src/components/docker/lib/DockerContainerTTY.cjs +1 -1
  114. package/src/components/docker/lib/DockerContainerTTY.mjs +1 -1
  115. package/src/components/docker/lib/DockerImage.cjs +1 -1
  116. package/src/components/docker/lib/DockerImage.mjs +1 -1
  117. package/src/components/docker/lib/ParseEnvToRecord.cjs +1 -1
  118. package/src/components/docker/lib/ParseEnvToRecord.mjs +1 -1
  119. package/src/components/docker/lib/ParseRepositoryTag.cjs +1 -1
  120. package/src/components/docker/lib/ParseRepositoryTag.mjs +1 -1
  121. package/src/components/docker/options/DockerPruneOptions.cjs +1 -1
  122. package/src/components/docker/options/DockerPruneOptions.mjs +1 -1
  123. package/src/components/docker/options/auth/DockerAuthOptions.cjs +1 -1
  124. package/src/components/docker/options/auth/DockerAuthOptions.mjs +1 -1
  125. package/src/components/docker/options/container/ContainerCommitOptions.cjs +1 -1
  126. package/src/components/docker/options/container/ContainerCommitOptions.mjs +1 -1
  127. package/src/components/docker/options/container/ContainerCreateTTYOptions.cjs +1 -1
  128. package/src/components/docker/options/container/ContainerCreateTTYOptions.mjs +1 -1
  129. package/src/components/docker/options/container/ContainerExecOptions.cjs +1 -1
  130. package/src/components/docker/options/container/ContainerExecOptions.mjs +1 -1
  131. package/src/components/docker/options/container/ContainerExportDirectoryOptions.cjs +1 -1
  132. package/src/components/docker/options/container/ContainerExportDirectoryOptions.mjs +1 -1
  133. package/src/components/docker/options/container/ContainerKillOptions.cjs +1 -1
  134. package/src/components/docker/options/container/ContainerKillOptions.mjs +1 -1
  135. package/src/components/docker/options/container/ContainerLogsOptions.cjs +1 -1
  136. package/src/components/docker/options/container/ContainerLogsOptions.mjs +1 -1
  137. package/src/components/docker/options/container/ContainerRemoveOptions.cjs +1 -1
  138. package/src/components/docker/options/container/ContainerRemoveOptions.mjs +1 -1
  139. package/src/components/docker/options/container/ContainerSettingOptions.cjs +1 -1
  140. package/src/components/docker/options/container/ContainerSettingOptions.mjs +1 -1
  141. package/src/components/docker/options/container/ContainerStopOptions.cjs +1 -1
  142. package/src/components/docker/options/container/ContainerStopOptions.mjs +1 -1
  143. package/src/components/docker/options/container/ContainerTTYConsoleSizeOptions.cjs +1 -1
  144. package/src/components/docker/options/container/ContainerTTYConsoleSizeOptions.mjs +1 -1
  145. package/src/components/docker/options/image/ImageBuildOptions.cjs +1 -1
  146. package/src/components/docker/options/image/ImageBuildOptions.mjs +1 -1
  147. package/src/components/docker/options/image/ImageExportOptions.cjs +1 -1
  148. package/src/components/docker/options/image/ImageExportOptions.mjs +1 -1
  149. package/src/components/docker/options/image/ImageImportOptions.cjs +1 -1
  150. package/src/components/docker/options/image/ImageImportOptions.mjs +1 -1
  151. package/src/components/docker/options/image/ImagePullOptions.cjs +1 -1
  152. package/src/components/docker/options/image/ImagePullOptions.mjs +1 -1
  153. package/src/components/docker/options/image/ImagePushOptions.cjs +1 -1
  154. package/src/components/docker/options/image/ImagePushOptions.mjs +1 -1
  155. package/src/components/docker/options/image/ImageRemoveOptions.cjs +1 -1
  156. package/src/components/docker/options/image/ImageRemoveOptions.mjs +1 -1
  157. package/src/components/docker/options/image/ImageTagOptions.cjs +1 -1
  158. package/src/components/docker/options/image/ImageTagOptions.mjs +1 -1
  159. package/src/components/docker/options/network/NetworkCreateOptions.cjs +1 -1
  160. package/src/components/docker/options/network/NetworkCreateOptions.mjs +1 -1
  161. package/src/components/docker/types/ContainerBind.cjs +1 -1
  162. package/src/components/docker/types/ContainerBind.mjs +1 -1
  163. package/src/components/docker/types/ContainerCapability.cjs +1 -1
  164. package/src/components/docker/types/ContainerCapability.mjs +1 -1
  165. package/src/components/docker/types/ContainerConfig.cjs +1 -1
  166. package/src/components/docker/types/ContainerConfig.mjs +1 -1
  167. package/src/components/docker/types/ContainerDevice.cjs +1 -1
  168. package/src/components/docker/types/ContainerDevice.mjs +1 -1
  169. package/src/components/docker/types/ContainerNetwork.cjs +1 -1
  170. package/src/components/docker/types/ContainerNetwork.mjs +1 -1
  171. package/src/components/docker/types/ContainerPort.cjs +1 -1
  172. package/src/components/docker/types/ContainerPort.mjs +1 -1
  173. package/src/components/docker/types/ContainerRestartPolicy.cjs +1 -1
  174. package/src/components/docker/types/ContainerRestartPolicy.mjs +1 -1
  175. package/src/components/docker/types/ContainerState.cjs +1 -1
  176. package/src/components/docker/types/ContainerState.mjs +1 -1
  177. package/src/components/docker/types/ContainerStats.cjs +1 -1
  178. package/src/components/docker/types/ContainerStats.mjs +1 -1
  179. package/src/components/docker/types/DockerOutputCallback.cjs +1 -1
  180. package/src/components/docker/types/DockerOutputCallback.mjs +1 -1
  181. package/src/components/docker/types/ImageConfig.cjs +1 -1
  182. package/src/components/docker/types/ImageConfig.mjs +1 -1
  183. package/src/components/docker/types/ImageExposePort.cjs +1 -1
  184. package/src/components/docker/types/ImageExposePort.mjs +1 -1
  185. package/src/components/docker/types/NetworkInfo.cjs +1 -1
  186. package/src/components/docker/types/NetworkInfo.mjs +1 -1
  187. package/src/components/entrypoint/Entrypoint.cjs +1 -1
  188. package/src/components/entrypoint/Entrypoint.mjs +1 -1
  189. package/src/components/entrypoint/exceptions/AccessDenyException.cjs +1 -1
  190. package/src/components/entrypoint/exceptions/AccessDenyException.mjs +1 -1
  191. package/src/components/entrypoint/exceptions/ControllerActionNotFoundException.cjs +1 -1
  192. package/src/components/entrypoint/exceptions/ControllerActionNotFoundException.mjs +1 -1
  193. package/src/components/entrypoint/exceptions/DuplicateActionNameException.cjs +1 -1
  194. package/src/components/entrypoint/exceptions/DuplicateActionNameException.mjs +1 -1
  195. package/src/components/entrypoint/exceptions/InvalidActionGroupException.cjs +1 -1
  196. package/src/components/entrypoint/exceptions/InvalidActionGroupException.mjs +1 -1
  197. package/src/components/entrypoint/lib/AccessControl.cjs +1 -1
  198. package/src/components/entrypoint/lib/AccessControl.mjs +1 -1
  199. package/src/components/entrypoint/lib/AccessControlRule.cjs +1 -1
  200. package/src/components/entrypoint/lib/AccessControlRule.mjs +1 -1
  201. package/src/components/entrypoint/lib/Controller.cjs +1 -1
  202. package/src/components/entrypoint/lib/Controller.mjs +1 -1
  203. package/src/components/monitor/CpuMonitor.cjs +1 -1
  204. package/src/components/monitor/CpuMonitor.mjs +1 -1
  205. package/src/components/monitor/EventLoopMonitor.cjs +1 -1
  206. package/src/components/monitor/EventLoopMonitor.mjs +1 -1
  207. package/src/components/monitor/HttpRequestMonitor.cjs +1 -1
  208. package/src/components/monitor/HttpRequestMonitor.mjs +1 -1
  209. package/src/components/monitor/MemoryMonitor.cjs +1 -1
  210. package/src/components/monitor/MemoryMonitor.mjs +1 -1
  211. package/src/components/monitor/interfaces/ICpuMonitorStatistics.cjs +1 -1
  212. package/src/components/monitor/interfaces/ICpuMonitorStatistics.mjs +1 -1
  213. package/src/components/monitor/interfaces/IEventLoopMonitorStatistics.cjs +1 -1
  214. package/src/components/monitor/interfaces/IEventLoopMonitorStatistics.mjs +1 -1
  215. package/src/components/monitor/interfaces/IHttpRequestMonitorStatistics.cjs +1 -1
  216. package/src/components/monitor/interfaces/IHttpRequestMonitorStatistics.mjs +1 -1
  217. package/src/components/monitor/interfaces/IMemoryMonitorStatistics.cjs +1 -1
  218. package/src/components/monitor/interfaces/IMemoryMonitorStatistics.mjs +1 -1
  219. package/src/components/monitor/interfaces/IMonitor.cjs +1 -1
  220. package/src/components/monitor/interfaces/IMonitor.mjs +1 -1
  221. package/src/constants/DIMetadataKey.cjs +1 -1
  222. package/src/constants/DIMetadataKey.mjs +1 -1
  223. package/src/constants/DTOMetadataKey.cjs +1 -1
  224. package/src/constants/DTOMetadataKey.mjs +1 -1
  225. package/src/decorators/asst/After.cjs +1 -1
  226. package/src/decorators/asst/After.mjs +1 -1
  227. package/src/decorators/asst/Before.cjs +1 -1
  228. package/src/decorators/asst/Before.mjs +1 -1
  229. package/src/decorators/ctrl/CLIAction.cjs +1 -1
  230. package/src/decorators/ctrl/CLIAction.mjs +1 -1
  231. package/src/decorators/ctrl/HTTPAction.cjs +1 -1
  232. package/src/decorators/ctrl/HTTPAction.mjs +1 -1
  233. package/src/decorators/ctrl/ServiceAction.cjs +1 -1
  234. package/src/decorators/ctrl/ServiceAction.mjs +1 -1
  235. package/src/decorators/ctrl/http/DELETE.cjs +1 -1
  236. package/src/decorators/ctrl/http/DELETE.mjs +1 -1
  237. package/src/decorators/ctrl/http/GET.cjs +1 -1
  238. package/src/decorators/ctrl/http/GET.mjs +1 -1
  239. package/src/decorators/ctrl/http/HEAD.cjs +1 -1
  240. package/src/decorators/ctrl/http/HEAD.mjs +1 -1
  241. package/src/decorators/ctrl/http/OPTIONS.cjs +1 -1
  242. package/src/decorators/ctrl/http/OPTIONS.mjs +1 -1
  243. package/src/decorators/ctrl/http/PATCH.cjs +1 -1
  244. package/src/decorators/ctrl/http/PATCH.mjs +1 -1
  245. package/src/decorators/ctrl/http/POST.cjs +1 -1
  246. package/src/decorators/ctrl/http/POST.mjs +1 -1
  247. package/src/decorators/ctrl/http/PUT.cjs +1 -1
  248. package/src/decorators/ctrl/http/PUT.mjs +1 -1
  249. package/src/decorators/di/Autoload.cjs +1 -1
  250. package/src/decorators/di/Autoload.mjs +1 -1
  251. package/src/decorators/di/Configurable.cjs +1 -1
  252. package/src/decorators/di/Configurable.mjs +1 -1
  253. package/src/decorators/di/Inject.cjs +1 -1
  254. package/src/decorators/di/Inject.mjs +1 -1
  255. package/src/decorators/di/Lifetime.cjs +1 -1
  256. package/src/decorators/di/Lifetime.mjs +1 -1
  257. package/src/decorators/dto/Accept.cjs +1 -1
  258. package/src/decorators/dto/Accept.mjs +1 -1
  259. package/src/decorators/dto/Expect.cjs +1 -1
  260. package/src/decorators/dto/Expect.mjs +1 -1
  261. package/src/decorators/dto/IndexSignature.cjs +1 -1
  262. package/src/decorators/dto/IndexSignature.mjs +1 -1
  263. package/src/decorators/dto/Return.cjs +1 -1
  264. package/src/decorators/dto/Return.mjs +1 -1
  265. package/src/decorators/orm/AfterInsert.cjs +1 -1
  266. package/src/decorators/orm/AfterInsert.mjs +1 -1
  267. package/src/decorators/orm/AfterLoad.cjs +1 -1
  268. package/src/decorators/orm/AfterLoad.mjs +1 -1
  269. package/src/decorators/orm/AfterRecover.cjs +1 -1
  270. package/src/decorators/orm/AfterRecover.mjs +1 -1
  271. package/src/decorators/orm/AfterRemove.cjs +1 -1
  272. package/src/decorators/orm/AfterRemove.mjs +1 -1
  273. package/src/decorators/orm/AfterSoftRemove.cjs +1 -1
  274. package/src/decorators/orm/AfterSoftRemove.mjs +1 -1
  275. package/src/decorators/orm/AfterUpdate.cjs +1 -1
  276. package/src/decorators/orm/AfterUpdate.mjs +1 -1
  277. package/src/decorators/orm/BeforeInsert.cjs +1 -1
  278. package/src/decorators/orm/BeforeInsert.mjs +1 -1
  279. package/src/decorators/orm/BeforeRecover.cjs +1 -1
  280. package/src/decorators/orm/BeforeRecover.mjs +1 -1
  281. package/src/decorators/orm/BeforeRemove.cjs +1 -1
  282. package/src/decorators/orm/BeforeRemove.mjs +1 -1
  283. package/src/decorators/orm/BeforeSoftRemove.cjs +1 -1
  284. package/src/decorators/orm/BeforeSoftRemove.mjs +1 -1
  285. package/src/decorators/orm/BeforeUpdate.cjs +1 -1
  286. package/src/decorators/orm/BeforeUpdate.mjs +1 -1
  287. package/src/decorators/orm/Check.cjs +1 -1
  288. package/src/decorators/orm/Check.mjs +1 -1
  289. package/src/decorators/orm/ChildEntity.cjs +1 -1
  290. package/src/decorators/orm/ChildEntity.mjs +1 -1
  291. package/src/decorators/orm/Column.cjs +1 -1
  292. package/src/decorators/orm/Column.mjs +1 -1
  293. package/src/decorators/orm/CreateDateColumn.cjs +1 -1
  294. package/src/decorators/orm/CreateDateColumn.mjs +1 -1
  295. package/src/decorators/orm/DeleteDateColumn.cjs +1 -1
  296. package/src/decorators/orm/DeleteDateColumn.mjs +1 -1
  297. package/src/decorators/orm/Entity.cjs +1 -1
  298. package/src/decorators/orm/Entity.mjs +1 -1
  299. package/src/decorators/orm/EventSubscriber.cjs +1 -1
  300. package/src/decorators/orm/EventSubscriber.mjs +1 -1
  301. package/src/decorators/orm/Exclusion.cjs +1 -1
  302. package/src/decorators/orm/Exclusion.mjs +1 -1
  303. package/src/decorators/orm/Generated.cjs +1 -1
  304. package/src/decorators/orm/Generated.mjs +1 -1
  305. package/src/decorators/orm/Index.cjs +1 -1
  306. package/src/decorators/orm/Index.mjs +1 -1
  307. package/src/decorators/orm/JoinColumn.cjs +1 -1
  308. package/src/decorators/orm/JoinColumn.mjs +1 -1
  309. package/src/decorators/orm/JoinTable.cjs +1 -1
  310. package/src/decorators/orm/JoinTable.mjs +1 -1
  311. package/src/decorators/orm/ManyToMany.cjs +1 -1
  312. package/src/decorators/orm/ManyToMany.mjs +1 -1
  313. package/src/decorators/orm/ManyToOne.cjs +1 -1
  314. package/src/decorators/orm/ManyToOne.mjs +1 -1
  315. package/src/decorators/orm/ObjectIdColumn.cjs +1 -1
  316. package/src/decorators/orm/ObjectIdColumn.mjs +1 -1
  317. package/src/decorators/orm/OneToMany.cjs +1 -1
  318. package/src/decorators/orm/OneToMany.mjs +1 -1
  319. package/src/decorators/orm/OneToOne.cjs +1 -1
  320. package/src/decorators/orm/OneToOne.mjs +1 -1
  321. package/src/decorators/orm/PrimaryColumn.cjs +1 -1
  322. package/src/decorators/orm/PrimaryColumn.mjs +1 -1
  323. package/src/decorators/orm/PrimaryGeneratedColumn.cjs +1 -1
  324. package/src/decorators/orm/PrimaryGeneratedColumn.mjs +1 -1
  325. package/src/decorators/orm/RelationId.cjs +1 -1
  326. package/src/decorators/orm/RelationId.mjs +1 -1
  327. package/src/decorators/orm/TableInheritance.cjs +1 -1
  328. package/src/decorators/orm/TableInheritance.mjs +1 -1
  329. package/src/decorators/orm/Tree.cjs +1 -1
  330. package/src/decorators/orm/Tree.mjs +1 -1
  331. package/src/decorators/orm/TreeChildren.cjs +1 -1
  332. package/src/decorators/orm/TreeChildren.mjs +1 -1
  333. package/src/decorators/orm/TreeLevelColumn.cjs +1 -1
  334. package/src/decorators/orm/TreeLevelColumn.mjs +1 -1
  335. package/src/decorators/orm/TreeParent.cjs +1 -1
  336. package/src/decorators/orm/TreeParent.mjs +1 -1
  337. package/src/decorators/orm/Unique.cjs +1 -1
  338. package/src/decorators/orm/Unique.mjs +1 -1
  339. package/src/decorators/orm/UpdateDateColumn.cjs +1 -1
  340. package/src/decorators/orm/UpdateDateColumn.mjs +1 -1
  341. package/src/decorators/orm/VersionColumn.cjs +1 -1
  342. package/src/decorators/orm/VersionColumn.mjs +1 -1
  343. package/src/decorators/orm/ViewColumn.cjs +1 -1
  344. package/src/decorators/orm/ViewColumn.mjs +1 -1
  345. package/src/decorators/orm/ViewEntity.cjs +1 -1
  346. package/src/decorators/orm/ViewEntity.mjs +1 -1
  347. package/src/decorators/orm/VirtualColumn.cjs +1 -1
  348. package/src/decorators/orm/VirtualColumn.mjs +1 -1
  349. package/src/dto/PaginationResultDTO.cjs +1 -1
  350. package/src/dto/PaginationResultDTO.mjs +1 -1
  351. package/src/dto/PaginationSearchDTO.cjs +1 -1
  352. package/src/dto/PaginationSearchDTO.mjs +1 -1
  353. package/src/exceptions/DestroyRuntimeContainerException.cjs +1 -1
  354. package/src/exceptions/DestroyRuntimeContainerException.mjs +1 -1
  355. package/src/exceptions/InvalidActionPatternDepthException.cjs +1 -1
  356. package/src/exceptions/InvalidActionPatternDepthException.mjs +1 -1
  357. package/src/exceptions/InvalidAssistantFunctionTypeException.cjs +1 -1
  358. package/src/exceptions/InvalidAssistantFunctionTypeException.mjs +1 -1
  359. package/src/exceptions/InvalidObjectTypeException.cjs +1 -1
  360. package/src/exceptions/InvalidObjectTypeException.mjs +1 -1
  361. package/src/exceptions/MethodNotFoundException.cjs +1 -1
  362. package/src/exceptions/MethodNotFoundException.mjs +1 -1
  363. package/src/exceptions/alias/AliasExistsException.cjs +1 -1
  364. package/src/exceptions/alias/AliasExistsException.mjs +1 -1
  365. package/src/exceptions/alias/AliasNotFoundException.cjs +1 -1
  366. package/src/exceptions/alias/AliasNotFoundException.mjs +1 -1
  367. package/src/exceptions/alias/InvalidAliasNameException.cjs +1 -1
  368. package/src/exceptions/alias/InvalidAliasNameException.mjs +1 -1
  369. package/src/exceptions/di/DependencyInjectionException.cjs +1 -1
  370. package/src/exceptions/di/DependencyInjectionException.mjs +1 -1
  371. package/src/exceptions/di/LifetimeLockedException.cjs +1 -1
  372. package/src/exceptions/di/LifetimeLockedException.mjs +1 -1
  373. package/src/exceptions/di/OverridableObjectTargetConfigNotFoundException.cjs +1 -1
  374. package/src/exceptions/di/OverridableObjectTargetConfigNotFoundException.mjs +1 -1
  375. package/src/exceptions/dto/InvalidMethodAcceptException.cjs +1 -1
  376. package/src/exceptions/dto/InvalidMethodAcceptException.mjs +1 -1
  377. package/src/exceptions/dto/InvalidMethodReturnException.cjs +1 -1
  378. package/src/exceptions/dto/InvalidMethodReturnException.mjs +1 -1
  379. package/src/exceptions/dto/InvalidValueException.cjs +1 -1
  380. package/src/exceptions/dto/InvalidValueException.mjs +1 -1
  381. package/src/interfaces/IBaseObjectConstructor.cjs +1 -1
  382. package/src/interfaces/IBaseObjectConstructor.mjs +1 -1
  383. package/src/interfaces/IConstructor.cjs +1 -1
  384. package/src/interfaces/IConstructor.mjs +1 -1
  385. package/src/interfaces/IPatRun.cjs +1 -1
  386. package/src/interfaces/IPatRun.mjs +1 -1
  387. package/src/lib/base/BaseObject.cjs +1 -1
  388. package/src/lib/base/BaseObject.mjs +1 -1
  389. package/src/lib/base/Context.cjs +1 -1
  390. package/src/lib/base/Context.mjs +1 -1
  391. package/src/lib/base/EventEmitter.cjs +1 -1
  392. package/src/lib/base/EventEmitter.mjs +1 -1
  393. package/src/lib/base/abstracts/Exception.cjs +1 -1
  394. package/src/lib/base/abstracts/Exception.mjs +1 -1
  395. package/src/lib/base/async-constructor/Append.cjs +1 -1
  396. package/src/lib/base/async-constructor/Append.mjs +1 -1
  397. package/src/lib/base/async-constructor/AsyncConstructor.cjs +1 -1
  398. package/src/lib/base/async-constructor/AsyncConstructor.mjs +1 -1
  399. package/src/lib/base/internal/ActionOptions.cjs +1 -1
  400. package/src/lib/base/internal/ActionOptions.mjs +1 -1
  401. package/src/lib/base/internal/ApplicationConfigLoader.cjs +1 -1
  402. package/src/lib/base/internal/ApplicationConfigLoader.mjs +1 -1
  403. package/src/lib/base/internal/BasicInfo.cjs +1 -1
  404. package/src/lib/base/internal/BasicInfo.mjs +1 -1
  405. package/src/lib/base/internal/CamelCase.cjs +1 -1
  406. package/src/lib/base/internal/CamelCase.mjs +1 -1
  407. package/src/lib/base/internal/ConfigurableRecordsInjection.cjs +1 -1
  408. package/src/lib/base/internal/ConfigurableRecordsInjection.mjs +1 -1
  409. package/src/lib/base/internal/ConstructorSymbol.cjs +1 -1
  410. package/src/lib/base/internal/ConstructorSymbol.mjs +1 -1
  411. package/src/lib/base/internal/ControllerEntrypoint.cjs +1 -1
  412. package/src/lib/base/internal/ControllerEntrypoint.mjs +1 -1
  413. package/src/lib/base/internal/DataValidator.cjs +1 -1
  414. package/src/lib/base/internal/DataValidator.mjs +1 -1
  415. package/src/lib/base/internal/DatabaseSymbol.cjs +1 -1
  416. package/src/lib/base/internal/DatabaseSymbol.mjs +1 -1
  417. package/src/lib/base/internal/FlexibleDTO.cjs +1 -1
  418. package/src/lib/base/internal/FlexibleDTO.mjs +1 -1
  419. package/src/lib/base/internal/GetActionDTOAndOptions.cjs +1 -1
  420. package/src/lib/base/internal/GetActionDTOAndOptions.mjs +1 -1
  421. package/src/lib/base/internal/IEEE754.cjs +1 -1
  422. package/src/lib/base/internal/IEEE754.mjs +1 -1
  423. package/src/lib/base/internal/MethodAssistantFunction.cjs +1 -1
  424. package/src/lib/base/internal/MethodAssistantFunction.mjs +1 -1
  425. package/src/lib/base/internal/MethodValidation.cjs +1 -1
  426. package/src/lib/base/internal/MethodValidation.mjs +1 -1
  427. package/src/lib/base/internal/ModuleConfigLoader.cjs +1 -1
  428. package/src/lib/base/internal/ModuleConfigLoader.mjs +1 -1
  429. package/src/lib/base/internal/ObjectConfiguration.cjs +1 -1
  430. package/src/lib/base/internal/ObjectConfiguration.mjs +1 -1
  431. package/src/lib/base/internal/ObjectContainer.cjs +1 -1
  432. package/src/lib/base/internal/ObjectContainer.mjs +1 -1
  433. package/src/lib/base/internal/ObjectInjection.cjs +1 -1
  434. package/src/lib/base/internal/ObjectInjection.mjs +1 -1
  435. package/src/lib/base/internal/ObjectLifetime.cjs +1 -1
  436. package/src/lib/base/internal/ObjectLifetime.mjs +1 -1
  437. package/src/lib/base/internal/ObjectSchemaValidation.cjs +1 -1
  438. package/src/lib/base/internal/ObjectSchemaValidation.mjs +1 -1
  439. package/src/lib/base/internal/ObjectType.cjs +1 -1
  440. package/src/lib/base/internal/ObjectType.mjs +1 -1
  441. package/src/lib/base/internal/ObjectWeakRefs.cjs +1 -1
  442. package/src/lib/base/internal/ObjectWeakRefs.mjs +1 -1
  443. package/src/lib/base/internal/PatternManager.cjs +1 -1
  444. package/src/lib/base/internal/PatternManager.mjs +1 -1
  445. package/src/lib/base/internal/StringifyPattern.cjs +1 -1
  446. package/src/lib/base/internal/StringifyPattern.mjs +1 -1
  447. package/src/lib/base/internal/ThrowWarning.cjs +1 -1
  448. package/src/lib/base/internal/ThrowWarning.mjs +1 -1
  449. package/src/lib/context/CLIContext.cjs +1 -1
  450. package/src/lib/context/CLIContext.mjs +1 -1
  451. package/src/lib/context/HTTPContext.cjs +1 -1
  452. package/src/lib/context/HTTPContext.mjs +1 -1
  453. package/src/lib/context/ServiceContext.cjs +1 -1
  454. package/src/lib/context/ServiceContext.mjs +1 -1
  455. package/src/lib/core/Alias.cjs +1 -1
  456. package/src/lib/core/Alias.mjs +1 -1
  457. package/src/lib/core/Application.cjs +1 -1
  458. package/src/lib/core/Application.mjs +1 -1
  459. package/src/lib/core/Component.cjs +1 -1
  460. package/src/lib/core/Component.mjs +1 -1
  461. package/src/lib/core/Container.cjs +1 -1
  462. package/src/lib/core/Container.mjs +1 -1
  463. package/src/lib/core/DTO.cjs +1 -1
  464. package/src/lib/core/DTO.mjs +1 -1
  465. package/src/lib/core/Module.cjs +1 -1
  466. package/src/lib/core/Module.mjs +1 -1
  467. package/src/lib/core/Provider.cjs +1 -1
  468. package/src/lib/core/Provider.mjs +1 -1
  469. package/src/lib/core/Time.cjs +1 -1
  470. package/src/lib/core/Time.mjs +1 -1
  471. package/src/lib/helpers/ArrayToSet.cjs +1 -1
  472. package/src/lib/helpers/ArrayToSet.mjs +1 -1
  473. package/src/lib/helpers/As.cjs +1 -1
  474. package/src/lib/helpers/As.mjs +1 -1
  475. package/src/lib/helpers/ConvertArrayLikeToIterable.cjs +1 -1
  476. package/src/lib/helpers/ConvertArrayLikeToIterable.mjs +1 -1
  477. package/src/lib/helpers/ConvertArrayLikeToStream.cjs +1 -1
  478. package/src/lib/helpers/ConvertArrayLikeToStream.mjs +1 -1
  479. package/src/lib/helpers/Delay.cjs +1 -1
  480. package/src/lib/helpers/Delay.mjs +1 -1
  481. package/src/lib/helpers/DevNull.cjs +1 -1
  482. package/src/lib/helpers/DevNull.mjs +1 -1
  483. package/src/lib/helpers/GetObjectNestingDepth.cjs +1 -1
  484. package/src/lib/helpers/GetObjectNestingDepth.mjs +1 -1
  485. package/src/lib/helpers/GetObjectPropertyPaths.cjs +1 -1
  486. package/src/lib/helpers/GetObjectPropertyPaths.mjs +1 -1
  487. package/src/lib/helpers/Glob.cjs +1 -1
  488. package/src/lib/helpers/Glob.mjs +1 -1
  489. package/src/lib/helpers/GraceExit.cjs +1 -1
  490. package/src/lib/helpers/GraceExit.mjs +1 -1
  491. package/src/lib/helpers/HexToIEEE754.cjs +1 -1
  492. package/src/lib/helpers/HexToIEEE754.mjs +1 -1
  493. package/src/lib/helpers/HexToSigned.cjs +1 -1
  494. package/src/lib/helpers/HexToSigned.mjs +1 -1
  495. package/src/lib/helpers/HexToUnsigned.cjs +1 -1
  496. package/src/lib/helpers/HexToUnsigned.mjs +1 -1
  497. package/src/lib/helpers/IEEE754ToHex.cjs +1 -1
  498. package/src/lib/helpers/IEEE754ToHex.mjs +1 -1
  499. package/src/lib/helpers/IPToolkit.cjs +1 -1
  500. package/src/lib/helpers/IPToolkit.mjs +1 -1
  501. package/src/lib/helpers/IsAbortError.cjs +1 -1
  502. package/src/lib/helpers/IsAbortError.mjs +1 -1
  503. package/src/lib/helpers/IsEmptyObject.cjs +1 -1
  504. package/src/lib/helpers/IsEmptyObject.mjs +1 -1
  505. package/src/lib/helpers/IsExists.cjs +1 -1
  506. package/src/lib/helpers/IsExists.mjs +1 -1
  507. package/src/lib/helpers/IsGlobString.cjs +1 -1
  508. package/src/lib/helpers/IsGlobString.mjs +1 -1
  509. package/src/lib/helpers/IsHtml.cjs +1 -1
  510. package/src/lib/helpers/IsHtml.mjs +1 -1
  511. package/src/lib/helpers/IsNativeFunction.cjs +1 -1
  512. package/src/lib/helpers/IsNativeFunction.mjs +1 -1
  513. package/src/lib/helpers/IsPath.cjs +1 -1
  514. package/src/lib/helpers/IsPath.mjs +1 -1
  515. package/src/lib/helpers/IsPromise.cjs +1 -1
  516. package/src/lib/helpers/IsPromise.mjs +1 -1
  517. package/src/lib/helpers/IsPromiseLike.cjs +1 -1
  518. package/src/lib/helpers/IsPromiseLike.mjs +1 -1
  519. package/src/lib/helpers/IsSymbol.cjs +1 -1
  520. package/src/lib/helpers/IsSymbol.mjs +1 -1
  521. package/src/lib/helpers/IsXML.cjs +1 -1
  522. package/src/lib/helpers/IsXML.mjs +1 -1
  523. package/src/lib/helpers/MD5.cjs +1 -1
  524. package/src/lib/helpers/MD5.mjs +1 -1
  525. package/src/lib/helpers/MergeArray.cjs +1 -1
  526. package/src/lib/helpers/MergeArray.mjs +1 -1
  527. package/src/lib/helpers/MergeMap.cjs +1 -1
  528. package/src/lib/helpers/MergeMap.mjs +1 -1
  529. package/src/lib/helpers/MergeSet.cjs +1 -1
  530. package/src/lib/helpers/MergeSet.mjs +1 -1
  531. package/src/lib/helpers/MessagePack.cjs +1489 -0
  532. package/src/lib/helpers/MessagePack.mjs +1483 -0
  533. package/src/lib/helpers/NoCase.cjs +1 -1
  534. package/src/lib/helpers/NoCase.mjs +1 -1
  535. package/src/lib/helpers/NonceStr.cjs +1 -1
  536. package/src/lib/helpers/NonceStr.mjs +1 -1
  537. package/src/lib/helpers/ObjectConstructor.cjs +1 -1
  538. package/src/lib/helpers/ObjectConstructor.mjs +1 -1
  539. package/src/lib/helpers/ObjectHash.cjs +1 -1
  540. package/src/lib/helpers/ObjectHash.mjs +1 -1
  541. package/src/lib/helpers/ObjectParentConstructor.cjs +1 -1
  542. package/src/lib/helpers/ObjectParentConstructor.mjs +1 -1
  543. package/src/lib/helpers/ObjectParentConstructors.cjs +1 -1
  544. package/src/lib/helpers/ObjectParentConstructors.mjs +1 -1
  545. package/src/lib/helpers/ObjectPath.cjs +1 -1
  546. package/src/lib/helpers/ObjectPath.mjs +1 -1
  547. package/src/lib/helpers/ObjectPrototype.cjs +1 -1
  548. package/src/lib/helpers/ObjectPrototype.mjs +1 -1
  549. package/src/lib/helpers/ObjectToMap.cjs +1 -1
  550. package/src/lib/helpers/ObjectToMap.mjs +1 -1
  551. package/src/lib/helpers/Paginator.cjs +1 -1
  552. package/src/lib/helpers/Paginator.mjs +1 -1
  553. package/src/lib/helpers/RandomString.cjs +1 -1
  554. package/src/lib/helpers/RandomString.mjs +1 -1
  555. package/src/lib/helpers/SHA1.cjs +1 -1
  556. package/src/lib/helpers/SHA1.mjs +1 -1
  557. package/src/lib/helpers/SHA256.cjs +1 -1
  558. package/src/lib/helpers/SHA256.mjs +1 -1
  559. package/src/lib/helpers/SetToArray.cjs +1 -1
  560. package/src/lib/helpers/SetToArray.mjs +1 -1
  561. package/src/lib/helpers/SignedToHex.cjs +1 -1
  562. package/src/lib/helpers/SignedToHex.mjs +1 -1
  563. package/src/lib/helpers/SortArray.cjs +1 -1
  564. package/src/lib/helpers/SortArray.mjs +1 -1
  565. package/src/lib/helpers/SortKeys.cjs +1 -1
  566. package/src/lib/helpers/SortKeys.mjs +1 -1
  567. package/src/lib/helpers/SortObject.cjs +1 -1
  568. package/src/lib/helpers/SortObject.mjs +1 -1
  569. package/src/lib/helpers/Statistics.cjs +1 -1
  570. package/src/lib/helpers/Statistics.mjs +1 -1
  571. package/src/lib/helpers/Templating.cjs +1 -1
  572. package/src/lib/helpers/Templating.mjs +1 -1
  573. package/src/lib/helpers/URLBuilder.cjs +1 -1
  574. package/src/lib/helpers/URLBuilder.mjs +1 -1
  575. package/src/lib/helpers/UUID.cjs +1 -1
  576. package/src/lib/helpers/UUID.mjs +1 -1
  577. package/src/lib/helpers/UniqueArray.cjs +1 -1
  578. package/src/lib/helpers/UniqueArray.mjs +1 -1
  579. package/src/lib/helpers/UnsignedToHex.cjs +1 -1
  580. package/src/lib/helpers/UnsignedToHex.mjs +1 -1
  581. package/src/lib/ioc/DependencyInjectionContainer.cjs +1 -1
  582. package/src/lib/ioc/DependencyInjectionContainer.mjs +1 -1
  583. package/src/lib/ioc/Errors.cjs +1 -1
  584. package/src/lib/ioc/Errors.mjs +1 -1
  585. package/src/lib/ioc/FunctionTokenizer.cjs +1 -1
  586. package/src/lib/ioc/FunctionTokenizer.mjs +1 -1
  587. package/src/lib/ioc/InjectionMode.cjs +1 -1
  588. package/src/lib/ioc/InjectionMode.mjs +1 -1
  589. package/src/lib/ioc/Lifetime.cjs +1 -1
  590. package/src/lib/ioc/Lifetime.mjs +1 -1
  591. package/src/lib/ioc/ListModules.cjs +1 -1
  592. package/src/lib/ioc/ListModules.mjs +1 -1
  593. package/src/lib/ioc/LoadModules.cjs +1 -1
  594. package/src/lib/ioc/LoadModules.mjs +1 -1
  595. package/src/lib/ioc/ParamParser.cjs +1 -1
  596. package/src/lib/ioc/ParamParser.mjs +1 -1
  597. package/src/lib/ioc/Resolvers.cjs +1 -1
  598. package/src/lib/ioc/Resolvers.mjs +1 -1
  599. package/src/lib/ioc/Utils.cjs +1 -1
  600. package/src/lib/ioc/Utils.mjs +1 -1
  601. package/src/lib/validation/VLD.cjs +1 -1
  602. package/src/lib/validation/VLD.mjs +1 -1
  603. package/src/lib/validation/interfaces/AlternativesSchema.cjs +1 -1
  604. package/src/lib/validation/interfaces/AlternativesSchema.mjs +1 -1
  605. package/src/lib/validation/interfaces/AnySchema.cjs +1 -1
  606. package/src/lib/validation/interfaces/AnySchema.mjs +1 -1
  607. package/src/lib/validation/interfaces/ArraySchema.cjs +1 -1
  608. package/src/lib/validation/interfaces/ArraySchema.mjs +1 -1
  609. package/src/lib/validation/interfaces/Base64Options.cjs +1 -1
  610. package/src/lib/validation/interfaces/Base64Options.mjs +1 -1
  611. package/src/lib/validation/interfaces/BaseValidationOptions.cjs +1 -1
  612. package/src/lib/validation/interfaces/BaseValidationOptions.mjs +1 -1
  613. package/src/lib/validation/interfaces/BigIntSchema.cjs +1 -1
  614. package/src/lib/validation/interfaces/BigIntSchema.mjs +1 -1
  615. package/src/lib/validation/interfaces/BinarySchema.cjs +1 -1
  616. package/src/lib/validation/interfaces/BinarySchema.mjs +1 -1
  617. package/src/lib/validation/interfaces/BooleanSchema.cjs +1 -1
  618. package/src/lib/validation/interfaces/BooleanSchema.mjs +1 -1
  619. package/src/lib/validation/interfaces/CustomHelpers.cjs +1 -1
  620. package/src/lib/validation/interfaces/CustomHelpers.mjs +1 -1
  621. package/src/lib/validation/interfaces/DataUriOptions.cjs +1 -1
  622. package/src/lib/validation/interfaces/DataUriOptions.mjs +1 -1
  623. package/src/lib/validation/interfaces/DateSchema.cjs +1 -1
  624. package/src/lib/validation/interfaces/DateSchema.mjs +1 -1
  625. package/src/lib/validation/interfaces/DependencyOptions.cjs +1 -1
  626. package/src/lib/validation/interfaces/DependencyOptions.mjs +1 -1
  627. package/src/lib/validation/interfaces/DomainOptions.cjs +1 -1
  628. package/src/lib/validation/interfaces/DomainOptions.mjs +1 -1
  629. package/src/lib/validation/interfaces/EmailOptions.cjs +1 -1
  630. package/src/lib/validation/interfaces/EmailOptions.mjs +1 -1
  631. package/src/lib/validation/interfaces/ErrorFormattingOptions.cjs +1 -1
  632. package/src/lib/validation/interfaces/ErrorFormattingOptions.mjs +1 -1
  633. package/src/lib/validation/interfaces/ErrorReport.cjs +1 -1
  634. package/src/lib/validation/interfaces/ErrorReport.mjs +1 -1
  635. package/src/lib/validation/interfaces/ErrorValidationOptions.cjs +1 -1
  636. package/src/lib/validation/interfaces/ErrorValidationOptions.mjs +1 -1
  637. package/src/lib/validation/interfaces/ExtensionFlag.cjs +1 -1
  638. package/src/lib/validation/interfaces/ExtensionFlag.mjs +1 -1
  639. package/src/lib/validation/interfaces/ExternalHelpers.cjs +1 -1
  640. package/src/lib/validation/interfaces/ExternalHelpers.mjs +1 -1
  641. package/src/lib/validation/interfaces/FunctionSchema.cjs +1 -1
  642. package/src/lib/validation/interfaces/FunctionSchema.mjs +1 -1
  643. package/src/lib/validation/interfaces/GuidOptions.cjs +1 -1
  644. package/src/lib/validation/interfaces/GuidOptions.mjs +1 -1
  645. package/src/lib/validation/interfaces/HexOptions.cjs +1 -1
  646. package/src/lib/validation/interfaces/HexOptions.mjs +1 -1
  647. package/src/lib/validation/interfaces/HierarchySeparatorOptions.cjs +1 -1
  648. package/src/lib/validation/interfaces/HierarchySeparatorOptions.mjs +1 -1
  649. package/src/lib/validation/interfaces/IpOptions.cjs +1 -1
  650. package/src/lib/validation/interfaces/IpOptions.mjs +1 -1
  651. package/src/lib/validation/interfaces/LanguageMessageTemplate.cjs +1 -1
  652. package/src/lib/validation/interfaces/LanguageMessageTemplate.mjs +1 -1
  653. package/src/lib/validation/interfaces/LinkSchema.cjs +1 -1
  654. package/src/lib/validation/interfaces/LinkSchema.mjs +1 -1
  655. package/src/lib/validation/interfaces/NumberSchema.cjs +1 -1
  656. package/src/lib/validation/interfaces/NumberSchema.mjs +1 -1
  657. package/src/lib/validation/interfaces/ObjectPatternOptions.cjs +1 -1
  658. package/src/lib/validation/interfaces/ObjectPatternOptions.mjs +1 -1
  659. package/src/lib/validation/interfaces/ObjectSchema.cjs +1 -1
  660. package/src/lib/validation/interfaces/ObjectSchema.mjs +1 -1
  661. package/src/lib/validation/interfaces/Reference.cjs +1 -1
  662. package/src/lib/validation/interfaces/Reference.mjs +1 -1
  663. package/src/lib/validation/interfaces/ReferenceOptions.cjs +1 -1
  664. package/src/lib/validation/interfaces/ReferenceOptions.mjs +1 -1
  665. package/src/lib/validation/interfaces/RenameOptions.cjs +1 -1
  666. package/src/lib/validation/interfaces/RenameOptions.mjs +1 -1
  667. package/src/lib/validation/interfaces/State.cjs +1 -1
  668. package/src/lib/validation/interfaces/State.mjs +1 -1
  669. package/src/lib/validation/interfaces/StringRegexOptions.cjs +1 -1
  670. package/src/lib/validation/interfaces/StringRegexOptions.mjs +1 -1
  671. package/src/lib/validation/interfaces/StringSchema.cjs +1 -1
  672. package/src/lib/validation/interfaces/StringSchema.mjs +1 -1
  673. package/src/lib/validation/interfaces/SwitchCases.cjs +1 -1
  674. package/src/lib/validation/interfaces/SwitchCases.mjs +1 -1
  675. package/src/lib/validation/interfaces/SwitchDefault.cjs +1 -1
  676. package/src/lib/validation/interfaces/SwitchDefault.mjs +1 -1
  677. package/src/lib/validation/interfaces/SymbolSchema.cjs +1 -1
  678. package/src/lib/validation/interfaces/SymbolSchema.mjs +1 -1
  679. package/src/lib/validation/interfaces/TopLevelDomainOptions.cjs +1 -1
  680. package/src/lib/validation/interfaces/TopLevelDomainOptions.mjs +1 -1
  681. package/src/lib/validation/interfaces/UriOptions.cjs +1 -1
  682. package/src/lib/validation/interfaces/UriOptions.mjs +1 -1
  683. package/src/lib/validation/interfaces/ValidationOptions.cjs +1 -1
  684. package/src/lib/validation/interfaces/ValidationOptions.mjs +1 -1
  685. package/src/lib/validation/interfaces/WhenOptions.cjs +1 -1
  686. package/src/lib/validation/interfaces/WhenOptions.mjs +1 -1
  687. package/src/lib/validation/interfaces/WhenSchemaOptions.cjs +1 -1
  688. package/src/lib/validation/interfaces/WhenSchemaOptions.mjs +1 -1
  689. package/src/lib/validation/types/CustomValidator.cjs +1 -1
  690. package/src/lib/validation/types/CustomValidator.mjs +1 -1
  691. package/src/lib/validation/types/ExtensionBoundSchema.cjs +1 -1
  692. package/src/lib/validation/types/ExtensionBoundSchema.mjs +1 -1
  693. package/src/lib/validation/types/ExternalValidationFunction.cjs +1 -1
  694. package/src/lib/validation/types/ExternalValidationFunction.mjs +1 -1
  695. package/src/lib/validation/types/IsNonPrimitiveSubsetUnion.cjs +1 -1
  696. package/src/lib/validation/types/IsNonPrimitiveSubsetUnion.mjs +1 -1
  697. package/src/lib/validation/types/IsPrimitiveSubset.cjs +1 -1
  698. package/src/lib/validation/types/IsPrimitiveSubset.mjs +1 -1
  699. package/src/lib/validation/types/IsUnion.cjs +1 -1
  700. package/src/lib/validation/types/IsUnion.mjs +1 -1
  701. package/src/lib/validation/types/LanguageMessages.cjs +1 -1
  702. package/src/lib/validation/types/LanguageMessages.mjs +1 -1
  703. package/src/lib/validation/types/NoNestedArrays.cjs +1 -1
  704. package/src/lib/validation/types/NoNestedArrays.mjs +1 -1
  705. package/src/lib/validation/types/NullableType.cjs +1 -1
  706. package/src/lib/validation/types/NullableType.mjs +1 -1
  707. package/src/lib/validation/types/ObjectPropertiesSchema.cjs +1 -1
  708. package/src/lib/validation/types/ObjectPropertiesSchema.mjs +1 -1
  709. package/src/lib/validation/types/PartialSchemaMap.cjs +1 -1
  710. package/src/lib/validation/types/PartialSchemaMap.mjs +1 -1
  711. package/src/lib/validation/types/PresenceMode.cjs +1 -1
  712. package/src/lib/validation/types/PresenceMode.mjs +1 -1
  713. package/src/lib/validation/types/Primitives.cjs +1 -1
  714. package/src/lib/validation/types/Primitives.mjs +1 -1
  715. package/src/lib/validation/types/Schema.cjs +1 -1
  716. package/src/lib/validation/types/Schema.mjs +1 -1
  717. package/src/lib/validation/types/SchemaFunction.cjs +1 -1
  718. package/src/lib/validation/types/SchemaFunction.mjs +1 -1
  719. package/src/lib/validation/types/SchemaLike.cjs +1 -1
  720. package/src/lib/validation/types/SchemaLike.mjs +1 -1
  721. package/src/lib/validation/types/SchemaLikeWithoutArray.cjs +1 -1
  722. package/src/lib/validation/types/SchemaLikeWithoutArray.mjs +1 -1
  723. package/src/lib/validation/types/SchemaMap.cjs +1 -1
  724. package/src/lib/validation/types/SchemaMap.mjs +1 -1
  725. package/src/lib/validation/types/StrictSchemaMap.cjs +1 -1
  726. package/src/lib/validation/types/StrictSchemaMap.mjs +1 -1
  727. package/src/lib/validation/types/Types.cjs +1 -1
  728. package/src/lib/validation/types/Types.mjs +1 -1
  729. package/src/lib/validation/types/UnwrapSchemaLikeWithoutArray.cjs +1 -1
  730. package/src/lib/validation/types/UnwrapSchemaLikeWithoutArray.mjs +1 -1
  731. package/src/options/ApplicationOptions.cjs +1 -1
  732. package/src/options/ApplicationOptions.mjs +1 -1
  733. package/src/options/LoadAnonymousObjectOptions.cjs +1 -1
  734. package/src/options/LoadAnonymousObjectOptions.mjs +1 -1
  735. package/src/options/LoadNamedObjectOptions.cjs +1 -1
  736. package/src/options/LoadNamedObjectOptions.mjs +1 -1
  737. package/src/options/LoadObjectOptions.cjs +1 -1
  738. package/src/options/LoadObjectOptions.mjs +1 -1
  739. package/src/options/ModuleLoadObjectsOptions.cjs +1 -1
  740. package/src/options/ModuleLoadObjectsOptions.mjs +1 -1
  741. package/src/options/ModuleOptions.cjs +1 -1
  742. package/src/options/ModuleOptions.mjs +1 -1
  743. package/src/options/OverridableNamedObjectOptions.cjs +1 -1
  744. package/src/options/OverridableNamedObjectOptions.mjs +1 -1
  745. package/src/options/OverridableObjectOptions.cjs +1 -1
  746. package/src/options/OverridableObjectOptions.mjs +1 -1
  747. package/src/providers/Database.cjs +1 -1
  748. package/src/providers/Database.mjs +1 -1
  749. package/src/providers/PasswordHash.cjs +1 -1
  750. package/src/providers/PasswordHash.mjs +1 -1
  751. package/src/providers/migration/GenerateMigration.cjs +1 -1
  752. package/src/providers/migration/GenerateMigration.mjs +1 -1
  753. package/src/types/ActionPattern.cjs +1 -1
  754. package/src/types/ActionPattern.mjs +1 -1
  755. package/src/types/ClassDecorator.cjs +1 -1
  756. package/src/types/ClassDecorator.mjs +1 -1
  757. package/src/types/ComponentOptions.cjs +1 -1
  758. package/src/types/ComponentOptions.mjs +1 -1
  759. package/src/types/JSONSchema.cjs +1 -1
  760. package/src/types/JSONSchema.mjs +1 -1
  761. package/src/types/MethodDecorator.cjs +1 -1
  762. package/src/types/MethodDecorator.mjs +1 -1
  763. package/src/types/ModuleOptions.cjs +1 -1
  764. package/src/types/ModuleOptions.mjs +1 -1
  765. package/src/types/ObjectOptions.cjs +1 -1
  766. package/src/types/ObjectOptions.mjs +1 -1
  767. package/src/types/ParameterDecorator.cjs +1 -1
  768. package/src/types/ParameterDecorator.mjs +1 -1
  769. package/src/types/PropertyDecorator.cjs +1 -1
  770. package/src/types/PropertyDecorator.mjs +1 -1
  771. package/src/types/ProviderOptions.cjs +1 -1
  772. package/src/types/ProviderOptions.mjs +1 -1
  773. package/vendor/Package.internal.1.cjs +1 -1
  774. package/vendor/Package.internal.1.mjs +1 -1
  775. package/vendor/Package.internal.10.cjs +1 -1
  776. package/vendor/Package.internal.10.mjs +1 -1
  777. package/vendor/Package.internal.11.cjs +1 -1
  778. package/vendor/Package.internal.11.mjs +1 -1
  779. package/vendor/Package.internal.12.cjs +1 -1
  780. package/vendor/Package.internal.12.mjs +1 -1
  781. package/vendor/Package.internal.13.cjs +1 -1
  782. package/vendor/Package.internal.13.mjs +1 -1
  783. package/vendor/Package.internal.14.cjs +1 -1
  784. package/vendor/Package.internal.14.mjs +1 -1
  785. package/vendor/Package.internal.15.cjs +1 -1
  786. package/vendor/Package.internal.15.mjs +1 -1
  787. package/vendor/Package.internal.16.cjs +1 -1
  788. package/vendor/Package.internal.16.mjs +1 -1
  789. package/vendor/Package.internal.17.cjs +1 -1
  790. package/vendor/Package.internal.17.mjs +1 -1
  791. package/vendor/Package.internal.18.cjs +1 -1
  792. package/vendor/Package.internal.18.mjs +1 -1
  793. package/vendor/Package.internal.19.cjs +1 -1
  794. package/vendor/Package.internal.19.mjs +1 -1
  795. package/vendor/Package.internal.2.cjs +1 -1
  796. package/vendor/Package.internal.2.mjs +1 -1
  797. package/vendor/Package.internal.20.cjs +1 -1
  798. package/vendor/Package.internal.20.mjs +1 -1
  799. package/vendor/Package.internal.21.cjs +1 -1
  800. package/vendor/Package.internal.21.mjs +1 -1
  801. package/vendor/Package.internal.22.cjs +1 -1
  802. package/vendor/Package.internal.22.mjs +1 -1
  803. package/vendor/Package.internal.23.cjs +1 -1
  804. package/vendor/Package.internal.23.mjs +1 -1
  805. package/vendor/Package.internal.24.cjs +1 -1
  806. package/vendor/Package.internal.24.mjs +1 -1
  807. package/vendor/Package.internal.25.cjs +1 -1
  808. package/vendor/Package.internal.25.mjs +1 -1
  809. package/vendor/Package.internal.26.cjs +1 -1
  810. package/vendor/Package.internal.26.mjs +1 -1
  811. package/vendor/Package.internal.27.cjs +1 -1
  812. package/vendor/Package.internal.27.mjs +1 -1
  813. package/vendor/Package.internal.28.cjs +1 -1
  814. package/vendor/Package.internal.28.mjs +1 -1
  815. package/vendor/Package.internal.29.cjs +1 -1
  816. package/vendor/Package.internal.29.mjs +1 -1
  817. package/vendor/Package.internal.3.cjs +1 -1
  818. package/vendor/Package.internal.3.mjs +1 -1
  819. package/vendor/Package.internal.30.cjs +1 -1
  820. package/vendor/Package.internal.30.mjs +1 -1
  821. package/vendor/Package.internal.31.cjs +1 -1
  822. package/vendor/Package.internal.31.mjs +1 -1
  823. package/vendor/Package.internal.310.cjs +1 -1
  824. package/vendor/Package.internal.310.mjs +1 -1
  825. package/vendor/Package.internal.32.cjs +1 -1
  826. package/vendor/Package.internal.32.mjs +1 -1
  827. package/vendor/Package.internal.33.cjs +1 -1
  828. package/vendor/Package.internal.33.mjs +1 -1
  829. package/vendor/Package.internal.34.cjs +1 -1
  830. package/vendor/Package.internal.34.mjs +1 -1
  831. package/vendor/Package.internal.35.cjs +1 -1
  832. package/vendor/Package.internal.35.mjs +1 -1
  833. package/vendor/Package.internal.36.cjs +1 -1
  834. package/vendor/Package.internal.36.mjs +1 -1
  835. package/vendor/Package.internal.37.cjs +1 -1
  836. package/vendor/Package.internal.37.mjs +1 -1
  837. package/vendor/Package.internal.38.cjs +1 -1
  838. package/vendor/Package.internal.38.mjs +1 -1
  839. package/vendor/Package.internal.39.cjs +1 -1
  840. package/vendor/Package.internal.39.mjs +1 -1
  841. package/vendor/Package.internal.4.cjs +1 -1
  842. package/vendor/Package.internal.4.mjs +1 -1
  843. package/vendor/Package.internal.40.cjs +1 -1
  844. package/vendor/Package.internal.40.mjs +1 -1
  845. package/vendor/Package.internal.41.cjs +1 -1
  846. package/vendor/Package.internal.41.mjs +1 -1
  847. package/vendor/Package.internal.42.cjs +1 -1
  848. package/vendor/Package.internal.42.mjs +1 -1
  849. package/vendor/Package.internal.43.cjs +1 -1
  850. package/vendor/Package.internal.43.mjs +1 -1
  851. package/vendor/Package.internal.44.cjs +1 -1
  852. package/vendor/Package.internal.44.mjs +1 -1
  853. package/vendor/Package.internal.45.cjs +1 -1
  854. package/vendor/Package.internal.45.mjs +1 -1
  855. package/vendor/Package.internal.46.cjs +1 -1
  856. package/vendor/Package.internal.46.mjs +1 -1
  857. package/vendor/Package.internal.47.cjs +1 -1
  858. package/vendor/Package.internal.47.mjs +1 -1
  859. package/vendor/Package.internal.48.cjs +1 -1
  860. package/vendor/Package.internal.48.mjs +1 -1
  861. package/vendor/Package.internal.49.cjs +1 -1
  862. package/vendor/Package.internal.49.mjs +1 -1
  863. package/vendor/Package.internal.5.cjs +1 -1
  864. package/vendor/Package.internal.5.mjs +1 -1
  865. package/vendor/Package.internal.50.cjs +1 -1
  866. package/vendor/Package.internal.50.mjs +1 -1
  867. package/vendor/Package.internal.51.cjs +1 -1
  868. package/vendor/Package.internal.51.mjs +1 -1
  869. package/vendor/Package.internal.512.cjs +1 -1
  870. package/vendor/Package.internal.512.mjs +1 -1
  871. package/vendor/Package.internal.52.cjs +7 -34
  872. package/vendor/Package.internal.52.mjs +56 -83
  873. package/vendor/Package.internal.5210.cjs +1 -1
  874. package/vendor/Package.internal.5210.mjs +1 -1
  875. package/vendor/Package.internal.522.cjs +1 -1
  876. package/vendor/Package.internal.522.mjs +1 -1
  877. package/vendor/Package.internal.523.cjs +1 -1
  878. package/vendor/Package.internal.523.mjs +1 -1
  879. package/vendor/Package.internal.524.cjs +1 -1
  880. package/vendor/Package.internal.524.mjs +1 -1
  881. package/vendor/Package.internal.525.cjs +1 -1
  882. package/vendor/Package.internal.525.mjs +1 -1
  883. package/vendor/Package.internal.526.cjs +1 -1
  884. package/vendor/Package.internal.526.mjs +1 -1
  885. package/vendor/Package.internal.527.cjs +1 -1
  886. package/vendor/Package.internal.527.mjs +1 -1
  887. package/vendor/Package.internal.528.cjs +1 -1
  888. package/vendor/Package.internal.528.mjs +1 -1
  889. package/vendor/Package.internal.529.cjs +1 -1
  890. package/vendor/Package.internal.529.mjs +1 -1
  891. package/vendor/Package.internal.53.cjs +1 -1
  892. package/vendor/Package.internal.53.mjs +1 -1
  893. package/vendor/Package.internal.54.cjs +1 -1
  894. package/vendor/Package.internal.54.mjs +1 -1
  895. package/vendor/Package.internal.55.cjs +1 -1
  896. package/vendor/Package.internal.55.mjs +1 -1
  897. package/vendor/Package.internal.56.cjs +152 -171
  898. package/vendor/Package.internal.56.mjs +605 -624
  899. package/vendor/Package.internal.6.cjs +1 -1
  900. package/vendor/Package.internal.6.mjs +1 -1
  901. package/vendor/Package.internal.7.cjs +1 -1
  902. package/vendor/Package.internal.7.mjs +1 -1
  903. package/vendor/Package.internal.8.cjs +1 -1
  904. package/vendor/Package.internal.8.mjs +1 -1
  905. package/vendor/Package.internal.9.cjs +1 -1
  906. package/vendor/Package.internal.9.mjs +1 -1
  907. package/vendor/TypeDef.internal.138.d.ts +26 -1
@@ -0,0 +1,1483 @@
1
+ /* Build Date: Sat Dec 27 2025 17:35:07 GMT+0800 (China Standard Time) */
2
+ function e(e) {
3
+ const t = e.length;
4
+ let s = 0;
5
+ let i = 0;
6
+ while (i < t) {
7
+ let n = e.charCodeAt(i++);
8
+ if ((n & 4294967168) === 0) {
9
+ s++;
10
+ continue;
11
+ } else if ((n & 4294965248) === 0) {
12
+ s += 2;
13
+ } else {
14
+ if (n >= 55296 && n <= 56319) {
15
+ if (i < t) {
16
+ const t = e.charCodeAt(i);
17
+ if ((t & 64512) === 56320) {
18
+ ++i;
19
+ n = ((n & 1023) << 10) + (t & 1023) + 65536;
20
+ }
21
+ }
22
+ }
23
+ if ((n & 4294901760) === 0) {
24
+ s += 3;
25
+ } else {
26
+ s += 4;
27
+ }
28
+ }
29
+ }
30
+ return s;
31
+ }
32
+
33
+ function t(e, t, s) {
34
+ const i = e.length;
35
+ let n = s;
36
+ let r = 0;
37
+ while (r < i) {
38
+ let s = e.charCodeAt(r++);
39
+ if ((s & 4294967168) === 0) {
40
+ t[n++] = s;
41
+ continue;
42
+ } else if ((s & 4294965248) === 0) {
43
+ t[n++] = s >> 6 & 31 | 192;
44
+ } else {
45
+ if (s >= 55296 && s <= 56319) {
46
+ if (r < i) {
47
+ const t = e.charCodeAt(r);
48
+ if ((t & 64512) === 56320) {
49
+ ++r;
50
+ s = ((s & 1023) << 10) + (t & 1023) + 65536;
51
+ }
52
+ }
53
+ }
54
+ if ((s & 4294901760) === 0) {
55
+ t[n++] = s >> 12 & 15 | 224;
56
+ t[n++] = s >> 6 & 63 | 128;
57
+ } else {
58
+ t[n++] = s >> 18 & 7 | 240;
59
+ t[n++] = s >> 12 & 63 | 128;
60
+ t[n++] = s >> 6 & 63 | 128;
61
+ }
62
+ }
63
+ t[n++] = s & 63 | 128;
64
+ }
65
+ }
66
+
67
+ const s = new TextEncoder;
68
+
69
+ const i = 50;
70
+
71
+ function n(e, t, i) {
72
+ s.encodeInto(e, t.subarray(i));
73
+ }
74
+
75
+ function r(e, s, r) {
76
+ if (e.length > i) {
77
+ n(e, s, r);
78
+ } else {
79
+ t(e, s, r);
80
+ }
81
+ }
82
+
83
+ const o = 4096;
84
+
85
+ function h(e, t, s) {
86
+ let i = t;
87
+ const n = i + s;
88
+ const r = [];
89
+ let h = "";
90
+ while (i < n) {
91
+ const t = e[i++];
92
+ if ((t & 128) === 0) {
93
+ r.push(t);
94
+ } else if ((t & 224) === 192) {
95
+ const s = e[i++] & 63;
96
+ r.push((t & 31) << 6 | s);
97
+ } else if ((t & 240) === 224) {
98
+ const s = e[i++] & 63;
99
+ const n = e[i++] & 63;
100
+ r.push((t & 31) << 12 | s << 6 | n);
101
+ } else if ((t & 248) === 240) {
102
+ const s = e[i++] & 63;
103
+ const n = e[i++] & 63;
104
+ const o = e[i++] & 63;
105
+ let h = (t & 7) << 18 | s << 12 | n << 6 | o;
106
+ if (h > 65535) {
107
+ h -= 65536;
108
+ r.push(h >>> 10 & 1023 | 55296);
109
+ h = 56320 | h & 1023;
110
+ }
111
+ r.push(h);
112
+ } else {
113
+ r.push(t);
114
+ }
115
+ if (r.length >= o) {
116
+ h += String.fromCharCode(...r);
117
+ r.length = 0;
118
+ }
119
+ }
120
+ if (r.length > 0) {
121
+ h += String.fromCharCode(...r);
122
+ }
123
+ return h;
124
+ }
125
+
126
+ const a = new TextDecoder;
127
+
128
+ const c = 200;
129
+
130
+ function f(e, t, s) {
131
+ const i = e.subarray(t, t + s);
132
+ return a.decode(i);
133
+ }
134
+
135
+ function d(e, t, s) {
136
+ if (s > c) {
137
+ return f(e, t, s);
138
+ } else {
139
+ return h(e, t, s);
140
+ }
141
+ }
142
+
143
+ class ExtData {
144
+ type;
145
+ data;
146
+ constructor(e, t) {
147
+ this.type = e;
148
+ this.data = t;
149
+ }
150
+ }
151
+
152
+ class DecodeError extends Error {
153
+ constructor(e) {
154
+ super(e);
155
+ const t = Object.create(DecodeError.prototype);
156
+ Object.setPrototypeOf(this, t);
157
+ Object.defineProperty(this, "name", {
158
+ configurable: true,
159
+ enumerable: false,
160
+ value: DecodeError.name
161
+ });
162
+ }
163
+ }
164
+
165
+ const l = 4294967295;
166
+
167
+ function u(e, t, s) {
168
+ const i = s / 4294967296;
169
+ const n = s;
170
+ e.setUint32(t, i);
171
+ e.setUint32(t + 4, n);
172
+ }
173
+
174
+ function w(e, t, s) {
175
+ const i = Math.floor(s / 4294967296);
176
+ const n = s;
177
+ e.setUint32(t, i);
178
+ e.setUint32(t + 4, n);
179
+ }
180
+
181
+ function g(e, t) {
182
+ const s = e.getInt32(t);
183
+ const i = e.getUint32(t + 4);
184
+ return s * 4294967296 + i;
185
+ }
186
+
187
+ function y(e, t) {
188
+ const s = e.getUint32(t);
189
+ const i = e.getUint32(t + 4);
190
+ return s * 4294967296 + i;
191
+ }
192
+
193
+ const p = -1;
194
+
195
+ const U = 4294967296 - 1;
196
+
197
+ const x = 17179869184 - 1;
198
+
199
+ function m({sec: e, nsec: t}) {
200
+ if (e >= 0 && t >= 0 && e <= x) {
201
+ if (t === 0 && e <= U) {
202
+ const t = new Uint8Array(4);
203
+ const s = new DataView(t.buffer);
204
+ s.setUint32(0, e);
205
+ return t;
206
+ } else {
207
+ const s = e / 4294967296;
208
+ const i = e & 4294967295;
209
+ const n = new Uint8Array(8);
210
+ const r = new DataView(n.buffer);
211
+ r.setUint32(0, t << 2 | s & 3);
212
+ r.setUint32(4, i);
213
+ return n;
214
+ }
215
+ } else {
216
+ const s = new Uint8Array(12);
217
+ const i = new DataView(s.buffer);
218
+ i.setUint32(0, t);
219
+ w(i, 4, e);
220
+ return s;
221
+ }
222
+ }
223
+
224
+ function B(e) {
225
+ const t = e.getTime();
226
+ const s = Math.floor(t / 1e3);
227
+ const i = (t - s * 1e3) * 1e6;
228
+ const n = Math.floor(i / 1e9);
229
+ return {
230
+ sec: s + n,
231
+ nsec: i - n * 1e9
232
+ };
233
+ }
234
+
235
+ function b(e) {
236
+ if (e instanceof Date) {
237
+ const t = B(e);
238
+ return m(t);
239
+ } else {
240
+ return null;
241
+ }
242
+ }
243
+
244
+ function S(e) {
245
+ const t = new DataView(e.buffer, e.byteOffset, e.byteLength);
246
+ switch (e.byteLength) {
247
+ case 4:
248
+ {
249
+ const e = t.getUint32(0);
250
+ const s = 0;
251
+ return {
252
+ sec: e,
253
+ nsec: s
254
+ };
255
+ }
256
+
257
+ case 8:
258
+ {
259
+ const e = t.getUint32(0);
260
+ const s = t.getUint32(4);
261
+ const i = (e & 3) * 4294967296 + s;
262
+ const n = e >>> 2;
263
+ return {
264
+ sec: i,
265
+ nsec: n
266
+ };
267
+ }
268
+
269
+ case 12:
270
+ {
271
+ const e = g(t, 4);
272
+ const s = t.getUint32(0);
273
+ return {
274
+ sec: e,
275
+ nsec: s
276
+ };
277
+ }
278
+
279
+ default:
280
+ throw new DecodeError(`Unrecognized data size for timestamp (expected 4, 8, or 12): ${e.length}`);
281
+ }
282
+ }
283
+
284
+ function E(e) {
285
+ const t = S(e);
286
+ return new Date(t.sec * 1e3 + t.nsec / 1e6);
287
+ }
288
+
289
+ const I = {
290
+ type: p,
291
+ encode: b,
292
+ decode: E
293
+ };
294
+
295
+ class ExtensionCodec {
296
+ static defaultCodec=new ExtensionCodec;
297
+ __brand;
298
+ builtInEncoders=[];
299
+ builtInDecoders=[];
300
+ encoders=[];
301
+ decoders=[];
302
+ constructor() {
303
+ this.register(I);
304
+ }
305
+ register({type: e, encode: t, decode: s}) {
306
+ if (e >= 0) {
307
+ this.encoders[e] = t;
308
+ this.decoders[e] = s;
309
+ } else {
310
+ const i = -1 - e;
311
+ this.builtInEncoders[i] = t;
312
+ this.builtInDecoders[i] = s;
313
+ }
314
+ }
315
+ tryToEncode(e, t) {
316
+ for (let s = 0; s < this.builtInEncoders.length; s++) {
317
+ const i = this.builtInEncoders[s];
318
+ if (i != null) {
319
+ const n = i(e, t);
320
+ if (n != null) {
321
+ const e = -1 - s;
322
+ return new ExtData(e, n);
323
+ }
324
+ }
325
+ }
326
+ for (let s = 0; s < this.encoders.length; s++) {
327
+ const i = this.encoders[s];
328
+ if (i != null) {
329
+ const n = i(e, t);
330
+ if (n != null) {
331
+ const e = s;
332
+ return new ExtData(e, n);
333
+ }
334
+ }
335
+ }
336
+ if (e instanceof ExtData) {
337
+ return e;
338
+ }
339
+ return null;
340
+ }
341
+ decode(e, t, s) {
342
+ const i = t < 0 ? this.builtInDecoders[-1 - t] : this.decoders[t];
343
+ if (i) {
344
+ return i(e, t, s);
345
+ } else {
346
+ return new ExtData(t, e);
347
+ }
348
+ }
349
+ }
350
+
351
+ function A(e) {
352
+ return e instanceof ArrayBuffer || typeof SharedArrayBuffer !== "undefined" && e instanceof SharedArrayBuffer;
353
+ }
354
+
355
+ function k(e) {
356
+ if (e instanceof Uint8Array) {
357
+ return e;
358
+ } else if (ArrayBuffer.isView(e)) {
359
+ return new Uint8Array(e.buffer, e.byteOffset, e.byteLength);
360
+ } else if (A(e)) {
361
+ return new Uint8Array(e);
362
+ } else {
363
+ return Uint8Array.from(e);
364
+ }
365
+ }
366
+
367
+ const L = 100;
368
+
369
+ const D = 2048;
370
+
371
+ class Encoder {
372
+ extensionCodec;
373
+ context;
374
+ useBigInt64;
375
+ maxDepth;
376
+ initialBufferSize;
377
+ sortKeys;
378
+ forceFloat32;
379
+ ignoreUndefined;
380
+ forceIntegerToFloat;
381
+ pos;
382
+ view;
383
+ bytes;
384
+ entered=false;
385
+ constructor(e) {
386
+ this.extensionCodec = e?.extensionCodec ?? ExtensionCodec.defaultCodec;
387
+ this.context = e?.context;
388
+ this.useBigInt64 = e?.useBigInt64 ?? false;
389
+ this.maxDepth = e?.maxDepth ?? L;
390
+ this.initialBufferSize = e?.initialBufferSize ?? D;
391
+ this.sortKeys = e?.sortKeys ?? false;
392
+ this.forceFloat32 = e?.forceFloat32 ?? false;
393
+ this.ignoreUndefined = e?.ignoreUndefined ?? false;
394
+ this.forceIntegerToFloat = e?.forceIntegerToFloat ?? false;
395
+ this.pos = 0;
396
+ this.view = new DataView(new ArrayBuffer(this.initialBufferSize));
397
+ this.bytes = new Uint8Array(this.view.buffer);
398
+ }
399
+ clone() {
400
+ return new Encoder({
401
+ extensionCodec: this.extensionCodec,
402
+ context: this.context,
403
+ useBigInt64: this.useBigInt64,
404
+ maxDepth: this.maxDepth,
405
+ initialBufferSize: this.initialBufferSize,
406
+ sortKeys: this.sortKeys,
407
+ forceFloat32: this.forceFloat32,
408
+ ignoreUndefined: this.ignoreUndefined,
409
+ forceIntegerToFloat: this.forceIntegerToFloat
410
+ });
411
+ }
412
+ reinitializeState() {
413
+ this.pos = 0;
414
+ }
415
+ encodeSharedRef(e) {
416
+ if (this.entered) {
417
+ const t = this.clone();
418
+ return t.encodeSharedRef(e);
419
+ }
420
+ try {
421
+ this.entered = true;
422
+ this.reinitializeState();
423
+ this.doEncode(e, 1);
424
+ return this.bytes.subarray(0, this.pos);
425
+ } finally {
426
+ this.entered = false;
427
+ }
428
+ }
429
+ encode(e) {
430
+ if (this.entered) {
431
+ const t = this.clone();
432
+ return t.encode(e);
433
+ }
434
+ try {
435
+ this.entered = true;
436
+ this.reinitializeState();
437
+ this.doEncode(e, 1);
438
+ return this.bytes.slice(0, this.pos);
439
+ } finally {
440
+ this.entered = false;
441
+ }
442
+ }
443
+ doEncode(e, t) {
444
+ if (t > this.maxDepth) {
445
+ throw new Error(`Too deep objects in depth ${t}`);
446
+ }
447
+ if (e == null) {
448
+ this.encodeNil();
449
+ } else if (typeof e === "boolean") {
450
+ this.encodeBoolean(e);
451
+ } else if (typeof e === "number") {
452
+ if (!this.forceIntegerToFloat) {
453
+ this.encodeNumber(e);
454
+ } else {
455
+ this.encodeNumberAsFloat(e);
456
+ }
457
+ } else if (typeof e === "string") {
458
+ this.encodeString(e);
459
+ } else if (this.useBigInt64 && typeof e === "bigint") {
460
+ this.encodeBigInt64(e);
461
+ } else {
462
+ this.encodeObject(e, t);
463
+ }
464
+ }
465
+ ensureBufferSizeToWrite(e) {
466
+ const t = this.pos + e;
467
+ if (this.view.byteLength < t) {
468
+ this.resizeBuffer(t * 2);
469
+ }
470
+ }
471
+ resizeBuffer(e) {
472
+ const t = new ArrayBuffer(e);
473
+ const s = new Uint8Array(t);
474
+ const i = new DataView(t);
475
+ s.set(this.bytes);
476
+ this.view = i;
477
+ this.bytes = s;
478
+ }
479
+ encodeNil() {
480
+ this.writeU8(192);
481
+ }
482
+ encodeBoolean(e) {
483
+ if (e === false) {
484
+ this.writeU8(194);
485
+ } else {
486
+ this.writeU8(195);
487
+ }
488
+ }
489
+ encodeNumber(e) {
490
+ if (!this.forceIntegerToFloat && Number.isSafeInteger(e)) {
491
+ if (e >= 0) {
492
+ if (e < 128) {
493
+ this.writeU8(e);
494
+ } else if (e < 256) {
495
+ this.writeU8(204);
496
+ this.writeU8(e);
497
+ } else if (e < 65536) {
498
+ this.writeU8(205);
499
+ this.writeU16(e);
500
+ } else if (e < 4294967296) {
501
+ this.writeU8(206);
502
+ this.writeU32(e);
503
+ } else if (!this.useBigInt64) {
504
+ this.writeU8(207);
505
+ this.writeU64(e);
506
+ } else {
507
+ this.encodeNumberAsFloat(e);
508
+ }
509
+ } else {
510
+ if (e >= -32) {
511
+ this.writeU8(224 | e + 32);
512
+ } else if (e >= -128) {
513
+ this.writeU8(208);
514
+ this.writeI8(e);
515
+ } else if (e >= -32768) {
516
+ this.writeU8(209);
517
+ this.writeI16(e);
518
+ } else if (e >= -2147483648) {
519
+ this.writeU8(210);
520
+ this.writeI32(e);
521
+ } else if (!this.useBigInt64) {
522
+ this.writeU8(211);
523
+ this.writeI64(e);
524
+ } else {
525
+ this.encodeNumberAsFloat(e);
526
+ }
527
+ }
528
+ } else {
529
+ this.encodeNumberAsFloat(e);
530
+ }
531
+ }
532
+ encodeNumberAsFloat(e) {
533
+ if (this.forceFloat32) {
534
+ this.writeU8(202);
535
+ this.writeF32(e);
536
+ } else {
537
+ this.writeU8(203);
538
+ this.writeF64(e);
539
+ }
540
+ }
541
+ encodeBigInt64(e) {
542
+ if (e >= BigInt(0)) {
543
+ this.writeU8(207);
544
+ this.writeBigUint64(e);
545
+ } else {
546
+ this.writeU8(211);
547
+ this.writeBigInt64(e);
548
+ }
549
+ }
550
+ writeStringHeader(e) {
551
+ if (e < 32) {
552
+ this.writeU8(160 + e);
553
+ } else if (e < 256) {
554
+ this.writeU8(217);
555
+ this.writeU8(e);
556
+ } else if (e < 65536) {
557
+ this.writeU8(218);
558
+ this.writeU16(e);
559
+ } else if (e < 4294967296) {
560
+ this.writeU8(219);
561
+ this.writeU32(e);
562
+ } else {
563
+ throw new Error(`Too long string: ${e} bytes in UTF-8`);
564
+ }
565
+ }
566
+ encodeString(t) {
567
+ const s = 1 + 4;
568
+ const i = e(t);
569
+ this.ensureBufferSizeToWrite(s + i);
570
+ this.writeStringHeader(i);
571
+ r(t, this.bytes, this.pos);
572
+ this.pos += i;
573
+ }
574
+ encodeObject(e, t) {
575
+ const s = this.extensionCodec.tryToEncode(e, this.context);
576
+ if (s != null) {
577
+ this.encodeExtension(s);
578
+ } else if (Array.isArray(e)) {
579
+ this.encodeArray(e, t);
580
+ } else if (ArrayBuffer.isView(e)) {
581
+ this.encodeBinary(e);
582
+ } else if (typeof e === "object") {
583
+ this.encodeMap(e, t);
584
+ } else {
585
+ throw new Error(`Unrecognized object: ${Object.prototype.toString.apply(e)}`);
586
+ }
587
+ }
588
+ encodeBinary(e) {
589
+ const t = e.byteLength;
590
+ if (t < 256) {
591
+ this.writeU8(196);
592
+ this.writeU8(t);
593
+ } else if (t < 65536) {
594
+ this.writeU8(197);
595
+ this.writeU16(t);
596
+ } else if (t < 4294967296) {
597
+ this.writeU8(198);
598
+ this.writeU32(t);
599
+ } else {
600
+ throw new Error(`Too large binary: ${t}`);
601
+ }
602
+ const s = k(e);
603
+ this.writeU8a(s);
604
+ }
605
+ encodeArray(e, t) {
606
+ const s = e.length;
607
+ if (s < 16) {
608
+ this.writeU8(144 + s);
609
+ } else if (s < 65536) {
610
+ this.writeU8(220);
611
+ this.writeU16(s);
612
+ } else if (s < 4294967296) {
613
+ this.writeU8(221);
614
+ this.writeU32(s);
615
+ } else {
616
+ throw new Error(`Too large array: ${s}`);
617
+ }
618
+ for (const s of e) {
619
+ this.doEncode(s, t + 1);
620
+ }
621
+ }
622
+ countWithoutUndefined(e, t) {
623
+ let s = 0;
624
+ for (const i of t) {
625
+ if (e[i] !== undefined) {
626
+ s++;
627
+ }
628
+ }
629
+ return s;
630
+ }
631
+ encodeMap(e, t) {
632
+ const s = Object.keys(e);
633
+ if (this.sortKeys) {
634
+ s.sort();
635
+ }
636
+ const i = this.ignoreUndefined ? this.countWithoutUndefined(e, s) : s.length;
637
+ if (i < 16) {
638
+ this.writeU8(128 + i);
639
+ } else if (i < 65536) {
640
+ this.writeU8(222);
641
+ this.writeU16(i);
642
+ } else if (i < 4294967296) {
643
+ this.writeU8(223);
644
+ this.writeU32(i);
645
+ } else {
646
+ throw new Error(`Too large map object: ${i}`);
647
+ }
648
+ for (const i of s) {
649
+ const s = e[i];
650
+ if (!(this.ignoreUndefined && s === undefined)) {
651
+ this.encodeString(i);
652
+ this.doEncode(s, t + 1);
653
+ }
654
+ }
655
+ }
656
+ encodeExtension(e) {
657
+ if (typeof e.data === "function") {
658
+ const t = e.data(this.pos + 6);
659
+ const s = t.length;
660
+ if (s >= 4294967296) {
661
+ throw new Error(`Too large extension object: ${s}`);
662
+ }
663
+ this.writeU8(201);
664
+ this.writeU32(s);
665
+ this.writeI8(e.type);
666
+ this.writeU8a(t);
667
+ return;
668
+ }
669
+ const t = e.data.length;
670
+ if (t === 1) {
671
+ this.writeU8(212);
672
+ } else if (t === 2) {
673
+ this.writeU8(213);
674
+ } else if (t === 4) {
675
+ this.writeU8(214);
676
+ } else if (t === 8) {
677
+ this.writeU8(215);
678
+ } else if (t === 16) {
679
+ this.writeU8(216);
680
+ } else if (t < 256) {
681
+ this.writeU8(199);
682
+ this.writeU8(t);
683
+ } else if (t < 65536) {
684
+ this.writeU8(200);
685
+ this.writeU16(t);
686
+ } else if (t < 4294967296) {
687
+ this.writeU8(201);
688
+ this.writeU32(t);
689
+ } else {
690
+ throw new Error(`Too large extension object: ${t}`);
691
+ }
692
+ this.writeI8(e.type);
693
+ this.writeU8a(e.data);
694
+ }
695
+ writeU8(e) {
696
+ this.ensureBufferSizeToWrite(1);
697
+ this.view.setUint8(this.pos, e);
698
+ this.pos++;
699
+ }
700
+ writeU8a(e) {
701
+ const t = e.length;
702
+ this.ensureBufferSizeToWrite(t);
703
+ this.bytes.set(e, this.pos);
704
+ this.pos += t;
705
+ }
706
+ writeI8(e) {
707
+ this.ensureBufferSizeToWrite(1);
708
+ this.view.setInt8(this.pos, e);
709
+ this.pos++;
710
+ }
711
+ writeU16(e) {
712
+ this.ensureBufferSizeToWrite(2);
713
+ this.view.setUint16(this.pos, e);
714
+ this.pos += 2;
715
+ }
716
+ writeI16(e) {
717
+ this.ensureBufferSizeToWrite(2);
718
+ this.view.setInt16(this.pos, e);
719
+ this.pos += 2;
720
+ }
721
+ writeU32(e) {
722
+ this.ensureBufferSizeToWrite(4);
723
+ this.view.setUint32(this.pos, e);
724
+ this.pos += 4;
725
+ }
726
+ writeI32(e) {
727
+ this.ensureBufferSizeToWrite(4);
728
+ this.view.setInt32(this.pos, e);
729
+ this.pos += 4;
730
+ }
731
+ writeF32(e) {
732
+ this.ensureBufferSizeToWrite(4);
733
+ this.view.setFloat32(this.pos, e);
734
+ this.pos += 4;
735
+ }
736
+ writeF64(e) {
737
+ this.ensureBufferSizeToWrite(8);
738
+ this.view.setFloat64(this.pos, e);
739
+ this.pos += 8;
740
+ }
741
+ writeU64(e) {
742
+ this.ensureBufferSizeToWrite(8);
743
+ u(this.view, this.pos, e);
744
+ this.pos += 8;
745
+ }
746
+ writeI64(e) {
747
+ this.ensureBufferSizeToWrite(8);
748
+ w(this.view, this.pos, e);
749
+ this.pos += 8;
750
+ }
751
+ writeBigUint64(e) {
752
+ this.ensureBufferSizeToWrite(8);
753
+ this.view.setBigUint64(this.pos, e);
754
+ this.pos += 8;
755
+ }
756
+ writeBigInt64(e) {
757
+ this.ensureBufferSizeToWrite(8);
758
+ this.view.setBigInt64(this.pos, e);
759
+ this.pos += 8;
760
+ }
761
+ }
762
+
763
+ function z(e, t) {
764
+ const s = new Encoder(t);
765
+ return s.encodeSharedRef(e);
766
+ }
767
+
768
+ function v(e) {
769
+ return `${e < 0 ? "-" : ""}0x${Math.abs(e).toString(16).padStart(2, "0")}`;
770
+ }
771
+
772
+ const C = 16;
773
+
774
+ const T = 16;
775
+
776
+ class CachedKeyDecoder {
777
+ hit=0;
778
+ miss=0;
779
+ caches;
780
+ maxKeyLength;
781
+ maxLengthPerKey;
782
+ constructor(e = C, t = T) {
783
+ this.maxKeyLength = e;
784
+ this.maxLengthPerKey = t;
785
+ this.caches = [];
786
+ for (let e = 0; e < this.maxKeyLength; e++) {
787
+ this.caches.push([]);
788
+ }
789
+ }
790
+ canBeCached(e) {
791
+ return e > 0 && e <= this.maxKeyLength;
792
+ }
793
+ find(e, t, s) {
794
+ const i = this.caches[s - 1];
795
+ e: for (const n of i) {
796
+ const i = n.bytes;
797
+ for (let n = 0; n < s; n++) {
798
+ if (i[n] !== e[t + n]) {
799
+ continue e;
800
+ }
801
+ }
802
+ return n.str;
803
+ }
804
+ return null;
805
+ }
806
+ store(e, t) {
807
+ const s = this.caches[e.length - 1];
808
+ const i = {
809
+ bytes: e,
810
+ str: t
811
+ };
812
+ if (s.length >= this.maxLengthPerKey) {
813
+ s[Math.random() * s.length | 0] = i;
814
+ } else {
815
+ s.push(i);
816
+ }
817
+ }
818
+ decode(e, t, s) {
819
+ const i = this.find(e, t, s);
820
+ if (i != null) {
821
+ this.hit++;
822
+ return i;
823
+ }
824
+ this.miss++;
825
+ const n = h(e, t, s);
826
+ const r = Uint8Array.prototype.slice.call(e, t, t + s);
827
+ this.store(r, n);
828
+ return n;
829
+ }
830
+ }
831
+
832
+ const M = "array";
833
+
834
+ const F = "map_key";
835
+
836
+ const P = "map_value";
837
+
838
+ const $ = e => {
839
+ if (typeof e === "string" || typeof e === "number") {
840
+ return e;
841
+ }
842
+ throw new DecodeError("The type of key must be string or number but " + typeof e);
843
+ };
844
+
845
+ class StackPool {
846
+ stack=[];
847
+ stackHeadPosition=-1;
848
+ get length() {
849
+ return this.stackHeadPosition + 1;
850
+ }
851
+ top() {
852
+ return this.stack[this.stackHeadPosition];
853
+ }
854
+ pushArrayState(e) {
855
+ const t = this.getUninitializedStateFromPool();
856
+ t.type = M;
857
+ t.position = 0;
858
+ t.size = e;
859
+ t.array = new Array(e);
860
+ }
861
+ pushMapState(e) {
862
+ const t = this.getUninitializedStateFromPool();
863
+ t.type = F;
864
+ t.readCount = 0;
865
+ t.size = e;
866
+ t.map = {};
867
+ }
868
+ getUninitializedStateFromPool() {
869
+ this.stackHeadPosition++;
870
+ if (this.stackHeadPosition === this.stack.length) {
871
+ const e = {
872
+ type: undefined,
873
+ size: 0,
874
+ array: undefined,
875
+ position: 0,
876
+ readCount: 0,
877
+ map: undefined,
878
+ key: null
879
+ };
880
+ this.stack.push(e);
881
+ }
882
+ return this.stack[this.stackHeadPosition];
883
+ }
884
+ release(e) {
885
+ const t = this.stack[this.stackHeadPosition];
886
+ if (t !== e) {
887
+ throw new Error("Invalid stack state. Released state is not on top of the stack.");
888
+ }
889
+ if (e.type === M) {
890
+ const t = e;
891
+ t.size = 0;
892
+ t.array = undefined;
893
+ t.position = 0;
894
+ t.type = undefined;
895
+ }
896
+ if (e.type === F || e.type === P) {
897
+ const t = e;
898
+ t.size = 0;
899
+ t.map = undefined;
900
+ t.readCount = 0;
901
+ t.type = undefined;
902
+ }
903
+ this.stackHeadPosition--;
904
+ }
905
+ reset() {
906
+ this.stack.length = 0;
907
+ this.stackHeadPosition = -1;
908
+ }
909
+ }
910
+
911
+ const K = -1;
912
+
913
+ const R = new DataView(new ArrayBuffer(0));
914
+
915
+ const W = new Uint8Array(R.buffer);
916
+
917
+ try {
918
+ R.getInt8(0);
919
+ } catch (e) {
920
+ if (!(e instanceof RangeError)) {
921
+ throw new Error("This module is not supported in the current JavaScript engine because DataView does not throw RangeError on out-of-bounds access");
922
+ }
923
+ }
924
+
925
+ const H = new RangeError("Insufficient data");
926
+
927
+ const j = new CachedKeyDecoder;
928
+
929
+ class Decoder {
930
+ extensionCodec;
931
+ context;
932
+ useBigInt64;
933
+ rawStrings;
934
+ maxStrLength;
935
+ maxBinLength;
936
+ maxArrayLength;
937
+ maxMapLength;
938
+ maxExtLength;
939
+ keyDecoder;
940
+ mapKeyConverter;
941
+ totalPos=0;
942
+ pos=0;
943
+ view=R;
944
+ bytes=W;
945
+ headByte=K;
946
+ stack=new StackPool;
947
+ entered=false;
948
+ constructor(e) {
949
+ this.extensionCodec = e?.extensionCodec ?? ExtensionCodec.defaultCodec;
950
+ this.context = e?.context;
951
+ this.useBigInt64 = e?.useBigInt64 ?? false;
952
+ this.rawStrings = e?.rawStrings ?? false;
953
+ this.maxStrLength = e?.maxStrLength ?? l;
954
+ this.maxBinLength = e?.maxBinLength ?? l;
955
+ this.maxArrayLength = e?.maxArrayLength ?? l;
956
+ this.maxMapLength = e?.maxMapLength ?? l;
957
+ this.maxExtLength = e?.maxExtLength ?? l;
958
+ this.keyDecoder = e?.keyDecoder !== undefined ? e.keyDecoder : j;
959
+ this.mapKeyConverter = e?.mapKeyConverter ?? $;
960
+ }
961
+ clone() {
962
+ return new Decoder({
963
+ extensionCodec: this.extensionCodec,
964
+ context: this.context,
965
+ useBigInt64: this.useBigInt64,
966
+ rawStrings: this.rawStrings,
967
+ maxStrLength: this.maxStrLength,
968
+ maxBinLength: this.maxBinLength,
969
+ maxArrayLength: this.maxArrayLength,
970
+ maxMapLength: this.maxMapLength,
971
+ maxExtLength: this.maxExtLength,
972
+ keyDecoder: this.keyDecoder
973
+ });
974
+ }
975
+ reinitializeState() {
976
+ this.totalPos = 0;
977
+ this.headByte = K;
978
+ this.stack.reset();
979
+ }
980
+ setBuffer(e) {
981
+ const t = k(e);
982
+ this.bytes = t;
983
+ this.view = new DataView(t.buffer, t.byteOffset, t.byteLength);
984
+ this.pos = 0;
985
+ }
986
+ appendBuffer(e) {
987
+ if (this.headByte === K && !this.hasRemaining(1)) {
988
+ this.setBuffer(e);
989
+ } else {
990
+ const t = this.bytes.subarray(this.pos);
991
+ const s = k(e);
992
+ const i = new Uint8Array(t.length + s.length);
993
+ i.set(t);
994
+ i.set(s, t.length);
995
+ this.setBuffer(i);
996
+ }
997
+ }
998
+ hasRemaining(e) {
999
+ return this.view.byteLength - this.pos >= e;
1000
+ }
1001
+ createExtraByteError(e) {
1002
+ const {view: t, pos: s} = this;
1003
+ return new RangeError(`Extra ${t.byteLength - s} of ${t.byteLength} byte(s) found at buffer[${e}]`);
1004
+ }
1005
+ decode(e) {
1006
+ if (this.entered) {
1007
+ const t = this.clone();
1008
+ return t.decode(e);
1009
+ }
1010
+ try {
1011
+ this.entered = true;
1012
+ this.reinitializeState();
1013
+ this.setBuffer(e);
1014
+ const t = this.doDecodeSync();
1015
+ if (this.hasRemaining(1)) {
1016
+ throw this.createExtraByteError(this.pos);
1017
+ }
1018
+ return t;
1019
+ } finally {
1020
+ this.entered = false;
1021
+ }
1022
+ }
1023
+ * decodeMulti(e) {
1024
+ if (this.entered) {
1025
+ const t = this.clone();
1026
+ yield* t.decodeMulti(e);
1027
+ return;
1028
+ }
1029
+ try {
1030
+ this.entered = true;
1031
+ this.reinitializeState();
1032
+ this.setBuffer(e);
1033
+ while (this.hasRemaining(1)) {
1034
+ yield this.doDecodeSync();
1035
+ }
1036
+ } finally {
1037
+ this.entered = false;
1038
+ }
1039
+ }
1040
+ async decodeAsync(e) {
1041
+ if (this.entered) {
1042
+ const t = this.clone();
1043
+ return t.decodeAsync(e);
1044
+ }
1045
+ try {
1046
+ this.entered = true;
1047
+ let t = false;
1048
+ let s;
1049
+ for await (const i of e) {
1050
+ if (t) {
1051
+ this.entered = false;
1052
+ throw this.createExtraByteError(this.totalPos);
1053
+ }
1054
+ this.appendBuffer(i);
1055
+ try {
1056
+ s = this.doDecodeSync();
1057
+ t = true;
1058
+ } catch (e) {
1059
+ if (!(e instanceof RangeError)) {
1060
+ throw e;
1061
+ }
1062
+ }
1063
+ this.totalPos += this.pos;
1064
+ }
1065
+ if (t) {
1066
+ if (this.hasRemaining(1)) {
1067
+ throw this.createExtraByteError(this.totalPos);
1068
+ }
1069
+ return s;
1070
+ }
1071
+ const {headByte: i, pos: n, totalPos: r} = this;
1072
+ throw new RangeError(`Insufficient data in parsing ${v(i)} at ${r} (${n} in the current buffer)`);
1073
+ } finally {
1074
+ this.entered = false;
1075
+ }
1076
+ }
1077
+ decodeArrayStream(e) {
1078
+ return this.decodeMultiAsync(e, true);
1079
+ }
1080
+ decodeStream(e) {
1081
+ return this.decodeMultiAsync(e, false);
1082
+ }
1083
+ async* decodeMultiAsync(e, t) {
1084
+ if (this.entered) {
1085
+ const s = this.clone();
1086
+ yield* s.decodeMultiAsync(e, t);
1087
+ return;
1088
+ }
1089
+ try {
1090
+ this.entered = true;
1091
+ let s = t;
1092
+ let i = -1;
1093
+ for await (const n of e) {
1094
+ if (t && i === 0) {
1095
+ throw this.createExtraByteError(this.totalPos);
1096
+ }
1097
+ this.appendBuffer(n);
1098
+ if (s) {
1099
+ i = this.readArraySize();
1100
+ s = false;
1101
+ this.complete();
1102
+ }
1103
+ try {
1104
+ while (true) {
1105
+ yield this.doDecodeSync();
1106
+ if (--i === 0) {
1107
+ break;
1108
+ }
1109
+ }
1110
+ } catch (e) {
1111
+ if (!(e instanceof RangeError)) {
1112
+ throw e;
1113
+ }
1114
+ }
1115
+ this.totalPos += this.pos;
1116
+ }
1117
+ } finally {
1118
+ this.entered = false;
1119
+ }
1120
+ }
1121
+ doDecodeSync() {
1122
+ e: while (true) {
1123
+ const e = this.readHeadByte();
1124
+ let t;
1125
+ if (e >= 224) {
1126
+ t = e - 256;
1127
+ } else if (e < 192) {
1128
+ if (e < 128) {
1129
+ t = e;
1130
+ } else if (e < 144) {
1131
+ const s = e - 128;
1132
+ if (s !== 0) {
1133
+ this.pushMapState(s);
1134
+ this.complete();
1135
+ continue e;
1136
+ } else {
1137
+ t = {};
1138
+ }
1139
+ } else if (e < 160) {
1140
+ const s = e - 144;
1141
+ if (s !== 0) {
1142
+ this.pushArrayState(s);
1143
+ this.complete();
1144
+ continue e;
1145
+ } else {
1146
+ t = [];
1147
+ }
1148
+ } else {
1149
+ const s = e - 160;
1150
+ t = this.decodeString(s, 0);
1151
+ }
1152
+ } else if (e === 192) {
1153
+ t = null;
1154
+ } else if (e === 194) {
1155
+ t = false;
1156
+ } else if (e === 195) {
1157
+ t = true;
1158
+ } else if (e === 202) {
1159
+ t = this.readF32();
1160
+ } else if (e === 203) {
1161
+ t = this.readF64();
1162
+ } else if (e === 204) {
1163
+ t = this.readU8();
1164
+ } else if (e === 205) {
1165
+ t = this.readU16();
1166
+ } else if (e === 206) {
1167
+ t = this.readU32();
1168
+ } else if (e === 207) {
1169
+ if (this.useBigInt64) {
1170
+ t = this.readU64AsBigInt();
1171
+ } else {
1172
+ t = this.readU64();
1173
+ }
1174
+ } else if (e === 208) {
1175
+ t = this.readI8();
1176
+ } else if (e === 209) {
1177
+ t = this.readI16();
1178
+ } else if (e === 210) {
1179
+ t = this.readI32();
1180
+ } else if (e === 211) {
1181
+ if (this.useBigInt64) {
1182
+ t = this.readI64AsBigInt();
1183
+ } else {
1184
+ t = this.readI64();
1185
+ }
1186
+ } else if (e === 217) {
1187
+ const e = this.lookU8();
1188
+ t = this.decodeString(e, 1);
1189
+ } else if (e === 218) {
1190
+ const e = this.lookU16();
1191
+ t = this.decodeString(e, 2);
1192
+ } else if (e === 219) {
1193
+ const e = this.lookU32();
1194
+ t = this.decodeString(e, 4);
1195
+ } else if (e === 220) {
1196
+ const e = this.readU16();
1197
+ if (e !== 0) {
1198
+ this.pushArrayState(e);
1199
+ this.complete();
1200
+ continue e;
1201
+ } else {
1202
+ t = [];
1203
+ }
1204
+ } else if (e === 221) {
1205
+ const e = this.readU32();
1206
+ if (e !== 0) {
1207
+ this.pushArrayState(e);
1208
+ this.complete();
1209
+ continue e;
1210
+ } else {
1211
+ t = [];
1212
+ }
1213
+ } else if (e === 222) {
1214
+ const e = this.readU16();
1215
+ if (e !== 0) {
1216
+ this.pushMapState(e);
1217
+ this.complete();
1218
+ continue e;
1219
+ } else {
1220
+ t = {};
1221
+ }
1222
+ } else if (e === 223) {
1223
+ const e = this.readU32();
1224
+ if (e !== 0) {
1225
+ this.pushMapState(e);
1226
+ this.complete();
1227
+ continue e;
1228
+ } else {
1229
+ t = {};
1230
+ }
1231
+ } else if (e === 196) {
1232
+ const e = this.lookU8();
1233
+ t = this.decodeBinary(e, 1);
1234
+ } else if (e === 197) {
1235
+ const e = this.lookU16();
1236
+ t = this.decodeBinary(e, 2);
1237
+ } else if (e === 198) {
1238
+ const e = this.lookU32();
1239
+ t = this.decodeBinary(e, 4);
1240
+ } else if (e === 212) {
1241
+ t = this.decodeExtension(1, 0);
1242
+ } else if (e === 213) {
1243
+ t = this.decodeExtension(2, 0);
1244
+ } else if (e === 214) {
1245
+ t = this.decodeExtension(4, 0);
1246
+ } else if (e === 215) {
1247
+ t = this.decodeExtension(8, 0);
1248
+ } else if (e === 216) {
1249
+ t = this.decodeExtension(16, 0);
1250
+ } else if (e === 199) {
1251
+ const e = this.lookU8();
1252
+ t = this.decodeExtension(e, 1);
1253
+ } else if (e === 200) {
1254
+ const e = this.lookU16();
1255
+ t = this.decodeExtension(e, 2);
1256
+ } else if (e === 201) {
1257
+ const e = this.lookU32();
1258
+ t = this.decodeExtension(e, 4);
1259
+ } else {
1260
+ throw new DecodeError(`Unrecognized type byte: ${v(e)}`);
1261
+ }
1262
+ this.complete();
1263
+ const s = this.stack;
1264
+ while (s.length > 0) {
1265
+ const e = s.top();
1266
+ if (e.type === M) {
1267
+ e.array[e.position] = t;
1268
+ e.position++;
1269
+ if (e.position === e.size) {
1270
+ t = e.array;
1271
+ s.release(e);
1272
+ } else {
1273
+ continue e;
1274
+ }
1275
+ } else if (e.type === F) {
1276
+ if (t === "__proto__") {
1277
+ throw new DecodeError("The key __proto__ is not allowed");
1278
+ }
1279
+ e.key = this.mapKeyConverter(t);
1280
+ e.type = P;
1281
+ continue e;
1282
+ } else {
1283
+ e.map[e.key] = t;
1284
+ e.readCount++;
1285
+ if (e.readCount === e.size) {
1286
+ t = e.map;
1287
+ s.release(e);
1288
+ } else {
1289
+ e.key = null;
1290
+ e.type = F;
1291
+ continue e;
1292
+ }
1293
+ }
1294
+ }
1295
+ return t;
1296
+ }
1297
+ }
1298
+ readHeadByte() {
1299
+ if (this.headByte === K) {
1300
+ this.headByte = this.readU8();
1301
+ }
1302
+ return this.headByte;
1303
+ }
1304
+ complete() {
1305
+ this.headByte = K;
1306
+ }
1307
+ readArraySize() {
1308
+ const e = this.readHeadByte();
1309
+ switch (e) {
1310
+ case 220:
1311
+ return this.readU16();
1312
+
1313
+ case 221:
1314
+ return this.readU32();
1315
+
1316
+ default:
1317
+ {
1318
+ if (e < 160) {
1319
+ return e - 144;
1320
+ } else {
1321
+ throw new DecodeError(`Unrecognized array type byte: ${v(e)}`);
1322
+ }
1323
+ }
1324
+ }
1325
+ }
1326
+ pushMapState(e) {
1327
+ if (e > this.maxMapLength) {
1328
+ throw new DecodeError(`Max length exceeded: map length (${e}) > maxMapLengthLength (${this.maxMapLength})`);
1329
+ }
1330
+ this.stack.pushMapState(e);
1331
+ }
1332
+ pushArrayState(e) {
1333
+ if (e > this.maxArrayLength) {
1334
+ throw new DecodeError(`Max length exceeded: array length (${e}) > maxArrayLength (${this.maxArrayLength})`);
1335
+ }
1336
+ this.stack.pushArrayState(e);
1337
+ }
1338
+ decodeString(e, t) {
1339
+ if (!this.rawStrings || this.stateIsMapKey()) {
1340
+ return this.decodeUtf8String(e, t);
1341
+ }
1342
+ return this.decodeBinary(e, t);
1343
+ }
1344
+ decodeUtf8String(e, t) {
1345
+ if (e > this.maxStrLength) {
1346
+ throw new DecodeError(`Max length exceeded: UTF-8 byte length (${e}) > maxStrLength (${this.maxStrLength})`);
1347
+ }
1348
+ if (this.bytes.byteLength < this.pos + t + e) {
1349
+ throw H;
1350
+ }
1351
+ const s = this.pos + t;
1352
+ let i;
1353
+ if (this.stateIsMapKey() && this.keyDecoder?.canBeCached(e)) {
1354
+ i = this.keyDecoder.decode(this.bytes, s, e);
1355
+ } else {
1356
+ i = d(this.bytes, s, e);
1357
+ }
1358
+ this.pos += t + e;
1359
+ return i;
1360
+ }
1361
+ stateIsMapKey() {
1362
+ if (this.stack.length > 0) {
1363
+ const e = this.stack.top();
1364
+ return e.type === F;
1365
+ }
1366
+ return false;
1367
+ }
1368
+ decodeBinary(e, t) {
1369
+ if (e > this.maxBinLength) {
1370
+ throw new DecodeError(`Max length exceeded: bin length (${e}) > maxBinLength (${this.maxBinLength})`);
1371
+ }
1372
+ if (!this.hasRemaining(e + t)) {
1373
+ throw H;
1374
+ }
1375
+ const s = this.pos + t;
1376
+ const i = this.bytes.subarray(s, s + e);
1377
+ this.pos += t + e;
1378
+ return i;
1379
+ }
1380
+ decodeExtension(e, t) {
1381
+ if (e > this.maxExtLength) {
1382
+ throw new DecodeError(`Max length exceeded: ext length (${e}) > maxExtLength (${this.maxExtLength})`);
1383
+ }
1384
+ const s = this.view.getInt8(this.pos + t);
1385
+ const i = this.decodeBinary(e, t + 1);
1386
+ return this.extensionCodec.decode(i, s, this.context);
1387
+ }
1388
+ lookU8() {
1389
+ return this.view.getUint8(this.pos);
1390
+ }
1391
+ lookU16() {
1392
+ return this.view.getUint16(this.pos);
1393
+ }
1394
+ lookU32() {
1395
+ return this.view.getUint32(this.pos);
1396
+ }
1397
+ readU8() {
1398
+ const e = this.view.getUint8(this.pos);
1399
+ this.pos++;
1400
+ return e;
1401
+ }
1402
+ readI8() {
1403
+ const e = this.view.getInt8(this.pos);
1404
+ this.pos++;
1405
+ return e;
1406
+ }
1407
+ readU16() {
1408
+ const e = this.view.getUint16(this.pos);
1409
+ this.pos += 2;
1410
+ return e;
1411
+ }
1412
+ readI16() {
1413
+ const e = this.view.getInt16(this.pos);
1414
+ this.pos += 2;
1415
+ return e;
1416
+ }
1417
+ readU32() {
1418
+ const e = this.view.getUint32(this.pos);
1419
+ this.pos += 4;
1420
+ return e;
1421
+ }
1422
+ readI32() {
1423
+ const e = this.view.getInt32(this.pos);
1424
+ this.pos += 4;
1425
+ return e;
1426
+ }
1427
+ readU64() {
1428
+ const e = y(this.view, this.pos);
1429
+ this.pos += 8;
1430
+ return e;
1431
+ }
1432
+ readI64() {
1433
+ const e = g(this.view, this.pos);
1434
+ this.pos += 8;
1435
+ return e;
1436
+ }
1437
+ readU64AsBigInt() {
1438
+ const e = this.view.getBigUint64(this.pos);
1439
+ this.pos += 8;
1440
+ return e;
1441
+ }
1442
+ readI64AsBigInt() {
1443
+ const e = this.view.getBigInt64(this.pos);
1444
+ this.pos += 8;
1445
+ return e;
1446
+ }
1447
+ readF32() {
1448
+ const e = this.view.getFloat32(this.pos);
1449
+ this.pos += 4;
1450
+ return e;
1451
+ }
1452
+ readF64() {
1453
+ const e = this.view.getFloat64(this.pos);
1454
+ this.pos += 8;
1455
+ return e;
1456
+ }
1457
+ }
1458
+
1459
+ function _(e, t) {
1460
+ const s = new Decoder(t);
1461
+ return s.decode(e);
1462
+ }
1463
+
1464
+ class MessagePack {
1465
+ static encode(e) {
1466
+ return z(e, {
1467
+ useBigInt64: true
1468
+ });
1469
+ }
1470
+ static decode(e) {
1471
+ return _(e, {
1472
+ useBigInt64: true
1473
+ });
1474
+ }
1475
+ static stringify(e, t = "base64") {
1476
+ return Buffer.from(this.encode(e)).toString(t);
1477
+ }
1478
+ static parse(e, t = "base64") {
1479
+ return this.decode(Buffer.from(e, t));
1480
+ }
1481
+ }
1482
+
1483
+ export { MessagePack };