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.
- package/com/docker.cjs +1 -1
- package/com/docker.mjs +1 -1
- package/decorator/orm.cjs +84 -84
- package/decorator/orm.mjs +42 -128
- package/orm.cjs +871 -1408
- package/orm.mjs +712 -1462
- package/package.json +1 -1
- package/src/components/Database.cjs +2 -2
- package/src/components/Database.mjs +6 -6
- package/src/components/cacher/Cacher.cjs +129 -129
- package/src/components/cacher/Cacher.mjs +117 -117
- package/src/components/cacher/adapters/CreateFileCacheAdapter.cjs +303 -312
- package/src/components/cacher/adapters/CreateFileCacheAdapter.mjs +304 -313
- package/src/components/cacher/adapters/CreateMemcacheCacheAdapter.cjs +12 -12
- package/src/components/cacher/adapters/CreateMemcacheCacheAdapter.mjs +11 -11
- package/src/components/cacher/adapters/CreateMongoCacheAdapter.cjs +16 -16
- package/src/components/cacher/adapters/CreateMongoCacheAdapter.mjs +14 -14
- package/src/components/cacher/adapters/CreateMysqlCacheAdapter.cjs +11 -11
- package/src/components/cacher/adapters/CreateMysqlCacheAdapter.mjs +11 -11
- package/src/components/cacher/adapters/CreatePostgresCacheAdapter.cjs +12 -12
- package/src/components/cacher/adapters/CreatePostgresCacheAdapter.mjs +13 -13
- package/src/components/cacher/adapters/CreateRedisCacheAdapter.cjs +2 -2
- package/src/components/cacher/adapters/CreateRedisCacheAdapter.mjs +2 -2
- package/src/components/cacher/adapters/CreateSqliteCacheAdapter.cjs +10 -10
- package/src/components/cacher/adapters/CreateSqliteCacheAdapter.mjs +10 -10
- package/src/components/cacher/lib/IsDriverPackageInstalled.cjs +2 -2
- package/src/components/cacher/lib/IsDriverPackageInstalled.mjs +5 -5
- package/src/components/docker/ConnectionOptionsBuilder.cjs +11 -11
- package/src/components/docker/ConnectionOptionsBuilder.mjs +7 -7
- package/src/components/docker/Docker.cjs +5067 -4956
- package/src/components/docker/Docker.mjs +4982 -4871
- package/src/components/docker/lib/DockerContainer.cjs +1 -1
- package/src/components/docker/lib/DockerContainer.mjs +1 -1
- package/src/components/docker/lib/DockerContainerTTY.cjs +1 -1
- package/src/components/docker/lib/DockerContainerTTY.mjs +1 -1
- package/src/components/docker/lib/ParseEnvToRecord.cjs +2 -2
- package/src/components/docker/lib/ParseEnvToRecord.mjs +12 -12
- package/src/components/docker/lib/ParseRepositoryTag.cjs +9 -9
- package/src/components/docker/lib/ParseRepositoryTag.mjs +11 -11
- package/src/components/entrypoint/Entrypoint.cjs +1678 -2168
- package/src/components/entrypoint/Entrypoint.mjs +1680 -2170
- package/src/components/monitor/AliveMonitor.cjs +2 -2
- package/src/components/monitor/AliveMonitor.mjs +2 -2
- package/src/components/monitor/MemoryMonitor.cjs +3 -3
- package/src/decorators/asst/After.cjs +3 -3
- package/src/decorators/asst/After.mjs +2 -2
- package/src/decorators/asst/Before.cjs +2 -2
- package/src/decorators/asst/Before.mjs +4 -4
- package/src/decorators/ctrl/CLIAction.cjs +2 -2
- package/src/decorators/ctrl/CLIAction.mjs +7 -7
- package/src/decorators/ctrl/HTTPAction.cjs +6 -6
- package/src/decorators/ctrl/HTTPAction.mjs +4 -4
- package/src/decorators/ctrl/ServiceAction.cjs +3 -3
- package/src/decorators/ctrl/ServiceAction.mjs +4 -4
- package/src/decorators/ctrl/http/DELETE.cjs +2 -2
- package/src/decorators/ctrl/http/DELETE.mjs +2 -2
- package/src/decorators/ctrl/http/GET.cjs +2 -2
- package/src/decorators/ctrl/http/GET.mjs +2 -2
- package/src/decorators/ctrl/http/HEAD.cjs +2 -2
- package/src/decorators/ctrl/http/HEAD.mjs +2 -2
- package/src/decorators/ctrl/http/OPTIONS.cjs +2 -2
- package/src/decorators/ctrl/http/OPTIONS.mjs +2 -2
- package/src/decorators/ctrl/http/PATCH.cjs +2 -2
- package/src/decorators/ctrl/http/PATCH.mjs +2 -2
- package/src/decorators/ctrl/http/POST.cjs +2 -2
- package/src/decorators/ctrl/http/POST.mjs +2 -2
- package/src/decorators/ctrl/http/PUT.cjs +2 -2
- package/src/decorators/ctrl/http/PUT.mjs +2 -2
- package/src/decorators/di/Autoload.cjs +2 -2
- package/src/decorators/di/Autoload.mjs +2 -2
- package/src/decorators/di/Configurable.cjs +3 -3
- package/src/decorators/di/Configurable.mjs +2 -2
- package/src/decorators/di/Inject.cjs +6 -6
- package/src/decorators/di/Inject.mjs +11 -11
- package/src/decorators/di/Lifetime.cjs +18 -18
- package/src/decorators/di/Lifetime.mjs +13 -13
- package/src/decorators/dto/Accept.cjs +3 -3
- package/src/decorators/dto/Accept.mjs +2 -2
- package/src/decorators/dto/Expect.cjs +2 -2
- package/src/decorators/dto/Expect.mjs +3 -3
- package/src/decorators/dto/IndexSignature.cjs +2 -2
- package/src/decorators/dto/IndexSignature.mjs +3 -3
- package/src/decorators/dto/Return.cjs +3 -3
- package/src/decorators/dto/Return.mjs +2 -2
- package/src/decorators/orm/AfterInsert.cjs +26 -4
- package/src/decorators/orm/AfterInsert.mjs +25 -5
- package/src/decorators/orm/AfterLoad.cjs +26 -4
- package/src/decorators/orm/AfterLoad.mjs +25 -5
- package/src/decorators/orm/AfterRecover.cjs +26 -4
- package/src/decorators/orm/AfterRecover.mjs +25 -5
- package/src/decorators/orm/AfterRemove.cjs +26 -4
- package/src/decorators/orm/AfterRemove.mjs +25 -5
- package/src/decorators/orm/AfterSoftRemove.cjs +26 -4
- package/src/decorators/orm/AfterSoftRemove.mjs +25 -5
- package/src/decorators/orm/AfterUpdate.cjs +26 -4
- package/src/decorators/orm/AfterUpdate.mjs +25 -5
- package/src/decorators/orm/BeforeInsert.cjs +26 -4
- package/src/decorators/orm/BeforeInsert.mjs +25 -5
- package/src/decorators/orm/BeforeRecover.cjs +26 -4
- package/src/decorators/orm/BeforeRecover.mjs +25 -5
- package/src/decorators/orm/BeforeRemove.cjs +26 -4
- package/src/decorators/orm/BeforeRemove.mjs +25 -5
- package/src/decorators/orm/BeforeSoftRemove.cjs +26 -4
- package/src/decorators/orm/BeforeSoftRemove.mjs +25 -5
- package/src/decorators/orm/BeforeUpdate.cjs +26 -4
- package/src/decorators/orm/BeforeUpdate.mjs +25 -5
- package/src/decorators/orm/Check.cjs +29 -4
- package/src/decorators/orm/Check.mjs +28 -5
- package/src/decorators/orm/ChildEntity.cjs +29 -4
- package/src/decorators/orm/ChildEntity.mjs +28 -5
- package/src/decorators/orm/Column.cjs +61 -4
- package/src/decorators/orm/Column.mjs +61 -6
- package/src/decorators/orm/CreateDateColumn.cjs +25 -4
- package/src/decorators/orm/CreateDateColumn.mjs +24 -5
- package/src/decorators/orm/DeleteDateColumn.cjs +25 -4
- package/src/decorators/orm/DeleteDateColumn.mjs +23 -4
- package/src/decorators/orm/Entity.cjs +35 -4
- package/src/decorators/orm/Entity.mjs +33 -4
- package/src/decorators/orm/EventSubscriber.cjs +22 -4
- package/src/decorators/orm/EventSubscriber.mjs +21 -5
- package/src/decorators/orm/Exclusion.cjs +29 -4
- package/src/decorators/orm/Exclusion.mjs +28 -5
- package/src/decorators/orm/Generated.cjs +24 -4
- package/src/decorators/orm/Generated.mjs +23 -5
- package/src/decorators/orm/Index.cjs +41 -4
- package/src/decorators/orm/Index.mjs +41 -6
- package/src/decorators/orm/JoinColumn.cjs +29 -4
- package/src/decorators/orm/JoinColumn.mjs +28 -5
- package/src/decorators/orm/JoinTable.cjs +30 -4
- package/src/decorators/orm/JoinTable.mjs +28 -4
- package/src/decorators/orm/ManyToMany.cjs +42 -4
- package/src/decorators/orm/ManyToMany.mjs +40 -4
- package/src/decorators/orm/ManyToOne.cjs +42 -4
- package/src/decorators/orm/ManyToOne.mjs +40 -4
- package/src/decorators/orm/ObjectIdColumn.cjs +28 -4
- package/src/decorators/orm/ObjectIdColumn.mjs +27 -5
- package/src/decorators/orm/OneToMany.cjs +34 -4
- package/src/decorators/orm/OneToMany.mjs +34 -6
- package/src/decorators/orm/OneToOne.cjs +42 -4
- package/src/decorators/orm/OneToOne.mjs +40 -4
- package/src/decorators/orm/PrimaryColumn.cjs +49 -4
- package/src/decorators/orm/PrimaryColumn.mjs +49 -6
- package/src/decorators/orm/PrimaryGeneratedColumn.cjs +54 -4
- package/src/decorators/orm/PrimaryGeneratedColumn.mjs +54 -6
- package/src/decorators/orm/RelationId.cjs +26 -4
- package/src/decorators/orm/RelationId.mjs +25 -5
- package/src/decorators/orm/TableInheritance.cjs +26 -4
- package/src/decorators/orm/TableInheritance.mjs +25 -5
- package/src/decorators/orm/Tree.cjs +24 -4
- package/src/decorators/orm/Tree.mjs +23 -5
- package/src/decorators/orm/TreeChildren.cjs +31 -4
- package/src/decorators/orm/TreeChildren.mjs +29 -4
- package/src/decorators/orm/TreeLevelColumn.cjs +25 -4
- package/src/decorators/orm/TreeLevelColumn.mjs +23 -4
- package/src/decorators/orm/TreeParent.cjs +31 -4
- package/src/decorators/orm/TreeParent.mjs +29 -4
- package/src/decorators/orm/Unique.cjs +44 -4
- package/src/decorators/orm/Unique.mjs +44 -6
- package/src/decorators/orm/UpdateDateColumn.cjs +25 -4
- package/src/decorators/orm/UpdateDateColumn.mjs +24 -5
- package/src/decorators/orm/VersionColumn.cjs +25 -4
- package/src/decorators/orm/VersionColumn.mjs +24 -5
- package/src/decorators/orm/ViewColumn.cjs +25 -4
- package/src/decorators/orm/ViewColumn.mjs +24 -5
- package/src/decorators/orm/ViewEntity.cjs +34 -4
- package/src/decorators/orm/ViewEntity.mjs +33 -5
- package/src/decorators/orm/VirtualColumn.cjs +42 -4
- package/src/decorators/orm/VirtualColumn.mjs +40 -4
- package/src/lib/base/EventEmitter.cjs +1195 -1202
- package/src/lib/base/EventEmitter.mjs +1195 -1202
- package/src/lib/base/async-constructor/Append.cjs +11 -11
- package/src/lib/base/async-constructor/Append.mjs +7 -7
- package/src/lib/base/internal/BasicInfo.cjs +10 -10
- package/src/lib/base/internal/BasicInfo.mjs +9 -9
- package/src/lib/base/internal/CamelCase.cjs +4 -4
- package/src/lib/base/internal/CamelCase.mjs +11 -11
- package/src/lib/base/internal/ConfigurableRecordsInjection.cjs +19 -19
- package/src/lib/base/internal/ConfigurableRecordsInjection.mjs +18 -18
- package/src/lib/base/internal/ConstructorSymbol.cjs +10 -10
- package/src/lib/base/internal/ConstructorSymbol.mjs +8 -8
- package/src/lib/base/internal/ControllerEntrypoint.cjs +65 -65
- package/src/lib/base/internal/ControllerEntrypoint.mjs +36 -36
- package/src/lib/base/internal/DataValidator.cjs +185 -174
- package/src/lib/base/internal/DataValidator.mjs +230 -219
- package/src/lib/base/internal/GetActionDTOAndOptions.cjs +9 -9
- package/src/lib/base/internal/GetActionDTOAndOptions.mjs +10 -10
- package/src/lib/base/internal/IEEE754.cjs +74 -74
- package/src/lib/base/internal/IEEE754.mjs +70 -70
- package/src/lib/base/internal/MethodAssistantFunction.cjs +28 -28
- package/src/lib/base/internal/MethodAssistantFunction.mjs +38 -38
- package/src/lib/base/internal/MethodValidation.cjs +25 -25
- package/src/lib/base/internal/MethodValidation.mjs +20 -20
- package/src/lib/base/internal/ObjectConfiguration.cjs +10 -10
- package/src/lib/base/internal/ObjectConfiguration.mjs +15 -15
- package/src/lib/base/internal/ObjectContainer.cjs +7 -7
- package/src/lib/base/internal/ObjectContainer.mjs +6 -6
- package/src/lib/base/internal/ObjectInjection.cjs +16 -16
- package/src/lib/base/internal/ObjectInjection.mjs +13 -13
- package/src/lib/base/internal/ObjectLifetime.cjs +10 -10
- package/src/lib/base/internal/ObjectLifetime.mjs +9 -9
- package/src/lib/base/internal/ObjectWeakRefs.cjs +11 -11
- package/src/lib/base/internal/ObjectWeakRefs.mjs +9 -9
- package/src/lib/base/internal/PatternManager.cjs +739 -744
- package/src/lib/base/internal/PatternManager.mjs +743 -748
- package/src/lib/base/internal/StringifyPattern.cjs +26 -26
- package/src/lib/base/internal/StringifyPattern.mjs +26 -26
- package/src/lib/base/internal/ThrowWarning.cjs +2 -2
- package/src/lib/base/internal/ThrowWarning.mjs +2 -2
- package/src/lib/core/Alias.cjs +5 -5
- package/src/lib/core/Application.cjs +115 -128
- package/src/lib/core/Application.mjs +135 -148
- package/src/lib/helpers/ArrayToSet.cjs +2 -2
- package/src/lib/helpers/ArrayToSet.mjs +3 -3
- package/src/lib/helpers/As.cjs +2 -2
- package/src/lib/helpers/As.mjs +2 -2
- package/src/lib/helpers/ConvertArrayLikeToIterable.cjs +3 -3
- package/src/lib/helpers/ConvertArrayLikeToIterable.mjs +3 -3
- package/src/lib/helpers/ConvertArrayLikeToStream.cjs +2 -2
- package/src/lib/helpers/ConvertArrayLikeToStream.mjs +2 -2
- package/src/lib/helpers/Delay.cjs +2 -2
- package/src/lib/helpers/Delay.mjs +2 -2
- package/src/lib/helpers/DevNull.cjs +2 -2
- package/src/lib/helpers/DevNull.mjs +2 -2
- package/src/lib/helpers/GetObjectNestingDepth.cjs +12 -12
- package/src/lib/helpers/GetObjectNestingDepth.mjs +11 -11
- package/src/lib/helpers/GetObjectPropertyPaths.cjs +7 -7
- package/src/lib/helpers/GetObjectPropertyPaths.mjs +9 -9
- package/src/lib/helpers/Glob.cjs +890 -890
- package/src/lib/helpers/Glob.mjs +889 -889
- package/src/lib/helpers/GraceExit.cjs +3 -3
- package/src/lib/helpers/GraceExit.mjs +7 -7
- package/src/lib/helpers/HexToIEEE754.cjs +4 -4
- package/src/lib/helpers/HexToIEEE754.mjs +2 -2
- package/src/lib/helpers/HexToSigned.cjs +5 -5
- package/src/lib/helpers/HexToSigned.mjs +4 -4
- package/src/lib/helpers/HexToUnsigned.cjs +2 -2
- package/src/lib/helpers/HexToUnsigned.mjs +2 -2
- package/src/lib/helpers/IEEE754ToHex.cjs +5 -5
- package/src/lib/helpers/IEEE754ToHex.mjs +5 -5
- package/src/lib/helpers/IsAbortError.cjs +2 -2
- package/src/lib/helpers/IsAbortError.mjs +3 -3
- package/src/lib/helpers/IsEmptyObject.cjs +3 -3
- package/src/lib/helpers/IsEmptyObject.mjs +3 -3
- package/src/lib/helpers/IsExists.cjs +5 -5
- package/src/lib/helpers/IsExists.mjs +4 -4
- package/src/lib/helpers/IsHtml.cjs +8 -18
- package/src/lib/helpers/IsHtml.mjs +8 -18
- package/src/lib/helpers/IsNativeFunction.cjs +2 -2
- package/src/lib/helpers/IsNativeFunction.mjs +2 -2
- package/src/lib/helpers/IsPath.cjs +2 -2
- package/src/lib/helpers/IsPath.mjs +5 -5
- package/src/lib/helpers/IsPromise.cjs +2 -2
- package/src/lib/helpers/IsPromise.mjs +2 -2
- package/src/lib/helpers/IsPromiseLike.cjs +5 -5
- package/src/lib/helpers/IsPromiseLike.mjs +6 -6
- package/src/lib/helpers/IsXML.cjs +1531 -1525
- package/src/lib/helpers/IsXML.mjs +1527 -1521
- package/src/lib/helpers/MD5.cjs +2 -2
- package/src/lib/helpers/MD5.mjs +2 -2
- package/src/lib/helpers/MergeArray.cjs +3 -3
- package/src/lib/helpers/MergeArray.mjs +3 -3
- package/src/lib/helpers/MergeMap.cjs +3 -3
- package/src/lib/helpers/MergeMap.mjs +3 -3
- package/src/lib/helpers/MergeSet.cjs +2 -2
- package/src/lib/helpers/MergeSet.mjs +3 -3
- package/src/lib/helpers/NoCase.cjs +27 -27
- package/src/lib/helpers/NoCase.mjs +24 -24
- package/src/lib/helpers/NonceStr.cjs +2 -2
- package/src/lib/helpers/NonceStr.mjs +2 -2
- package/src/lib/helpers/ObjectConstructor.cjs +2 -2
- package/src/lib/helpers/ObjectConstructor.mjs +4 -4
- package/src/lib/helpers/ObjectHash.cjs +377 -384
- package/src/lib/helpers/ObjectHash.mjs +373 -380
- package/src/lib/helpers/ObjectParentConstructor.cjs +2 -2
- package/src/lib/helpers/ObjectParentConstructor.mjs +5 -5
- package/src/lib/helpers/ObjectParentConstructors.cjs +6 -6
- package/src/lib/helpers/ObjectParentConstructors.mjs +2 -2
- package/src/lib/helpers/ObjectPrototype.cjs +2 -2
- package/src/lib/helpers/ObjectPrototype.mjs +2 -2
- package/src/lib/helpers/ObjectToMap.cjs +2 -2
- package/src/lib/helpers/ObjectToMap.mjs +3 -3
- package/src/lib/helpers/Paginator.cjs +2 -2
- package/src/lib/helpers/Paginator.mjs +6 -6
- package/src/lib/helpers/RandomString.cjs +148 -169
- package/src/lib/helpers/RandomString.mjs +145 -166
- package/src/lib/helpers/SHA1.cjs +2 -2
- package/src/lib/helpers/SHA1.mjs +2 -2
- package/src/lib/helpers/SHA256.cjs +2 -2
- package/src/lib/helpers/SHA256.mjs +2 -2
- package/src/lib/helpers/SetToArray.cjs +2 -2
- package/src/lib/helpers/SetToArray.mjs +2 -2
- package/src/lib/helpers/SignedToHex.cjs +4 -4
- package/src/lib/helpers/SignedToHex.mjs +4 -4
- package/src/lib/helpers/SortArray.cjs +16 -16
- package/src/lib/helpers/SortArray.mjs +15 -15
- package/src/lib/helpers/SortKeys.cjs +41 -41
- package/src/lib/helpers/SortKeys.mjs +41 -41
- package/src/lib/helpers/SortObject.cjs +2 -2
- package/src/lib/helpers/SortObject.mjs +2 -2
- package/src/lib/helpers/Templating.cjs +25 -25
- package/src/lib/helpers/Templating.mjs +25 -25
- package/src/lib/helpers/URLBuilder.cjs +355 -355
- package/src/lib/helpers/URLBuilder.mjs +349 -349
- package/src/lib/helpers/UniqueArray.cjs +3 -3
- package/src/lib/helpers/UniqueArray.mjs +2 -2
- package/src/lib/helpers/UnsignedToHex.cjs +3 -3
- package/src/lib/helpers/UnsignedToHex.mjs +3 -3
- package/src/lib/ioc/DependencyInjectionContainer.cjs +106 -106
- package/src/lib/ioc/DependencyInjectionContainer.mjs +122 -122
- package/src/lib/ioc/FunctionTokenizer.cjs +115 -115
- package/src/lib/ioc/FunctionTokenizer.mjs +102 -102
- package/src/lib/ioc/Lifetime.cjs +5 -5
- package/src/lib/ioc/Lifetime.mjs +5 -5
- package/src/lib/ioc/ListModules.cjs +5298 -5221
- package/src/lib/ioc/ListModules.mjs +5258 -5181
- package/src/lib/ioc/LoadModules.cjs +56 -56
- package/src/lib/ioc/LoadModules.mjs +69 -69
- package/src/lib/ioc/ParamParser.cjs +30 -30
- package/src/lib/ioc/ParamParser.mjs +41 -41
- package/src/lib/ioc/Resolvers.cjs +87 -87
- package/src/lib/ioc/Resolvers.mjs +109 -109
- package/src/lib/ioc/Utils.cjs +12 -12
- package/src/lib/ioc/Utils.mjs +18 -18
- package/src/lib/validation/VLD.cjs +4025 -4202
- package/src/lib/validation/VLD.mjs +2972 -3149
- package/src/providers/Database.cjs +2 -2
- package/src/providers/Database.mjs +7 -7
- package/src/providers/PasswordHash.cjs +330 -330
- package/src/providers/PasswordHash.mjs +397 -397
- package/src/providers/migration/GenerateMigration.cjs +2 -2
- package/src/providers/migration/GenerateMigration.mjs +2 -2
- package/vendor/Package.1.cjs +256 -256
- package/vendor/Package.1.mjs +254 -254
- package/vendor/Package.112.cjs +42157 -42076
- package/vendor/Package.112.mjs +42222 -42081
- package/vendor/Package.13.cjs +36 -36
- package/vendor/Package.13.mjs +24 -24
- package/vendor/Package.16.cjs +12351 -12233
- package/vendor/Package.16.mjs +12348 -12230
- package/vendor/Package.17.cjs +924 -924
- package/vendor/Package.17.mjs +943 -943
- package/vendor/Package.18.cjs +48229 -20
- package/vendor/Package.18.mjs +48192 -24
- package/vendor/Package.2.cjs +5824 -5853
- package/vendor/Package.2.mjs +5780 -5809
- package/vendor/Package.3.cjs +60 -60
- package/vendor/Package.3.mjs +85 -85
- package/vendor/Package.4.cjs +874 -884
- package/vendor/Package.4.mjs +877 -887
- package/vendor/Package.5.cjs +15 -19
- package/vendor/Package.5.mjs +10 -14
- package/vendor/Package.6.cjs +2058 -2067
- package/vendor/Package.6.mjs +2064 -2073
- package/vendor/Package.610.cjs +9 -9
- package/vendor/Package.611.cjs +39 -39
- package/vendor/Package.611.mjs +22 -22
- package/vendor/Package.612.cjs +33 -33
- package/vendor/Package.612.mjs +17 -17
- package/vendor/Package.613.cjs +62 -62
- package/vendor/Package.613.mjs +29 -29
- package/vendor/Package.62.cjs +295 -298
- package/vendor/Package.62.mjs +278 -281
- package/vendor/Package.63.cjs +354 -354
- package/vendor/Package.63.mjs +229 -229
- package/vendor/Package.64.cjs +74 -74
- package/vendor/Package.64.mjs +74 -74
- package/vendor/Package.65.cjs +1851 -1858
- package/vendor/Package.65.mjs +1693 -1700
- package/vendor/Package.66.cjs +16 -16
- package/vendor/Package.66.mjs +16 -16
- package/vendor/Package.67.cjs +87 -87
- package/vendor/Package.67.mjs +85 -85
- package/vendor/Package.68.cjs +14 -14
- package/vendor/Package.68.mjs +6 -6
- package/vendor/Package.69.cjs +8 -8
- package/vendor/Package.7.cjs +3 -3
- package/vendor/Package.7.mjs +3 -3
- package/vendor/Package.9.cjs +124 -138
- package/vendor/Package.9.mjs +121 -135
- package/vendor/TypeDef.internal.3.d.ts +0 -14
- package/vendor/Package.19.cjs +0 -37
- package/vendor/Package.19.mjs +0 -35
- package/vendor/Package.20.cjs +0 -37
- package/vendor/Package.20.mjs +0 -35
- package/vendor/Package.21.cjs +0 -37
- package/vendor/Package.21.mjs +0 -35
- package/vendor/Package.22.cjs +0 -37
- package/vendor/Package.22.mjs +0 -35
- package/vendor/Package.23.cjs +0 -37
- package/vendor/Package.23.mjs +0 -35
- package/vendor/Package.24.cjs +0 -37
- package/vendor/Package.24.mjs +0 -35
- package/vendor/Package.25.cjs +0 -37
- package/vendor/Package.25.mjs +0 -35
- package/vendor/Package.26.cjs +0 -37
- package/vendor/Package.26.mjs +0 -35
- package/vendor/Package.27.cjs +0 -37
- package/vendor/Package.27.mjs +0 -35
- package/vendor/Package.28.cjs +0 -37
- package/vendor/Package.28.mjs +0 -35
- package/vendor/Package.29.cjs +0 -40
- package/vendor/Package.29.mjs +0 -38
- package/vendor/Package.30.cjs +0 -41
- package/vendor/Package.30.mjs +0 -39
- package/vendor/Package.31.cjs +0 -72
- package/vendor/Package.31.mjs +0 -70
- package/vendor/Package.32.cjs +0 -37
- package/vendor/Package.32.mjs +0 -35
- package/vendor/Package.33.cjs +0 -37
- package/vendor/Package.33.mjs +0 -35
- package/vendor/Package.34.cjs +0 -46
- package/vendor/Package.34.mjs +0 -44
- package/vendor/Package.35.cjs +0 -34
- package/vendor/Package.35.mjs +0 -32
- package/vendor/Package.36.cjs +0 -40
- package/vendor/Package.36.mjs +0 -38
- package/vendor/Package.37.cjs +0 -36
- package/vendor/Package.37.mjs +0 -34
- package/vendor/Package.38.cjs +0 -52
- package/vendor/Package.38.mjs +0 -50
- package/vendor/Package.39.cjs +0 -41
- package/vendor/Package.39.mjs +0 -39
- package/vendor/Package.40.cjs +0 -42
- package/vendor/Package.40.mjs +0 -40
- package/vendor/Package.41.cjs +0 -53
- package/vendor/Package.41.mjs +0 -51
- package/vendor/Package.42.cjs +0 -53
- package/vendor/Package.42.mjs +0 -51
- package/vendor/Package.43.cjs +0 -40
- package/vendor/Package.43.mjs +0 -38
- package/vendor/Package.44.cjs +0 -46
- package/vendor/Package.44.mjs +0 -44
- package/vendor/Package.45.cjs +0 -53
- package/vendor/Package.45.mjs +0 -51
- package/vendor/Package.46.cjs +0 -59
- package/vendor/Package.46.mjs +0 -57
- package/vendor/Package.47.cjs +0 -65
- package/vendor/Package.47.mjs +0 -63
- package/vendor/Package.48.cjs +0 -38
- package/vendor/Package.48.mjs +0 -36
- package/vendor/Package.49.cjs +0 -38
- package/vendor/Package.49.mjs +0 -36
- package/vendor/Package.50.cjs +0 -36
- package/vendor/Package.50.mjs +0 -34
- package/vendor/Package.51.cjs +0 -43
- package/vendor/Package.51.mjs +0 -41
- package/vendor/Package.52.cjs +0 -37
- package/vendor/Package.52.mjs +0 -35
- package/vendor/Package.53.cjs +0 -43
- package/vendor/Package.53.mjs +0 -41
- package/vendor/Package.54.cjs +0 -55
- package/vendor/Package.54.mjs +0 -53
- package/vendor/Package.55.cjs +0 -37
- package/vendor/Package.55.mjs +0 -35
- package/vendor/Package.56.cjs +0 -37
- package/vendor/Package.56.mjs +0 -35
- package/vendor/Package.57.cjs +0 -37
- package/vendor/Package.57.mjs +0 -35
- package/vendor/Package.58.cjs +0 -45
- package/vendor/Package.58.mjs +0 -43
- package/vendor/Package.59.cjs +0 -53
- package/vendor/Package.59.mjs +0 -51
- package/vendor/Package.60.cjs +0 -47649
- package/vendor/Package.60.mjs +0 -47606
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { g as
|
|
1
|
+
import { g as r } from "../../../vendor/Package.5.mjs";
|
|
2
2
|
|
|
3
3
|
import "../../../vendor/Package.15.mjs";
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import t from "crypto";
|
|
6
6
|
|
|
7
7
|
var e = {
|
|
8
8
|
exports: {}
|
|
@@ -10,404 +10,397 @@ var e = {
|
|
|
10
10
|
|
|
11
11
|
var n = e.exports;
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
i
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
13
|
+
(function(r, e) {
|
|
14
|
+
"use strict";
|
|
15
|
+
var n = t;
|
|
16
|
+
e = r.exports = i;
|
|
17
|
+
function i(r, t) {
|
|
18
|
+
t = a(r, t);
|
|
19
|
+
return c(r, t);
|
|
20
|
+
}
|
|
21
|
+
e.sha1 = function(r) {
|
|
22
|
+
return i(r);
|
|
23
|
+
};
|
|
24
|
+
e.keys = function(r) {
|
|
25
|
+
return i(r, {
|
|
26
|
+
excludeValues: true,
|
|
27
|
+
algorithm: "sha1",
|
|
28
|
+
encoding: "hex"
|
|
29
|
+
});
|
|
30
|
+
};
|
|
31
|
+
e.MD5 = function(r) {
|
|
32
|
+
return i(r, {
|
|
33
|
+
algorithm: "md5",
|
|
34
|
+
encoding: "hex"
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
e.keysMD5 = function(r) {
|
|
38
|
+
return i(r, {
|
|
39
|
+
algorithm: "md5",
|
|
40
|
+
encoding: "hex",
|
|
41
|
+
excludeValues: true
|
|
42
|
+
});
|
|
43
|
+
};
|
|
44
|
+
var o = n.getHashes ? n.getHashes().slice() : [ "sha1", "md5" ];
|
|
45
|
+
o.push("passthrough");
|
|
46
|
+
var u = [ "buffer", "hex", "binary", "base64" ];
|
|
47
|
+
function a(r, t) {
|
|
48
|
+
t = t || {};
|
|
49
|
+
var e = {};
|
|
50
|
+
e.algorithm = t.algorithm || "sha1";
|
|
51
|
+
e.encoding = t.encoding || "hex";
|
|
52
|
+
e.excludeValues = t.excludeValues ? true : false;
|
|
53
|
+
e.algorithm = e.algorithm.toLowerCase();
|
|
54
|
+
e.encoding = e.encoding.toLowerCase();
|
|
55
|
+
e.ignoreUnknown = t.ignoreUnknown !== true ? false : true;
|
|
56
|
+
e.respectType = t.respectType === false ? false : true;
|
|
57
|
+
e.respectFunctionNames = t.respectFunctionNames === false ? false : true;
|
|
58
|
+
e.respectFunctionProperties = t.respectFunctionProperties === false ? false : true;
|
|
59
|
+
e.unorderedArrays = t.unorderedArrays !== true ? false : true;
|
|
60
|
+
e.unorderedSets = t.unorderedSets === false ? false : true;
|
|
61
|
+
e.unorderedObjects = t.unorderedObjects === false ? false : true;
|
|
62
|
+
e.replacer = t.replacer || undefined;
|
|
63
|
+
e.excludeKeys = t.excludeKeys || undefined;
|
|
64
|
+
if (typeof r === "undefined") {
|
|
65
|
+
throw new Error("Object argument required.");
|
|
25
66
|
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
e.keys = function(t) {
|
|
30
|
-
return objectHash(t, {
|
|
31
|
-
excludeValues: true,
|
|
32
|
-
algorithm: "sha1",
|
|
33
|
-
encoding: "hex"
|
|
34
|
-
});
|
|
35
|
-
};
|
|
36
|
-
e.MD5 = function(t) {
|
|
37
|
-
return objectHash(t, {
|
|
38
|
-
algorithm: "md5",
|
|
39
|
-
encoding: "hex"
|
|
40
|
-
});
|
|
41
|
-
};
|
|
42
|
-
e.keysMD5 = function(t) {
|
|
43
|
-
return objectHash(t, {
|
|
44
|
-
algorithm: "md5",
|
|
45
|
-
encoding: "hex",
|
|
46
|
-
excludeValues: true
|
|
47
|
-
});
|
|
48
|
-
};
|
|
49
|
-
var i = n.getHashes ? n.getHashes().slice() : [ "sha1", "md5" ];
|
|
50
|
-
i.push("passthrough");
|
|
51
|
-
var o = [ "buffer", "hex", "binary", "base64" ];
|
|
52
|
-
function applyDefaults(t, r) {
|
|
53
|
-
r = r || {};
|
|
54
|
-
var e = {};
|
|
55
|
-
e.algorithm = r.algorithm || "sha1";
|
|
56
|
-
e.encoding = r.encoding || "hex";
|
|
57
|
-
e.excludeValues = r.excludeValues ? true : false;
|
|
58
|
-
e.algorithm = e.algorithm.toLowerCase();
|
|
59
|
-
e.encoding = e.encoding.toLowerCase();
|
|
60
|
-
e.ignoreUnknown = r.ignoreUnknown !== true ? false : true;
|
|
61
|
-
e.respectType = r.respectType === false ? false : true;
|
|
62
|
-
e.respectFunctionNames = r.respectFunctionNames === false ? false : true;
|
|
63
|
-
e.respectFunctionProperties = r.respectFunctionProperties === false ? false : true;
|
|
64
|
-
e.unorderedArrays = r.unorderedArrays !== true ? false : true;
|
|
65
|
-
e.unorderedSets = r.unorderedSets === false ? false : true;
|
|
66
|
-
e.unorderedObjects = r.unorderedObjects === false ? false : true;
|
|
67
|
-
e.replacer = r.replacer || undefined;
|
|
68
|
-
e.excludeKeys = r.excludeKeys || undefined;
|
|
69
|
-
if (typeof t === "undefined") {
|
|
70
|
-
throw new Error("Object argument required.");
|
|
71
|
-
}
|
|
72
|
-
for (var n = 0; n < i.length; ++n) {
|
|
73
|
-
if (i[n].toLowerCase() === e.algorithm.toLowerCase()) {
|
|
74
|
-
e.algorithm = i[n];
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
if (i.indexOf(e.algorithm) === -1) {
|
|
78
|
-
throw new Error('Algorithm "' + e.algorithm + '" not supported. ' + "supported values: " + i.join(", "));
|
|
67
|
+
for (var n = 0; n < o.length; ++n) {
|
|
68
|
+
if (o[n].toLowerCase() === e.algorithm.toLowerCase()) {
|
|
69
|
+
e.algorithm = o[n];
|
|
79
70
|
}
|
|
80
|
-
if (o.indexOf(e.encoding) === -1 && e.algorithm !== "passthrough") {
|
|
81
|
-
throw new Error('Encoding "' + e.encoding + '" not supported. ' + "supported values: " + o.join(", "));
|
|
82
|
-
}
|
|
83
|
-
return e;
|
|
84
71
|
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
return false;
|
|
88
|
-
}
|
|
89
|
-
var r = /^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i;
|
|
90
|
-
return r.exec(Function.prototype.toString.call(t)) != null;
|
|
72
|
+
if (o.indexOf(e.algorithm) === -1) {
|
|
73
|
+
throw new Error('Algorithm "' + e.algorithm + '" not supported. ' + "supported values: " + o.join(", "));
|
|
91
74
|
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
75
|
+
if (u.indexOf(e.encoding) === -1 && e.algorithm !== "passthrough") {
|
|
76
|
+
throw new Error('Encoding "' + e.encoding + '" not supported. ' + "supported values: " + u.join(", "));
|
|
77
|
+
}
|
|
78
|
+
return e;
|
|
79
|
+
}
|
|
80
|
+
function s(r) {
|
|
81
|
+
if (typeof r !== "function") {
|
|
82
|
+
return false;
|
|
83
|
+
}
|
|
84
|
+
var t = /^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i;
|
|
85
|
+
return t.exec(Function.prototype.toString.call(r)) != null;
|
|
86
|
+
}
|
|
87
|
+
function c(r, t) {
|
|
88
|
+
var e;
|
|
89
|
+
if (t.algorithm !== "passthrough") {
|
|
90
|
+
e = n.createHash(t.algorithm);
|
|
91
|
+
} else {
|
|
92
|
+
e = new l;
|
|
93
|
+
}
|
|
94
|
+
if (typeof e.write === "undefined") {
|
|
95
|
+
e.write = e.update;
|
|
96
|
+
e.end = e.update;
|
|
97
|
+
}
|
|
98
|
+
var i = f(t, e);
|
|
99
|
+
i.dispatch(r);
|
|
100
|
+
if (!e.update) {
|
|
101
|
+
e.end("");
|
|
102
|
+
}
|
|
103
|
+
if (e.digest) {
|
|
104
|
+
return e.digest(t.encoding === "buffer" ? undefined : t.encoding);
|
|
105
|
+
}
|
|
106
|
+
var o = e.read();
|
|
107
|
+
if (t.encoding === "buffer") {
|
|
108
|
+
return o;
|
|
109
|
+
}
|
|
110
|
+
return o.toString(t.encoding);
|
|
111
|
+
}
|
|
112
|
+
e.writeToStream = function(r, t, e) {
|
|
113
|
+
if (typeof e === "undefined") {
|
|
114
|
+
e = t;
|
|
115
|
+
t = {};
|
|
116
116
|
}
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
117
|
+
t = a(r, t);
|
|
118
|
+
return f(t, e).dispatch(r);
|
|
119
|
+
};
|
|
120
|
+
function f(r, t, e) {
|
|
121
|
+
e = e || [];
|
|
122
|
+
var n = function(r) {
|
|
123
|
+
if (t.update) {
|
|
124
|
+
return t.update(r, "utf8");
|
|
125
|
+
} else {
|
|
126
|
+
return t.write(r, "utf8");
|
|
121
127
|
}
|
|
122
|
-
r = applyDefaults(t, r);
|
|
123
|
-
return typeHasher(r, e).dispatch(t);
|
|
124
128
|
};
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
129
|
+
return {
|
|
130
|
+
dispatch: function(t) {
|
|
131
|
+
if (r.replacer) {
|
|
132
|
+
t = r.replacer(t);
|
|
133
|
+
}
|
|
134
|
+
var e = typeof t;
|
|
135
|
+
if (t === null) {
|
|
136
|
+
e = "null";
|
|
137
|
+
}
|
|
138
|
+
return this["_" + e](t);
|
|
139
|
+
},
|
|
140
|
+
_object: function(t) {
|
|
141
|
+
var i = /\[object (.*)\]/i;
|
|
142
|
+
var o = Object.prototype.toString.call(t);
|
|
143
|
+
var u = i.exec(o);
|
|
144
|
+
if (!u) {
|
|
145
|
+
u = "unknown:[" + o + "]";
|
|
130
146
|
} else {
|
|
131
|
-
|
|
147
|
+
u = u[1];
|
|
132
148
|
}
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
if (!o) {
|
|
150
|
-
o = "unknown:[" + i + "]";
|
|
151
|
-
} else {
|
|
152
|
-
o = o[1];
|
|
153
|
-
}
|
|
154
|
-
o = o.toLowerCase();
|
|
155
|
-
var u = null;
|
|
156
|
-
if ((u = e.indexOf(r)) >= 0) {
|
|
157
|
-
return this.dispatch("[CIRCULAR:" + u + "]");
|
|
149
|
+
u = u.toLowerCase();
|
|
150
|
+
var a = null;
|
|
151
|
+
if ((a = e.indexOf(t)) >= 0) {
|
|
152
|
+
return this.dispatch("[CIRCULAR:" + a + "]");
|
|
153
|
+
} else {
|
|
154
|
+
e.push(t);
|
|
155
|
+
}
|
|
156
|
+
if (typeof Buffer !== "undefined" && Buffer.isBuffer && Buffer.isBuffer(t)) {
|
|
157
|
+
n("buffer:");
|
|
158
|
+
return n(t);
|
|
159
|
+
}
|
|
160
|
+
if (u !== "object" && u !== "function" && u !== "asyncfunction") {
|
|
161
|
+
if (this["_" + u]) {
|
|
162
|
+
this["_" + u](t);
|
|
163
|
+
} else if (r.ignoreUnknown) {
|
|
164
|
+
return n("[" + u + "]");
|
|
158
165
|
} else {
|
|
159
|
-
|
|
166
|
+
throw new Error('Unknown object type "' + u + '"');
|
|
160
167
|
}
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
168
|
+
} else {
|
|
169
|
+
var c = Object.keys(t);
|
|
170
|
+
if (r.unorderedObjects) {
|
|
171
|
+
c = c.sort();
|
|
164
172
|
}
|
|
165
|
-
if (
|
|
166
|
-
|
|
167
|
-
this["_" + o](r);
|
|
168
|
-
} else if (t.ignoreUnknown) {
|
|
169
|
-
return write("[" + o + "]");
|
|
170
|
-
} else {
|
|
171
|
-
throw new Error('Unknown object type "' + o + '"');
|
|
172
|
-
}
|
|
173
|
-
} else {
|
|
174
|
-
var a = Object.keys(r);
|
|
175
|
-
if (t.unorderedObjects) {
|
|
176
|
-
a = a.sort();
|
|
177
|
-
}
|
|
178
|
-
if (t.respectType !== false && !isNativeFunction(r)) {
|
|
179
|
-
a.splice(0, 0, "prototype", "__proto__", "constructor");
|
|
180
|
-
}
|
|
181
|
-
if (t.excludeKeys) {
|
|
182
|
-
a = a.filter((function(r) {
|
|
183
|
-
return !t.excludeKeys(r);
|
|
184
|
-
}));
|
|
185
|
-
}
|
|
186
|
-
write("object:" + a.length + ":");
|
|
187
|
-
var s = this;
|
|
188
|
-
return a.forEach((function(e) {
|
|
189
|
-
s.dispatch(e);
|
|
190
|
-
write(":");
|
|
191
|
-
if (!t.excludeValues) {
|
|
192
|
-
s.dispatch(r[e]);
|
|
193
|
-
}
|
|
194
|
-
write(",");
|
|
195
|
-
}));
|
|
173
|
+
if (r.respectType !== false && !s(t)) {
|
|
174
|
+
c.splice(0, 0, "prototype", "__proto__", "constructor");
|
|
196
175
|
}
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
var i = this;
|
|
201
|
-
write("array:" + r.length + ":");
|
|
202
|
-
if (!n || r.length <= 1) {
|
|
203
|
-
return r.forEach((function(t) {
|
|
204
|
-
return i.dispatch(t);
|
|
176
|
+
if (r.excludeKeys) {
|
|
177
|
+
c = c.filter((function(t) {
|
|
178
|
+
return !r.excludeKeys(t);
|
|
205
179
|
}));
|
|
206
180
|
}
|
|
207
|
-
|
|
208
|
-
var
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
181
|
+
n("object:" + c.length + ":");
|
|
182
|
+
var f = this;
|
|
183
|
+
return c.forEach((function(e) {
|
|
184
|
+
f.dispatch(e);
|
|
185
|
+
n(":");
|
|
186
|
+
if (!r.excludeValues) {
|
|
187
|
+
f.dispatch(t[e]);
|
|
188
|
+
}
|
|
189
|
+
n(",");
|
|
215
190
|
}));
|
|
216
|
-
e = e.concat(o);
|
|
217
|
-
u.sort();
|
|
218
|
-
return this._array(u, false);
|
|
219
|
-
},
|
|
220
|
-
_date: function(t) {
|
|
221
|
-
return write("date:" + t.toJSON());
|
|
222
|
-
},
|
|
223
|
-
_symbol: function(t) {
|
|
224
|
-
return write("symbol:" + t.toString());
|
|
225
|
-
},
|
|
226
|
-
_error: function(t) {
|
|
227
|
-
return write("error:" + t.toString());
|
|
228
|
-
},
|
|
229
|
-
_boolean: function(t) {
|
|
230
|
-
return write("bool:" + t.toString());
|
|
231
|
-
},
|
|
232
|
-
_string: function(t) {
|
|
233
|
-
write("string:" + t.length + ":");
|
|
234
|
-
write(t.toString());
|
|
235
|
-
},
|
|
236
|
-
_function: function(r) {
|
|
237
|
-
write("fn:");
|
|
238
|
-
if (isNativeFunction(r)) {
|
|
239
|
-
this.dispatch("[native]");
|
|
240
|
-
} else {
|
|
241
|
-
this.dispatch(r.toString());
|
|
242
|
-
}
|
|
243
|
-
if (t.respectFunctionNames !== false) {
|
|
244
|
-
this.dispatch("function-name:" + String(r.name));
|
|
245
|
-
}
|
|
246
|
-
if (t.respectFunctionProperties) {
|
|
247
|
-
this._object(r);
|
|
248
|
-
}
|
|
249
|
-
},
|
|
250
|
-
_number: function(t) {
|
|
251
|
-
return write("number:" + t.toString());
|
|
252
|
-
},
|
|
253
|
-
_xml: function(t) {
|
|
254
|
-
return write("xml:" + t.toString());
|
|
255
|
-
},
|
|
256
|
-
_null: function() {
|
|
257
|
-
return write("Null");
|
|
258
|
-
},
|
|
259
|
-
_undefined: function() {
|
|
260
|
-
return write("Undefined");
|
|
261
|
-
},
|
|
262
|
-
_regexp: function(t) {
|
|
263
|
-
return write("regex:" + t.toString());
|
|
264
|
-
},
|
|
265
|
-
_uint8array: function(t) {
|
|
266
|
-
write("uint8array:");
|
|
267
|
-
return this.dispatch(Array.prototype.slice.call(t));
|
|
268
|
-
},
|
|
269
|
-
_uint8clampedarray: function(t) {
|
|
270
|
-
write("uint8clampedarray:");
|
|
271
|
-
return this.dispatch(Array.prototype.slice.call(t));
|
|
272
|
-
},
|
|
273
|
-
_int8array: function(t) {
|
|
274
|
-
write("int8array:");
|
|
275
|
-
return this.dispatch(Array.prototype.slice.call(t));
|
|
276
|
-
},
|
|
277
|
-
_uint16array: function(t) {
|
|
278
|
-
write("uint16array:");
|
|
279
|
-
return this.dispatch(Array.prototype.slice.call(t));
|
|
280
|
-
},
|
|
281
|
-
_int16array: function(t) {
|
|
282
|
-
write("int16array:");
|
|
283
|
-
return this.dispatch(Array.prototype.slice.call(t));
|
|
284
|
-
},
|
|
285
|
-
_uint32array: function(t) {
|
|
286
|
-
write("uint32array:");
|
|
287
|
-
return this.dispatch(Array.prototype.slice.call(t));
|
|
288
|
-
},
|
|
289
|
-
_int32array: function(t) {
|
|
290
|
-
write("int32array:");
|
|
291
|
-
return this.dispatch(Array.prototype.slice.call(t));
|
|
292
|
-
},
|
|
293
|
-
_float32array: function(t) {
|
|
294
|
-
write("float32array:");
|
|
295
|
-
return this.dispatch(Array.prototype.slice.call(t));
|
|
296
|
-
},
|
|
297
|
-
_float64array: function(t) {
|
|
298
|
-
write("float64array:");
|
|
299
|
-
return this.dispatch(Array.prototype.slice.call(t));
|
|
300
|
-
},
|
|
301
|
-
_arraybuffer: function(t) {
|
|
302
|
-
write("arraybuffer:");
|
|
303
|
-
return this.dispatch(new Uint8Array(t));
|
|
304
|
-
},
|
|
305
|
-
_url: function(t) {
|
|
306
|
-
return write("url:" + t.toString(), "utf8");
|
|
307
|
-
},
|
|
308
|
-
_map: function(r) {
|
|
309
|
-
write("map:");
|
|
310
|
-
var e = Array.from(r);
|
|
311
|
-
return this._array(e, t.unorderedSets !== false);
|
|
312
|
-
},
|
|
313
|
-
_set: function(r) {
|
|
314
|
-
write("set:");
|
|
315
|
-
var e = Array.from(r);
|
|
316
|
-
return this._array(e, t.unorderedSets !== false);
|
|
317
|
-
},
|
|
318
|
-
_file: function(t) {
|
|
319
|
-
write("file:");
|
|
320
|
-
return this.dispatch([ t.name, t.size, t.type, t.lastModfied ]);
|
|
321
|
-
},
|
|
322
|
-
_blob: function() {
|
|
323
|
-
if (t.ignoreUnknown) {
|
|
324
|
-
return write("[blob]");
|
|
325
|
-
}
|
|
326
|
-
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');
|
|
327
|
-
},
|
|
328
|
-
_domwindow: function() {
|
|
329
|
-
return write("domwindow");
|
|
330
|
-
},
|
|
331
|
-
_bigint: function(t) {
|
|
332
|
-
return write("bigint:" + t.toString());
|
|
333
|
-
},
|
|
334
|
-
_process: function() {
|
|
335
|
-
return write("process");
|
|
336
|
-
},
|
|
337
|
-
_timer: function() {
|
|
338
|
-
return write("timer");
|
|
339
|
-
},
|
|
340
|
-
_pipe: function() {
|
|
341
|
-
return write("pipe");
|
|
342
|
-
},
|
|
343
|
-
_tcp: function() {
|
|
344
|
-
return write("tcp");
|
|
345
|
-
},
|
|
346
|
-
_udp: function() {
|
|
347
|
-
return write("udp");
|
|
348
|
-
},
|
|
349
|
-
_tty: function() {
|
|
350
|
-
return write("tty");
|
|
351
|
-
},
|
|
352
|
-
_statwatcher: function() {
|
|
353
|
-
return write("statwatcher");
|
|
354
|
-
},
|
|
355
|
-
_securecontext: function() {
|
|
356
|
-
return write("securecontext");
|
|
357
|
-
},
|
|
358
|
-
_connection: function() {
|
|
359
|
-
return write("connection");
|
|
360
|
-
},
|
|
361
|
-
_zlib: function() {
|
|
362
|
-
return write("zlib");
|
|
363
|
-
},
|
|
364
|
-
_context: function() {
|
|
365
|
-
return write("context");
|
|
366
|
-
},
|
|
367
|
-
_nodescript: function() {
|
|
368
|
-
return write("nodescript");
|
|
369
|
-
},
|
|
370
|
-
_httpparser: function() {
|
|
371
|
-
return write("httpparser");
|
|
372
|
-
},
|
|
373
|
-
_dataview: function() {
|
|
374
|
-
return write("dataview");
|
|
375
|
-
},
|
|
376
|
-
_signal: function() {
|
|
377
|
-
return write("signal");
|
|
378
|
-
},
|
|
379
|
-
_fsevent: function() {
|
|
380
|
-
return write("fsevent");
|
|
381
|
-
},
|
|
382
|
-
_tlswrap: function() {
|
|
383
|
-
return write("tlswrap");
|
|
384
191
|
}
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
this.buf += t;
|
|
395
|
-
},
|
|
396
|
-
read: function() {
|
|
397
|
-
return this.buf;
|
|
192
|
+
},
|
|
193
|
+
_array: function(t, i) {
|
|
194
|
+
i = typeof i !== "undefined" ? i : r.unorderedArrays !== false;
|
|
195
|
+
var o = this;
|
|
196
|
+
n("array:" + t.length + ":");
|
|
197
|
+
if (!i || t.length <= 1) {
|
|
198
|
+
return t.forEach((function(r) {
|
|
199
|
+
return o.dispatch(r);
|
|
200
|
+
}));
|
|
398
201
|
}
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
202
|
+
var u = [];
|
|
203
|
+
var a = t.map((function(t) {
|
|
204
|
+
var n = new l;
|
|
205
|
+
var i = e.slice();
|
|
206
|
+
var o = f(r, n, i);
|
|
207
|
+
o.dispatch(t);
|
|
208
|
+
u = u.concat(i.slice(e.length));
|
|
209
|
+
return n.read().toString();
|
|
210
|
+
}));
|
|
211
|
+
e = e.concat(u);
|
|
212
|
+
a.sort();
|
|
213
|
+
return this._array(a, false);
|
|
214
|
+
},
|
|
215
|
+
_date: function(r) {
|
|
216
|
+
return n("date:" + r.toJSON());
|
|
217
|
+
},
|
|
218
|
+
_symbol: function(r) {
|
|
219
|
+
return n("symbol:" + r.toString());
|
|
220
|
+
},
|
|
221
|
+
_error: function(r) {
|
|
222
|
+
return n("error:" + r.toString());
|
|
223
|
+
},
|
|
224
|
+
_boolean: function(r) {
|
|
225
|
+
return n("bool:" + r.toString());
|
|
226
|
+
},
|
|
227
|
+
_string: function(r) {
|
|
228
|
+
n("string:" + r.length + ":");
|
|
229
|
+
n(r.toString());
|
|
230
|
+
},
|
|
231
|
+
_function: function(t) {
|
|
232
|
+
n("fn:");
|
|
233
|
+
if (s(t)) {
|
|
234
|
+
this.dispatch("[native]");
|
|
235
|
+
} else {
|
|
236
|
+
this.dispatch(t.toString());
|
|
237
|
+
}
|
|
238
|
+
if (r.respectFunctionNames !== false) {
|
|
239
|
+
this.dispatch("function-name:" + String(t.name));
|
|
240
|
+
}
|
|
241
|
+
if (r.respectFunctionProperties) {
|
|
242
|
+
this._object(t);
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
_number: function(r) {
|
|
246
|
+
return n("number:" + r.toString());
|
|
247
|
+
},
|
|
248
|
+
_xml: function(r) {
|
|
249
|
+
return n("xml:" + r.toString());
|
|
250
|
+
},
|
|
251
|
+
_null: function() {
|
|
252
|
+
return n("Null");
|
|
253
|
+
},
|
|
254
|
+
_undefined: function() {
|
|
255
|
+
return n("Undefined");
|
|
256
|
+
},
|
|
257
|
+
_regexp: function(r) {
|
|
258
|
+
return n("regex:" + r.toString());
|
|
259
|
+
},
|
|
260
|
+
_uint8array: function(r) {
|
|
261
|
+
n("uint8array:");
|
|
262
|
+
return this.dispatch(Array.prototype.slice.call(r));
|
|
263
|
+
},
|
|
264
|
+
_uint8clampedarray: function(r) {
|
|
265
|
+
n("uint8clampedarray:");
|
|
266
|
+
return this.dispatch(Array.prototype.slice.call(r));
|
|
267
|
+
},
|
|
268
|
+
_int8array: function(r) {
|
|
269
|
+
n("int8array:");
|
|
270
|
+
return this.dispatch(Array.prototype.slice.call(r));
|
|
271
|
+
},
|
|
272
|
+
_uint16array: function(r) {
|
|
273
|
+
n("uint16array:");
|
|
274
|
+
return this.dispatch(Array.prototype.slice.call(r));
|
|
275
|
+
},
|
|
276
|
+
_int16array: function(r) {
|
|
277
|
+
n("int16array:");
|
|
278
|
+
return this.dispatch(Array.prototype.slice.call(r));
|
|
279
|
+
},
|
|
280
|
+
_uint32array: function(r) {
|
|
281
|
+
n("uint32array:");
|
|
282
|
+
return this.dispatch(Array.prototype.slice.call(r));
|
|
283
|
+
},
|
|
284
|
+
_int32array: function(r) {
|
|
285
|
+
n("int32array:");
|
|
286
|
+
return this.dispatch(Array.prototype.slice.call(r));
|
|
287
|
+
},
|
|
288
|
+
_float32array: function(r) {
|
|
289
|
+
n("float32array:");
|
|
290
|
+
return this.dispatch(Array.prototype.slice.call(r));
|
|
291
|
+
},
|
|
292
|
+
_float64array: function(r) {
|
|
293
|
+
n("float64array:");
|
|
294
|
+
return this.dispatch(Array.prototype.slice.call(r));
|
|
295
|
+
},
|
|
296
|
+
_arraybuffer: function(r) {
|
|
297
|
+
n("arraybuffer:");
|
|
298
|
+
return this.dispatch(new Uint8Array(r));
|
|
299
|
+
},
|
|
300
|
+
_url: function(r) {
|
|
301
|
+
return n("url:" + r.toString(), "utf8");
|
|
302
|
+
},
|
|
303
|
+
_map: function(t) {
|
|
304
|
+
n("map:");
|
|
305
|
+
var e = Array.from(t);
|
|
306
|
+
return this._array(e, r.unorderedSets !== false);
|
|
307
|
+
},
|
|
308
|
+
_set: function(t) {
|
|
309
|
+
n("set:");
|
|
310
|
+
var e = Array.from(t);
|
|
311
|
+
return this._array(e, r.unorderedSets !== false);
|
|
312
|
+
},
|
|
313
|
+
_file: function(r) {
|
|
314
|
+
n("file:");
|
|
315
|
+
return this.dispatch([ r.name, r.size, r.type, r.lastModfied ]);
|
|
316
|
+
},
|
|
317
|
+
_blob: function() {
|
|
318
|
+
if (r.ignoreUnknown) {
|
|
319
|
+
return n("[blob]");
|
|
320
|
+
}
|
|
321
|
+
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');
|
|
322
|
+
},
|
|
323
|
+
_domwindow: function() {
|
|
324
|
+
return n("domwindow");
|
|
325
|
+
},
|
|
326
|
+
_bigint: function(r) {
|
|
327
|
+
return n("bigint:" + r.toString());
|
|
328
|
+
},
|
|
329
|
+
_process: function() {
|
|
330
|
+
return n("process");
|
|
331
|
+
},
|
|
332
|
+
_timer: function() {
|
|
333
|
+
return n("timer");
|
|
334
|
+
},
|
|
335
|
+
_pipe: function() {
|
|
336
|
+
return n("pipe");
|
|
337
|
+
},
|
|
338
|
+
_tcp: function() {
|
|
339
|
+
return n("tcp");
|
|
340
|
+
},
|
|
341
|
+
_udp: function() {
|
|
342
|
+
return n("udp");
|
|
343
|
+
},
|
|
344
|
+
_tty: function() {
|
|
345
|
+
return n("tty");
|
|
346
|
+
},
|
|
347
|
+
_statwatcher: function() {
|
|
348
|
+
return n("statwatcher");
|
|
349
|
+
},
|
|
350
|
+
_securecontext: function() {
|
|
351
|
+
return n("securecontext");
|
|
352
|
+
},
|
|
353
|
+
_connection: function() {
|
|
354
|
+
return n("connection");
|
|
355
|
+
},
|
|
356
|
+
_zlib: function() {
|
|
357
|
+
return n("zlib");
|
|
358
|
+
},
|
|
359
|
+
_context: function() {
|
|
360
|
+
return n("context");
|
|
361
|
+
},
|
|
362
|
+
_nodescript: function() {
|
|
363
|
+
return n("nodescript");
|
|
364
|
+
},
|
|
365
|
+
_httpparser: function() {
|
|
366
|
+
return n("httpparser");
|
|
367
|
+
},
|
|
368
|
+
_dataview: function() {
|
|
369
|
+
return n("dataview");
|
|
370
|
+
},
|
|
371
|
+
_signal: function() {
|
|
372
|
+
return n("signal");
|
|
373
|
+
},
|
|
374
|
+
_fsevent: function() {
|
|
375
|
+
return n("fsevent");
|
|
376
|
+
},
|
|
377
|
+
_tlswrap: function() {
|
|
378
|
+
return n("tlswrap");
|
|
379
|
+
}
|
|
380
|
+
};
|
|
381
|
+
}
|
|
382
|
+
function l() {
|
|
383
|
+
return {
|
|
384
|
+
buf: "",
|
|
385
|
+
write: function(r) {
|
|
386
|
+
this.buf += r;
|
|
387
|
+
},
|
|
388
|
+
end: function(r) {
|
|
389
|
+
this.buf += r;
|
|
390
|
+
},
|
|
391
|
+
read: function() {
|
|
392
|
+
return this.buf;
|
|
393
|
+
}
|
|
394
|
+
};
|
|
395
|
+
}
|
|
396
|
+
})(e, e.exports);
|
|
404
397
|
|
|
405
|
-
var
|
|
398
|
+
var i = e.exports;
|
|
406
399
|
|
|
407
|
-
const
|
|
400
|
+
const o = r(i);
|
|
408
401
|
|
|
409
|
-
function
|
|
410
|
-
return
|
|
402
|
+
function u(r, t) {
|
|
403
|
+
return o(r, t);
|
|
411
404
|
}
|
|
412
405
|
|
|
413
|
-
export { ObjectHash };
|
|
406
|
+
export { u as ObjectHash };
|