lakutata 2.0.115 → 2.0.117
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/com/cacher.cjs +1 -1
- package/com/cacher.mjs +1 -1
- package/com/database.cjs +1 -1
- package/com/database.mjs +1 -1
- package/com/docker.cjs +1 -1
- package/com/docker.mjs +1 -1
- package/com/entrypoint.cjs +1 -1
- package/com/entrypoint.mjs +1 -1
- package/com/logger.cjs +1 -1
- package/com/logger.mjs +1 -1
- package/com/monitor.cjs +1 -1
- package/com/monitor.mjs +1 -1
- package/decorator/asst.cjs +1 -1
- package/decorator/asst.mjs +1 -1
- package/decorator/ctrl.cjs +1 -1
- package/decorator/ctrl.mjs +1 -1
- package/decorator/di.cjs +1 -1
- package/decorator/di.mjs +1 -1
- package/decorator/dto.cjs +1 -1
- package/decorator/dto.mjs +1 -1
- package/decorator/orm.cjs +1 -1
- package/decorator/orm.mjs +1 -1
- package/dtos.cjs +1 -1
- package/dtos.mjs +1 -1
- package/helper.cjs +13 -9
- package/helper.d.ts +1 -1
- package/helper.mjs +3 -1
- package/lakutata.cjs +1 -1
- package/lakutata.mjs +1 -1
- package/orm.cjs +1 -1
- package/orm.mjs +1 -1
- package/package.json +1 -1
- package/provider/database.cjs +1 -1
- package/provider/database.mjs +1 -1
- package/provider/passwordHash.cjs +1 -1
- package/provider/passwordHash.mjs +1 -1
- package/src/components/Database.cjs +1 -1
- package/src/components/Database.mjs +1 -1
- package/src/components/Logger.cjs +1 -1
- package/src/components/Logger.mjs +1 -1
- package/src/components/cacher/Cacher.cjs +1 -1
- package/src/components/cacher/Cacher.mjs +1 -1
- package/src/components/cacher/adapters/CreateFileCacheAdapter.cjs +1 -1
- package/src/components/cacher/adapters/CreateFileCacheAdapter.mjs +1 -1
- package/src/components/cacher/adapters/CreateMemcacheCacheAdapter.cjs +1 -1
- package/src/components/cacher/adapters/CreateMemcacheCacheAdapter.mjs +1 -1
- package/src/components/cacher/adapters/CreateMongoCacheAdapter.cjs +1 -1
- package/src/components/cacher/adapters/CreateMongoCacheAdapter.mjs +1 -1
- package/src/components/cacher/adapters/CreateMysqlCacheAdapter.cjs +1 -1
- package/src/components/cacher/adapters/CreateMysqlCacheAdapter.mjs +1 -1
- package/src/components/cacher/adapters/CreatePostgresCacheAdapter.cjs +1 -1
- package/src/components/cacher/adapters/CreatePostgresCacheAdapter.mjs +1 -1
- package/src/components/cacher/adapters/CreateRedisCacheAdapter.cjs +1 -1
- package/src/components/cacher/adapters/CreateRedisCacheAdapter.mjs +1 -1
- package/src/components/cacher/adapters/CreateSqliteCacheAdapter.cjs +1 -1
- package/src/components/cacher/adapters/CreateSqliteCacheAdapter.mjs +1 -1
- package/src/components/cacher/exceptions/CacheDriverNotFoundException.cjs +1 -1
- package/src/components/cacher/exceptions/CacheDriverNotFoundException.mjs +1 -1
- package/src/components/cacher/interfaces/CacherOptions.cjs +1 -1
- package/src/components/cacher/interfaces/CacherOptions.mjs +1 -1
- package/src/components/cacher/lib/IsDriverPackageInstalled.cjs +1 -1
- package/src/components/cacher/lib/IsDriverPackageInstalled.mjs +1 -1
- package/src/components/cacher/options/FileCacheOptions.cjs +1 -1
- package/src/components/cacher/options/FileCacheOptions.mjs +1 -1
- package/src/components/cacher/options/MemcacheCacheOptions.cjs +1 -1
- package/src/components/cacher/options/MemcacheCacheOptions.mjs +1 -1
- package/src/components/cacher/options/MongoCacheOptions.cjs +1 -1
- package/src/components/cacher/options/MongoCacheOptions.mjs +1 -1
- package/src/components/cacher/options/MysqlCacheOptions.cjs +1 -1
- package/src/components/cacher/options/MysqlCacheOptions.mjs +1 -1
- package/src/components/cacher/options/PostgresCacheOptions.cjs +1 -1
- package/src/components/cacher/options/PostgresCacheOptions.mjs +1 -1
- package/src/components/cacher/options/RedisCacheOptions.cjs +1 -1
- package/src/components/cacher/options/RedisCacheOptions.mjs +1 -1
- package/src/components/cacher/options/SqliteCacheOptions.cjs +1 -1
- package/src/components/cacher/options/SqliteCacheOptions.mjs +1 -1
- package/src/components/cacher/types/CacheStoreOptions.cjs +1 -1
- package/src/components/cacher/types/CacheStoreOptions.mjs +1 -1
- package/src/components/docker/ConnectionOptionsBuilder.cjs +1 -1
- package/src/components/docker/ConnectionOptionsBuilder.mjs +1 -1
- package/src/components/docker/Docker.cjs +1 -1
- package/src/components/docker/Docker.mjs +1 -1
- package/src/components/docker/exceptions/DockerConnectionException.cjs +1 -1
- package/src/components/docker/exceptions/DockerConnectionException.mjs +1 -1
- package/src/components/docker/exceptions/DockerImageBuildException.cjs +1 -1
- package/src/components/docker/exceptions/DockerImageBuildException.mjs +1 -1
- package/src/components/docker/exceptions/DockerImageImportException.cjs +1 -1
- package/src/components/docker/exceptions/DockerImageImportException.mjs +1 -1
- package/src/components/docker/exceptions/DockerImageNotFoundException.cjs +1 -1
- package/src/components/docker/exceptions/DockerImageNotFoundException.mjs +1 -1
- package/src/components/docker/exceptions/DockerImagePullException.cjs +1 -1
- package/src/components/docker/exceptions/DockerImagePullException.mjs +1 -1
- package/src/components/docker/exceptions/DockerImagePushException.cjs +1 -1
- package/src/components/docker/exceptions/DockerImagePushException.mjs +1 -1
- package/src/components/docker/exceptions/DockerImageRepoTagNotFoundException.cjs +1 -1
- package/src/components/docker/exceptions/DockerImageRepoTagNotFoundException.mjs +1 -1
- package/src/components/docker/exceptions/DockerNetworkNotFoundException.cjs +1 -1
- package/src/components/docker/exceptions/DockerNetworkNotFoundException.mjs +1 -1
- package/src/components/docker/interfaces/IDockerConnectionOptions.cjs +1 -1
- package/src/components/docker/interfaces/IDockerConnectionOptions.mjs +1 -1
- package/src/components/docker/interfaces/IDockerHttpConnectionOptions.cjs +1 -1
- package/src/components/docker/interfaces/IDockerHttpConnectionOptions.mjs +1 -1
- package/src/components/docker/interfaces/IDockerHttpsConnectionOptions.cjs +1 -1
- package/src/components/docker/interfaces/IDockerHttpsConnectionOptions.mjs +1 -1
- package/src/components/docker/interfaces/IDockerKeyObject.cjs +1 -1
- package/src/components/docker/interfaces/IDockerKeyObject.mjs +1 -1
- package/src/components/docker/interfaces/IDockerSSHConnectionOptions.cjs +1 -1
- package/src/components/docker/interfaces/IDockerSSHConnectionOptions.mjs +1 -1
- package/src/components/docker/interfaces/IDockerSocketConnectionOptions.cjs +1 -1
- package/src/components/docker/interfaces/IDockerSocketConnectionOptions.mjs +1 -1
- 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/DockerImage.cjs +1 -1
- package/src/components/docker/lib/DockerImage.mjs +1 -1
- package/src/components/docker/lib/ParseEnvToRecord.cjs +1 -1
- package/src/components/docker/lib/ParseEnvToRecord.mjs +1 -1
- package/src/components/docker/lib/ParseRepositoryTag.cjs +1 -1
- package/src/components/docker/lib/ParseRepositoryTag.mjs +1 -1
- package/src/components/docker/options/DockerPruneOptions.cjs +1 -1
- package/src/components/docker/options/DockerPruneOptions.mjs +1 -1
- package/src/components/docker/options/auth/DockerAuthOptions.cjs +1 -1
- package/src/components/docker/options/auth/DockerAuthOptions.mjs +1 -1
- package/src/components/docker/options/container/ContainerCommitOptions.cjs +1 -1
- package/src/components/docker/options/container/ContainerCommitOptions.mjs +1 -1
- package/src/components/docker/options/container/ContainerCreateTTYOptions.cjs +1 -1
- package/src/components/docker/options/container/ContainerCreateTTYOptions.mjs +1 -1
- package/src/components/docker/options/container/ContainerExecOptions.cjs +1 -1
- package/src/components/docker/options/container/ContainerExecOptions.mjs +1 -1
- package/src/components/docker/options/container/ContainerExportDirectoryOptions.cjs +1 -1
- package/src/components/docker/options/container/ContainerExportDirectoryOptions.mjs +1 -1
- package/src/components/docker/options/container/ContainerKillOptions.cjs +1 -1
- package/src/components/docker/options/container/ContainerKillOptions.mjs +1 -1
- package/src/components/docker/options/container/ContainerLogsOptions.cjs +1 -1
- package/src/components/docker/options/container/ContainerLogsOptions.mjs +1 -1
- package/src/components/docker/options/container/ContainerRemoveOptions.cjs +1 -1
- package/src/components/docker/options/container/ContainerRemoveOptions.mjs +1 -1
- package/src/components/docker/options/container/ContainerSettingOptions.cjs +1 -1
- package/src/components/docker/options/container/ContainerSettingOptions.mjs +1 -1
- package/src/components/docker/options/container/ContainerStopOptions.cjs +1 -1
- package/src/components/docker/options/container/ContainerStopOptions.mjs +1 -1
- package/src/components/docker/options/container/ContainerTTYConsoleSizeOptions.cjs +1 -1
- package/src/components/docker/options/container/ContainerTTYConsoleSizeOptions.mjs +1 -1
- package/src/components/docker/options/image/ImageBuildOptions.cjs +1 -1
- package/src/components/docker/options/image/ImageBuildOptions.mjs +1 -1
- package/src/components/docker/options/image/ImageExportOptions.cjs +1 -1
- package/src/components/docker/options/image/ImageExportOptions.mjs +1 -1
- package/src/components/docker/options/image/ImageImportOptions.cjs +1 -1
- package/src/components/docker/options/image/ImageImportOptions.mjs +1 -1
- package/src/components/docker/options/image/ImagePullOptions.cjs +1 -1
- package/src/components/docker/options/image/ImagePullOptions.mjs +1 -1
- package/src/components/docker/options/image/ImagePushOptions.cjs +1 -1
- package/src/components/docker/options/image/ImagePushOptions.mjs +1 -1
- package/src/components/docker/options/image/ImageRemoveOptions.cjs +1 -1
- package/src/components/docker/options/image/ImageRemoveOptions.mjs +1 -1
- package/src/components/docker/options/image/ImageTagOptions.cjs +1 -1
- package/src/components/docker/options/image/ImageTagOptions.mjs +1 -1
- package/src/components/docker/options/network/NetworkCreateOptions.cjs +1 -1
- package/src/components/docker/options/network/NetworkCreateOptions.mjs +1 -1
- package/src/components/docker/types/ContainerBind.cjs +1 -1
- package/src/components/docker/types/ContainerBind.mjs +1 -1
- package/src/components/docker/types/ContainerCapability.cjs +1 -1
- package/src/components/docker/types/ContainerCapability.mjs +1 -1
- package/src/components/docker/types/ContainerConfig.cjs +1 -1
- package/src/components/docker/types/ContainerConfig.mjs +1 -1
- package/src/components/docker/types/ContainerDevice.cjs +1 -1
- package/src/components/docker/types/ContainerDevice.mjs +1 -1
- package/src/components/docker/types/ContainerNetwork.cjs +1 -1
- package/src/components/docker/types/ContainerNetwork.mjs +1 -1
- package/src/components/docker/types/ContainerPort.cjs +1 -1
- package/src/components/docker/types/ContainerPort.mjs +1 -1
- package/src/components/docker/types/ContainerRestartPolicy.cjs +1 -1
- package/src/components/docker/types/ContainerRestartPolicy.mjs +1 -1
- package/src/components/docker/types/ContainerState.cjs +1 -1
- package/src/components/docker/types/ContainerState.mjs +1 -1
- package/src/components/docker/types/ContainerStats.cjs +1 -1
- package/src/components/docker/types/ContainerStats.mjs +1 -1
- package/src/components/docker/types/DockerOutputCallback.cjs +1 -1
- package/src/components/docker/types/DockerOutputCallback.mjs +1 -1
- package/src/components/docker/types/ImageConfig.cjs +1 -1
- package/src/components/docker/types/ImageConfig.mjs +1 -1
- package/src/components/docker/types/ImageExposePort.cjs +1 -1
- package/src/components/docker/types/ImageExposePort.mjs +1 -1
- package/src/components/docker/types/NetworkInfo.cjs +1 -1
- package/src/components/docker/types/NetworkInfo.mjs +1 -1
- package/src/components/entrypoint/Entrypoint.cjs +1 -1
- package/src/components/entrypoint/Entrypoint.mjs +1 -1
- package/src/components/entrypoint/exceptions/AccessDenyException.cjs +1 -1
- package/src/components/entrypoint/exceptions/AccessDenyException.mjs +1 -1
- package/src/components/entrypoint/exceptions/ControllerActionNotFoundException.cjs +1 -1
- package/src/components/entrypoint/exceptions/ControllerActionNotFoundException.mjs +1 -1
- package/src/components/entrypoint/exceptions/DuplicateActionNameException.cjs +1 -1
- package/src/components/entrypoint/exceptions/DuplicateActionNameException.mjs +1 -1
- package/src/components/entrypoint/exceptions/InvalidActionGroupException.cjs +1 -1
- package/src/components/entrypoint/exceptions/InvalidActionGroupException.mjs +1 -1
- package/src/components/entrypoint/lib/AccessControl.cjs +1 -1
- package/src/components/entrypoint/lib/AccessControl.mjs +1 -1
- package/src/components/entrypoint/lib/AccessControlRule.cjs +1 -1
- package/src/components/entrypoint/lib/AccessControlRule.mjs +1 -1
- package/src/components/entrypoint/lib/Controller.cjs +1 -1
- package/src/components/entrypoint/lib/Controller.mjs +1 -1
- package/src/components/monitor/CpuMonitor.cjs +1 -1
- package/src/components/monitor/CpuMonitor.mjs +1 -1
- package/src/components/monitor/EventLoopMonitor.cjs +1 -1
- package/src/components/monitor/EventLoopMonitor.mjs +1 -1
- package/src/components/monitor/HttpRequestMonitor.cjs +1 -1
- package/src/components/monitor/HttpRequestMonitor.mjs +1 -1
- package/src/components/monitor/MemoryMonitor.cjs +1 -1
- package/src/components/monitor/MemoryMonitor.mjs +1 -1
- package/src/components/monitor/interfaces/ICpuMonitorStatistics.cjs +1 -1
- package/src/components/monitor/interfaces/ICpuMonitorStatistics.mjs +1 -1
- package/src/components/monitor/interfaces/IEventLoopMonitorStatistics.cjs +1 -1
- package/src/components/monitor/interfaces/IEventLoopMonitorStatistics.mjs +1 -1
- package/src/components/monitor/interfaces/IHttpRequestMonitorStatistics.cjs +1 -1
- package/src/components/monitor/interfaces/IHttpRequestMonitorStatistics.mjs +1 -1
- package/src/components/monitor/interfaces/IMemoryMonitorStatistics.cjs +1 -1
- package/src/components/monitor/interfaces/IMemoryMonitorStatistics.mjs +1 -1
- package/src/components/monitor/interfaces/IMonitor.cjs +1 -1
- package/src/components/monitor/interfaces/IMonitor.mjs +1 -1
- package/src/constants/DIMetadataKey.cjs +1 -1
- package/src/constants/DIMetadataKey.mjs +1 -1
- package/src/constants/DTOMetadataKey.cjs +1 -1
- package/src/constants/DTOMetadataKey.mjs +1 -1
- package/src/decorators/asst/After.cjs +1 -1
- package/src/decorators/asst/After.mjs +1 -1
- package/src/decorators/asst/Before.cjs +1 -1
- package/src/decorators/asst/Before.mjs +1 -1
- package/src/decorators/ctrl/CLIAction.cjs +1 -1
- package/src/decorators/ctrl/CLIAction.mjs +1 -1
- package/src/decorators/ctrl/HTTPAction.cjs +1 -1
- package/src/decorators/ctrl/HTTPAction.mjs +1 -1
- package/src/decorators/ctrl/ServiceAction.cjs +1 -1
- package/src/decorators/ctrl/ServiceAction.mjs +1 -1
- package/src/decorators/ctrl/http/DELETE.cjs +1 -1
- package/src/decorators/ctrl/http/DELETE.mjs +1 -1
- package/src/decorators/ctrl/http/GET.cjs +1 -1
- package/src/decorators/ctrl/http/GET.mjs +1 -1
- package/src/decorators/ctrl/http/HEAD.cjs +1 -1
- package/src/decorators/ctrl/http/HEAD.mjs +1 -1
- package/src/decorators/ctrl/http/OPTIONS.cjs +1 -1
- package/src/decorators/ctrl/http/OPTIONS.mjs +1 -1
- package/src/decorators/ctrl/http/PATCH.cjs +1 -1
- package/src/decorators/ctrl/http/PATCH.mjs +1 -1
- package/src/decorators/ctrl/http/POST.cjs +1 -1
- package/src/decorators/ctrl/http/POST.mjs +1 -1
- package/src/decorators/ctrl/http/PUT.cjs +1 -1
- package/src/decorators/ctrl/http/PUT.mjs +1 -1
- package/src/decorators/di/Autoload.cjs +1 -1
- package/src/decorators/di/Autoload.mjs +1 -1
- package/src/decorators/di/Configurable.cjs +1 -1
- package/src/decorators/di/Configurable.mjs +1 -1
- package/src/decorators/di/Inject.cjs +1 -1
- package/src/decorators/di/Inject.mjs +1 -1
- package/src/decorators/di/Lifetime.cjs +1 -1
- package/src/decorators/di/Lifetime.mjs +1 -1
- package/src/decorators/dto/Accept.cjs +1 -1
- package/src/decorators/dto/Accept.mjs +1 -1
- package/src/decorators/dto/Expect.cjs +1 -1
- package/src/decorators/dto/Expect.mjs +1 -1
- package/src/decorators/dto/IndexSignature.cjs +1 -1
- package/src/decorators/dto/IndexSignature.mjs +1 -1
- package/src/decorators/dto/Return.cjs +1 -1
- package/src/decorators/dto/Return.mjs +1 -1
- package/src/decorators/orm/AfterInsert.cjs +1 -1
- package/src/decorators/orm/AfterInsert.mjs +1 -1
- package/src/decorators/orm/AfterLoad.cjs +1 -1
- package/src/decorators/orm/AfterLoad.mjs +1 -1
- package/src/decorators/orm/AfterRecover.cjs +1 -1
- package/src/decorators/orm/AfterRecover.mjs +1 -1
- package/src/decorators/orm/AfterRemove.cjs +1 -1
- package/src/decorators/orm/AfterRemove.mjs +1 -1
- package/src/decorators/orm/AfterSoftRemove.cjs +1 -1
- package/src/decorators/orm/AfterSoftRemove.mjs +1 -1
- package/src/decorators/orm/AfterUpdate.cjs +1 -1
- package/src/decorators/orm/AfterUpdate.mjs +1 -1
- package/src/decorators/orm/BeforeInsert.cjs +1 -1
- package/src/decorators/orm/BeforeInsert.mjs +1 -1
- package/src/decorators/orm/BeforeRecover.cjs +1 -1
- package/src/decorators/orm/BeforeRecover.mjs +1 -1
- package/src/decorators/orm/BeforeRemove.cjs +1 -1
- package/src/decorators/orm/BeforeRemove.mjs +1 -1
- package/src/decorators/orm/BeforeSoftRemove.cjs +1 -1
- package/src/decorators/orm/BeforeSoftRemove.mjs +1 -1
- package/src/decorators/orm/BeforeUpdate.cjs +1 -1
- package/src/decorators/orm/BeforeUpdate.mjs +1 -1
- package/src/decorators/orm/Check.cjs +1 -1
- package/src/decorators/orm/Check.mjs +1 -1
- package/src/decorators/orm/ChildEntity.cjs +1 -1
- package/src/decorators/orm/ChildEntity.mjs +1 -1
- package/src/decorators/orm/Column.cjs +1 -1
- package/src/decorators/orm/Column.mjs +1 -1
- package/src/decorators/orm/CreateDateColumn.cjs +1 -1
- package/src/decorators/orm/CreateDateColumn.mjs +1 -1
- package/src/decorators/orm/DeleteDateColumn.cjs +1 -1
- package/src/decorators/orm/DeleteDateColumn.mjs +1 -1
- package/src/decorators/orm/Entity.cjs +1 -1
- package/src/decorators/orm/Entity.mjs +1 -1
- package/src/decorators/orm/EventSubscriber.cjs +1 -1
- package/src/decorators/orm/EventSubscriber.mjs +1 -1
- package/src/decorators/orm/Exclusion.cjs +1 -1
- package/src/decorators/orm/Exclusion.mjs +1 -1
- package/src/decorators/orm/Generated.cjs +1 -1
- package/src/decorators/orm/Generated.mjs +1 -1
- package/src/decorators/orm/Index.cjs +1 -1
- package/src/decorators/orm/Index.mjs +1 -1
- package/src/decorators/orm/JoinColumn.cjs +1 -1
- package/src/decorators/orm/JoinColumn.mjs +1 -1
- package/src/decorators/orm/JoinTable.cjs +1 -1
- package/src/decorators/orm/JoinTable.mjs +1 -1
- package/src/decorators/orm/ManyToMany.cjs +1 -1
- package/src/decorators/orm/ManyToMany.mjs +1 -1
- package/src/decorators/orm/ManyToOne.cjs +1 -1
- package/src/decorators/orm/ManyToOne.mjs +1 -1
- package/src/decorators/orm/ObjectIdColumn.cjs +1 -1
- package/src/decorators/orm/ObjectIdColumn.mjs +1 -1
- package/src/decorators/orm/OneToMany.cjs +1 -1
- package/src/decorators/orm/OneToMany.mjs +1 -1
- package/src/decorators/orm/OneToOne.cjs +1 -1
- package/src/decorators/orm/OneToOne.mjs +1 -1
- package/src/decorators/orm/PrimaryColumn.cjs +1 -1
- package/src/decorators/orm/PrimaryColumn.mjs +1 -1
- package/src/decorators/orm/PrimaryGeneratedColumn.cjs +1 -1
- package/src/decorators/orm/PrimaryGeneratedColumn.mjs +1 -1
- package/src/decorators/orm/RelationId.cjs +1 -1
- package/src/decorators/orm/RelationId.mjs +1 -1
- package/src/decorators/orm/TableInheritance.cjs +1 -1
- package/src/decorators/orm/TableInheritance.mjs +1 -1
- package/src/decorators/orm/Tree.cjs +1 -1
- package/src/decorators/orm/Tree.mjs +1 -1
- package/src/decorators/orm/TreeChildren.cjs +1 -1
- package/src/decorators/orm/TreeChildren.mjs +1 -1
- package/src/decorators/orm/TreeLevelColumn.cjs +1 -1
- package/src/decorators/orm/TreeLevelColumn.mjs +1 -1
- package/src/decorators/orm/TreeParent.cjs +1 -1
- package/src/decorators/orm/TreeParent.mjs +1 -1
- package/src/decorators/orm/Unique.cjs +1 -1
- package/src/decorators/orm/Unique.mjs +1 -1
- package/src/decorators/orm/UpdateDateColumn.cjs +1 -1
- package/src/decorators/orm/UpdateDateColumn.mjs +1 -1
- package/src/decorators/orm/VersionColumn.cjs +1 -1
- package/src/decorators/orm/VersionColumn.mjs +1 -1
- package/src/decorators/orm/ViewColumn.cjs +1 -1
- package/src/decorators/orm/ViewColumn.mjs +1 -1
- package/src/decorators/orm/ViewEntity.cjs +1 -1
- package/src/decorators/orm/ViewEntity.mjs +1 -1
- package/src/decorators/orm/VirtualColumn.cjs +1 -1
- package/src/decorators/orm/VirtualColumn.mjs +1 -1
- package/src/dto/PaginationResultDTO.cjs +1 -1
- package/src/dto/PaginationResultDTO.mjs +1 -1
- package/src/dto/PaginationSearchDTO.cjs +1 -1
- package/src/dto/PaginationSearchDTO.mjs +1 -1
- package/src/exceptions/DestroyRuntimeContainerException.cjs +1 -1
- package/src/exceptions/DestroyRuntimeContainerException.mjs +1 -1
- package/src/exceptions/InvalidActionPatternDepthException.cjs +1 -1
- package/src/exceptions/InvalidActionPatternDepthException.mjs +1 -1
- package/src/exceptions/InvalidAssistantFunctionTypeException.cjs +1 -1
- package/src/exceptions/InvalidAssistantFunctionTypeException.mjs +1 -1
- package/src/exceptions/InvalidObjectTypeException.cjs +1 -1
- package/src/exceptions/InvalidObjectTypeException.mjs +1 -1
- package/src/exceptions/MethodNotFoundException.cjs +1 -1
- package/src/exceptions/MethodNotFoundException.mjs +1 -1
- package/src/exceptions/alias/AliasExistsException.cjs +1 -1
- package/src/exceptions/alias/AliasExistsException.mjs +1 -1
- package/src/exceptions/alias/AliasNotFoundException.cjs +1 -1
- package/src/exceptions/alias/AliasNotFoundException.mjs +1 -1
- package/src/exceptions/alias/InvalidAliasNameException.cjs +1 -1
- package/src/exceptions/alias/InvalidAliasNameException.mjs +1 -1
- package/src/exceptions/di/DependencyInjectionException.cjs +1 -1
- package/src/exceptions/di/DependencyInjectionException.mjs +1 -1
- package/src/exceptions/di/LifetimeLockedException.cjs +1 -1
- package/src/exceptions/di/LifetimeLockedException.mjs +1 -1
- package/src/exceptions/di/OverridableObjectTargetConfigNotFoundException.cjs +1 -1
- package/src/exceptions/di/OverridableObjectTargetConfigNotFoundException.mjs +1 -1
- package/src/exceptions/dto/InvalidMethodAcceptException.cjs +1 -1
- package/src/exceptions/dto/InvalidMethodAcceptException.mjs +1 -1
- package/src/exceptions/dto/InvalidMethodReturnException.cjs +1 -1
- package/src/exceptions/dto/InvalidMethodReturnException.mjs +1 -1
- package/src/exceptions/dto/InvalidValueException.cjs +1 -1
- package/src/exceptions/dto/InvalidValueException.mjs +1 -1
- package/src/interfaces/IBaseObjectConstructor.cjs +1 -1
- package/src/interfaces/IBaseObjectConstructor.mjs +1 -1
- package/src/interfaces/IConstructor.cjs +1 -1
- package/src/interfaces/IConstructor.mjs +1 -1
- package/src/interfaces/IPatRun.cjs +1 -1
- package/src/interfaces/IPatRun.mjs +1 -1
- package/src/lib/base/BaseObject.cjs +1 -1
- package/src/lib/base/BaseObject.mjs +1 -1
- package/src/lib/base/Context.cjs +1 -1
- package/src/lib/base/Context.mjs +1 -1
- package/src/lib/base/EventEmitter.cjs +1 -1
- package/src/lib/base/EventEmitter.mjs +1 -1
- package/src/lib/base/abstracts/Exception.cjs +1 -1
- package/src/lib/base/abstracts/Exception.mjs +1 -1
- package/src/lib/base/async-constructor/Append.cjs +1 -1
- package/src/lib/base/async-constructor/Append.mjs +1 -1
- package/src/lib/base/async-constructor/AsyncConstructor.cjs +1 -1
- package/src/lib/base/async-constructor/AsyncConstructor.mjs +1 -1
- package/src/lib/base/internal/ActionOptions.cjs +1 -1
- package/src/lib/base/internal/ActionOptions.mjs +1 -1
- package/src/lib/base/internal/ApplicationConfigLoader.cjs +1 -1
- package/src/lib/base/internal/ApplicationConfigLoader.mjs +1 -1
- package/src/lib/base/internal/BasicInfo.cjs +1 -1
- package/src/lib/base/internal/BasicInfo.mjs +1 -1
- package/src/lib/base/internal/CamelCase.cjs +1 -1
- package/src/lib/base/internal/CamelCase.mjs +1 -1
- package/src/lib/base/internal/ConfigurableRecordsInjection.cjs +1 -1
- package/src/lib/base/internal/ConfigurableRecordsInjection.mjs +1 -1
- package/src/lib/base/internal/ConstructorSymbol.cjs +1 -1
- package/src/lib/base/internal/ConstructorSymbol.mjs +1 -1
- package/src/lib/base/internal/ControllerEntrypoint.cjs +1 -1
- package/src/lib/base/internal/ControllerEntrypoint.mjs +1 -1
- package/src/lib/base/internal/DataValidator.cjs +1 -1
- package/src/lib/base/internal/DataValidator.mjs +1 -1
- package/src/lib/base/internal/DatabaseSymbol.cjs +1 -1
- package/src/lib/base/internal/DatabaseSymbol.mjs +1 -1
- package/src/lib/base/internal/FlexibleDTO.cjs +1 -1
- package/src/lib/base/internal/FlexibleDTO.mjs +1 -1
- package/src/lib/base/internal/GetActionDTOAndOptions.cjs +1 -1
- package/src/lib/base/internal/GetActionDTOAndOptions.mjs +1 -1
- package/src/lib/base/internal/IEEE754.cjs +1 -1
- package/src/lib/base/internal/IEEE754.mjs +1 -1
- package/src/lib/base/internal/MethodAssistantFunction.cjs +1 -1
- package/src/lib/base/internal/MethodAssistantFunction.mjs +1 -1
- package/src/lib/base/internal/MethodValidation.cjs +1 -1
- package/src/lib/base/internal/MethodValidation.mjs +1 -1
- package/src/lib/base/internal/ModuleConfigLoader.cjs +1 -1
- package/src/lib/base/internal/ModuleConfigLoader.mjs +1 -1
- package/src/lib/base/internal/ObjectConfiguration.cjs +1 -1
- package/src/lib/base/internal/ObjectConfiguration.mjs +1 -1
- package/src/lib/base/internal/ObjectContainer.cjs +1 -1
- package/src/lib/base/internal/ObjectContainer.mjs +1 -1
- package/src/lib/base/internal/ObjectInjection.cjs +1 -1
- package/src/lib/base/internal/ObjectInjection.mjs +1 -1
- package/src/lib/base/internal/ObjectLifetime.cjs +1 -1
- package/src/lib/base/internal/ObjectLifetime.mjs +1 -1
- package/src/lib/base/internal/ObjectSchemaValidation.cjs +1 -1
- package/src/lib/base/internal/ObjectSchemaValidation.mjs +1 -1
- package/src/lib/base/internal/ObjectType.cjs +1 -1
- package/src/lib/base/internal/ObjectType.mjs +1 -1
- package/src/lib/base/internal/ObjectWeakRefs.cjs +1 -1
- package/src/lib/base/internal/ObjectWeakRefs.mjs +1 -1
- package/src/lib/base/internal/PatternManager.cjs +1 -1
- package/src/lib/base/internal/PatternManager.mjs +1 -1
- package/src/lib/base/internal/StringifyPattern.cjs +1 -1
- package/src/lib/base/internal/StringifyPattern.mjs +1 -1
- package/src/lib/base/internal/ThrowWarning.cjs +1 -1
- package/src/lib/base/internal/ThrowWarning.mjs +1 -1
- package/src/lib/context/CLIContext.cjs +1 -1
- package/src/lib/context/CLIContext.mjs +1 -1
- package/src/lib/context/HTTPContext.cjs +1 -1
- package/src/lib/context/HTTPContext.mjs +1 -1
- package/src/lib/context/ServiceContext.cjs +1 -1
- package/src/lib/context/ServiceContext.mjs +1 -1
- package/src/lib/core/Alias.cjs +1 -1
- package/src/lib/core/Alias.mjs +1 -1
- package/src/lib/core/Application.cjs +1 -1
- package/src/lib/core/Application.mjs +1 -1
- package/src/lib/core/Component.cjs +1 -1
- package/src/lib/core/Component.mjs +1 -1
- package/src/lib/core/Container.cjs +1 -1
- package/src/lib/core/Container.mjs +1 -1
- package/src/lib/core/DTO.cjs +1 -1
- package/src/lib/core/DTO.mjs +1 -1
- package/src/lib/core/Module.cjs +1 -1
- package/src/lib/core/Module.mjs +1 -1
- package/src/lib/core/Provider.cjs +1 -1
- package/src/lib/core/Provider.mjs +1 -1
- package/src/lib/core/Time.cjs +1 -1
- package/src/lib/core/Time.mjs +1 -1
- package/src/lib/helpers/ArrayToSet.cjs +1 -1
- package/src/lib/helpers/ArrayToSet.mjs +1 -1
- package/src/lib/helpers/As.cjs +1 -1
- package/src/lib/helpers/As.mjs +1 -1
- package/src/lib/helpers/ConvertArrayLikeToIterable.cjs +1 -1
- package/src/lib/helpers/ConvertArrayLikeToIterable.mjs +1 -1
- package/src/lib/helpers/ConvertArrayLikeToStream.cjs +1 -1
- package/src/lib/helpers/ConvertArrayLikeToStream.mjs +1 -1
- package/src/lib/helpers/Delay.cjs +1 -1
- package/src/lib/helpers/Delay.mjs +1 -1
- package/src/lib/helpers/DevNull.cjs +1 -1
- package/src/lib/helpers/DevNull.mjs +1 -1
- package/src/lib/helpers/GetObjectNestingDepth.cjs +1 -1
- package/src/lib/helpers/GetObjectNestingDepth.mjs +1 -1
- package/src/lib/helpers/GetObjectPropertyPaths.cjs +1 -1
- package/src/lib/helpers/GetObjectPropertyPaths.mjs +1 -1
- package/src/lib/helpers/Glob.cjs +1 -1
- package/src/lib/helpers/Glob.mjs +1 -1
- package/src/lib/helpers/GraceExit.cjs +1 -1
- package/src/lib/helpers/GraceExit.mjs +1 -1
- package/src/lib/helpers/HexToIEEE754.cjs +1 -1
- package/src/lib/helpers/HexToIEEE754.mjs +1 -1
- package/src/lib/helpers/HexToSigned.cjs +1 -1
- package/src/lib/helpers/HexToSigned.mjs +1 -1
- package/src/lib/helpers/HexToUnsigned.cjs +1 -1
- package/src/lib/helpers/HexToUnsigned.mjs +1 -1
- package/src/lib/helpers/IEEE754ToHex.cjs +1 -1
- package/src/lib/helpers/IEEE754ToHex.mjs +1 -1
- package/src/lib/helpers/IPToolkit.cjs +1 -1
- package/src/lib/helpers/IPToolkit.mjs +1 -1
- package/src/lib/helpers/IsAbortError.cjs +1 -1
- package/src/lib/helpers/IsAbortError.mjs +1 -1
- package/src/lib/helpers/IsEmptyObject.cjs +1 -1
- package/src/lib/helpers/IsEmptyObject.mjs +1 -1
- package/src/lib/helpers/IsExists.cjs +1 -1
- package/src/lib/helpers/IsExists.mjs +1 -1
- package/src/lib/helpers/IsGlobString.cjs +1 -1
- package/src/lib/helpers/IsGlobString.mjs +1 -1
- package/src/lib/helpers/IsHtml.cjs +1 -1
- package/src/lib/helpers/IsHtml.mjs +1 -1
- package/src/lib/helpers/IsNativeFunction.cjs +1 -1
- package/src/lib/helpers/IsNativeFunction.mjs +1 -1
- package/src/lib/helpers/IsPath.cjs +1 -1
- package/src/lib/helpers/IsPath.mjs +1 -1
- package/src/lib/helpers/IsPromise.cjs +1 -1
- package/src/lib/helpers/IsPromise.mjs +1 -1
- package/src/lib/helpers/IsPromiseLike.cjs +1 -1
- package/src/lib/helpers/IsPromiseLike.mjs +1 -1
- package/src/lib/helpers/IsSymbol.cjs +1 -1
- package/src/lib/helpers/IsSymbol.mjs +1 -1
- package/src/lib/helpers/IsXML.cjs +1 -1
- package/src/lib/helpers/IsXML.mjs +1 -1
- package/src/lib/helpers/MD5.cjs +1 -1
- package/src/lib/helpers/MD5.mjs +1 -1
- package/src/lib/helpers/MergeArray.cjs +1 -1
- package/src/lib/helpers/MergeArray.mjs +1 -1
- package/src/lib/helpers/MergeMap.cjs +1 -1
- package/src/lib/helpers/MergeMap.mjs +1 -1
- package/src/lib/helpers/MergeSet.cjs +1 -1
- package/src/lib/helpers/MergeSet.mjs +1 -1
- package/src/lib/helpers/MessagePack.cjs +1489 -0
- package/src/lib/helpers/MessagePack.mjs +1483 -0
- package/src/lib/helpers/NoCase.cjs +1 -1
- package/src/lib/helpers/NoCase.mjs +1 -1
- package/src/lib/helpers/NonceStr.cjs +1 -1
- package/src/lib/helpers/NonceStr.mjs +1 -1
- package/src/lib/helpers/ObjectConstructor.cjs +1 -1
- package/src/lib/helpers/ObjectConstructor.mjs +1 -1
- package/src/lib/helpers/ObjectHash.cjs +1 -1
- package/src/lib/helpers/ObjectHash.mjs +1 -1
- package/src/lib/helpers/ObjectParentConstructor.cjs +1 -1
- package/src/lib/helpers/ObjectParentConstructor.mjs +1 -1
- package/src/lib/helpers/ObjectParentConstructors.cjs +1 -1
- package/src/lib/helpers/ObjectParentConstructors.mjs +1 -1
- package/src/lib/helpers/ObjectPath.cjs +1 -1
- package/src/lib/helpers/ObjectPath.mjs +1 -1
- package/src/lib/helpers/ObjectPrototype.cjs +1 -1
- package/src/lib/helpers/ObjectPrototype.mjs +1 -1
- package/src/lib/helpers/ObjectToMap.cjs +1 -1
- package/src/lib/helpers/ObjectToMap.mjs +1 -1
- package/src/lib/helpers/Paginator.cjs +1 -1
- package/src/lib/helpers/Paginator.mjs +1 -1
- package/src/lib/helpers/RandomString.cjs +1 -1
- package/src/lib/helpers/RandomString.mjs +1 -1
- package/src/lib/helpers/SHA1.cjs +1 -1
- package/src/lib/helpers/SHA1.mjs +1 -1
- package/src/lib/helpers/SHA256.cjs +1 -1
- package/src/lib/helpers/SHA256.mjs +1 -1
- package/src/lib/helpers/SetToArray.cjs +1 -1
- package/src/lib/helpers/SetToArray.mjs +1 -1
- package/src/lib/helpers/SignedToHex.cjs +1 -1
- package/src/lib/helpers/SignedToHex.mjs +1 -1
- package/src/lib/helpers/SortArray.cjs +1 -1
- package/src/lib/helpers/SortArray.mjs +1 -1
- package/src/lib/helpers/SortKeys.cjs +1 -1
- package/src/lib/helpers/SortKeys.mjs +1 -1
- package/src/lib/helpers/SortObject.cjs +1 -1
- package/src/lib/helpers/SortObject.mjs +1 -1
- package/src/lib/helpers/Statistics.cjs +1 -1
- package/src/lib/helpers/Statistics.mjs +1 -1
- package/src/lib/helpers/Templating.cjs +1 -1
- package/src/lib/helpers/Templating.mjs +1 -1
- package/src/lib/helpers/URLBuilder.cjs +1 -1
- package/src/lib/helpers/URLBuilder.mjs +1 -1
- package/src/lib/helpers/UUID.cjs +1 -1
- package/src/lib/helpers/UUID.mjs +1 -1
- package/src/lib/helpers/UniqueArray.cjs +1 -1
- package/src/lib/helpers/UniqueArray.mjs +1 -1
- package/src/lib/helpers/UnsignedToHex.cjs +1 -1
- package/src/lib/helpers/UnsignedToHex.mjs +1 -1
- package/src/lib/ioc/DependencyInjectionContainer.cjs +1 -1
- package/src/lib/ioc/DependencyInjectionContainer.mjs +1 -1
- package/src/lib/ioc/Errors.cjs +1 -1
- package/src/lib/ioc/Errors.mjs +1 -1
- package/src/lib/ioc/FunctionTokenizer.cjs +1 -1
- package/src/lib/ioc/FunctionTokenizer.mjs +1 -1
- package/src/lib/ioc/InjectionMode.cjs +1 -1
- package/src/lib/ioc/InjectionMode.mjs +1 -1
- package/src/lib/ioc/Lifetime.cjs +1 -1
- package/src/lib/ioc/Lifetime.mjs +1 -1
- package/src/lib/ioc/ListModules.cjs +1 -1
- package/src/lib/ioc/ListModules.mjs +1 -1
- package/src/lib/ioc/LoadModules.cjs +1 -1
- package/src/lib/ioc/LoadModules.mjs +1 -1
- package/src/lib/ioc/ParamParser.cjs +1 -1
- package/src/lib/ioc/ParamParser.mjs +1 -1
- package/src/lib/ioc/Resolvers.cjs +1 -1
- package/src/lib/ioc/Resolvers.mjs +1 -1
- package/src/lib/ioc/Utils.cjs +1 -1
- package/src/lib/ioc/Utils.mjs +1 -1
- package/src/lib/validation/VLD.cjs +1 -1
- package/src/lib/validation/VLD.mjs +1 -1
- package/src/lib/validation/interfaces/AlternativesSchema.cjs +1 -1
- package/src/lib/validation/interfaces/AlternativesSchema.mjs +1 -1
- package/src/lib/validation/interfaces/AnySchema.cjs +1 -1
- package/src/lib/validation/interfaces/AnySchema.mjs +1 -1
- package/src/lib/validation/interfaces/ArraySchema.cjs +1 -1
- package/src/lib/validation/interfaces/ArraySchema.mjs +1 -1
- package/src/lib/validation/interfaces/Base64Options.cjs +1 -1
- package/src/lib/validation/interfaces/Base64Options.mjs +1 -1
- package/src/lib/validation/interfaces/BaseValidationOptions.cjs +1 -1
- package/src/lib/validation/interfaces/BaseValidationOptions.mjs +1 -1
- package/src/lib/validation/interfaces/BigIntSchema.cjs +1 -1
- package/src/lib/validation/interfaces/BigIntSchema.mjs +1 -1
- package/src/lib/validation/interfaces/BinarySchema.cjs +1 -1
- package/src/lib/validation/interfaces/BinarySchema.mjs +1 -1
- package/src/lib/validation/interfaces/BooleanSchema.cjs +1 -1
- package/src/lib/validation/interfaces/BooleanSchema.mjs +1 -1
- package/src/lib/validation/interfaces/CustomHelpers.cjs +1 -1
- package/src/lib/validation/interfaces/CustomHelpers.mjs +1 -1
- package/src/lib/validation/interfaces/DataUriOptions.cjs +1 -1
- package/src/lib/validation/interfaces/DataUriOptions.mjs +1 -1
- package/src/lib/validation/interfaces/DateSchema.cjs +1 -1
- package/src/lib/validation/interfaces/DateSchema.mjs +1 -1
- package/src/lib/validation/interfaces/DependencyOptions.cjs +1 -1
- package/src/lib/validation/interfaces/DependencyOptions.mjs +1 -1
- package/src/lib/validation/interfaces/DomainOptions.cjs +1 -1
- package/src/lib/validation/interfaces/DomainOptions.mjs +1 -1
- package/src/lib/validation/interfaces/EmailOptions.cjs +1 -1
- package/src/lib/validation/interfaces/EmailOptions.mjs +1 -1
- package/src/lib/validation/interfaces/ErrorFormattingOptions.cjs +1 -1
- package/src/lib/validation/interfaces/ErrorFormattingOptions.mjs +1 -1
- package/src/lib/validation/interfaces/ErrorReport.cjs +1 -1
- package/src/lib/validation/interfaces/ErrorReport.mjs +1 -1
- package/src/lib/validation/interfaces/ErrorValidationOptions.cjs +1 -1
- package/src/lib/validation/interfaces/ErrorValidationOptions.mjs +1 -1
- package/src/lib/validation/interfaces/ExtensionFlag.cjs +1 -1
- package/src/lib/validation/interfaces/ExtensionFlag.mjs +1 -1
- package/src/lib/validation/interfaces/ExternalHelpers.cjs +1 -1
- package/src/lib/validation/interfaces/ExternalHelpers.mjs +1 -1
- package/src/lib/validation/interfaces/FunctionSchema.cjs +1 -1
- package/src/lib/validation/interfaces/FunctionSchema.mjs +1 -1
- package/src/lib/validation/interfaces/GuidOptions.cjs +1 -1
- package/src/lib/validation/interfaces/GuidOptions.mjs +1 -1
- package/src/lib/validation/interfaces/HexOptions.cjs +1 -1
- package/src/lib/validation/interfaces/HexOptions.mjs +1 -1
- package/src/lib/validation/interfaces/HierarchySeparatorOptions.cjs +1 -1
- package/src/lib/validation/interfaces/HierarchySeparatorOptions.mjs +1 -1
- package/src/lib/validation/interfaces/IpOptions.cjs +1 -1
- package/src/lib/validation/interfaces/IpOptions.mjs +1 -1
- package/src/lib/validation/interfaces/LanguageMessageTemplate.cjs +1 -1
- package/src/lib/validation/interfaces/LanguageMessageTemplate.mjs +1 -1
- package/src/lib/validation/interfaces/LinkSchema.cjs +1 -1
- package/src/lib/validation/interfaces/LinkSchema.mjs +1 -1
- package/src/lib/validation/interfaces/NumberSchema.cjs +1 -1
- package/src/lib/validation/interfaces/NumberSchema.mjs +1 -1
- package/src/lib/validation/interfaces/ObjectPatternOptions.cjs +1 -1
- package/src/lib/validation/interfaces/ObjectPatternOptions.mjs +1 -1
- package/src/lib/validation/interfaces/ObjectSchema.cjs +1 -1
- package/src/lib/validation/interfaces/ObjectSchema.mjs +1 -1
- package/src/lib/validation/interfaces/Reference.cjs +1 -1
- package/src/lib/validation/interfaces/Reference.mjs +1 -1
- package/src/lib/validation/interfaces/ReferenceOptions.cjs +1 -1
- package/src/lib/validation/interfaces/ReferenceOptions.mjs +1 -1
- package/src/lib/validation/interfaces/RenameOptions.cjs +1 -1
- package/src/lib/validation/interfaces/RenameOptions.mjs +1 -1
- package/src/lib/validation/interfaces/State.cjs +1 -1
- package/src/lib/validation/interfaces/State.mjs +1 -1
- package/src/lib/validation/interfaces/StringRegexOptions.cjs +1 -1
- package/src/lib/validation/interfaces/StringRegexOptions.mjs +1 -1
- package/src/lib/validation/interfaces/StringSchema.cjs +1 -1
- package/src/lib/validation/interfaces/StringSchema.mjs +1 -1
- package/src/lib/validation/interfaces/SwitchCases.cjs +1 -1
- package/src/lib/validation/interfaces/SwitchCases.mjs +1 -1
- package/src/lib/validation/interfaces/SwitchDefault.cjs +1 -1
- package/src/lib/validation/interfaces/SwitchDefault.mjs +1 -1
- package/src/lib/validation/interfaces/SymbolSchema.cjs +1 -1
- package/src/lib/validation/interfaces/SymbolSchema.mjs +1 -1
- package/src/lib/validation/interfaces/TopLevelDomainOptions.cjs +1 -1
- package/src/lib/validation/interfaces/TopLevelDomainOptions.mjs +1 -1
- package/src/lib/validation/interfaces/UriOptions.cjs +1 -1
- package/src/lib/validation/interfaces/UriOptions.mjs +1 -1
- package/src/lib/validation/interfaces/ValidationOptions.cjs +1 -1
- package/src/lib/validation/interfaces/ValidationOptions.mjs +1 -1
- package/src/lib/validation/interfaces/WhenOptions.cjs +1 -1
- package/src/lib/validation/interfaces/WhenOptions.mjs +1 -1
- package/src/lib/validation/interfaces/WhenSchemaOptions.cjs +1 -1
- package/src/lib/validation/interfaces/WhenSchemaOptions.mjs +1 -1
- package/src/lib/validation/types/CustomValidator.cjs +1 -1
- package/src/lib/validation/types/CustomValidator.mjs +1 -1
- package/src/lib/validation/types/ExtensionBoundSchema.cjs +1 -1
- package/src/lib/validation/types/ExtensionBoundSchema.mjs +1 -1
- package/src/lib/validation/types/ExternalValidationFunction.cjs +1 -1
- package/src/lib/validation/types/ExternalValidationFunction.mjs +1 -1
- package/src/lib/validation/types/IsNonPrimitiveSubsetUnion.cjs +1 -1
- package/src/lib/validation/types/IsNonPrimitiveSubsetUnion.mjs +1 -1
- package/src/lib/validation/types/IsPrimitiveSubset.cjs +1 -1
- package/src/lib/validation/types/IsPrimitiveSubset.mjs +1 -1
- package/src/lib/validation/types/IsUnion.cjs +1 -1
- package/src/lib/validation/types/IsUnion.mjs +1 -1
- package/src/lib/validation/types/LanguageMessages.cjs +1 -1
- package/src/lib/validation/types/LanguageMessages.mjs +1 -1
- package/src/lib/validation/types/NoNestedArrays.cjs +1 -1
- package/src/lib/validation/types/NoNestedArrays.mjs +1 -1
- package/src/lib/validation/types/NullableType.cjs +1 -1
- package/src/lib/validation/types/NullableType.mjs +1 -1
- package/src/lib/validation/types/ObjectPropertiesSchema.cjs +1 -1
- package/src/lib/validation/types/ObjectPropertiesSchema.mjs +1 -1
- package/src/lib/validation/types/PartialSchemaMap.cjs +1 -1
- package/src/lib/validation/types/PartialSchemaMap.mjs +1 -1
- package/src/lib/validation/types/PresenceMode.cjs +1 -1
- package/src/lib/validation/types/PresenceMode.mjs +1 -1
- package/src/lib/validation/types/Primitives.cjs +1 -1
- package/src/lib/validation/types/Primitives.mjs +1 -1
- package/src/lib/validation/types/Schema.cjs +1 -1
- package/src/lib/validation/types/Schema.mjs +1 -1
- package/src/lib/validation/types/SchemaFunction.cjs +1 -1
- package/src/lib/validation/types/SchemaFunction.mjs +1 -1
- package/src/lib/validation/types/SchemaLike.cjs +1 -1
- package/src/lib/validation/types/SchemaLike.mjs +1 -1
- package/src/lib/validation/types/SchemaLikeWithoutArray.cjs +1 -1
- package/src/lib/validation/types/SchemaLikeWithoutArray.mjs +1 -1
- package/src/lib/validation/types/SchemaMap.cjs +1 -1
- package/src/lib/validation/types/SchemaMap.mjs +1 -1
- package/src/lib/validation/types/StrictSchemaMap.cjs +1 -1
- package/src/lib/validation/types/StrictSchemaMap.mjs +1 -1
- package/src/lib/validation/types/Types.cjs +1 -1
- package/src/lib/validation/types/Types.mjs +1 -1
- package/src/lib/validation/types/UnwrapSchemaLikeWithoutArray.cjs +1 -1
- package/src/lib/validation/types/UnwrapSchemaLikeWithoutArray.mjs +1 -1
- package/src/options/ApplicationOptions.cjs +1 -1
- package/src/options/ApplicationOptions.mjs +1 -1
- package/src/options/LoadAnonymousObjectOptions.cjs +1 -1
- package/src/options/LoadAnonymousObjectOptions.mjs +1 -1
- package/src/options/LoadNamedObjectOptions.cjs +1 -1
- package/src/options/LoadNamedObjectOptions.mjs +1 -1
- package/src/options/LoadObjectOptions.cjs +1 -1
- package/src/options/LoadObjectOptions.mjs +1 -1
- package/src/options/ModuleLoadObjectsOptions.cjs +1 -1
- package/src/options/ModuleLoadObjectsOptions.mjs +1 -1
- package/src/options/ModuleOptions.cjs +1 -1
- package/src/options/ModuleOptions.mjs +1 -1
- package/src/options/OverridableNamedObjectOptions.cjs +1 -1
- package/src/options/OverridableNamedObjectOptions.mjs +1 -1
- package/src/options/OverridableObjectOptions.cjs +1 -1
- package/src/options/OverridableObjectOptions.mjs +1 -1
- package/src/providers/Database.cjs +1 -1
- package/src/providers/Database.mjs +1 -1
- package/src/providers/PasswordHash.cjs +1 -1
- package/src/providers/PasswordHash.mjs +1 -1
- package/src/providers/migration/GenerateMigration.cjs +1 -1
- package/src/providers/migration/GenerateMigration.mjs +1 -1
- package/src/types/ActionPattern.cjs +1 -1
- package/src/types/ActionPattern.mjs +1 -1
- package/src/types/ClassDecorator.cjs +1 -1
- package/src/types/ClassDecorator.mjs +1 -1
- package/src/types/ComponentOptions.cjs +1 -1
- package/src/types/ComponentOptions.mjs +1 -1
- package/src/types/JSONSchema.cjs +1 -1
- package/src/types/JSONSchema.mjs +1 -1
- package/src/types/MethodDecorator.cjs +1 -1
- package/src/types/MethodDecorator.mjs +1 -1
- package/src/types/ModuleOptions.cjs +1 -1
- package/src/types/ModuleOptions.mjs +1 -1
- package/src/types/ObjectOptions.cjs +1 -1
- package/src/types/ObjectOptions.mjs +1 -1
- package/src/types/ParameterDecorator.cjs +1 -1
- package/src/types/ParameterDecorator.mjs +1 -1
- package/src/types/PropertyDecorator.cjs +1 -1
- package/src/types/PropertyDecorator.mjs +1 -1
- package/src/types/ProviderOptions.cjs +1 -1
- package/src/types/ProviderOptions.mjs +1 -1
- package/vendor/Package.internal.1.cjs +1 -1
- package/vendor/Package.internal.1.mjs +1 -1
- package/vendor/Package.internal.10.cjs +1 -1
- package/vendor/Package.internal.10.mjs +1 -1
- package/vendor/Package.internal.11.cjs +1 -1
- package/vendor/Package.internal.11.mjs +1 -1
- package/vendor/Package.internal.12.cjs +1 -1
- package/vendor/Package.internal.12.mjs +1 -1
- package/vendor/Package.internal.13.cjs +1 -1
- package/vendor/Package.internal.13.mjs +1 -1
- package/vendor/Package.internal.14.cjs +1 -1
- package/vendor/Package.internal.14.mjs +1 -1
- package/vendor/Package.internal.15.cjs +1 -1
- package/vendor/Package.internal.15.mjs +1 -1
- package/vendor/Package.internal.16.cjs +1 -1
- package/vendor/Package.internal.16.mjs +1 -1
- package/vendor/Package.internal.17.cjs +1 -1
- package/vendor/Package.internal.17.mjs +1 -1
- package/vendor/Package.internal.18.cjs +1 -1
- package/vendor/Package.internal.18.mjs +1 -1
- package/vendor/Package.internal.19.cjs +1 -1
- package/vendor/Package.internal.19.mjs +1 -1
- package/vendor/Package.internal.2.cjs +1 -1
- package/vendor/Package.internal.2.mjs +1 -1
- package/vendor/Package.internal.20.cjs +1 -1
- package/vendor/Package.internal.20.mjs +1 -1
- package/vendor/Package.internal.21.cjs +1 -1
- package/vendor/Package.internal.21.mjs +1 -1
- package/vendor/Package.internal.22.cjs +1 -1
- package/vendor/Package.internal.22.mjs +1 -1
- package/vendor/Package.internal.23.cjs +1 -1
- package/vendor/Package.internal.23.mjs +1 -1
- package/vendor/Package.internal.24.cjs +1 -1
- package/vendor/Package.internal.24.mjs +1 -1
- package/vendor/Package.internal.25.cjs +1 -1
- package/vendor/Package.internal.25.mjs +1 -1
- package/vendor/Package.internal.26.cjs +1 -1
- package/vendor/Package.internal.26.mjs +1 -1
- package/vendor/Package.internal.27.cjs +1 -1
- package/vendor/Package.internal.27.mjs +1 -1
- package/vendor/Package.internal.28.cjs +1 -1
- package/vendor/Package.internal.28.mjs +1 -1
- package/vendor/Package.internal.29.cjs +1 -1
- package/vendor/Package.internal.29.mjs +1 -1
- package/vendor/Package.internal.3.cjs +1 -1
- package/vendor/Package.internal.3.mjs +1 -1
- package/vendor/Package.internal.30.cjs +1 -1
- package/vendor/Package.internal.30.mjs +1 -1
- package/vendor/Package.internal.31.cjs +1 -1
- package/vendor/Package.internal.31.mjs +1 -1
- package/vendor/Package.internal.310.cjs +1 -1
- package/vendor/Package.internal.310.mjs +1 -1
- package/vendor/Package.internal.32.cjs +1 -1
- package/vendor/Package.internal.32.mjs +1 -1
- package/vendor/Package.internal.33.cjs +1 -1
- package/vendor/Package.internal.33.mjs +1 -1
- package/vendor/Package.internal.34.cjs +1 -1
- package/vendor/Package.internal.34.mjs +1 -1
- package/vendor/Package.internal.35.cjs +1 -1
- package/vendor/Package.internal.35.mjs +1 -1
- package/vendor/Package.internal.36.cjs +1 -1
- package/vendor/Package.internal.36.mjs +1 -1
- package/vendor/Package.internal.37.cjs +1 -1
- package/vendor/Package.internal.37.mjs +1 -1
- package/vendor/Package.internal.38.cjs +1 -1
- package/vendor/Package.internal.38.mjs +1 -1
- package/vendor/Package.internal.39.cjs +1 -1
- package/vendor/Package.internal.39.mjs +1 -1
- package/vendor/Package.internal.4.cjs +1 -1
- package/vendor/Package.internal.4.mjs +1 -1
- package/vendor/Package.internal.40.cjs +1 -1
- package/vendor/Package.internal.40.mjs +1 -1
- package/vendor/Package.internal.41.cjs +1 -1
- package/vendor/Package.internal.41.mjs +1 -1
- package/vendor/Package.internal.42.cjs +1 -1
- package/vendor/Package.internal.42.mjs +1 -1
- package/vendor/Package.internal.43.cjs +1 -1
- package/vendor/Package.internal.43.mjs +1 -1
- package/vendor/Package.internal.44.cjs +1 -1
- package/vendor/Package.internal.44.mjs +1 -1
- package/vendor/Package.internal.45.cjs +1 -1
- package/vendor/Package.internal.45.mjs +1 -1
- package/vendor/Package.internal.46.cjs +1 -1
- package/vendor/Package.internal.46.mjs +1 -1
- package/vendor/Package.internal.47.cjs +1 -1
- package/vendor/Package.internal.47.mjs +1 -1
- package/vendor/Package.internal.48.cjs +1 -1
- package/vendor/Package.internal.48.mjs +1 -1
- package/vendor/Package.internal.49.cjs +1 -1
- package/vendor/Package.internal.49.mjs +1 -1
- package/vendor/Package.internal.5.cjs +1 -1
- package/vendor/Package.internal.5.mjs +1 -1
- package/vendor/Package.internal.50.cjs +1 -1
- package/vendor/Package.internal.50.mjs +1 -1
- package/vendor/Package.internal.51.cjs +1 -1
- package/vendor/Package.internal.51.mjs +1 -1
- package/vendor/Package.internal.512.cjs +1 -1
- package/vendor/Package.internal.512.mjs +1 -1
- package/vendor/Package.internal.52.cjs +7 -34
- package/vendor/Package.internal.52.mjs +56 -83
- package/vendor/Package.internal.5210.cjs +1 -1
- package/vendor/Package.internal.5210.mjs +1 -1
- package/vendor/Package.internal.522.cjs +1 -1
- package/vendor/Package.internal.522.mjs +1 -1
- package/vendor/Package.internal.523.cjs +1 -1
- package/vendor/Package.internal.523.mjs +1 -1
- package/vendor/Package.internal.524.cjs +1 -1
- package/vendor/Package.internal.524.mjs +1 -1
- package/vendor/Package.internal.525.cjs +1 -1
- package/vendor/Package.internal.525.mjs +1 -1
- package/vendor/Package.internal.526.cjs +1 -1
- package/vendor/Package.internal.526.mjs +1 -1
- package/vendor/Package.internal.527.cjs +1 -1
- package/vendor/Package.internal.527.mjs +1 -1
- package/vendor/Package.internal.528.cjs +1 -1
- package/vendor/Package.internal.528.mjs +1 -1
- package/vendor/Package.internal.529.cjs +1 -1
- package/vendor/Package.internal.529.mjs +1 -1
- package/vendor/Package.internal.53.cjs +1 -1
- package/vendor/Package.internal.53.mjs +1 -1
- package/vendor/Package.internal.54.cjs +1 -1
- package/vendor/Package.internal.54.mjs +1 -1
- package/vendor/Package.internal.55.cjs +1 -1
- package/vendor/Package.internal.55.mjs +1 -1
- package/vendor/Package.internal.56.cjs +152 -171
- package/vendor/Package.internal.56.mjs +605 -624
- package/vendor/Package.internal.6.cjs +1 -1
- package/vendor/Package.internal.6.mjs +1 -1
- package/vendor/Package.internal.7.cjs +1 -1
- package/vendor/Package.internal.7.mjs +1 -1
- package/vendor/Package.internal.8.cjs +1 -1
- package/vendor/Package.internal.8.mjs +1 -1
- package/vendor/Package.internal.9.cjs +1 -1
- package/vendor/Package.internal.9.mjs +1 -1
- package/vendor/TypeDef.internal.138.d.ts +26 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Build Date: Sat Dec
|
|
1
|
+
/* Build Date: Sat Dec 27 2025 17:35:07 GMT+0800 (China Standard Time) */
|
|
2
2
|
import { _ as __decorate, a as __metadata } from "./Package.internal.3.mjs";
|
|
3
3
|
|
|
4
4
|
import { Provider } from "../src/lib/core/Provider.mjs";
|
|
@@ -760,9 +760,9 @@ naclFast.exports;
|
|
|
760
760
|
function E(e, t, r, n) {
|
|
761
761
|
return m(e, t, r, n, 32);
|
|
762
762
|
}
|
|
763
|
-
function
|
|
764
|
-
var s = n[0] & 255 | (n[1] & 255) << 8 | (n[2] & 255) << 16 | (n[3] & 255) << 24, o = r[0] & 255 | (r[1] & 255) << 8 | (r[2] & 255) << 16 | (r[3] & 255) << 24, a = r[4] & 255 | (r[5] & 255) << 8 | (r[6] & 255) << 16 | (r[7] & 255) << 24, l = r[8] & 255 | (r[9] & 255) << 8 | (r[10] & 255) << 16 | (r[11] & 255) << 24, c = r[12] & 255 | (r[13] & 255) << 8 | (r[14] & 255) << 16 | (r[15] & 255) << 24, u = n[4] & 255 | (n[5] & 255) << 8 | (n[6] & 255) << 16 | (n[7] & 255) << 24, d = t[0] & 255 | (t[1] & 255) << 8 | (t[2] & 255) << 16 | (t[3] & 255) << 24, h = t[4] & 255 | (t[5] & 255) << 8 | (t[6] & 255) << 16 | (t[7] & 255) << 24, p = t[8] & 255 | (t[9] & 255) << 8 | (t[10] & 255) << 16 | (t[11] & 255) << 24, g = t[12] & 255 | (t[13] & 255) << 8 | (t[14] & 255) << 16 | (t[15] & 255) << 24, m = n[8] & 255 | (n[9] & 255) << 8 | (n[10] & 255) << 16 | (n[11] & 255) << 24, _ = r[16] & 255 | (r[17] & 255) << 8 | (r[18] & 255) << 16 | (r[19] & 255) << 24, E = r[20] & 255 | (r[21] & 255) << 8 | (r[22] & 255) << 16 | (r[23] & 255) << 24,
|
|
765
|
-
var A = s, b = o, C = a, w = l, I = c, T = u, R = d, k = h, P = p, O = g, B = m, $ = _, N = E, D =
|
|
763
|
+
function y(e, t, r, n) {
|
|
764
|
+
var s = n[0] & 255 | (n[1] & 255) << 8 | (n[2] & 255) << 16 | (n[3] & 255) << 24, o = r[0] & 255 | (r[1] & 255) << 8 | (r[2] & 255) << 16 | (r[3] & 255) << 24, a = r[4] & 255 | (r[5] & 255) << 8 | (r[6] & 255) << 16 | (r[7] & 255) << 24, l = r[8] & 255 | (r[9] & 255) << 8 | (r[10] & 255) << 16 | (r[11] & 255) << 24, c = r[12] & 255 | (r[13] & 255) << 8 | (r[14] & 255) << 16 | (r[15] & 255) << 24, u = n[4] & 255 | (n[5] & 255) << 8 | (n[6] & 255) << 16 | (n[7] & 255) << 24, d = t[0] & 255 | (t[1] & 255) << 8 | (t[2] & 255) << 16 | (t[3] & 255) << 24, h = t[4] & 255 | (t[5] & 255) << 8 | (t[6] & 255) << 16 | (t[7] & 255) << 24, p = t[8] & 255 | (t[9] & 255) << 8 | (t[10] & 255) << 16 | (t[11] & 255) << 24, g = t[12] & 255 | (t[13] & 255) << 8 | (t[14] & 255) << 16 | (t[15] & 255) << 24, m = n[8] & 255 | (n[9] & 255) << 8 | (n[10] & 255) << 16 | (n[11] & 255) << 24, _ = r[16] & 255 | (r[17] & 255) << 8 | (r[18] & 255) << 16 | (r[19] & 255) << 24, E = r[20] & 255 | (r[21] & 255) << 8 | (r[22] & 255) << 16 | (r[23] & 255) << 24, y = r[24] & 255 | (r[25] & 255) << 8 | (r[26] & 255) << 16 | (r[27] & 255) << 24, v = r[28] & 255 | (r[29] & 255) << 8 | (r[30] & 255) << 16 | (r[31] & 255) << 24, S = n[12] & 255 | (n[13] & 255) << 8 | (n[14] & 255) << 16 | (n[15] & 255) << 24;
|
|
765
|
+
var A = s, b = o, C = a, w = l, I = c, T = u, R = d, k = h, P = p, O = g, B = m, $ = _, N = E, D = y, L = v, U = S, M;
|
|
766
766
|
for (var x = 0; x < 20; x += 2) {
|
|
767
767
|
M = A + N | 0;
|
|
768
768
|
I ^= M << 7 | M >>> 32 - 7;
|
|
@@ -842,8 +842,8 @@ naclFast.exports;
|
|
|
842
842
|
B = B + m | 0;
|
|
843
843
|
$ = $ + _ | 0;
|
|
844
844
|
N = N + E | 0;
|
|
845
|
-
D = D +
|
|
846
|
-
L = L +
|
|
845
|
+
D = D + y | 0;
|
|
846
|
+
L = L + v | 0;
|
|
847
847
|
U = U + S | 0;
|
|
848
848
|
e[0] = A >>> 0 & 255;
|
|
849
849
|
e[1] = A >>> 8 & 255;
|
|
@@ -910,9 +910,9 @@ naclFast.exports;
|
|
|
910
910
|
e[62] = U >>> 16 & 255;
|
|
911
911
|
e[63] = U >>> 24 & 255;
|
|
912
912
|
}
|
|
913
|
-
function
|
|
914
|
-
var s = n[0] & 255 | (n[1] & 255) << 8 | (n[2] & 255) << 16 | (n[3] & 255) << 24, o = r[0] & 255 | (r[1] & 255) << 8 | (r[2] & 255) << 16 | (r[3] & 255) << 24, a = r[4] & 255 | (r[5] & 255) << 8 | (r[6] & 255) << 16 | (r[7] & 255) << 24, l = r[8] & 255 | (r[9] & 255) << 8 | (r[10] & 255) << 16 | (r[11] & 255) << 24, c = r[12] & 255 | (r[13] & 255) << 8 | (r[14] & 255) << 16 | (r[15] & 255) << 24, u = n[4] & 255 | (n[5] & 255) << 8 | (n[6] & 255) << 16 | (n[7] & 255) << 24, d = t[0] & 255 | (t[1] & 255) << 8 | (t[2] & 255) << 16 | (t[3] & 255) << 24, h = t[4] & 255 | (t[5] & 255) << 8 | (t[6] & 255) << 16 | (t[7] & 255) << 24, p = t[8] & 255 | (t[9] & 255) << 8 | (t[10] & 255) << 16 | (t[11] & 255) << 24, g = t[12] & 255 | (t[13] & 255) << 8 | (t[14] & 255) << 16 | (t[15] & 255) << 24, m = n[8] & 255 | (n[9] & 255) << 8 | (n[10] & 255) << 16 | (n[11] & 255) << 24, _ = r[16] & 255 | (r[17] & 255) << 8 | (r[18] & 255) << 16 | (r[19] & 255) << 24, E = r[20] & 255 | (r[21] & 255) << 8 | (r[22] & 255) << 16 | (r[23] & 255) << 24,
|
|
915
|
-
var A = s, b = o, C = a, w = l, I = c, T = u, R = d, k = h, P = p, O = g, B = m, $ = _, N = E, D =
|
|
913
|
+
function v(e, t, r, n) {
|
|
914
|
+
var s = n[0] & 255 | (n[1] & 255) << 8 | (n[2] & 255) << 16 | (n[3] & 255) << 24, o = r[0] & 255 | (r[1] & 255) << 8 | (r[2] & 255) << 16 | (r[3] & 255) << 24, a = r[4] & 255 | (r[5] & 255) << 8 | (r[6] & 255) << 16 | (r[7] & 255) << 24, l = r[8] & 255 | (r[9] & 255) << 8 | (r[10] & 255) << 16 | (r[11] & 255) << 24, c = r[12] & 255 | (r[13] & 255) << 8 | (r[14] & 255) << 16 | (r[15] & 255) << 24, u = n[4] & 255 | (n[5] & 255) << 8 | (n[6] & 255) << 16 | (n[7] & 255) << 24, d = t[0] & 255 | (t[1] & 255) << 8 | (t[2] & 255) << 16 | (t[3] & 255) << 24, h = t[4] & 255 | (t[5] & 255) << 8 | (t[6] & 255) << 16 | (t[7] & 255) << 24, p = t[8] & 255 | (t[9] & 255) << 8 | (t[10] & 255) << 16 | (t[11] & 255) << 24, g = t[12] & 255 | (t[13] & 255) << 8 | (t[14] & 255) << 16 | (t[15] & 255) << 24, m = n[8] & 255 | (n[9] & 255) << 8 | (n[10] & 255) << 16 | (n[11] & 255) << 24, _ = r[16] & 255 | (r[17] & 255) << 8 | (r[18] & 255) << 16 | (r[19] & 255) << 24, E = r[20] & 255 | (r[21] & 255) << 8 | (r[22] & 255) << 16 | (r[23] & 255) << 24, y = r[24] & 255 | (r[25] & 255) << 8 | (r[26] & 255) << 16 | (r[27] & 255) << 24, v = r[28] & 255 | (r[29] & 255) << 8 | (r[30] & 255) << 16 | (r[31] & 255) << 24, S = n[12] & 255 | (n[13] & 255) << 8 | (n[14] & 255) << 16 | (n[15] & 255) << 24;
|
|
915
|
+
var A = s, b = o, C = a, w = l, I = c, T = u, R = d, k = h, P = p, O = g, B = m, $ = _, N = E, D = y, L = v, U = S, M;
|
|
916
916
|
for (var x = 0; x < 20; x += 2) {
|
|
917
917
|
M = A + N | 0;
|
|
918
918
|
I ^= M << 7 | M >>> 32 - 7;
|
|
@@ -1013,10 +1013,10 @@ naclFast.exports;
|
|
|
1013
1013
|
e[31] = O >>> 24 & 255;
|
|
1014
1014
|
}
|
|
1015
1015
|
function S(e, t, r, n) {
|
|
1016
|
-
|
|
1016
|
+
y(e, t, r, n);
|
|
1017
1017
|
}
|
|
1018
1018
|
function A(e, t, r, n) {
|
|
1019
|
-
|
|
1019
|
+
v(e, t, r, n);
|
|
1020
1020
|
}
|
|
1021
1021
|
var b = new Uint8Array([ 101, 120, 112, 97, 110, 100, 32, 51, 50, 45, 98, 121, 116, 101, 32, 107 ]);
|
|
1022
1022
|
function C(e, t, r, n, s, o, a) {
|
|
@@ -1118,7 +1118,7 @@ naclFast.exports;
|
|
|
1118
1118
|
R.prototype.blocks = function(e, t, r) {
|
|
1119
1119
|
var n = this.fin ? 0 : 1 << 11;
|
|
1120
1120
|
var s, o, a, l, c, u, d, h, p;
|
|
1121
|
-
var g, m, _, E,
|
|
1121
|
+
var g, m, _, E, y, v, S, A, b, C;
|
|
1122
1122
|
var w = this.h[0], I = this.h[1], T = this.h[2], R = this.h[3], k = this.h[4], P = this.h[5], O = this.h[6], B = this.h[7], $ = this.h[8], N = this.h[9];
|
|
1123
1123
|
var D = this.r[0], L = this.r[1], U = this.r[2], M = this.r[3], x = this.r[4], H = this.r[5], q = this.r[6], W = this.r[7], j = this.r[8], Q = this.r[9];
|
|
1124
1124
|
while (r >= 16) {
|
|
@@ -1201,36 +1201,36 @@ naclFast.exports;
|
|
|
1201
1201
|
E += N * (5 * x);
|
|
1202
1202
|
p += E >>> 13;
|
|
1203
1203
|
E &= 8191;
|
|
1204
|
-
v = p;
|
|
1205
|
-
v += w * x;
|
|
1206
|
-
v += I * M;
|
|
1207
|
-
v += T * U;
|
|
1208
|
-
v += R * L;
|
|
1209
|
-
v += k * D;
|
|
1210
|
-
p = v >>> 13;
|
|
1211
|
-
v &= 8191;
|
|
1212
|
-
v += P * (5 * Q);
|
|
1213
|
-
v += O * (5 * j);
|
|
1214
|
-
v += B * (5 * W);
|
|
1215
|
-
v += $ * (5 * q);
|
|
1216
|
-
v += N * (5 * H);
|
|
1217
|
-
p += v >>> 13;
|
|
1218
|
-
v &= 8191;
|
|
1219
1204
|
y = p;
|
|
1220
|
-
y += w *
|
|
1221
|
-
y += I *
|
|
1222
|
-
y += T *
|
|
1223
|
-
y += R *
|
|
1224
|
-
y += k *
|
|
1205
|
+
y += w * x;
|
|
1206
|
+
y += I * M;
|
|
1207
|
+
y += T * U;
|
|
1208
|
+
y += R * L;
|
|
1209
|
+
y += k * D;
|
|
1225
1210
|
p = y >>> 13;
|
|
1226
1211
|
y &= 8191;
|
|
1227
|
-
y += P *
|
|
1228
|
-
y += O * (5 *
|
|
1229
|
-
y += B * (5 *
|
|
1230
|
-
y += $ * (5 *
|
|
1231
|
-
y += N * (5 *
|
|
1212
|
+
y += P * (5 * Q);
|
|
1213
|
+
y += O * (5 * j);
|
|
1214
|
+
y += B * (5 * W);
|
|
1215
|
+
y += $ * (5 * q);
|
|
1216
|
+
y += N * (5 * H);
|
|
1232
1217
|
p += y >>> 13;
|
|
1233
1218
|
y &= 8191;
|
|
1219
|
+
v = p;
|
|
1220
|
+
v += w * H;
|
|
1221
|
+
v += I * x;
|
|
1222
|
+
v += T * M;
|
|
1223
|
+
v += R * U;
|
|
1224
|
+
v += k * L;
|
|
1225
|
+
p = v >>> 13;
|
|
1226
|
+
v &= 8191;
|
|
1227
|
+
v += P * D;
|
|
1228
|
+
v += O * (5 * Q);
|
|
1229
|
+
v += B * (5 * j);
|
|
1230
|
+
v += $ * (5 * W);
|
|
1231
|
+
v += N * (5 * q);
|
|
1232
|
+
p += v >>> 13;
|
|
1233
|
+
v &= 8191;
|
|
1234
1234
|
S = p;
|
|
1235
1235
|
S += w * q;
|
|
1236
1236
|
S += I * H;
|
|
@@ -1300,8 +1300,8 @@ naclFast.exports;
|
|
|
1300
1300
|
I = m;
|
|
1301
1301
|
T = _;
|
|
1302
1302
|
R = E;
|
|
1303
|
-
k =
|
|
1304
|
-
P =
|
|
1303
|
+
k = y;
|
|
1304
|
+
P = v;
|
|
1305
1305
|
O = S;
|
|
1306
1306
|
B = A;
|
|
1307
1307
|
$ = b;
|
|
@@ -1508,7 +1508,7 @@ naclFast.exports;
|
|
|
1508
1508
|
for (var n = 0; n < 16; n++) e[n] = t[n] - r[n];
|
|
1509
1509
|
}
|
|
1510
1510
|
function W(e, t, r) {
|
|
1511
|
-
var n, s, o = 0, a = 0, l = 0, c = 0, u = 0, d = 0, h = 0, p = 0, g = 0, m = 0, _ = 0, E = 0,
|
|
1511
|
+
var n, s, o = 0, a = 0, l = 0, c = 0, u = 0, d = 0, h = 0, p = 0, g = 0, m = 0, _ = 0, E = 0, y = 0, v = 0, S = 0, A = 0, b = 0, C = 0, w = 0, I = 0, T = 0, R = 0, k = 0, P = 0, O = 0, B = 0, $ = 0, N = 0, D = 0, L = 0, U = 0, M = r[0], x = r[1], H = r[2], q = r[3], W = r[4], j = r[5], Q = r[6], G = r[7], K = r[8], z = r[9], Y = r[10], V = r[11], X = r[12], J = r[13], Z = r[14], ee = r[15];
|
|
1512
1512
|
n = t[0];
|
|
1513
1513
|
o += n * M;
|
|
1514
1514
|
a += n * x;
|
|
@@ -1522,8 +1522,8 @@ naclFast.exports;
|
|
|
1522
1522
|
m += n * z;
|
|
1523
1523
|
_ += n * Y;
|
|
1524
1524
|
E += n * V;
|
|
1525
|
-
|
|
1526
|
-
|
|
1525
|
+
y += n * X;
|
|
1526
|
+
v += n * J;
|
|
1527
1527
|
S += n * Z;
|
|
1528
1528
|
A += n * ee;
|
|
1529
1529
|
n = t[1];
|
|
@@ -1538,8 +1538,8 @@ naclFast.exports;
|
|
|
1538
1538
|
m += n * K;
|
|
1539
1539
|
_ += n * z;
|
|
1540
1540
|
E += n * Y;
|
|
1541
|
-
|
|
1542
|
-
|
|
1541
|
+
y += n * V;
|
|
1542
|
+
v += n * X;
|
|
1543
1543
|
S += n * J;
|
|
1544
1544
|
A += n * Z;
|
|
1545
1545
|
b += n * ee;
|
|
@@ -1554,8 +1554,8 @@ naclFast.exports;
|
|
|
1554
1554
|
m += n * G;
|
|
1555
1555
|
_ += n * K;
|
|
1556
1556
|
E += n * z;
|
|
1557
|
-
|
|
1558
|
-
|
|
1557
|
+
y += n * Y;
|
|
1558
|
+
v += n * V;
|
|
1559
1559
|
S += n * X;
|
|
1560
1560
|
A += n * J;
|
|
1561
1561
|
b += n * Z;
|
|
@@ -1570,8 +1570,8 @@ naclFast.exports;
|
|
|
1570
1570
|
m += n * Q;
|
|
1571
1571
|
_ += n * G;
|
|
1572
1572
|
E += n * K;
|
|
1573
|
-
|
|
1574
|
-
|
|
1573
|
+
y += n * z;
|
|
1574
|
+
v += n * Y;
|
|
1575
1575
|
S += n * V;
|
|
1576
1576
|
A += n * X;
|
|
1577
1577
|
b += n * J;
|
|
@@ -1586,8 +1586,8 @@ naclFast.exports;
|
|
|
1586
1586
|
m += n * j;
|
|
1587
1587
|
_ += n * Q;
|
|
1588
1588
|
E += n * G;
|
|
1589
|
-
|
|
1590
|
-
|
|
1589
|
+
y += n * K;
|
|
1590
|
+
v += n * z;
|
|
1591
1591
|
S += n * Y;
|
|
1592
1592
|
A += n * V;
|
|
1593
1593
|
b += n * X;
|
|
@@ -1602,8 +1602,8 @@ naclFast.exports;
|
|
|
1602
1602
|
m += n * W;
|
|
1603
1603
|
_ += n * j;
|
|
1604
1604
|
E += n * Q;
|
|
1605
|
-
|
|
1606
|
-
|
|
1605
|
+
y += n * G;
|
|
1606
|
+
v += n * K;
|
|
1607
1607
|
S += n * z;
|
|
1608
1608
|
A += n * Y;
|
|
1609
1609
|
b += n * V;
|
|
@@ -1618,8 +1618,8 @@ naclFast.exports;
|
|
|
1618
1618
|
m += n * q;
|
|
1619
1619
|
_ += n * W;
|
|
1620
1620
|
E += n * j;
|
|
1621
|
-
|
|
1622
|
-
|
|
1621
|
+
y += n * Q;
|
|
1622
|
+
v += n * G;
|
|
1623
1623
|
S += n * K;
|
|
1624
1624
|
A += n * z;
|
|
1625
1625
|
b += n * Y;
|
|
@@ -1634,8 +1634,8 @@ naclFast.exports;
|
|
|
1634
1634
|
m += n * H;
|
|
1635
1635
|
_ += n * q;
|
|
1636
1636
|
E += n * W;
|
|
1637
|
-
|
|
1638
|
-
|
|
1637
|
+
y += n * j;
|
|
1638
|
+
v += n * Q;
|
|
1639
1639
|
S += n * G;
|
|
1640
1640
|
A += n * K;
|
|
1641
1641
|
b += n * z;
|
|
@@ -1650,8 +1650,8 @@ naclFast.exports;
|
|
|
1650
1650
|
m += n * x;
|
|
1651
1651
|
_ += n * H;
|
|
1652
1652
|
E += n * q;
|
|
1653
|
-
|
|
1654
|
-
|
|
1653
|
+
y += n * W;
|
|
1654
|
+
v += n * j;
|
|
1655
1655
|
S += n * Q;
|
|
1656
1656
|
A += n * G;
|
|
1657
1657
|
b += n * K;
|
|
@@ -1666,8 +1666,8 @@ naclFast.exports;
|
|
|
1666
1666
|
m += n * M;
|
|
1667
1667
|
_ += n * x;
|
|
1668
1668
|
E += n * H;
|
|
1669
|
-
|
|
1670
|
-
|
|
1669
|
+
y += n * q;
|
|
1670
|
+
v += n * W;
|
|
1671
1671
|
S += n * j;
|
|
1672
1672
|
A += n * Q;
|
|
1673
1673
|
b += n * G;
|
|
@@ -1682,8 +1682,8 @@ naclFast.exports;
|
|
|
1682
1682
|
n = t[10];
|
|
1683
1683
|
_ += n * M;
|
|
1684
1684
|
E += n * x;
|
|
1685
|
-
|
|
1686
|
-
|
|
1685
|
+
y += n * H;
|
|
1686
|
+
v += n * q;
|
|
1687
1687
|
S += n * W;
|
|
1688
1688
|
A += n * j;
|
|
1689
1689
|
b += n * Q;
|
|
@@ -1698,8 +1698,8 @@ naclFast.exports;
|
|
|
1698
1698
|
B += n * ee;
|
|
1699
1699
|
n = t[11];
|
|
1700
1700
|
E += n * M;
|
|
1701
|
-
|
|
1702
|
-
|
|
1701
|
+
y += n * x;
|
|
1702
|
+
v += n * H;
|
|
1703
1703
|
S += n * q;
|
|
1704
1704
|
A += n * W;
|
|
1705
1705
|
b += n * j;
|
|
@@ -1714,8 +1714,8 @@ naclFast.exports;
|
|
|
1714
1714
|
B += n * Z;
|
|
1715
1715
|
$ += n * ee;
|
|
1716
1716
|
n = t[12];
|
|
1717
|
-
|
|
1718
|
-
|
|
1717
|
+
y += n * M;
|
|
1718
|
+
v += n * x;
|
|
1719
1719
|
S += n * H;
|
|
1720
1720
|
A += n * q;
|
|
1721
1721
|
b += n * W;
|
|
@@ -1731,7 +1731,7 @@ naclFast.exports;
|
|
|
1731
1731
|
$ += n * Z;
|
|
1732
1732
|
N += n * ee;
|
|
1733
1733
|
n = t[13];
|
|
1734
|
-
|
|
1734
|
+
v += n * M;
|
|
1735
1735
|
S += n * x;
|
|
1736
1736
|
A += n * H;
|
|
1737
1737
|
b += n * q;
|
|
@@ -1793,8 +1793,8 @@ naclFast.exports;
|
|
|
1793
1793
|
m += 38 * B;
|
|
1794
1794
|
_ += 38 * $;
|
|
1795
1795
|
E += 38 * N;
|
|
1796
|
-
|
|
1797
|
-
|
|
1796
|
+
y += 38 * D;
|
|
1797
|
+
v += 38 * L;
|
|
1798
1798
|
S += 38 * U;
|
|
1799
1799
|
s = 1;
|
|
1800
1800
|
n = o + s + 65535;
|
|
@@ -1833,12 +1833,12 @@ naclFast.exports;
|
|
|
1833
1833
|
n = E + s + 65535;
|
|
1834
1834
|
s = Math.floor(n / 65536);
|
|
1835
1835
|
E = n - s * 65536;
|
|
1836
|
-
n = v + s + 65535;
|
|
1837
|
-
s = Math.floor(n / 65536);
|
|
1838
|
-
v = n - s * 65536;
|
|
1839
1836
|
n = y + s + 65535;
|
|
1840
1837
|
s = Math.floor(n / 65536);
|
|
1841
1838
|
y = n - s * 65536;
|
|
1839
|
+
n = v + s + 65535;
|
|
1840
|
+
s = Math.floor(n / 65536);
|
|
1841
|
+
v = n - s * 65536;
|
|
1842
1842
|
n = S + s + 65535;
|
|
1843
1843
|
s = Math.floor(n / 65536);
|
|
1844
1844
|
S = n - s * 65536;
|
|
@@ -1883,12 +1883,12 @@ naclFast.exports;
|
|
|
1883
1883
|
n = E + s + 65535;
|
|
1884
1884
|
s = Math.floor(n / 65536);
|
|
1885
1885
|
E = n - s * 65536;
|
|
1886
|
-
n = v + s + 65535;
|
|
1887
|
-
s = Math.floor(n / 65536);
|
|
1888
|
-
v = n - s * 65536;
|
|
1889
1886
|
n = y + s + 65535;
|
|
1890
1887
|
s = Math.floor(n / 65536);
|
|
1891
1888
|
y = n - s * 65536;
|
|
1889
|
+
n = v + s + 65535;
|
|
1890
|
+
s = Math.floor(n / 65536);
|
|
1891
|
+
v = n - s * 65536;
|
|
1892
1892
|
n = S + s + 65535;
|
|
1893
1893
|
s = Math.floor(n / 65536);
|
|
1894
1894
|
S = n - s * 65536;
|
|
@@ -1908,8 +1908,8 @@ naclFast.exports;
|
|
|
1908
1908
|
e[9] = m;
|
|
1909
1909
|
e[10] = _;
|
|
1910
1910
|
e[11] = E;
|
|
1911
|
-
e[12] =
|
|
1912
|
-
e[13] =
|
|
1911
|
+
e[12] = y;
|
|
1912
|
+
e[13] = v;
|
|
1913
1913
|
e[14] = S;
|
|
1914
1914
|
e[15] = A;
|
|
1915
1915
|
}
|
|
@@ -2013,7 +2013,7 @@ naclFast.exports;
|
|
|
2013
2013
|
}
|
|
2014
2014
|
var te = [ 1116352408, 3609767458, 1899447441, 602891725, 3049323471, 3964484399, 3921009573, 2173295548, 961987163, 4081628472, 1508970993, 3053834265, 2453635748, 2937671579, 2870763221, 3664609560, 3624381080, 2734883394, 310598401, 1164996542, 607225278, 1323610764, 1426881987, 3590304994, 1925078388, 4068182383, 2162078206, 991336113, 2614888103, 633803317, 3248222580, 3479774868, 3835390401, 2666613458, 4022224774, 944711139, 264347078, 2341262773, 604807628, 2007800933, 770255983, 1495990901, 1249150122, 1856431235, 1555081692, 3175218132, 1996064986, 2198950837, 2554220882, 3999719339, 2821834349, 766784016, 2952996808, 2566594879, 3210313671, 3203337956, 3336571891, 1034457026, 3584528711, 2466948901, 113926993, 3758326383, 338241895, 168717936, 666307205, 1188179964, 773529912, 1546045734, 1294757372, 1522805485, 1396182291, 2643833823, 1695183700, 2343527390, 1986661051, 1014477480, 2177026350, 1206759142, 2456956037, 344077627, 2730485921, 1290863460, 2820302411, 3158454273, 3259730800, 3505952657, 3345764771, 106217008, 3516065817, 3606008344, 3600352804, 1432725776, 4094571909, 1467031594, 275423344, 851169720, 430227734, 3100823752, 506948616, 1363258195, 659060556, 3750685593, 883997877, 3785050280, 958139571, 3318307427, 1322822218, 3812723403, 1537002063, 2003034995, 1747873779, 3602036899, 1955562222, 1575990012, 2024104815, 1125592928, 2227730452, 2716904306, 2361852424, 442776044, 2428436474, 593698344, 2756734187, 3733110249, 3204031479, 2999351573, 3329325298, 3815920427, 3391569614, 3928383900, 3515267271, 566280711, 3940187606, 3454069534, 4118630271, 4000239992, 116418474, 1914138554, 174292421, 2731055270, 289380356, 3203993006, 460393269, 320620315, 685471733, 587496836, 852142971, 1086792851, 1017036298, 365543100, 1126000580, 2618297676, 1288033470, 3409855158, 1501505948, 4234509866, 1607167915, 987167468, 1816402316, 1246189591 ];
|
|
2015
2015
|
function re(e, t, r, n) {
|
|
2016
|
-
var s = new Int32Array(16), o = new Int32Array(16), a, l, c, u, d, h, p, g, m, _, E,
|
|
2016
|
+
var s = new Int32Array(16), o = new Int32Array(16), a, l, c, u, d, h, p, g, m, _, E, y, v, S, A, b, C, w, I, T, R, k, P, O, B, $;
|
|
2017
2017
|
var N = e[0], D = e[1], L = e[2], U = e[3], M = e[4], x = e[5], H = e[6], q = e[7], W = t[0], j = t[1], Q = t[2], G = t[3], K = t[4], z = t[5], Y = t[6], V = t[7];
|
|
2018
2018
|
var X = 0;
|
|
2019
2019
|
while (n >= 128) {
|
|
@@ -2034,8 +2034,8 @@ naclFast.exports;
|
|
|
2034
2034
|
m = W;
|
|
2035
2035
|
_ = j;
|
|
2036
2036
|
E = Q;
|
|
2037
|
-
|
|
2038
|
-
|
|
2037
|
+
y = G;
|
|
2038
|
+
v = K;
|
|
2039
2039
|
S = z;
|
|
2040
2040
|
A = Y;
|
|
2041
2041
|
b = V;
|
|
@@ -2098,7 +2098,7 @@ naclFast.exports;
|
|
|
2098
2098
|
g = B & 65535 | $ << 16;
|
|
2099
2099
|
b = P & 65535 | O << 16;
|
|
2100
2100
|
R = u;
|
|
2101
|
-
k =
|
|
2101
|
+
k = y;
|
|
2102
2102
|
P = k & 65535;
|
|
2103
2103
|
O = k >>> 16;
|
|
2104
2104
|
B = R & 65535;
|
|
@@ -2113,7 +2113,7 @@ naclFast.exports;
|
|
|
2113
2113
|
B += O >>> 16;
|
|
2114
2114
|
$ += B >>> 16;
|
|
2115
2115
|
u = B & 65535 | $ << 16;
|
|
2116
|
-
|
|
2116
|
+
y = P & 65535 | O << 16;
|
|
2117
2117
|
D = a;
|
|
2118
2118
|
L = l;
|
|
2119
2119
|
U = c;
|
|
@@ -2125,8 +2125,8 @@ naclFast.exports;
|
|
|
2125
2125
|
j = m;
|
|
2126
2126
|
Q = _;
|
|
2127
2127
|
G = E;
|
|
2128
|
-
K =
|
|
2129
|
-
z =
|
|
2128
|
+
K = y;
|
|
2129
|
+
z = v;
|
|
2130
2130
|
Y = S;
|
|
2131
2131
|
V = A;
|
|
2132
2132
|
W = b;
|
|
@@ -2520,7 +2520,7 @@ naclFast.exports;
|
|
|
2520
2520
|
a = n;
|
|
2521
2521
|
return a;
|
|
2522
2522
|
}
|
|
2523
|
-
var me = 32, _e = 24, Ee = 32,
|
|
2523
|
+
var me = 32, _e = 24, Ee = 32, ye = 16, ve = 32, Se = 32, Ae = 32, be = 32, Ce = 32, we = _e, Ie = Ee, Te = ye, Re = 64, ke = 32, Pe = 64, Oe = 32, Be = 64;
|
|
2524
2524
|
e.lowlevel = {
|
|
2525
2525
|
crypto_core_hsalsa20: A,
|
|
2526
2526
|
crypto_stream_xor: T,
|
|
@@ -2547,8 +2547,8 @@ naclFast.exports;
|
|
|
2547
2547
|
crypto_secretbox_KEYBYTES: me,
|
|
2548
2548
|
crypto_secretbox_NONCEBYTES: _e,
|
|
2549
2549
|
crypto_secretbox_ZEROBYTES: Ee,
|
|
2550
|
-
crypto_secretbox_BOXZEROBYTES:
|
|
2551
|
-
crypto_scalarmult_BYTES:
|
|
2550
|
+
crypto_secretbox_BOXZEROBYTES: ye,
|
|
2551
|
+
crypto_scalarmult_BYTES: ve,
|
|
2552
2552
|
crypto_scalarmult_SCALARBYTES: Se,
|
|
2553
2553
|
crypto_box_PUBLICKEYBYTES: Ae,
|
|
2554
2554
|
crypto_box_SECRETKEYBYTES: be,
|
|
@@ -2597,38 +2597,38 @@ naclFast.exports;
|
|
|
2597
2597
|
var s = new Uint8Array(n.length);
|
|
2598
2598
|
for (var o = 0; o < e.length; o++) n[o + Ee] = e[o];
|
|
2599
2599
|
O(s, n, n.length, t, r);
|
|
2600
|
-
return s.subarray(
|
|
2600
|
+
return s.subarray(ye);
|
|
2601
2601
|
};
|
|
2602
2602
|
e.secretbox.open = function(e, t, r) {
|
|
2603
2603
|
De(e, t, r);
|
|
2604
2604
|
$e(r, t);
|
|
2605
|
-
var n = new Uint8Array(
|
|
2605
|
+
var n = new Uint8Array(ye + e.length);
|
|
2606
2606
|
var s = new Uint8Array(n.length);
|
|
2607
|
-
for (var o = 0; o < e.length; o++) n[o +
|
|
2607
|
+
for (var o = 0; o < e.length; o++) n[o + ye] = e[o];
|
|
2608
2608
|
if (n.length < 32) return false;
|
|
2609
2609
|
if (B(s, n, n.length, t, r) !== 0) return false;
|
|
2610
2610
|
return s.subarray(Ee);
|
|
2611
2611
|
};
|
|
2612
2612
|
e.secretbox.keyLength = me;
|
|
2613
2613
|
e.secretbox.nonceLength = _e;
|
|
2614
|
-
e.secretbox.overheadLength =
|
|
2614
|
+
e.secretbox.overheadLength = ye;
|
|
2615
2615
|
e.scalarMult = function(e, t) {
|
|
2616
2616
|
De(e, t);
|
|
2617
2617
|
if (e.length !== Se) throw new Error("bad n size");
|
|
2618
|
-
if (t.length !==
|
|
2619
|
-
var r = new Uint8Array(
|
|
2618
|
+
if (t.length !== ve) throw new Error("bad p size");
|
|
2619
|
+
var r = new Uint8Array(ve);
|
|
2620
2620
|
K(r, e, t);
|
|
2621
2621
|
return r;
|
|
2622
2622
|
};
|
|
2623
2623
|
e.scalarMult.base = function(e) {
|
|
2624
2624
|
De(e);
|
|
2625
2625
|
if (e.length !== Se) throw new Error("bad n size");
|
|
2626
|
-
var t = new Uint8Array(
|
|
2626
|
+
var t = new Uint8Array(ve);
|
|
2627
2627
|
z(t, e);
|
|
2628
2628
|
return t;
|
|
2629
2629
|
};
|
|
2630
2630
|
e.scalarMult.scalarLength = Se;
|
|
2631
|
-
e.scalarMult.groupElementLength =
|
|
2631
|
+
e.scalarMult.groupElementLength = ve;
|
|
2632
2632
|
e.box = function(t, r, n, s) {
|
|
2633
2633
|
var o = e.box.before(n, s);
|
|
2634
2634
|
return e.secretbox(t, r, o);
|
|
@@ -2911,18 +2911,18 @@ function bcrypt_hash(e, t, r) {
|
|
|
2911
2911
|
}
|
|
2912
2912
|
|
|
2913
2913
|
function bcrypt_pbkdf$2(e, t, r, n, s, o, a) {
|
|
2914
|
-
var l = new Uint8Array(64), c = new Uint8Array(64), u = new Uint8Array(BCRYPT_HASHSIZE), d = new Uint8Array(BCRYPT_HASHSIZE), h = new Uint8Array(n + 4), p, g, m, _, E,
|
|
2914
|
+
var l = new Uint8Array(64), c = new Uint8Array(64), u = new Uint8Array(BCRYPT_HASHSIZE), d = new Uint8Array(BCRYPT_HASHSIZE), h = new Uint8Array(n + 4), p, g, m, _, E, y, v = o;
|
|
2915
2915
|
if (a < 1) return -1;
|
|
2916
2916
|
if (t === 0 || n === 0 || o === 0 || o > u.byteLength * u.byteLength || n > 1 << 20) return -1;
|
|
2917
2917
|
_ = Math.floor((o + u.byteLength - 1) / u.byteLength);
|
|
2918
2918
|
m = Math.floor((o + _ - 1) / _);
|
|
2919
2919
|
for (p = 0; p < n; p++) h[p] = r[p];
|
|
2920
2920
|
crypto_hash_sha512(l, e, t);
|
|
2921
|
-
for (
|
|
2922
|
-
h[n + 0] =
|
|
2923
|
-
h[n + 1] =
|
|
2924
|
-
h[n + 2] =
|
|
2925
|
-
h[n + 3] =
|
|
2921
|
+
for (y = 1; o > 0; y++) {
|
|
2922
|
+
h[n + 0] = y >>> 24;
|
|
2923
|
+
h[n + 1] = y >>> 16;
|
|
2924
|
+
h[n + 2] = y >>> 8;
|
|
2925
|
+
h[n + 3] = y;
|
|
2926
2926
|
crypto_hash_sha512(c, h, n + 4);
|
|
2927
2927
|
bcrypt_hash(l, c, d);
|
|
2928
2928
|
for (p = u.byteLength; p--; ) u[p] = d[p];
|
|
@@ -2933,8 +2933,8 @@ function bcrypt_pbkdf$2(e, t, r, n, s, o, a) {
|
|
|
2933
2933
|
}
|
|
2934
2934
|
m = Math.min(m, o);
|
|
2935
2935
|
for (p = 0; p < m; p++) {
|
|
2936
|
-
E = p * _ + (
|
|
2937
|
-
if (E >=
|
|
2936
|
+
E = p * _ + (y - 1);
|
|
2937
|
+
if (E >= v) break;
|
|
2938
2938
|
s[E] = u[p];
|
|
2939
2939
|
}
|
|
2940
2940
|
o -= p;
|
|
@@ -3010,9 +3010,9 @@ function requireConstants() {
|
|
|
3010
3010
|
return t => e.includes(o[t].sslName);
|
|
3011
3011
|
})();
|
|
3012
3012
|
const E = [ "hmac-sha2-256-etm@openssh.com", "hmac-sha2-512-etm@openssh.com", "hmac-sha1-etm@openssh.com", "hmac-sha2-256", "hmac-sha2-512", "hmac-sha1" ].filter(_);
|
|
3013
|
-
const
|
|
3014
|
-
const
|
|
3015
|
-
const S =
|
|
3013
|
+
const y = E.concat([ "hmac-md5", "hmac-sha2-256-96", "hmac-sha2-512-96", "hmac-ripemd160", "hmac-sha1-96", "hmac-md5-96" ].filter(_));
|
|
3014
|
+
const v = [ "none", "zlib@openssh.com", "zlib" ];
|
|
3015
|
+
const S = v.concat([]);
|
|
3016
3016
|
const A = {
|
|
3017
3017
|
BAD_DHGEX: 1 << 0,
|
|
3018
3018
|
OLD_EXIT: 1 << 1,
|
|
@@ -3160,8 +3160,8 @@ function requireConstants() {
|
|
|
3160
3160
|
DEFAULT_CIPHER: g,
|
|
3161
3161
|
SUPPORTED_CIPHER: m,
|
|
3162
3162
|
DEFAULT_MAC: E,
|
|
3163
|
-
SUPPORTED_MAC:
|
|
3164
|
-
DEFAULT_COMPRESSION:
|
|
3163
|
+
SUPPORTED_MAC: y,
|
|
3164
|
+
DEFAULT_COMPRESSION: v,
|
|
3165
3165
|
SUPPORTED_COMPRESSION: S,
|
|
3166
3166
|
curve25519Supported: l,
|
|
3167
3167
|
eddsaSupported: a
|
|
@@ -3563,11 +3563,11 @@ function requirePoly1305() {
|
|
|
3563
3563
|
var E = r.printErr || console.warn.bind(console);
|
|
3564
3564
|
for (a in o) o.hasOwnProperty(a) && (r[a] = o[a]);
|
|
3565
3565
|
o = null;
|
|
3566
|
-
var
|
|
3567
|
-
r.wasmBinary && (
|
|
3566
|
+
var y;
|
|
3567
|
+
r.wasmBinary && (y = r.wasmBinary);
|
|
3568
3568
|
r.noExitRuntime || true;
|
|
3569
3569
|
"object" !== typeof WebAssembly && M("no native wasm support detected");
|
|
3570
|
-
var
|
|
3570
|
+
var v, S = false;
|
|
3571
3571
|
function A(e, t) {
|
|
3572
3572
|
e || M("Assertion failed: " + t);
|
|
3573
3573
|
}
|
|
@@ -3655,7 +3655,7 @@ function requirePoly1305() {
|
|
|
3655
3655
|
}
|
|
3656
3656
|
var w = "undefined" !== typeof TextDecoder ? new TextDecoder("utf8") : void 0, I, T, R;
|
|
3657
3657
|
function k() {
|
|
3658
|
-
var e =
|
|
3658
|
+
var e = v.buffer;
|
|
3659
3659
|
I = e;
|
|
3660
3660
|
r.HEAP8 = T = new Int8Array(e);
|
|
3661
3661
|
r.HEAP16 = new Int16Array(e);
|
|
@@ -3691,7 +3691,7 @@ function requirePoly1305() {
|
|
|
3691
3691
|
function W() {
|
|
3692
3692
|
var e = H;
|
|
3693
3693
|
try {
|
|
3694
|
-
if (e == H &&
|
|
3694
|
+
if (e == H && y) return new Uint8Array(y);
|
|
3695
3695
|
var t = z(e);
|
|
3696
3696
|
if (t) return t;
|
|
3697
3697
|
if (g) return g(e);
|
|
@@ -3701,7 +3701,7 @@ function requirePoly1305() {
|
|
|
3701
3701
|
}
|
|
3702
3702
|
}
|
|
3703
3703
|
function j() {
|
|
3704
|
-
if (!
|
|
3704
|
+
if (!y && (l || c)) {
|
|
3705
3705
|
if ("function" === typeof fetch && !H.startsWith("file://")) return fetch(H, {
|
|
3706
3706
|
credentials: "same-origin"
|
|
3707
3707
|
}).then(function(e) {
|
|
@@ -3774,7 +3774,7 @@ function requirePoly1305() {
|
|
|
3774
3774
|
0 < n % 65536 && (n += 65536 - n % 65536);
|
|
3775
3775
|
e: {
|
|
3776
3776
|
try {
|
|
3777
|
-
|
|
3777
|
+
v.grow(Math.min(2147483648, n) - I.byteLength + 65535 >>> 16);
|
|
3778
3778
|
k();
|
|
3779
3779
|
var s = 1;
|
|
3780
3780
|
break e;
|
|
@@ -3789,7 +3789,7 @@ function requirePoly1305() {
|
|
|
3789
3789
|
(function() {
|
|
3790
3790
|
function e(e) {
|
|
3791
3791
|
r.asm = e.exports;
|
|
3792
|
-
|
|
3792
|
+
v = r.asm.b;
|
|
3793
3793
|
k();
|
|
3794
3794
|
P = r.asm.j;
|
|
3795
3795
|
B.unshift(r.asm.c);
|
|
@@ -3819,7 +3819,7 @@ function requirePoly1305() {
|
|
|
3819
3819
|
return E("Module.instantiateWasm callback failed with error: " + e), false;
|
|
3820
3820
|
}
|
|
3821
3821
|
(function() {
|
|
3822
|
-
return
|
|
3822
|
+
return y || "function" !== typeof WebAssembly.instantiateStreaming || H.startsWith(x) || H.startsWith("file://") || "function" !== typeof fetch ? n(t) : fetch(H, {
|
|
3823
3823
|
credentials: "same-origin"
|
|
3824
3824
|
}).then(function(e) {
|
|
3825
3825
|
return WebAssembly.instantiateStreaming(e, o).then(t, function(e) {
|
|
@@ -3918,12 +3918,12 @@ function requireCrypto() {
|
|
|
3918
3918
|
let m;
|
|
3919
3919
|
let _;
|
|
3920
3920
|
let E;
|
|
3921
|
-
let v;
|
|
3922
3921
|
let y;
|
|
3922
|
+
let v;
|
|
3923
3923
|
let S;
|
|
3924
3924
|
try {
|
|
3925
3925
|
g = require("./crypto/build/Release/sshcrypto.node");
|
|
3926
|
-
({AESGCMCipher: m, ChaChaPolyCipher: _, GenericCipher: E, AESGCMDecipher:
|
|
3926
|
+
({AESGCMCipher: m, ChaChaPolyCipher: _, GenericCipher: E, AESGCMDecipher: y, ChaChaPolyDecipher: v, GenericDecipher: S} = g);
|
|
3927
3927
|
} catch {}
|
|
3928
3928
|
const A = 1 << 0;
|
|
3929
3929
|
const b = (() => {
|
|
@@ -4396,7 +4396,7 @@ function requireCrypto() {
|
|
|
4396
4396
|
const t = e.inbound;
|
|
4397
4397
|
this.inSeqno = t.seqno;
|
|
4398
4398
|
this._onPayload = t.onPayload;
|
|
4399
|
-
this._instance = new
|
|
4399
|
+
this._instance = new v(t.decipherKey);
|
|
4400
4400
|
this._len = 0;
|
|
4401
4401
|
this._lenBuf = Buffer.alloc(4);
|
|
4402
4402
|
this._lenPos = 0;
|
|
@@ -4553,7 +4553,7 @@ function requireCrypto() {
|
|
|
4553
4553
|
const t = e.inbound;
|
|
4554
4554
|
this.inSeqno = t.seqno;
|
|
4555
4555
|
this._onPayload = t.onPayload;
|
|
4556
|
-
this._instance = new
|
|
4556
|
+
this._instance = new y(t.decipherInfo.sslName, t.decipherKey, t.decipherIV);
|
|
4557
4557
|
this._len = 0;
|
|
4558
4558
|
this._lenBytes = 0;
|
|
4559
4559
|
this._packet = null;
|
|
@@ -4903,10 +4903,10 @@ function requireCrypto() {
|
|
|
4903
4903
|
switch (t.decipherInfo.sslName) {
|
|
4904
4904
|
case "aes-128-gcm":
|
|
4905
4905
|
case "aes-256-gcm":
|
|
4906
|
-
return
|
|
4906
|
+
return y && !r ? new AESGCMDecipherBinding(e) : new AESGCMDecipherNative(e);
|
|
4907
4907
|
|
|
4908
4908
|
case "chacha20":
|
|
4909
|
-
return
|
|
4909
|
+
return v && !r ? new ChaChaPolyDecipherBinding(e) : new ChaChaPolyDecipherNative(e);
|
|
4910
4910
|
|
|
4911
4911
|
default:
|
|
4912
4912
|
{
|
|
@@ -5734,20 +5734,20 @@ PPK_Private.prototype = BaseKey;
|
|
|
5734
5734
|
const m = r[6];
|
|
5735
5735
|
const _ = a.length;
|
|
5736
5736
|
const E = n.length;
|
|
5737
|
-
const
|
|
5738
|
-
const
|
|
5737
|
+
const y = Buffer.byteLength(p);
|
|
5738
|
+
const v = g.length;
|
|
5739
5739
|
const S = o.length;
|
|
5740
|
-
const A = Buffer.allocUnsafe(4 + _ + 4 + E + 4 +
|
|
5740
|
+
const A = Buffer.allocUnsafe(4 + _ + 4 + E + 4 + y + 4 + v + 4 + S);
|
|
5741
5741
|
let b = 0;
|
|
5742
5742
|
writeUInt32BE$6(A, _, b);
|
|
5743
5743
|
A.utf8Write(a, b += 4, _);
|
|
5744
5744
|
writeUInt32BE$6(A, E, b += _);
|
|
5745
5745
|
A.utf8Write(n, b += 4, E);
|
|
5746
|
-
writeUInt32BE$6(A,
|
|
5747
|
-
A.utf8Write(p, b += 4,
|
|
5748
|
-
writeUInt32BE$6(A,
|
|
5746
|
+
writeUInt32BE$6(A, y, b += E);
|
|
5747
|
+
A.utf8Write(p, b += 4, y);
|
|
5748
|
+
writeUInt32BE$6(A, v, b += y);
|
|
5749
5749
|
A.set(g, b += 4);
|
|
5750
|
-
writeUInt32BE$6(A, S, b +=
|
|
5750
|
+
writeUInt32BE$6(A, S, b += v);
|
|
5751
5751
|
A.set(o, b + 4);
|
|
5752
5752
|
if (!t) t = l;
|
|
5753
5753
|
const C = createHmac("sha1", createHash$1("sha1").update("putty-private-key-file-mac-key").update(t).digest()).update(A).digest("hex");
|
|
@@ -6289,12 +6289,12 @@ const CygwinAgent$1 = (() => {
|
|
|
6289
6289
|
for (let e = 0, t = 0; t < 32; ++e, t += 2) E[e] = parseInt(_.substring(t, t + 2), 16);
|
|
6290
6290
|
for (let e = 0; e < 16; e += 4) writeUInt32LE(E, readUInt32BE$1(E, e), e);
|
|
6291
6291
|
A();
|
|
6292
|
-
function
|
|
6292
|
+
function y() {
|
|
6293
6293
|
u = 0;
|
|
6294
6294
|
c = "secret";
|
|
6295
6295
|
p.write(E);
|
|
6296
6296
|
}
|
|
6297
|
-
function
|
|
6297
|
+
function v(e) {
|
|
6298
6298
|
u += e.length;
|
|
6299
6299
|
if (c === "secret") {
|
|
6300
6300
|
if (u === 16) {
|
|
@@ -6307,8 +6307,8 @@ const CygwinAgent$1 = (() => {
|
|
|
6307
6307
|
if (c === "creds") {
|
|
6308
6308
|
if (!d) h.push(e);
|
|
6309
6309
|
if (u === 12) {
|
|
6310
|
-
p.removeListener("connect",
|
|
6311
|
-
p.removeListener("data",
|
|
6310
|
+
p.removeListener("connect", y);
|
|
6311
|
+
p.removeListener("data", v);
|
|
6312
6312
|
p.removeListener("error", S);
|
|
6313
6313
|
p.removeListener("end", S);
|
|
6314
6314
|
p.removeListener("close", S);
|
|
@@ -6327,8 +6327,8 @@ const CygwinAgent$1 = (() => {
|
|
|
6327
6327
|
}
|
|
6328
6328
|
function A() {
|
|
6329
6329
|
p = new Socket$1;
|
|
6330
|
-
p.on("connect",
|
|
6331
|
-
p.on("data",
|
|
6330
|
+
p.on("connect", y);
|
|
6331
|
+
p.on("data", v);
|
|
6332
6332
|
p.on("error", S);
|
|
6333
6333
|
p.on("end", S);
|
|
6334
6334
|
p.on("close", S);
|
|
@@ -6360,10 +6360,10 @@ const AgentProtocol$1 = (() => {
|
|
|
6360
6360
|
const c = 1;
|
|
6361
6361
|
function u(e) {
|
|
6362
6362
|
let t;
|
|
6363
|
-
while (e[
|
|
6364
|
-
const r = e[
|
|
6363
|
+
while (e[y].length) {
|
|
6364
|
+
const r = e[y][0][h];
|
|
6365
6365
|
if (r === undefined) break;
|
|
6366
|
-
e[
|
|
6366
|
+
e[y].shift();
|
|
6367
6367
|
t = e.push(r);
|
|
6368
6368
|
}
|
|
6369
6369
|
return t;
|
|
@@ -6393,10 +6393,10 @@ const AgentProtocol$1 = (() => {
|
|
|
6393
6393
|
}
|
|
6394
6394
|
function m(e) {
|
|
6395
6395
|
e[S] = null;
|
|
6396
|
-
if (e[
|
|
6397
|
-
const t = e[
|
|
6396
|
+
if (e[v] === l) {
|
|
6397
|
+
const t = e[y];
|
|
6398
6398
|
if (t && t.length) {
|
|
6399
|
-
e[
|
|
6399
|
+
e[y] = [];
|
|
6400
6400
|
for (const e of t) e.cb(new Error("No reply from server"));
|
|
6401
6401
|
}
|
|
6402
6402
|
}
|
|
@@ -6414,8 +6414,8 @@ const AgentProtocol$1 = (() => {
|
|
|
6414
6414
|
function E() {
|
|
6415
6415
|
this[C] = true;
|
|
6416
6416
|
}
|
|
6417
|
-
const
|
|
6418
|
-
const
|
|
6417
|
+
const y = Symbol("Requests");
|
|
6418
|
+
const v = Symbol("Agent Protocol Role");
|
|
6419
6419
|
const S = Symbol("Agent Protocol Buffer");
|
|
6420
6420
|
const A = Symbol("Agent Protocol Current Message Length");
|
|
6421
6421
|
const b = Symbol("Agent Protocol Closed");
|
|
@@ -6426,8 +6426,8 @@ const AgentProtocol$1 = (() => {
|
|
|
6426
6426
|
autoDestroy: true,
|
|
6427
6427
|
emitClose: false
|
|
6428
6428
|
});
|
|
6429
|
-
this[
|
|
6430
|
-
this[
|
|
6429
|
+
this[v] = e ? l : c;
|
|
6430
|
+
this[y] = [];
|
|
6431
6431
|
this[S] = null;
|
|
6432
6432
|
this[A] = -1;
|
|
6433
6433
|
this.once("end", E);
|
|
@@ -6445,9 +6445,9 @@ const AgentProtocol$1 = (() => {
|
|
|
6445
6445
|
if (p < 4 + this[A]) break;
|
|
6446
6446
|
const c = h[g += 4];
|
|
6447
6447
|
++g;
|
|
6448
|
-
if (this[
|
|
6449
|
-
if (this[
|
|
6450
|
-
const o = this[
|
|
6448
|
+
if (this[v] === l) {
|
|
6449
|
+
if (this[y].length === 0) return d(new Error("Received unexpected message from server"));
|
|
6450
|
+
const o = this[y].shift();
|
|
6451
6451
|
switch (c) {
|
|
6452
6452
|
case r:
|
|
6453
6453
|
o.cb(new Error("Agent responded with failure"));
|
|
@@ -6510,7 +6510,7 @@ const AgentProtocol$1 = (() => {
|
|
|
6510
6510
|
case e:
|
|
6511
6511
|
{
|
|
6512
6512
|
const e = new AgentInboundRequest(c);
|
|
6513
|
-
this[
|
|
6513
|
+
this[y].push(e);
|
|
6514
6514
|
this.emit("identities", e);
|
|
6515
6515
|
break;
|
|
6516
6516
|
}
|
|
@@ -6525,13 +6525,13 @@ const AgentProtocol$1 = (() => {
|
|
|
6525
6525
|
binaryParser.clear();
|
|
6526
6526
|
if (r === undefined) {
|
|
6527
6527
|
const e = new AgentInboundRequest(c);
|
|
6528
|
-
this[
|
|
6528
|
+
this[y].push(e);
|
|
6529
6529
|
return this.failureReply(e);
|
|
6530
6530
|
}
|
|
6531
6531
|
e = parseKey$5(e);
|
|
6532
6532
|
if (e instanceof Error) {
|
|
6533
6533
|
const e = new AgentInboundRequest(c);
|
|
6534
|
-
this[
|
|
6534
|
+
this[y].push(e);
|
|
6535
6535
|
return this.failureReply(e);
|
|
6536
6536
|
}
|
|
6537
6537
|
const n = {
|
|
@@ -6549,7 +6549,7 @@ const AgentProtocol$1 = (() => {
|
|
|
6549
6549
|
}
|
|
6550
6550
|
if (s === undefined) s = e.type;
|
|
6551
6551
|
const l = new AgentInboundRequest(c, s);
|
|
6552
|
-
this[
|
|
6552
|
+
this[y].push(l);
|
|
6553
6553
|
this.emit("sign", l, e, t, n);
|
|
6554
6554
|
break;
|
|
6555
6555
|
}
|
|
@@ -6557,7 +6557,7 @@ const AgentProtocol$1 = (() => {
|
|
|
6557
6557
|
default:
|
|
6558
6558
|
{
|
|
6559
6559
|
const e = new AgentInboundRequest(c);
|
|
6560
|
-
this[
|
|
6560
|
+
this[y].push(e);
|
|
6561
6561
|
this.failureReply(e);
|
|
6562
6562
|
}
|
|
6563
6563
|
}
|
|
@@ -6583,7 +6583,7 @@ const AgentProtocol$1 = (() => {
|
|
|
6583
6583
|
e();
|
|
6584
6584
|
}
|
|
6585
6585
|
sign(e, r, n, s) {
|
|
6586
|
-
if (this[
|
|
6586
|
+
if (this[v] !== l) throw new Error("Client-only method called with server role");
|
|
6587
6587
|
if (typeof n === "function") {
|
|
6588
6588
|
s = n;
|
|
6589
6589
|
n = undefined;
|
|
@@ -6618,28 +6618,28 @@ const AgentProtocol$1 = (() => {
|
|
|
6618
6618
|
r.copy(g, p += 4);
|
|
6619
6619
|
writeUInt32BE$5(g, c, p += h);
|
|
6620
6620
|
if (typeof s !== "function") s = noop$9;
|
|
6621
|
-
this[
|
|
6621
|
+
this[y].push({
|
|
6622
6622
|
type: u,
|
|
6623
6623
|
cb: s
|
|
6624
6624
|
});
|
|
6625
6625
|
return this.push(g);
|
|
6626
6626
|
}
|
|
6627
6627
|
getIdentities(t) {
|
|
6628
|
-
if (this[
|
|
6628
|
+
if (this[v] !== l) throw new Error("Client-only method called with server role");
|
|
6629
6629
|
const r = e;
|
|
6630
6630
|
let n = 0;
|
|
6631
6631
|
const s = Buffer.allocUnsafe(4 + 1);
|
|
6632
6632
|
writeUInt32BE$5(s, s.length - 4, n);
|
|
6633
6633
|
s[n += 4] = r;
|
|
6634
6634
|
if (typeof t !== "function") t = noop$9;
|
|
6635
|
-
this[
|
|
6635
|
+
this[y].push({
|
|
6636
6636
|
type: r,
|
|
6637
6637
|
cb: t
|
|
6638
6638
|
});
|
|
6639
6639
|
return this.push(s);
|
|
6640
6640
|
}
|
|
6641
6641
|
failureReply(e) {
|
|
6642
|
-
if (this[
|
|
6642
|
+
if (this[v] !== c) throw new Error("Server-only method called with client role");
|
|
6643
6643
|
if (!(e instanceof AgentInboundRequest)) throw new Error("Wrong request argument");
|
|
6644
6644
|
if (e.hasResponded()) return true;
|
|
6645
6645
|
let t = 0;
|
|
@@ -6649,7 +6649,7 @@ const AgentProtocol$1 = (() => {
|
|
|
6649
6649
|
return g(this, e, n);
|
|
6650
6650
|
}
|
|
6651
6651
|
getIdentitiesReply(t, r) {
|
|
6652
|
-
if (this[
|
|
6652
|
+
if (this[v] !== c) throw new Error("Server-only method called with client role");
|
|
6653
6653
|
if (!(t instanceof AgentInboundRequest)) throw new Error("Wrong request argument");
|
|
6654
6654
|
if (t.hasResponded()) return true;
|
|
6655
6655
|
if (t.getType() !== e) throw new Error("Invalid response to request");
|
|
@@ -6701,7 +6701,7 @@ const AgentProtocol$1 = (() => {
|
|
|
6701
6701
|
return g(this, t, l);
|
|
6702
6702
|
}
|
|
6703
6703
|
signReply(e, r) {
|
|
6704
|
-
if (this[
|
|
6704
|
+
if (this[v] !== c) throw new Error("Server-only method called with client role");
|
|
6705
6705
|
if (!(e instanceof AgentInboundRequest)) throw new Error("Wrong request argument");
|
|
6706
6706
|
if (e.hasResponded()) return true;
|
|
6707
6707
|
if (e.getType() !== t) throw new Error("Invalid response to request");
|
|
@@ -7881,8 +7881,8 @@ function requireKex() {
|
|
|
7881
7881
|
hasRequiredKex = 1;
|
|
7882
7882
|
const {createDiffieHellman: e, createDiffieHellmanGroup: t, createECDH: r, createHash: n, createPublicKey: s, diffieHellman: o, generateKeyPairSync: a, randomFillSync: l} = require$$0$3;
|
|
7883
7883
|
const {Ber: c} = lib$1;
|
|
7884
|
-
const {COMPAT: u, curve25519Supported: d, DEFAULT_KEX: h, DEFAULT_SERVER_HOST_KEY: p, DEFAULT_CIPHER: g, DEFAULT_MAC: m, DEFAULT_COMPRESSION: _, DISCONNECT_REASON: E, MESSAGE:
|
|
7885
|
-
const {CIPHER_INFO:
|
|
7884
|
+
const {COMPAT: u, curve25519Supported: d, DEFAULT_KEX: h, DEFAULT_SERVER_HOST_KEY: p, DEFAULT_CIPHER: g, DEFAULT_MAC: m, DEFAULT_COMPRESSION: _, DISCONNECT_REASON: E, MESSAGE: y} = requireConstants();
|
|
7885
|
+
const {CIPHER_INFO: v, createCipher: S, createDecipher: A, MAC_INFO: b} = requireCrypto();
|
|
7886
7886
|
const {parseDERKey: C} = keyParser;
|
|
7887
7887
|
const {bufferFill: w, bufferParser: I, convertSignature: T, doFatalError: R, FastBuffer: k, sigSSHToASN1: P, writeUInt32BE: O} = requireUtils();
|
|
7888
7888
|
const {PacketReader: B, PacketWriter: $, ZlibPacketReader: N, ZlibPacketWriter: D} = zlib$1;
|
|
@@ -7922,7 +7922,7 @@ function requireKex() {
|
|
|
7922
7922
|
e._offer.copyAllTo(t, 17);
|
|
7923
7923
|
}
|
|
7924
7924
|
e._debug && e._debug("Outbound: Sending KEXINIT");
|
|
7925
|
-
t[0] =
|
|
7925
|
+
t[0] = y.KEXINIT;
|
|
7926
7926
|
l(t, 1, 16);
|
|
7927
7927
|
w(t, 0, t.length - 5);
|
|
7928
7928
|
e._kexinit = t;
|
|
@@ -8049,15 +8049,15 @@ function requireKex() {
|
|
|
8049
8049
|
}
|
|
8050
8050
|
r.cs.cipher = c[h];
|
|
8051
8051
|
p && p(`Handshake: C->S Cipher: ${c[h]}`);
|
|
8052
|
-
const
|
|
8053
|
-
p && p(`Handshake: (local) S->C cipher: ${
|
|
8052
|
+
const y = o.lists.sc.cipher.array;
|
|
8053
|
+
p && p(`Handshake: (local) S->C cipher: ${y}`);
|
|
8054
8054
|
p && p(`Handshake: (remote) S->C cipher: ${a.sc.cipher}`);
|
|
8055
8055
|
if (e._server) {
|
|
8056
|
-
d =
|
|
8056
|
+
d = y;
|
|
8057
8057
|
c = a.sc.cipher;
|
|
8058
8058
|
} else {
|
|
8059
8059
|
d = a.sc.cipher;
|
|
8060
|
-
c =
|
|
8060
|
+
c = y;
|
|
8061
8061
|
}
|
|
8062
8062
|
for (h = 0; h < c.length && d.indexOf(c[h]) === -1; ++h) ;
|
|
8063
8063
|
if (h === c.length) {
|
|
@@ -8069,7 +8069,7 @@ function requireKex() {
|
|
|
8069
8069
|
const S = o.lists.cs.mac.array;
|
|
8070
8070
|
p && p(`Handshake: (local) C->S MAC: ${S}`);
|
|
8071
8071
|
p && p(`Handshake: (remote) C->S MAC: ${a.cs.mac}`);
|
|
8072
|
-
if (
|
|
8072
|
+
if (v[r.cs.cipher].authLen > 0) {
|
|
8073
8073
|
r.cs.mac = "";
|
|
8074
8074
|
p && p("Handshake: C->S MAC: <implicit>");
|
|
8075
8075
|
} else {
|
|
@@ -8091,7 +8091,7 @@ function requireKex() {
|
|
|
8091
8091
|
const A = o.lists.sc.mac.array;
|
|
8092
8092
|
p && p(`Handshake: (local) S->C MAC: ${A}`);
|
|
8093
8093
|
p && p(`Handshake: (remote) S->C MAC: ${a.sc.mac}`);
|
|
8094
|
-
if (
|
|
8094
|
+
if (v[r.sc.cipher].authLen > 0) {
|
|
8095
8095
|
r.sc.mac = "";
|
|
8096
8096
|
p && p("Handshake: S->C MAC: <implicit>");
|
|
8097
8097
|
} else {
|
|
@@ -8311,7 +8311,7 @@ function requireKex() {
|
|
|
8311
8311
|
const s = 4 + n + 4 + t.length;
|
|
8312
8312
|
let o = this._protocol._packetRW.write.allocStartKEX;
|
|
8313
8313
|
const a = this._protocol._packetRW.write.alloc(1 + 4 + l.length + 4 + c.length + 4 + s, true);
|
|
8314
|
-
a[o] =
|
|
8314
|
+
a[o] = y.KEXDH_REPLY;
|
|
8315
8315
|
O(a, l.length, ++o);
|
|
8316
8316
|
a.set(l, o += 4);
|
|
8317
8317
|
O(a, c.length, o += l.length);
|
|
@@ -8361,8 +8361,8 @@ function requireKex() {
|
|
|
8361
8361
|
e.set(o, 4);
|
|
8362
8362
|
o = e;
|
|
8363
8363
|
}
|
|
8364
|
-
const n =
|
|
8365
|
-
const s =
|
|
8364
|
+
const n = v[r.cs.cipher];
|
|
8365
|
+
const s = v[r.sc.cipher];
|
|
8366
8366
|
const a = G(n.ivLen, this.hashName, o, u, this.sessionID, "A");
|
|
8367
8367
|
const l = G(s.ivLen, this.hashName, o, u, this.sessionID, "B");
|
|
8368
8368
|
const c = G(n.keyLen, this.hashName, o, u, this.sessionID, "C");
|
|
@@ -8374,10 +8374,10 @@ function requireKex() {
|
|
|
8374
8374
|
_ = G(m.len, this.hashName, o, u, this.sessionID, "E");
|
|
8375
8375
|
}
|
|
8376
8376
|
let E;
|
|
8377
|
-
let
|
|
8377
|
+
let y;
|
|
8378
8378
|
if (!s.authLen) {
|
|
8379
8379
|
E = b[r.sc.mac];
|
|
8380
|
-
|
|
8380
|
+
y = G(E.len, this.hashName, o, u, this.sessionID, "F");
|
|
8381
8381
|
}
|
|
8382
8382
|
const C = {
|
|
8383
8383
|
inbound: {
|
|
@@ -8387,7 +8387,7 @@ function requireKex() {
|
|
|
8387
8387
|
decipherIV: !t ? l : a,
|
|
8388
8388
|
decipherKey: !t ? g : c,
|
|
8389
8389
|
macInfo: !t ? E : m,
|
|
8390
|
-
macKey: !t ?
|
|
8390
|
+
macKey: !t ? y : _
|
|
8391
8391
|
},
|
|
8392
8392
|
outbound: {
|
|
8393
8393
|
onWrite: this._protocol._onWrite,
|
|
@@ -8396,7 +8396,7 @@ function requireKex() {
|
|
|
8396
8396
|
cipherIV: t ? l : a,
|
|
8397
8397
|
cipherKey: t ? g : c,
|
|
8398
8398
|
macInfo: t ? E : m,
|
|
8399
|
-
macKey: t ?
|
|
8399
|
+
macKey: t ? y : _
|
|
8400
8400
|
}
|
|
8401
8401
|
};
|
|
8402
8402
|
this._protocol._decipher.free();
|
|
@@ -8470,7 +8470,7 @@ function requireKex() {
|
|
|
8470
8470
|
const e = this.getPublicKey();
|
|
8471
8471
|
let t = this._protocol._packetRW.write.allocStartKEX;
|
|
8472
8472
|
const r = this._protocol._packetRW.write.alloc(1 + 4 + e.length, true);
|
|
8473
|
-
r[t] =
|
|
8473
|
+
r[t] = y.KEXDH_INIT;
|
|
8474
8474
|
O(r, e.length, ++t);
|
|
8475
8475
|
r.set(e, t += 4);
|
|
8476
8476
|
this._protocol._cipher.encrypt(this._protocol._packetRW.write.finalize(r, true));
|
|
@@ -8515,8 +8515,8 @@ function requireKex() {
|
|
|
8515
8515
|
switch (this._step) {
|
|
8516
8516
|
case 1:
|
|
8517
8517
|
if (this._protocol._server) {
|
|
8518
|
-
if (t !==
|
|
8519
|
-
return R(this._protocol, `Received packet ${t} instead of ${
|
|
8518
|
+
if (t !== y.KEXDH_INIT) {
|
|
8519
|
+
return R(this._protocol, `Received packet ${t} instead of ${y.KEXDH_INIT}`, "handshake", E.KEY_EXCHANGE_FAILED);
|
|
8520
8520
|
}
|
|
8521
8521
|
this._protocol._debug && this._protocol._debug("Received DH Init");
|
|
8522
8522
|
I.init(e, 1);
|
|
@@ -8531,8 +8531,8 @@ function requireKex() {
|
|
|
8531
8531
|
this._hostKey = n;
|
|
8532
8532
|
this.finish();
|
|
8533
8533
|
} else {
|
|
8534
|
-
if (t !==
|
|
8535
|
-
return R(this._protocol, `Received packet ${t} instead of ${
|
|
8534
|
+
if (t !== y.KEXDH_REPLY) {
|
|
8535
|
+
return R(this._protocol, `Received packet ${t} instead of ${y.KEXDH_REPLY}`, "handshake", E.KEY_EXCHANGE_FAILED);
|
|
8536
8536
|
}
|
|
8537
8537
|
this._protocol._debug && this._protocol._debug("Received DH Reply");
|
|
8538
8538
|
I.init(e, 1);
|
|
@@ -8598,8 +8598,8 @@ function requireKex() {
|
|
|
8598
8598
|
break;
|
|
8599
8599
|
|
|
8600
8600
|
case 2:
|
|
8601
|
-
if (t !==
|
|
8602
|
-
return R(this._protocol, `Received packet ${t} instead of ${
|
|
8601
|
+
if (t !== y.NEWKEYS) {
|
|
8602
|
+
return R(this._protocol, `Received packet ${t} instead of ${y.NEWKEYS}`, "handshake", E.KEY_EXCHANGE_FAILED);
|
|
8603
8603
|
}
|
|
8604
8604
|
this._protocol._debug && this._protocol._debug("Inbound: NEWKEYS");
|
|
8605
8605
|
this._receivedNEWKEYS = true;
|
|
@@ -8705,7 +8705,7 @@ function requireKex() {
|
|
|
8705
8705
|
this._protocol._debug && this._protocol._debug("Outbound: Sending KEXDH_GEX_REQUEST");
|
|
8706
8706
|
let e = this._protocol._packetRW.write.allocStartKEX;
|
|
8707
8707
|
const t = this._protocol._packetRW.write.alloc(1 + 4 + 4 + 4, true);
|
|
8708
|
-
t[e] =
|
|
8708
|
+
t[e] = y.KEXDH_GEX_REQUEST;
|
|
8709
8709
|
O(t, this._minBits, ++e);
|
|
8710
8710
|
O(t, this._prefBits, e += 4);
|
|
8711
8711
|
O(t, this._maxBits, e += 4);
|
|
@@ -8737,13 +8737,13 @@ function requireKex() {
|
|
|
8737
8737
|
case 1:
|
|
8738
8738
|
{
|
|
8739
8739
|
if (this._protocol._server) {
|
|
8740
|
-
if (t !==
|
|
8741
|
-
return R(this._protocol, `Received packet ${t} instead of ` +
|
|
8740
|
+
if (t !== y.KEXDH_GEX_REQUEST) {
|
|
8741
|
+
return R(this._protocol, `Received packet ${t} instead of ` + y.KEXDH_GEX_REQUEST, "handshake", E.KEY_EXCHANGE_FAILED);
|
|
8742
8742
|
}
|
|
8743
8743
|
return R(this._protocol, "Group exchange not implemented for server", "handshake", E.KEY_EXCHANGE_FAILED);
|
|
8744
8744
|
}
|
|
8745
|
-
if (t !==
|
|
8746
|
-
return R(this._protocol, `Received packet ${t} instead of ${
|
|
8745
|
+
if (t !== y.KEXDH_GEX_GROUP) {
|
|
8746
|
+
return R(this._protocol, `Received packet ${t} instead of ${y.KEXDH_GEX_GROUP}`, "handshake", E.KEY_EXCHANGE_FAILED);
|
|
8747
8747
|
}
|
|
8748
8748
|
this._protocol._debug && this._protocol._debug("Received DH GEX Group");
|
|
8749
8749
|
I.init(e, 1);
|
|
@@ -8760,7 +8760,7 @@ function requireKex() {
|
|
|
8760
8760
|
this._protocol._debug && this._protocol._debug("Outbound: Sending KEXDH_GEX_INIT");
|
|
8761
8761
|
let o = this._protocol._packetRW.write.allocStartKEX;
|
|
8762
8762
|
const a = this._protocol._packetRW.write.alloc(1 + 4 + s.length, true);
|
|
8763
|
-
a[o] =
|
|
8763
|
+
a[o] = y.KEXDH_GEX_INIT;
|
|
8764
8764
|
O(a, s.length, ++o);
|
|
8765
8765
|
a.set(s, o += 4);
|
|
8766
8766
|
this._protocol._cipher.encrypt(this._protocol._packetRW.write.finalize(a, true));
|
|
@@ -8770,17 +8770,17 @@ function requireKex() {
|
|
|
8770
8770
|
|
|
8771
8771
|
case 2:
|
|
8772
8772
|
if (this._protocol._server) {
|
|
8773
|
-
if (t !==
|
|
8774
|
-
return R(this._protocol, `Received packet ${t} instead of ${
|
|
8773
|
+
if (t !== y.KEXDH_GEX_INIT) {
|
|
8774
|
+
return R(this._protocol, `Received packet ${t} instead of ${y.KEXDH_GEX_INIT}`, "handshake", E.KEY_EXCHANGE_FAILED);
|
|
8775
8775
|
}
|
|
8776
8776
|
this._protocol._debug && this._protocol._debug("Received DH GEX Init");
|
|
8777
8777
|
return R(this._protocol, "Group exchange not implemented for server", "handshake", E.KEY_EXCHANGE_FAILED);
|
|
8778
|
-
} else if (t !==
|
|
8779
|
-
return R(this._protocol, `Received packet ${t} instead of ${
|
|
8778
|
+
} else if (t !== y.KEXDH_GEX_REPLY) {
|
|
8779
|
+
return R(this._protocol, `Received packet ${t} instead of ${y.KEXDH_GEX_REPLY}`, "handshake", E.KEY_EXCHANGE_FAILED);
|
|
8780
8780
|
}
|
|
8781
8781
|
this._protocol._debug && this._protocol._debug("Received DH GEX Reply");
|
|
8782
8782
|
this._step = 1;
|
|
8783
|
-
e[0] =
|
|
8783
|
+
e[0] = y.KEXDH_REPLY;
|
|
8784
8784
|
this.parse = KeyExchange.prototype.parse;
|
|
8785
8785
|
this.parse(e);
|
|
8786
8786
|
}
|
|
@@ -8799,7 +8799,7 @@ function requireKex() {
|
|
|
8799
8799
|
const e = this.getPublicKey();
|
|
8800
8800
|
let t = this._protocol._packetRW.write.allocStartKEX;
|
|
8801
8801
|
const r = this._protocol._packetRW.write.alloc(1 + 4 + e.length, true);
|
|
8802
|
-
r[t] =
|
|
8802
|
+
r[t] = y.KEXDH_INIT;
|
|
8803
8803
|
O(r, e.length, ++t);
|
|
8804
8804
|
r.set(e, t += 4);
|
|
8805
8805
|
this._protocol._cipher.encrypt(this._protocol._packetRW.write.finalize(r, true));
|
|
@@ -8991,19 +8991,19 @@ function requireKex() {
|
|
|
8991
8991
|
const r = t[0];
|
|
8992
8992
|
if (!this._strictMode) {
|
|
8993
8993
|
switch (r) {
|
|
8994
|
-
case
|
|
8995
|
-
case
|
|
8996
|
-
case
|
|
8994
|
+
case y.IGNORE:
|
|
8995
|
+
case y.UNIMPLEMENTED:
|
|
8996
|
+
case y.DEBUG:
|
|
8997
8997
|
if (!L) L = requireHandlers();
|
|
8998
8998
|
return L[r](this, t);
|
|
8999
8999
|
}
|
|
9000
9000
|
}
|
|
9001
9001
|
switch (r) {
|
|
9002
|
-
case
|
|
9002
|
+
case y.DISCONNECT:
|
|
9003
9003
|
if (!L) L = requireHandlers();
|
|
9004
9004
|
return L[r](this, t);
|
|
9005
9005
|
|
|
9006
|
-
case
|
|
9006
|
+
case y.KEXINIT:
|
|
9007
9007
|
if (!e.firstPacket) {
|
|
9008
9008
|
return R(this, "Received extra KEXINIT during handshake", "handshake", E.KEY_EXCHANGE_FAILED);
|
|
9009
9009
|
}
|
|
@@ -9018,8 +9018,8 @@ function requireKex() {
|
|
|
9018
9018
|
return this._kex.parse(t);
|
|
9019
9019
|
}
|
|
9020
9020
|
function z(e) {
|
|
9021
|
-
const t =
|
|
9022
|
-
const r =
|
|
9021
|
+
const t = v[e.cs.cipher];
|
|
9022
|
+
const r = v[e.sc.cipher];
|
|
9023
9023
|
const n = Math.max(0, t.sslName === "des-ede3-cbc" ? 14 : t.keyLen, t.blockLen, t.ivLen, r.sslName === "des-ede3-cbc" ? 14 : r.keyLen, r.blockLen, r.ivLen) * 8;
|
|
9024
9024
|
if (n <= 112) return 2048;
|
|
9025
9025
|
if (n <= 128) return 3072;
|
|
@@ -9031,7 +9031,7 @@ function requireKex() {
|
|
|
9031
9031
|
e._protocol._debug && e._protocol._debug("Outbound: Sending NEWKEYS");
|
|
9032
9032
|
const t = e._protocol._packetRW.write.allocStartKEX;
|
|
9033
9033
|
const r = e._protocol._packetRW.write.alloc(1, true);
|
|
9034
|
-
r[t] =
|
|
9034
|
+
r[t] = y.NEWKEYS;
|
|
9035
9035
|
e._protocol._cipher.encrypt(e._protocol._packetRW.write.finalize(r, true));
|
|
9036
9036
|
e._sentNEWKEYS = true;
|
|
9037
9037
|
if (e._protocol._strictMode) e._protocol._cipher.outSeqno = 0;
|
|
@@ -9074,7 +9074,7 @@ function requireKex() {
|
|
|
9074
9074
|
}
|
|
9075
9075
|
}),
|
|
9076
9076
|
HANDLERS: {
|
|
9077
|
-
[
|
|
9077
|
+
[y.KEXINIT]: q
|
|
9078
9078
|
}
|
|
9079
9079
|
};
|
|
9080
9080
|
return kex;
|
|
@@ -10465,9 +10465,9 @@ nodeFsCompat.validateNumber = function e(t, r) {
|
|
|
10465
10465
|
|
|
10466
10466
|
const EventEmitter$4 = require$$0$7;
|
|
10467
10467
|
|
|
10468
|
-
const fs$
|
|
10468
|
+
const fs$8 = require$$0$4;
|
|
10469
10469
|
|
|
10470
|
-
const {constants: constants$2} = fs$
|
|
10470
|
+
const {constants: constants$2} = fs$8;
|
|
10471
10471
|
|
|
10472
10472
|
const {Readable: ReadableStream$1, Writable: WritableStream$1} = require$$0$6;
|
|
10473
10473
|
|
|
@@ -10827,11 +10827,11 @@ let SFTP$3 = class SFTP extends EventEmitter$4 {
|
|
|
10827
10827
|
}
|
|
10828
10828
|
fastGet(e, t, r, n) {
|
|
10829
10829
|
if (this.server) throw new Error("Client-only method called in server mode");
|
|
10830
|
-
fastXfer(this, fs$
|
|
10830
|
+
fastXfer(this, fs$8, e, t, r, n);
|
|
10831
10831
|
}
|
|
10832
10832
|
fastPut(e, t, r, n) {
|
|
10833
10833
|
if (this.server) throw new Error("Client-only method called in server mode");
|
|
10834
|
-
fastXfer(fs$
|
|
10834
|
+
fastXfer(fs$8, this, e, t, r, n);
|
|
10835
10835
|
}
|
|
10836
10836
|
readFile(e, t, r) {
|
|
10837
10837
|
if (this.server) throw new Error("Client-only method called in server mode");
|
|
@@ -11959,8 +11959,8 @@ function fastXfer(e, t, r, n, s, o) {
|
|
|
11959
11959
|
let m = false;
|
|
11960
11960
|
let _;
|
|
11961
11961
|
let E;
|
|
11962
|
-
let
|
|
11963
|
-
let
|
|
11962
|
+
let y;
|
|
11963
|
+
let v = l * a;
|
|
11964
11964
|
function S(r) {
|
|
11965
11965
|
if (m) return;
|
|
11966
11966
|
m = true;
|
|
@@ -11970,10 +11970,10 @@ function fastXfer(e, t, r, n, s, o) {
|
|
|
11970
11970
|
s = () => {
|
|
11971
11971
|
if (--n === 0) o(r);
|
|
11972
11972
|
};
|
|
11973
|
-
if (_ && (e === fs$
|
|
11974
|
-
if (E && (t === fs$
|
|
11975
|
-
if (_ && (e === fs$
|
|
11976
|
-
if (E && (t === fs$
|
|
11973
|
+
if (_ && (e === fs$8 || e.outgoing.state === "open")) ++n;
|
|
11974
|
+
if (E && (t === fs$8 || t.outgoing.state === "open")) ++n;
|
|
11975
|
+
if (_ && (e === fs$8 || e.outgoing.state === "open")) e.close(_, s);
|
|
11976
|
+
if (E && (t === fs$8 || t.outgoing.state === "open")) t.close(E, s);
|
|
11977
11977
|
} else {
|
|
11978
11978
|
o(r);
|
|
11979
11979
|
}
|
|
@@ -11986,7 +11986,7 @@ function fastXfer(e, t, r, n, s, o) {
|
|
|
11986
11986
|
});
|
|
11987
11987
|
function A(s, d) {
|
|
11988
11988
|
if (s) {
|
|
11989
|
-
if (e !== fs$
|
|
11989
|
+
if (e !== fs$8) {
|
|
11990
11990
|
e.stat(r, (e, t) => {
|
|
11991
11991
|
if (e) return S(s);
|
|
11992
11992
|
A(null, t);
|
|
@@ -12000,16 +12000,16 @@ function fastXfer(e, t, r, n, s, o) {
|
|
|
12000
12000
|
if (r) return S(r);
|
|
12001
12001
|
E = s;
|
|
12002
12002
|
if (h <= 0) return S();
|
|
12003
|
-
while (
|
|
12003
|
+
while (v > h) {
|
|
12004
12004
|
if (a === 1) {
|
|
12005
|
-
|
|
12005
|
+
v = h;
|
|
12006
12006
|
break;
|
|
12007
12007
|
}
|
|
12008
|
-
|
|
12008
|
+
v -= l;
|
|
12009
12009
|
--a;
|
|
12010
12010
|
}
|
|
12011
|
-
|
|
12012
|
-
if (
|
|
12011
|
+
y = tryCreateBuffer(v);
|
|
12012
|
+
if (y instanceof Error) return S(y);
|
|
12013
12013
|
if (u !== undefined) {
|
|
12014
12014
|
t.fchmod(E, u, function e(r) {
|
|
12015
12015
|
if (r) {
|
|
@@ -12024,7 +12024,7 @@ function fastXfer(e, t, r, n, s, o) {
|
|
|
12024
12024
|
function d(r, n, s, a, u, d) {
|
|
12025
12025
|
if (r) return S(r);
|
|
12026
12026
|
u = u || 0;
|
|
12027
|
-
t.write(E,
|
|
12027
|
+
t.write(E, y, u, n, a, m);
|
|
12028
12028
|
function m(r) {
|
|
12029
12029
|
if (r) return S(r);
|
|
12030
12030
|
g += n;
|
|
@@ -12054,7 +12054,7 @@ function fastXfer(e, t, r, n, s, o) {
|
|
|
12054
12054
|
};
|
|
12055
12055
|
}
|
|
12056
12056
|
function A(t, r, n) {
|
|
12057
|
-
e.read(_,
|
|
12057
|
+
e.read(_, y, t, n, r, m(t, r, n));
|
|
12058
12058
|
}
|
|
12059
12059
|
function b() {
|
|
12060
12060
|
let e = 0;
|
|
@@ -14108,10 +14108,10 @@ let Client$2 = class Client extends EventEmitter$3 {
|
|
|
14108
14108
|
const m = this.config.keepaliveInterval;
|
|
14109
14109
|
const _ = this.config.keepaliveCountMax;
|
|
14110
14110
|
let E = 0;
|
|
14111
|
-
let
|
|
14112
|
-
const
|
|
14111
|
+
let y;
|
|
14112
|
+
const v = () => {
|
|
14113
14113
|
if (++E > _) {
|
|
14114
|
-
clearInterval(
|
|
14114
|
+
clearInterval(y);
|
|
14115
14115
|
if (c.readable) {
|
|
14116
14116
|
const e = new Error("Keepalive timeout");
|
|
14117
14117
|
e.level = "client-timeout";
|
|
@@ -14124,14 +14124,14 @@ let Client$2 = class Client extends EventEmitter$3 {
|
|
|
14124
14124
|
o.push(S);
|
|
14125
14125
|
g.ping();
|
|
14126
14126
|
} else {
|
|
14127
|
-
clearInterval(
|
|
14127
|
+
clearInterval(y);
|
|
14128
14128
|
}
|
|
14129
14129
|
};
|
|
14130
14130
|
function S() {
|
|
14131
14131
|
if (m > 0) {
|
|
14132
14132
|
E = 0;
|
|
14133
|
-
clearInterval(
|
|
14134
|
-
if (isWritable$1(c))
|
|
14133
|
+
clearInterval(y);
|
|
14134
|
+
if (isWritable$1(c)) y = setInterval(v, m);
|
|
14135
14135
|
}
|
|
14136
14136
|
}
|
|
14137
14137
|
this._resetKA = S;
|
|
@@ -14189,14 +14189,14 @@ let Client$2 = class Client extends EventEmitter$3 {
|
|
|
14189
14189
|
A();
|
|
14190
14190
|
g.cleanup();
|
|
14191
14191
|
clearTimeout(this._readyTimeout);
|
|
14192
|
-
clearInterval(
|
|
14192
|
+
clearInterval(y);
|
|
14193
14193
|
this.emit("end");
|
|
14194
14194
|
}).on("close", () => {
|
|
14195
14195
|
s && s("Socket closed");
|
|
14196
14196
|
A();
|
|
14197
14197
|
g.cleanup();
|
|
14198
14198
|
clearTimeout(this._readyTimeout);
|
|
14199
|
-
clearInterval(
|
|
14199
|
+
clearInterval(y);
|
|
14200
14200
|
this.emit("close");
|
|
14201
14201
|
const e = o;
|
|
14202
14202
|
o = this._callbacks = [];
|
|
@@ -15624,16 +15624,16 @@ let Client$1 = class Client extends EventEmitter$2 {
|
|
|
15624
15624
|
s(`Debug output from client: ${JSON.stringify(r)}`);
|
|
15625
15625
|
};
|
|
15626
15626
|
const E = typeof a.keepaliveInterval === "number" && isFinite(a.keepaliveInterval) && a.keepaliveInterval > 0 ? a.keepaliveInterval : typeof Server$1.KEEPALIVE_CLIENT_INTERVAL === "number" && isFinite(Server$1.KEEPALIVE_CLIENT_INTERVAL) && Server$1.KEEPALIVE_CLIENT_INTERVAL > 0 ? Server$1.KEEPALIVE_CLIENT_INTERVAL : -1;
|
|
15627
|
-
const
|
|
15628
|
-
let
|
|
15629
|
-
if (E !== -1 &&
|
|
15627
|
+
const y = typeof a.keepaliveCountMax === "number" && isFinite(a.keepaliveCountMax) && a.keepaliveCountMax >= 0 ? a.keepaliveCountMax : typeof Server$1.KEEPALIVE_CLIENT_COUNT_MAX === "number" && isFinite(Server$1.KEEPALIVE_CLIENT_COUNT_MAX) && Server$1.KEEPALIVE_CLIENT_COUNT_MAX >= 0 ? Server$1.KEEPALIVE_CLIENT_COUNT_MAX : -1;
|
|
15628
|
+
let v = 0;
|
|
15629
|
+
if (E !== -1 && y !== -1) {
|
|
15630
15630
|
this.once("ready", () => {
|
|
15631
15631
|
const e = () => {
|
|
15632
15632
|
clearInterval(h);
|
|
15633
15633
|
};
|
|
15634
15634
|
this.on("close", e).on("end", e);
|
|
15635
15635
|
h = setInterval(() => {
|
|
15636
|
-
if (++
|
|
15636
|
+
if (++v > y) {
|
|
15637
15637
|
clearInterval(h);
|
|
15638
15638
|
const e = new Error("Keepalive timeout");
|
|
15639
15639
|
e.level = "client-timeout";
|
|
@@ -15646,7 +15646,7 @@ let Client$1 = class Client extends EventEmitter$2 {
|
|
|
15646
15646
|
});
|
|
15647
15647
|
p = () => {
|
|
15648
15648
|
h && h.refresh();
|
|
15649
|
-
|
|
15649
|
+
v = 0;
|
|
15650
15650
|
};
|
|
15651
15651
|
}
|
|
15652
15652
|
const S = this._protocol = new Protocol({
|
|
@@ -16653,7 +16653,7 @@ function convertKeys(e, t, r, n) {
|
|
|
16653
16653
|
for (let e = 1; (m + _.length) % d; ++e) _.push(e & 255);
|
|
16654
16654
|
_ = Buffer.from(_);
|
|
16655
16655
|
let E = Buffer.allocUnsafe(m + _.length);
|
|
16656
|
-
let
|
|
16656
|
+
let y;
|
|
16657
16657
|
{
|
|
16658
16658
|
let e = 0;
|
|
16659
16659
|
E.set(p, e += 0);
|
|
@@ -16670,18 +16670,18 @@ function convertKeys(e, t, r, n) {
|
|
|
16670
16670
|
const t = createCipheriv(o.cipher.sslName, o.key, o.iv, e);
|
|
16671
16671
|
t.setAutoPadding(false);
|
|
16672
16672
|
E = Buffer.concat([ t.update(E), t.final() ]);
|
|
16673
|
-
if (o.cipher.authLen > 0)
|
|
16673
|
+
if (o.cipher.authLen > 0) y = t.getAuthTag(); else y = Buffer.alloc(0);
|
|
16674
16674
|
o.key.fill(0);
|
|
16675
16675
|
o.iv.fill(0);
|
|
16676
16676
|
} else {
|
|
16677
|
-
|
|
16677
|
+
y = Buffer.alloc(0);
|
|
16678
16678
|
}
|
|
16679
|
-
const
|
|
16680
|
-
const S = Buffer.allocUnsafe(
|
|
16679
|
+
const v = Buffer.from("openssh-key-v1\0");
|
|
16680
|
+
const S = Buffer.allocUnsafe(v.length + 4 + l.length + 4 + c.length + 4 + u.length + 4 + 4 + h.pub.length + 4 + E.length + y.length);
|
|
16681
16681
|
{
|
|
16682
16682
|
let e = 0;
|
|
16683
|
-
S.set(
|
|
16684
|
-
S.writeUInt32BE(l.length, e +=
|
|
16683
|
+
S.set(v, e += 0);
|
|
16684
|
+
S.writeUInt32BE(l.length, e += v.length);
|
|
16685
16685
|
S.set(l, e += 4);
|
|
16686
16686
|
S.writeUInt32BE(c.length, e += l.length);
|
|
16687
16687
|
S.set(c, e += 4);
|
|
@@ -16692,7 +16692,7 @@ function convertKeys(e, t, r, n) {
|
|
|
16692
16692
|
S.set(h.pub, e += 4);
|
|
16693
16693
|
S.writeUInt32BE(E.length, e += h.pub.length);
|
|
16694
16694
|
S.set(E, e += 4);
|
|
16695
|
-
S.set(
|
|
16695
|
+
S.set(y, e += E.length);
|
|
16696
16696
|
}
|
|
16697
16697
|
{
|
|
16698
16698
|
const e = S.base64Slice(0, S.length);
|
|
@@ -17334,7 +17334,7 @@ function require_stream_writable() {
|
|
|
17334
17334
|
}
|
|
17335
17335
|
var c = requireDestroy();
|
|
17336
17336
|
var u = requireState(), d = u.getHighWaterMark;
|
|
17337
|
-
var h = requireErrors().codes, p = h.ERR_INVALID_ARG_TYPE, g = h.ERR_METHOD_NOT_IMPLEMENTED, m = h.ERR_MULTIPLE_CALLBACK, _ = h.ERR_STREAM_CANNOT_PIPE, E = h.ERR_STREAM_DESTROYED,
|
|
17337
|
+
var h = requireErrors().codes, p = h.ERR_INVALID_ARG_TYPE, g = h.ERR_METHOD_NOT_IMPLEMENTED, m = h.ERR_MULTIPLE_CALLBACK, _ = h.ERR_STREAM_CANNOT_PIPE, E = h.ERR_STREAM_DESTROYED, y = h.ERR_STREAM_NULL_VALUES, v = h.ERR_STREAM_WRITE_AFTER_END, S = h.ERR_UNKNOWN_ENCODING;
|
|
17338
17338
|
var A = c.errorOrDestroy;
|
|
17339
17339
|
requireInherits()(I, n);
|
|
17340
17340
|
function b() {}
|
|
@@ -17425,14 +17425,14 @@ function require_stream_writable() {
|
|
|
17425
17425
|
A(this, new _);
|
|
17426
17426
|
};
|
|
17427
17427
|
function T(e, t) {
|
|
17428
|
-
var r = new
|
|
17428
|
+
var r = new v;
|
|
17429
17429
|
A(e, r);
|
|
17430
17430
|
process.nextTick(t, r);
|
|
17431
17431
|
}
|
|
17432
17432
|
function R(e, t, r, n) {
|
|
17433
17433
|
var s;
|
|
17434
17434
|
if (r === null) {
|
|
17435
|
-
s = new
|
|
17435
|
+
s = new y;
|
|
17436
17436
|
} else if (typeof r !== "string" && !t.objectMode) {
|
|
17437
17437
|
s = new p("chunk", [ "string", "Buffer" ], r);
|
|
17438
17438
|
}
|
|
@@ -18130,13 +18130,13 @@ function requireEndOfStream() {
|
|
|
18130
18130
|
return l.call(o, r);
|
|
18131
18131
|
}
|
|
18132
18132
|
};
|
|
18133
|
-
var
|
|
18133
|
+
var y = function e() {
|
|
18134
18134
|
o.req.on("finish", p);
|
|
18135
18135
|
};
|
|
18136
18136
|
if (n(o)) {
|
|
18137
18137
|
o.on("complete", p);
|
|
18138
18138
|
o.on("abort", E);
|
|
18139
|
-
if (o.req)
|
|
18139
|
+
if (o.req) y(); else o.on("request", y);
|
|
18140
18140
|
} else if (u && !o._writableState) {
|
|
18141
18141
|
o.on("end", d);
|
|
18142
18142
|
o.on("close", d);
|
|
@@ -18148,7 +18148,7 @@ function requireEndOfStream() {
|
|
|
18148
18148
|
return function() {
|
|
18149
18149
|
o.removeListener("complete", p);
|
|
18150
18150
|
o.removeListener("abort", E);
|
|
18151
|
-
o.removeListener("request",
|
|
18151
|
+
o.removeListener("request", y);
|
|
18152
18152
|
if (o.req) o.req.removeListener("finish", p);
|
|
18153
18153
|
o.removeListener("end", d);
|
|
18154
18154
|
o.removeListener("close", d);
|
|
@@ -18239,7 +18239,7 @@ function requireAsync_iterator() {
|
|
|
18239
18239
|
};
|
|
18240
18240
|
}
|
|
18241
18241
|
var E = Object.getPrototypeOf(function() {});
|
|
18242
|
-
var
|
|
18242
|
+
var y = Object.setPrototypeOf((e = {
|
|
18243
18243
|
get stream() {
|
|
18244
18244
|
return this[h];
|
|
18245
18245
|
},
|
|
@@ -18291,9 +18291,9 @@ function requireAsync_iterator() {
|
|
|
18291
18291
|
});
|
|
18292
18292
|
});
|
|
18293
18293
|
}), e), E);
|
|
18294
|
-
var
|
|
18294
|
+
var v = function e(r) {
|
|
18295
18295
|
var n;
|
|
18296
|
-
var g = Object.create(
|
|
18296
|
+
var g = Object.create(y, (n = {}, t(n, h, {
|
|
18297
18297
|
value: r,
|
|
18298
18298
|
writable: true
|
|
18299
18299
|
}), t(n, o, {
|
|
@@ -18348,7 +18348,7 @@ function requireAsync_iterator() {
|
|
|
18348
18348
|
r.on("readable", m.bind(null, g));
|
|
18349
18349
|
return g;
|
|
18350
18350
|
};
|
|
18351
|
-
async_iterator =
|
|
18351
|
+
async_iterator = v;
|
|
18352
18352
|
return async_iterator;
|
|
18353
18353
|
}
|
|
18354
18354
|
|
|
@@ -18512,8 +18512,8 @@ function require_stream_readable() {
|
|
|
18512
18512
|
var u = requireBuffer_list();
|
|
18513
18513
|
var d = requireDestroy();
|
|
18514
18514
|
var h = requireState(), p = h.getHighWaterMark;
|
|
18515
|
-
var g = requireErrors().codes, m = g.ERR_INVALID_ARG_TYPE, _ = g.ERR_STREAM_PUSH_AFTER_EOF, E = g.ERR_METHOD_NOT_IMPLEMENTED,
|
|
18516
|
-
var
|
|
18515
|
+
var g = requireErrors().codes, m = g.ERR_INVALID_ARG_TYPE, _ = g.ERR_STREAM_PUSH_AFTER_EOF, E = g.ERR_METHOD_NOT_IMPLEMENTED, y = g.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;
|
|
18516
|
+
var v;
|
|
18517
18517
|
var S;
|
|
18518
18518
|
var A;
|
|
18519
18519
|
requireInherits()(T, r);
|
|
@@ -18553,8 +18553,8 @@ function require_stream_readable() {
|
|
|
18553
18553
|
this.decoder = null;
|
|
18554
18554
|
this.encoding = null;
|
|
18555
18555
|
if (t.encoding) {
|
|
18556
|
-
if (!
|
|
18557
|
-
this.decoder = new
|
|
18556
|
+
if (!v) v = requireString_decoder().StringDecoder;
|
|
18557
|
+
this.decoder = new v(t.encoding);
|
|
18558
18558
|
this.encoding = t.encoding;
|
|
18559
18559
|
}
|
|
18560
18560
|
}
|
|
@@ -18626,7 +18626,7 @@ function require_stream_readable() {
|
|
|
18626
18626
|
t = o(t);
|
|
18627
18627
|
}
|
|
18628
18628
|
if (s) {
|
|
18629
|
-
if (l.endEmitted) b(e, new
|
|
18629
|
+
if (l.endEmitted) b(e, new y); else k(e, l, t, true);
|
|
18630
18630
|
} else if (l.ended) {
|
|
18631
18631
|
b(e, new _);
|
|
18632
18632
|
} else if (l.destroyed) {
|
|
@@ -18669,8 +18669,8 @@ function require_stream_readable() {
|
|
|
18669
18669
|
return this._readableState.flowing === false;
|
|
18670
18670
|
};
|
|
18671
18671
|
T.prototype.setEncoding = function(e) {
|
|
18672
|
-
if (!
|
|
18673
|
-
var t = new
|
|
18672
|
+
if (!v) v = requireString_decoder().StringDecoder;
|
|
18673
|
+
var t = new v(e);
|
|
18674
18674
|
this._readableState.decoder = t;
|
|
18675
18675
|
this._readableState.encoding = this._readableState.decoder.encoding;
|
|
18676
18676
|
var r = this._readableState.buffer.head;
|
|
@@ -18841,7 +18841,7 @@ function require_stream_readable() {
|
|
|
18841
18841
|
s.pipesCount += 1;
|
|
18842
18842
|
c("pipe count=%d opts=%j", s.pipesCount, r);
|
|
18843
18843
|
var o = (!r || r.end !== false) && e !== process.stdout && e !== process.stderr;
|
|
18844
|
-
var a = o ? u :
|
|
18844
|
+
var a = o ? u : y;
|
|
18845
18845
|
if (s.endEmitted) process.nextTick(a); else n.once("end", a);
|
|
18846
18846
|
e.on("unpipe", l);
|
|
18847
18847
|
function l(e, t) {
|
|
@@ -18868,7 +18868,7 @@ function require_stream_readable() {
|
|
|
18868
18868
|
e.removeListener("error", m);
|
|
18869
18869
|
e.removeListener("unpipe", l);
|
|
18870
18870
|
n.removeListener("end", u);
|
|
18871
|
-
n.removeListener("end",
|
|
18871
|
+
n.removeListener("end", y);
|
|
18872
18872
|
n.removeListener("data", g);
|
|
18873
18873
|
h = true;
|
|
18874
18874
|
if (s.awaitDrain && (!e._writableState || e._writableState.needDrain)) d();
|
|
@@ -18888,23 +18888,23 @@ function require_stream_readable() {
|
|
|
18888
18888
|
}
|
|
18889
18889
|
function m(r) {
|
|
18890
18890
|
c("onerror", r);
|
|
18891
|
-
|
|
18891
|
+
y();
|
|
18892
18892
|
e.removeListener("error", m);
|
|
18893
18893
|
if (t(e, "error") === 0) b(e, r);
|
|
18894
18894
|
}
|
|
18895
18895
|
w(e, "error", m);
|
|
18896
18896
|
function _() {
|
|
18897
18897
|
e.removeListener("finish", E);
|
|
18898
|
-
|
|
18898
|
+
y();
|
|
18899
18899
|
}
|
|
18900
18900
|
e.once("close", _);
|
|
18901
18901
|
function E() {
|
|
18902
18902
|
c("onfinish");
|
|
18903
18903
|
e.removeListener("close", _);
|
|
18904
|
-
|
|
18904
|
+
y();
|
|
18905
18905
|
}
|
|
18906
18906
|
e.once("finish", E);
|
|
18907
|
-
function
|
|
18907
|
+
function y() {
|
|
18908
18908
|
c("unpipe");
|
|
18909
18909
|
n.unpipe(e);
|
|
18910
18910
|
}
|
|
@@ -19459,13 +19459,13 @@ HttpDuplex$1.prototype.destroySoon = function() {
|
|
|
19459
19459
|
this._output.socket.destroy();
|
|
19460
19460
|
};
|
|
19461
19461
|
|
|
19462
|
-
var fs$
|
|
19462
|
+
var fs$7 = require$$0$4;
|
|
19463
19463
|
|
|
19464
19464
|
var splitCa = function(e, t, r) {
|
|
19465
19465
|
t = typeof t !== "undefined" ? t : "\n";
|
|
19466
19466
|
r = typeof r !== "undefined" ? r : "utf8";
|
|
19467
19467
|
var n = [];
|
|
19468
|
-
var s = fs$
|
|
19468
|
+
var s = fs$7.readFileSync(e, r);
|
|
19469
19469
|
if (s.indexOf("-END CERTIFICATE-") < 0 || s.indexOf("-BEGIN CERTIFICATE-") < 0) {
|
|
19470
19470
|
throw Error("File does not contain 'BEGIN CERTIFICATE' or 'END CERTIFICATE'");
|
|
19471
19471
|
}
|
|
@@ -19486,7 +19486,7 @@ var splitCa = function(e, t, r) {
|
|
|
19486
19486
|
return n;
|
|
19487
19487
|
};
|
|
19488
19488
|
|
|
19489
|
-
var querystring = require$$0$8, http$1 = httpExports, fs$
|
|
19489
|
+
var querystring = require$$0$8, http$1 = httpExports, fs$6 = require$$0$4, path$6 = require$$0__default, url = require$$4__default, ssh = ssh$1, HttpDuplex = http_duplex, debug = srcExports$1("modem"), utils = utils$3, util$p = require$$1__default, splitca = splitCa, os$2 = require$$1$2, isWin = os$2.type() === "Windows_NT", stream = require$$0$6;
|
|
19490
19490
|
|
|
19491
19491
|
var defaultOpts = function() {
|
|
19492
19492
|
var e;
|
|
@@ -19527,8 +19527,8 @@ var defaultOpts = function() {
|
|
|
19527
19527
|
t.host = e.hostname;
|
|
19528
19528
|
if (process.env.DOCKER_CERT_PATH) {
|
|
19529
19529
|
t.ca = splitca(path$6.join(process.env.DOCKER_CERT_PATH, "ca.pem"));
|
|
19530
|
-
t.cert = fs$
|
|
19531
|
-
t.key = fs$
|
|
19530
|
+
t.cert = fs$6.readFileSync(path$6.join(process.env.DOCKER_CERT_PATH, "cert.pem"));
|
|
19531
|
+
t.key = fs$6.readFileSync(path$6.join(process.env.DOCKER_CERT_PATH, "key.pem"));
|
|
19532
19532
|
}
|
|
19533
19533
|
if (process.env.DOCKER_CLIENT_TIMEOUT) {
|
|
19534
19534
|
t.timeout = parseInt(process.env.DOCKER_CLIENT_TIMEOUT, 10);
|
|
@@ -19540,7 +19540,7 @@ var defaultOpts = function() {
|
|
|
19540
19540
|
var findDefaultUnixSocket = function() {
|
|
19541
19541
|
return new Promise(function(e) {
|
|
19542
19542
|
var t = path$6.join(os$2.homedir(), ".docker", "run", "docker.sock");
|
|
19543
|
-
fs$
|
|
19543
|
+
fs$6.access(t, function(r) {
|
|
19544
19544
|
if (r) e("/var/run/docker.sock"); else e(t);
|
|
19545
19545
|
});
|
|
19546
19546
|
});
|
|
@@ -19634,7 +19634,7 @@ Modem$1.prototype.dial = function(e, t) {
|
|
|
19634
19634
|
}
|
|
19635
19635
|
if (e.file) {
|
|
19636
19636
|
if (typeof e.file === "string") {
|
|
19637
|
-
s = fs$
|
|
19637
|
+
s = fs$6.createReadStream(path$6.resolve(e.file));
|
|
19638
19638
|
} else {
|
|
19639
19639
|
s = e.file;
|
|
19640
19640
|
}
|
|
@@ -20141,19 +20141,19 @@ class IgnoreBase {
|
|
|
20141
20141
|
|
|
20142
20142
|
var tarFs = {};
|
|
20143
20143
|
|
|
20144
|
-
const fs$
|
|
20144
|
+
const fs$5 = require$$0$4;
|
|
20145
20145
|
|
|
20146
20146
|
const path$4 = require$$0__default;
|
|
20147
20147
|
|
|
20148
|
-
const LCHOWN = fs$
|
|
20148
|
+
const LCHOWN = fs$5.lchown ? "lchown" : "chown";
|
|
20149
20149
|
|
|
20150
|
-
const LCHOWNSYNC = fs$
|
|
20150
|
+
const LCHOWNSYNC = fs$5.lchownSync ? "lchownSync" : "chownSync";
|
|
20151
20151
|
|
|
20152
|
-
const needEISDIRHandled = fs$
|
|
20152
|
+
const needEISDIRHandled = fs$5.lchown && !process.version.match(/v1[1-9]+\./) && !process.version.match(/v10\.[6-9]/);
|
|
20153
20153
|
|
|
20154
20154
|
const lchownSync = (e, t, r) => {
|
|
20155
20155
|
try {
|
|
20156
|
-
return fs$
|
|
20156
|
+
return fs$5[LCHOWNSYNC](e, t, r);
|
|
20157
20157
|
} catch (e) {
|
|
20158
20158
|
if (e.code !== "ENOENT") throw e;
|
|
20159
20159
|
}
|
|
@@ -20161,14 +20161,14 @@ const lchownSync = (e, t, r) => {
|
|
|
20161
20161
|
|
|
20162
20162
|
const chownSync = (e, t, r) => {
|
|
20163
20163
|
try {
|
|
20164
|
-
return fs$
|
|
20164
|
+
return fs$5.chownSync(e, t, r);
|
|
20165
20165
|
} catch (e) {
|
|
20166
20166
|
if (e.code !== "ENOENT") throw e;
|
|
20167
20167
|
}
|
|
20168
20168
|
};
|
|
20169
20169
|
|
|
20170
20170
|
const handleEISDIR = needEISDIRHandled ? (e, t, r, n) => s => {
|
|
20171
|
-
if (!s || s.code !== "EISDIR") n(s); else fs$
|
|
20171
|
+
if (!s || s.code !== "EISDIR") n(s); else fs$5.chown(e, t, r, n);
|
|
20172
20172
|
} : (e, t, r, n) => n;
|
|
20173
20173
|
|
|
20174
20174
|
const handleEISDirSync = needEISDIRHandled ? (e, t, r) => {
|
|
@@ -20182,20 +20182,20 @@ const handleEISDirSync = needEISDIRHandled ? (e, t, r) => {
|
|
|
20182
20182
|
|
|
20183
20183
|
const nodeVersion = process.version;
|
|
20184
20184
|
|
|
20185
|
-
let readdir = (e, t, r) => fs$
|
|
20185
|
+
let readdir = (e, t, r) => fs$5.readdir(e, t, r);
|
|
20186
20186
|
|
|
20187
|
-
let readdirSync = (e, t) => fs$
|
|
20187
|
+
let readdirSync = (e, t) => fs$5.readdirSync(e, t);
|
|
20188
20188
|
|
|
20189
|
-
if (/^v4\./.test(nodeVersion)) readdir = (e, t, r) => fs$
|
|
20189
|
+
if (/^v4\./.test(nodeVersion)) readdir = (e, t, r) => fs$5.readdir(e, r);
|
|
20190
20190
|
|
|
20191
20191
|
const chown = (e, t, r, n) => {
|
|
20192
|
-
fs$
|
|
20192
|
+
fs$5[LCHOWN](e, t, r, handleEISDIR(e, t, r, e => {
|
|
20193
20193
|
n(e && e.code !== "ENOENT" ? e : null);
|
|
20194
20194
|
}));
|
|
20195
20195
|
};
|
|
20196
20196
|
|
|
20197
20197
|
const chownrKid = (e, t, r, n, s) => {
|
|
20198
|
-
if (typeof t === "string") return fs$
|
|
20198
|
+
if (typeof t === "string") return fs$5.lstat(path$4.resolve(e, t), (o, a) => {
|
|
20199
20199
|
if (o) return s(o.code !== "ENOENT" ? o : null);
|
|
20200
20200
|
a.name = t;
|
|
20201
20201
|
chownrKid(e, a, r, n, s);
|
|
@@ -20234,7 +20234,7 @@ const chownr$1 = (e, t, r, n) => {
|
|
|
20234
20234
|
const chownrKidSync = (e, t, r, n) => {
|
|
20235
20235
|
if (typeof t === "string") {
|
|
20236
20236
|
try {
|
|
20237
|
-
const r = fs$
|
|
20237
|
+
const r = fs$5.lstatSync(path$4.resolve(e, t));
|
|
20238
20238
|
r.name = t;
|
|
20239
20239
|
t = r;
|
|
20240
20240
|
} catch (e) {
|
|
@@ -21428,7 +21428,7 @@ tarStream.pack = pack;
|
|
|
21428
21428
|
|
|
21429
21429
|
var path$3 = require$$0__default;
|
|
21430
21430
|
|
|
21431
|
-
var fs$
|
|
21431
|
+
var fs$4 = require$$0$4;
|
|
21432
21432
|
|
|
21433
21433
|
var _0777 = parseInt("0777", 8);
|
|
21434
21434
|
|
|
@@ -21444,7 +21444,7 @@ function mkdirP(e, t, r, n) {
|
|
|
21444
21444
|
};
|
|
21445
21445
|
}
|
|
21446
21446
|
var s = t.mode;
|
|
21447
|
-
var o = t.fs || fs$
|
|
21447
|
+
var o = t.fs || fs$4;
|
|
21448
21448
|
if (s === undefined) {
|
|
21449
21449
|
s = _0777 & ~process.umask();
|
|
21450
21450
|
}
|
|
@@ -21479,7 +21479,7 @@ mkdirP.sync = function e(t, r, n) {
|
|
|
21479
21479
|
};
|
|
21480
21480
|
}
|
|
21481
21481
|
var s = r.mode;
|
|
21482
|
-
var o = r.fs || fs$
|
|
21482
|
+
var o = r.fs || fs$4;
|
|
21483
21483
|
if (s === undefined) {
|
|
21484
21484
|
s = _0777 & ~process.umask();
|
|
21485
21485
|
}
|
|
@@ -21517,7 +21517,7 @@ var pump = pump_1;
|
|
|
21517
21517
|
|
|
21518
21518
|
var mkdirp = mkdirpClassic;
|
|
21519
21519
|
|
|
21520
|
-
var fs$
|
|
21520
|
+
var fs$3 = require$$0$4;
|
|
21521
21521
|
|
|
21522
21522
|
var path$2 = require$$0__default;
|
|
21523
21523
|
|
|
@@ -21570,7 +21570,7 @@ var strip = function(e, t) {
|
|
|
21570
21570
|
tarFs.pack = function(e, t) {
|
|
21571
21571
|
if (!e) e = ".";
|
|
21572
21572
|
if (!t) t = {};
|
|
21573
|
-
var r = t.fs || fs$
|
|
21573
|
+
var r = t.fs || fs$3;
|
|
21574
21574
|
var n = t.ignore || t.filter || noop$2;
|
|
21575
21575
|
var s = t.map || noop$2;
|
|
21576
21576
|
var o = t.mapStream || echo;
|
|
@@ -21630,16 +21630,16 @@ tarFs.pack = function(e, t) {
|
|
|
21630
21630
|
if (l) return h.destroy(new Error("unsupported type for " + a));
|
|
21631
21631
|
return _();
|
|
21632
21632
|
}
|
|
21633
|
-
var
|
|
21634
|
-
if (!
|
|
21635
|
-
var
|
|
21633
|
+
var y = h.entry(E, _);
|
|
21634
|
+
if (!y) return;
|
|
21635
|
+
var v = o(r.createReadStream(path$2.join(e, a), {
|
|
21636
21636
|
start: 0,
|
|
21637
21637
|
end: E.size > 0 ? E.size - 1 : E.size
|
|
21638
21638
|
}), E);
|
|
21639
|
-
|
|
21640
|
-
|
|
21639
|
+
v.on("error", function(e) {
|
|
21640
|
+
y.destroy(e);
|
|
21641
21641
|
});
|
|
21642
|
-
pump(
|
|
21642
|
+
pump(v, y);
|
|
21643
21643
|
};
|
|
21644
21644
|
var _ = function(e) {
|
|
21645
21645
|
if (e) return h.destroy(e);
|
|
@@ -21664,7 +21664,7 @@ var processUmask = function() {
|
|
|
21664
21664
|
tarFs.extract = function(e, t) {
|
|
21665
21665
|
if (!e) e = ".";
|
|
21666
21666
|
if (!t) t = {};
|
|
21667
|
-
var r = t.fs || fs$
|
|
21667
|
+
var r = t.fs || fs$3;
|
|
21668
21668
|
var n = t.ignore || t.filter || noop$2;
|
|
21669
21669
|
var s = t.map || noop$2;
|
|
21670
21670
|
var o = t.mapStream || echo;
|
|
@@ -21737,7 +21737,7 @@ tarFs.extract = function(e, t) {
|
|
|
21737
21737
|
r.symlink(l.linkname, h, p);
|
|
21738
21738
|
});
|
|
21739
21739
|
};
|
|
21740
|
-
var
|
|
21740
|
+
var y = function() {
|
|
21741
21741
|
if (win32) return d();
|
|
21742
21742
|
r.unlink(h, function() {
|
|
21743
21743
|
var n = path$2.join(e, path$2.join("/", l.linkname));
|
|
@@ -21746,14 +21746,14 @@ tarFs.extract = function(e, t) {
|
|
|
21746
21746
|
r.link(o, h, function(e) {
|
|
21747
21747
|
if (e && e.code === "EPERM" && t.hardlinkAsFilesFallback) {
|
|
21748
21748
|
u = r.createReadStream(n);
|
|
21749
|
-
return
|
|
21749
|
+
return v();
|
|
21750
21750
|
}
|
|
21751
21751
|
p(e);
|
|
21752
21752
|
});
|
|
21753
21753
|
});
|
|
21754
21754
|
});
|
|
21755
21755
|
};
|
|
21756
|
-
var
|
|
21756
|
+
var v = function() {
|
|
21757
21757
|
var e = r.createWriteStream(h);
|
|
21758
21758
|
var t = o(u, l);
|
|
21759
21759
|
e.on("error", function(e) {
|
|
@@ -21786,10 +21786,10 @@ tarFs.extract = function(e, t) {
|
|
|
21786
21786
|
if (e) return d(e);
|
|
21787
21787
|
switch (l.type) {
|
|
21788
21788
|
case "file":
|
|
21789
|
-
return
|
|
21789
|
+
return v();
|
|
21790
21790
|
|
|
21791
21791
|
case "link":
|
|
21792
|
-
return
|
|
21792
|
+
return y();
|
|
21793
21793
|
|
|
21794
21794
|
case "symlink":
|
|
21795
21795
|
return m();
|
|
@@ -24331,23 +24331,23 @@ const require$$12 = {
|
|
|
24331
24331
|
};
|
|
24332
24332
|
e.log = _;
|
|
24333
24333
|
const E = (s = (n = process.env.GRPC_NODE_TRACE) !== null && n !== void 0 ? n : process.env.GRPC_TRACE) !== null && s !== void 0 ? s : "";
|
|
24334
|
-
const v = new Set;
|
|
24335
24334
|
const y = new Set;
|
|
24335
|
+
const v = new Set;
|
|
24336
24336
|
for (const e of E.split(",")) {
|
|
24337
24337
|
if (e.startsWith("-")) {
|
|
24338
|
-
|
|
24338
|
+
v.add(e.substring(1));
|
|
24339
24339
|
} else {
|
|
24340
|
-
|
|
24340
|
+
y.add(e);
|
|
24341
24341
|
}
|
|
24342
24342
|
}
|
|
24343
|
-
const S =
|
|
24343
|
+
const S = y.has("all");
|
|
24344
24344
|
function A(t, r, n) {
|
|
24345
24345
|
if (b(r)) {
|
|
24346
24346
|
(0, e.log)(t, (new Date).toISOString() + " | v" + l + " " + a.pid + " | " + r + " | " + n);
|
|
24347
24347
|
}
|
|
24348
24348
|
}
|
|
24349
24349
|
function b(e) {
|
|
24350
|
-
return !
|
|
24350
|
+
return !v.has(e) && (S || y.has(e));
|
|
24351
24351
|
}
|
|
24352
24352
|
})(logging$8);
|
|
24353
24353
|
|
|
@@ -24705,7 +24705,7 @@ tlsHelpers.CIPHER_SUITES = void 0;
|
|
|
24705
24705
|
|
|
24706
24706
|
tlsHelpers.getDefaultRootsData = getDefaultRootsData;
|
|
24707
24707
|
|
|
24708
|
-
const fs$
|
|
24708
|
+
const fs$2 = require$$0$4;
|
|
24709
24709
|
|
|
24710
24710
|
tlsHelpers.CIPHER_SUITES = process.env.GRPC_SSL_CIPHER_SUITES;
|
|
24711
24711
|
|
|
@@ -24716,7 +24716,7 @@ let defaultRootsData = null;
|
|
|
24716
24716
|
function getDefaultRootsData() {
|
|
24717
24717
|
if (DEFAULT_ROOTS_FILE_PATH) {
|
|
24718
24718
|
if (defaultRootsData === null) {
|
|
24719
|
-
defaultRootsData = fs$
|
|
24719
|
+
defaultRootsData = fs$2.readFileSync(DEFAULT_ROOTS_FILE_PATH);
|
|
24720
24720
|
}
|
|
24721
24721
|
return defaultRootsData;
|
|
24722
24722
|
}
|
|
@@ -28294,8 +28294,8 @@ function requireClient() {
|
|
|
28294
28294
|
}
|
|
28295
28295
|
makeUnaryRequest(t, r, s, d, p, g, m) {
|
|
28296
28296
|
var _, E;
|
|
28297
|
-
const
|
|
28298
|
-
const
|
|
28297
|
+
const y = this.checkOptionalUnaryResponseArguments(p, g, m);
|
|
28298
|
+
const v = {
|
|
28299
28299
|
path: t,
|
|
28300
28300
|
requestStream: false,
|
|
28301
28301
|
responseStream: false,
|
|
@@ -28304,12 +28304,12 @@ function requireClient() {
|
|
|
28304
28304
|
};
|
|
28305
28305
|
let S = {
|
|
28306
28306
|
argument: d,
|
|
28307
|
-
metadata:
|
|
28307
|
+
metadata: y.metadata,
|
|
28308
28308
|
call: new e.ClientUnaryCallImpl,
|
|
28309
28309
|
channel: this[a],
|
|
28310
|
-
methodDefinition:
|
|
28311
|
-
callOptions:
|
|
28312
|
-
callback:
|
|
28310
|
+
methodDefinition: v,
|
|
28311
|
+
callOptions: y.options,
|
|
28312
|
+
callback: y.callback
|
|
28313
28313
|
};
|
|
28314
28314
|
if (this[u]) {
|
|
28315
28315
|
S = this[u](S);
|
|
@@ -28367,37 +28367,37 @@ function requireClient() {
|
|
|
28367
28367
|
makeClientStreamRequest(t, r, s, d, p, g) {
|
|
28368
28368
|
var m, _;
|
|
28369
28369
|
const E = this.checkOptionalUnaryResponseArguments(d, p, g);
|
|
28370
|
-
const
|
|
28370
|
+
const y = {
|
|
28371
28371
|
path: t,
|
|
28372
28372
|
requestStream: true,
|
|
28373
28373
|
responseStream: false,
|
|
28374
28374
|
requestSerialize: r,
|
|
28375
28375
|
responseDeserialize: s
|
|
28376
28376
|
};
|
|
28377
|
-
let
|
|
28377
|
+
let v = {
|
|
28378
28378
|
metadata: E.metadata,
|
|
28379
28379
|
call: new e.ClientWritableStreamImpl(r),
|
|
28380
28380
|
channel: this[a],
|
|
28381
|
-
methodDefinition:
|
|
28381
|
+
methodDefinition: y,
|
|
28382
28382
|
callOptions: E.options,
|
|
28383
28383
|
callback: E.callback
|
|
28384
28384
|
};
|
|
28385
28385
|
if (this[u]) {
|
|
28386
|
-
|
|
28386
|
+
v = this[u](v);
|
|
28387
28387
|
}
|
|
28388
|
-
const S =
|
|
28388
|
+
const S = v.call;
|
|
28389
28389
|
const A = {
|
|
28390
28390
|
clientInterceptors: this[l],
|
|
28391
28391
|
clientInterceptorProviders: this[c],
|
|
28392
|
-
callInterceptors: (m =
|
|
28393
|
-
callInterceptorProviders: (_ =
|
|
28392
|
+
callInterceptors: (m = v.callOptions.interceptors) !== null && m !== void 0 ? m : [],
|
|
28393
|
+
callInterceptorProviders: (_ = v.callOptions.interceptor_providers) !== null && _ !== void 0 ? _ : []
|
|
28394
28394
|
};
|
|
28395
|
-
const b = (0, o.getInterceptingCall)(A,
|
|
28395
|
+
const b = (0, o.getInterceptingCall)(A, v.methodDefinition, v.callOptions, v.channel);
|
|
28396
28396
|
S.call = b;
|
|
28397
28397
|
let C = null;
|
|
28398
28398
|
let w = false;
|
|
28399
28399
|
let I = new Error;
|
|
28400
|
-
b.start(
|
|
28400
|
+
b.start(v.metadata, {
|
|
28401
28401
|
onReceiveMetadata: e => {
|
|
28402
28402
|
S.emit("metadata", e);
|
|
28403
28403
|
},
|
|
@@ -28416,17 +28416,17 @@ function requireClient() {
|
|
|
28416
28416
|
if (t.code === n.Status.OK) {
|
|
28417
28417
|
if (C === null) {
|
|
28418
28418
|
const r = h(I);
|
|
28419
|
-
|
|
28419
|
+
v.callback((0, e.callErrorFromStatus)({
|
|
28420
28420
|
code: n.Status.UNIMPLEMENTED,
|
|
28421
28421
|
details: "No message received",
|
|
28422
28422
|
metadata: t.metadata
|
|
28423
28423
|
}, r));
|
|
28424
28424
|
} else {
|
|
28425
|
-
|
|
28425
|
+
v.callback(null, C);
|
|
28426
28426
|
}
|
|
28427
28427
|
} else {
|
|
28428
28428
|
const r = h(I);
|
|
28429
|
-
|
|
28429
|
+
v.callback((0, e.callErrorFromStatus)(t, r));
|
|
28430
28430
|
}
|
|
28431
28431
|
I = null;
|
|
28432
28432
|
S.emit("status", t);
|
|
@@ -28460,36 +28460,36 @@ function requireClient() {
|
|
|
28460
28460
|
makeServerStreamRequest(t, r, s, d, p, g) {
|
|
28461
28461
|
var m, _;
|
|
28462
28462
|
const E = this.checkMetadataAndOptions(p, g);
|
|
28463
|
-
const
|
|
28463
|
+
const y = {
|
|
28464
28464
|
path: t,
|
|
28465
28465
|
requestStream: false,
|
|
28466
28466
|
responseStream: true,
|
|
28467
28467
|
requestSerialize: r,
|
|
28468
28468
|
responseDeserialize: s
|
|
28469
28469
|
};
|
|
28470
|
-
let
|
|
28470
|
+
let v = {
|
|
28471
28471
|
argument: d,
|
|
28472
28472
|
metadata: E.metadata,
|
|
28473
28473
|
call: new e.ClientReadableStreamImpl(s),
|
|
28474
28474
|
channel: this[a],
|
|
28475
|
-
methodDefinition:
|
|
28475
|
+
methodDefinition: y,
|
|
28476
28476
|
callOptions: E.options
|
|
28477
28477
|
};
|
|
28478
28478
|
if (this[u]) {
|
|
28479
|
-
|
|
28479
|
+
v = this[u](v);
|
|
28480
28480
|
}
|
|
28481
|
-
const S =
|
|
28481
|
+
const S = v.call;
|
|
28482
28482
|
const A = {
|
|
28483
28483
|
clientInterceptors: this[l],
|
|
28484
28484
|
clientInterceptorProviders: this[c],
|
|
28485
|
-
callInterceptors: (m =
|
|
28486
|
-
callInterceptorProviders: (_ =
|
|
28485
|
+
callInterceptors: (m = v.callOptions.interceptors) !== null && m !== void 0 ? m : [],
|
|
28486
|
+
callInterceptorProviders: (_ = v.callOptions.interceptor_providers) !== null && _ !== void 0 ? _ : []
|
|
28487
28487
|
};
|
|
28488
|
-
const b = (0, o.getInterceptingCall)(A,
|
|
28488
|
+
const b = (0, o.getInterceptingCall)(A, v.methodDefinition, v.callOptions, v.channel);
|
|
28489
28489
|
S.call = b;
|
|
28490
28490
|
let C = false;
|
|
28491
28491
|
let w = new Error;
|
|
28492
|
-
b.start(
|
|
28492
|
+
b.start(v.metadata, {
|
|
28493
28493
|
onReceiveMetadata(e) {
|
|
28494
28494
|
S.emit("metadata", e);
|
|
28495
28495
|
},
|
|
@@ -28524,7 +28524,7 @@ function requireClient() {
|
|
|
28524
28524
|
requestSerialize: r,
|
|
28525
28525
|
responseDeserialize: s
|
|
28526
28526
|
};
|
|
28527
|
-
let
|
|
28527
|
+
let y = {
|
|
28528
28528
|
metadata: _.metadata,
|
|
28529
28529
|
call: new e.ClientDuplexStreamImpl(r, s),
|
|
28530
28530
|
channel: this[a],
|
|
@@ -28532,41 +28532,41 @@ function requireClient() {
|
|
|
28532
28532
|
callOptions: _.options
|
|
28533
28533
|
};
|
|
28534
28534
|
if (this[u]) {
|
|
28535
|
-
|
|
28535
|
+
y = this[u](y);
|
|
28536
28536
|
}
|
|
28537
|
-
const
|
|
28537
|
+
const v = y.call;
|
|
28538
28538
|
const S = {
|
|
28539
28539
|
clientInterceptors: this[l],
|
|
28540
28540
|
clientInterceptorProviders: this[c],
|
|
28541
|
-
callInterceptors: (g =
|
|
28542
|
-
callInterceptorProviders: (m =
|
|
28541
|
+
callInterceptors: (g = y.callOptions.interceptors) !== null && g !== void 0 ? g : [],
|
|
28542
|
+
callInterceptorProviders: (m = y.callOptions.interceptor_providers) !== null && m !== void 0 ? m : []
|
|
28543
28543
|
};
|
|
28544
|
-
const A = (0, o.getInterceptingCall)(S,
|
|
28545
|
-
|
|
28544
|
+
const A = (0, o.getInterceptingCall)(S, y.methodDefinition, y.callOptions, y.channel);
|
|
28545
|
+
v.call = A;
|
|
28546
28546
|
let b = false;
|
|
28547
28547
|
let C = new Error;
|
|
28548
|
-
A.start(
|
|
28548
|
+
A.start(y.metadata, {
|
|
28549
28549
|
onReceiveMetadata(e) {
|
|
28550
|
-
|
|
28550
|
+
v.emit("metadata", e);
|
|
28551
28551
|
},
|
|
28552
28552
|
onReceiveMessage(e) {
|
|
28553
|
-
|
|
28553
|
+
v.push(e);
|
|
28554
28554
|
},
|
|
28555
28555
|
onReceiveStatus(t) {
|
|
28556
28556
|
if (b) {
|
|
28557
28557
|
return;
|
|
28558
28558
|
}
|
|
28559
28559
|
b = true;
|
|
28560
|
-
|
|
28560
|
+
v.push(null);
|
|
28561
28561
|
if (t.code !== n.Status.OK) {
|
|
28562
28562
|
const r = h(C);
|
|
28563
|
-
|
|
28563
|
+
v.emit("error", (0, e.callErrorFromStatus)(t, r));
|
|
28564
28564
|
}
|
|
28565
28565
|
C = null;
|
|
28566
|
-
|
|
28566
|
+
v.emit("status", t);
|
|
28567
28567
|
}
|
|
28568
28568
|
});
|
|
28569
|
-
return
|
|
28569
|
+
return v;
|
|
28570
28570
|
}
|
|
28571
28571
|
}
|
|
28572
28572
|
client.Client = Client;
|
|
@@ -29048,9 +29048,9 @@ var indexMinimal = {};
|
|
|
29048
29048
|
|
|
29049
29049
|
var minimal = {};
|
|
29050
29050
|
|
|
29051
|
-
var aspromise = asPromise;
|
|
29051
|
+
var aspromise = asPromise$1;
|
|
29052
29052
|
|
|
29053
|
-
function asPromise(e, t) {
|
|
29053
|
+
function asPromise$1(e, t) {
|
|
29054
29054
|
var r = new Array(arguments.length - 1), n = 0, s = 2, o = true;
|
|
29055
29055
|
while (s < arguments.length) r[n++] = arguments[s++];
|
|
29056
29056
|
return new Promise(function s(a, l) {
|
|
@@ -29371,9 +29371,9 @@ function readUintBE(e, t) {
|
|
|
29371
29371
|
return (e[t] << 24 | e[t + 1] << 16 | e[t + 2] << 8 | e[t + 3]) >>> 0;
|
|
29372
29372
|
}
|
|
29373
29373
|
|
|
29374
|
-
var inquire_1 = inquire;
|
|
29374
|
+
var inquire_1 = inquire$1;
|
|
29375
29375
|
|
|
29376
|
-
function inquire(moduleName) {
|
|
29376
|
+
function inquire$1(moduleName) {
|
|
29377
29377
|
try {
|
|
29378
29378
|
var mod = eval("quire".replace(/^/, "re"))(moduleName);
|
|
29379
29379
|
if (mod && (mod.length || Object.keys(mod).length)) return mod;
|
|
@@ -30296,149 +30296,130 @@ var util$6 = {
|
|
|
30296
30296
|
exports: {}
|
|
30297
30297
|
};
|
|
30298
30298
|
|
|
30299
|
-
var codegen_1;
|
|
30299
|
+
var codegen_1 = codegen;
|
|
30300
30300
|
|
|
30301
|
-
|
|
30302
|
-
|
|
30303
|
-
|
|
30304
|
-
|
|
30305
|
-
|
|
30306
|
-
|
|
30307
|
-
function e
|
|
30308
|
-
if (typeof
|
|
30309
|
-
|
|
30310
|
-
|
|
30311
|
-
|
|
30312
|
-
|
|
30313
|
-
|
|
30314
|
-
|
|
30315
|
-
|
|
30316
|
-
|
|
30317
|
-
r = "return " + r;
|
|
30318
|
-
if (t) {
|
|
30319
|
-
var a = Object.keys(t), l = new Array(a.length + 1), c = new Array(a.length), u = 0;
|
|
30320
|
-
while (u < a.length) {
|
|
30321
|
-
l[u] = a[u];
|
|
30322
|
-
c[u] = t[a[u++]];
|
|
30323
|
-
}
|
|
30324
|
-
l[u] = r;
|
|
30325
|
-
return Function.apply(null, l).apply(null, c);
|
|
30301
|
+
function codegen(e, t) {
|
|
30302
|
+
if (typeof e === "string") {
|
|
30303
|
+
t = e;
|
|
30304
|
+
e = undefined;
|
|
30305
|
+
}
|
|
30306
|
+
var r = [];
|
|
30307
|
+
function n(e) {
|
|
30308
|
+
if (typeof e !== "string") {
|
|
30309
|
+
var t = s();
|
|
30310
|
+
if (codegen.verbose) console.log("codegen: " + t);
|
|
30311
|
+
t = "return " + t;
|
|
30312
|
+
if (e) {
|
|
30313
|
+
var o = Object.keys(e), a = new Array(o.length + 1), l = new Array(o.length), c = 0;
|
|
30314
|
+
while (c < o.length) {
|
|
30315
|
+
a[c] = o[c];
|
|
30316
|
+
l[c] = e[o[c++]];
|
|
30326
30317
|
}
|
|
30327
|
-
|
|
30318
|
+
a[c] = t;
|
|
30319
|
+
return Function.apply(null, a).apply(null, l);
|
|
30328
30320
|
}
|
|
30329
|
-
|
|
30330
|
-
|
|
30331
|
-
|
|
30332
|
-
|
|
30333
|
-
|
|
30334
|
-
|
|
30335
|
-
|
|
30336
|
-
|
|
30337
|
-
|
|
30321
|
+
return Function(t)();
|
|
30322
|
+
}
|
|
30323
|
+
var u = new Array(arguments.length - 1), d = 0;
|
|
30324
|
+
while (d < u.length) u[d] = arguments[++d];
|
|
30325
|
+
d = 0;
|
|
30326
|
+
e = e.replace(/%([%dfijs])/g, function e(t, r) {
|
|
30327
|
+
var n = u[d++];
|
|
30328
|
+
switch (r) {
|
|
30329
|
+
case "d":
|
|
30330
|
+
case "f":
|
|
30331
|
+
return String(Number(n));
|
|
30338
30332
|
|
|
30339
|
-
|
|
30340
|
-
|
|
30333
|
+
case "i":
|
|
30334
|
+
return String(Math.floor(n));
|
|
30341
30335
|
|
|
30342
|
-
|
|
30343
|
-
|
|
30336
|
+
case "j":
|
|
30337
|
+
return JSON.stringify(n);
|
|
30344
30338
|
|
|
30345
|
-
|
|
30346
|
-
|
|
30347
|
-
|
|
30348
|
-
|
|
30349
|
-
|
|
30350
|
-
|
|
30351
|
-
|
|
30352
|
-
|
|
30353
|
-
|
|
30354
|
-
|
|
30355
|
-
|
|
30356
|
-
}
|
|
30357
|
-
s.toString = o;
|
|
30358
|
-
return s;
|
|
30339
|
+
case "s":
|
|
30340
|
+
return String(n);
|
|
30341
|
+
}
|
|
30342
|
+
return "%";
|
|
30343
|
+
});
|
|
30344
|
+
if (d !== u.length) throw Error("parameter count mismatch");
|
|
30345
|
+
r.push(e);
|
|
30346
|
+
return n;
|
|
30347
|
+
}
|
|
30348
|
+
function s(n) {
|
|
30349
|
+
return "function " + (n || t || "") + "(" + (e && e.join(",") || "") + "){\n " + r.join("\n ") + "\n}";
|
|
30359
30350
|
}
|
|
30360
|
-
|
|
30361
|
-
return
|
|
30351
|
+
n.toString = s;
|
|
30352
|
+
return n;
|
|
30362
30353
|
}
|
|
30363
30354
|
|
|
30364
|
-
|
|
30355
|
+
codegen.verbose = false;
|
|
30365
30356
|
|
|
30366
|
-
var
|
|
30357
|
+
var fetch_1 = fetch$1;
|
|
30367
30358
|
|
|
30368
|
-
|
|
30369
|
-
|
|
30370
|
-
|
|
30371
|
-
|
|
30372
|
-
|
|
30373
|
-
|
|
30374
|
-
|
|
30375
|
-
|
|
30376
|
-
|
|
30377
|
-
|
|
30378
|
-
|
|
30379
|
-
|
|
30380
|
-
|
|
30381
|
-
|
|
30382
|
-
|
|
30383
|
-
|
|
30384
|
-
|
|
30385
|
-
|
|
30386
|
-
|
|
30387
|
-
s.
|
|
30388
|
-
|
|
30389
|
-
if (s.status !== 0 && s.status !== 200) return n(Error("status " + s.status));
|
|
30390
|
-
if (r.binary) {
|
|
30391
|
-
var t = s.response;
|
|
30392
|
-
if (!t) {
|
|
30393
|
-
t = [];
|
|
30394
|
-
for (var o = 0; o < s.responseText.length; ++o) t.push(s.responseText.charCodeAt(o) & 255);
|
|
30395
|
-
}
|
|
30396
|
-
return n(null, typeof Uint8Array !== "undefined" ? new Uint8Array(t) : t);
|
|
30397
|
-
}
|
|
30398
|
-
return n(null, s.responseText);
|
|
30399
|
-
};
|
|
30359
|
+
var asPromise = aspromise, inquire = inquire_1;
|
|
30360
|
+
|
|
30361
|
+
var fs$1 = inquire("fs");
|
|
30362
|
+
|
|
30363
|
+
function fetch$1(e, t, r) {
|
|
30364
|
+
if (typeof t === "function") {
|
|
30365
|
+
r = t;
|
|
30366
|
+
t = {};
|
|
30367
|
+
} else if (!t) t = {};
|
|
30368
|
+
if (!r) return asPromise(fetch$1, this, e, t);
|
|
30369
|
+
if (!t.xhr && fs$1 && fs$1.readFile) return fs$1.readFile(e, function n(s, o) {
|
|
30370
|
+
return s && typeof XMLHttpRequest !== "undefined" ? fetch$1.xhr(e, t, r) : s ? r(s) : r(null, t.binary ? o : o.toString("utf8"));
|
|
30371
|
+
});
|
|
30372
|
+
return fetch$1.xhr(e, t, r);
|
|
30373
|
+
}
|
|
30374
|
+
|
|
30375
|
+
fetch$1.xhr = function e(t, r, n) {
|
|
30376
|
+
var s = new XMLHttpRequest;
|
|
30377
|
+
s.onreadystatechange = function e() {
|
|
30378
|
+
if (s.readyState !== 4) return undefined;
|
|
30379
|
+
if (s.status !== 0 && s.status !== 200) return n(Error("status " + s.status));
|
|
30400
30380
|
if (r.binary) {
|
|
30401
|
-
|
|
30402
|
-
|
|
30381
|
+
var t = s.response;
|
|
30382
|
+
if (!t) {
|
|
30383
|
+
t = [];
|
|
30384
|
+
for (var o = 0; o < s.responseText.length; ++o) t.push(s.responseText.charCodeAt(o) & 255);
|
|
30385
|
+
}
|
|
30386
|
+
return n(null, typeof Uint8Array !== "undefined" ? new Uint8Array(t) : t);
|
|
30403
30387
|
}
|
|
30404
|
-
|
|
30405
|
-
s.send();
|
|
30388
|
+
return n(null, s.responseText);
|
|
30406
30389
|
};
|
|
30407
|
-
|
|
30408
|
-
|
|
30390
|
+
if (r.binary) {
|
|
30391
|
+
if ("overrideMimeType" in s) s.overrideMimeType("text/plain; charset=x-user-defined");
|
|
30392
|
+
s.responseType = "arraybuffer";
|
|
30393
|
+
}
|
|
30394
|
+
s.open("GET", t);
|
|
30395
|
+
s.send();
|
|
30396
|
+
};
|
|
30409
30397
|
|
|
30410
30398
|
var path$1 = {};
|
|
30411
30399
|
|
|
30412
|
-
|
|
30413
|
-
|
|
30414
|
-
function
|
|
30415
|
-
|
|
30416
|
-
|
|
30417
|
-
|
|
30418
|
-
|
|
30419
|
-
var
|
|
30420
|
-
|
|
30421
|
-
|
|
30422
|
-
|
|
30423
|
-
|
|
30424
|
-
|
|
30425
|
-
|
|
30426
|
-
|
|
30427
|
-
|
|
30428
|
-
|
|
30429
|
-
|
|
30430
|
-
|
|
30431
|
-
|
|
30432
|
-
|
|
30433
|
-
|
|
30434
|
-
|
|
30435
|
-
if (r(s)) return s;
|
|
30436
|
-
if (!o) t = n(t);
|
|
30437
|
-
return (t = t.replace(/(?:\/|^)[^/]+$/, "")).length ? n(t + "/" + s) : s;
|
|
30438
|
-
};
|
|
30439
|
-
})(path$1);
|
|
30440
|
-
return path$1;
|
|
30441
|
-
}
|
|
30400
|
+
(function(e) {
|
|
30401
|
+
var t = e;
|
|
30402
|
+
var r = t.isAbsolute = function e(t) {
|
|
30403
|
+
return /^(?:\/|\w+:)/.test(t);
|
|
30404
|
+
};
|
|
30405
|
+
var n = t.normalize = function e(t) {
|
|
30406
|
+
t = t.replace(/\\/g, "/").replace(/\/{2,}/g, "/");
|
|
30407
|
+
var n = t.split("/"), s = r(t), o = "";
|
|
30408
|
+
if (s) o = n.shift() + "/";
|
|
30409
|
+
for (var a = 0; a < n.length; ) {
|
|
30410
|
+
if (n[a] === "..") {
|
|
30411
|
+
if (a > 0 && n[a - 1] !== "..") n.splice(--a, 2); else if (s) n.splice(a, 1); else ++a;
|
|
30412
|
+
} else if (n[a] === ".") n.splice(a, 1); else ++a;
|
|
30413
|
+
}
|
|
30414
|
+
return o + n.join("/");
|
|
30415
|
+
};
|
|
30416
|
+
t.resolve = function e(t, s, o) {
|
|
30417
|
+
if (!o) s = n(s);
|
|
30418
|
+
if (r(s)) return s;
|
|
30419
|
+
if (!o) t = n(t);
|
|
30420
|
+
return (t = t.replace(/(?:\/|^)[^/]+$/, "")).length ? n(t + "/" + s) : s;
|
|
30421
|
+
};
|
|
30422
|
+
})(path$1);
|
|
30442
30423
|
|
|
30443
30424
|
var namespace;
|
|
30444
30425
|
|
|
@@ -31716,9 +31697,9 @@ function requireUtil$1() {
|
|
|
31716
31697
|
var e = util$6.exports = requireMinimal();
|
|
31717
31698
|
var t = roots;
|
|
31718
31699
|
var r, n;
|
|
31719
|
-
e.codegen =
|
|
31720
|
-
e.fetch =
|
|
31721
|
-
e.path =
|
|
31700
|
+
e.codegen = codegen_1;
|
|
31701
|
+
e.fetch = fetch_1;
|
|
31702
|
+
e.path = path$1;
|
|
31722
31703
|
e.fs = e.inquire("fs");
|
|
31723
31704
|
e.toArray = function e(t) {
|
|
31724
31705
|
if (t) {
|
|
@@ -32562,13 +32543,13 @@ function tokenize$1(e, t) {
|
|
|
32562
32543
|
function _() {
|
|
32563
32544
|
if (l.length > 0) return l.shift();
|
|
32564
32545
|
if (c) return d();
|
|
32565
|
-
var o, a, _, E,
|
|
32546
|
+
var o, a, _, E, y, v = r === 0;
|
|
32566
32547
|
do {
|
|
32567
32548
|
if (r === n) return null;
|
|
32568
32549
|
o = false;
|
|
32569
32550
|
while (whitespaceRe.test(_ = h(r))) {
|
|
32570
32551
|
if (_ === "\n") {
|
|
32571
|
-
|
|
32552
|
+
v = true;
|
|
32572
32553
|
++s;
|
|
32573
32554
|
}
|
|
32574
32555
|
if (++r === n) return null;
|
|
@@ -32579,47 +32560,47 @@ function tokenize$1(e, t) {
|
|
|
32579
32560
|
}
|
|
32580
32561
|
if (h(r) === "/") {
|
|
32581
32562
|
if (!t) {
|
|
32582
|
-
|
|
32563
|
+
y = h(E = r + 1) === "/";
|
|
32583
32564
|
while (h(++r) !== "\n") {
|
|
32584
32565
|
if (r === n) {
|
|
32585
32566
|
return null;
|
|
32586
32567
|
}
|
|
32587
32568
|
}
|
|
32588
32569
|
++r;
|
|
32589
|
-
if (
|
|
32590
|
-
p(E, r - 1,
|
|
32591
|
-
|
|
32570
|
+
if (y) {
|
|
32571
|
+
p(E, r - 1, v);
|
|
32572
|
+
v = true;
|
|
32592
32573
|
}
|
|
32593
32574
|
++s;
|
|
32594
32575
|
o = true;
|
|
32595
32576
|
} else {
|
|
32596
32577
|
E = r;
|
|
32597
|
-
|
|
32578
|
+
y = false;
|
|
32598
32579
|
if (g(r - 1)) {
|
|
32599
|
-
|
|
32580
|
+
y = true;
|
|
32600
32581
|
do {
|
|
32601
32582
|
r = m(r);
|
|
32602
32583
|
if (r === n) {
|
|
32603
32584
|
break;
|
|
32604
32585
|
}
|
|
32605
32586
|
r++;
|
|
32606
|
-
if (!
|
|
32587
|
+
if (!v) {
|
|
32607
32588
|
break;
|
|
32608
32589
|
}
|
|
32609
32590
|
} while (g(r));
|
|
32610
32591
|
} else {
|
|
32611
32592
|
r = Math.min(n, m(r) + 1);
|
|
32612
32593
|
}
|
|
32613
|
-
if (
|
|
32614
|
-
p(E, r,
|
|
32615
|
-
|
|
32594
|
+
if (y) {
|
|
32595
|
+
p(E, r, v);
|
|
32596
|
+
v = true;
|
|
32616
32597
|
}
|
|
32617
32598
|
s++;
|
|
32618
32599
|
o = true;
|
|
32619
32600
|
}
|
|
32620
32601
|
} else if ((_ = h(r)) === "*") {
|
|
32621
32602
|
E = r + 1;
|
|
32622
|
-
|
|
32603
|
+
y = t || h(E) === "*";
|
|
32623
32604
|
do {
|
|
32624
32605
|
if (_ === "\n") {
|
|
32625
32606
|
++s;
|
|
@@ -32631,9 +32612,9 @@ function tokenize$1(e, t) {
|
|
|
32631
32612
|
_ = h(r);
|
|
32632
32613
|
} while (a !== "*" || _ !== "/");
|
|
32633
32614
|
++r;
|
|
32634
|
-
if (
|
|
32635
|
-
p(E, r - 2,
|
|
32636
|
-
|
|
32615
|
+
if (y) {
|
|
32616
|
+
p(E, r - 2, v);
|
|
32617
|
+
v = true;
|
|
32637
32618
|
}
|
|
32638
32619
|
o = true;
|
|
32639
32620
|
} else {
|
|
@@ -32652,7 +32633,7 @@ function tokenize$1(e, t) {
|
|
|
32652
32633
|
function E(e) {
|
|
32653
32634
|
l.push(e);
|
|
32654
32635
|
}
|
|
32655
|
-
function
|
|
32636
|
+
function y() {
|
|
32656
32637
|
if (!l.length) {
|
|
32657
32638
|
var e = _();
|
|
32658
32639
|
if (e === null) return null;
|
|
@@ -32660,8 +32641,8 @@ function tokenize$1(e, t) {
|
|
|
32660
32641
|
}
|
|
32661
32642
|
return l[0];
|
|
32662
32643
|
}
|
|
32663
|
-
function
|
|
32664
|
-
var r =
|
|
32644
|
+
function v(e, t) {
|
|
32645
|
+
var r = y(), n = r === e;
|
|
32665
32646
|
if (n) {
|
|
32666
32647
|
_();
|
|
32667
32648
|
return true;
|
|
@@ -32680,7 +32661,7 @@ function tokenize$1(e, t) {
|
|
|
32680
32661
|
}
|
|
32681
32662
|
} else {
|
|
32682
32663
|
if (o < e) {
|
|
32683
|
-
|
|
32664
|
+
y();
|
|
32684
32665
|
}
|
|
32685
32666
|
n = a[e];
|
|
32686
32667
|
delete a[e];
|
|
@@ -32692,9 +32673,9 @@ function tokenize$1(e, t) {
|
|
|
32692
32673
|
}
|
|
32693
32674
|
return Object.defineProperty({
|
|
32694
32675
|
next: _,
|
|
32695
|
-
peek:
|
|
32676
|
+
peek: y,
|
|
32696
32677
|
push: E,
|
|
32697
|
-
skip:
|
|
32678
|
+
skip: v,
|
|
32698
32679
|
cmnt: S
|
|
32699
32680
|
}, "line", {
|
|
32700
32681
|
get: function() {
|
|
@@ -32726,16 +32707,16 @@ function parse$1(e, t, r) {
|
|
|
32726
32707
|
var d = true, h, p, g, m = "proto2";
|
|
32727
32708
|
var _ = t;
|
|
32728
32709
|
var E = [];
|
|
32729
|
-
var
|
|
32730
|
-
var
|
|
32710
|
+
var y = {};
|
|
32711
|
+
var v = r.keepCase ? function(e) {
|
|
32731
32712
|
return e;
|
|
32732
32713
|
} : util$4.camelCase;
|
|
32733
32714
|
function S() {
|
|
32734
32715
|
E.forEach(e => {
|
|
32735
32716
|
e._edition = m;
|
|
32736
|
-
Object.keys(
|
|
32717
|
+
Object.keys(y).forEach(t => {
|
|
32737
32718
|
if (e.getOption(t) !== undefined) return;
|
|
32738
|
-
e.setOption(t,
|
|
32719
|
+
e.setOption(t, y[t], true);
|
|
32739
32720
|
});
|
|
32740
32721
|
});
|
|
32741
32722
|
}
|
|
@@ -33005,7 +32986,7 @@ function parse$1(e, t, r) {
|
|
|
33005
32986
|
if (!typeRefRe.test(n)) throw A(n, "type");
|
|
33006
32987
|
var s = o();
|
|
33007
32988
|
if (!nameRe.test(s)) throw A(s, "name");
|
|
33008
|
-
s =
|
|
32989
|
+
s = v(s);
|
|
33009
32990
|
c("=");
|
|
33010
32991
|
var a = new Field(s, T(o()), n, t, r);
|
|
33011
32992
|
$(a, function e(t) {
|
|
@@ -33091,7 +33072,7 @@ function parse$1(e, t, r) {
|
|
|
33091
33072
|
var n = o();
|
|
33092
33073
|
if (!nameRe.test(n)) throw A(n, "name");
|
|
33093
33074
|
c("=");
|
|
33094
|
-
var s = new MapField(
|
|
33075
|
+
var s = new MapField(v(n), T(o()), t, r);
|
|
33095
33076
|
$(s, function e(t) {
|
|
33096
33077
|
if (t === "option") {
|
|
33097
33078
|
q(s, t);
|
|
@@ -33104,7 +33085,7 @@ function parse$1(e, t, r) {
|
|
|
33104
33085
|
}
|
|
33105
33086
|
function M(e, t) {
|
|
33106
33087
|
if (!nameRe.test(t = o())) throw A(t, "name");
|
|
33107
|
-
var r = new OneOf(
|
|
33088
|
+
var r = new OneOf(v(t));
|
|
33108
33089
|
$(r, function e(t) {
|
|
33109
33090
|
if (t === "option") {
|
|
33110
33091
|
q(r, t);
|
|
@@ -33244,7 +33225,7 @@ function parse$1(e, t, r) {
|
|
|
33244
33225
|
}
|
|
33245
33226
|
function j(e, t, r) {
|
|
33246
33227
|
if (_ === e && /^features\./.test(t)) {
|
|
33247
|
-
|
|
33228
|
+
y[t] = r;
|
|
33248
33229
|
return;
|
|
33249
33230
|
}
|
|
33250
33231
|
if (e.setOption) e.setOption(t, r);
|
|
@@ -35101,10 +35082,10 @@ descriptor.exports;
|
|
|
35101
35082
|
name: this.name
|
|
35102
35083
|
});
|
|
35103
35084
|
};
|
|
35104
|
-
var
|
|
35085
|
+
var y = 0;
|
|
35105
35086
|
d.fromDescriptor = function e(r, n, s) {
|
|
35106
35087
|
if (typeof r.length === "number") r = t.ServiceDescriptorProto.decode(r);
|
|
35107
|
-
var o = new d(r.name && r.name.length ? r.name : "Service" +
|
|
35088
|
+
var o = new d(r.name && r.name.length ? r.name : "Service" + y++, w(r.options, t.ServiceOptions));
|
|
35108
35089
|
if (!s) o._edition = n;
|
|
35109
35090
|
if (r.method) for (var a = 0; a < r.method.length; ++a) o.add(h.fromDescriptor(r.method[a]));
|
|
35110
35091
|
return o;
|
|
@@ -35118,10 +35099,10 @@ descriptor.exports;
|
|
|
35118
35099
|
options: T(this.options, t.ServiceOptions)
|
|
35119
35100
|
});
|
|
35120
35101
|
};
|
|
35121
|
-
var
|
|
35102
|
+
var v = 0;
|
|
35122
35103
|
h.fromDescriptor = function e(r) {
|
|
35123
35104
|
if (typeof r.length === "number") r = t.MethodDescriptorProto.decode(r);
|
|
35124
|
-
return new h(r.name && r.name.length ? r.name : "Method" +
|
|
35105
|
+
return new h(r.name && r.name.length ? r.name : "Method" + v++, "rpc", r.inputType, r.outputType, Boolean(r.clientStreaming), Boolean(r.serverStreaming), w(r.options, t.MethodOptions));
|
|
35125
35106
|
};
|
|
35126
35107
|
h.prototype.toDescriptor = function e() {
|
|
35127
35108
|
return t.MethodDescriptorProto.create({
|
|
@@ -35841,8 +35822,8 @@ umd.exports;
|
|
|
35841
35822
|
if (e < 0) return A;
|
|
35842
35823
|
if (e >= E) return T;
|
|
35843
35824
|
} else {
|
|
35844
|
-
if (e <= -
|
|
35845
|
-
if (e + 1 >=
|
|
35825
|
+
if (e <= -y) return R;
|
|
35826
|
+
if (e + 1 >= y) return I;
|
|
35846
35827
|
}
|
|
35847
35828
|
if (e < 0) return c(-e, t).neg();
|
|
35848
35829
|
return u(e % _ | 0, e / _ | 0, t);
|
|
@@ -35894,8 +35875,8 @@ umd.exports;
|
|
|
35894
35875
|
var m = 1 << 24;
|
|
35895
35876
|
var _ = g * g;
|
|
35896
35877
|
var E = _ * _;
|
|
35897
|
-
var
|
|
35898
|
-
var
|
|
35878
|
+
var y = E / 2;
|
|
35879
|
+
var v = l(m);
|
|
35899
35880
|
var S = l(0);
|
|
35900
35881
|
r.ZERO = S;
|
|
35901
35882
|
var A = l(0, true);
|
|
@@ -36067,7 +36048,7 @@ umd.exports;
|
|
|
36067
36048
|
if (this.isNegative()) {
|
|
36068
36049
|
if (r.isNegative()) return this.neg().mul(r.neg()); else return this.neg().mul(r).neg();
|
|
36069
36050
|
} else if (r.isNegative()) return this.mul(r.neg()).neg();
|
|
36070
|
-
if (this.lt(
|
|
36051
|
+
if (this.lt(v) && r.lt(v)) return c(this.toNumber() * r.toNumber(), this.unsigned);
|
|
36071
36052
|
var o = this.high >>> 16;
|
|
36072
36053
|
var a = this.high & 65535;
|
|
36073
36054
|
var l = this.low >>> 16;
|
|
@@ -36076,28 +36057,28 @@ umd.exports;
|
|
|
36076
36057
|
var g = r.high & 65535;
|
|
36077
36058
|
var m = r.low >>> 16;
|
|
36078
36059
|
var _ = r.low & 65535;
|
|
36079
|
-
var E = 0,
|
|
36060
|
+
var E = 0, y = 0, b = 0, C = 0;
|
|
36080
36061
|
C += d * _;
|
|
36081
36062
|
b += C >>> 16;
|
|
36082
36063
|
C &= 65535;
|
|
36083
36064
|
b += l * _;
|
|
36084
|
-
|
|
36065
|
+
y += b >>> 16;
|
|
36085
36066
|
b &= 65535;
|
|
36086
36067
|
b += d * m;
|
|
36087
|
-
|
|
36068
|
+
y += b >>> 16;
|
|
36088
36069
|
b &= 65535;
|
|
36089
|
-
|
|
36090
|
-
E +=
|
|
36091
|
-
|
|
36092
|
-
|
|
36093
|
-
E +=
|
|
36094
|
-
|
|
36095
|
-
|
|
36096
|
-
E +=
|
|
36097
|
-
|
|
36070
|
+
y += a * _;
|
|
36071
|
+
E += y >>> 16;
|
|
36072
|
+
y &= 65535;
|
|
36073
|
+
y += l * m;
|
|
36074
|
+
E += y >>> 16;
|
|
36075
|
+
y &= 65535;
|
|
36076
|
+
y += d * g;
|
|
36077
|
+
E += y >>> 16;
|
|
36078
|
+
y &= 65535;
|
|
36098
36079
|
E += o * _ + a * m + l * g + d * h;
|
|
36099
36080
|
E &= 65535;
|
|
36100
|
-
return u(b << 16 | C, E << 16 |
|
|
36081
|
+
return u(b << 16 | C, E << 16 | y, this.unsigned);
|
|
36101
36082
|
};
|
|
36102
36083
|
k.mul = k.multiply;
|
|
36103
36084
|
k.divide = function e(r) {
|
|
@@ -36386,19 +36367,19 @@ function requireSrc() {
|
|
|
36386
36367
|
responseSerialize: m(a),
|
|
36387
36368
|
responseDeserialize: g(a, n),
|
|
36388
36369
|
originalName: t(e.name),
|
|
36389
|
-
requestType:
|
|
36390
|
-
responseType:
|
|
36370
|
+
requestType: v(o, n, s),
|
|
36371
|
+
responseType: v(a, n, s),
|
|
36391
36372
|
options: _(e.parsedOptions)
|
|
36392
36373
|
};
|
|
36393
36374
|
}
|
|
36394
|
-
function
|
|
36375
|
+
function y(e, t, r, n) {
|
|
36395
36376
|
const s = {};
|
|
36396
36377
|
for (const o of e.methodsArray) {
|
|
36397
36378
|
s[o.name] = E(o, t, r, n);
|
|
36398
36379
|
}
|
|
36399
36380
|
return s;
|
|
36400
36381
|
}
|
|
36401
|
-
function
|
|
36382
|
+
function v(e, t, r) {
|
|
36402
36383
|
const n = e.toDescriptor("proto3");
|
|
36403
36384
|
return {
|
|
36404
36385
|
format: "Protocol Buffer 3 DescriptorProto",
|
|
@@ -36418,9 +36399,9 @@ function requireSrc() {
|
|
|
36418
36399
|
}
|
|
36419
36400
|
function A(e, t, n, s) {
|
|
36420
36401
|
if (e instanceof r.Service) {
|
|
36421
|
-
return
|
|
36402
|
+
return y(e, t, n, s);
|
|
36422
36403
|
} else if (e instanceof r.Type) {
|
|
36423
|
-
return
|
|
36404
|
+
return v(e, n, s);
|
|
36424
36405
|
} else if (e instanceof r.Enum) {
|
|
36425
36406
|
return S(e, s);
|
|
36426
36407
|
} else {
|
|
@@ -36681,7 +36662,7 @@ function requireChannelz() {
|
|
|
36681
36662
|
const t = Number.parseInt(e, 16);
|
|
36682
36663
|
return [ t / 256 | 0, t % 256 ];
|
|
36683
36664
|
}
|
|
36684
|
-
function
|
|
36665
|
+
function y(e) {
|
|
36685
36666
|
if (e === "") {
|
|
36686
36667
|
return [];
|
|
36687
36668
|
}
|
|
@@ -36689,7 +36670,7 @@ function requireChannelz() {
|
|
|
36689
36670
|
const r = [];
|
|
36690
36671
|
return r.concat(...t);
|
|
36691
36672
|
}
|
|
36692
|
-
function
|
|
36673
|
+
function v(t) {
|
|
36693
36674
|
return (0, e.isIPv6)(t) && t.toLowerCase().startsWith("::ffff:") && (0, e.isIPv4)(t.substring(7));
|
|
36694
36675
|
}
|
|
36695
36676
|
function S(e) {
|
|
@@ -36698,7 +36679,7 @@ function requireChannelz() {
|
|
|
36698
36679
|
function A(t) {
|
|
36699
36680
|
if ((0, e.isIPv4)(t)) {
|
|
36700
36681
|
return S(t);
|
|
36701
|
-
} else if (
|
|
36682
|
+
} else if (v(t)) {
|
|
36702
36683
|
return S(t.substring(7));
|
|
36703
36684
|
} else if ((0, e.isIPv6)(t)) {
|
|
36704
36685
|
let e;
|
|
@@ -36711,8 +36692,8 @@ function requireChannelz() {
|
|
|
36711
36692
|
e = t.substring(0, n);
|
|
36712
36693
|
r = t.substring(n + 2);
|
|
36713
36694
|
}
|
|
36714
|
-
const s = Buffer.from(
|
|
36715
|
-
const o = Buffer.from(
|
|
36695
|
+
const s = Buffer.from(y(e));
|
|
36696
|
+
const o = Buffer.from(y(r));
|
|
36716
36697
|
const a = Buffer.alloc(16 - s.length - o.length, 0);
|
|
36717
36698
|
return Buffer.concat([ s, a, o ]);
|
|
36718
36699
|
} else {
|
|
@@ -39121,7 +39102,7 @@ function requireTransport() {
|
|
|
39121
39102
|
const p = "transport";
|
|
39122
39103
|
const g = "transport_flowctrl";
|
|
39123
39104
|
const m = require$$12.version;
|
|
39124
|
-
const {HTTP2_HEADER_AUTHORITY: _, HTTP2_HEADER_CONTENT_TYPE: E, HTTP2_HEADER_METHOD:
|
|
39105
|
+
const {HTTP2_HEADER_AUTHORITY: _, HTTP2_HEADER_CONTENT_TYPE: E, HTTP2_HEADER_METHOD: y, HTTP2_HEADER_PATH: v, HTTP2_HEADER_TE: S, HTTP2_HEADER_USER_AGENT: A} = e.constants;
|
|
39125
39106
|
const b = 2e4;
|
|
39126
39107
|
const C = Buffer.from("too_many_pings", "ascii");
|
|
39127
39108
|
class Http2Transport {
|
|
@@ -39365,8 +39346,8 @@ function requireTransport() {
|
|
|
39365
39346
|
o[_] = t;
|
|
39366
39347
|
o[A] = this.userAgent;
|
|
39367
39348
|
o[E] = "application/grpc";
|
|
39368
|
-
o[
|
|
39369
|
-
o[
|
|
39349
|
+
o[y] = "POST";
|
|
39350
|
+
o[v] = r;
|
|
39370
39351
|
o[S] = "trailers";
|
|
39371
39352
|
let a;
|
|
39372
39353
|
try {
|
|
@@ -39470,16 +39451,16 @@ function requireTransport() {
|
|
|
39470
39451
|
return new Promise((s, o) => {
|
|
39471
39452
|
var l, u, d, h, p, g, m, _;
|
|
39472
39453
|
let E = null;
|
|
39473
|
-
let
|
|
39454
|
+
let y = this.channelTarget;
|
|
39474
39455
|
if ("grpc.http_connect_target" in n) {
|
|
39475
39456
|
const e = (0, c.parseUri)(n["grpc.http_connect_target"]);
|
|
39476
39457
|
if (e) {
|
|
39477
|
-
|
|
39458
|
+
y = e;
|
|
39478
39459
|
E = (0, c.uriToString)(e);
|
|
39479
39460
|
}
|
|
39480
39461
|
}
|
|
39481
|
-
const
|
|
39482
|
-
const S = (0, a.getDefaultAuthority)(
|
|
39462
|
+
const v = t.secure ? "https" : "http";
|
|
39463
|
+
const S = (0, a.getDefaultAuthority)(y);
|
|
39483
39464
|
const A = () => {
|
|
39484
39465
|
var e;
|
|
39485
39466
|
(e = this.session) === null || e === void 0 ? void 0 : e.destroy();
|
|
@@ -39509,7 +39490,7 @@ function requireTransport() {
|
|
|
39509
39490
|
maxSendHeaderBlockLength: Number.MAX_SAFE_INTEGER,
|
|
39510
39491
|
maxSessionMemory: (p = n["grpc-node.max_session_memory"]) !== null && p !== void 0 ? p : Number.MAX_SAFE_INTEGER
|
|
39511
39492
|
};
|
|
39512
|
-
const w = e.connect(`${
|
|
39493
|
+
const w = e.connect(`${v}://${S}`, C);
|
|
39513
39494
|
const I = (_ = (m = (g = e.getDefaultSettings) === null || g === void 0 ? void 0 : g.call(e)) === null || m === void 0 ? void 0 : m.initialWindowSize) !== null && _ !== void 0 ? _ : 65535;
|
|
39514
39495
|
const T = n["grpc-node.flow_control_window"];
|
|
39515
39496
|
this.session = w;
|
|
@@ -41017,8 +40998,8 @@ function requireInternalChannel() {
|
|
|
41017
40998
|
const m = requireChannelz();
|
|
41018
40999
|
const _ = loadBalancingCall;
|
|
41019
41000
|
const E = deadline;
|
|
41020
|
-
const
|
|
41021
|
-
const
|
|
41001
|
+
const y = resolvingCall;
|
|
41002
|
+
const v = callNumber;
|
|
41022
41003
|
const S = controlPlaneStatus;
|
|
41023
41004
|
const A = retryingCall;
|
|
41024
41005
|
const b = requireSubchannelInterface();
|
|
@@ -41090,7 +41071,7 @@ function requireInternalChannel() {
|
|
|
41090
41071
|
}
|
|
41091
41072
|
class InternalChannel {
|
|
41092
41073
|
constructor(o, _, E) {
|
|
41093
|
-
var
|
|
41074
|
+
var y, v, b, C, P, O;
|
|
41094
41075
|
this.credentials = _;
|
|
41095
41076
|
this.options = E;
|
|
41096
41077
|
this.connectivityState = g.ConnectivityState.IDLE;
|
|
@@ -41141,8 +41122,8 @@ function requireInternalChannel() {
|
|
|
41141
41122
|
const N = (0, h.mapProxyName)($, E);
|
|
41142
41123
|
this.target = N.target;
|
|
41143
41124
|
this.options = Object.assign({}, this.options, N.extraOptions);
|
|
41144
|
-
this.subchannelPool = (0, n.getSubchannelPool)(((
|
|
41145
|
-
this.retryBufferTracker = new A.MessageBufferTracker((
|
|
41125
|
+
this.subchannelPool = (0, n.getSubchannelPool)(((y = this.options["grpc.use_local_subchannel_pool"]) !== null && y !== void 0 ? y : 0) === 0);
|
|
41126
|
+
this.retryBufferTracker = new A.MessageBufferTracker((v = this.options["grpc.retry_buffer_size"]) !== null && v !== void 0 ? v : R, (b = this.options["grpc.per_rpc_retry_buffer_size"]) !== null && b !== void 0 ? b : k);
|
|
41146
41127
|
this.keepaliveTime = (C = this.options["grpc.keepalive_time_ms"]) !== null && C !== void 0 ? C : -1;
|
|
41147
41128
|
this.idleTimeoutMs = Math.max((P = this.options["grpc.client_idle_timeout_ms"]) !== null && P !== void 0 ? P : I, w);
|
|
41148
41129
|
const D = {
|
|
@@ -41393,17 +41374,17 @@ function requireInternalChannel() {
|
|
|
41393
41374
|
this.maybeStartIdleTimer();
|
|
41394
41375
|
}
|
|
41395
41376
|
createLoadBalancingCall(e, t, r, n, s) {
|
|
41396
|
-
const o = (0,
|
|
41377
|
+
const o = (0, v.getNextCallNumber)();
|
|
41397
41378
|
this.trace("createLoadBalancingCall [" + o + '] method="' + t + '"');
|
|
41398
41379
|
return new _.LoadBalancingCall(this, e, t, r, n, s, o);
|
|
41399
41380
|
}
|
|
41400
41381
|
createRetryingCall(e, t, r, n, s) {
|
|
41401
|
-
const o = (0,
|
|
41382
|
+
const o = (0, v.getNextCallNumber)();
|
|
41402
41383
|
this.trace("createRetryingCall [" + o + '] method="' + t + '"');
|
|
41403
41384
|
return new A.RetryingCall(this, e, t, r, n, s, o, this.retryBufferTracker, T.get(this.getTarget()));
|
|
41404
41385
|
}
|
|
41405
41386
|
createResolvingCall(e, t, r, n, s) {
|
|
41406
|
-
const o = (0,
|
|
41387
|
+
const o = (0, v.getNextCallNumber)();
|
|
41407
41388
|
this.trace("createResolvingCall [" + o + '] method="' + e + '", deadline=' + (0,
|
|
41408
41389
|
E.deadlineToString)(t));
|
|
41409
41390
|
const l = {
|
|
@@ -41412,7 +41393,7 @@ function requireInternalChannel() {
|
|
|
41412
41393
|
host: r !== null && r !== void 0 ? r : this.defaultAuthority,
|
|
41413
41394
|
parentCall: n
|
|
41414
41395
|
};
|
|
41415
|
-
const c = new
|
|
41396
|
+
const c = new y.ResolvingCall(this, e, l, this.filterStackFactory.clone(), o);
|
|
41416
41397
|
this.onCallStart();
|
|
41417
41398
|
c.addStatusWatcher(e => {
|
|
41418
41399
|
this.onCallEnd(e);
|
|
@@ -42719,8 +42700,8 @@ function requireServerInterceptors() {
|
|
|
42719
42700
|
const m = "grpc-accept-encoding";
|
|
42720
42701
|
const _ = "grpc-encoding";
|
|
42721
42702
|
const E = "grpc-message";
|
|
42722
|
-
const
|
|
42723
|
-
const
|
|
42703
|
+
const y = "grpc-status";
|
|
42704
|
+
const v = "grpc-timeout";
|
|
42724
42705
|
const S = /(\d{1,8})\s*([HMSmun])/;
|
|
42725
42706
|
const A = {
|
|
42726
42707
|
H: 36e5,
|
|
@@ -42792,25 +42773,25 @@ function requireServerInterceptors() {
|
|
|
42792
42773
|
}
|
|
42793
42774
|
this.host = (g = s[":authority"]) !== null && g !== void 0 ? g : s.host;
|
|
42794
42775
|
this.decoder = new o.StreamDecoder(this.maxReceiveMessageSize);
|
|
42795
|
-
const
|
|
42776
|
+
const y = e.Metadata.fromHttp2Headers(s);
|
|
42796
42777
|
if (a.isTracerEnabled(u)) {
|
|
42797
|
-
d("Request to " + this.handler.path + " received headers " + JSON.stringify(
|
|
42778
|
+
d("Request to " + this.handler.path + " received headers " + JSON.stringify(y.toJSON()));
|
|
42798
42779
|
}
|
|
42799
|
-
const S =
|
|
42780
|
+
const S = y.get(v);
|
|
42800
42781
|
if (S.length > 0) {
|
|
42801
42782
|
this.handleTimeoutHeader(S[0]);
|
|
42802
42783
|
}
|
|
42803
|
-
const A =
|
|
42784
|
+
const A = y.get(_);
|
|
42804
42785
|
if (A.length > 0) {
|
|
42805
42786
|
this.incomingEncoding = A[0];
|
|
42806
42787
|
}
|
|
42807
|
-
|
|
42808
|
-
|
|
42809
|
-
|
|
42810
|
-
|
|
42811
|
-
|
|
42812
|
-
|
|
42813
|
-
this.metadata =
|
|
42788
|
+
y.remove(v);
|
|
42789
|
+
y.remove(_);
|
|
42790
|
+
y.remove(m);
|
|
42791
|
+
y.remove(r.constants.HTTP2_HEADER_ACCEPT_ENCODING);
|
|
42792
|
+
y.remove(r.constants.HTTP2_HEADER_TE);
|
|
42793
|
+
y.remove(r.constants.HTTP2_HEADER_CONTENT_TYPE);
|
|
42794
|
+
this.metadata = y;
|
|
42814
42795
|
const b = (E = n.session) === null || E === void 0 ? void 0 : E.socket;
|
|
42815
42796
|
this.connectionInfo = {
|
|
42816
42797
|
localAddress: b === null || b === void 0 ? void 0 : b.localAddress,
|
|
@@ -42825,7 +42806,7 @@ function requireServerInterceptors() {
|
|
|
42825
42806
|
if (r === null) {
|
|
42826
42807
|
const r = {
|
|
42827
42808
|
code: t.Status.INTERNAL,
|
|
42828
|
-
details: `Invalid ${
|
|
42809
|
+
details: `Invalid ${v} value "${e}"`,
|
|
42829
42810
|
metadata: null
|
|
42830
42811
|
};
|
|
42831
42812
|
process.nextTick(() => {
|
|
@@ -43071,7 +43052,7 @@ function requireServerInterceptors() {
|
|
|
43071
43052
|
this.callEventTracker.onCallEnd(r);
|
|
43072
43053
|
}
|
|
43073
43054
|
const e = Object.assign({
|
|
43074
|
-
[
|
|
43055
|
+
[y]: r.code,
|
|
43075
43056
|
[E]: encodeURI(r.details)
|
|
43076
43057
|
}, a.toHttp2Headers());
|
|
43077
43058
|
this.stream.sendTrailers(e);
|
|
@@ -43088,7 +43069,7 @@ function requireServerInterceptors() {
|
|
|
43088
43069
|
this.callEventTracker.onCallEnd(r);
|
|
43089
43070
|
}
|
|
43090
43071
|
const e = Object.assign(Object.assign({
|
|
43091
|
-
[
|
|
43072
|
+
[y]: r.code,
|
|
43092
43073
|
[E]: encodeURI(r.details)
|
|
43093
43074
|
}, C), a.toHttp2Headers());
|
|
43094
43075
|
this.stream.respond(e, {
|
|
@@ -44290,7 +44271,7 @@ let Server = (() => {
|
|
|
44290
44271
|
};
|
|
44291
44272
|
const _ = () => !t.destroyed && this.keepaliveTimeMs < KEEPALIVE_MAX_TIME_MS && this.keepaliveTimeMs > 0;
|
|
44292
44273
|
let E;
|
|
44293
|
-
const
|
|
44274
|
+
const y = () => {
|
|
44294
44275
|
var e;
|
|
44295
44276
|
if (!_()) {
|
|
44296
44277
|
return;
|
|
@@ -44319,7 +44300,7 @@ let Server = (() => {
|
|
|
44319
44300
|
t.close();
|
|
44320
44301
|
} else {
|
|
44321
44302
|
this.keepaliveTrace("Received ping response");
|
|
44322
|
-
|
|
44303
|
+
y();
|
|
44323
44304
|
}
|
|
44324
44305
|
});
|
|
44325
44306
|
if (!e) {
|
|
@@ -44345,7 +44326,7 @@ let Server = (() => {
|
|
|
44345
44326
|
}, this.keepaliveTimeoutMs);
|
|
44346
44327
|
(e = h.unref) === null || e === void 0 ? void 0 : e.call(h);
|
|
44347
44328
|
};
|
|
44348
|
-
|
|
44329
|
+
y();
|
|
44349
44330
|
t.on("close", () => {
|
|
44350
44331
|
var r;
|
|
44351
44332
|
if (!p) {
|
|
@@ -44689,7 +44670,7 @@ function requireLoadBalancerPickFirst() {
|
|
|
44689
44670
|
});
|
|
44690
44671
|
loadBalancerPickFirst.LeafLoadBalancer = loadBalancerPickFirst.PickFirstLoadBalancer = loadBalancerPickFirst.PickFirstLoadBalancingConfig = void 0;
|
|
44691
44672
|
loadBalancerPickFirst.shuffled = g;
|
|
44692
|
-
loadBalancerPickFirst.setup =
|
|
44673
|
+
loadBalancerPickFirst.setup = y;
|
|
44693
44674
|
const e = requireLoadBalancer();
|
|
44694
44675
|
const t = connectivityState;
|
|
44695
44676
|
const r = requirePicker();
|
|
@@ -45069,7 +45050,7 @@ function requireLoadBalancerPickFirst() {
|
|
|
45069
45050
|
}
|
|
45070
45051
|
}
|
|
45071
45052
|
loadBalancerPickFirst.LeafLoadBalancer = LeafLoadBalancer;
|
|
45072
|
-
function
|
|
45053
|
+
function y() {
|
|
45073
45054
|
(0, e.registerLoadBalancerType)(h, PickFirstLoadBalancer, PickFirstLoadBalancingConfig);
|
|
45074
45055
|
(0, e.registerDefaultLoadBalancerType)(h);
|
|
45075
45056
|
}
|
|
@@ -45418,18 +45399,18 @@ function requireExperimental() {
|
|
|
45418
45399
|
return E.createCertificateProviderServerCredentials;
|
|
45419
45400
|
}
|
|
45420
45401
|
});
|
|
45421
|
-
var
|
|
45402
|
+
var y = requireCertificateProvider();
|
|
45422
45403
|
Object.defineProperty(e, "FileWatcherCertificateProvider", {
|
|
45423
45404
|
enumerable: true,
|
|
45424
45405
|
get: function() {
|
|
45425
|
-
return
|
|
45406
|
+
return y.FileWatcherCertificateProvider;
|
|
45426
45407
|
}
|
|
45427
45408
|
});
|
|
45428
|
-
var
|
|
45409
|
+
var v = channelCredentials;
|
|
45429
45410
|
Object.defineProperty(e, "createCertificateProviderChannelCredentials", {
|
|
45430
45411
|
enumerable: true,
|
|
45431
45412
|
get: function() {
|
|
45432
|
-
return
|
|
45413
|
+
return v.createCertificateProviderChannelCredentials;
|
|
45433
45414
|
}
|
|
45434
45415
|
});
|
|
45435
45416
|
var S = requireInternalChannel();
|
|
@@ -45804,13 +45785,13 @@ function requireLoadBalancerOutlierDetection() {
|
|
|
45804
45785
|
minimum_hosts: 5,
|
|
45805
45786
|
request_volume: 50
|
|
45806
45787
|
};
|
|
45807
|
-
function
|
|
45788
|
+
function y(e, t, r, n) {
|
|
45808
45789
|
if (t in e && e[t] !== undefined && typeof e[t] !== r) {
|
|
45809
45790
|
const s = n ? `${n}.${t}` : t;
|
|
45810
45791
|
throw new Error(`outlier detection config ${s} parse error: expected ${r}, got ${typeof e[t]}`);
|
|
45811
45792
|
}
|
|
45812
45793
|
}
|
|
45813
|
-
function
|
|
45794
|
+
function v(e, t, r) {
|
|
45814
45795
|
const s = t;
|
|
45815
45796
|
if (t in e && e[t] !== undefined) {
|
|
45816
45797
|
if (!(0, n.isDuration)(e[t])) {
|
|
@@ -45823,7 +45804,7 @@ function requireLoadBalancerOutlierDetection() {
|
|
|
45823
45804
|
}
|
|
45824
45805
|
function S(e, t, r) {
|
|
45825
45806
|
const n = r ? `${r}.${t}` : t;
|
|
45826
|
-
|
|
45807
|
+
y(e, t, "number", r);
|
|
45827
45808
|
if (t in e && e[t] !== undefined && !(e[t] >= 0 && e[t] <= 100)) {
|
|
45828
45809
|
throw new Error(`outlier detection config ${n} parse error: value out of range for percentage (0-100)`);
|
|
45829
45810
|
}
|
|
@@ -45881,18 +45862,18 @@ function requireLoadBalancerOutlierDetection() {
|
|
|
45881
45862
|
}
|
|
45882
45863
|
static createFromJson(e) {
|
|
45883
45864
|
var t;
|
|
45884
|
-
|
|
45885
|
-
|
|
45886
|
-
|
|
45865
|
+
v(e, "interval");
|
|
45866
|
+
v(e, "base_ejection_time");
|
|
45867
|
+
v(e, "max_ejection_time");
|
|
45887
45868
|
S(e, "max_ejection_percent");
|
|
45888
45869
|
if ("success_rate_ejection" in e && e.success_rate_ejection !== undefined) {
|
|
45889
45870
|
if (typeof e.success_rate_ejection !== "object") {
|
|
45890
45871
|
throw new Error("outlier detection config success_rate_ejection must be an object");
|
|
45891
45872
|
}
|
|
45892
|
-
|
|
45873
|
+
y(e.success_rate_ejection, "stdev_factor", "number", "success_rate_ejection");
|
|
45893
45874
|
S(e.success_rate_ejection, "enforcement_percentage", "success_rate_ejection");
|
|
45894
|
-
|
|
45895
|
-
|
|
45875
|
+
y(e.success_rate_ejection, "minimum_hosts", "number", "success_rate_ejection");
|
|
45876
|
+
y(e.success_rate_ejection, "request_volume", "number", "success_rate_ejection");
|
|
45896
45877
|
}
|
|
45897
45878
|
if ("failure_percentage_ejection" in e && e.failure_percentage_ejection !== undefined) {
|
|
45898
45879
|
if (typeof e.failure_percentage_ejection !== "object") {
|
|
@@ -45900,8 +45881,8 @@ function requireLoadBalancerOutlierDetection() {
|
|
|
45900
45881
|
}
|
|
45901
45882
|
S(e.failure_percentage_ejection, "threshold", "failure_percentage_ejection");
|
|
45902
45883
|
S(e.failure_percentage_ejection, "enforcement_percentage", "failure_percentage_ejection");
|
|
45903
|
-
|
|
45904
|
-
|
|
45884
|
+
y(e.failure_percentage_ejection, "minimum_hosts", "number", "failure_percentage_ejection");
|
|
45885
|
+
y(e.failure_percentage_ejection, "request_volume", "number", "failure_percentage_ejection");
|
|
45905
45886
|
}
|
|
45906
45887
|
if (!("child_policy" in e) || !Array.isArray(e.child_policy)) {
|
|
45907
45888
|
throw new Error("outlier detection config child_policy must be an array");
|
|
@@ -46379,8 +46360,8 @@ function requireLoadBalancerWeightedRoundRobin() {
|
|
|
46379
46360
|
const m = 1e4;
|
|
46380
46361
|
const _ = 3 * 6e4;
|
|
46381
46362
|
const E = 1e3;
|
|
46382
|
-
const
|
|
46383
|
-
function
|
|
46363
|
+
const y = 1;
|
|
46364
|
+
function v(e, t, r) {
|
|
46384
46365
|
if (t in e && e[t] !== undefined && typeof e[t] !== r) {
|
|
46385
46366
|
throw new Error(`weighted round robin config ${t} parse error: expected ${r}, got ${typeof e[t]}`);
|
|
46386
46367
|
}
|
|
@@ -46412,7 +46393,7 @@ function requireLoadBalancerWeightedRoundRobin() {
|
|
|
46412
46393
|
this.blackoutPeriodMs = r !== null && r !== void 0 ? r : m;
|
|
46413
46394
|
this.weightExpirationPeriodMs = n !== null && n !== void 0 ? n : _;
|
|
46414
46395
|
this.weightUpdatePeriodMs = Math.max(s !== null && s !== void 0 ? s : E, 100);
|
|
46415
|
-
this.errorUtilizationPenalty = o !== null && o !== void 0 ? o :
|
|
46396
|
+
this.errorUtilizationPenalty = o !== null && o !== void 0 ? o : y;
|
|
46416
46397
|
}
|
|
46417
46398
|
getLoadBalancerName() {
|
|
46418
46399
|
return p;
|
|
@@ -46428,8 +46409,8 @@ function requireLoadBalancerWeightedRoundRobin() {
|
|
|
46428
46409
|
};
|
|
46429
46410
|
}
|
|
46430
46411
|
static createFromJson(e) {
|
|
46431
|
-
|
|
46432
|
-
|
|
46412
|
+
v(e, "enable_oob_load_report", "boolean");
|
|
46413
|
+
v(e, "error_utilization_penalty", "number");
|
|
46433
46414
|
if (e.error_utilization_penalty < 0) {
|
|
46434
46415
|
throw new Error("weighted round robin config error_utilization_penalty < 0");
|
|
46435
46416
|
}
|
|
@@ -46843,14 +46824,14 @@ function requireLoadBalancerWeightedRoundRobin() {
|
|
|
46843
46824
|
throw new Error("Not available in this library. Use @grpc/proto-loader and loadPackageDefinition instead");
|
|
46844
46825
|
};
|
|
46845
46826
|
e.loadObject = E;
|
|
46846
|
-
const
|
|
46827
|
+
const y = (e, t, r) => {
|
|
46847
46828
|
throw new Error("Not available in this library. Use @grpc/proto-loader and loadPackageDefinition instead");
|
|
46848
46829
|
};
|
|
46849
|
-
e.load =
|
|
46850
|
-
const
|
|
46830
|
+
e.load = y;
|
|
46831
|
+
const v = e => {
|
|
46851
46832
|
c.setLogger(e);
|
|
46852
46833
|
};
|
|
46853
|
-
e.setLogger =
|
|
46834
|
+
e.setLogger = v;
|
|
46854
46835
|
const S = e => {
|
|
46855
46836
|
c.setLoggerVerbosity(e);
|
|
46856
46837
|
};
|
|
@@ -47129,19 +47110,19 @@ util$1.addCommonProtos = addCommonProtos;
|
|
|
47129
47110
|
responseSerialize: m(a),
|
|
47130
47111
|
responseDeserialize: g(a, n),
|
|
47131
47112
|
originalName: t(e.name),
|
|
47132
|
-
requestType:
|
|
47133
|
-
responseType:
|
|
47113
|
+
requestType: v(o, s),
|
|
47114
|
+
responseType: v(a, s),
|
|
47134
47115
|
options: _(e.parsedOptions)
|
|
47135
47116
|
};
|
|
47136
47117
|
}
|
|
47137
|
-
function
|
|
47118
|
+
function y(e, t, r, n) {
|
|
47138
47119
|
const s = {};
|
|
47139
47120
|
for (const o of e.methodsArray) {
|
|
47140
47121
|
s[o.name] = E(o, t, r, n);
|
|
47141
47122
|
}
|
|
47142
47123
|
return s;
|
|
47143
47124
|
}
|
|
47144
|
-
function
|
|
47125
|
+
function v(e, t) {
|
|
47145
47126
|
const r = e.toDescriptor("proto3");
|
|
47146
47127
|
return {
|
|
47147
47128
|
format: "Protocol Buffer 3 DescriptorProto",
|
|
@@ -47159,9 +47140,9 @@ util$1.addCommonProtos = addCommonProtos;
|
|
|
47159
47140
|
}
|
|
47160
47141
|
function A(e, t, n, s) {
|
|
47161
47142
|
if (e instanceof r.Service) {
|
|
47162
|
-
return
|
|
47143
|
+
return y(e, t, n, s);
|
|
47163
47144
|
} else if (e instanceof r.Type) {
|
|
47164
|
-
return
|
|
47145
|
+
return v(e, s);
|
|
47165
47146
|
} else if (e instanceof r.Enum) {
|
|
47166
47147
|
return S(e, s);
|
|
47167
47148
|
} else {
|
|
@@ -47647,22 +47628,22 @@ function sha1(e) {
|
|
|
47647
47628
|
}
|
|
47648
47629
|
var _ = r[0];
|
|
47649
47630
|
var E = r[1];
|
|
47650
|
-
var
|
|
47651
|
-
var
|
|
47631
|
+
var y = r[2];
|
|
47632
|
+
var v = r[3];
|
|
47652
47633
|
var S = r[4];
|
|
47653
47634
|
for (var A = 0; A < 80; ++A) {
|
|
47654
47635
|
var b = Math.floor(A / 20);
|
|
47655
|
-
var C = ROTL(_, 5) + f(b, E,
|
|
47656
|
-
S =
|
|
47657
|
-
|
|
47658
|
-
|
|
47636
|
+
var C = ROTL(_, 5) + f(b, E, y, v) + S + t[b] + p[A] >>> 0;
|
|
47637
|
+
S = v;
|
|
47638
|
+
v = y;
|
|
47639
|
+
y = ROTL(E, 30) >>> 0;
|
|
47659
47640
|
E = _;
|
|
47660
47641
|
_ = C;
|
|
47661
47642
|
}
|
|
47662
47643
|
r[0] = r[0] + _ >>> 0;
|
|
47663
47644
|
r[1] = r[1] + E >>> 0;
|
|
47664
|
-
r[2] = r[2] +
|
|
47665
|
-
r[3] = r[3] +
|
|
47645
|
+
r[2] = r[2] + y >>> 0;
|
|
47646
|
+
r[3] = r[3] + v >>> 0;
|
|
47666
47647
|
r[4] = r[4] + S >>> 0;
|
|
47667
47648
|
}
|
|
47668
47649
|
return [ r[0] >> 24 & 255, r[0] >> 16 & 255, r[0] >> 8 & 255, r[0] & 255, r[1] >> 24 & 255, r[1] >> 16 & 255, r[1] >> 8 & 255, r[1] & 255, r[2] >> 24 & 255, r[2] >> 16 & 255, r[2] >> 8 & 255, r[2] & 255, r[3] >> 24 & 255, r[3] >> 16 & 255, r[3] >> 8 & 255, r[3] & 255, r[4] >> 24 & 255, r[4] >> 16 & 255, r[4] >> 8 & 255, r[4] & 255 ];
|