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,422 +4,415 @@ Object.defineProperty(exports, Symbol.toStringTag, {
4
4
  value: "Module"
5
5
  });
6
6
 
7
- const e = require("../../../vendor/Package.5.cjs");
7
+ const r = require("../../../vendor/Package.5.cjs");
8
8
 
9
9
  require("../../../vendor/Package.15.cjs");
10
10
 
11
11
  const t = require("crypto");
12
12
 
13
- const _interopDefault = e => e && e.__esModule ? e : {
14
- default: e
13
+ const e = r => r && r.__esModule ? r : {
14
+ default: r
15
15
  };
16
16
 
17
- const r = _interopDefault(t);
17
+ const n = e(t);
18
18
 
19
- var n = {
19
+ var i = {
20
20
  exports: {}
21
21
  };
22
22
 
23
- var i = n.exports;
23
+ var o = i.exports;
24
24
 
25
- var o;
26
-
27
- function requireObjectHash() {
28
- if (o) return n.exports;
29
- o = 1;
30
- (function(e, t) {
31
- "use strict";
32
- var n = r.default;
33
- t = e.exports = objectHash;
34
- function objectHash(e, t) {
35
- t = applyDefaults(e, t);
36
- return hash(e, t);
25
+ (function(r, t) {
26
+ "use strict";
27
+ var e = n.default;
28
+ t = r.exports = i;
29
+ function i(r, t) {
30
+ t = a(r, t);
31
+ return c(r, t);
32
+ }
33
+ t.sha1 = function(r) {
34
+ return i(r);
35
+ };
36
+ t.keys = function(r) {
37
+ return i(r, {
38
+ excludeValues: true,
39
+ algorithm: "sha1",
40
+ encoding: "hex"
41
+ });
42
+ };
43
+ t.MD5 = function(r) {
44
+ return i(r, {
45
+ algorithm: "md5",
46
+ encoding: "hex"
47
+ });
48
+ };
49
+ t.keysMD5 = function(r) {
50
+ return i(r, {
51
+ algorithm: "md5",
52
+ encoding: "hex",
53
+ excludeValues: true
54
+ });
55
+ };
56
+ var o = e.getHashes ? e.getHashes().slice() : [ "sha1", "md5" ];
57
+ o.push("passthrough");
58
+ var u = [ "buffer", "hex", "binary", "base64" ];
59
+ function a(r, t) {
60
+ t = t || {};
61
+ var e = {};
62
+ e.algorithm = t.algorithm || "sha1";
63
+ e.encoding = t.encoding || "hex";
64
+ e.excludeValues = t.excludeValues ? true : false;
65
+ e.algorithm = e.algorithm.toLowerCase();
66
+ e.encoding = e.encoding.toLowerCase();
67
+ e.ignoreUnknown = t.ignoreUnknown !== true ? false : true;
68
+ e.respectType = t.respectType === false ? false : true;
69
+ e.respectFunctionNames = t.respectFunctionNames === false ? false : true;
70
+ e.respectFunctionProperties = t.respectFunctionProperties === false ? false : true;
71
+ e.unorderedArrays = t.unorderedArrays !== true ? false : true;
72
+ e.unorderedSets = t.unorderedSets === false ? false : true;
73
+ e.unorderedObjects = t.unorderedObjects === false ? false : true;
74
+ e.replacer = t.replacer || undefined;
75
+ e.excludeKeys = t.excludeKeys || undefined;
76
+ if (typeof r === "undefined") {
77
+ throw new Error("Object argument required.");
37
78
  }
38
- t.sha1 = function(e) {
39
- return objectHash(e);
40
- };
41
- t.keys = function(e) {
42
- return objectHash(e, {
43
- excludeValues: true,
44
- algorithm: "sha1",
45
- encoding: "hex"
46
- });
47
- };
48
- t.MD5 = function(e) {
49
- return objectHash(e, {
50
- algorithm: "md5",
51
- encoding: "hex"
52
- });
53
- };
54
- t.keysMD5 = function(e) {
55
- return objectHash(e, {
56
- algorithm: "md5",
57
- encoding: "hex",
58
- excludeValues: true
59
- });
60
- };
61
- var i = n.getHashes ? n.getHashes().slice() : [ "sha1", "md5" ];
62
- i.push("passthrough");
63
- var o = [ "buffer", "hex", "binary", "base64" ];
64
- function applyDefaults(e, t) {
65
- t = t || {};
66
- var r = {};
67
- r.algorithm = t.algorithm || "sha1";
68
- r.encoding = t.encoding || "hex";
69
- r.excludeValues = t.excludeValues ? true : false;
70
- r.algorithm = r.algorithm.toLowerCase();
71
- r.encoding = r.encoding.toLowerCase();
72
- r.ignoreUnknown = t.ignoreUnknown !== true ? false : true;
73
- r.respectType = t.respectType === false ? false : true;
74
- r.respectFunctionNames = t.respectFunctionNames === false ? false : true;
75
- r.respectFunctionProperties = t.respectFunctionProperties === false ? false : true;
76
- r.unorderedArrays = t.unorderedArrays !== true ? false : true;
77
- r.unorderedSets = t.unorderedSets === false ? false : true;
78
- r.unorderedObjects = t.unorderedObjects === false ? false : true;
79
- r.replacer = t.replacer || undefined;
80
- r.excludeKeys = t.excludeKeys || undefined;
81
- if (typeof e === "undefined") {
82
- throw new Error("Object argument required.");
83
- }
84
- for (var n = 0; n < i.length; ++n) {
85
- if (i[n].toLowerCase() === r.algorithm.toLowerCase()) {
86
- r.algorithm = i[n];
87
- }
88
- }
89
- if (i.indexOf(r.algorithm) === -1) {
90
- throw new Error('Algorithm "' + r.algorithm + '" not supported. ' + "supported values: " + i.join(", "));
79
+ for (var n = 0; n < o.length; ++n) {
80
+ if (o[n].toLowerCase() === e.algorithm.toLowerCase()) {
81
+ e.algorithm = o[n];
91
82
  }
92
- if (o.indexOf(r.encoding) === -1 && r.algorithm !== "passthrough") {
93
- throw new Error('Encoding "' + r.encoding + '" not supported. ' + "supported values: " + o.join(", "));
94
- }
95
- return r;
96
83
  }
97
- function isNativeFunction(e) {
98
- if (typeof e !== "function") {
99
- return false;
100
- }
101
- var t = /^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i;
102
- return t.exec(Function.prototype.toString.call(e)) != null;
84
+ if (o.indexOf(e.algorithm) === -1) {
85
+ throw new Error('Algorithm "' + e.algorithm + '" not supported. ' + "supported values: " + o.join(", "));
103
86
  }
104
- function hash(e, t) {
105
- var r;
106
- if (t.algorithm !== "passthrough") {
107
- r = n.createHash(t.algorithm);
108
- } else {
109
- r = new PassThrough;
110
- }
111
- if (typeof r.write === "undefined") {
112
- r.write = r.update;
113
- r.end = r.update;
114
- }
115
- var i = typeHasher(t, r);
116
- i.dispatch(e);
117
- if (!r.update) {
118
- r.end("");
119
- }
120
- if (r.digest) {
121
- return r.digest(t.encoding === "buffer" ? undefined : t.encoding);
122
- }
123
- var o = r.read();
124
- if (t.encoding === "buffer") {
125
- return o;
126
- }
127
- return o.toString(t.encoding);
87
+ if (u.indexOf(e.encoding) === -1 && e.algorithm !== "passthrough") {
88
+ throw new Error('Encoding "' + e.encoding + '" not supported. ' + "supported values: " + u.join(", "));
89
+ }
90
+ return e;
91
+ }
92
+ function s(r) {
93
+ if (typeof r !== "function") {
94
+ return false;
95
+ }
96
+ var t = /^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i;
97
+ return t.exec(Function.prototype.toString.call(r)) != null;
98
+ }
99
+ function c(r, t) {
100
+ var n;
101
+ if (t.algorithm !== "passthrough") {
102
+ n = e.createHash(t.algorithm);
103
+ } else {
104
+ n = new l;
105
+ }
106
+ if (typeof n.write === "undefined") {
107
+ n.write = n.update;
108
+ n.end = n.update;
109
+ }
110
+ var i = f(t, n);
111
+ i.dispatch(r);
112
+ if (!n.update) {
113
+ n.end("");
114
+ }
115
+ if (n.digest) {
116
+ return n.digest(t.encoding === "buffer" ? undefined : t.encoding);
117
+ }
118
+ var o = n.read();
119
+ if (t.encoding === "buffer") {
120
+ return o;
121
+ }
122
+ return o.toString(t.encoding);
123
+ }
124
+ t.writeToStream = function(r, t, e) {
125
+ if (typeof e === "undefined") {
126
+ e = t;
127
+ t = {};
128
128
  }
129
- t.writeToStream = function(e, t, r) {
130
- if (typeof r === "undefined") {
131
- r = t;
132
- t = {};
129
+ t = a(r, t);
130
+ return f(t, e).dispatch(r);
131
+ };
132
+ function f(r, t, e) {
133
+ e = e || [];
134
+ var n = function(r) {
135
+ if (t.update) {
136
+ return t.update(r, "utf8");
137
+ } else {
138
+ return t.write(r, "utf8");
133
139
  }
134
- t = applyDefaults(e, t);
135
- return typeHasher(t, r).dispatch(e);
136
140
  };
137
- function typeHasher(e, t, r) {
138
- r = r || [];
139
- var write = function(e) {
140
- if (t.update) {
141
- return t.update(e, "utf8");
141
+ return {
142
+ dispatch: function(t) {
143
+ if (r.replacer) {
144
+ t = r.replacer(t);
145
+ }
146
+ var e = typeof t;
147
+ if (t === null) {
148
+ e = "null";
149
+ }
150
+ return this["_" + e](t);
151
+ },
152
+ _object: function(t) {
153
+ var i = /\[object (.*)\]/i;
154
+ var o = Object.prototype.toString.call(t);
155
+ var u = i.exec(o);
156
+ if (!u) {
157
+ u = "unknown:[" + o + "]";
142
158
  } else {
143
- return t.write(e, "utf8");
159
+ u = u[1];
144
160
  }
145
- };
146
- return {
147
- dispatch: function(t) {
148
- if (e.replacer) {
149
- t = e.replacer(t);
150
- }
151
- var r = typeof t;
152
- if (t === null) {
153
- r = "null";
154
- }
155
- return this["_" + r](t);
156
- },
157
- _object: function(t) {
158
- var n = /\[object (.*)\]/i;
159
- var i = Object.prototype.toString.call(t);
160
- var o = n.exec(i);
161
- if (!o) {
162
- o = "unknown:[" + i + "]";
163
- } else {
164
- o = o[1];
165
- }
166
- o = o.toLowerCase();
167
- var u = null;
168
- if ((u = r.indexOf(t)) >= 0) {
169
- return this.dispatch("[CIRCULAR:" + u + "]");
161
+ u = u.toLowerCase();
162
+ var a = null;
163
+ if ((a = e.indexOf(t)) >= 0) {
164
+ return this.dispatch("[CIRCULAR:" + a + "]");
165
+ } else {
166
+ e.push(t);
167
+ }
168
+ if (typeof Buffer !== "undefined" && Buffer.isBuffer && Buffer.isBuffer(t)) {
169
+ n("buffer:");
170
+ return n(t);
171
+ }
172
+ if (u !== "object" && u !== "function" && u !== "asyncfunction") {
173
+ if (this["_" + u]) {
174
+ this["_" + u](t);
175
+ } else if (r.ignoreUnknown) {
176
+ return n("[" + u + "]");
170
177
  } else {
171
- r.push(t);
178
+ throw new Error('Unknown object type "' + u + '"');
172
179
  }
173
- if (typeof Buffer !== "undefined" && Buffer.isBuffer && Buffer.isBuffer(t)) {
174
- write("buffer:");
175
- return write(t);
180
+ } else {
181
+ var c = Object.keys(t);
182
+ if (r.unorderedObjects) {
183
+ c = c.sort();
176
184
  }
177
- if (o !== "object" && o !== "function" && o !== "asyncfunction") {
178
- if (this["_" + o]) {
179
- this["_" + o](t);
180
- } else if (e.ignoreUnknown) {
181
- return write("[" + o + "]");
182
- } else {
183
- throw new Error('Unknown object type "' + o + '"');
184
- }
185
- } else {
186
- var a = Object.keys(t);
187
- if (e.unorderedObjects) {
188
- a = a.sort();
189
- }
190
- if (e.respectType !== false && !isNativeFunction(t)) {
191
- a.splice(0, 0, "prototype", "__proto__", "constructor");
192
- }
193
- if (e.excludeKeys) {
194
- a = a.filter((function(t) {
195
- return !e.excludeKeys(t);
196
- }));
197
- }
198
- write("object:" + a.length + ":");
199
- var s = this;
200
- return a.forEach((function(r) {
201
- s.dispatch(r);
202
- write(":");
203
- if (!e.excludeValues) {
204
- s.dispatch(t[r]);
205
- }
206
- write(",");
207
- }));
185
+ if (r.respectType !== false && !s(t)) {
186
+ c.splice(0, 0, "prototype", "__proto__", "constructor");
208
187
  }
209
- },
210
- _array: function(t, n) {
211
- n = typeof n !== "undefined" ? n : e.unorderedArrays !== false;
212
- var i = this;
213
- write("array:" + t.length + ":");
214
- if (!n || t.length <= 1) {
215
- return t.forEach((function(e) {
216
- return i.dispatch(e);
188
+ if (r.excludeKeys) {
189
+ c = c.filter((function(t) {
190
+ return !r.excludeKeys(t);
217
191
  }));
218
192
  }
219
- var o = [];
220
- var u = t.map((function(t) {
221
- var n = new PassThrough;
222
- var i = r.slice();
223
- var u = typeHasher(e, n, i);
224
- u.dispatch(t);
225
- o = o.concat(i.slice(r.length));
226
- return n.read().toString();
193
+ n("object:" + c.length + ":");
194
+ var f = this;
195
+ return c.forEach((function(e) {
196
+ f.dispatch(e);
197
+ n(":");
198
+ if (!r.excludeValues) {
199
+ f.dispatch(t[e]);
200
+ }
201
+ n(",");
227
202
  }));
228
- r = r.concat(o);
229
- u.sort();
230
- return this._array(u, false);
231
- },
232
- _date: function(e) {
233
- return write("date:" + e.toJSON());
234
- },
235
- _symbol: function(e) {
236
- return write("symbol:" + e.toString());
237
- },
238
- _error: function(e) {
239
- return write("error:" + e.toString());
240
- },
241
- _boolean: function(e) {
242
- return write("bool:" + e.toString());
243
- },
244
- _string: function(e) {
245
- write("string:" + e.length + ":");
246
- write(e.toString());
247
- },
248
- _function: function(t) {
249
- write("fn:");
250
- if (isNativeFunction(t)) {
251
- this.dispatch("[native]");
252
- } else {
253
- this.dispatch(t.toString());
254
- }
255
- if (e.respectFunctionNames !== false) {
256
- this.dispatch("function-name:" + String(t.name));
257
- }
258
- if (e.respectFunctionProperties) {
259
- this._object(t);
260
- }
261
- },
262
- _number: function(e) {
263
- return write("number:" + e.toString());
264
- },
265
- _xml: function(e) {
266
- return write("xml:" + e.toString());
267
- },
268
- _null: function() {
269
- return write("Null");
270
- },
271
- _undefined: function() {
272
- return write("Undefined");
273
- },
274
- _regexp: function(e) {
275
- return write("regex:" + e.toString());
276
- },
277
- _uint8array: function(e) {
278
- write("uint8array:");
279
- return this.dispatch(Array.prototype.slice.call(e));
280
- },
281
- _uint8clampedarray: function(e) {
282
- write("uint8clampedarray:");
283
- return this.dispatch(Array.prototype.slice.call(e));
284
- },
285
- _int8array: function(e) {
286
- write("int8array:");
287
- return this.dispatch(Array.prototype.slice.call(e));
288
- },
289
- _uint16array: function(e) {
290
- write("uint16array:");
291
- return this.dispatch(Array.prototype.slice.call(e));
292
- },
293
- _int16array: function(e) {
294
- write("int16array:");
295
- return this.dispatch(Array.prototype.slice.call(e));
296
- },
297
- _uint32array: function(e) {
298
- write("uint32array:");
299
- return this.dispatch(Array.prototype.slice.call(e));
300
- },
301
- _int32array: function(e) {
302
- write("int32array:");
303
- return this.dispatch(Array.prototype.slice.call(e));
304
- },
305
- _float32array: function(e) {
306
- write("float32array:");
307
- return this.dispatch(Array.prototype.slice.call(e));
308
- },
309
- _float64array: function(e) {
310
- write("float64array:");
311
- return this.dispatch(Array.prototype.slice.call(e));
312
- },
313
- _arraybuffer: function(e) {
314
- write("arraybuffer:");
315
- return this.dispatch(new Uint8Array(e));
316
- },
317
- _url: function(e) {
318
- return write("url:" + e.toString(), "utf8");
319
- },
320
- _map: function(t) {
321
- write("map:");
322
- var r = Array.from(t);
323
- return this._array(r, e.unorderedSets !== false);
324
- },
325
- _set: function(t) {
326
- write("set:");
327
- var r = Array.from(t);
328
- return this._array(r, e.unorderedSets !== false);
329
- },
330
- _file: function(e) {
331
- write("file:");
332
- return this.dispatch([ e.name, e.size, e.type, e.lastModfied ]);
333
- },
334
- _blob: function() {
335
- if (e.ignoreUnknown) {
336
- return write("[blob]");
337
- }
338
- throw Error("Hashing Blob objects is currently not supported\n" + "(see https://github.com/puleos/object-hash/issues/26)\n" + 'Use "options.replacer" or "options.ignoreUnknown"\n');
339
- },
340
- _domwindow: function() {
341
- return write("domwindow");
342
- },
343
- _bigint: function(e) {
344
- return write("bigint:" + e.toString());
345
- },
346
- _process: function() {
347
- return write("process");
348
- },
349
- _timer: function() {
350
- return write("timer");
351
- },
352
- _pipe: function() {
353
- return write("pipe");
354
- },
355
- _tcp: function() {
356
- return write("tcp");
357
- },
358
- _udp: function() {
359
- return write("udp");
360
- },
361
- _tty: function() {
362
- return write("tty");
363
- },
364
- _statwatcher: function() {
365
- return write("statwatcher");
366
- },
367
- _securecontext: function() {
368
- return write("securecontext");
369
- },
370
- _connection: function() {
371
- return write("connection");
372
- },
373
- _zlib: function() {
374
- return write("zlib");
375
- },
376
- _context: function() {
377
- return write("context");
378
- },
379
- _nodescript: function() {
380
- return write("nodescript");
381
- },
382
- _httpparser: function() {
383
- return write("httpparser");
384
- },
385
- _dataview: function() {
386
- return write("dataview");
387
- },
388
- _signal: function() {
389
- return write("signal");
390
- },
391
- _fsevent: function() {
392
- return write("fsevent");
393
- },
394
- _tlswrap: function() {
395
- return write("tlswrap");
396
203
  }
397
- };
398
- }
399
- function PassThrough() {
400
- return {
401
- buf: "",
402
- write: function(e) {
403
- this.buf += e;
404
- },
405
- end: function(e) {
406
- this.buf += e;
407
- },
408
- read: function() {
409
- return this.buf;
204
+ },
205
+ _array: function(t, i) {
206
+ i = typeof i !== "undefined" ? i : r.unorderedArrays !== false;
207
+ var o = this;
208
+ n("array:" + t.length + ":");
209
+ if (!i || t.length <= 1) {
210
+ return t.forEach((function(r) {
211
+ return o.dispatch(r);
212
+ }));
410
213
  }
411
- };
412
- }
413
- })(n, n.exports);
414
- return n.exports;
415
- }
214
+ var u = [];
215
+ var a = t.map((function(t) {
216
+ var n = new l;
217
+ var i = e.slice();
218
+ var o = f(r, n, i);
219
+ o.dispatch(t);
220
+ u = u.concat(i.slice(e.length));
221
+ return n.read().toString();
222
+ }));
223
+ e = e.concat(u);
224
+ a.sort();
225
+ return this._array(a, false);
226
+ },
227
+ _date: function(r) {
228
+ return n("date:" + r.toJSON());
229
+ },
230
+ _symbol: function(r) {
231
+ return n("symbol:" + r.toString());
232
+ },
233
+ _error: function(r) {
234
+ return n("error:" + r.toString());
235
+ },
236
+ _boolean: function(r) {
237
+ return n("bool:" + r.toString());
238
+ },
239
+ _string: function(r) {
240
+ n("string:" + r.length + ":");
241
+ n(r.toString());
242
+ },
243
+ _function: function(t) {
244
+ n("fn:");
245
+ if (s(t)) {
246
+ this.dispatch("[native]");
247
+ } else {
248
+ this.dispatch(t.toString());
249
+ }
250
+ if (r.respectFunctionNames !== false) {
251
+ this.dispatch("function-name:" + String(t.name));
252
+ }
253
+ if (r.respectFunctionProperties) {
254
+ this._object(t);
255
+ }
256
+ },
257
+ _number: function(r) {
258
+ return n("number:" + r.toString());
259
+ },
260
+ _xml: function(r) {
261
+ return n("xml:" + r.toString());
262
+ },
263
+ _null: function() {
264
+ return n("Null");
265
+ },
266
+ _undefined: function() {
267
+ return n("Undefined");
268
+ },
269
+ _regexp: function(r) {
270
+ return n("regex:" + r.toString());
271
+ },
272
+ _uint8array: function(r) {
273
+ n("uint8array:");
274
+ return this.dispatch(Array.prototype.slice.call(r));
275
+ },
276
+ _uint8clampedarray: function(r) {
277
+ n("uint8clampedarray:");
278
+ return this.dispatch(Array.prototype.slice.call(r));
279
+ },
280
+ _int8array: function(r) {
281
+ n("int8array:");
282
+ return this.dispatch(Array.prototype.slice.call(r));
283
+ },
284
+ _uint16array: function(r) {
285
+ n("uint16array:");
286
+ return this.dispatch(Array.prototype.slice.call(r));
287
+ },
288
+ _int16array: function(r) {
289
+ n("int16array:");
290
+ return this.dispatch(Array.prototype.slice.call(r));
291
+ },
292
+ _uint32array: function(r) {
293
+ n("uint32array:");
294
+ return this.dispatch(Array.prototype.slice.call(r));
295
+ },
296
+ _int32array: function(r) {
297
+ n("int32array:");
298
+ return this.dispatch(Array.prototype.slice.call(r));
299
+ },
300
+ _float32array: function(r) {
301
+ n("float32array:");
302
+ return this.dispatch(Array.prototype.slice.call(r));
303
+ },
304
+ _float64array: function(r) {
305
+ n("float64array:");
306
+ return this.dispatch(Array.prototype.slice.call(r));
307
+ },
308
+ _arraybuffer: function(r) {
309
+ n("arraybuffer:");
310
+ return this.dispatch(new Uint8Array(r));
311
+ },
312
+ _url: function(r) {
313
+ return n("url:" + r.toString(), "utf8");
314
+ },
315
+ _map: function(t) {
316
+ n("map:");
317
+ var e = Array.from(t);
318
+ return this._array(e, r.unorderedSets !== false);
319
+ },
320
+ _set: function(t) {
321
+ n("set:");
322
+ var e = Array.from(t);
323
+ return this._array(e, r.unorderedSets !== false);
324
+ },
325
+ _file: function(r) {
326
+ n("file:");
327
+ return this.dispatch([ r.name, r.size, r.type, r.lastModfied ]);
328
+ },
329
+ _blob: function() {
330
+ if (r.ignoreUnknown) {
331
+ return n("[blob]");
332
+ }
333
+ throw Error("Hashing Blob objects is currently not supported\n" + "(see https://github.com/puleos/object-hash/issues/26)\n" + 'Use "options.replacer" or "options.ignoreUnknown"\n');
334
+ },
335
+ _domwindow: function() {
336
+ return n("domwindow");
337
+ },
338
+ _bigint: function(r) {
339
+ return n("bigint:" + r.toString());
340
+ },
341
+ _process: function() {
342
+ return n("process");
343
+ },
344
+ _timer: function() {
345
+ return n("timer");
346
+ },
347
+ _pipe: function() {
348
+ return n("pipe");
349
+ },
350
+ _tcp: function() {
351
+ return n("tcp");
352
+ },
353
+ _udp: function() {
354
+ return n("udp");
355
+ },
356
+ _tty: function() {
357
+ return n("tty");
358
+ },
359
+ _statwatcher: function() {
360
+ return n("statwatcher");
361
+ },
362
+ _securecontext: function() {
363
+ return n("securecontext");
364
+ },
365
+ _connection: function() {
366
+ return n("connection");
367
+ },
368
+ _zlib: function() {
369
+ return n("zlib");
370
+ },
371
+ _context: function() {
372
+ return n("context");
373
+ },
374
+ _nodescript: function() {
375
+ return n("nodescript");
376
+ },
377
+ _httpparser: function() {
378
+ return n("httpparser");
379
+ },
380
+ _dataview: function() {
381
+ return n("dataview");
382
+ },
383
+ _signal: function() {
384
+ return n("signal");
385
+ },
386
+ _fsevent: function() {
387
+ return n("fsevent");
388
+ },
389
+ _tlswrap: function() {
390
+ return n("tlswrap");
391
+ }
392
+ };
393
+ }
394
+ function l() {
395
+ return {
396
+ buf: "",
397
+ write: function(r) {
398
+ this.buf += r;
399
+ },
400
+ end: function(r) {
401
+ this.buf += r;
402
+ },
403
+ read: function() {
404
+ return this.buf;
405
+ }
406
+ };
407
+ }
408
+ })(i, i.exports);
416
409
 
417
- var u = requireObjectHash();
410
+ var u = i.exports;
418
411
 
419
- const a = e.getDefaultExportFromCjs(u);
412
+ const a = r.getDefaultExportFromCjs(u);
420
413
 
421
- function ObjectHash(e, t) {
422
- return a(e, t);
414
+ function s(r, t) {
415
+ return a(r, t);
423
416
  }
424
417
 
425
- exports.ObjectHash = ObjectHash;
418
+ exports.ObjectHash = s;