lakutata 2.0.95 → 2.0.96
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 +56 -44
- package/com/cacher.mjs +56 -44
- package/com/database.cjs +74 -74
- package/com/database.mjs +74 -74
- package/com/docker.cjs +85 -85
- package/com/docker.mjs +85 -85
- package/com/entrypoint.cjs +44 -44
- package/com/entrypoint.mjs +44 -44
- package/com/logger.cjs +51 -51
- package/com/logger.mjs +51 -51
- package/com/monitor.cjs +32 -32
- package/com/monitor.mjs +32 -32
- package/decorator/asst.cjs +5 -5
- package/decorator/asst.mjs +5 -5
- package/decorator/ctrl.cjs +22 -22
- package/decorator/ctrl.mjs +22 -22
- package/decorator/di.cjs +17 -17
- package/decorator/di.mjs +17 -17
- package/decorator/dto.cjs +17 -17
- package/decorator/dto.mjs +17 -17
- package/decorator/orm.cjs +47 -47
- package/decorator/orm.mjs +47 -47
- package/dtos.cjs +17 -17
- package/dtos.mjs +17 -17
- package/helper.cjs +32 -32
- package/helper.mjs +32 -32
- package/lakutata.cjs +110 -110
- package/lakutata.mjs +110 -110
- package/orm.cjs +47 -47
- package/orm.mjs +48 -48
- package/package.json +1 -1
- package/provider/database.cjs +73 -73
- package/provider/database.mjs +73 -73
- package/provider/passwordHash.cjs +31 -31
- package/provider/passwordHash.mjs +31 -31
- package/src/components/Database.cjs +74 -74
- package/src/components/Database.mjs +74 -74
- package/src/components/Logger.cjs +51 -51
- package/src/components/Logger.mjs +51 -51
- package/src/components/cacher/Cacher.cjs +60 -48
- package/src/components/cacher/Cacher.mjs +60 -48
- package/src/components/cacher/adapters/CreateFileCacheAdapter.cjs +25 -11
- package/src/components/cacher/adapters/CreateFileCacheAdapter.mjs +31 -17
- package/src/components/cacher/adapters/CreateMemcacheCacheAdapter.cjs +29 -15
- package/src/components/cacher/adapters/CreateMemcacheCacheAdapter.mjs +38 -24
- package/src/components/cacher/adapters/CreateMongoCacheAdapter.cjs +41 -27
- package/src/components/cacher/adapters/CreateMongoCacheAdapter.mjs +37 -23
- package/src/components/cacher/adapters/CreateMysqlCacheAdapter.cjs +28 -14
- package/src/components/cacher/adapters/CreateMysqlCacheAdapter.mjs +26 -12
- package/src/components/cacher/adapters/CreatePostgresCacheAdapter.cjs +39 -25
- package/src/components/cacher/adapters/CreatePostgresCacheAdapter.mjs +29 -15
- package/src/components/cacher/adapters/CreateRedisCacheAdapter.cjs +26 -12
- package/src/components/cacher/adapters/CreateRedisCacheAdapter.mjs +26 -12
- package/src/components/cacher/adapters/CreateSqliteCacheAdapter.cjs +29 -15
- package/src/components/cacher/adapters/CreateSqliteCacheAdapter.mjs +29 -15
- package/src/components/cacher/exceptions/CacheDriverNotFoundException.cjs +4 -4
- package/src/components/cacher/exceptions/CacheDriverNotFoundException.mjs +4 -4
- 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 +4 -4
- package/src/components/cacher/lib/IsDriverPackageInstalled.mjs +4 -4
- package/src/components/cacher/options/FileCacheOptions.cjs +17 -17
- package/src/components/cacher/options/FileCacheOptions.mjs +17 -17
- package/src/components/cacher/options/MemcacheCacheOptions.cjs +17 -17
- package/src/components/cacher/options/MemcacheCacheOptions.mjs +17 -17
- package/src/components/cacher/options/MongoCacheOptions.cjs +17 -17
- package/src/components/cacher/options/MongoCacheOptions.mjs +17 -17
- package/src/components/cacher/options/MysqlCacheOptions.cjs +17 -17
- package/src/components/cacher/options/MysqlCacheOptions.mjs +17 -17
- package/src/components/cacher/options/PostgresCacheOptions.cjs +17 -17
- package/src/components/cacher/options/PostgresCacheOptions.mjs +17 -17
- package/src/components/cacher/options/RedisCacheOptions.cjs +17 -17
- package/src/components/cacher/options/RedisCacheOptions.mjs +17 -17
- package/src/components/cacher/options/SqliteCacheOptions.cjs +17 -17
- package/src/components/cacher/options/SqliteCacheOptions.mjs +17 -17
- package/src/components/cacher/types/CacheStoreOptions.cjs +1 -1
- package/src/components/cacher/types/CacheStoreOptions.mjs +1 -1
- package/src/components/docker/ConnectionOptionsBuilder.cjs +85 -85
- package/src/components/docker/ConnectionOptionsBuilder.mjs +85 -85
- package/src/components/docker/Docker.cjs +85 -85
- package/src/components/docker/Docker.mjs +85 -85
- package/src/components/docker/exceptions/DockerConnectionException.cjs +4 -4
- package/src/components/docker/exceptions/DockerConnectionException.mjs +4 -4
- package/src/components/docker/exceptions/DockerImageBuildException.cjs +4 -4
- package/src/components/docker/exceptions/DockerImageBuildException.mjs +4 -4
- package/src/components/docker/exceptions/DockerImageImportException.cjs +4 -4
- package/src/components/docker/exceptions/DockerImageImportException.mjs +4 -4
- package/src/components/docker/exceptions/DockerImageNotFoundException.cjs +4 -4
- package/src/components/docker/exceptions/DockerImageNotFoundException.mjs +4 -4
- package/src/components/docker/exceptions/DockerImagePullException.cjs +4 -4
- package/src/components/docker/exceptions/DockerImagePullException.mjs +4 -4
- package/src/components/docker/exceptions/DockerImagePushException.cjs +4 -4
- package/src/components/docker/exceptions/DockerImagePushException.mjs +4 -4
- package/src/components/docker/exceptions/DockerImageRepoTagNotFoundException.cjs +4 -4
- package/src/components/docker/exceptions/DockerImageRepoTagNotFoundException.mjs +4 -4
- package/src/components/docker/exceptions/DockerNetworkNotFoundException.cjs +4 -4
- package/src/components/docker/exceptions/DockerNetworkNotFoundException.mjs +4 -4
- 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 +72 -72
- package/src/components/docker/lib/DockerContainer.mjs +72 -72
- package/src/components/docker/lib/DockerContainerTTY.cjs +72 -72
- package/src/components/docker/lib/DockerContainerTTY.mjs +72 -72
- package/src/components/docker/lib/DockerImage.cjs +30 -30
- package/src/components/docker/lib/DockerImage.mjs +30 -30
- 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 +17 -17
- package/src/components/docker/options/DockerPruneOptions.mjs +17 -17
- package/src/components/docker/options/auth/DockerAuthOptions.cjs +17 -17
- package/src/components/docker/options/auth/DockerAuthOptions.mjs +17 -17
- package/src/components/docker/options/container/ContainerCommitOptions.cjs +17 -17
- package/src/components/docker/options/container/ContainerCommitOptions.mjs +17 -17
- package/src/components/docker/options/container/ContainerCreateTTYOptions.cjs +17 -17
- package/src/components/docker/options/container/ContainerCreateTTYOptions.mjs +17 -17
- package/src/components/docker/options/container/ContainerExecOptions.cjs +17 -17
- package/src/components/docker/options/container/ContainerExecOptions.mjs +17 -17
- package/src/components/docker/options/container/ContainerExportDirectoryOptions.cjs +17 -17
- package/src/components/docker/options/container/ContainerExportDirectoryOptions.mjs +17 -17
- package/src/components/docker/options/container/ContainerKillOptions.cjs +17 -17
- package/src/components/docker/options/container/ContainerKillOptions.mjs +17 -17
- package/src/components/docker/options/container/ContainerLogsOptions.cjs +17 -17
- package/src/components/docker/options/container/ContainerLogsOptions.mjs +17 -17
- package/src/components/docker/options/container/ContainerRemoveOptions.cjs +17 -17
- package/src/components/docker/options/container/ContainerRemoveOptions.mjs +17 -17
- package/src/components/docker/options/container/ContainerSettingOptions.cjs +17 -17
- package/src/components/docker/options/container/ContainerSettingOptions.mjs +17 -17
- package/src/components/docker/options/container/ContainerStopOptions.cjs +17 -17
- package/src/components/docker/options/container/ContainerStopOptions.mjs +17 -17
- package/src/components/docker/options/container/ContainerTTYConsoleSizeOptions.cjs +17 -17
- package/src/components/docker/options/container/ContainerTTYConsoleSizeOptions.mjs +17 -17
- package/src/components/docker/options/image/ImageBuildOptions.cjs +17 -17
- package/src/components/docker/options/image/ImageBuildOptions.mjs +17 -17
- package/src/components/docker/options/image/ImageExportOptions.cjs +17 -17
- package/src/components/docker/options/image/ImageExportOptions.mjs +17 -17
- package/src/components/docker/options/image/ImageImportOptions.cjs +17 -17
- package/src/components/docker/options/image/ImageImportOptions.mjs +17 -17
- package/src/components/docker/options/image/ImagePullOptions.cjs +17 -17
- package/src/components/docker/options/image/ImagePullOptions.mjs +17 -17
- package/src/components/docker/options/image/ImagePushOptions.cjs +17 -17
- package/src/components/docker/options/image/ImagePushOptions.mjs +17 -17
- package/src/components/docker/options/image/ImageRemoveOptions.cjs +17 -17
- package/src/components/docker/options/image/ImageRemoveOptions.mjs +17 -17
- package/src/components/docker/options/image/ImageTagOptions.cjs +17 -17
- package/src/components/docker/options/image/ImageTagOptions.mjs +17 -17
- package/src/components/docker/options/network/NetworkCreateOptions.cjs +17 -17
- package/src/components/docker/options/network/NetworkCreateOptions.mjs +17 -17
- 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 +44 -44
- package/src/components/entrypoint/Entrypoint.mjs +44 -44
- package/src/components/entrypoint/exceptions/AccessDenyException.cjs +4 -4
- package/src/components/entrypoint/exceptions/AccessDenyException.mjs +4 -4
- package/src/components/entrypoint/exceptions/ControllerActionNotFoundException.cjs +4 -4
- package/src/components/entrypoint/exceptions/ControllerActionNotFoundException.mjs +4 -4
- package/src/components/entrypoint/exceptions/DuplicateActionNameException.cjs +4 -4
- package/src/components/entrypoint/exceptions/DuplicateActionNameException.mjs +4 -4
- package/src/components/entrypoint/exceptions/InvalidActionGroupException.cjs +4 -4
- package/src/components/entrypoint/exceptions/InvalidActionGroupException.mjs +4 -4
- package/src/components/entrypoint/lib/AccessControl.cjs +30 -30
- package/src/components/entrypoint/lib/AccessControl.mjs +30 -30
- package/src/components/entrypoint/lib/AccessControlRule.cjs +30 -30
- package/src/components/entrypoint/lib/AccessControlRule.mjs +30 -30
- package/src/components/entrypoint/lib/Controller.cjs +30 -30
- package/src/components/entrypoint/lib/Controller.mjs +30 -30
- package/src/components/monitor/AliveMonitor.cjs +31 -31
- package/src/components/monitor/AliveMonitor.mjs +31 -31
- package/src/components/monitor/CpuMonitor.cjs +32 -32
- package/src/components/monitor/CpuMonitor.mjs +32 -32
- package/src/components/monitor/EventLoopMonitor.cjs +31 -31
- package/src/components/monitor/EventLoopMonitor.mjs +31 -31
- package/src/components/monitor/HttpRequestMonitor.cjs +32 -32
- package/src/components/monitor/HttpRequestMonitor.mjs +32 -32
- package/src/components/monitor/MemoryMonitor.cjs +32 -32
- package/src/components/monitor/MemoryMonitor.mjs +32 -32
- 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 +2 -2
- package/src/constants/DIMetadataKey.mjs +2 -2
- package/src/constants/DTOMetadataKey.cjs +2 -2
- package/src/constants/DTOMetadataKey.mjs +2 -2
- package/src/decorators/asst/After.cjs +4 -4
- package/src/decorators/asst/After.mjs +4 -4
- package/src/decorators/asst/Before.cjs +4 -4
- package/src/decorators/asst/Before.mjs +4 -4
- package/src/decorators/ctrl/CLIAction.cjs +22 -22
- package/src/decorators/ctrl/CLIAction.mjs +22 -22
- package/src/decorators/ctrl/HTTPAction.cjs +22 -22
- package/src/decorators/ctrl/HTTPAction.mjs +22 -22
- package/src/decorators/ctrl/ServiceAction.cjs +22 -22
- package/src/decorators/ctrl/ServiceAction.mjs +22 -22
- package/src/decorators/ctrl/http/DELETE.cjs +22 -22
- package/src/decorators/ctrl/http/DELETE.mjs +22 -22
- package/src/decorators/ctrl/http/GET.cjs +22 -22
- package/src/decorators/ctrl/http/GET.mjs +22 -22
- package/src/decorators/ctrl/http/HEAD.cjs +22 -22
- package/src/decorators/ctrl/http/HEAD.mjs +22 -22
- package/src/decorators/ctrl/http/OPTIONS.cjs +22 -22
- package/src/decorators/ctrl/http/OPTIONS.mjs +22 -22
- package/src/decorators/ctrl/http/PATCH.cjs +22 -22
- package/src/decorators/ctrl/http/PATCH.mjs +22 -22
- package/src/decorators/ctrl/http/POST.cjs +22 -22
- package/src/decorators/ctrl/http/POST.mjs +22 -22
- package/src/decorators/ctrl/http/PUT.cjs +22 -22
- package/src/decorators/ctrl/http/PUT.mjs +22 -22
- package/src/decorators/di/Autoload.cjs +2 -2
- package/src/decorators/di/Autoload.mjs +2 -2
- package/src/decorators/di/Configurable.cjs +17 -17
- package/src/decorators/di/Configurable.mjs +17 -17
- package/src/decorators/di/Inject.cjs +17 -17
- package/src/decorators/di/Inject.mjs +17 -17
- package/src/decorators/di/Lifetime.cjs +5 -5
- package/src/decorators/di/Lifetime.mjs +5 -5
- package/src/decorators/dto/Accept.cjs +17 -17
- package/src/decorators/dto/Accept.mjs +17 -17
- package/src/decorators/dto/Expect.cjs +17 -17
- package/src/decorators/dto/Expect.mjs +17 -17
- package/src/decorators/dto/IndexSignature.cjs +17 -17
- package/src/decorators/dto/IndexSignature.mjs +17 -17
- package/src/decorators/dto/Return.cjs +17 -17
- package/src/decorators/dto/Return.mjs +17 -17
- package/src/decorators/orm/AfterInsert.cjs +46 -46
- package/src/decorators/orm/AfterInsert.mjs +46 -46
- package/src/decorators/orm/AfterLoad.cjs +46 -46
- package/src/decorators/orm/AfterLoad.mjs +46 -46
- package/src/decorators/orm/AfterRecover.cjs +46 -46
- package/src/decorators/orm/AfterRecover.mjs +46 -46
- package/src/decorators/orm/AfterRemove.cjs +46 -46
- package/src/decorators/orm/AfterRemove.mjs +46 -46
- package/src/decorators/orm/AfterSoftRemove.cjs +46 -46
- package/src/decorators/orm/AfterSoftRemove.mjs +46 -46
- package/src/decorators/orm/AfterUpdate.cjs +46 -46
- package/src/decorators/orm/AfterUpdate.mjs +46 -46
- package/src/decorators/orm/BeforeInsert.cjs +46 -46
- package/src/decorators/orm/BeforeInsert.mjs +46 -46
- package/src/decorators/orm/BeforeRecover.cjs +46 -46
- package/src/decorators/orm/BeforeRecover.mjs +46 -46
- package/src/decorators/orm/BeforeRemove.cjs +46 -46
- package/src/decorators/orm/BeforeRemove.mjs +46 -46
- package/src/decorators/orm/BeforeSoftRemove.cjs +46 -46
- package/src/decorators/orm/BeforeSoftRemove.mjs +46 -46
- package/src/decorators/orm/BeforeUpdate.cjs +46 -46
- package/src/decorators/orm/BeforeUpdate.mjs +46 -46
- package/src/decorators/orm/Check.cjs +46 -46
- package/src/decorators/orm/Check.mjs +46 -46
- package/src/decorators/orm/ChildEntity.cjs +46 -46
- package/src/decorators/orm/ChildEntity.mjs +46 -46
- package/src/decorators/orm/Column.cjs +46 -46
- package/src/decorators/orm/Column.mjs +46 -46
- package/src/decorators/orm/CreateDateColumn.cjs +46 -46
- package/src/decorators/orm/CreateDateColumn.mjs +46 -46
- package/src/decorators/orm/DeleteDateColumn.cjs +46 -46
- package/src/decorators/orm/DeleteDateColumn.mjs +46 -46
- package/src/decorators/orm/Entity.cjs +46 -46
- package/src/decorators/orm/Entity.mjs +46 -46
- package/src/decorators/orm/EventSubscriber.cjs +46 -46
- package/src/decorators/orm/EventSubscriber.mjs +46 -46
- package/src/decorators/orm/Exclusion.cjs +46 -46
- package/src/decorators/orm/Exclusion.mjs +46 -46
- package/src/decorators/orm/Generated.cjs +46 -46
- package/src/decorators/orm/Generated.mjs +46 -46
- package/src/decorators/orm/Index.cjs +46 -46
- package/src/decorators/orm/Index.mjs +46 -46
- package/src/decorators/orm/JoinColumn.cjs +46 -46
- package/src/decorators/orm/JoinColumn.mjs +46 -46
- package/src/decorators/orm/JoinTable.cjs +46 -46
- package/src/decorators/orm/JoinTable.mjs +46 -46
- package/src/decorators/orm/ManyToMany.cjs +46 -46
- package/src/decorators/orm/ManyToMany.mjs +46 -46
- package/src/decorators/orm/ManyToOne.cjs +46 -46
- package/src/decorators/orm/ManyToOne.mjs +46 -46
- package/src/decorators/orm/ObjectIdColumn.cjs +46 -46
- package/src/decorators/orm/ObjectIdColumn.mjs +46 -46
- package/src/decorators/orm/OneToMany.cjs +46 -46
- package/src/decorators/orm/OneToMany.mjs +46 -46
- package/src/decorators/orm/OneToOne.cjs +46 -46
- package/src/decorators/orm/OneToOne.mjs +46 -46
- package/src/decorators/orm/PrimaryColumn.cjs +46 -46
- package/src/decorators/orm/PrimaryColumn.mjs +46 -46
- package/src/decorators/orm/PrimaryGeneratedColumn.cjs +46 -46
- package/src/decorators/orm/PrimaryGeneratedColumn.mjs +46 -46
- package/src/decorators/orm/RelationId.cjs +46 -46
- package/src/decorators/orm/RelationId.mjs +46 -46
- package/src/decorators/orm/TableInheritance.cjs +46 -46
- package/src/decorators/orm/TableInheritance.mjs +46 -46
- package/src/decorators/orm/Tree.cjs +46 -46
- package/src/decorators/orm/Tree.mjs +46 -46
- package/src/decorators/orm/TreeChildren.cjs +46 -46
- package/src/decorators/orm/TreeChildren.mjs +46 -46
- package/src/decorators/orm/TreeLevelColumn.cjs +46 -46
- package/src/decorators/orm/TreeLevelColumn.mjs +46 -46
- package/src/decorators/orm/TreeParent.cjs +46 -46
- package/src/decorators/orm/TreeParent.mjs +46 -46
- package/src/decorators/orm/Unique.cjs +46 -46
- package/src/decorators/orm/Unique.mjs +46 -46
- package/src/decorators/orm/UpdateDateColumn.cjs +46 -46
- package/src/decorators/orm/UpdateDateColumn.mjs +46 -46
- package/src/decorators/orm/VersionColumn.cjs +46 -46
- package/src/decorators/orm/VersionColumn.mjs +46 -46
- package/src/decorators/orm/ViewColumn.cjs +46 -46
- package/src/decorators/orm/ViewColumn.mjs +46 -46
- package/src/decorators/orm/ViewEntity.cjs +46 -46
- package/src/decorators/orm/ViewEntity.mjs +46 -46
- package/src/decorators/orm/VirtualColumn.cjs +46 -46
- package/src/decorators/orm/VirtualColumn.mjs +46 -46
- package/src/dto/PaginationResultDTO.cjs +17 -17
- package/src/dto/PaginationResultDTO.mjs +17 -17
- package/src/dto/PaginationSearchDTO.cjs +17 -17
- package/src/dto/PaginationSearchDTO.mjs +17 -17
- package/src/exceptions/DestroyRuntimeContainerException.cjs +4 -4
- package/src/exceptions/DestroyRuntimeContainerException.mjs +4 -4
- package/src/exceptions/InvalidActionPatternDepthException.cjs +4 -4
- package/src/exceptions/InvalidActionPatternDepthException.mjs +4 -4
- package/src/exceptions/InvalidAssistantFunctionTypeException.cjs +4 -4
- package/src/exceptions/InvalidAssistantFunctionTypeException.mjs +4 -4
- package/src/exceptions/InvalidObjectTypeException.cjs +4 -4
- package/src/exceptions/InvalidObjectTypeException.mjs +4 -4
- package/src/exceptions/MethodNotFoundException.cjs +4 -4
- package/src/exceptions/MethodNotFoundException.mjs +4 -4
- package/src/exceptions/alias/AliasExistsException.cjs +4 -4
- package/src/exceptions/alias/AliasExistsException.mjs +4 -4
- package/src/exceptions/alias/AliasNotFoundException.cjs +4 -4
- package/src/exceptions/alias/AliasNotFoundException.mjs +4 -4
- package/src/exceptions/alias/InvalidAliasNameException.cjs +4 -4
- package/src/exceptions/alias/InvalidAliasNameException.mjs +4 -4
- package/src/exceptions/di/DependencyInjectionException.cjs +4 -4
- package/src/exceptions/di/DependencyInjectionException.mjs +4 -4
- package/src/exceptions/di/LifetimeLockedException.cjs +4 -4
- package/src/exceptions/di/LifetimeLockedException.mjs +4 -4
- package/src/exceptions/di/OverridableObjectTargetConfigNotFoundException.cjs +4 -4
- package/src/exceptions/di/OverridableObjectTargetConfigNotFoundException.mjs +4 -4
- package/src/exceptions/dto/InvalidMethodAcceptException.cjs +4 -4
- package/src/exceptions/dto/InvalidMethodAcceptException.mjs +4 -4
- package/src/exceptions/dto/InvalidMethodReturnException.cjs +4 -4
- package/src/exceptions/dto/InvalidMethodReturnException.mjs +4 -4
- package/src/exceptions/dto/InvalidValueException.cjs +4 -4
- package/src/exceptions/dto/InvalidValueException.mjs +4 -4
- 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 +30 -30
- package/src/lib/base/BaseObject.mjs +30 -30
- package/src/lib/base/Context.cjs +17 -17
- package/src/lib/base/Context.mjs +17 -17
- package/src/lib/base/EventEmitter.cjs +2 -2
- package/src/lib/base/EventEmitter.mjs +2 -2
- package/src/lib/base/abstracts/Exception.cjs +4 -4
- package/src/lib/base/abstracts/Exception.mjs +4 -4
- 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 +17 -17
- package/src/lib/base/internal/ActionOptions.mjs +17 -17
- package/src/lib/base/internal/ApplicationConfigLoader.cjs +30 -30
- package/src/lib/base/internal/ApplicationConfigLoader.mjs +30 -30
- package/src/lib/base/internal/BasicInfo.cjs +4 -4
- package/src/lib/base/internal/BasicInfo.mjs +4 -4
- 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 +2 -2
- package/src/lib/base/internal/ConfigurableRecordsInjection.mjs +2 -2
- package/src/lib/base/internal/ConstructorSymbol.cjs +2 -2
- package/src/lib/base/internal/ConstructorSymbol.mjs +2 -2
- package/src/lib/base/internal/ControllerEntrypoint.cjs +9 -9
- package/src/lib/base/internal/ControllerEntrypoint.mjs +9 -9
- package/src/lib/base/internal/DataValidator.cjs +13 -13
- package/src/lib/base/internal/DataValidator.mjs +13 -13
- 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 +17 -17
- package/src/lib/base/internal/FlexibleDTO.mjs +17 -17
- package/src/lib/base/internal/GetActionDTOAndOptions.cjs +17 -17
- package/src/lib/base/internal/GetActionDTOAndOptions.mjs +17 -17
- 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 +4 -4
- package/src/lib/base/internal/MethodAssistantFunction.mjs +4 -4
- package/src/lib/base/internal/MethodValidation.cjs +17 -17
- package/src/lib/base/internal/MethodValidation.mjs +17 -17
- package/src/lib/base/internal/ModuleConfigLoader.cjs +30 -30
- package/src/lib/base/internal/ModuleConfigLoader.mjs +30 -30
- package/src/lib/base/internal/ObjectConfiguration.cjs +17 -17
- package/src/lib/base/internal/ObjectConfiguration.mjs +17 -17
- package/src/lib/base/internal/ObjectContainer.cjs +2 -2
- package/src/lib/base/internal/ObjectContainer.mjs +2 -2
- package/src/lib/base/internal/ObjectInjection.cjs +2 -2
- package/src/lib/base/internal/ObjectInjection.mjs +2 -2
- package/src/lib/base/internal/ObjectLifetime.cjs +5 -5
- package/src/lib/base/internal/ObjectLifetime.mjs +5 -5
- package/src/lib/base/internal/ObjectSchemaValidation.cjs +17 -17
- package/src/lib/base/internal/ObjectSchemaValidation.mjs +17 -17
- package/src/lib/base/internal/ObjectType.cjs +30 -30
- package/src/lib/base/internal/ObjectType.mjs +30 -30
- 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 +3 -3
- package/src/lib/base/internal/PatternManager.mjs +3 -3
- package/src/lib/base/internal/StringifyPattern.cjs +4 -4
- package/src/lib/base/internal/StringifyPattern.mjs +4 -4
- package/src/lib/base/internal/ThrowWarning.cjs +1 -1
- package/src/lib/base/internal/ThrowWarning.mjs +1 -1
- package/src/lib/context/CLIContext.cjs +17 -17
- package/src/lib/context/CLIContext.mjs +17 -17
- package/src/lib/context/HTTPContext.cjs +17 -17
- package/src/lib/context/HTTPContext.mjs +17 -17
- package/src/lib/context/ServiceContext.cjs +17 -17
- package/src/lib/context/ServiceContext.mjs +17 -17
- package/src/lib/core/Alias.cjs +4 -4
- package/src/lib/core/Alias.mjs +4 -4
- package/src/lib/core/Application.cjs +110 -110
- package/src/lib/core/Application.mjs +110 -110
- package/src/lib/core/Component.cjs +31 -31
- package/src/lib/core/Component.mjs +31 -31
- package/src/lib/core/Container.cjs +30 -30
- package/src/lib/core/Container.mjs +30 -30
- package/src/lib/core/DTO.cjs +17 -17
- package/src/lib/core/DTO.mjs +17 -17
- package/src/lib/core/Module.cjs +33 -33
- package/src/lib/core/Module.mjs +33 -33
- package/src/lib/core/Provider.cjs +30 -30
- package/src/lib/core/Provider.mjs +30 -30
- package/src/lib/core/Time.cjs +5 -5
- package/src/lib/core/Time.mjs +5 -5
- 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 +4 -4
- package/src/lib/helpers/Glob.mjs +4 -4
- 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 +3 -3
- package/src/lib/helpers/IsGlobString.mjs +3 -3
- package/src/lib/helpers/IsHtml.cjs +2 -2
- package/src/lib/helpers/IsHtml.mjs +2 -2
- 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 +17 -17
- package/src/lib/helpers/IsSymbol.mjs +17 -17
- package/src/lib/helpers/IsXML.cjs +3 -3
- package/src/lib/helpers/IsXML.mjs +3 -3
- package/src/lib/helpers/MD5.cjs +3 -3
- package/src/lib/helpers/MD5.mjs +3 -3
- 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/NoCase.cjs +1 -1
- package/src/lib/helpers/NoCase.mjs +1 -1
- package/src/lib/helpers/NonceStr.cjs +3 -3
- package/src/lib/helpers/NonceStr.mjs +3 -3
- package/src/lib/helpers/ObjectConstructor.cjs +1 -1
- package/src/lib/helpers/ObjectConstructor.mjs +1 -1
- package/src/lib/helpers/ObjectHash.cjs +2 -2
- package/src/lib/helpers/ObjectHash.mjs +2 -2
- 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 +3 -3
- package/src/lib/helpers/RandomString.mjs +3 -3
- package/src/lib/helpers/SHA1.cjs +3 -3
- package/src/lib/helpers/SHA1.mjs +3 -3
- package/src/lib/helpers/SHA256.cjs +3 -3
- package/src/lib/helpers/SHA256.mjs +3 -3
- 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 +4 -4
- package/src/lib/helpers/SortArray.mjs +4 -4
- 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 +2 -2
- package/src/lib/helpers/Statistics.mjs +2 -2
- package/src/lib/helpers/Templating.cjs +1 -1
- package/src/lib/helpers/Templating.mjs +1 -1
- package/src/lib/helpers/URLBuilder.cjs +4 -4
- package/src/lib/helpers/URLBuilder.mjs +4 -4
- package/src/lib/helpers/UUID.cjs +2 -2
- package/src/lib/helpers/UUID.mjs +2 -2
- 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 +30 -30
- package/src/lib/ioc/DependencyInjectionContainer.mjs +30 -30
- package/src/lib/ioc/Errors.cjs +17 -17
- package/src/lib/ioc/Errors.mjs +17 -17
- 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 +29 -29
- package/src/lib/ioc/ListModules.mjs +29 -29
- package/src/lib/ioc/LoadModules.cjs +17 -17
- package/src/lib/ioc/LoadModules.mjs +17 -17
- package/src/lib/ioc/ParamParser.cjs +1 -1
- package/src/lib/ioc/ParamParser.mjs +1 -1
- package/src/lib/ioc/Resolvers.cjs +17 -17
- package/src/lib/ioc/Resolvers.mjs +17 -17
- package/src/lib/ioc/Utils.cjs +17 -17
- package/src/lib/ioc/Utils.mjs +17 -17
- package/src/lib/validation/VLD.cjs +6 -6
- package/src/lib/validation/VLD.mjs +6 -6
- 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 +30 -30
- package/src/options/ApplicationOptions.mjs +30 -30
- package/src/options/LoadAnonymousObjectOptions.cjs +30 -30
- package/src/options/LoadAnonymousObjectOptions.mjs +30 -30
- package/src/options/LoadNamedObjectOptions.cjs +30 -30
- package/src/options/LoadNamedObjectOptions.mjs +30 -30
- package/src/options/LoadObjectOptions.cjs +30 -30
- package/src/options/LoadObjectOptions.mjs +30 -30
- package/src/options/ModuleLoadObjectsOptions.cjs +30 -30
- package/src/options/ModuleLoadObjectsOptions.mjs +30 -30
- package/src/options/ModuleOptions.cjs +30 -30
- package/src/options/ModuleOptions.mjs +30 -30
- package/src/options/OverridableNamedObjectOptions.cjs +30 -30
- package/src/options/OverridableNamedObjectOptions.mjs +30 -30
- package/src/options/OverridableObjectOptions.cjs +30 -30
- package/src/options/OverridableObjectOptions.mjs +30 -30
- package/src/providers/Database.cjs +73 -73
- package/src/providers/Database.mjs +73 -73
- package/src/providers/PasswordHash.cjs +31 -31
- package/src/providers/PasswordHash.mjs +31 -31
- package/src/providers/migration/GenerateMigration.cjs +110 -110
- package/src/providers/migration/GenerateMigration.mjs +110 -110
- 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.100.cjs +67 -2
- package/vendor/Package.internal.100.mjs +67 -2
- package/vendor/Package.internal.101.cjs +113 -102
- package/vendor/Package.internal.101.mjs +116 -93
- package/vendor/Package.internal.102.cjs +9 -81
- package/vendor/Package.internal.102.mjs +5 -81
- package/vendor/Package.internal.103.cjs +2 -56
- package/vendor/Package.internal.103.mjs +2 -52
- package/vendor/Package.internal.104.cjs +2 -18
- package/vendor/Package.internal.104.mjs +2 -18
- package/vendor/Package.internal.105.cjs +103 -87
- package/vendor/Package.internal.105.mjs +90 -88
- package/vendor/Package.internal.106.cjs +72 -97
- package/vendor/Package.internal.106.mjs +70 -99
- package/vendor/Package.internal.107.cjs +38 -2156
- package/vendor/Package.internal.107.mjs +37 -2159
- package/vendor/Package.internal.108.cjs +13 -2459
- package/vendor/Package.internal.108.mjs +13 -2429
- package/vendor/Package.internal.109.cjs +70 -1280
- package/vendor/Package.internal.109.mjs +73 -1269
- package/vendor/Package.internal.11.cjs +98 -100
- package/vendor/Package.internal.11.mjs +134 -134
- package/vendor/Package.internal.110.cjs +108 -28
- package/vendor/Package.internal.110.mjs +109 -27
- package/vendor/Package.internal.111.cjs +2169 -13
- package/vendor/Package.internal.111.mjs +2169 -13
- package/vendor/Package.internal.112.cjs +2456 -11
- package/vendor/Package.internal.112.mjs +2425 -12
- package/vendor/Package.internal.113.cjs +1289 -35
- package/vendor/Package.internal.113.mjs +1277 -37
- package/vendor/Package.internal.114.cjs +23 -131
- package/vendor/Package.internal.114.mjs +26 -136
- package/vendor/Package.internal.115.cjs +19 -1
- package/vendor/Package.internal.115.mjs +18 -1
- package/vendor/Package.internal.116.cjs +18 -3
- package/vendor/Package.internal.116.mjs +20 -3
- package/vendor/Package.internal.117.cjs +50 -2
- package/vendor/Package.internal.117.mjs +52 -2
- package/vendor/Package.internal.118.cjs +139 -2
- package/vendor/Package.internal.118.mjs +141 -2
- package/vendor/Package.internal.119.cjs +1 -3
- package/vendor/Package.internal.119.mjs +1 -2
- package/vendor/Package.internal.12.cjs +12469 -270
- package/vendor/Package.internal.12.mjs +12452 -271
- package/vendor/Package.internal.120.cjs +3 -46
- package/vendor/Package.internal.120.mjs +3 -46
- package/vendor/Package.internal.121.cjs +2 -12
- package/vendor/Package.internal.121.mjs +2 -14
- package/vendor/Package.internal.122.cjs +2 -10
- package/vendor/Package.internal.122.mjs +2 -12
- package/vendor/Package.internal.123.cjs +2 -18
- package/vendor/Package.internal.123.mjs +2 -18
- package/vendor/Package.internal.124.cjs +35 -104
- package/vendor/Package.internal.124.mjs +35 -104
- package/vendor/Package.internal.125.cjs +12 -16
- package/vendor/Package.internal.125.mjs +13 -15
- package/vendor/Package.internal.126.cjs +10 -17
- package/vendor/Package.internal.126.mjs +12 -17
- package/vendor/Package.internal.127.cjs +12 -8868
- package/vendor/Package.internal.127.mjs +12 -8868
- package/vendor/Package.internal.128.cjs +88 -869
- package/vendor/Package.internal.128.mjs +98 -879
- package/vendor/Package.internal.129.cjs +10 -6761
- package/vendor/Package.internal.129.mjs +10 -6769
- package/vendor/Package.internal.13.cjs +267 -701
- package/vendor/Package.internal.13.mjs +269 -703
- package/vendor/Package.internal.130.cjs +12 -466
- package/vendor/Package.internal.130.mjs +12 -454
- package/vendor/Package.internal.131.cjs +8819 -560
- package/vendor/Package.internal.131.mjs +8821 -558
- package/vendor/Package.internal.132.cjs +878 -76
- package/vendor/Package.internal.132.mjs +881 -73
- package/vendor/Package.internal.133.cjs +6767 -2
- package/vendor/Package.internal.133.mjs +6775 -2
- package/vendor/Package.internal.134.cjs +446 -3726
- package/vendor/Package.internal.134.mjs +440 -3732
- package/vendor/Package.internal.135.cjs +577 -521
- package/vendor/Package.internal.135.mjs +573 -521
- package/vendor/Package.internal.136.cjs +95 -2
- package/vendor/Package.internal.136.mjs +89 -2
- package/vendor/Package.internal.137.cjs +2 -2
- package/vendor/Package.internal.137.mjs +2 -2
- package/vendor/Package.internal.138.cjs +3751 -2
- package/vendor/Package.internal.138.mjs +3751 -2
- package/vendor/Package.internal.139.cjs +559 -2
- package/vendor/Package.internal.139.mjs +559 -2
- package/vendor/Package.internal.14.cjs +710 -905
- package/vendor/Package.internal.14.mjs +711 -894
- package/vendor/Package.internal.140.cjs +2 -2
- package/vendor/Package.internal.140.mjs +2 -2
- package/vendor/Package.internal.141.cjs +2 -2
- package/vendor/Package.internal.141.mjs +2 -2
- package/vendor/Package.internal.142.cjs +2 -2
- package/vendor/Package.internal.142.mjs +2 -2
- package/vendor/Package.internal.143.cjs +2 -2
- package/vendor/Package.internal.143.mjs +2 -2
- package/vendor/Package.internal.144.cjs +2 -2
- package/vendor/Package.internal.144.mjs +2 -2
- package/vendor/Package.internal.145.cjs +2 -2
- package/vendor/Package.internal.145.mjs +2 -2
- package/vendor/Package.internal.146.cjs +2 -2
- package/vendor/Package.internal.146.mjs +2 -2
- package/vendor/Package.internal.147.cjs +2 -406
- package/vendor/Package.internal.147.mjs +2 -400
- package/vendor/Package.internal.148.cjs +2 -102
- package/vendor/Package.internal.148.mjs +2 -104
- package/vendor/Package.internal.149.cjs +2 -25
- package/vendor/Package.internal.149.mjs +2 -27
- package/vendor/Package.internal.15.cjs +70 -40
- package/vendor/Package.internal.15.mjs +72 -44
- package/vendor/Package.internal.150.cjs +2 -2
- package/vendor/Package.internal.150.mjs +2 -2
- package/vendor/Package.internal.151.cjs +406 -2
- package/vendor/Package.internal.151.mjs +400 -2
- package/vendor/Package.internal.152.cjs +78 -697
- package/vendor/Package.internal.152.mjs +79 -698
- package/vendor/Package.internal.153.cjs +19 -1540
- package/vendor/Package.internal.153.mjs +21 -1534
- package/vendor/Package.internal.154.cjs +2 -362
- package/vendor/Package.internal.154.mjs +2 -364
- package/vendor/Package.internal.155.cjs +2 -105
- package/vendor/Package.internal.155.mjs +2 -107
- package/vendor/Package.internal.156.cjs +680 -593
- package/vendor/Package.internal.156.mjs +683 -582
- package/vendor/Package.internal.157.cjs +1444 -439
- package/vendor/Package.internal.157.mjs +1439 -432
- package/vendor/Package.internal.158.cjs +325 -566
- package/vendor/Package.internal.158.mjs +326 -567
- package/vendor/Package.internal.159.cjs +94 -126
- package/vendor/Package.internal.159.mjs +95 -119
- package/vendor/Package.internal.16.cjs +950 -232
- package/vendor/Package.internal.16.mjs +942 -236
- package/vendor/Package.internal.160.cjs +602 -85
- package/vendor/Package.internal.160.mjs +594 -83
- package/vendor/Package.internal.161.cjs +459 -1140
- package/vendor/Package.internal.161.mjs +460 -1141
- package/vendor/Package.internal.162.cjs +588 -73
- package/vendor/Package.internal.162.mjs +588 -81
- package/vendor/Package.internal.163.cjs +137 -2
- package/vendor/Package.internal.163.mjs +131 -2
- package/vendor/Package.internal.164.cjs +117 -2
- package/vendor/Package.internal.164.mjs +111 -2
- package/vendor/Package.internal.165.cjs +1204 -35
- package/vendor/Package.internal.165.mjs +1195 -36
- package/vendor/Package.internal.166.cjs +86 -6
- package/vendor/Package.internal.166.mjs +95 -7
- package/vendor/Package.internal.167.cjs +2 -10
- package/vendor/Package.internal.167.mjs +2 -6
- package/vendor/Package.internal.168.cjs +2 -163
- package/vendor/Package.internal.168.mjs +2 -163
- package/vendor/Package.internal.169.cjs +46 -14
- package/vendor/Package.internal.169.mjs +49 -9
- package/vendor/Package.internal.17.cjs +41 -429
- package/vendor/Package.internal.17.mjs +42 -430
- package/vendor/Package.internal.170.cjs +6 -247
- package/vendor/Package.internal.170.mjs +7 -246
- package/vendor/Package.internal.171.cjs +7 -944
- package/vendor/Package.internal.171.mjs +4 -945
- package/vendor/Package.internal.172.cjs +157 -19
- package/vendor/Package.internal.172.mjs +160 -24
- package/vendor/Package.internal.173.cjs +10 -67
- package/vendor/Package.internal.173.mjs +10 -67
- package/vendor/Package.internal.174.cjs +229 -633
- package/vendor/Package.internal.174.mjs +227 -631
- package/vendor/Package.internal.175.cjs +927 -55
- package/vendor/Package.internal.175.mjs +926 -54
- package/vendor/Package.internal.176.cjs +19 -1133
- package/vendor/Package.internal.176.mjs +25 -1031
- package/vendor/Package.internal.177.cjs +69 -59
- package/vendor/Package.internal.177.mjs +63 -59
- package/vendor/Package.internal.178.cjs +624 -81
- package/vendor/Package.internal.178.mjs +624 -81
- package/vendor/Package.internal.179.cjs +60 -85
- package/vendor/Package.internal.179.mjs +60 -85
- package/vendor/Package.internal.18.cjs +233 -528
- package/vendor/Package.internal.18.mjs +234 -523
- package/vendor/Package.internal.180.cjs +940 -45249
- package/vendor/Package.internal.180.mjs +869 -45268
- package/vendor/Package.internal.181.cjs +66 -4
- package/vendor/Package.internal.181.mjs +66 -4
- package/vendor/Package.internal.182.cjs +103 -21
- package/vendor/Package.internal.182.mjs +103 -21
- package/vendor/Package.internal.183.cjs +84 -299
- package/vendor/Package.internal.183.mjs +84 -299
- package/vendor/Package.internal.184.cjs +45316 -809
- package/vendor/Package.internal.184.mjs +45270 -789
- package/vendor/Package.internal.185.cjs +4 -1086
- package/vendor/Package.internal.185.mjs +4 -1088
- package/vendor/Package.internal.186.cjs +21 -156
- package/vendor/Package.internal.186.mjs +20 -157
- package/vendor/Package.internal.187.cjs +310 -8
- package/vendor/Package.internal.187.mjs +310 -8
- package/vendor/Package.internal.188.cjs +936 -7
- package/vendor/Package.internal.188.mjs +947 -8
- package/vendor/Package.internal.189.cjs +1072 -31
- package/vendor/Package.internal.189.mjs +1074 -31
- package/vendor/Package.internal.19.cjs +427 -217
- package/vendor/Package.internal.19.mjs +433 -223
- package/vendor/Package.internal.190.cjs +134 -462
- package/vendor/Package.internal.190.mjs +135 -441
- package/vendor/Package.internal.191.cjs +13 -2
- package/vendor/Package.internal.191.mjs +13 -2
- package/vendor/Package.internal.192.cjs +12 -2
- package/vendor/Package.internal.192.mjs +12 -2
- package/vendor/Package.internal.193.cjs +47 -2
- package/vendor/Package.internal.193.mjs +47 -2
- package/vendor/Package.internal.194.cjs +491 -2
- package/vendor/Package.internal.194.mjs +471 -2
- package/vendor/Package.internal.195.cjs +2 -2
- package/vendor/Package.internal.195.mjs +2 -2
- package/vendor/Package.internal.196.cjs +2 -2
- package/vendor/Package.internal.196.mjs +2 -2
- package/vendor/Package.internal.197.cjs +2 -2
- package/vendor/Package.internal.197.mjs +2 -2
- package/vendor/Package.internal.198.cjs +2 -2
- package/vendor/Package.internal.198.mjs +2 -2
- package/vendor/Package.internal.199.cjs +4 -0
- package/vendor/Package.internal.199.mjs +2 -0
- package/vendor/Package.internal.2.cjs +1 -1
- package/vendor/Package.internal.2.mjs +1 -1
- package/vendor/Package.internal.20.cjs +525 -957
- package/vendor/Package.internal.20.mjs +521 -959
- package/vendor/Package.internal.200.cjs +4 -0
- package/vendor/Package.internal.200.mjs +2 -0
- package/vendor/Package.internal.201.cjs +4 -0
- package/vendor/Package.internal.201.mjs +2 -0
- package/vendor/Package.internal.202.cjs +4 -0
- package/vendor/Package.internal.202.mjs +2 -0
- package/vendor/Package.internal.21.cjs +406 -8
- package/vendor/Package.internal.21.mjs +408 -8
- package/vendor/Package.internal.22.cjs +913 -123
- package/vendor/Package.internal.22.mjs +909 -123
- package/vendor/Package.internal.23.cjs +214 -136
- package/vendor/Package.internal.23.mjs +215 -135
- package/vendor/Package.internal.24.cjs +996 -5
- package/vendor/Package.internal.24.mjs +998 -5
- package/vendor/Package.internal.25.cjs +8 -20
- package/vendor/Package.internal.25.mjs +7 -19
- package/vendor/Package.internal.26.cjs +120 -473
- package/vendor/Package.internal.26.mjs +120 -469
- package/vendor/Package.internal.27.cjs +127 -60
- package/vendor/Package.internal.27.mjs +128 -57
- package/vendor/Package.internal.28.cjs +6 -2
- package/vendor/Package.internal.28.mjs +6 -2
- package/vendor/Package.internal.29.cjs +16 -35
- package/vendor/Package.internal.29.mjs +16 -35
- package/vendor/Package.internal.3.cjs +1 -1
- package/vendor/Package.internal.3.mjs +1 -1
- package/vendor/Package.internal.30.cjs +473 -21
- package/vendor/Package.internal.30.mjs +472 -24
- package/vendor/Package.internal.31.cjs +77 -9
- package/vendor/Package.internal.31.mjs +73 -9
- package/vendor/Package.internal.32.cjs +2 -189
- package/vendor/Package.internal.32.mjs +2 -191
- package/vendor/Package.internal.33.cjs +31 -53
- package/vendor/Package.internal.33.mjs +32 -54
- package/vendor/Package.internal.34.cjs +20 -160
- package/vendor/Package.internal.34.mjs +24 -166
- package/vendor/Package.internal.35.cjs +10 -2072
- package/vendor/Package.internal.35.mjs +10 -2068
- package/vendor/Package.internal.36.cjs +186 -517
- package/vendor/Package.internal.36.mjs +189 -512
- package/vendor/Package.internal.37.cjs +57 -413
- package/vendor/Package.internal.37.mjs +57 -409
- package/vendor/Package.internal.38.cjs +132 -2329
- package/vendor/Package.internal.38.mjs +133 -2318
- package/vendor/Package.internal.39.cjs +2063 -50
- package/vendor/Package.internal.39.mjs +2058 -57
- package/vendor/Package.internal.4.cjs +1 -1
- package/vendor/Package.internal.4.mjs +1 -1
- package/vendor/Package.internal.40.cjs +507 -137
- package/vendor/Package.internal.40.mjs +504 -140
- package/vendor/Package.internal.41.cjs +355 -573
- package/vendor/Package.internal.41.mjs +353 -577
- package/vendor/Package.internal.42.cjs +2315 -196
- package/vendor/Package.internal.42.mjs +2307 -200
- package/vendor/Package.internal.43.cjs +57 -222
- package/vendor/Package.internal.43.mjs +64 -217
- package/vendor/Package.internal.44.cjs +150 -2
- package/vendor/Package.internal.44.mjs +150 -2
- package/vendor/Package.internal.45.cjs +591 -317
- package/vendor/Package.internal.45.mjs +596 -316
- package/vendor/Package.internal.46.cjs +236 -31
- package/vendor/Package.internal.46.mjs +238 -31
- package/vendor/Package.internal.47.cjs +217 -46
- package/vendor/Package.internal.47.mjs +213 -46
- package/vendor/Package.internal.48.cjs +2 -23
- package/vendor/Package.internal.48.mjs +2 -23
- package/vendor/Package.internal.49.cjs +354 -87
- package/vendor/Package.internal.49.mjs +351 -82
- package/vendor/Package.internal.5.cjs +1 -1
- package/vendor/Package.internal.5.mjs +1 -1
- package/vendor/Package.internal.50.cjs +33 -79
- package/vendor/Package.internal.50.mjs +33 -79
- package/vendor/Package.internal.51.cjs +46 -81
- package/vendor/Package.internal.51.mjs +45 -68
- package/vendor/Package.internal.52.cjs +18 -21
- package/vendor/Package.internal.52.mjs +18 -21
- package/vendor/Package.internal.53.cjs +78 -335
- package/vendor/Package.internal.53.mjs +73 -336
- package/vendor/Package.internal.54.cjs +86 -2
- package/vendor/Package.internal.54.mjs +86 -2
- package/vendor/Package.internal.55.cjs +64 -172
- package/vendor/Package.internal.55.mjs +58 -174
- package/vendor/Package.internal.56.cjs +23 -22
- package/vendor/Package.internal.56.mjs +23 -24
- package/vendor/Package.internal.57.cjs +353 -2
- package/vendor/Package.internal.57.mjs +353 -2
- package/vendor/Package.internal.58.cjs +2 -198
- package/vendor/Package.internal.58.mjs +2 -200
- package/vendor/Package.internal.59.cjs +127 -3945
- package/vendor/Package.internal.59.mjs +126 -3958
- package/vendor/Package.internal.6.cjs +2 -2
- package/vendor/Package.internal.6.mjs +2 -2
- package/vendor/Package.internal.60.cjs +25 -2
- package/vendor/Package.internal.60.mjs +27 -2
- package/vendor/Package.internal.61.cjs +2 -319
- package/vendor/Package.internal.61.mjs +2 -321
- package/vendor/Package.internal.62.cjs +175 -340
- package/vendor/Package.internal.62.mjs +177 -340
- package/vendor/Package.internal.63.cjs +3959 -343
- package/vendor/Package.internal.63.mjs +3967 -335
- package/vendor/Package.internal.64.cjs +2 -125
- package/vendor/Package.internal.64.mjs +2 -125
- package/vendor/Package.internal.65.cjs +314 -24
- package/vendor/Package.internal.65.mjs +316 -24
- package/vendor/Package.internal.66.cjs +347 -69
- package/vendor/Package.internal.66.mjs +350 -72
- package/vendor/Package.internal.67.cjs +386 -44
- package/vendor/Package.internal.67.mjs +386 -50
- package/vendor/Package.internal.68.cjs +115 -22
- package/vendor/Package.internal.68.mjs +114 -21
- package/vendor/Package.internal.69.cjs +29 -2
- package/vendor/Package.internal.69.mjs +29 -2
- package/vendor/Package.internal.7.cjs +1 -1
- package/vendor/Package.internal.7.mjs +1 -1
- package/vendor/Package.internal.70.cjs +67 -664
- package/vendor/Package.internal.70.mjs +67 -644
- package/vendor/Package.internal.71.cjs +41 -13876
- package/vendor/Package.internal.71.mjs +41 -13852
- package/vendor/Package.internal.72.cjs +26 -29
- package/vendor/Package.internal.72.mjs +27 -26
- package/vendor/Package.internal.73.cjs +2 -4075
- package/vendor/Package.internal.73.mjs +2 -4077
- package/vendor/Package.internal.74.cjs +654 -1634
- package/vendor/Package.internal.74.mjs +633 -1635
- package/vendor/Package.internal.75.cjs +13834 -197
- package/vendor/Package.internal.75.mjs +13810 -197
- package/vendor/Package.internal.76.cjs +25 -4952
- package/vendor/Package.internal.76.mjs +23 -4940
- package/vendor/Package.internal.77.cjs +3975 -1137
- package/vendor/Package.internal.77.mjs +3979 -1127
- package/vendor/Package.internal.78.cjs +1635 -311
- package/vendor/Package.internal.78.mjs +1637 -299
- package/vendor/Package.internal.79.cjs +248 -23
- package/vendor/Package.internal.79.mjs +251 -26
- package/vendor/Package.internal.8.cjs +1 -1
- package/vendor/Package.internal.8.mjs +1 -1
- package/vendor/Package.internal.80.cjs +4941 -65
- package/vendor/Package.internal.80.mjs +4926 -66
- package/vendor/Package.internal.81.cjs +1221 -37
- package/vendor/Package.internal.81.mjs +1208 -38
- package/vendor/Package.internal.82.cjs +334 -9
- package/vendor/Package.internal.82.mjs +322 -9
- package/vendor/Package.internal.83.cjs +32 -1353
- package/vendor/Package.internal.83.mjs +32 -1355
- package/vendor/Package.internal.84.cjs +82 -6
- package/vendor/Package.internal.84.mjs +86 -4
- package/vendor/Package.internal.85.cjs +53 -2
- package/vendor/Package.internal.85.mjs +55 -2
- package/vendor/Package.internal.86.cjs +8 -344
- package/vendor/Package.internal.86.mjs +8 -346
- package/vendor/Package.internal.87.cjs +1351 -76
- package/vendor/Package.internal.87.mjs +1352 -77
- package/vendor/Package.internal.88.cjs +6 -1439
- package/vendor/Package.internal.88.mjs +4 -1431
- package/vendor/Package.internal.89.cjs +2 -142
- package/vendor/Package.internal.89.mjs +2 -142
- package/vendor/Package.internal.9.cjs +1 -1
- package/vendor/Package.internal.9.mjs +1 -1
- package/vendor/Package.internal.90.cjs +274 -1745
- package/vendor/Package.internal.90.mjs +275 -1738
- package/vendor/Package.internal.91.cjs +67 -117
- package/vendor/Package.internal.91.mjs +69 -113
- package/vendor/Package.internal.92.cjs +1388 -151
- package/vendor/Package.internal.92.mjs +1377 -152
- package/vendor/Package.internal.93.cjs +94 -1591
- package/vendor/Package.internal.93.mjs +94 -1593
- package/vendor/Package.internal.94.cjs +1802 -54
- package/vendor/Package.internal.94.mjs +1799 -59
- package/vendor/Package.internal.95.cjs +126 -24
- package/vendor/Package.internal.95.mjs +121 -25
- package/vendor/Package.internal.96.cjs +189 -50
- package/vendor/Package.internal.96.mjs +194 -53
- package/vendor/Package.internal.97.cjs +1611 -93
- package/vendor/Package.internal.97.mjs +1615 -95
- package/vendor/Package.internal.98.cjs +66 -8
- package/vendor/Package.internal.98.mjs +71 -5
- package/vendor/Package.internal.99.cjs +26 -2
- package/vendor/Package.internal.99.mjs +28 -2
|
@@ -1,52 +1,1292 @@
|
|
|
1
|
-
/* Build Date: Mon Nov 24 2025
|
|
2
|
-
import {
|
|
1
|
+
/* Build Date: Mon Nov 24 2025 18:02:01 GMT+0800 (China Standard Time) */
|
|
2
|
+
import { c as t } from "./Package.internal.8.mjs";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
import e, { EventEmitter as s } from "node:events";
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
switch (r(s)) {
|
|
8
|
-
case "boolean":
|
|
9
|
-
case "date":
|
|
10
|
-
case "function":
|
|
11
|
-
case "null":
|
|
12
|
-
case "number":
|
|
13
|
-
return true;
|
|
6
|
+
import i from "node:stream";
|
|
14
7
|
|
|
15
|
-
|
|
16
|
-
return false;
|
|
8
|
+
import r, { StringDecoder as n } from "node:string_decoder";
|
|
17
9
|
|
|
18
|
-
|
|
19
|
-
return s.source !== "(?:)" && s.source !== "";
|
|
10
|
+
var o = {};
|
|
20
11
|
|
|
21
|
-
|
|
22
|
-
return s.toString() !== "";
|
|
12
|
+
var h;
|
|
23
13
|
|
|
24
|
-
|
|
25
|
-
|
|
14
|
+
function f() {
|
|
15
|
+
if (h) return o;
|
|
16
|
+
h = 1;
|
|
17
|
+
(function(s) {
|
|
18
|
+
var n = t && t.__importDefault || function(t) {
|
|
19
|
+
return t && t.__esModule ? t : {
|
|
20
|
+
default: t
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
Object.defineProperty(s, "__esModule", {
|
|
24
|
+
value: true
|
|
25
|
+
});
|
|
26
|
+
s.Minipass = s.isWritable = s.isReadable = s.isStream = void 0;
|
|
27
|
+
const o = typeof process === "object" && process ? process : {
|
|
28
|
+
stdout: null,
|
|
29
|
+
stderr: null
|
|
30
|
+
};
|
|
31
|
+
const h = e;
|
|
32
|
+
const f = n(i);
|
|
33
|
+
const a = r;
|
|
34
|
+
const l = t => !!t && typeof t === "object" && (t instanceof Minipass || t instanceof f.default || (0,
|
|
35
|
+
s.isReadable)(t) || (0, s.isWritable)(t));
|
|
36
|
+
s.isStream = l;
|
|
37
|
+
const u = t => !!t && typeof t === "object" && t instanceof h.EventEmitter && typeof t.pipe === "function" && t.pipe !== f.default.Writable.prototype.pipe;
|
|
38
|
+
s.isReadable = u;
|
|
39
|
+
const c = t => !!t && typeof t === "object" && t instanceof h.EventEmitter && typeof t.write === "function" && typeof t.end === "function";
|
|
40
|
+
s.isWritable = c;
|
|
41
|
+
const d = Symbol("EOF");
|
|
42
|
+
const m = Symbol("maybeEmitEnd");
|
|
43
|
+
const p = Symbol("emittedEnd");
|
|
44
|
+
const b = Symbol("emittingEnd");
|
|
45
|
+
const y = Symbol("emittedError");
|
|
46
|
+
const g = Symbol("closed");
|
|
47
|
+
const w = Symbol("read");
|
|
48
|
+
const E = Symbol("flush");
|
|
49
|
+
const S = Symbol("flushChunk");
|
|
50
|
+
const v = Symbol("encoding");
|
|
51
|
+
const j = Symbol("decoder");
|
|
52
|
+
const L = Symbol("flowing");
|
|
53
|
+
const x = Symbol("paused");
|
|
54
|
+
const M = Symbol("resume");
|
|
55
|
+
const P = Symbol("buffer");
|
|
56
|
+
const B = Symbol("pipes");
|
|
57
|
+
const A = Symbol("bufferLength");
|
|
58
|
+
const O = Symbol("bufferPush");
|
|
59
|
+
const R = Symbol("bufferShift");
|
|
60
|
+
const _ = Symbol("objectMode");
|
|
61
|
+
const D = Symbol("destroyed");
|
|
62
|
+
const T = Symbol("error");
|
|
63
|
+
const W = Symbol("emitData");
|
|
64
|
+
const C = Symbol("emitEnd");
|
|
65
|
+
const I = Symbol("emitEnd2");
|
|
66
|
+
const N = Symbol("async");
|
|
67
|
+
const k = Symbol("abort");
|
|
68
|
+
const F = Symbol("aborted");
|
|
69
|
+
const V = Symbol("signal");
|
|
70
|
+
const Y = Symbol("dataListeners");
|
|
71
|
+
const q = Symbol("discarded");
|
|
72
|
+
const z = t => Promise.resolve().then(t);
|
|
73
|
+
const G = t => t();
|
|
74
|
+
const H = t => t === "end" || t === "finish" || t === "prefinish";
|
|
75
|
+
const J = t => t instanceof ArrayBuffer || !!t && typeof t === "object" && t.constructor && t.constructor.name === "ArrayBuffer" && t.byteLength >= 0;
|
|
76
|
+
const K = t => !Buffer.isBuffer(t) && ArrayBuffer.isView(t);
|
|
77
|
+
class Pipe {
|
|
78
|
+
src;
|
|
79
|
+
dest;
|
|
80
|
+
opts;
|
|
81
|
+
ondrain;
|
|
82
|
+
constructor(t, e, s) {
|
|
83
|
+
this.src = t;
|
|
84
|
+
this.dest = e;
|
|
85
|
+
this.opts = s;
|
|
86
|
+
this.ondrain = () => t[M]();
|
|
87
|
+
this.dest.on("drain", this.ondrain);
|
|
88
|
+
}
|
|
89
|
+
unpipe() {
|
|
90
|
+
this.dest.removeListener("drain", this.ondrain);
|
|
91
|
+
}
|
|
92
|
+
proxyErrors(t) {}
|
|
93
|
+
end() {
|
|
94
|
+
this.unpipe();
|
|
95
|
+
if (this.opts.end) this.dest.end();
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
class PipeProxyErrors extends Pipe {
|
|
99
|
+
unpipe() {
|
|
100
|
+
this.src.removeListener("error", this.proxyErrors);
|
|
101
|
+
super.unpipe();
|
|
102
|
+
}
|
|
103
|
+
constructor(t, e, s) {
|
|
104
|
+
super(t, e, s);
|
|
105
|
+
this.proxyErrors = t => e.emit("error", t);
|
|
106
|
+
t.on("error", this.proxyErrors);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
const Q = t => !!t.objectMode;
|
|
110
|
+
const U = t => !t.objectMode && !!t.encoding && t.encoding !== "buffer";
|
|
111
|
+
class Minipass extends h.EventEmitter {
|
|
112
|
+
[L]=false;
|
|
113
|
+
[x]=false;
|
|
114
|
+
[B]=[];
|
|
115
|
+
[P]=[];
|
|
116
|
+
[_];
|
|
117
|
+
[v];
|
|
118
|
+
[N];
|
|
119
|
+
[j];
|
|
120
|
+
[d]=false;
|
|
121
|
+
[p]=false;
|
|
122
|
+
[b]=false;
|
|
123
|
+
[g]=false;
|
|
124
|
+
[y]=null;
|
|
125
|
+
[A]=0;
|
|
126
|
+
[D]=false;
|
|
127
|
+
[V];
|
|
128
|
+
[F]=false;
|
|
129
|
+
[Y]=0;
|
|
130
|
+
[q]=false;
|
|
131
|
+
writable=true;
|
|
132
|
+
readable=true;
|
|
133
|
+
constructor(...t) {
|
|
134
|
+
const e = t[0] || {};
|
|
135
|
+
super();
|
|
136
|
+
if (e.objectMode && typeof e.encoding === "string") {
|
|
137
|
+
throw new TypeError("Encoding and objectMode may not be used together");
|
|
138
|
+
}
|
|
139
|
+
if (Q(e)) {
|
|
140
|
+
this[_] = true;
|
|
141
|
+
this[v] = null;
|
|
142
|
+
} else if (U(e)) {
|
|
143
|
+
this[v] = e.encoding;
|
|
144
|
+
this[_] = false;
|
|
145
|
+
} else {
|
|
146
|
+
this[_] = false;
|
|
147
|
+
this[v] = null;
|
|
148
|
+
}
|
|
149
|
+
this[N] = !!e.async;
|
|
150
|
+
this[j] = this[v] ? new a.StringDecoder(this[v]) : null;
|
|
151
|
+
if (e && e.debugExposeBuffer === true) {
|
|
152
|
+
Object.defineProperty(this, "buffer", {
|
|
153
|
+
get: () => this[P]
|
|
154
|
+
});
|
|
155
|
+
}
|
|
156
|
+
if (e && e.debugExposePipes === true) {
|
|
157
|
+
Object.defineProperty(this, "pipes", {
|
|
158
|
+
get: () => this[B]
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
const {signal: s} = e;
|
|
162
|
+
if (s) {
|
|
163
|
+
this[V] = s;
|
|
164
|
+
if (s.aborted) {
|
|
165
|
+
this[k]();
|
|
166
|
+
} else {
|
|
167
|
+
s.addEventListener("abort", () => this[k]());
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
get bufferLength() {
|
|
172
|
+
return this[A];
|
|
173
|
+
}
|
|
174
|
+
get encoding() {
|
|
175
|
+
return this[v];
|
|
176
|
+
}
|
|
177
|
+
set encoding(t) {
|
|
178
|
+
throw new Error("Encoding must be set at instantiation time");
|
|
179
|
+
}
|
|
180
|
+
setEncoding(t) {
|
|
181
|
+
throw new Error("Encoding must be set at instantiation time");
|
|
182
|
+
}
|
|
183
|
+
get objectMode() {
|
|
184
|
+
return this[_];
|
|
185
|
+
}
|
|
186
|
+
set objectMode(t) {
|
|
187
|
+
throw new Error("objectMode must be set at instantiation time");
|
|
188
|
+
}
|
|
189
|
+
get ["async"]() {
|
|
190
|
+
return this[N];
|
|
191
|
+
}
|
|
192
|
+
set ["async"](t) {
|
|
193
|
+
this[N] = this[N] || !!t;
|
|
194
|
+
}
|
|
195
|
+
[k]() {
|
|
196
|
+
this[F] = true;
|
|
197
|
+
this.emit("abort", this[V]?.reason);
|
|
198
|
+
this.destroy(this[V]?.reason);
|
|
199
|
+
}
|
|
200
|
+
get aborted() {
|
|
201
|
+
return this[F];
|
|
202
|
+
}
|
|
203
|
+
set aborted(t) {}
|
|
204
|
+
write(t, e, s) {
|
|
205
|
+
if (this[F]) return false;
|
|
206
|
+
if (this[d]) throw new Error("write after end");
|
|
207
|
+
if (this[D]) {
|
|
208
|
+
this.emit("error", Object.assign(new Error("Cannot call write after a stream was destroyed"), {
|
|
209
|
+
code: "ERR_STREAM_DESTROYED"
|
|
210
|
+
}));
|
|
211
|
+
return true;
|
|
212
|
+
}
|
|
213
|
+
if (typeof e === "function") {
|
|
214
|
+
s = e;
|
|
215
|
+
e = "utf8";
|
|
216
|
+
}
|
|
217
|
+
if (!e) e = "utf8";
|
|
218
|
+
const i = this[N] ? z : G;
|
|
219
|
+
if (!this[_] && !Buffer.isBuffer(t)) {
|
|
220
|
+
if (K(t)) {
|
|
221
|
+
t = Buffer.from(t.buffer, t.byteOffset, t.byteLength);
|
|
222
|
+
} else if (J(t)) {
|
|
223
|
+
t = Buffer.from(t);
|
|
224
|
+
} else if (typeof t !== "string") {
|
|
225
|
+
throw new Error("Non-contiguous data written to non-objectMode stream");
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
if (this[_]) {
|
|
229
|
+
if (this[L] && this[A] !== 0) this[E](true);
|
|
230
|
+
if (this[L]) this.emit("data", t); else this[O](t);
|
|
231
|
+
if (this[A] !== 0) this.emit("readable");
|
|
232
|
+
if (s) i(s);
|
|
233
|
+
return this[L];
|
|
234
|
+
}
|
|
235
|
+
if (!t.length) {
|
|
236
|
+
if (this[A] !== 0) this.emit("readable");
|
|
237
|
+
if (s) i(s);
|
|
238
|
+
return this[L];
|
|
239
|
+
}
|
|
240
|
+
if (typeof t === "string" && !(e === this[v] && !this[j]?.lastNeed)) {
|
|
241
|
+
t = Buffer.from(t, e);
|
|
242
|
+
}
|
|
243
|
+
if (Buffer.isBuffer(t) && this[v]) {
|
|
244
|
+
t = this[j].write(t);
|
|
245
|
+
}
|
|
246
|
+
if (this[L] && this[A] !== 0) this[E](true);
|
|
247
|
+
if (this[L]) this.emit("data", t); else this[O](t);
|
|
248
|
+
if (this[A] !== 0) this.emit("readable");
|
|
249
|
+
if (s) i(s);
|
|
250
|
+
return this[L];
|
|
251
|
+
}
|
|
252
|
+
read(t) {
|
|
253
|
+
if (this[D]) return null;
|
|
254
|
+
this[q] = false;
|
|
255
|
+
if (this[A] === 0 || t === 0 || t && t > this[A]) {
|
|
256
|
+
this[m]();
|
|
257
|
+
return null;
|
|
258
|
+
}
|
|
259
|
+
if (this[_]) t = null;
|
|
260
|
+
if (this[P].length > 1 && !this[_]) {
|
|
261
|
+
this[P] = [ this[v] ? this[P].join("") : Buffer.concat(this[P], this[A]) ];
|
|
262
|
+
}
|
|
263
|
+
const e = this[w](t || null, this[P][0]);
|
|
264
|
+
this[m]();
|
|
265
|
+
return e;
|
|
266
|
+
}
|
|
267
|
+
[w](t, e) {
|
|
268
|
+
if (this[_]) this[R](); else {
|
|
269
|
+
const s = e;
|
|
270
|
+
if (t === s.length || t === null) this[R](); else if (typeof s === "string") {
|
|
271
|
+
this[P][0] = s.slice(t);
|
|
272
|
+
e = s.slice(0, t);
|
|
273
|
+
this[A] -= t;
|
|
274
|
+
} else {
|
|
275
|
+
this[P][0] = s.subarray(t);
|
|
276
|
+
e = s.subarray(0, t);
|
|
277
|
+
this[A] -= t;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
this.emit("data", e);
|
|
281
|
+
if (!this[P].length && !this[d]) this.emit("drain");
|
|
282
|
+
return e;
|
|
283
|
+
}
|
|
284
|
+
end(t, e, s) {
|
|
285
|
+
if (typeof t === "function") {
|
|
286
|
+
s = t;
|
|
287
|
+
t = undefined;
|
|
288
|
+
}
|
|
289
|
+
if (typeof e === "function") {
|
|
290
|
+
s = e;
|
|
291
|
+
e = "utf8";
|
|
292
|
+
}
|
|
293
|
+
if (t !== undefined) this.write(t, e);
|
|
294
|
+
if (s) this.once("end", s);
|
|
295
|
+
this[d] = true;
|
|
296
|
+
this.writable = false;
|
|
297
|
+
if (this[L] || !this[x]) this[m]();
|
|
298
|
+
return this;
|
|
299
|
+
}
|
|
300
|
+
[M]() {
|
|
301
|
+
if (this[D]) return;
|
|
302
|
+
if (!this[Y] && !this[B].length) {
|
|
303
|
+
this[q] = true;
|
|
304
|
+
}
|
|
305
|
+
this[x] = false;
|
|
306
|
+
this[L] = true;
|
|
307
|
+
this.emit("resume");
|
|
308
|
+
if (this[P].length) this[E](); else if (this[d]) this[m](); else this.emit("drain");
|
|
309
|
+
}
|
|
310
|
+
resume() {
|
|
311
|
+
return this[M]();
|
|
312
|
+
}
|
|
313
|
+
pause() {
|
|
314
|
+
this[L] = false;
|
|
315
|
+
this[x] = true;
|
|
316
|
+
this[q] = false;
|
|
317
|
+
}
|
|
318
|
+
get destroyed() {
|
|
319
|
+
return this[D];
|
|
320
|
+
}
|
|
321
|
+
get flowing() {
|
|
322
|
+
return this[L];
|
|
323
|
+
}
|
|
324
|
+
get paused() {
|
|
325
|
+
return this[x];
|
|
326
|
+
}
|
|
327
|
+
[O](t) {
|
|
328
|
+
if (this[_]) this[A] += 1; else this[A] += t.length;
|
|
329
|
+
this[P].push(t);
|
|
330
|
+
}
|
|
331
|
+
[R]() {
|
|
332
|
+
if (this[_]) this[A] -= 1; else this[A] -= this[P][0].length;
|
|
333
|
+
return this[P].shift();
|
|
334
|
+
}
|
|
335
|
+
[E](t = false) {
|
|
336
|
+
do {} while (this[S](this[R]()) && this[P].length);
|
|
337
|
+
if (!t && !this[P].length && !this[d]) this.emit("drain");
|
|
338
|
+
}
|
|
339
|
+
[S](t) {
|
|
340
|
+
this.emit("data", t);
|
|
341
|
+
return this[L];
|
|
342
|
+
}
|
|
343
|
+
pipe(t, e) {
|
|
344
|
+
if (this[D]) return t;
|
|
345
|
+
this[q] = false;
|
|
346
|
+
const s = this[p];
|
|
347
|
+
e = e || {};
|
|
348
|
+
if (t === o.stdout || t === o.stderr) e.end = false; else e.end = e.end !== false;
|
|
349
|
+
e.proxyErrors = !!e.proxyErrors;
|
|
350
|
+
if (s) {
|
|
351
|
+
if (e.end) t.end();
|
|
352
|
+
} else {
|
|
353
|
+
this[B].push(!e.proxyErrors ? new Pipe(this, t, e) : new PipeProxyErrors(this, t, e));
|
|
354
|
+
if (this[N]) z(() => this[M]()); else this[M]();
|
|
355
|
+
}
|
|
356
|
+
return t;
|
|
357
|
+
}
|
|
358
|
+
unpipe(t) {
|
|
359
|
+
const e = this[B].find(e => e.dest === t);
|
|
360
|
+
if (e) {
|
|
361
|
+
if (this[B].length === 1) {
|
|
362
|
+
if (this[L] && this[Y] === 0) {
|
|
363
|
+
this[L] = false;
|
|
364
|
+
}
|
|
365
|
+
this[B] = [];
|
|
366
|
+
} else this[B].splice(this[B].indexOf(e), 1);
|
|
367
|
+
e.unpipe();
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
addListener(t, e) {
|
|
371
|
+
return this.on(t, e);
|
|
372
|
+
}
|
|
373
|
+
on(t, e) {
|
|
374
|
+
const s = super.on(t, e);
|
|
375
|
+
if (t === "data") {
|
|
376
|
+
this[q] = false;
|
|
377
|
+
this[Y]++;
|
|
378
|
+
if (!this[B].length && !this[L]) {
|
|
379
|
+
this[M]();
|
|
380
|
+
}
|
|
381
|
+
} else if (t === "readable" && this[A] !== 0) {
|
|
382
|
+
super.emit("readable");
|
|
383
|
+
} else if (H(t) && this[p]) {
|
|
384
|
+
super.emit(t);
|
|
385
|
+
this.removeAllListeners(t);
|
|
386
|
+
} else if (t === "error" && this[y]) {
|
|
387
|
+
const t = e;
|
|
388
|
+
if (this[N]) z(() => t.call(this, this[y])); else t.call(this, this[y]);
|
|
389
|
+
}
|
|
390
|
+
return s;
|
|
391
|
+
}
|
|
392
|
+
removeListener(t, e) {
|
|
393
|
+
return this.off(t, e);
|
|
394
|
+
}
|
|
395
|
+
off(t, e) {
|
|
396
|
+
const s = super.off(t, e);
|
|
397
|
+
if (t === "data") {
|
|
398
|
+
this[Y] = this.listeners("data").length;
|
|
399
|
+
if (this[Y] === 0 && !this[q] && !this[B].length) {
|
|
400
|
+
this[L] = false;
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
return s;
|
|
404
|
+
}
|
|
405
|
+
removeAllListeners(t) {
|
|
406
|
+
const e = super.removeAllListeners(t);
|
|
407
|
+
if (t === "data" || t === undefined) {
|
|
408
|
+
this[Y] = 0;
|
|
409
|
+
if (!this[q] && !this[B].length) {
|
|
410
|
+
this[L] = false;
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
return e;
|
|
414
|
+
}
|
|
415
|
+
get emittedEnd() {
|
|
416
|
+
return this[p];
|
|
417
|
+
}
|
|
418
|
+
[m]() {
|
|
419
|
+
if (!this[b] && !this[p] && !this[D] && this[P].length === 0 && this[d]) {
|
|
420
|
+
this[b] = true;
|
|
421
|
+
this.emit("end");
|
|
422
|
+
this.emit("prefinish");
|
|
423
|
+
this.emit("finish");
|
|
424
|
+
if (this[g]) this.emit("close");
|
|
425
|
+
this[b] = false;
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
emit(t, ...e) {
|
|
429
|
+
const s = e[0];
|
|
430
|
+
if (t !== "error" && t !== "close" && t !== D && this[D]) {
|
|
431
|
+
return false;
|
|
432
|
+
} else if (t === "data") {
|
|
433
|
+
return !this[_] && !s ? false : this[N] ? (z(() => this[W](s)), true) : this[W](s);
|
|
434
|
+
} else if (t === "end") {
|
|
435
|
+
return this[C]();
|
|
436
|
+
} else if (t === "close") {
|
|
437
|
+
this[g] = true;
|
|
438
|
+
if (!this[p] && !this[D]) return false;
|
|
439
|
+
const t = super.emit("close");
|
|
440
|
+
this.removeAllListeners("close");
|
|
441
|
+
return t;
|
|
442
|
+
} else if (t === "error") {
|
|
443
|
+
this[y] = s;
|
|
444
|
+
super.emit(T, s);
|
|
445
|
+
const t = !this[V] || this.listeners("error").length ? super.emit("error", s) : false;
|
|
446
|
+
this[m]();
|
|
447
|
+
return t;
|
|
448
|
+
} else if (t === "resume") {
|
|
449
|
+
const t = super.emit("resume");
|
|
450
|
+
this[m]();
|
|
451
|
+
return t;
|
|
452
|
+
} else if (t === "finish" || t === "prefinish") {
|
|
453
|
+
const e = super.emit(t);
|
|
454
|
+
this.removeAllListeners(t);
|
|
455
|
+
return e;
|
|
456
|
+
}
|
|
457
|
+
const i = super.emit(t, ...e);
|
|
458
|
+
this[m]();
|
|
459
|
+
return i;
|
|
460
|
+
}
|
|
461
|
+
[W](t) {
|
|
462
|
+
for (const e of this[B]) {
|
|
463
|
+
if (e.dest.write(t) === false) this.pause();
|
|
464
|
+
}
|
|
465
|
+
const e = this[q] ? false : super.emit("data", t);
|
|
466
|
+
this[m]();
|
|
467
|
+
return e;
|
|
468
|
+
}
|
|
469
|
+
[C]() {
|
|
470
|
+
if (this[p]) return false;
|
|
471
|
+
this[p] = true;
|
|
472
|
+
this.readable = false;
|
|
473
|
+
return this[N] ? (z(() => this[I]()), true) : this[I]();
|
|
474
|
+
}
|
|
475
|
+
[I]() {
|
|
476
|
+
if (this[j]) {
|
|
477
|
+
const t = this[j].end();
|
|
478
|
+
if (t) {
|
|
479
|
+
for (const e of this[B]) {
|
|
480
|
+
e.dest.write(t);
|
|
481
|
+
}
|
|
482
|
+
if (!this[q]) super.emit("data", t);
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
for (const t of this[B]) {
|
|
486
|
+
t.end();
|
|
487
|
+
}
|
|
488
|
+
const t = super.emit("end");
|
|
489
|
+
this.removeAllListeners("end");
|
|
490
|
+
return t;
|
|
491
|
+
}
|
|
492
|
+
async collect() {
|
|
493
|
+
const t = Object.assign([], {
|
|
494
|
+
dataLength: 0
|
|
495
|
+
});
|
|
496
|
+
if (!this[_]) t.dataLength = 0;
|
|
497
|
+
const e = this.promise();
|
|
498
|
+
this.on("data", e => {
|
|
499
|
+
t.push(e);
|
|
500
|
+
if (!this[_]) t.dataLength += e.length;
|
|
501
|
+
});
|
|
502
|
+
await e;
|
|
503
|
+
return t;
|
|
504
|
+
}
|
|
505
|
+
async concat() {
|
|
506
|
+
if (this[_]) {
|
|
507
|
+
throw new Error("cannot concat in objectMode");
|
|
508
|
+
}
|
|
509
|
+
const t = await this.collect();
|
|
510
|
+
return this[v] ? t.join("") : Buffer.concat(t, t.dataLength);
|
|
511
|
+
}
|
|
512
|
+
async promise() {
|
|
513
|
+
return new Promise((t, e) => {
|
|
514
|
+
this.on(D, () => e(new Error("stream destroyed")));
|
|
515
|
+
this.on("error", t => e(t));
|
|
516
|
+
this.on("end", () => t());
|
|
517
|
+
});
|
|
518
|
+
}
|
|
519
|
+
[Symbol.asyncIterator]() {
|
|
520
|
+
this[q] = false;
|
|
521
|
+
let t = false;
|
|
522
|
+
const e = async () => {
|
|
523
|
+
this.pause();
|
|
524
|
+
t = true;
|
|
525
|
+
return {
|
|
526
|
+
value: undefined,
|
|
527
|
+
done: true
|
|
528
|
+
};
|
|
529
|
+
};
|
|
530
|
+
const s = () => {
|
|
531
|
+
if (t) return e();
|
|
532
|
+
const s = this.read();
|
|
533
|
+
if (s !== null) return Promise.resolve({
|
|
534
|
+
done: false,
|
|
535
|
+
value: s
|
|
536
|
+
});
|
|
537
|
+
if (this[d]) return e();
|
|
538
|
+
let i;
|
|
539
|
+
let r;
|
|
540
|
+
const n = t => {
|
|
541
|
+
this.off("data", o);
|
|
542
|
+
this.off("end", h);
|
|
543
|
+
this.off(D, f);
|
|
544
|
+
e();
|
|
545
|
+
r(t);
|
|
546
|
+
};
|
|
547
|
+
const o = t => {
|
|
548
|
+
this.off("error", n);
|
|
549
|
+
this.off("end", h);
|
|
550
|
+
this.off(D, f);
|
|
551
|
+
this.pause();
|
|
552
|
+
i({
|
|
553
|
+
value: t,
|
|
554
|
+
done: !!this[d]
|
|
555
|
+
});
|
|
556
|
+
};
|
|
557
|
+
const h = () => {
|
|
558
|
+
this.off("error", n);
|
|
559
|
+
this.off("data", o);
|
|
560
|
+
this.off(D, f);
|
|
561
|
+
e();
|
|
562
|
+
i({
|
|
563
|
+
done: true,
|
|
564
|
+
value: undefined
|
|
565
|
+
});
|
|
566
|
+
};
|
|
567
|
+
const f = () => n(new Error("stream destroyed"));
|
|
568
|
+
return new Promise((t, e) => {
|
|
569
|
+
r = e;
|
|
570
|
+
i = t;
|
|
571
|
+
this.once(D, f);
|
|
572
|
+
this.once("error", n);
|
|
573
|
+
this.once("end", h);
|
|
574
|
+
this.once("data", o);
|
|
575
|
+
});
|
|
576
|
+
};
|
|
577
|
+
return {
|
|
578
|
+
next: s,
|
|
579
|
+
throw: e,
|
|
580
|
+
return: e,
|
|
581
|
+
[Symbol.asyncIterator]() {
|
|
582
|
+
return this;
|
|
583
|
+
}
|
|
584
|
+
};
|
|
585
|
+
}
|
|
586
|
+
[Symbol.iterator]() {
|
|
587
|
+
this[q] = false;
|
|
588
|
+
let t = false;
|
|
589
|
+
const e = () => {
|
|
590
|
+
this.pause();
|
|
591
|
+
this.off(T, e);
|
|
592
|
+
this.off(D, e);
|
|
593
|
+
this.off("end", e);
|
|
594
|
+
t = true;
|
|
595
|
+
return {
|
|
596
|
+
done: true,
|
|
597
|
+
value: undefined
|
|
598
|
+
};
|
|
599
|
+
};
|
|
600
|
+
const s = () => {
|
|
601
|
+
if (t) return e();
|
|
602
|
+
const s = this.read();
|
|
603
|
+
return s === null ? e() : {
|
|
604
|
+
done: false,
|
|
605
|
+
value: s
|
|
606
|
+
};
|
|
607
|
+
};
|
|
608
|
+
this.once("end", e);
|
|
609
|
+
this.once(T, e);
|
|
610
|
+
this.once(D, e);
|
|
611
|
+
return {
|
|
612
|
+
next: s,
|
|
613
|
+
throw: e,
|
|
614
|
+
return: e,
|
|
615
|
+
[Symbol.iterator]() {
|
|
616
|
+
return this;
|
|
617
|
+
}
|
|
618
|
+
};
|
|
619
|
+
}
|
|
620
|
+
destroy(t) {
|
|
621
|
+
if (this[D]) {
|
|
622
|
+
if (t) this.emit("error", t); else this.emit(D);
|
|
623
|
+
return this;
|
|
624
|
+
}
|
|
625
|
+
this[D] = true;
|
|
626
|
+
this[q] = true;
|
|
627
|
+
this[P].length = 0;
|
|
628
|
+
this[A] = 0;
|
|
629
|
+
const e = this;
|
|
630
|
+
if (typeof e.close === "function" && !this[g]) e.close();
|
|
631
|
+
if (t) this.emit("error", t); else this.emit(D);
|
|
632
|
+
return this;
|
|
633
|
+
}
|
|
634
|
+
static get isStream() {
|
|
635
|
+
return s.isStream;
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
s.Minipass = Minipass;
|
|
639
|
+
})(o);
|
|
640
|
+
return o;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
const a = typeof process === "object" && process ? process : {
|
|
644
|
+
stdout: null,
|
|
645
|
+
stderr: null
|
|
646
|
+
};
|
|
647
|
+
|
|
648
|
+
const l = t => !!t && typeof t === "object" && (t instanceof Minipass || t instanceof i || u(t) || c(t));
|
|
649
|
+
|
|
650
|
+
const u = t => !!t && typeof t === "object" && t instanceof s && typeof t.pipe === "function" && t.pipe !== i.Writable.prototype.pipe;
|
|
651
|
+
|
|
652
|
+
const c = t => !!t && typeof t === "object" && t instanceof s && typeof t.write === "function" && typeof t.end === "function";
|
|
653
|
+
|
|
654
|
+
const d = Symbol("EOF");
|
|
655
|
+
|
|
656
|
+
const m = Symbol("maybeEmitEnd");
|
|
657
|
+
|
|
658
|
+
const p = Symbol("emittedEnd");
|
|
659
|
+
|
|
660
|
+
const b = Symbol("emittingEnd");
|
|
661
|
+
|
|
662
|
+
const y = Symbol("emittedError");
|
|
663
|
+
|
|
664
|
+
const g = Symbol("closed");
|
|
665
|
+
|
|
666
|
+
const w = Symbol("read");
|
|
667
|
+
|
|
668
|
+
const E = Symbol("flush");
|
|
669
|
+
|
|
670
|
+
const S = Symbol("flushChunk");
|
|
671
|
+
|
|
672
|
+
const v = Symbol("encoding");
|
|
673
|
+
|
|
674
|
+
const j = Symbol("decoder");
|
|
675
|
+
|
|
676
|
+
const L = Symbol("flowing");
|
|
677
|
+
|
|
678
|
+
const x = Symbol("paused");
|
|
679
|
+
|
|
680
|
+
const M = Symbol("resume");
|
|
681
|
+
|
|
682
|
+
const P = Symbol("buffer");
|
|
683
|
+
|
|
684
|
+
const B = Symbol("pipes");
|
|
685
|
+
|
|
686
|
+
const A = Symbol("bufferLength");
|
|
687
|
+
|
|
688
|
+
const O = Symbol("bufferPush");
|
|
689
|
+
|
|
690
|
+
const R = Symbol("bufferShift");
|
|
691
|
+
|
|
692
|
+
const _ = Symbol("objectMode");
|
|
693
|
+
|
|
694
|
+
const D = Symbol("destroyed");
|
|
695
|
+
|
|
696
|
+
const T = Symbol("error");
|
|
697
|
+
|
|
698
|
+
const W = Symbol("emitData");
|
|
699
|
+
|
|
700
|
+
const C = Symbol("emitEnd");
|
|
701
|
+
|
|
702
|
+
const I = Symbol("emitEnd2");
|
|
703
|
+
|
|
704
|
+
const N = Symbol("async");
|
|
705
|
+
|
|
706
|
+
const k = Symbol("abort");
|
|
707
|
+
|
|
708
|
+
const F = Symbol("aborted");
|
|
709
|
+
|
|
710
|
+
const V = Symbol("signal");
|
|
711
|
+
|
|
712
|
+
const Y = Symbol("dataListeners");
|
|
713
|
+
|
|
714
|
+
const q = Symbol("discarded");
|
|
715
|
+
|
|
716
|
+
const z = t => Promise.resolve().then(t);
|
|
717
|
+
|
|
718
|
+
const G = t => t();
|
|
719
|
+
|
|
720
|
+
const H = t => t === "end" || t === "finish" || t === "prefinish";
|
|
26
721
|
|
|
27
|
-
|
|
28
|
-
case "arguments":
|
|
29
|
-
return s.length !== 0;
|
|
722
|
+
const J = t => t instanceof ArrayBuffer || !!t && typeof t === "object" && t.constructor && t.constructor.name === "ArrayBuffer" && t.byteLength >= 0;
|
|
30
723
|
|
|
31
|
-
|
|
32
|
-
case "map":
|
|
33
|
-
case "set":
|
|
34
|
-
return s.size !== 0;
|
|
724
|
+
const K = t => !Buffer.isBuffer(t) && ArrayBuffer.isView(t);
|
|
35
725
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
726
|
+
class Pipe {
|
|
727
|
+
src;
|
|
728
|
+
dest;
|
|
729
|
+
opts;
|
|
730
|
+
ondrain;
|
|
731
|
+
constructor(t, e, s) {
|
|
732
|
+
this.src = t;
|
|
733
|
+
this.dest = e;
|
|
734
|
+
this.opts = s;
|
|
735
|
+
this.ondrain = () => t[M]();
|
|
736
|
+
this.dest.on("drain", this.ondrain);
|
|
737
|
+
}
|
|
738
|
+
unpipe() {
|
|
739
|
+
this.dest.removeListener("drain", this.ondrain);
|
|
740
|
+
}
|
|
741
|
+
proxyErrors(t) {}
|
|
742
|
+
end() {
|
|
743
|
+
this.unpipe();
|
|
744
|
+
if (this.opts.end) this.dest.end();
|
|
745
|
+
}
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
class PipeProxyErrors extends Pipe {
|
|
749
|
+
unpipe() {
|
|
750
|
+
this.src.removeListener("error", this.proxyErrors);
|
|
751
|
+
super.unpipe();
|
|
752
|
+
}
|
|
753
|
+
constructor(t, e, s) {
|
|
754
|
+
super(t, e, s);
|
|
755
|
+
this.proxyErrors = t => e.emit("error", t);
|
|
756
|
+
t.on("error", this.proxyErrors);
|
|
757
|
+
}
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
const Q = t => !!t.objectMode;
|
|
761
|
+
|
|
762
|
+
const U = t => !t.objectMode && !!t.encoding && t.encoding !== "buffer";
|
|
763
|
+
|
|
764
|
+
class Minipass extends s {
|
|
765
|
+
[L]=false;
|
|
766
|
+
[x]=false;
|
|
767
|
+
[B]=[];
|
|
768
|
+
[P]=[];
|
|
769
|
+
[_];
|
|
770
|
+
[v];
|
|
771
|
+
[N];
|
|
772
|
+
[j];
|
|
773
|
+
[d]=false;
|
|
774
|
+
[p]=false;
|
|
775
|
+
[b]=false;
|
|
776
|
+
[g]=false;
|
|
777
|
+
[y]=null;
|
|
778
|
+
[A]=0;
|
|
779
|
+
[D]=false;
|
|
780
|
+
[V];
|
|
781
|
+
[F]=false;
|
|
782
|
+
[Y]=0;
|
|
783
|
+
[q]=false;
|
|
784
|
+
writable=true;
|
|
785
|
+
readable=true;
|
|
786
|
+
constructor(...t) {
|
|
787
|
+
const e = t[0] || {};
|
|
788
|
+
super();
|
|
789
|
+
if (e.objectMode && typeof e.encoding === "string") {
|
|
790
|
+
throw new TypeError("Encoding and objectMode may not be used together");
|
|
791
|
+
}
|
|
792
|
+
if (Q(e)) {
|
|
793
|
+
this[_] = true;
|
|
794
|
+
this[v] = null;
|
|
795
|
+
} else if (U(e)) {
|
|
796
|
+
this[v] = e.encoding;
|
|
797
|
+
this[_] = false;
|
|
798
|
+
} else {
|
|
799
|
+
this[_] = false;
|
|
800
|
+
this[v] = null;
|
|
801
|
+
}
|
|
802
|
+
this[N] = !!e.async;
|
|
803
|
+
this[j] = this[v] ? new n(this[v]) : null;
|
|
804
|
+
if (e && e.debugExposeBuffer === true) {
|
|
805
|
+
Object.defineProperty(this, "buffer", {
|
|
806
|
+
get: () => this[P]
|
|
807
|
+
});
|
|
808
|
+
}
|
|
809
|
+
if (e && e.debugExposePipes === true) {
|
|
810
|
+
Object.defineProperty(this, "pipes", {
|
|
811
|
+
get: () => this[B]
|
|
812
|
+
});
|
|
813
|
+
}
|
|
814
|
+
const {signal: s} = e;
|
|
815
|
+
if (s) {
|
|
816
|
+
this[V] = s;
|
|
817
|
+
if (s.aborted) {
|
|
818
|
+
this[k]();
|
|
819
|
+
} else {
|
|
820
|
+
s.addEventListener("abort", () => this[k]());
|
|
41
821
|
}
|
|
42
822
|
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
823
|
+
}
|
|
824
|
+
get bufferLength() {
|
|
825
|
+
return this[A];
|
|
826
|
+
}
|
|
827
|
+
get encoding() {
|
|
828
|
+
return this[v];
|
|
829
|
+
}
|
|
830
|
+
set encoding(t) {
|
|
831
|
+
throw new Error("Encoding must be set at instantiation time");
|
|
832
|
+
}
|
|
833
|
+
setEncoding(t) {
|
|
834
|
+
throw new Error("Encoding must be set at instantiation time");
|
|
835
|
+
}
|
|
836
|
+
get objectMode() {
|
|
837
|
+
return this[_];
|
|
838
|
+
}
|
|
839
|
+
set objectMode(t) {
|
|
840
|
+
throw new Error("objectMode must be set at instantiation time");
|
|
841
|
+
}
|
|
842
|
+
get ["async"]() {
|
|
843
|
+
return this[N];
|
|
844
|
+
}
|
|
845
|
+
set ["async"](t) {
|
|
846
|
+
this[N] = this[N] || !!t;
|
|
847
|
+
}
|
|
848
|
+
[k]() {
|
|
849
|
+
this[F] = true;
|
|
850
|
+
this.emit("abort", this[V]?.reason);
|
|
851
|
+
this.destroy(this[V]?.reason);
|
|
852
|
+
}
|
|
853
|
+
get aborted() {
|
|
854
|
+
return this[F];
|
|
855
|
+
}
|
|
856
|
+
set aborted(t) {}
|
|
857
|
+
write(t, e, s) {
|
|
858
|
+
if (this[F]) return false;
|
|
859
|
+
if (this[d]) throw new Error("write after end");
|
|
860
|
+
if (this[D]) {
|
|
861
|
+
this.emit("error", Object.assign(new Error("Cannot call write after a stream was destroyed"), {
|
|
862
|
+
code: "ERR_STREAM_DESTROYED"
|
|
863
|
+
}));
|
|
47
864
|
return true;
|
|
48
865
|
}
|
|
866
|
+
if (typeof e === "function") {
|
|
867
|
+
s = e;
|
|
868
|
+
e = "utf8";
|
|
869
|
+
}
|
|
870
|
+
if (!e) e = "utf8";
|
|
871
|
+
const i = this[N] ? z : G;
|
|
872
|
+
if (!this[_] && !Buffer.isBuffer(t)) {
|
|
873
|
+
if (K(t)) {
|
|
874
|
+
t = Buffer.from(t.buffer, t.byteOffset, t.byteLength);
|
|
875
|
+
} else if (J(t)) {
|
|
876
|
+
t = Buffer.from(t);
|
|
877
|
+
} else if (typeof t !== "string") {
|
|
878
|
+
throw new Error("Non-contiguous data written to non-objectMode stream");
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
if (this[_]) {
|
|
882
|
+
if (this[L] && this[A] !== 0) this[E](true);
|
|
883
|
+
if (this[L]) this.emit("data", t); else this[O](t);
|
|
884
|
+
if (this[A] !== 0) this.emit("readable");
|
|
885
|
+
if (s) i(s);
|
|
886
|
+
return this[L];
|
|
887
|
+
}
|
|
888
|
+
if (!t.length) {
|
|
889
|
+
if (this[A] !== 0) this.emit("readable");
|
|
890
|
+
if (s) i(s);
|
|
891
|
+
return this[L];
|
|
892
|
+
}
|
|
893
|
+
if (typeof t === "string" && !(e === this[v] && !this[j]?.lastNeed)) {
|
|
894
|
+
t = Buffer.from(t, e);
|
|
895
|
+
}
|
|
896
|
+
if (Buffer.isBuffer(t) && this[v]) {
|
|
897
|
+
t = this[j].write(t);
|
|
898
|
+
}
|
|
899
|
+
if (this[L] && this[A] !== 0) this[E](true);
|
|
900
|
+
if (this[L]) this.emit("data", t); else this[O](t);
|
|
901
|
+
if (this[A] !== 0) this.emit("readable");
|
|
902
|
+
if (s) i(s);
|
|
903
|
+
return this[L];
|
|
49
904
|
}
|
|
50
|
-
|
|
905
|
+
read(t) {
|
|
906
|
+
if (this[D]) return null;
|
|
907
|
+
this[q] = false;
|
|
908
|
+
if (this[A] === 0 || t === 0 || t && t > this[A]) {
|
|
909
|
+
this[m]();
|
|
910
|
+
return null;
|
|
911
|
+
}
|
|
912
|
+
if (this[_]) t = null;
|
|
913
|
+
if (this[P].length > 1 && !this[_]) {
|
|
914
|
+
this[P] = [ this[v] ? this[P].join("") : Buffer.concat(this[P], this[A]) ];
|
|
915
|
+
}
|
|
916
|
+
const e = this[w](t || null, this[P][0]);
|
|
917
|
+
this[m]();
|
|
918
|
+
return e;
|
|
919
|
+
}
|
|
920
|
+
[w](t, e) {
|
|
921
|
+
if (this[_]) this[R](); else {
|
|
922
|
+
const s = e;
|
|
923
|
+
if (t === s.length || t === null) this[R](); else if (typeof s === "string") {
|
|
924
|
+
this[P][0] = s.slice(t);
|
|
925
|
+
e = s.slice(0, t);
|
|
926
|
+
this[A] -= t;
|
|
927
|
+
} else {
|
|
928
|
+
this[P][0] = s.subarray(t);
|
|
929
|
+
e = s.subarray(0, t);
|
|
930
|
+
this[A] -= t;
|
|
931
|
+
}
|
|
932
|
+
}
|
|
933
|
+
this.emit("data", e);
|
|
934
|
+
if (!this[P].length && !this[d]) this.emit("drain");
|
|
935
|
+
return e;
|
|
936
|
+
}
|
|
937
|
+
end(t, e, s) {
|
|
938
|
+
if (typeof t === "function") {
|
|
939
|
+
s = t;
|
|
940
|
+
t = undefined;
|
|
941
|
+
}
|
|
942
|
+
if (typeof e === "function") {
|
|
943
|
+
s = e;
|
|
944
|
+
e = "utf8";
|
|
945
|
+
}
|
|
946
|
+
if (t !== undefined) this.write(t, e);
|
|
947
|
+
if (s) this.once("end", s);
|
|
948
|
+
this[d] = true;
|
|
949
|
+
this.writable = false;
|
|
950
|
+
if (this[L] || !this[x]) this[m]();
|
|
951
|
+
return this;
|
|
952
|
+
}
|
|
953
|
+
[M]() {
|
|
954
|
+
if (this[D]) return;
|
|
955
|
+
if (!this[Y] && !this[B].length) {
|
|
956
|
+
this[q] = true;
|
|
957
|
+
}
|
|
958
|
+
this[x] = false;
|
|
959
|
+
this[L] = true;
|
|
960
|
+
this.emit("resume");
|
|
961
|
+
if (this[P].length) this[E](); else if (this[d]) this[m](); else this.emit("drain");
|
|
962
|
+
}
|
|
963
|
+
resume() {
|
|
964
|
+
return this[M]();
|
|
965
|
+
}
|
|
966
|
+
pause() {
|
|
967
|
+
this[L] = false;
|
|
968
|
+
this[x] = true;
|
|
969
|
+
this[q] = false;
|
|
970
|
+
}
|
|
971
|
+
get destroyed() {
|
|
972
|
+
return this[D];
|
|
973
|
+
}
|
|
974
|
+
get flowing() {
|
|
975
|
+
return this[L];
|
|
976
|
+
}
|
|
977
|
+
get paused() {
|
|
978
|
+
return this[x];
|
|
979
|
+
}
|
|
980
|
+
[O](t) {
|
|
981
|
+
if (this[_]) this[A] += 1; else this[A] += t.length;
|
|
982
|
+
this[P].push(t);
|
|
983
|
+
}
|
|
984
|
+
[R]() {
|
|
985
|
+
if (this[_]) this[A] -= 1; else this[A] -= this[P][0].length;
|
|
986
|
+
return this[P].shift();
|
|
987
|
+
}
|
|
988
|
+
[E](t = false) {
|
|
989
|
+
do {} while (this[S](this[R]()) && this[P].length);
|
|
990
|
+
if (!t && !this[P].length && !this[d]) this.emit("drain");
|
|
991
|
+
}
|
|
992
|
+
[S](t) {
|
|
993
|
+
this.emit("data", t);
|
|
994
|
+
return this[L];
|
|
995
|
+
}
|
|
996
|
+
pipe(t, e) {
|
|
997
|
+
if (this[D]) return t;
|
|
998
|
+
this[q] = false;
|
|
999
|
+
const s = this[p];
|
|
1000
|
+
e = e || {};
|
|
1001
|
+
if (t === a.stdout || t === a.stderr) e.end = false; else e.end = e.end !== false;
|
|
1002
|
+
e.proxyErrors = !!e.proxyErrors;
|
|
1003
|
+
if (s) {
|
|
1004
|
+
if (e.end) t.end();
|
|
1005
|
+
} else {
|
|
1006
|
+
this[B].push(!e.proxyErrors ? new Pipe(this, t, e) : new PipeProxyErrors(this, t, e));
|
|
1007
|
+
if (this[N]) z(() => this[M]()); else this[M]();
|
|
1008
|
+
}
|
|
1009
|
+
return t;
|
|
1010
|
+
}
|
|
1011
|
+
unpipe(t) {
|
|
1012
|
+
const e = this[B].find(e => e.dest === t);
|
|
1013
|
+
if (e) {
|
|
1014
|
+
if (this[B].length === 1) {
|
|
1015
|
+
if (this[L] && this[Y] === 0) {
|
|
1016
|
+
this[L] = false;
|
|
1017
|
+
}
|
|
1018
|
+
this[B] = [];
|
|
1019
|
+
} else this[B].splice(this[B].indexOf(e), 1);
|
|
1020
|
+
e.unpipe();
|
|
1021
|
+
}
|
|
1022
|
+
}
|
|
1023
|
+
addListener(t, e) {
|
|
1024
|
+
return this.on(t, e);
|
|
1025
|
+
}
|
|
1026
|
+
on(t, e) {
|
|
1027
|
+
const s = super.on(t, e);
|
|
1028
|
+
if (t === "data") {
|
|
1029
|
+
this[q] = false;
|
|
1030
|
+
this[Y]++;
|
|
1031
|
+
if (!this[B].length && !this[L]) {
|
|
1032
|
+
this[M]();
|
|
1033
|
+
}
|
|
1034
|
+
} else if (t === "readable" && this[A] !== 0) {
|
|
1035
|
+
super.emit("readable");
|
|
1036
|
+
} else if (H(t) && this[p]) {
|
|
1037
|
+
super.emit(t);
|
|
1038
|
+
this.removeAllListeners(t);
|
|
1039
|
+
} else if (t === "error" && this[y]) {
|
|
1040
|
+
const t = e;
|
|
1041
|
+
if (this[N]) z(() => t.call(this, this[y])); else t.call(this, this[y]);
|
|
1042
|
+
}
|
|
1043
|
+
return s;
|
|
1044
|
+
}
|
|
1045
|
+
removeListener(t, e) {
|
|
1046
|
+
return this.off(t, e);
|
|
1047
|
+
}
|
|
1048
|
+
off(t, e) {
|
|
1049
|
+
const s = super.off(t, e);
|
|
1050
|
+
if (t === "data") {
|
|
1051
|
+
this[Y] = this.listeners("data").length;
|
|
1052
|
+
if (this[Y] === 0 && !this[q] && !this[B].length) {
|
|
1053
|
+
this[L] = false;
|
|
1054
|
+
}
|
|
1055
|
+
}
|
|
1056
|
+
return s;
|
|
1057
|
+
}
|
|
1058
|
+
removeAllListeners(t) {
|
|
1059
|
+
const e = super.removeAllListeners(t);
|
|
1060
|
+
if (t === "data" || t === undefined) {
|
|
1061
|
+
this[Y] = 0;
|
|
1062
|
+
if (!this[q] && !this[B].length) {
|
|
1063
|
+
this[L] = false;
|
|
1064
|
+
}
|
|
1065
|
+
}
|
|
1066
|
+
return e;
|
|
1067
|
+
}
|
|
1068
|
+
get emittedEnd() {
|
|
1069
|
+
return this[p];
|
|
1070
|
+
}
|
|
1071
|
+
[m]() {
|
|
1072
|
+
if (!this[b] && !this[p] && !this[D] && this[P].length === 0 && this[d]) {
|
|
1073
|
+
this[b] = true;
|
|
1074
|
+
this.emit("end");
|
|
1075
|
+
this.emit("prefinish");
|
|
1076
|
+
this.emit("finish");
|
|
1077
|
+
if (this[g]) this.emit("close");
|
|
1078
|
+
this[b] = false;
|
|
1079
|
+
}
|
|
1080
|
+
}
|
|
1081
|
+
emit(t, ...e) {
|
|
1082
|
+
const s = e[0];
|
|
1083
|
+
if (t !== "error" && t !== "close" && t !== D && this[D]) {
|
|
1084
|
+
return false;
|
|
1085
|
+
} else if (t === "data") {
|
|
1086
|
+
return !this[_] && !s ? false : this[N] ? (z(() => this[W](s)), true) : this[W](s);
|
|
1087
|
+
} else if (t === "end") {
|
|
1088
|
+
return this[C]();
|
|
1089
|
+
} else if (t === "close") {
|
|
1090
|
+
this[g] = true;
|
|
1091
|
+
if (!this[p] && !this[D]) return false;
|
|
1092
|
+
const t = super.emit("close");
|
|
1093
|
+
this.removeAllListeners("close");
|
|
1094
|
+
return t;
|
|
1095
|
+
} else if (t === "error") {
|
|
1096
|
+
this[y] = s;
|
|
1097
|
+
super.emit(T, s);
|
|
1098
|
+
const t = !this[V] || this.listeners("error").length ? super.emit("error", s) : false;
|
|
1099
|
+
this[m]();
|
|
1100
|
+
return t;
|
|
1101
|
+
} else if (t === "resume") {
|
|
1102
|
+
const t = super.emit("resume");
|
|
1103
|
+
this[m]();
|
|
1104
|
+
return t;
|
|
1105
|
+
} else if (t === "finish" || t === "prefinish") {
|
|
1106
|
+
const e = super.emit(t);
|
|
1107
|
+
this.removeAllListeners(t);
|
|
1108
|
+
return e;
|
|
1109
|
+
}
|
|
1110
|
+
const i = super.emit(t, ...e);
|
|
1111
|
+
this[m]();
|
|
1112
|
+
return i;
|
|
1113
|
+
}
|
|
1114
|
+
[W](t) {
|
|
1115
|
+
for (const e of this[B]) {
|
|
1116
|
+
if (e.dest.write(t) === false) this.pause();
|
|
1117
|
+
}
|
|
1118
|
+
const e = this[q] ? false : super.emit("data", t);
|
|
1119
|
+
this[m]();
|
|
1120
|
+
return e;
|
|
1121
|
+
}
|
|
1122
|
+
[C]() {
|
|
1123
|
+
if (this[p]) return false;
|
|
1124
|
+
this[p] = true;
|
|
1125
|
+
this.readable = false;
|
|
1126
|
+
return this[N] ? (z(() => this[I]()), true) : this[I]();
|
|
1127
|
+
}
|
|
1128
|
+
[I]() {
|
|
1129
|
+
if (this[j]) {
|
|
1130
|
+
const t = this[j].end();
|
|
1131
|
+
if (t) {
|
|
1132
|
+
for (const e of this[B]) {
|
|
1133
|
+
e.dest.write(t);
|
|
1134
|
+
}
|
|
1135
|
+
if (!this[q]) super.emit("data", t);
|
|
1136
|
+
}
|
|
1137
|
+
}
|
|
1138
|
+
for (const t of this[B]) {
|
|
1139
|
+
t.end();
|
|
1140
|
+
}
|
|
1141
|
+
const t = super.emit("end");
|
|
1142
|
+
this.removeAllListeners("end");
|
|
1143
|
+
return t;
|
|
1144
|
+
}
|
|
1145
|
+
async collect() {
|
|
1146
|
+
const t = Object.assign([], {
|
|
1147
|
+
dataLength: 0
|
|
1148
|
+
});
|
|
1149
|
+
if (!this[_]) t.dataLength = 0;
|
|
1150
|
+
const e = this.promise();
|
|
1151
|
+
this.on("data", e => {
|
|
1152
|
+
t.push(e);
|
|
1153
|
+
if (!this[_]) t.dataLength += e.length;
|
|
1154
|
+
});
|
|
1155
|
+
await e;
|
|
1156
|
+
return t;
|
|
1157
|
+
}
|
|
1158
|
+
async concat() {
|
|
1159
|
+
if (this[_]) {
|
|
1160
|
+
throw new Error("cannot concat in objectMode");
|
|
1161
|
+
}
|
|
1162
|
+
const t = await this.collect();
|
|
1163
|
+
return this[v] ? t.join("") : Buffer.concat(t, t.dataLength);
|
|
1164
|
+
}
|
|
1165
|
+
async promise() {
|
|
1166
|
+
return new Promise((t, e) => {
|
|
1167
|
+
this.on(D, () => e(new Error("stream destroyed")));
|
|
1168
|
+
this.on("error", t => e(t));
|
|
1169
|
+
this.on("end", () => t());
|
|
1170
|
+
});
|
|
1171
|
+
}
|
|
1172
|
+
[Symbol.asyncIterator]() {
|
|
1173
|
+
this[q] = false;
|
|
1174
|
+
let t = false;
|
|
1175
|
+
const e = async () => {
|
|
1176
|
+
this.pause();
|
|
1177
|
+
t = true;
|
|
1178
|
+
return {
|
|
1179
|
+
value: undefined,
|
|
1180
|
+
done: true
|
|
1181
|
+
};
|
|
1182
|
+
};
|
|
1183
|
+
const s = () => {
|
|
1184
|
+
if (t) return e();
|
|
1185
|
+
const s = this.read();
|
|
1186
|
+
if (s !== null) return Promise.resolve({
|
|
1187
|
+
done: false,
|
|
1188
|
+
value: s
|
|
1189
|
+
});
|
|
1190
|
+
if (this[d]) return e();
|
|
1191
|
+
let i;
|
|
1192
|
+
let r;
|
|
1193
|
+
const n = t => {
|
|
1194
|
+
this.off("data", o);
|
|
1195
|
+
this.off("end", h);
|
|
1196
|
+
this.off(D, f);
|
|
1197
|
+
e();
|
|
1198
|
+
r(t);
|
|
1199
|
+
};
|
|
1200
|
+
const o = t => {
|
|
1201
|
+
this.off("error", n);
|
|
1202
|
+
this.off("end", h);
|
|
1203
|
+
this.off(D, f);
|
|
1204
|
+
this.pause();
|
|
1205
|
+
i({
|
|
1206
|
+
value: t,
|
|
1207
|
+
done: !!this[d]
|
|
1208
|
+
});
|
|
1209
|
+
};
|
|
1210
|
+
const h = () => {
|
|
1211
|
+
this.off("error", n);
|
|
1212
|
+
this.off("data", o);
|
|
1213
|
+
this.off(D, f);
|
|
1214
|
+
e();
|
|
1215
|
+
i({
|
|
1216
|
+
done: true,
|
|
1217
|
+
value: undefined
|
|
1218
|
+
});
|
|
1219
|
+
};
|
|
1220
|
+
const f = () => n(new Error("stream destroyed"));
|
|
1221
|
+
return new Promise((t, e) => {
|
|
1222
|
+
r = e;
|
|
1223
|
+
i = t;
|
|
1224
|
+
this.once(D, f);
|
|
1225
|
+
this.once("error", n);
|
|
1226
|
+
this.once("end", h);
|
|
1227
|
+
this.once("data", o);
|
|
1228
|
+
});
|
|
1229
|
+
};
|
|
1230
|
+
return {
|
|
1231
|
+
next: s,
|
|
1232
|
+
throw: e,
|
|
1233
|
+
return: e,
|
|
1234
|
+
[Symbol.asyncIterator]() {
|
|
1235
|
+
return this;
|
|
1236
|
+
}
|
|
1237
|
+
};
|
|
1238
|
+
}
|
|
1239
|
+
[Symbol.iterator]() {
|
|
1240
|
+
this[q] = false;
|
|
1241
|
+
let t = false;
|
|
1242
|
+
const e = () => {
|
|
1243
|
+
this.pause();
|
|
1244
|
+
this.off(T, e);
|
|
1245
|
+
this.off(D, e);
|
|
1246
|
+
this.off("end", e);
|
|
1247
|
+
t = true;
|
|
1248
|
+
return {
|
|
1249
|
+
done: true,
|
|
1250
|
+
value: undefined
|
|
1251
|
+
};
|
|
1252
|
+
};
|
|
1253
|
+
const s = () => {
|
|
1254
|
+
if (t) return e();
|
|
1255
|
+
const s = this.read();
|
|
1256
|
+
return s === null ? e() : {
|
|
1257
|
+
done: false,
|
|
1258
|
+
value: s
|
|
1259
|
+
};
|
|
1260
|
+
};
|
|
1261
|
+
this.once("end", e);
|
|
1262
|
+
this.once(T, e);
|
|
1263
|
+
this.once(D, e);
|
|
1264
|
+
return {
|
|
1265
|
+
next: s,
|
|
1266
|
+
throw: e,
|
|
1267
|
+
return: e,
|
|
1268
|
+
[Symbol.iterator]() {
|
|
1269
|
+
return this;
|
|
1270
|
+
}
|
|
1271
|
+
};
|
|
1272
|
+
}
|
|
1273
|
+
destroy(t) {
|
|
1274
|
+
if (this[D]) {
|
|
1275
|
+
if (t) this.emit("error", t); else this.emit(D);
|
|
1276
|
+
return this;
|
|
1277
|
+
}
|
|
1278
|
+
this[D] = true;
|
|
1279
|
+
this[q] = true;
|
|
1280
|
+
this[P].length = 0;
|
|
1281
|
+
this[A] = 0;
|
|
1282
|
+
const e = this;
|
|
1283
|
+
if (typeof e.close === "function" && !this[g]) e.close();
|
|
1284
|
+
if (t) this.emit("error", t); else this.emit(D);
|
|
1285
|
+
return this;
|
|
1286
|
+
}
|
|
1287
|
+
static get isStream() {
|
|
1288
|
+
return l;
|
|
1289
|
+
}
|
|
1290
|
+
}
|
|
51
1291
|
|
|
52
|
-
export {
|
|
1292
|
+
export { Minipass as M, f as r };
|