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,74 +1,1814 @@
|
|
|
1
|
-
/* Build Date: Mon Nov 24 2025
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
1
|
+
/* Build Date: Mon Nov 24 2025 18:02:01 GMT+0800 (China Standard Time) */
|
|
2
|
+
import t from "util";
|
|
3
|
+
|
|
4
|
+
import { b as e } from "./Package.internal.45.mjs";
|
|
5
|
+
|
|
6
|
+
import n from "path";
|
|
7
|
+
|
|
8
|
+
var u = {};
|
|
9
|
+
|
|
10
|
+
const o = n;
|
|
11
|
+
|
|
12
|
+
const r = "\\\\/";
|
|
13
|
+
|
|
14
|
+
const s = `[^${r}]`;
|
|
15
|
+
|
|
16
|
+
const a = "\\.";
|
|
17
|
+
|
|
18
|
+
const i = "\\+";
|
|
19
|
+
|
|
20
|
+
const c = "\\?";
|
|
21
|
+
|
|
22
|
+
const l = "\\/";
|
|
23
|
+
|
|
24
|
+
const p = "(?=.)";
|
|
25
|
+
|
|
26
|
+
const f = "[^/]";
|
|
27
|
+
|
|
28
|
+
const A = `(?:${l}|$)`;
|
|
29
|
+
|
|
30
|
+
const R = `(?:^|${l})`;
|
|
31
|
+
|
|
32
|
+
const h = `${a}{1,2}${A}`;
|
|
33
|
+
|
|
34
|
+
const _ = `(?!${a})`;
|
|
35
|
+
|
|
36
|
+
const E = `(?!${R}${h})`;
|
|
37
|
+
|
|
38
|
+
const g = `(?!${a}{0,1}${A})`;
|
|
39
|
+
|
|
40
|
+
const b = `(?!${h})`;
|
|
41
|
+
|
|
42
|
+
const y = `[^.${l}]`;
|
|
43
|
+
|
|
44
|
+
const S = `${f}*?`;
|
|
45
|
+
|
|
46
|
+
const $ = {
|
|
47
|
+
DOT_LITERAL: a,
|
|
48
|
+
PLUS_LITERAL: i,
|
|
49
|
+
QMARK_LITERAL: c,
|
|
50
|
+
SLASH_LITERAL: l,
|
|
51
|
+
ONE_CHAR: p,
|
|
52
|
+
QMARK: f,
|
|
53
|
+
END_ANCHOR: A,
|
|
54
|
+
DOTS_SLASH: h,
|
|
55
|
+
NO_DOT: _,
|
|
56
|
+
NO_DOTS: E,
|
|
57
|
+
NO_DOT_SLASH: g,
|
|
58
|
+
NO_DOTS_SLASH: b,
|
|
59
|
+
QMARK_NO_DOT: y,
|
|
60
|
+
STAR: S,
|
|
61
|
+
START_ANCHOR: R
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
const C = {
|
|
65
|
+
...$,
|
|
66
|
+
SLASH_LITERAL: `[${r}]`,
|
|
67
|
+
QMARK: s,
|
|
68
|
+
STAR: `${s}*?`,
|
|
69
|
+
DOTS_SLASH: `${a}{1,2}(?:[${r}]|$)`,
|
|
70
|
+
NO_DOT: `(?!${a})`,
|
|
71
|
+
NO_DOTS: `(?!(?:^|[${r}])${a}{1,2}(?:[${r}]|$))`,
|
|
72
|
+
NO_DOT_SLASH: `(?!${a}{0,1}(?:[${r}]|$))`,
|
|
73
|
+
NO_DOTS_SLASH: `(?!${a}{1,2}(?:[${r}]|$))`,
|
|
74
|
+
QMARK_NO_DOT: `[^.${r}]`,
|
|
75
|
+
START_ANCHOR: `(?:^|[${r}])`,
|
|
76
|
+
END_ANCHOR: `(?:[${r}]|$)`
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
const x = {
|
|
80
|
+
alnum: "a-zA-Z0-9",
|
|
81
|
+
alpha: "a-zA-Z",
|
|
82
|
+
ascii: "\\x00-\\x7F",
|
|
83
|
+
blank: " \\t",
|
|
84
|
+
cntrl: "\\x00-\\x1F\\x7F",
|
|
85
|
+
digit: "0-9",
|
|
86
|
+
graph: "\\x21-\\x7E",
|
|
87
|
+
lower: "a-z",
|
|
88
|
+
print: "\\x20-\\x7E ",
|
|
89
|
+
punct: "\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",
|
|
90
|
+
space: " \\t\\r\\n\\v\\f",
|
|
91
|
+
upper: "A-Z",
|
|
92
|
+
word: "A-Za-z0-9_",
|
|
93
|
+
xdigit: "A-Fa-f0-9"
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
var d = {
|
|
97
|
+
MAX_LENGTH: 1024 * 64,
|
|
98
|
+
POSIX_REGEX_SOURCE: x,
|
|
99
|
+
REGEX_BACKSLASH: /\\(?![*+?^${}(|)[\]])/g,
|
|
100
|
+
REGEX_NON_SPECIAL_CHARS: /^[^@![\].,$*+?^{}()|\\/]+/,
|
|
101
|
+
REGEX_SPECIAL_CHARS: /[-*+?.^${}(|)[\]]/,
|
|
102
|
+
REGEX_SPECIAL_CHARS_BACKREF: /(\\?)((\W)(\3*))/g,
|
|
103
|
+
REGEX_SPECIAL_CHARS_GLOBAL: /([-*+?.^${}(|)[\]])/g,
|
|
104
|
+
REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g,
|
|
105
|
+
REPLACEMENTS: {
|
|
106
|
+
"***": "*",
|
|
107
|
+
"**/**": "**",
|
|
108
|
+
"**/**/**": "**"
|
|
109
|
+
},
|
|
110
|
+
CHAR_0: 48,
|
|
111
|
+
CHAR_9: 57,
|
|
112
|
+
CHAR_UPPERCASE_A: 65,
|
|
113
|
+
CHAR_LOWERCASE_A: 97,
|
|
114
|
+
CHAR_UPPERCASE_Z: 90,
|
|
115
|
+
CHAR_LOWERCASE_Z: 122,
|
|
116
|
+
CHAR_LEFT_PARENTHESES: 40,
|
|
117
|
+
CHAR_RIGHT_PARENTHESES: 41,
|
|
118
|
+
CHAR_ASTERISK: 42,
|
|
119
|
+
CHAR_AMPERSAND: 38,
|
|
120
|
+
CHAR_AT: 64,
|
|
121
|
+
CHAR_BACKWARD_SLASH: 92,
|
|
122
|
+
CHAR_CARRIAGE_RETURN: 13,
|
|
123
|
+
CHAR_CIRCUMFLEX_ACCENT: 94,
|
|
124
|
+
CHAR_COLON: 58,
|
|
125
|
+
CHAR_COMMA: 44,
|
|
126
|
+
CHAR_DOT: 46,
|
|
127
|
+
CHAR_DOUBLE_QUOTE: 34,
|
|
128
|
+
CHAR_EQUAL: 61,
|
|
129
|
+
CHAR_EXCLAMATION_MARK: 33,
|
|
130
|
+
CHAR_FORM_FEED: 12,
|
|
131
|
+
CHAR_FORWARD_SLASH: 47,
|
|
132
|
+
CHAR_GRAVE_ACCENT: 96,
|
|
133
|
+
CHAR_HASH: 35,
|
|
134
|
+
CHAR_HYPHEN_MINUS: 45,
|
|
135
|
+
CHAR_LEFT_ANGLE_BRACKET: 60,
|
|
136
|
+
CHAR_LEFT_CURLY_BRACE: 123,
|
|
137
|
+
CHAR_LEFT_SQUARE_BRACKET: 91,
|
|
138
|
+
CHAR_LINE_FEED: 10,
|
|
139
|
+
CHAR_NO_BREAK_SPACE: 160,
|
|
140
|
+
CHAR_PERCENT: 37,
|
|
141
|
+
CHAR_PLUS: 43,
|
|
142
|
+
CHAR_QUESTION_MARK: 63,
|
|
143
|
+
CHAR_RIGHT_ANGLE_BRACKET: 62,
|
|
144
|
+
CHAR_RIGHT_CURLY_BRACE: 125,
|
|
145
|
+
CHAR_RIGHT_SQUARE_BRACKET: 93,
|
|
146
|
+
CHAR_SEMICOLON: 59,
|
|
147
|
+
CHAR_SINGLE_QUOTE: 39,
|
|
148
|
+
CHAR_SPACE: 32,
|
|
149
|
+
CHAR_TAB: 9,
|
|
150
|
+
CHAR_UNDERSCORE: 95,
|
|
151
|
+
CHAR_VERTICAL_LINE: 124,
|
|
152
|
+
CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279,
|
|
153
|
+
SEP: o.sep,
|
|
154
|
+
extglobChars(t) {
|
|
155
|
+
return {
|
|
156
|
+
"!": {
|
|
157
|
+
type: "negate",
|
|
158
|
+
open: "(?:(?!(?:",
|
|
159
|
+
close: `))${t.STAR})`
|
|
160
|
+
},
|
|
161
|
+
"?": {
|
|
162
|
+
type: "qmark",
|
|
163
|
+
open: "(?:",
|
|
164
|
+
close: ")?"
|
|
165
|
+
},
|
|
166
|
+
"+": {
|
|
167
|
+
type: "plus",
|
|
168
|
+
open: "(?:",
|
|
169
|
+
close: ")+"
|
|
170
|
+
},
|
|
171
|
+
"*": {
|
|
172
|
+
type: "star",
|
|
173
|
+
open: "(?:",
|
|
174
|
+
close: ")*"
|
|
175
|
+
},
|
|
176
|
+
"@": {
|
|
177
|
+
type: "at",
|
|
178
|
+
open: "(?:",
|
|
179
|
+
close: ")"
|
|
180
|
+
}
|
|
181
|
+
};
|
|
182
|
+
},
|
|
183
|
+
globChars(t) {
|
|
184
|
+
return t === true ? C : $;
|
|
185
|
+
}
|
|
186
|
+
};
|
|
187
|
+
|
|
188
|
+
(function(t) {
|
|
189
|
+
const e = n;
|
|
190
|
+
const u = process.platform === "win32";
|
|
191
|
+
const {REGEX_BACKSLASH: o, REGEX_REMOVE_BACKSLASH: r, REGEX_SPECIAL_CHARS: s, REGEX_SPECIAL_CHARS_GLOBAL: a} = d;
|
|
192
|
+
t.isObject = t => t !== null && typeof t === "object" && !Array.isArray(t);
|
|
193
|
+
t.hasRegexChars = t => s.test(t);
|
|
194
|
+
t.isRegexChar = e => e.length === 1 && t.hasRegexChars(e);
|
|
195
|
+
t.escapeRegex = t => t.replace(a, "\\$1");
|
|
196
|
+
t.toPosixSlashes = t => t.replace(o, "/");
|
|
197
|
+
t.removeBackslashes = t => t.replace(r, t => t === "\\" ? "" : t);
|
|
198
|
+
t.supportsLookbehinds = () => {
|
|
199
|
+
const t = process.version.slice(1).split(".").map(Number);
|
|
200
|
+
if (t.length === 3 && t[0] >= 9 || t[0] === 8 && t[1] >= 10) {
|
|
201
|
+
return true;
|
|
202
|
+
}
|
|
203
|
+
return false;
|
|
204
|
+
};
|
|
205
|
+
t.isWindows = t => {
|
|
206
|
+
if (t && typeof t.windows === "boolean") {
|
|
207
|
+
return t.windows;
|
|
208
|
+
}
|
|
209
|
+
return u === true || e.sep === "\\";
|
|
210
|
+
};
|
|
211
|
+
t.escapeLast = (e, n, u) => {
|
|
212
|
+
const o = e.lastIndexOf(n, u);
|
|
213
|
+
if (o === -1) return e;
|
|
214
|
+
if (e[o - 1] === "\\") return t.escapeLast(e, n, o - 1);
|
|
215
|
+
return `${e.slice(0, o)}\\${e.slice(o)}`;
|
|
216
|
+
};
|
|
217
|
+
t.removePrefix = (t, e = {}) => {
|
|
218
|
+
let n = t;
|
|
219
|
+
if (n.startsWith("./")) {
|
|
220
|
+
n = n.slice(2);
|
|
221
|
+
e.prefix = "./";
|
|
222
|
+
}
|
|
223
|
+
return n;
|
|
224
|
+
};
|
|
225
|
+
t.wrapOutput = (t, e = {}, n = {}) => {
|
|
226
|
+
const u = n.contains ? "" : "^";
|
|
227
|
+
const o = n.contains ? "" : "$";
|
|
228
|
+
let r = `${u}(?:${t})${o}`;
|
|
229
|
+
if (e.negated === true) {
|
|
230
|
+
r = `(?:^(?!${r}).*$)`;
|
|
231
|
+
}
|
|
232
|
+
return r;
|
|
233
|
+
};
|
|
234
|
+
})(u);
|
|
235
|
+
|
|
236
|
+
const v = u;
|
|
237
|
+
|
|
238
|
+
const {CHAR_ASTERISK: H, CHAR_AT: T, CHAR_BACKWARD_SLASH: L, CHAR_COMMA: O, CHAR_DOT: k, CHAR_EXCLAMATION_MARK: m, CHAR_FORWARD_SLASH: w, CHAR_LEFT_CURLY_BRACE: N, CHAR_LEFT_PARENTHESES: I, CHAR_LEFT_SQUARE_BRACKET: B, CHAR_PLUS: M, CHAR_QUESTION_MARK: G, CHAR_RIGHT_CURLY_BRACE: D, CHAR_RIGHT_PARENTHESES: P, CHAR_RIGHT_SQUARE_BRACKET: K} = d;
|
|
239
|
+
|
|
240
|
+
const U = t => t === w || t === L;
|
|
241
|
+
|
|
242
|
+
const X = t => {
|
|
243
|
+
if (t.isPrefix !== true) {
|
|
244
|
+
t.depth = t.isGlobstar ? Infinity : 1;
|
|
245
|
+
}
|
|
246
|
+
};
|
|
247
|
+
|
|
248
|
+
const F = (t, e) => {
|
|
249
|
+
const n = e || {};
|
|
250
|
+
const u = t.length - 1;
|
|
251
|
+
const o = n.parts === true || n.scanToEnd === true;
|
|
252
|
+
const r = [];
|
|
253
|
+
const s = [];
|
|
254
|
+
const a = [];
|
|
255
|
+
let i = t;
|
|
256
|
+
let c = -1;
|
|
257
|
+
let l = 0;
|
|
258
|
+
let p = 0;
|
|
259
|
+
let f = false;
|
|
260
|
+
let A = false;
|
|
261
|
+
let R = false;
|
|
262
|
+
let h = false;
|
|
263
|
+
let _ = false;
|
|
264
|
+
let E = false;
|
|
265
|
+
let g = false;
|
|
266
|
+
let b = false;
|
|
267
|
+
let y = false;
|
|
268
|
+
let S = false;
|
|
269
|
+
let $ = 0;
|
|
270
|
+
let C;
|
|
271
|
+
let x;
|
|
272
|
+
let d = {
|
|
273
|
+
value: "",
|
|
274
|
+
depth: 0,
|
|
275
|
+
isGlob: false
|
|
276
|
+
};
|
|
277
|
+
const F = () => c >= u;
|
|
278
|
+
const Q = () => i.charCodeAt(c + 1);
|
|
279
|
+
const W = () => {
|
|
280
|
+
C = x;
|
|
281
|
+
return i.charCodeAt(++c);
|
|
282
|
+
};
|
|
283
|
+
while (c < u) {
|
|
284
|
+
x = W();
|
|
285
|
+
let t;
|
|
286
|
+
if (x === L) {
|
|
287
|
+
g = d.backslashes = true;
|
|
288
|
+
x = W();
|
|
289
|
+
if (x === N) {
|
|
290
|
+
E = true;
|
|
291
|
+
}
|
|
292
|
+
continue;
|
|
293
|
+
}
|
|
294
|
+
if (E === true || x === N) {
|
|
295
|
+
$++;
|
|
296
|
+
while (F() !== true && (x = W())) {
|
|
297
|
+
if (x === L) {
|
|
298
|
+
g = d.backslashes = true;
|
|
299
|
+
W();
|
|
300
|
+
continue;
|
|
301
|
+
}
|
|
302
|
+
if (x === N) {
|
|
303
|
+
$++;
|
|
304
|
+
continue;
|
|
305
|
+
}
|
|
306
|
+
if (E !== true && x === k && (x = W()) === k) {
|
|
307
|
+
f = d.isBrace = true;
|
|
308
|
+
R = d.isGlob = true;
|
|
309
|
+
S = true;
|
|
310
|
+
if (o === true) {
|
|
311
|
+
continue;
|
|
312
|
+
}
|
|
313
|
+
break;
|
|
314
|
+
}
|
|
315
|
+
if (E !== true && x === O) {
|
|
316
|
+
f = d.isBrace = true;
|
|
317
|
+
R = d.isGlob = true;
|
|
318
|
+
S = true;
|
|
319
|
+
if (o === true) {
|
|
320
|
+
continue;
|
|
321
|
+
}
|
|
322
|
+
break;
|
|
323
|
+
}
|
|
324
|
+
if (x === D) {
|
|
325
|
+
$--;
|
|
326
|
+
if ($ === 0) {
|
|
327
|
+
E = false;
|
|
328
|
+
f = d.isBrace = true;
|
|
329
|
+
S = true;
|
|
330
|
+
break;
|
|
331
|
+
}
|
|
27
332
|
}
|
|
28
333
|
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
334
|
+
if (o === true) {
|
|
335
|
+
continue;
|
|
336
|
+
}
|
|
337
|
+
break;
|
|
338
|
+
}
|
|
339
|
+
if (x === w) {
|
|
340
|
+
r.push(c);
|
|
341
|
+
s.push(d);
|
|
342
|
+
d = {
|
|
343
|
+
value: "",
|
|
344
|
+
depth: 0,
|
|
345
|
+
isGlob: false
|
|
346
|
+
};
|
|
347
|
+
if (S === true) continue;
|
|
348
|
+
if (C === k && c === l + 1) {
|
|
349
|
+
l += 2;
|
|
350
|
+
continue;
|
|
351
|
+
}
|
|
352
|
+
p = c + 1;
|
|
353
|
+
continue;
|
|
32
354
|
}
|
|
355
|
+
if (n.noext !== true) {
|
|
356
|
+
const t = x === M || x === T || x === H || x === G || x === m;
|
|
357
|
+
if (t === true && Q() === I) {
|
|
358
|
+
R = d.isGlob = true;
|
|
359
|
+
h = d.isExtglob = true;
|
|
360
|
+
S = true;
|
|
361
|
+
if (x === m && c === l) {
|
|
362
|
+
y = true;
|
|
363
|
+
}
|
|
364
|
+
if (o === true) {
|
|
365
|
+
while (F() !== true && (x = W())) {
|
|
366
|
+
if (x === L) {
|
|
367
|
+
g = d.backslashes = true;
|
|
368
|
+
x = W();
|
|
369
|
+
continue;
|
|
370
|
+
}
|
|
371
|
+
if (x === P) {
|
|
372
|
+
R = d.isGlob = true;
|
|
373
|
+
S = true;
|
|
374
|
+
break;
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
continue;
|
|
378
|
+
}
|
|
379
|
+
break;
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
if (x === H) {
|
|
383
|
+
if (C === H) _ = d.isGlobstar = true;
|
|
384
|
+
R = d.isGlob = true;
|
|
385
|
+
S = true;
|
|
386
|
+
if (o === true) {
|
|
387
|
+
continue;
|
|
388
|
+
}
|
|
389
|
+
break;
|
|
390
|
+
}
|
|
391
|
+
if (x === G) {
|
|
392
|
+
R = d.isGlob = true;
|
|
393
|
+
S = true;
|
|
394
|
+
if (o === true) {
|
|
395
|
+
continue;
|
|
396
|
+
}
|
|
397
|
+
break;
|
|
398
|
+
}
|
|
399
|
+
if (x === B) {
|
|
400
|
+
while (F() !== true && (t = W())) {
|
|
401
|
+
if (t === L) {
|
|
402
|
+
g = d.backslashes = true;
|
|
403
|
+
W();
|
|
404
|
+
continue;
|
|
405
|
+
}
|
|
406
|
+
if (t === K) {
|
|
407
|
+
A = d.isBracket = true;
|
|
408
|
+
R = d.isGlob = true;
|
|
409
|
+
S = true;
|
|
410
|
+
break;
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
if (o === true) {
|
|
414
|
+
continue;
|
|
415
|
+
}
|
|
416
|
+
break;
|
|
417
|
+
}
|
|
418
|
+
if (n.nonegate !== true && x === m && c === l) {
|
|
419
|
+
b = d.negated = true;
|
|
420
|
+
l++;
|
|
421
|
+
continue;
|
|
422
|
+
}
|
|
423
|
+
if (n.noparen !== true && x === I) {
|
|
424
|
+
R = d.isGlob = true;
|
|
425
|
+
if (o === true) {
|
|
426
|
+
while (F() !== true && (x = W())) {
|
|
427
|
+
if (x === I) {
|
|
428
|
+
g = d.backslashes = true;
|
|
429
|
+
x = W();
|
|
430
|
+
continue;
|
|
431
|
+
}
|
|
432
|
+
if (x === P) {
|
|
433
|
+
S = true;
|
|
434
|
+
break;
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
continue;
|
|
438
|
+
}
|
|
439
|
+
break;
|
|
440
|
+
}
|
|
441
|
+
if (R === true) {
|
|
442
|
+
S = true;
|
|
443
|
+
if (o === true) {
|
|
444
|
+
continue;
|
|
445
|
+
}
|
|
446
|
+
break;
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
if (n.noext === true) {
|
|
450
|
+
h = false;
|
|
451
|
+
R = false;
|
|
452
|
+
}
|
|
453
|
+
let j = i;
|
|
454
|
+
let q = "";
|
|
455
|
+
let Z = "";
|
|
456
|
+
if (l > 0) {
|
|
457
|
+
q = i.slice(0, l);
|
|
458
|
+
i = i.slice(l);
|
|
459
|
+
p -= l;
|
|
460
|
+
}
|
|
461
|
+
if (j && R === true && p > 0) {
|
|
462
|
+
j = i.slice(0, p);
|
|
463
|
+
Z = i.slice(p);
|
|
464
|
+
} else if (R === true) {
|
|
465
|
+
j = "";
|
|
466
|
+
Z = i;
|
|
33
467
|
} else {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
468
|
+
j = i;
|
|
469
|
+
}
|
|
470
|
+
if (j && j !== "" && j !== "/" && j !== i) {
|
|
471
|
+
if (U(j.charCodeAt(j.length - 1))) {
|
|
472
|
+
j = j.slice(0, -1);
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
if (n.unescape === true) {
|
|
476
|
+
if (Z) Z = v.removeBackslashes(Z);
|
|
477
|
+
if (j && g === true) {
|
|
478
|
+
j = v.removeBackslashes(j);
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
const Y = {
|
|
482
|
+
prefix: q,
|
|
483
|
+
input: t,
|
|
484
|
+
start: l,
|
|
485
|
+
base: j,
|
|
486
|
+
glob: Z,
|
|
487
|
+
isBrace: f,
|
|
488
|
+
isBracket: A,
|
|
489
|
+
isGlob: R,
|
|
490
|
+
isExtglob: h,
|
|
491
|
+
isGlobstar: _,
|
|
492
|
+
negated: b,
|
|
493
|
+
negatedExtglob: y
|
|
494
|
+
};
|
|
495
|
+
if (n.tokens === true) {
|
|
496
|
+
Y.maxDepth = 0;
|
|
497
|
+
if (!U(x)) {
|
|
498
|
+
s.push(d);
|
|
499
|
+
}
|
|
500
|
+
Y.tokens = s;
|
|
501
|
+
}
|
|
502
|
+
if (n.parts === true || n.tokens === true) {
|
|
503
|
+
let e;
|
|
504
|
+
for (let u = 0; u < r.length; u++) {
|
|
505
|
+
const o = e ? e + 1 : l;
|
|
506
|
+
const i = r[u];
|
|
507
|
+
const c = t.slice(o, i);
|
|
508
|
+
if (n.tokens) {
|
|
509
|
+
if (u === 0 && l !== 0) {
|
|
510
|
+
s[u].isPrefix = true;
|
|
511
|
+
s[u].value = q;
|
|
49
512
|
} else {
|
|
50
|
-
|
|
513
|
+
s[u].value = c;
|
|
514
|
+
}
|
|
515
|
+
X(s[u]);
|
|
516
|
+
Y.maxDepth += s[u].depth;
|
|
517
|
+
}
|
|
518
|
+
if (u !== 0 || c !== "") {
|
|
519
|
+
a.push(c);
|
|
520
|
+
}
|
|
521
|
+
e = i;
|
|
522
|
+
}
|
|
523
|
+
if (e && e + 1 < t.length) {
|
|
524
|
+
const u = t.slice(e + 1);
|
|
525
|
+
a.push(u);
|
|
526
|
+
if (n.tokens) {
|
|
527
|
+
s[s.length - 1].value = u;
|
|
528
|
+
X(s[s.length - 1]);
|
|
529
|
+
Y.maxDepth += s[s.length - 1].depth;
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
Y.slashes = r;
|
|
533
|
+
Y.parts = a;
|
|
534
|
+
}
|
|
535
|
+
return Y;
|
|
536
|
+
};
|
|
537
|
+
|
|
538
|
+
var Q = F;
|
|
539
|
+
|
|
540
|
+
const W = d;
|
|
541
|
+
|
|
542
|
+
const j = u;
|
|
543
|
+
|
|
544
|
+
const {MAX_LENGTH: q, POSIX_REGEX_SOURCE: Z, REGEX_NON_SPECIAL_CHARS: Y, REGEX_SPECIAL_CHARS_BACKREF: z, REPLACEMENTS: V} = W;
|
|
545
|
+
|
|
546
|
+
const J = (t, e) => {
|
|
547
|
+
if (typeof e.expandRange === "function") {
|
|
548
|
+
return e.expandRange(...t, e);
|
|
549
|
+
}
|
|
550
|
+
t.sort();
|
|
551
|
+
const n = `[${t.join("-")}]`;
|
|
552
|
+
try {
|
|
553
|
+
new RegExp(n);
|
|
554
|
+
} catch (e) {
|
|
555
|
+
return t.map(t => j.escapeRegex(t)).join("..");
|
|
556
|
+
}
|
|
557
|
+
return n;
|
|
558
|
+
};
|
|
559
|
+
|
|
560
|
+
const tt = (t, e) => `Missing ${t}: "${e}" - use "\\\\${e}" to match literal characters`;
|
|
561
|
+
|
|
562
|
+
const et = (t, e) => {
|
|
563
|
+
if (typeof t !== "string") {
|
|
564
|
+
throw new TypeError("Expected a string");
|
|
565
|
+
}
|
|
566
|
+
t = V[t] || t;
|
|
567
|
+
const n = {
|
|
568
|
+
...e
|
|
569
|
+
};
|
|
570
|
+
const u = typeof n.maxLength === "number" ? Math.min(q, n.maxLength) : q;
|
|
571
|
+
let o = t.length;
|
|
572
|
+
if (o > u) {
|
|
573
|
+
throw new SyntaxError(`Input length: ${o}, exceeds maximum allowed length: ${u}`);
|
|
574
|
+
}
|
|
575
|
+
const r = {
|
|
576
|
+
type: "bos",
|
|
577
|
+
value: "",
|
|
578
|
+
output: n.prepend || ""
|
|
579
|
+
};
|
|
580
|
+
const s = [ r ];
|
|
581
|
+
const a = n.capture ? "" : "?:";
|
|
582
|
+
const i = j.isWindows(e);
|
|
583
|
+
const c = W.globChars(i);
|
|
584
|
+
const l = W.extglobChars(c);
|
|
585
|
+
const {DOT_LITERAL: p, PLUS_LITERAL: f, SLASH_LITERAL: A, ONE_CHAR: R, DOTS_SLASH: h, NO_DOT: _, NO_DOT_SLASH: E, NO_DOTS_SLASH: g, QMARK: b, QMARK_NO_DOT: y, STAR: S, START_ANCHOR: $} = c;
|
|
586
|
+
const C = t => `(${a}(?:(?!${$}${t.dot ? h : p}).)*?)`;
|
|
587
|
+
const x = n.dot ? "" : _;
|
|
588
|
+
const d = n.dot ? b : y;
|
|
589
|
+
let v = n.bash === true ? C(n) : S;
|
|
590
|
+
if (n.capture) {
|
|
591
|
+
v = `(${v})`;
|
|
592
|
+
}
|
|
593
|
+
if (typeof n.noext === "boolean") {
|
|
594
|
+
n.noextglob = n.noext;
|
|
595
|
+
}
|
|
596
|
+
const H = {
|
|
597
|
+
input: t,
|
|
598
|
+
index: -1,
|
|
599
|
+
start: 0,
|
|
600
|
+
dot: n.dot === true,
|
|
601
|
+
consumed: "",
|
|
602
|
+
output: "",
|
|
603
|
+
prefix: "",
|
|
604
|
+
backtrack: false,
|
|
605
|
+
negated: false,
|
|
606
|
+
brackets: 0,
|
|
607
|
+
braces: 0,
|
|
608
|
+
parens: 0,
|
|
609
|
+
quotes: 0,
|
|
610
|
+
globstar: false,
|
|
611
|
+
tokens: s
|
|
612
|
+
};
|
|
613
|
+
t = j.removePrefix(t, H);
|
|
614
|
+
o = t.length;
|
|
615
|
+
const T = [];
|
|
616
|
+
const L = [];
|
|
617
|
+
const O = [];
|
|
618
|
+
let k = r;
|
|
619
|
+
let m;
|
|
620
|
+
const w = () => H.index === o - 1;
|
|
621
|
+
const N = H.peek = (e = 1) => t[H.index + e];
|
|
622
|
+
const I = H.advance = () => t[++H.index] || "";
|
|
623
|
+
const B = () => t.slice(H.index + 1);
|
|
624
|
+
const M = (t = "", e = 0) => {
|
|
625
|
+
H.consumed += t;
|
|
626
|
+
H.index += e;
|
|
627
|
+
};
|
|
628
|
+
const G = t => {
|
|
629
|
+
H.output += t.output != null ? t.output : t.value;
|
|
630
|
+
M(t.value);
|
|
631
|
+
};
|
|
632
|
+
const D = () => {
|
|
633
|
+
let t = 1;
|
|
634
|
+
while (N() === "!" && (N(2) !== "(" || N(3) === "?")) {
|
|
635
|
+
I();
|
|
636
|
+
H.start++;
|
|
637
|
+
t++;
|
|
638
|
+
}
|
|
639
|
+
if (t % 2 === 0) {
|
|
640
|
+
return false;
|
|
641
|
+
}
|
|
642
|
+
H.negated = true;
|
|
643
|
+
H.start++;
|
|
644
|
+
return true;
|
|
645
|
+
};
|
|
646
|
+
const P = t => {
|
|
647
|
+
H[t]++;
|
|
648
|
+
O.push(t);
|
|
649
|
+
};
|
|
650
|
+
const K = t => {
|
|
651
|
+
H[t]--;
|
|
652
|
+
O.pop();
|
|
653
|
+
};
|
|
654
|
+
const U = t => {
|
|
655
|
+
if (k.type === "globstar") {
|
|
656
|
+
const e = H.braces > 0 && (t.type === "comma" || t.type === "brace");
|
|
657
|
+
const n = t.extglob === true || T.length && (t.type === "pipe" || t.type === "paren");
|
|
658
|
+
if (t.type !== "slash" && t.type !== "paren" && !e && !n) {
|
|
659
|
+
H.output = H.output.slice(0, -k.output.length);
|
|
660
|
+
k.type = "star";
|
|
661
|
+
k.value = "*";
|
|
662
|
+
k.output = v;
|
|
663
|
+
H.output += k.output;
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
if (T.length && t.type !== "paren") {
|
|
667
|
+
T[T.length - 1].inner += t.value;
|
|
668
|
+
}
|
|
669
|
+
if (t.value || t.output) G(t);
|
|
670
|
+
if (k && k.type === "text" && t.type === "text") {
|
|
671
|
+
k.value += t.value;
|
|
672
|
+
k.output = (k.output || "") + t.value;
|
|
673
|
+
return;
|
|
674
|
+
}
|
|
675
|
+
t.prev = k;
|
|
676
|
+
s.push(t);
|
|
677
|
+
k = t;
|
|
678
|
+
};
|
|
679
|
+
const X = (t, e) => {
|
|
680
|
+
const u = {
|
|
681
|
+
...l[e],
|
|
682
|
+
conditions: 1,
|
|
683
|
+
inner: ""
|
|
684
|
+
};
|
|
685
|
+
u.prev = k;
|
|
686
|
+
u.parens = H.parens;
|
|
687
|
+
u.output = H.output;
|
|
688
|
+
const o = (n.capture ? "(" : "") + u.open;
|
|
689
|
+
P("parens");
|
|
690
|
+
U({
|
|
691
|
+
type: t,
|
|
692
|
+
value: e,
|
|
693
|
+
output: H.output ? "" : R
|
|
694
|
+
});
|
|
695
|
+
U({
|
|
696
|
+
type: "paren",
|
|
697
|
+
extglob: true,
|
|
698
|
+
value: I(),
|
|
699
|
+
output: o
|
|
700
|
+
});
|
|
701
|
+
T.push(u);
|
|
702
|
+
};
|
|
703
|
+
const F = t => {
|
|
704
|
+
let u = t.close + (n.capture ? ")" : "");
|
|
705
|
+
let o;
|
|
706
|
+
if (t.type === "negate") {
|
|
707
|
+
let r = v;
|
|
708
|
+
if (t.inner && t.inner.length > 1 && t.inner.includes("/")) {
|
|
709
|
+
r = C(n);
|
|
710
|
+
}
|
|
711
|
+
if (r !== v || w() || /^\)+$/.test(B())) {
|
|
712
|
+
u = t.close = `)$))${r}`;
|
|
713
|
+
}
|
|
714
|
+
if (t.inner.includes("*") && (o = B()) && /^\.[^\\/.]+$/.test(o)) {
|
|
715
|
+
const n = et(o, {
|
|
716
|
+
...e,
|
|
717
|
+
fastpaths: false
|
|
718
|
+
}).output;
|
|
719
|
+
u = t.close = `)${n})${r})`;
|
|
720
|
+
}
|
|
721
|
+
if (t.prev.type === "bos") {
|
|
722
|
+
H.negatedExtglob = true;
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
U({
|
|
726
|
+
type: "paren",
|
|
727
|
+
extglob: true,
|
|
728
|
+
value: m,
|
|
729
|
+
output: u
|
|
730
|
+
});
|
|
731
|
+
K("parens");
|
|
732
|
+
};
|
|
733
|
+
if (n.fastpaths !== false && !/(^[*!]|[/()[\]{}"])/.test(t)) {
|
|
734
|
+
let u = false;
|
|
735
|
+
let o = t.replace(z, (t, e, n, o, r, s) => {
|
|
736
|
+
if (o === "\\") {
|
|
737
|
+
u = true;
|
|
738
|
+
return t;
|
|
739
|
+
}
|
|
740
|
+
if (o === "?") {
|
|
741
|
+
if (e) {
|
|
742
|
+
return e + o + (r ? b.repeat(r.length) : "");
|
|
743
|
+
}
|
|
744
|
+
if (s === 0) {
|
|
745
|
+
return d + (r ? b.repeat(r.length) : "");
|
|
746
|
+
}
|
|
747
|
+
return b.repeat(n.length);
|
|
748
|
+
}
|
|
749
|
+
if (o === ".") {
|
|
750
|
+
return p.repeat(n.length);
|
|
751
|
+
}
|
|
752
|
+
if (o === "*") {
|
|
753
|
+
if (e) {
|
|
754
|
+
return e + o + (r ? v : "");
|
|
755
|
+
}
|
|
756
|
+
return v;
|
|
757
|
+
}
|
|
758
|
+
return e ? t : `\\${t}`;
|
|
759
|
+
});
|
|
760
|
+
if (u === true) {
|
|
761
|
+
if (n.unescape === true) {
|
|
762
|
+
o = o.replace(/\\/g, "");
|
|
763
|
+
} else {
|
|
764
|
+
o = o.replace(/\\+/g, t => t.length % 2 === 0 ? "\\\\" : t ? "\\" : "");
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
if (o === t && n.contains === true) {
|
|
768
|
+
H.output = t;
|
|
769
|
+
return H;
|
|
770
|
+
}
|
|
771
|
+
H.output = j.wrapOutput(o, H, e);
|
|
772
|
+
return H;
|
|
773
|
+
}
|
|
774
|
+
while (!w()) {
|
|
775
|
+
m = I();
|
|
776
|
+
if (m === "\0") {
|
|
777
|
+
continue;
|
|
778
|
+
}
|
|
779
|
+
if (m === "\\") {
|
|
780
|
+
const t = N();
|
|
781
|
+
if (t === "/" && n.bash !== true) {
|
|
782
|
+
continue;
|
|
783
|
+
}
|
|
784
|
+
if (t === "." || t === ";") {
|
|
785
|
+
continue;
|
|
786
|
+
}
|
|
787
|
+
if (!t) {
|
|
788
|
+
m += "\\";
|
|
789
|
+
U({
|
|
790
|
+
type: "text",
|
|
791
|
+
value: m
|
|
792
|
+
});
|
|
793
|
+
continue;
|
|
794
|
+
}
|
|
795
|
+
const e = /^\\+/.exec(B());
|
|
796
|
+
let u = 0;
|
|
797
|
+
if (e && e[0].length > 2) {
|
|
798
|
+
u = e[0].length;
|
|
799
|
+
H.index += u;
|
|
800
|
+
if (u % 2 !== 0) {
|
|
801
|
+
m += "\\";
|
|
802
|
+
}
|
|
803
|
+
}
|
|
804
|
+
if (n.unescape === true) {
|
|
805
|
+
m = I();
|
|
806
|
+
} else {
|
|
807
|
+
m += I();
|
|
808
|
+
}
|
|
809
|
+
if (H.brackets === 0) {
|
|
810
|
+
U({
|
|
811
|
+
type: "text",
|
|
812
|
+
value: m
|
|
813
|
+
});
|
|
814
|
+
continue;
|
|
815
|
+
}
|
|
816
|
+
}
|
|
817
|
+
if (H.brackets > 0 && (m !== "]" || k.value === "[" || k.value === "[^")) {
|
|
818
|
+
if (n.posix !== false && m === ":") {
|
|
819
|
+
const t = k.value.slice(1);
|
|
820
|
+
if (t.includes("[")) {
|
|
821
|
+
k.posix = true;
|
|
822
|
+
if (t.includes(":")) {
|
|
823
|
+
const t = k.value.lastIndexOf("[");
|
|
824
|
+
const e = k.value.slice(0, t);
|
|
825
|
+
const n = k.value.slice(t + 2);
|
|
826
|
+
const u = Z[n];
|
|
827
|
+
if (u) {
|
|
828
|
+
k.value = e + u;
|
|
829
|
+
H.backtrack = true;
|
|
830
|
+
I();
|
|
831
|
+
if (!r.output && s.indexOf(k) === 1) {
|
|
832
|
+
r.output = R;
|
|
833
|
+
}
|
|
834
|
+
continue;
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
}
|
|
838
|
+
}
|
|
839
|
+
if (m === "[" && N() !== ":" || m === "-" && N() === "]") {
|
|
840
|
+
m = `\\${m}`;
|
|
841
|
+
}
|
|
842
|
+
if (m === "]" && (k.value === "[" || k.value === "[^")) {
|
|
843
|
+
m = `\\${m}`;
|
|
844
|
+
}
|
|
845
|
+
if (n.posix === true && m === "!" && k.value === "[") {
|
|
846
|
+
m = "^";
|
|
847
|
+
}
|
|
848
|
+
k.value += m;
|
|
849
|
+
G({
|
|
850
|
+
value: m
|
|
851
|
+
});
|
|
852
|
+
continue;
|
|
853
|
+
}
|
|
854
|
+
if (H.quotes === 1 && m !== '"') {
|
|
855
|
+
m = j.escapeRegex(m);
|
|
856
|
+
k.value += m;
|
|
857
|
+
G({
|
|
858
|
+
value: m
|
|
859
|
+
});
|
|
860
|
+
continue;
|
|
861
|
+
}
|
|
862
|
+
if (m === '"') {
|
|
863
|
+
H.quotes = H.quotes === 1 ? 0 : 1;
|
|
864
|
+
if (n.keepQuotes === true) {
|
|
865
|
+
U({
|
|
866
|
+
type: "text",
|
|
867
|
+
value: m
|
|
868
|
+
});
|
|
869
|
+
}
|
|
870
|
+
continue;
|
|
871
|
+
}
|
|
872
|
+
if (m === "(") {
|
|
873
|
+
P("parens");
|
|
874
|
+
U({
|
|
875
|
+
type: "paren",
|
|
876
|
+
value: m
|
|
877
|
+
});
|
|
878
|
+
continue;
|
|
879
|
+
}
|
|
880
|
+
if (m === ")") {
|
|
881
|
+
if (H.parens === 0 && n.strictBrackets === true) {
|
|
882
|
+
throw new SyntaxError(tt("opening", "("));
|
|
883
|
+
}
|
|
884
|
+
const t = T[T.length - 1];
|
|
885
|
+
if (t && H.parens === t.parens + 1) {
|
|
886
|
+
F(T.pop());
|
|
887
|
+
continue;
|
|
888
|
+
}
|
|
889
|
+
U({
|
|
890
|
+
type: "paren",
|
|
891
|
+
value: m,
|
|
892
|
+
output: H.parens ? ")" : "\\)"
|
|
893
|
+
});
|
|
894
|
+
K("parens");
|
|
895
|
+
continue;
|
|
896
|
+
}
|
|
897
|
+
if (m === "[") {
|
|
898
|
+
if (n.nobracket === true || !B().includes("]")) {
|
|
899
|
+
if (n.nobracket !== true && n.strictBrackets === true) {
|
|
900
|
+
throw new SyntaxError(tt("closing", "]"));
|
|
901
|
+
}
|
|
902
|
+
m = `\\${m}`;
|
|
903
|
+
} else {
|
|
904
|
+
P("brackets");
|
|
905
|
+
}
|
|
906
|
+
U({
|
|
907
|
+
type: "bracket",
|
|
908
|
+
value: m
|
|
909
|
+
});
|
|
910
|
+
continue;
|
|
911
|
+
}
|
|
912
|
+
if (m === "]") {
|
|
913
|
+
if (n.nobracket === true || k && k.type === "bracket" && k.value.length === 1) {
|
|
914
|
+
U({
|
|
915
|
+
type: "text",
|
|
916
|
+
value: m,
|
|
917
|
+
output: `\\${m}`
|
|
918
|
+
});
|
|
919
|
+
continue;
|
|
920
|
+
}
|
|
921
|
+
if (H.brackets === 0) {
|
|
922
|
+
if (n.strictBrackets === true) {
|
|
923
|
+
throw new SyntaxError(tt("opening", "["));
|
|
924
|
+
}
|
|
925
|
+
U({
|
|
926
|
+
type: "text",
|
|
927
|
+
value: m,
|
|
928
|
+
output: `\\${m}`
|
|
929
|
+
});
|
|
930
|
+
continue;
|
|
931
|
+
}
|
|
932
|
+
K("brackets");
|
|
933
|
+
const t = k.value.slice(1);
|
|
934
|
+
if (k.posix !== true && t[0] === "^" && !t.includes("/")) {
|
|
935
|
+
m = `/${m}`;
|
|
936
|
+
}
|
|
937
|
+
k.value += m;
|
|
938
|
+
G({
|
|
939
|
+
value: m
|
|
940
|
+
});
|
|
941
|
+
if (n.literalBrackets === false || j.hasRegexChars(t)) {
|
|
942
|
+
continue;
|
|
943
|
+
}
|
|
944
|
+
const e = j.escapeRegex(k.value);
|
|
945
|
+
H.output = H.output.slice(0, -k.value.length);
|
|
946
|
+
if (n.literalBrackets === true) {
|
|
947
|
+
H.output += e;
|
|
948
|
+
k.value = e;
|
|
949
|
+
continue;
|
|
950
|
+
}
|
|
951
|
+
k.value = `(${a}${e}|${k.value})`;
|
|
952
|
+
H.output += k.value;
|
|
953
|
+
continue;
|
|
954
|
+
}
|
|
955
|
+
if (m === "{" && n.nobrace !== true) {
|
|
956
|
+
P("braces");
|
|
957
|
+
const t = {
|
|
958
|
+
type: "brace",
|
|
959
|
+
value: m,
|
|
960
|
+
output: "(",
|
|
961
|
+
outputIndex: H.output.length,
|
|
962
|
+
tokensIndex: H.tokens.length
|
|
963
|
+
};
|
|
964
|
+
L.push(t);
|
|
965
|
+
U(t);
|
|
966
|
+
continue;
|
|
967
|
+
}
|
|
968
|
+
if (m === "}") {
|
|
969
|
+
const t = L[L.length - 1];
|
|
970
|
+
if (n.nobrace === true || !t) {
|
|
971
|
+
U({
|
|
972
|
+
type: "text",
|
|
973
|
+
value: m,
|
|
974
|
+
output: m
|
|
975
|
+
});
|
|
976
|
+
continue;
|
|
977
|
+
}
|
|
978
|
+
let e = ")";
|
|
979
|
+
if (t.dots === true) {
|
|
980
|
+
const t = s.slice();
|
|
981
|
+
const u = [];
|
|
982
|
+
for (let e = t.length - 1; e >= 0; e--) {
|
|
983
|
+
s.pop();
|
|
984
|
+
if (t[e].type === "brace") {
|
|
985
|
+
break;
|
|
986
|
+
}
|
|
987
|
+
if (t[e].type !== "dots") {
|
|
988
|
+
u.unshift(t[e].value);
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
e = J(u, n);
|
|
992
|
+
H.backtrack = true;
|
|
993
|
+
}
|
|
994
|
+
if (t.comma !== true && t.dots !== true) {
|
|
995
|
+
const n = H.output.slice(0, t.outputIndex);
|
|
996
|
+
const u = H.tokens.slice(t.tokensIndex);
|
|
997
|
+
t.value = t.output = "\\{";
|
|
998
|
+
m = e = "\\}";
|
|
999
|
+
H.output = n;
|
|
1000
|
+
for (const t of u) {
|
|
1001
|
+
H.output += t.output || t.value;
|
|
1002
|
+
}
|
|
1003
|
+
}
|
|
1004
|
+
U({
|
|
1005
|
+
type: "brace",
|
|
1006
|
+
value: m,
|
|
1007
|
+
output: e
|
|
1008
|
+
});
|
|
1009
|
+
K("braces");
|
|
1010
|
+
L.pop();
|
|
1011
|
+
continue;
|
|
1012
|
+
}
|
|
1013
|
+
if (m === "|") {
|
|
1014
|
+
if (T.length > 0) {
|
|
1015
|
+
T[T.length - 1].conditions++;
|
|
1016
|
+
}
|
|
1017
|
+
U({
|
|
1018
|
+
type: "text",
|
|
1019
|
+
value: m
|
|
1020
|
+
});
|
|
1021
|
+
continue;
|
|
1022
|
+
}
|
|
1023
|
+
if (m === ",") {
|
|
1024
|
+
let t = m;
|
|
1025
|
+
const e = L[L.length - 1];
|
|
1026
|
+
if (e && O[O.length - 1] === "braces") {
|
|
1027
|
+
e.comma = true;
|
|
1028
|
+
t = "|";
|
|
1029
|
+
}
|
|
1030
|
+
U({
|
|
1031
|
+
type: "comma",
|
|
1032
|
+
value: m,
|
|
1033
|
+
output: t
|
|
1034
|
+
});
|
|
1035
|
+
continue;
|
|
1036
|
+
}
|
|
1037
|
+
if (m === "/") {
|
|
1038
|
+
if (k.type === "dot" && H.index === H.start + 1) {
|
|
1039
|
+
H.start = H.index + 1;
|
|
1040
|
+
H.consumed = "";
|
|
1041
|
+
H.output = "";
|
|
1042
|
+
s.pop();
|
|
1043
|
+
k = r;
|
|
1044
|
+
continue;
|
|
1045
|
+
}
|
|
1046
|
+
U({
|
|
1047
|
+
type: "slash",
|
|
1048
|
+
value: m,
|
|
1049
|
+
output: A
|
|
1050
|
+
});
|
|
1051
|
+
continue;
|
|
1052
|
+
}
|
|
1053
|
+
if (m === ".") {
|
|
1054
|
+
if (H.braces > 0 && k.type === "dot") {
|
|
1055
|
+
if (k.value === ".") k.output = p;
|
|
1056
|
+
const t = L[L.length - 1];
|
|
1057
|
+
k.type = "dots";
|
|
1058
|
+
k.output += m;
|
|
1059
|
+
k.value += m;
|
|
1060
|
+
t.dots = true;
|
|
1061
|
+
continue;
|
|
1062
|
+
}
|
|
1063
|
+
if (H.braces + H.parens === 0 && k.type !== "bos" && k.type !== "slash") {
|
|
1064
|
+
U({
|
|
1065
|
+
type: "text",
|
|
1066
|
+
value: m,
|
|
1067
|
+
output: p
|
|
1068
|
+
});
|
|
1069
|
+
continue;
|
|
1070
|
+
}
|
|
1071
|
+
U({
|
|
1072
|
+
type: "dot",
|
|
1073
|
+
value: m,
|
|
1074
|
+
output: p
|
|
1075
|
+
});
|
|
1076
|
+
continue;
|
|
1077
|
+
}
|
|
1078
|
+
if (m === "?") {
|
|
1079
|
+
const t = k && k.value === "(";
|
|
1080
|
+
if (!t && n.noextglob !== true && N() === "(" && N(2) !== "?") {
|
|
1081
|
+
X("qmark", m);
|
|
1082
|
+
continue;
|
|
1083
|
+
}
|
|
1084
|
+
if (k && k.type === "paren") {
|
|
1085
|
+
const t = N();
|
|
1086
|
+
let e = m;
|
|
1087
|
+
if (t === "<" && !j.supportsLookbehinds()) {
|
|
1088
|
+
throw new Error("Node.js v10 or higher is required for regex lookbehinds");
|
|
1089
|
+
}
|
|
1090
|
+
if (k.value === "(" && !/[!=<:]/.test(t) || t === "<" && !/<([!=]|\w+>)/.test(B())) {
|
|
1091
|
+
e = `\\${m}`;
|
|
1092
|
+
}
|
|
1093
|
+
U({
|
|
1094
|
+
type: "text",
|
|
1095
|
+
value: m,
|
|
1096
|
+
output: e
|
|
1097
|
+
});
|
|
1098
|
+
continue;
|
|
1099
|
+
}
|
|
1100
|
+
if (n.dot !== true && (k.type === "slash" || k.type === "bos")) {
|
|
1101
|
+
U({
|
|
1102
|
+
type: "qmark",
|
|
1103
|
+
value: m,
|
|
1104
|
+
output: y
|
|
1105
|
+
});
|
|
1106
|
+
continue;
|
|
1107
|
+
}
|
|
1108
|
+
U({
|
|
1109
|
+
type: "qmark",
|
|
1110
|
+
value: m,
|
|
1111
|
+
output: b
|
|
1112
|
+
});
|
|
1113
|
+
continue;
|
|
1114
|
+
}
|
|
1115
|
+
if (m === "!") {
|
|
1116
|
+
if (n.noextglob !== true && N() === "(") {
|
|
1117
|
+
if (N(2) !== "?" || !/[!=<:]/.test(N(3))) {
|
|
1118
|
+
X("negate", m);
|
|
1119
|
+
continue;
|
|
51
1120
|
}
|
|
52
1121
|
}
|
|
1122
|
+
if (n.nonegate !== true && H.index === 0) {
|
|
1123
|
+
D();
|
|
1124
|
+
continue;
|
|
1125
|
+
}
|
|
1126
|
+
}
|
|
1127
|
+
if (m === "+") {
|
|
1128
|
+
if (n.noextglob !== true && N() === "(" && N(2) !== "?") {
|
|
1129
|
+
X("plus", m);
|
|
1130
|
+
continue;
|
|
1131
|
+
}
|
|
1132
|
+
if (k && k.value === "(" || n.regex === false) {
|
|
1133
|
+
U({
|
|
1134
|
+
type: "plus",
|
|
1135
|
+
value: m,
|
|
1136
|
+
output: f
|
|
1137
|
+
});
|
|
1138
|
+
continue;
|
|
1139
|
+
}
|
|
1140
|
+
if (k && (k.type === "bracket" || k.type === "paren" || k.type === "brace") || H.parens > 0) {
|
|
1141
|
+
U({
|
|
1142
|
+
type: "plus",
|
|
1143
|
+
value: m
|
|
1144
|
+
});
|
|
1145
|
+
continue;
|
|
1146
|
+
}
|
|
1147
|
+
U({
|
|
1148
|
+
type: "plus",
|
|
1149
|
+
value: f
|
|
1150
|
+
});
|
|
1151
|
+
continue;
|
|
1152
|
+
}
|
|
1153
|
+
if (m === "@") {
|
|
1154
|
+
if (n.noextglob !== true && N() === "(" && N(2) !== "?") {
|
|
1155
|
+
U({
|
|
1156
|
+
type: "at",
|
|
1157
|
+
extglob: true,
|
|
1158
|
+
value: m,
|
|
1159
|
+
output: ""
|
|
1160
|
+
});
|
|
1161
|
+
continue;
|
|
1162
|
+
}
|
|
1163
|
+
U({
|
|
1164
|
+
type: "text",
|
|
1165
|
+
value: m
|
|
1166
|
+
});
|
|
1167
|
+
continue;
|
|
1168
|
+
}
|
|
1169
|
+
if (m !== "*") {
|
|
1170
|
+
if (m === "$" || m === "^") {
|
|
1171
|
+
m = `\\${m}`;
|
|
1172
|
+
}
|
|
1173
|
+
const t = Y.exec(B());
|
|
1174
|
+
if (t) {
|
|
1175
|
+
m += t[0];
|
|
1176
|
+
H.index += t[0].length;
|
|
1177
|
+
}
|
|
1178
|
+
U({
|
|
1179
|
+
type: "text",
|
|
1180
|
+
value: m
|
|
1181
|
+
});
|
|
1182
|
+
continue;
|
|
1183
|
+
}
|
|
1184
|
+
if (k && (k.type === "globstar" || k.star === true)) {
|
|
1185
|
+
k.type = "star";
|
|
1186
|
+
k.star = true;
|
|
1187
|
+
k.value += m;
|
|
1188
|
+
k.output = v;
|
|
1189
|
+
H.backtrack = true;
|
|
1190
|
+
H.globstar = true;
|
|
1191
|
+
M(m);
|
|
1192
|
+
continue;
|
|
1193
|
+
}
|
|
1194
|
+
let e = B();
|
|
1195
|
+
if (n.noextglob !== true && /^\([^?]/.test(e)) {
|
|
1196
|
+
X("star", m);
|
|
1197
|
+
continue;
|
|
1198
|
+
}
|
|
1199
|
+
if (k.type === "star") {
|
|
1200
|
+
if (n.noglobstar === true) {
|
|
1201
|
+
M(m);
|
|
1202
|
+
continue;
|
|
1203
|
+
}
|
|
1204
|
+
const u = k.prev;
|
|
1205
|
+
const o = u.prev;
|
|
1206
|
+
const r = u.type === "slash" || u.type === "bos";
|
|
1207
|
+
const s = o && (o.type === "star" || o.type === "globstar");
|
|
1208
|
+
if (n.bash === true && (!r || e[0] && e[0] !== "/")) {
|
|
1209
|
+
U({
|
|
1210
|
+
type: "star",
|
|
1211
|
+
value: m,
|
|
1212
|
+
output: ""
|
|
1213
|
+
});
|
|
1214
|
+
continue;
|
|
1215
|
+
}
|
|
1216
|
+
const a = H.braces > 0 && (u.type === "comma" || u.type === "brace");
|
|
1217
|
+
const i = T.length && (u.type === "pipe" || u.type === "paren");
|
|
1218
|
+
if (!r && u.type !== "paren" && !a && !i) {
|
|
1219
|
+
U({
|
|
1220
|
+
type: "star",
|
|
1221
|
+
value: m,
|
|
1222
|
+
output: ""
|
|
1223
|
+
});
|
|
1224
|
+
continue;
|
|
1225
|
+
}
|
|
1226
|
+
while (e.slice(0, 3) === "/**") {
|
|
1227
|
+
const n = t[H.index + 4];
|
|
1228
|
+
if (n && n !== "/") {
|
|
1229
|
+
break;
|
|
1230
|
+
}
|
|
1231
|
+
e = e.slice(3);
|
|
1232
|
+
M("/**", 3);
|
|
1233
|
+
}
|
|
1234
|
+
if (u.type === "bos" && w()) {
|
|
1235
|
+
k.type = "globstar";
|
|
1236
|
+
k.value += m;
|
|
1237
|
+
k.output = C(n);
|
|
1238
|
+
H.output = k.output;
|
|
1239
|
+
H.globstar = true;
|
|
1240
|
+
M(m);
|
|
1241
|
+
continue;
|
|
1242
|
+
}
|
|
1243
|
+
if (u.type === "slash" && u.prev.type !== "bos" && !s && w()) {
|
|
1244
|
+
H.output = H.output.slice(0, -(u.output + k.output).length);
|
|
1245
|
+
u.output = `(?:${u.output}`;
|
|
1246
|
+
k.type = "globstar";
|
|
1247
|
+
k.output = C(n) + (n.strictSlashes ? ")" : "|$)");
|
|
1248
|
+
k.value += m;
|
|
1249
|
+
H.globstar = true;
|
|
1250
|
+
H.output += u.output + k.output;
|
|
1251
|
+
M(m);
|
|
1252
|
+
continue;
|
|
1253
|
+
}
|
|
1254
|
+
if (u.type === "slash" && u.prev.type !== "bos" && e[0] === "/") {
|
|
1255
|
+
const t = e[1] !== void 0 ? "|$" : "";
|
|
1256
|
+
H.output = H.output.slice(0, -(u.output + k.output).length);
|
|
1257
|
+
u.output = `(?:${u.output}`;
|
|
1258
|
+
k.type = "globstar";
|
|
1259
|
+
k.output = `${C(n)}${A}|${A}${t})`;
|
|
1260
|
+
k.value += m;
|
|
1261
|
+
H.output += u.output + k.output;
|
|
1262
|
+
H.globstar = true;
|
|
1263
|
+
M(m + I());
|
|
1264
|
+
U({
|
|
1265
|
+
type: "slash",
|
|
1266
|
+
value: "/",
|
|
1267
|
+
output: ""
|
|
1268
|
+
});
|
|
1269
|
+
continue;
|
|
1270
|
+
}
|
|
1271
|
+
if (u.type === "bos" && e[0] === "/") {
|
|
1272
|
+
k.type = "globstar";
|
|
1273
|
+
k.value += m;
|
|
1274
|
+
k.output = `(?:^|${A}|${C(n)}${A})`;
|
|
1275
|
+
H.output = k.output;
|
|
1276
|
+
H.globstar = true;
|
|
1277
|
+
M(m + I());
|
|
1278
|
+
U({
|
|
1279
|
+
type: "slash",
|
|
1280
|
+
value: "/",
|
|
1281
|
+
output: ""
|
|
1282
|
+
});
|
|
1283
|
+
continue;
|
|
1284
|
+
}
|
|
1285
|
+
H.output = H.output.slice(0, -k.output.length);
|
|
1286
|
+
k.type = "globstar";
|
|
1287
|
+
k.output = C(n);
|
|
1288
|
+
k.value += m;
|
|
1289
|
+
H.output += k.output;
|
|
1290
|
+
H.globstar = true;
|
|
1291
|
+
M(m);
|
|
1292
|
+
continue;
|
|
1293
|
+
}
|
|
1294
|
+
const u = {
|
|
1295
|
+
type: "star",
|
|
1296
|
+
value: m,
|
|
1297
|
+
output: v
|
|
1298
|
+
};
|
|
1299
|
+
if (n.bash === true) {
|
|
1300
|
+
u.output = ".*?";
|
|
1301
|
+
if (k.type === "bos" || k.type === "slash") {
|
|
1302
|
+
u.output = x + u.output;
|
|
1303
|
+
}
|
|
1304
|
+
U(u);
|
|
1305
|
+
continue;
|
|
1306
|
+
}
|
|
1307
|
+
if (k && (k.type === "bracket" || k.type === "paren") && n.regex === true) {
|
|
1308
|
+
u.output = m;
|
|
1309
|
+
U(u);
|
|
1310
|
+
continue;
|
|
1311
|
+
}
|
|
1312
|
+
if (H.index === H.start || k.type === "slash" || k.type === "dot") {
|
|
1313
|
+
if (k.type === "dot") {
|
|
1314
|
+
H.output += E;
|
|
1315
|
+
k.output += E;
|
|
1316
|
+
} else if (n.dot === true) {
|
|
1317
|
+
H.output += g;
|
|
1318
|
+
k.output += g;
|
|
1319
|
+
} else {
|
|
1320
|
+
H.output += x;
|
|
1321
|
+
k.output += x;
|
|
1322
|
+
}
|
|
1323
|
+
if (N() !== "*") {
|
|
1324
|
+
H.output += R;
|
|
1325
|
+
k.output += R;
|
|
1326
|
+
}
|
|
1327
|
+
}
|
|
1328
|
+
U(u);
|
|
1329
|
+
}
|
|
1330
|
+
while (H.brackets > 0) {
|
|
1331
|
+
if (n.strictBrackets === true) throw new SyntaxError(tt("closing", "]"));
|
|
1332
|
+
H.output = j.escapeLast(H.output, "[");
|
|
1333
|
+
K("brackets");
|
|
1334
|
+
}
|
|
1335
|
+
while (H.parens > 0) {
|
|
1336
|
+
if (n.strictBrackets === true) throw new SyntaxError(tt("closing", ")"));
|
|
1337
|
+
H.output = j.escapeLast(H.output, "(");
|
|
1338
|
+
K("parens");
|
|
1339
|
+
}
|
|
1340
|
+
while (H.braces > 0) {
|
|
1341
|
+
if (n.strictBrackets === true) throw new SyntaxError(tt("closing", "}"));
|
|
1342
|
+
H.output = j.escapeLast(H.output, "{");
|
|
1343
|
+
K("braces");
|
|
1344
|
+
}
|
|
1345
|
+
if (n.strictSlashes !== true && (k.type === "star" || k.type === "bracket")) {
|
|
1346
|
+
U({
|
|
1347
|
+
type: "maybe_slash",
|
|
1348
|
+
value: "",
|
|
1349
|
+
output: `${A}?`
|
|
1350
|
+
});
|
|
1351
|
+
}
|
|
1352
|
+
if (H.backtrack === true) {
|
|
1353
|
+
H.output = "";
|
|
1354
|
+
for (const t of H.tokens) {
|
|
1355
|
+
H.output += t.output != null ? t.output : t.value;
|
|
1356
|
+
if (t.suffix) {
|
|
1357
|
+
H.output += t.suffix;
|
|
1358
|
+
}
|
|
1359
|
+
}
|
|
1360
|
+
}
|
|
1361
|
+
return H;
|
|
1362
|
+
};
|
|
1363
|
+
|
|
1364
|
+
et.fastpaths = (t, e) => {
|
|
1365
|
+
const n = {
|
|
1366
|
+
...e
|
|
1367
|
+
};
|
|
1368
|
+
const u = typeof n.maxLength === "number" ? Math.min(q, n.maxLength) : q;
|
|
1369
|
+
const o = t.length;
|
|
1370
|
+
if (o > u) {
|
|
1371
|
+
throw new SyntaxError(`Input length: ${o}, exceeds maximum allowed length: ${u}`);
|
|
1372
|
+
}
|
|
1373
|
+
t = V[t] || t;
|
|
1374
|
+
const r = j.isWindows(e);
|
|
1375
|
+
const {DOT_LITERAL: s, SLASH_LITERAL: a, ONE_CHAR: i, DOTS_SLASH: c, NO_DOT: l, NO_DOTS: p, NO_DOTS_SLASH: f, STAR: A, START_ANCHOR: R} = W.globChars(r);
|
|
1376
|
+
const h = n.dot ? p : l;
|
|
1377
|
+
const _ = n.dot ? f : l;
|
|
1378
|
+
const E = n.capture ? "" : "?:";
|
|
1379
|
+
const g = {
|
|
1380
|
+
negated: false,
|
|
1381
|
+
prefix: ""
|
|
1382
|
+
};
|
|
1383
|
+
let b = n.bash === true ? ".*?" : A;
|
|
1384
|
+
if (n.capture) {
|
|
1385
|
+
b = `(${b})`;
|
|
1386
|
+
}
|
|
1387
|
+
const y = t => {
|
|
1388
|
+
if (t.noglobstar === true) return b;
|
|
1389
|
+
return `(${E}(?:(?!${R}${t.dot ? c : s}).)*?)`;
|
|
1390
|
+
};
|
|
1391
|
+
const S = t => {
|
|
1392
|
+
switch (t) {
|
|
1393
|
+
case "*":
|
|
1394
|
+
return `${h}${i}${b}`;
|
|
1395
|
+
|
|
1396
|
+
case ".*":
|
|
1397
|
+
return `${s}${i}${b}`;
|
|
1398
|
+
|
|
1399
|
+
case "*.*":
|
|
1400
|
+
return `${h}${b}${s}${i}${b}`;
|
|
1401
|
+
|
|
1402
|
+
case "*/*":
|
|
1403
|
+
return `${h}${b}${a}${i}${_}${b}`;
|
|
1404
|
+
|
|
1405
|
+
case "**":
|
|
1406
|
+
return h + y(n);
|
|
1407
|
+
|
|
1408
|
+
case "**/*":
|
|
1409
|
+
return `(?:${h}${y(n)}${a})?${_}${i}${b}`;
|
|
1410
|
+
|
|
1411
|
+
case "**/*.*":
|
|
1412
|
+
return `(?:${h}${y(n)}${a})?${_}${b}${s}${i}${b}`;
|
|
1413
|
+
|
|
1414
|
+
case "**/.*":
|
|
1415
|
+
return `(?:${h}${y(n)}${a})?${s}${i}${b}`;
|
|
1416
|
+
|
|
1417
|
+
default:
|
|
1418
|
+
{
|
|
1419
|
+
const e = /^(.*?)\.(\w+)$/.exec(t);
|
|
1420
|
+
if (!e) return;
|
|
1421
|
+
const n = S(e[1]);
|
|
1422
|
+
if (!n) return;
|
|
1423
|
+
return n + s + e[2];
|
|
1424
|
+
}
|
|
1425
|
+
}
|
|
1426
|
+
};
|
|
1427
|
+
const $ = j.removePrefix(t, g);
|
|
1428
|
+
let C = S($);
|
|
1429
|
+
if (C && n.strictSlashes !== true) {
|
|
1430
|
+
C += `${a}?`;
|
|
1431
|
+
}
|
|
1432
|
+
return C;
|
|
1433
|
+
};
|
|
1434
|
+
|
|
1435
|
+
var nt = et;
|
|
1436
|
+
|
|
1437
|
+
const ut = n;
|
|
1438
|
+
|
|
1439
|
+
const ot = Q;
|
|
1440
|
+
|
|
1441
|
+
const rt = nt;
|
|
1442
|
+
|
|
1443
|
+
const st = u;
|
|
1444
|
+
|
|
1445
|
+
const at = d;
|
|
1446
|
+
|
|
1447
|
+
const it = t => t && typeof t === "object" && !Array.isArray(t);
|
|
1448
|
+
|
|
1449
|
+
const ct = (t, e, n = false) => {
|
|
1450
|
+
if (Array.isArray(t)) {
|
|
1451
|
+
const u = t.map(t => ct(t, e, n));
|
|
1452
|
+
const o = t => {
|
|
1453
|
+
for (const e of u) {
|
|
1454
|
+
const n = e(t);
|
|
1455
|
+
if (n) return n;
|
|
1456
|
+
}
|
|
1457
|
+
return false;
|
|
1458
|
+
};
|
|
1459
|
+
return o;
|
|
1460
|
+
}
|
|
1461
|
+
const u = it(t) && t.tokens && t.input;
|
|
1462
|
+
if (t === "" || typeof t !== "string" && !u) {
|
|
1463
|
+
throw new TypeError("Expected pattern to be a non-empty string");
|
|
1464
|
+
}
|
|
1465
|
+
const o = e || {};
|
|
1466
|
+
const r = st.isWindows(e);
|
|
1467
|
+
const s = u ? ct.compileRe(t, e) : ct.makeRe(t, e, false, true);
|
|
1468
|
+
const a = s.state;
|
|
1469
|
+
delete s.state;
|
|
1470
|
+
let i = () => false;
|
|
1471
|
+
if (o.ignore) {
|
|
1472
|
+
const t = {
|
|
1473
|
+
...e,
|
|
1474
|
+
ignore: null,
|
|
1475
|
+
onMatch: null,
|
|
1476
|
+
onResult: null
|
|
1477
|
+
};
|
|
1478
|
+
i = ct(o.ignore, t, n);
|
|
1479
|
+
}
|
|
1480
|
+
const c = (n, u = false) => {
|
|
1481
|
+
const {isMatch: c, match: l, output: p} = ct.test(n, s, e, {
|
|
1482
|
+
glob: t,
|
|
1483
|
+
posix: r
|
|
1484
|
+
});
|
|
1485
|
+
const f = {
|
|
1486
|
+
glob: t,
|
|
1487
|
+
state: a,
|
|
1488
|
+
regex: s,
|
|
1489
|
+
posix: r,
|
|
1490
|
+
input: n,
|
|
1491
|
+
output: p,
|
|
1492
|
+
match: l,
|
|
1493
|
+
isMatch: c
|
|
1494
|
+
};
|
|
1495
|
+
if (typeof o.onResult === "function") {
|
|
1496
|
+
o.onResult(f);
|
|
1497
|
+
}
|
|
1498
|
+
if (c === false) {
|
|
1499
|
+
f.isMatch = false;
|
|
1500
|
+
return u ? f : false;
|
|
1501
|
+
}
|
|
1502
|
+
if (i(n)) {
|
|
1503
|
+
if (typeof o.onIgnore === "function") {
|
|
1504
|
+
o.onIgnore(f);
|
|
1505
|
+
}
|
|
1506
|
+
f.isMatch = false;
|
|
1507
|
+
return u ? f : false;
|
|
1508
|
+
}
|
|
1509
|
+
if (typeof o.onMatch === "function") {
|
|
1510
|
+
o.onMatch(f);
|
|
1511
|
+
}
|
|
1512
|
+
return u ? f : true;
|
|
1513
|
+
};
|
|
1514
|
+
if (n) {
|
|
1515
|
+
c.state = a;
|
|
1516
|
+
}
|
|
1517
|
+
return c;
|
|
1518
|
+
};
|
|
1519
|
+
|
|
1520
|
+
ct.test = (t, e, n, {glob: u, posix: o} = {}) => {
|
|
1521
|
+
if (typeof t !== "string") {
|
|
1522
|
+
throw new TypeError("Expected input to be a string");
|
|
1523
|
+
}
|
|
1524
|
+
if (t === "") {
|
|
1525
|
+
return {
|
|
1526
|
+
isMatch: false,
|
|
1527
|
+
output: ""
|
|
1528
|
+
};
|
|
1529
|
+
}
|
|
1530
|
+
const r = n || {};
|
|
1531
|
+
const s = r.format || (o ? st.toPosixSlashes : null);
|
|
1532
|
+
let a = t === u;
|
|
1533
|
+
let i = a && s ? s(t) : t;
|
|
1534
|
+
if (a === false) {
|
|
1535
|
+
i = s ? s(t) : t;
|
|
1536
|
+
a = i === u;
|
|
1537
|
+
}
|
|
1538
|
+
if (a === false || r.capture === true) {
|
|
1539
|
+
if (r.matchBase === true || r.basename === true) {
|
|
1540
|
+
a = ct.matchBase(t, e, n, o);
|
|
53
1541
|
} else {
|
|
54
|
-
|
|
1542
|
+
a = e.exec(i);
|
|
55
1543
|
}
|
|
56
1544
|
}
|
|
57
|
-
|
|
1545
|
+
return {
|
|
1546
|
+
isMatch: Boolean(a),
|
|
1547
|
+
match: a,
|
|
1548
|
+
output: i
|
|
1549
|
+
};
|
|
1550
|
+
};
|
|
1551
|
+
|
|
1552
|
+
ct.matchBase = (t, e, n, u = st.isWindows(n)) => {
|
|
1553
|
+
const o = e instanceof RegExp ? e : ct.makeRe(e, n);
|
|
1554
|
+
return o.test(ut.basename(t));
|
|
1555
|
+
};
|
|
1556
|
+
|
|
1557
|
+
ct.isMatch = (t, e, n) => ct(e, n)(t);
|
|
1558
|
+
|
|
1559
|
+
ct.parse = (t, e) => {
|
|
1560
|
+
if (Array.isArray(t)) return t.map(t => ct.parse(t, e));
|
|
1561
|
+
return rt(t, {
|
|
1562
|
+
...e,
|
|
1563
|
+
fastpaths: false
|
|
1564
|
+
});
|
|
1565
|
+
};
|
|
1566
|
+
|
|
1567
|
+
ct.scan = (t, e) => ot(t, e);
|
|
1568
|
+
|
|
1569
|
+
ct.compileRe = (t, e, n = false, u = false) => {
|
|
1570
|
+
if (n === true) {
|
|
1571
|
+
return t.output;
|
|
1572
|
+
}
|
|
1573
|
+
const o = e || {};
|
|
1574
|
+
const r = o.contains ? "" : "^";
|
|
1575
|
+
const s = o.contains ? "" : "$";
|
|
1576
|
+
let a = `${r}(?:${t.output})${s}`;
|
|
1577
|
+
if (t && t.negated === true) {
|
|
1578
|
+
a = `^(?!${a}).*$`;
|
|
1579
|
+
}
|
|
1580
|
+
const i = ct.toRegex(a, e);
|
|
1581
|
+
if (u === true) {
|
|
1582
|
+
i.state = t;
|
|
1583
|
+
}
|
|
1584
|
+
return i;
|
|
1585
|
+
};
|
|
58
1586
|
|
|
59
|
-
|
|
60
|
-
if (
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
1587
|
+
ct.makeRe = (t, e = {}, n = false, u = false) => {
|
|
1588
|
+
if (!t || typeof t !== "string") {
|
|
1589
|
+
throw new TypeError("Expected a non-empty string");
|
|
1590
|
+
}
|
|
1591
|
+
let o = {
|
|
1592
|
+
negated: false,
|
|
1593
|
+
fastpaths: true
|
|
1594
|
+
};
|
|
1595
|
+
if (e.fastpaths !== false && (t[0] === "." || t[0] === "*")) {
|
|
1596
|
+
o.output = rt.fastpaths(t, e);
|
|
64
1597
|
}
|
|
65
|
-
|
|
66
|
-
|
|
1598
|
+
if (!o.output) {
|
|
1599
|
+
o = rt(t, e);
|
|
1600
|
+
}
|
|
1601
|
+
return ct.compileRe(o, e, n, u);
|
|
1602
|
+
};
|
|
1603
|
+
|
|
1604
|
+
ct.toRegex = (t, e) => {
|
|
1605
|
+
try {
|
|
1606
|
+
const n = e || {};
|
|
1607
|
+
return new RegExp(t, n.flags || (n.nocase ? "i" : ""));
|
|
1608
|
+
} catch (t) {
|
|
1609
|
+
if (e && e.debug === true) throw t;
|
|
1610
|
+
return /$^/;
|
|
1611
|
+
}
|
|
1612
|
+
};
|
|
1613
|
+
|
|
1614
|
+
ct.constants = at;
|
|
1615
|
+
|
|
1616
|
+
var lt = ct;
|
|
1617
|
+
|
|
1618
|
+
var pt = lt;
|
|
1619
|
+
|
|
1620
|
+
const ft = t;
|
|
1621
|
+
|
|
1622
|
+
const At = e;
|
|
1623
|
+
|
|
1624
|
+
const Rt = pt;
|
|
1625
|
+
|
|
1626
|
+
const ht = u;
|
|
1627
|
+
|
|
1628
|
+
const _t = t => t === "" || t === "./";
|
|
1629
|
+
|
|
1630
|
+
const Et = t => {
|
|
1631
|
+
const e = t.indexOf("{");
|
|
1632
|
+
return e > -1 && t.indexOf("}", e) > -1;
|
|
1633
|
+
};
|
|
1634
|
+
|
|
1635
|
+
const gt = (t, e, n) => {
|
|
1636
|
+
e = [].concat(e);
|
|
1637
|
+
t = [].concat(t);
|
|
1638
|
+
let u = new Set;
|
|
1639
|
+
let o = new Set;
|
|
1640
|
+
let r = new Set;
|
|
1641
|
+
let s = 0;
|
|
1642
|
+
let a = t => {
|
|
1643
|
+
r.add(t.output);
|
|
1644
|
+
if (n && n.onResult) {
|
|
1645
|
+
n.onResult(t);
|
|
1646
|
+
}
|
|
1647
|
+
};
|
|
1648
|
+
for (let r = 0; r < e.length; r++) {
|
|
1649
|
+
let i = Rt(String(e[r]), {
|
|
1650
|
+
...n,
|
|
1651
|
+
onResult: a
|
|
1652
|
+
}, true);
|
|
1653
|
+
let c = i.state.negated || i.state.negatedExtglob;
|
|
1654
|
+
if (c) s++;
|
|
1655
|
+
for (let e of t) {
|
|
1656
|
+
let t = i(e, true);
|
|
1657
|
+
let n = c ? !t.isMatch : t.isMatch;
|
|
1658
|
+
if (!n) continue;
|
|
1659
|
+
if (c) {
|
|
1660
|
+
u.add(t.output);
|
|
1661
|
+
} else {
|
|
1662
|
+
u.delete(t.output);
|
|
1663
|
+
o.add(t.output);
|
|
1664
|
+
}
|
|
1665
|
+
}
|
|
1666
|
+
}
|
|
1667
|
+
let i = s === e.length ? [ ...r ] : [ ...o ];
|
|
1668
|
+
let c = i.filter(t => !u.has(t));
|
|
1669
|
+
if (n && c.length === 0) {
|
|
1670
|
+
if (n.failglob === true) {
|
|
1671
|
+
throw new Error(`No matches found for "${e.join(", ")}"`);
|
|
1672
|
+
}
|
|
1673
|
+
if (n.nonull === true || n.nullglob === true) {
|
|
1674
|
+
return n.unescape ? e.map(t => t.replace(/\\/g, "")) : e;
|
|
1675
|
+
}
|
|
1676
|
+
}
|
|
1677
|
+
return c;
|
|
1678
|
+
};
|
|
1679
|
+
|
|
1680
|
+
gt.match = gt;
|
|
1681
|
+
|
|
1682
|
+
gt.matcher = (t, e) => Rt(t, e);
|
|
1683
|
+
|
|
1684
|
+
gt.isMatch = (t, e, n) => Rt(e, n)(t);
|
|
1685
|
+
|
|
1686
|
+
gt.any = gt.isMatch;
|
|
1687
|
+
|
|
1688
|
+
gt.not = (t, e, n = {}) => {
|
|
1689
|
+
e = [].concat(e).map(String);
|
|
1690
|
+
let u = new Set;
|
|
1691
|
+
let o = [];
|
|
1692
|
+
let r = t => {
|
|
1693
|
+
if (n.onResult) n.onResult(t);
|
|
1694
|
+
o.push(t.output);
|
|
1695
|
+
};
|
|
1696
|
+
let s = new Set(gt(t, e, {
|
|
1697
|
+
...n,
|
|
1698
|
+
onResult: r
|
|
1699
|
+
}));
|
|
1700
|
+
for (let t of o) {
|
|
1701
|
+
if (!s.has(t)) {
|
|
1702
|
+
u.add(t);
|
|
1703
|
+
}
|
|
1704
|
+
}
|
|
1705
|
+
return [ ...u ];
|
|
1706
|
+
};
|
|
1707
|
+
|
|
1708
|
+
gt.contains = (t, e, n) => {
|
|
1709
|
+
if (typeof t !== "string") {
|
|
1710
|
+
throw new TypeError(`Expected a string: "${ft.inspect(t)}"`);
|
|
1711
|
+
}
|
|
1712
|
+
if (Array.isArray(e)) {
|
|
1713
|
+
return e.some(e => gt.contains(t, e, n));
|
|
1714
|
+
}
|
|
1715
|
+
if (typeof e === "string") {
|
|
1716
|
+
if (_t(t) || _t(e)) {
|
|
1717
|
+
return false;
|
|
1718
|
+
}
|
|
1719
|
+
if (t.includes(e) || t.startsWith("./") && t.slice(2).includes(e)) {
|
|
1720
|
+
return true;
|
|
1721
|
+
}
|
|
1722
|
+
}
|
|
1723
|
+
return gt.isMatch(t, e, {
|
|
1724
|
+
...n,
|
|
1725
|
+
contains: true
|
|
1726
|
+
});
|
|
1727
|
+
};
|
|
1728
|
+
|
|
1729
|
+
gt.matchKeys = (t, e, n) => {
|
|
1730
|
+
if (!ht.isObject(t)) {
|
|
1731
|
+
throw new TypeError("Expected the first argument to be an object");
|
|
1732
|
+
}
|
|
1733
|
+
let u = gt(Object.keys(t), e, n);
|
|
1734
|
+
let o = {};
|
|
1735
|
+
for (let e of u) o[e] = t[e];
|
|
1736
|
+
return o;
|
|
1737
|
+
};
|
|
1738
|
+
|
|
1739
|
+
gt.some = (t, e, n) => {
|
|
1740
|
+
let u = [].concat(t);
|
|
1741
|
+
for (let t of [].concat(e)) {
|
|
1742
|
+
let e = Rt(String(t), n);
|
|
1743
|
+
if (u.some(t => e(t))) {
|
|
1744
|
+
return true;
|
|
1745
|
+
}
|
|
1746
|
+
}
|
|
1747
|
+
return false;
|
|
1748
|
+
};
|
|
1749
|
+
|
|
1750
|
+
gt.every = (t, e, n) => {
|
|
1751
|
+
let u = [].concat(t);
|
|
1752
|
+
for (let t of [].concat(e)) {
|
|
1753
|
+
let e = Rt(String(t), n);
|
|
1754
|
+
if (!u.every(t => e(t))) {
|
|
1755
|
+
return false;
|
|
1756
|
+
}
|
|
1757
|
+
}
|
|
1758
|
+
return true;
|
|
1759
|
+
};
|
|
1760
|
+
|
|
1761
|
+
gt.all = (t, e, n) => {
|
|
1762
|
+
if (typeof t !== "string") {
|
|
1763
|
+
throw new TypeError(`Expected a string: "${ft.inspect(t)}"`);
|
|
1764
|
+
}
|
|
1765
|
+
return [].concat(e).every(e => Rt(e, n)(t));
|
|
1766
|
+
};
|
|
1767
|
+
|
|
1768
|
+
gt.capture = (t, e, n) => {
|
|
1769
|
+
let u = ht.isWindows(n);
|
|
1770
|
+
let o = Rt.makeRe(String(t), {
|
|
1771
|
+
...n,
|
|
1772
|
+
capture: true
|
|
1773
|
+
});
|
|
1774
|
+
let r = o.exec(u ? ht.toPosixSlashes(e) : e);
|
|
1775
|
+
if (r) {
|
|
1776
|
+
return r.slice(1).map(t => t === void 0 ? "" : t);
|
|
1777
|
+
}
|
|
1778
|
+
};
|
|
1779
|
+
|
|
1780
|
+
gt.makeRe = (...t) => Rt.makeRe(...t);
|
|
1781
|
+
|
|
1782
|
+
gt.scan = (...t) => Rt.scan(...t);
|
|
1783
|
+
|
|
1784
|
+
gt.parse = (t, e) => {
|
|
1785
|
+
let n = [];
|
|
1786
|
+
for (let u of [].concat(t || [])) {
|
|
1787
|
+
for (let t of At(String(u), e)) {
|
|
1788
|
+
n.push(Rt.parse(t, e));
|
|
1789
|
+
}
|
|
1790
|
+
}
|
|
1791
|
+
return n;
|
|
1792
|
+
};
|
|
1793
|
+
|
|
1794
|
+
gt.braces = (t, e) => {
|
|
1795
|
+
if (typeof t !== "string") throw new TypeError("Expected a string");
|
|
1796
|
+
if (e && e.nobrace === true || !Et(t)) {
|
|
1797
|
+
return [ t ];
|
|
1798
|
+
}
|
|
1799
|
+
return At(t, e);
|
|
1800
|
+
};
|
|
1801
|
+
|
|
1802
|
+
gt.braceExpand = (t, e) => {
|
|
1803
|
+
if (typeof t !== "string") throw new TypeError("Expected a string");
|
|
1804
|
+
return gt.braces(t, {
|
|
1805
|
+
...e,
|
|
1806
|
+
expand: true
|
|
1807
|
+
});
|
|
1808
|
+
};
|
|
67
1809
|
|
|
68
|
-
|
|
69
|
-
if (parseInt) return parseInt(e, r); else if (Number.parseInt) return Number.parseInt(e, r); else if (window && window.parseInt) return window.parseInt(e, r); else throw new Error("parseInt, Number.parseInt, window.parseInt are not supported");
|
|
70
|
-
}
|
|
1810
|
+
gt.hasBraces = Et;
|
|
71
1811
|
|
|
72
|
-
var
|
|
1812
|
+
var bt = gt;
|
|
73
1813
|
|
|
74
|
-
export {
|
|
1814
|
+
export { bt as m };
|