lakutata 2.0.96 → 2.0.98
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 +31 -135
- package/com/cacher.mjs +23 -127
- package/com/database.cjs +24 -166
- package/com/database.mjs +24 -166
- package/com/docker.cjs +94 -276
- package/com/docker.mjs +39 -221
- package/com/entrypoint.cjs +33 -119
- package/com/entrypoint.mjs +20 -106
- package/com/logger.cjs +19 -123
- package/com/logger.mjs +19 -123
- package/com/monitor.cjs +24 -88
- package/com/monitor.mjs +20 -84
- package/decorator/asst.cjs +5 -7
- package/decorator/asst.mjs +5 -7
- package/decorator/ctrl.cjs +22 -58
- package/decorator/ctrl.mjs +10 -46
- package/decorator/di.cjs +12 -42
- package/decorator/di.mjs +8 -38
- package/decorator/dto.cjs +13 -43
- package/decorator/dto.mjs +9 -39
- package/decorator/orm.cjs +117 -113
- package/decorator/orm.mjs +71 -67
- package/dtos.cjs +8 -38
- package/dtos.mjs +8 -38
- package/helper.cjs +73 -127
- package/helper.mjs +12 -66
- package/lakutata.cjs +116 -328
- package/lakutata.mjs +60 -272
- package/orm.cjs +854 -173
- package/orm.mjs +866 -65
- package/package.json +1 -1
- package/provider/database.cjs +26 -166
- package/provider/database.mjs +26 -166
- package/provider/passwordHash.cjs +18 -82
- package/provider/passwordHash.mjs +18 -82
- package/src/components/Database.cjs +36 -178
- package/src/components/Database.mjs +68 -210
- package/src/components/Logger.cjs +50 -191
- package/src/components/Logger.mjs +46 -194
- package/src/components/cacher/Cacher.cjs +511 -174
- package/src/components/cacher/Cacher.mjs +502 -171
- package/src/components/cacher/adapters/CreateFileCacheAdapter.cjs +547 -35
- package/src/components/cacher/adapters/CreateFileCacheAdapter.mjs +530 -34
- package/src/components/cacher/adapters/CreateMemcacheCacheAdapter.cjs +17 -61
- package/src/components/cacher/adapters/CreateMemcacheCacheAdapter.mjs +19 -63
- package/src/components/cacher/adapters/CreateMongoCacheAdapter.cjs +21 -65
- package/src/components/cacher/adapters/CreateMongoCacheAdapter.mjs +22 -66
- package/src/components/cacher/adapters/CreateMysqlCacheAdapter.cjs +7 -45
- package/src/components/cacher/adapters/CreateMysqlCacheAdapter.mjs +18 -56
- package/src/components/cacher/adapters/CreatePostgresCacheAdapter.cjs +23 -67
- package/src/components/cacher/adapters/CreatePostgresCacheAdapter.mjs +23 -67
- package/src/components/cacher/adapters/CreateRedisCacheAdapter.cjs +6 -44
- package/src/components/cacher/adapters/CreateRedisCacheAdapter.mjs +27 -65
- package/src/components/cacher/adapters/CreateSqliteCacheAdapter.cjs +11 -55
- package/src/components/cacher/adapters/CreateSqliteCacheAdapter.mjs +18 -62
- package/src/components/cacher/exceptions/CacheDriverNotFoundException.cjs +4 -6
- package/src/components/cacher/exceptions/CacheDriverNotFoundException.mjs +4 -6
- 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 -6
- package/src/components/cacher/lib/IsDriverPackageInstalled.mjs +4 -6
- package/src/components/cacher/options/FileCacheOptions.cjs +15 -45
- package/src/components/cacher/options/FileCacheOptions.mjs +15 -45
- package/src/components/cacher/options/MemcacheCacheOptions.cjs +16 -46
- package/src/components/cacher/options/MemcacheCacheOptions.mjs +17 -47
- package/src/components/cacher/options/MongoCacheOptions.cjs +9 -39
- package/src/components/cacher/options/MongoCacheOptions.mjs +18 -48
- package/src/components/cacher/options/MysqlCacheOptions.cjs +9 -39
- package/src/components/cacher/options/MysqlCacheOptions.mjs +19 -49
- package/src/components/cacher/options/PostgresCacheOptions.cjs +21 -51
- package/src/components/cacher/options/PostgresCacheOptions.mjs +20 -50
- package/src/components/cacher/options/RedisCacheOptions.cjs +26 -56
- package/src/components/cacher/options/RedisCacheOptions.mjs +9 -39
- package/src/components/cacher/options/SqliteCacheOptions.cjs +15 -45
- package/src/components/cacher/options/SqliteCacheOptions.mjs +14 -44
- package/src/components/cacher/types/CacheStoreOptions.cjs +1 -1
- package/src/components/cacher/types/CacheStoreOptions.mjs +1 -1
- package/src/components/docker/ConnectionOptionsBuilder.cjs +32 -214
- package/src/components/docker/ConnectionOptionsBuilder.mjs +37 -219
- package/src/components/docker/Docker.cjs +8727 -408
- package/src/components/docker/Docker.mjs +8903 -578
- package/src/components/docker/exceptions/DockerConnectionException.cjs +4 -6
- package/src/components/docker/exceptions/DockerConnectionException.mjs +4 -6
- package/src/components/docker/exceptions/DockerImageBuildException.cjs +4 -6
- package/src/components/docker/exceptions/DockerImageBuildException.mjs +4 -6
- package/src/components/docker/exceptions/DockerImageImportException.cjs +4 -6
- package/src/components/docker/exceptions/DockerImageImportException.mjs +4 -6
- package/src/components/docker/exceptions/DockerImageNotFoundException.cjs +4 -6
- package/src/components/docker/exceptions/DockerImageNotFoundException.mjs +4 -6
- package/src/components/docker/exceptions/DockerImagePullException.cjs +4 -6
- package/src/components/docker/exceptions/DockerImagePullException.mjs +4 -6
- package/src/components/docker/exceptions/DockerImagePushException.cjs +4 -6
- package/src/components/docker/exceptions/DockerImagePushException.mjs +4 -6
- package/src/components/docker/exceptions/DockerImageRepoTagNotFoundException.cjs +4 -6
- package/src/components/docker/exceptions/DockerImageRepoTagNotFoundException.mjs +4 -6
- package/src/components/docker/exceptions/DockerNetworkNotFoundException.cjs +4 -6
- package/src/components/docker/exceptions/DockerNetworkNotFoundException.mjs +4 -6
- 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 +174 -330
- package/src/components/docker/lib/DockerContainer.mjs +184 -340
- package/src/components/docker/lib/DockerContainerTTY.cjs +52 -260
- package/src/components/docker/lib/DockerContainerTTY.mjs +48 -263
- package/src/components/docker/lib/DockerImage.cjs +69 -131
- package/src/components/docker/lib/DockerImage.mjs +54 -116
- 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 +14 -44
- package/src/components/docker/options/DockerPruneOptions.mjs +15 -45
- package/src/components/docker/options/auth/DockerAuthOptions.cjs +9 -39
- package/src/components/docker/options/auth/DockerAuthOptions.mjs +15 -45
- package/src/components/docker/options/container/ContainerCommitOptions.cjs +12 -42
- package/src/components/docker/options/container/ContainerCommitOptions.mjs +12 -42
- package/src/components/docker/options/container/ContainerCreateTTYOptions.cjs +13 -43
- package/src/components/docker/options/container/ContainerCreateTTYOptions.mjs +12 -42
- package/src/components/docker/options/container/ContainerExecOptions.cjs +9 -39
- package/src/components/docker/options/container/ContainerExecOptions.mjs +11 -41
- package/src/components/docker/options/container/ContainerExportDirectoryOptions.cjs +13 -43
- package/src/components/docker/options/container/ContainerExportDirectoryOptions.mjs +12 -42
- package/src/components/docker/options/container/ContainerKillOptions.cjs +9 -39
- package/src/components/docker/options/container/ContainerKillOptions.mjs +12 -42
- package/src/components/docker/options/container/ContainerLogsOptions.cjs +15 -45
- package/src/components/docker/options/container/ContainerLogsOptions.mjs +15 -45
- package/src/components/docker/options/container/ContainerRemoveOptions.cjs +9 -39
- package/src/components/docker/options/container/ContainerRemoveOptions.mjs +12 -42
- package/src/components/docker/options/container/ContainerSettingOptions.cjs +9 -39
- package/src/components/docker/options/container/ContainerSettingOptions.mjs +43 -73
- package/src/components/docker/options/container/ContainerStopOptions.cjs +12 -42
- package/src/components/docker/options/container/ContainerStopOptions.mjs +9 -39
- package/src/components/docker/options/container/ContainerTTYConsoleSizeOptions.cjs +9 -39
- package/src/components/docker/options/container/ContainerTTYConsoleSizeOptions.mjs +12 -42
- package/src/components/docker/options/image/ImageBuildOptions.cjs +26 -56
- package/src/components/docker/options/image/ImageBuildOptions.mjs +25 -55
- package/src/components/docker/options/image/ImageExportOptions.cjs +14 -44
- package/src/components/docker/options/image/ImageExportOptions.mjs +14 -44
- package/src/components/docker/options/image/ImageImportOptions.cjs +13 -43
- package/src/components/docker/options/image/ImageImportOptions.mjs +12 -42
- package/src/components/docker/options/image/ImagePullOptions.cjs +9 -39
- package/src/components/docker/options/image/ImagePullOptions.mjs +16 -46
- package/src/components/docker/options/image/ImagePushOptions.cjs +15 -45
- package/src/components/docker/options/image/ImagePushOptions.mjs +15 -45
- package/src/components/docker/options/image/ImageRemoveOptions.cjs +12 -42
- package/src/components/docker/options/image/ImageRemoveOptions.mjs +13 -43
- package/src/components/docker/options/image/ImageTagOptions.cjs +9 -39
- package/src/components/docker/options/image/ImageTagOptions.mjs +12 -42
- package/src/components/docker/options/network/NetworkCreateOptions.cjs +9 -39
- package/src/components/docker/options/network/NetworkCreateOptions.mjs +20 -50
- 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 +1961 -322
- package/src/components/entrypoint/Entrypoint.mjs +1928 -281
- package/src/components/entrypoint/exceptions/AccessDenyException.cjs +4 -6
- package/src/components/entrypoint/exceptions/AccessDenyException.mjs +4 -6
- package/src/components/entrypoint/exceptions/ControllerActionNotFoundException.cjs +4 -6
- package/src/components/entrypoint/exceptions/ControllerActionNotFoundException.mjs +4 -6
- package/src/components/entrypoint/exceptions/DuplicateActionNameException.cjs +4 -6
- package/src/components/entrypoint/exceptions/DuplicateActionNameException.mjs +4 -6
- package/src/components/entrypoint/exceptions/InvalidActionGroupException.cjs +4 -6
- package/src/components/entrypoint/exceptions/InvalidActionGroupException.mjs +4 -6
- package/src/components/entrypoint/lib/AccessControl.cjs +71 -133
- package/src/components/entrypoint/lib/AccessControl.mjs +75 -137
- package/src/components/entrypoint/lib/AccessControlRule.cjs +19 -81
- package/src/components/entrypoint/lib/AccessControlRule.mjs +23 -85
- package/src/components/entrypoint/lib/Controller.cjs +42 -104
- package/src/components/entrypoint/lib/Controller.mjs +43 -105
- package/src/components/monitor/AliveMonitor.cjs +40 -104
- package/src/components/monitor/AliveMonitor.mjs +50 -114
- package/src/components/monitor/CpuMonitor.cjs +40 -104
- package/src/components/monitor/CpuMonitor.mjs +48 -112
- package/src/components/monitor/EventLoopMonitor.cjs +19 -83
- package/src/components/monitor/EventLoopMonitor.mjs +24 -88
- package/src/components/monitor/HttpRequestMonitor.cjs +41 -105
- package/src/components/monitor/HttpRequestMonitor.mjs +45 -109
- package/src/components/monitor/MemoryMonitor.cjs +87 -151
- package/src/components/monitor/MemoryMonitor.mjs +71 -135
- 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 +3 -3
- package/src/constants/DIMetadataKey.mjs +3 -3
- package/src/constants/DTOMetadataKey.cjs +3 -3
- package/src/constants/DTOMetadataKey.mjs +3 -3
- package/src/decorators/asst/After.cjs +4 -6
- package/src/decorators/asst/After.mjs +5 -7
- package/src/decorators/asst/Before.cjs +4 -6
- package/src/decorators/asst/Before.mjs +5 -7
- package/src/decorators/ctrl/CLIAction.cjs +15 -51
- package/src/decorators/ctrl/CLIAction.mjs +19 -55
- package/src/decorators/ctrl/HTTPAction.cjs +15 -51
- package/src/decorators/ctrl/HTTPAction.mjs +19 -55
- package/src/decorators/ctrl/ServiceAction.cjs +15 -51
- package/src/decorators/ctrl/ServiceAction.mjs +18 -54
- package/src/decorators/ctrl/http/DELETE.cjs +12 -48
- package/src/decorators/ctrl/http/DELETE.mjs +14 -50
- package/src/decorators/ctrl/http/GET.cjs +12 -48
- package/src/decorators/ctrl/http/GET.mjs +14 -50
- package/src/decorators/ctrl/http/HEAD.cjs +12 -48
- package/src/decorators/ctrl/http/HEAD.mjs +14 -50
- package/src/decorators/ctrl/http/OPTIONS.cjs +12 -48
- package/src/decorators/ctrl/http/OPTIONS.mjs +14 -50
- package/src/decorators/ctrl/http/PATCH.cjs +12 -48
- package/src/decorators/ctrl/http/PATCH.mjs +14 -50
- package/src/decorators/ctrl/http/POST.cjs +12 -48
- package/src/decorators/ctrl/http/POST.mjs +14 -50
- package/src/decorators/ctrl/http/PUT.cjs +12 -48
- package/src/decorators/ctrl/http/PUT.mjs +14 -50
- package/src/decorators/di/Autoload.cjs +3 -3
- package/src/decorators/di/Autoload.mjs +3 -3
- package/src/decorators/di/Configurable.cjs +10 -40
- package/src/decorators/di/Configurable.mjs +12 -42
- package/src/decorators/di/Inject.cjs +20 -50
- package/src/decorators/di/Inject.mjs +25 -55
- package/src/decorators/di/Lifetime.cjs +5 -7
- package/src/decorators/di/Lifetime.mjs +15 -17
- package/src/decorators/dto/Accept.cjs +10 -40
- package/src/decorators/dto/Accept.mjs +13 -43
- package/src/decorators/dto/Expect.cjs +11 -41
- package/src/decorators/dto/Expect.mjs +13 -43
- package/src/decorators/dto/IndexSignature.cjs +10 -40
- package/src/decorators/dto/IndexSignature.mjs +13 -43
- package/src/decorators/dto/Return.cjs +10 -40
- package/src/decorators/dto/Return.mjs +13 -43
- package/src/decorators/orm/AfterInsert.cjs +17 -95
- package/src/decorators/orm/AfterInsert.mjs +17 -95
- package/src/decorators/orm/AfterLoad.cjs +17 -95
- package/src/decorators/orm/AfterLoad.mjs +17 -95
- package/src/decorators/orm/AfterRecover.cjs +17 -95
- package/src/decorators/orm/AfterRecover.mjs +17 -95
- package/src/decorators/orm/AfterRemove.cjs +17 -95
- package/src/decorators/orm/AfterRemove.mjs +17 -95
- package/src/decorators/orm/AfterSoftRemove.cjs +17 -95
- package/src/decorators/orm/AfterSoftRemove.mjs +17 -95
- package/src/decorators/orm/AfterUpdate.cjs +17 -95
- package/src/decorators/orm/AfterUpdate.mjs +17 -95
- package/src/decorators/orm/BeforeInsert.cjs +17 -95
- package/src/decorators/orm/BeforeInsert.mjs +17 -95
- package/src/decorators/orm/BeforeRecover.cjs +17 -95
- package/src/decorators/orm/BeforeRecover.mjs +17 -95
- package/src/decorators/orm/BeforeRemove.cjs +17 -95
- package/src/decorators/orm/BeforeRemove.mjs +17 -95
- package/src/decorators/orm/BeforeSoftRemove.cjs +17 -95
- package/src/decorators/orm/BeforeSoftRemove.mjs +17 -95
- package/src/decorators/orm/BeforeUpdate.cjs +17 -95
- package/src/decorators/orm/BeforeUpdate.mjs +17 -95
- package/src/decorators/orm/Check.cjs +17 -95
- package/src/decorators/orm/Check.mjs +17 -95
- package/src/decorators/orm/ChildEntity.cjs +17 -95
- package/src/decorators/orm/ChildEntity.mjs +17 -95
- package/src/decorators/orm/Column.cjs +17 -95
- package/src/decorators/orm/Column.mjs +17 -95
- package/src/decorators/orm/CreateDateColumn.cjs +17 -95
- package/src/decorators/orm/CreateDateColumn.mjs +17 -95
- package/src/decorators/orm/DeleteDateColumn.cjs +17 -95
- package/src/decorators/orm/DeleteDateColumn.mjs +17 -95
- package/src/decorators/orm/Entity.cjs +17 -95
- package/src/decorators/orm/Entity.mjs +17 -95
- package/src/decorators/orm/EventSubscriber.cjs +17 -95
- package/src/decorators/orm/EventSubscriber.mjs +17 -95
- package/src/decorators/orm/Exclusion.cjs +17 -95
- package/src/decorators/orm/Exclusion.mjs +17 -95
- package/src/decorators/orm/Generated.cjs +17 -95
- package/src/decorators/orm/Generated.mjs +17 -95
- package/src/decorators/orm/Index.cjs +17 -95
- package/src/decorators/orm/Index.mjs +17 -95
- package/src/decorators/orm/JoinColumn.cjs +17 -95
- package/src/decorators/orm/JoinColumn.mjs +17 -95
- package/src/decorators/orm/JoinTable.cjs +17 -95
- package/src/decorators/orm/JoinTable.mjs +17 -95
- package/src/decorators/orm/ManyToMany.cjs +17 -95
- package/src/decorators/orm/ManyToMany.mjs +17 -95
- package/src/decorators/orm/ManyToOne.cjs +17 -95
- package/src/decorators/orm/ManyToOne.mjs +17 -95
- package/src/decorators/orm/ObjectIdColumn.cjs +17 -95
- package/src/decorators/orm/ObjectIdColumn.mjs +17 -95
- package/src/decorators/orm/OneToMany.cjs +17 -95
- package/src/decorators/orm/OneToMany.mjs +17 -95
- package/src/decorators/orm/OneToOne.cjs +17 -95
- package/src/decorators/orm/OneToOne.mjs +17 -95
- package/src/decorators/orm/PrimaryColumn.cjs +17 -95
- package/src/decorators/orm/PrimaryColumn.mjs +17 -95
- package/src/decorators/orm/PrimaryGeneratedColumn.cjs +17 -95
- package/src/decorators/orm/PrimaryGeneratedColumn.mjs +17 -95
- package/src/decorators/orm/RelationId.cjs +17 -95
- package/src/decorators/orm/RelationId.mjs +17 -95
- package/src/decorators/orm/TableInheritance.cjs +17 -95
- package/src/decorators/orm/TableInheritance.mjs +17 -95
- package/src/decorators/orm/Tree.cjs +17 -95
- package/src/decorators/orm/Tree.mjs +17 -95
- package/src/decorators/orm/TreeChildren.cjs +17 -95
- package/src/decorators/orm/TreeChildren.mjs +17 -95
- package/src/decorators/orm/TreeLevelColumn.cjs +17 -95
- package/src/decorators/orm/TreeLevelColumn.mjs +17 -95
- package/src/decorators/orm/TreeParent.cjs +17 -95
- package/src/decorators/orm/TreeParent.mjs +17 -95
- package/src/decorators/orm/Unique.cjs +17 -95
- package/src/decorators/orm/Unique.mjs +17 -95
- package/src/decorators/orm/UpdateDateColumn.cjs +17 -95
- package/src/decorators/orm/UpdateDateColumn.mjs +17 -95
- package/src/decorators/orm/VersionColumn.cjs +17 -95
- package/src/decorators/orm/VersionColumn.mjs +17 -95
- package/src/decorators/orm/ViewColumn.cjs +17 -95
- package/src/decorators/orm/ViewColumn.mjs +17 -95
- package/src/decorators/orm/ViewEntity.cjs +17 -95
- package/src/decorators/orm/ViewEntity.mjs +17 -95
- package/src/decorators/orm/VirtualColumn.cjs +17 -95
- package/src/decorators/orm/VirtualColumn.mjs +17 -95
- package/src/dto/PaginationResultDTO.cjs +9 -39
- package/src/dto/PaginationResultDTO.mjs +18 -48
- package/src/dto/PaginationSearchDTO.cjs +9 -39
- package/src/dto/PaginationSearchDTO.mjs +13 -43
- package/src/exceptions/DestroyRuntimeContainerException.cjs +4 -6
- package/src/exceptions/DestroyRuntimeContainerException.mjs +4 -6
- package/src/exceptions/InvalidActionPatternDepthException.cjs +4 -6
- package/src/exceptions/InvalidActionPatternDepthException.mjs +4 -6
- package/src/exceptions/InvalidAssistantFunctionTypeException.cjs +4 -6
- package/src/exceptions/InvalidAssistantFunctionTypeException.mjs +4 -6
- package/src/exceptions/InvalidObjectTypeException.cjs +4 -6
- package/src/exceptions/InvalidObjectTypeException.mjs +4 -6
- package/src/exceptions/MethodNotFoundException.cjs +4 -6
- package/src/exceptions/MethodNotFoundException.mjs +4 -6
- package/src/exceptions/alias/AliasExistsException.cjs +4 -6
- package/src/exceptions/alias/AliasExistsException.mjs +6 -8
- package/src/exceptions/alias/AliasNotFoundException.cjs +4 -6
- package/src/exceptions/alias/AliasNotFoundException.mjs +4 -6
- package/src/exceptions/alias/InvalidAliasNameException.cjs +4 -6
- package/src/exceptions/alias/InvalidAliasNameException.mjs +4 -6
- package/src/exceptions/di/DependencyInjectionException.cjs +4 -6
- package/src/exceptions/di/DependencyInjectionException.mjs +4 -6
- package/src/exceptions/di/LifetimeLockedException.cjs +4 -6
- package/src/exceptions/di/LifetimeLockedException.mjs +4 -6
- package/src/exceptions/di/OverridableObjectTargetConfigNotFoundException.cjs +4 -6
- package/src/exceptions/di/OverridableObjectTargetConfigNotFoundException.mjs +4 -6
- package/src/exceptions/dto/InvalidMethodAcceptException.cjs +4 -6
- package/src/exceptions/dto/InvalidMethodAcceptException.mjs +4 -6
- package/src/exceptions/dto/InvalidMethodReturnException.cjs +4 -6
- package/src/exceptions/dto/InvalidMethodReturnException.mjs +4 -6
- package/src/exceptions/dto/InvalidValueException.cjs +4 -6
- package/src/exceptions/dto/InvalidValueException.mjs +4 -6
- 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 +51 -259
- package/src/lib/base/BaseObject.mjs +41 -256
- package/src/lib/base/Context.cjs +11 -41
- package/src/lib/base/Context.mjs +23 -53
- package/src/lib/base/EventEmitter.cjs +1398 -47
- package/src/lib/base/EventEmitter.mjs +1397 -46
- package/src/lib/base/abstracts/Exception.cjs +12 -14
- package/src/lib/base/abstracts/Exception.mjs +4 -6
- 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 +9 -39
- package/src/lib/base/internal/ActionOptions.mjs +9 -39
- package/src/lib/base/internal/ApplicationConfigLoader.cjs +54 -116
- package/src/lib/base/internal/ApplicationConfigLoader.mjs +54 -116
- package/src/lib/base/internal/BasicInfo.cjs +13 -15
- package/src/lib/base/internal/BasicInfo.mjs +15 -17
- 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 +3 -3
- package/src/lib/base/internal/ConfigurableRecordsInjection.mjs +3 -3
- package/src/lib/base/internal/ConstructorSymbol.cjs +3 -3
- package/src/lib/base/internal/ConstructorSymbol.mjs +3 -3
- package/src/lib/base/internal/ControllerEntrypoint.cjs +16 -24
- package/src/lib/base/internal/ControllerEntrypoint.mjs +39 -47
- package/src/lib/base/internal/DataValidator.cjs +203 -27
- package/src/lib/base/internal/DataValidator.mjs +203 -27
- 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 +11 -41
- package/src/lib/base/internal/FlexibleDTO.mjs +13 -43
- package/src/lib/base/internal/GetActionDTOAndOptions.cjs +21 -51
- package/src/lib/base/internal/GetActionDTOAndOptions.mjs +23 -53
- 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 +15 -17
- package/src/lib/base/internal/MethodAssistantFunction.mjs +8 -10
- package/src/lib/base/internal/MethodValidation.cjs +55 -85
- package/src/lib/base/internal/MethodValidation.mjs +42 -72
- package/src/lib/base/internal/ModuleConfigLoader.cjs +81 -143
- package/src/lib/base/internal/ModuleConfigLoader.mjs +76 -138
- package/src/lib/base/internal/ObjectConfiguration.cjs +26 -56
- package/src/lib/base/internal/ObjectConfiguration.mjs +25 -55
- package/src/lib/base/internal/ObjectContainer.cjs +3 -3
- package/src/lib/base/internal/ObjectContainer.mjs +3 -3
- package/src/lib/base/internal/ObjectInjection.cjs +3 -3
- package/src/lib/base/internal/ObjectInjection.mjs +3 -3
- package/src/lib/base/internal/ObjectLifetime.cjs +5 -7
- package/src/lib/base/internal/ObjectLifetime.mjs +12 -14
- package/src/lib/base/internal/ObjectSchemaValidation.cjs +23 -121
- package/src/lib/base/internal/ObjectSchemaValidation.mjs +14 -114
- package/src/lib/base/internal/ObjectType.cjs +27 -119
- package/src/lib/base/internal/ObjectType.mjs +20 -119
- 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 +831 -7
- package/src/lib/base/internal/PatternManager.mjs +835 -11
- package/src/lib/base/internal/StringifyPattern.cjs +5 -9
- package/src/lib/base/internal/StringifyPattern.mjs +5 -9
- package/src/lib/base/internal/ThrowWarning.cjs +1 -1
- package/src/lib/base/internal/ThrowWarning.mjs +1 -1
- package/src/lib/context/CLIContext.cjs +12 -42
- package/src/lib/context/CLIContext.mjs +15 -45
- package/src/lib/context/HTTPContext.cjs +15 -45
- package/src/lib/context/HTTPContext.mjs +14 -44
- package/src/lib/context/ServiceContext.cjs +12 -42
- package/src/lib/context/ServiceContext.mjs +18 -48
- package/src/lib/core/Alias.cjs +46 -48
- package/src/lib/core/Alias.mjs +24 -26
- package/src/lib/core/Application.cjs +486 -351
- package/src/lib/core/Application.mjs +531 -400
- package/src/lib/core/Component.cjs +24 -88
- package/src/lib/core/Component.mjs +28 -92
- package/src/lib/core/Container.cjs +50 -326
- package/src/lib/core/Container.mjs +45 -323
- package/src/lib/core/DTO.cjs +16 -194
- package/src/lib/core/DTO.mjs +12 -197
- package/src/lib/core/Module.cjs +39 -107
- package/src/lib/core/Module.mjs +53 -121
- package/src/lib/core/Provider.cjs +19 -81
- package/src/lib/core/Provider.mjs +25 -87
- package/src/lib/core/Time.cjs +52 -45
- package/src/lib/core/Time.mjs +52 -45
- 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 +5502 -17
- package/src/lib/helpers/Glob.mjs +5472 -17
- 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 +4 -10
- package/src/lib/helpers/IsGlobString.mjs +3 -11
- package/src/lib/helpers/IsHtml.cjs +5 -5
- package/src/lib/helpers/IsHtml.mjs +6 -6
- 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 +10 -44
- package/src/lib/helpers/IsSymbol.mjs +9 -45
- package/src/lib/helpers/IsXML.cjs +1711 -6
- package/src/lib/helpers/IsXML.mjs +1712 -7
- package/src/lib/helpers/MD5.cjs +4 -4
- package/src/lib/helpers/MD5.mjs +4 -4
- 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 +2 -6
- package/src/lib/helpers/NonceStr.mjs +4 -8
- package/src/lib/helpers/ObjectConstructor.cjs +1 -1
- package/src/lib/helpers/ObjectConstructor.mjs +1 -1
- package/src/lib/helpers/ObjectHash.cjs +405 -7
- package/src/lib/helpers/ObjectHash.mjs +399 -7
- 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 +172 -11
- package/src/lib/helpers/RandomString.mjs +166 -11
- package/src/lib/helpers/SHA1.cjs +4 -4
- package/src/lib/helpers/SHA1.mjs +4 -4
- package/src/lib/helpers/SHA256.cjs +4 -4
- package/src/lib/helpers/SHA256.mjs +4 -4
- 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 +2 -6
- package/src/lib/helpers/SortArray.mjs +7 -11
- 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 +417 -38
- package/src/lib/helpers/URLBuilder.mjs +417 -38
- package/src/lib/helpers/UUID.cjs +340 -22
- package/src/lib/helpers/UUID.mjs +340 -22
- 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 +145 -197
- package/src/lib/ioc/DependencyInjectionContainer.mjs +102 -154
- package/src/lib/ioc/Errors.cjs +27 -57
- package/src/lib/ioc/Errors.mjs +25 -55
- 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 +5811 -99
- package/src/lib/ioc/ListModules.mjs +5779 -79
- package/src/lib/ioc/LoadModules.cjs +63 -93
- package/src/lib/ioc/LoadModules.mjs +65 -95
- package/src/lib/ioc/ParamParser.cjs +1 -1
- package/src/lib/ioc/ParamParser.mjs +1 -1
- package/src/lib/ioc/Resolvers.cjs +42 -72
- package/src/lib/ioc/Resolvers.mjs +44 -74
- package/src/lib/ioc/Utils.cjs +28 -58
- package/src/lib/ioc/Utils.mjs +34 -64
- package/src/lib/validation/VLD.cjs +11342 -98
- package/src/lib/validation/VLD.mjs +11298 -80
- 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 +22 -84
- package/src/options/ApplicationOptions.mjs +25 -87
- package/src/options/LoadAnonymousObjectOptions.cjs +20 -82
- package/src/options/LoadAnonymousObjectOptions.mjs +22 -84
- package/src/options/LoadNamedObjectOptions.cjs +20 -82
- package/src/options/LoadNamedObjectOptions.mjs +22 -84
- package/src/options/LoadObjectOptions.cjs +23 -96
- package/src/options/LoadObjectOptions.mjs +18 -98
- package/src/options/ModuleLoadObjectsOptions.cjs +20 -82
- package/src/options/ModuleLoadObjectsOptions.mjs +20 -82
- package/src/options/ModuleOptions.cjs +26 -88
- package/src/options/ModuleOptions.mjs +25 -87
- package/src/options/OverridableNamedObjectOptions.cjs +20 -82
- package/src/options/OverridableNamedObjectOptions.mjs +23 -85
- package/src/options/OverridableObjectOptions.cjs +20 -82
- package/src/options/OverridableObjectOptions.mjs +22 -84
- package/src/providers/Database.cjs +41 -181
- package/src/providers/Database.mjs +74 -214
- package/src/providers/PasswordHash.cjs +541 -89
- package/src/providers/PasswordHash.mjs +535 -89
- package/src/providers/migration/GenerateMigration.cjs +37 -389
- package/src/providers/migration/GenerateMigration.mjs +33 -386
- 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 +938 -206
- package/vendor/Package.internal.1.mjs +938 -202
- package/vendor/Package.internal.10.cjs +17 -227
- package/vendor/Package.internal.10.mjs +18 -226
- package/vendor/Package.internal.11.cjs +15 -1608
- package/vendor/Package.internal.11.mjs +16 -1579
- package/vendor/Package.internal.12.cjs +13 -12547
- package/vendor/Package.internal.12.mjs +14 -12530
- package/vendor/Package.internal.13.cjs +22 -357
- package/vendor/Package.internal.13.mjs +23 -358
- package/vendor/Package.internal.14.cjs +17 -786
- package/vendor/Package.internal.14.mjs +18 -787
- package/vendor/Package.internal.15.cjs +18 -72
- package/vendor/Package.internal.15.mjs +19 -71
- package/vendor/Package.internal.16.cjs +13 -977
- package/vendor/Package.internal.16.mjs +14 -966
- package/vendor/Package.internal.17.cjs +19 -43
- package/vendor/Package.internal.17.mjs +20 -44
- package/vendor/Package.internal.18.cjs +16 -262
- package/vendor/Package.internal.18.mjs +17 -263
- package/vendor/Package.internal.19.cjs +16 -428
- package/vendor/Package.internal.19.mjs +17 -429
- package/vendor/Package.internal.2.cjs +29 -86
- package/vendor/Package.internal.2.mjs +30 -83
- package/vendor/Package.internal.20.cjs +18 -556
- package/vendor/Package.internal.20.mjs +19 -551
- package/vendor/Package.internal.21.cjs +19 -400
- package/vendor/Package.internal.21.mjs +20 -401
- package/vendor/Package.internal.22.cjs +56 -913
- package/vendor/Package.internal.22.mjs +57 -908
- package/vendor/Package.internal.23.cjs +15 -218
- package/vendor/Package.internal.23.mjs +17 -220
- package/vendor/Package.internal.24.cjs +16 -990
- package/vendor/Package.internal.24.mjs +17 -991
- package/vendor/Package.internal.25.cjs +32 -9
- package/vendor/Package.internal.25.mjs +33 -8
- package/vendor/Package.internal.26.cjs +15 -121
- package/vendor/Package.internal.26.mjs +16 -120
- package/vendor/Package.internal.27.cjs +18 -139
- package/vendor/Package.internal.27.mjs +19 -138
- package/vendor/Package.internal.28.cjs +21 -5
- package/vendor/Package.internal.28.mjs +22 -4
- package/vendor/Package.internal.29.cjs +36 -19
- package/vendor/Package.internal.29.mjs +37 -18
- package/vendor/Package.internal.3.cjs +532 -14232
- package/vendor/Package.internal.3.mjs +529 -14211
- package/vendor/Package.internal.30.cjs +22 -474
- package/vendor/Package.internal.30.mjs +23 -469
- package/vendor/Package.internal.31.cjs +21 -74
- package/vendor/Package.internal.31.mjs +24 -71
- package/vendor/Package.internal.310.cjs +10 -0
- package/vendor/Package.internal.310.mjs +8 -0
- package/vendor/Package.internal.32.cjs +40 -2
- package/vendor/Package.internal.32.mjs +42 -2
- package/vendor/Package.internal.33.cjs +34 -35
- package/vendor/Package.internal.33.mjs +35 -34
- package/vendor/Package.internal.34.cjs +20 -21
- package/vendor/Package.internal.34.mjs +21 -20
- package/vendor/Package.internal.35.cjs +29 -10
- package/vendor/Package.internal.35.mjs +30 -9
- package/vendor/Package.internal.36.cjs +39 -188
- package/vendor/Package.internal.36.mjs +42 -191
- package/vendor/Package.internal.37.cjs +43 -59
- package/vendor/Package.internal.37.mjs +46 -60
- package/vendor/Package.internal.38.cjs +43 -158
- package/vendor/Package.internal.38.mjs +44 -159
- package/vendor/Package.internal.39.cjs +19 -2070
- package/vendor/Package.internal.39.mjs +20 -2065
- package/vendor/Package.internal.4.cjs +463 -961
- package/vendor/Package.internal.4.mjs +444 -960
- package/vendor/Package.internal.40.cjs +16 -512
- package/vendor/Package.internal.40.mjs +17 -505
- package/vendor/Package.internal.41.cjs +15 -412
- package/vendor/Package.internal.41.mjs +16 -407
- package/vendor/Package.internal.42.cjs +21 -2356
- package/vendor/Package.internal.42.mjs +22 -2345
- package/vendor/Package.internal.43.cjs +17 -56
- package/vendor/Package.internal.43.mjs +18 -63
- package/vendor/Package.internal.44.cjs +25 -146
- package/vendor/Package.internal.44.mjs +26 -145
- package/vendor/Package.internal.45.cjs +31 -626
- package/vendor/Package.internal.45.mjs +33 -628
- package/vendor/Package.internal.46.cjs +16 -238
- package/vendor/Package.internal.46.mjs +17 -239
- package/vendor/Package.internal.47.cjs +16 -220
- package/vendor/Package.internal.47.mjs +17 -215
- package/vendor/Package.internal.48.cjs +23 -2
- package/vendor/Package.internal.48.mjs +25 -2
- package/vendor/Package.internal.49.cjs +24 -355
- package/vendor/Package.internal.49.mjs +27 -352
- package/vendor/Package.internal.5.cjs +4275 -340
- package/vendor/Package.internal.5.mjs +4274 -341
- package/vendor/Package.internal.50.cjs +30 -30
- package/vendor/Package.internal.50.mjs +32 -30
- package/vendor/Package.internal.51.cjs +48322 -38
- package/vendor/Package.internal.51.mjs +48282 -38
- package/vendor/Package.internal.510.cjs +154 -0
- package/vendor/Package.internal.510.mjs +142 -0
- package/vendor/Package.internal.511.cjs +168 -0
- package/vendor/Package.internal.511.mjs +156 -0
- package/vendor/Package.internal.512.cjs +6 -0
- package/vendor/Package.internal.512.mjs +6 -0
- package/vendor/Package.internal.513.cjs +192 -0
- package/vendor/Package.internal.513.mjs +180 -0
- package/vendor/Package.internal.52.cjs +676 -16
- package/vendor/Package.internal.52.mjs +672 -16
- package/vendor/{Package.internal.180.cjs → Package.internal.522.cjs} +1 -1
- package/vendor/{Package.internal.180.mjs → Package.internal.522.mjs} +2 -2
- package/vendor/Package.internal.53.cjs +7094 -63
- package/vendor/Package.internal.53.mjs +7067 -60
- package/vendor/Package.internal.54.cjs +183 -77
- package/vendor/Package.internal.54.mjs +184 -78
- package/vendor/Package.internal.542.cjs +171 -0
- package/vendor/Package.internal.542.mjs +153 -0
- package/vendor/Package.internal.55.cjs +3982 -56
- package/vendor/Package.internal.55.mjs +3995 -47
- package/vendor/Package.internal.552.cjs +49615 -0
- package/vendor/Package.internal.552.mjs +49572 -0
- package/vendor/Package.internal.56.cjs +838 -20
- package/vendor/Package.internal.56.mjs +839 -19
- package/vendor/Package.internal.57.cjs +14762 -322
- package/vendor/Package.internal.57.mjs +14740 -325
- package/vendor/Package.internal.58.cjs +136 -2
- package/vendor/Package.internal.58.mjs +126 -2
- package/vendor/Package.internal.59.cjs +323 -188
- package/vendor/Package.internal.59.mjs +319 -188
- package/vendor/Package.internal.6.cjs +4 -6109
- package/vendor/Package.internal.6.mjs +4 -6103
- package/vendor/Package.internal.7.cjs +6543 -494
- package/vendor/Package.internal.7.mjs +6531 -494
- package/vendor/Package.internal.8.cjs +152 -33
- package/vendor/Package.internal.8.mjs +152 -31
- package/vendor/Package.internal.9.cjs +16 -2160
- package/vendor/Package.internal.9.mjs +17 -2133
- package/vendor/TypeDef.internal.96.d.ts +28 -22
- package/vendor/Package.internal.100.cjs +0 -69
- package/vendor/Package.internal.100.mjs +0 -67
- package/vendor/Package.internal.101.cjs +0 -123
- package/vendor/Package.internal.101.mjs +0 -121
- package/vendor/Package.internal.102.cjs +0 -16
- package/vendor/Package.internal.102.mjs +0 -8
- package/vendor/Package.internal.103.cjs +0 -4
- package/vendor/Package.internal.103.mjs +0 -2
- package/vendor/Package.internal.104.cjs +0 -4
- package/vendor/Package.internal.104.mjs +0 -2
- package/vendor/Package.internal.105.cjs +0 -112
- package/vendor/Package.internal.105.mjs +0 -98
- package/vendor/Package.internal.106.cjs +0 -88
- package/vendor/Package.internal.106.mjs +0 -84
- package/vendor/Package.internal.107.cjs +0 -58
- package/vendor/Package.internal.107.mjs +0 -52
- package/vendor/Package.internal.108.cjs +0 -20
- package/vendor/Package.internal.108.mjs +0 -18
- package/vendor/Package.internal.109.cjs +0 -96
- package/vendor/Package.internal.109.mjs +0 -96
- package/vendor/Package.internal.110.cjs +0 -113
- package/vendor/Package.internal.110.mjs +0 -113
- package/vendor/Package.internal.111.cjs +0 -2176
- package/vendor/Package.internal.111.mjs +0 -2174
- package/vendor/Package.internal.112.cjs +0 -2466
- package/vendor/Package.internal.112.mjs +0 -2434
- package/vendor/Package.internal.113.cjs +0 -1306
- package/vendor/Package.internal.113.mjs +0 -1292
- package/vendor/Package.internal.114.cjs +0 -33
- package/vendor/Package.internal.114.mjs +0 -31
- package/vendor/Package.internal.115.cjs +0 -20
- package/vendor/Package.internal.115.mjs +0 -18
- package/vendor/Package.internal.116.cjs +0 -21
- package/vendor/Package.internal.116.mjs +0 -21
- package/vendor/Package.internal.117.cjs +0 -52
- package/vendor/Package.internal.117.mjs +0 -52
- package/vendor/Package.internal.118.cjs +0 -141
- package/vendor/Package.internal.118.mjs +0 -141
- package/vendor/Package.internal.119.cjs +0 -2
- package/vendor/Package.internal.119.mjs +0 -1
- package/vendor/Package.internal.120.cjs +0 -6
- package/vendor/Package.internal.120.mjs +0 -4
- package/vendor/Package.internal.121.cjs +0 -4
- package/vendor/Package.internal.121.mjs +0 -2
- package/vendor/Package.internal.122.cjs +0 -4
- package/vendor/Package.internal.122.mjs +0 -2
- package/vendor/Package.internal.123.cjs +0 -4
- package/vendor/Package.internal.123.mjs +0 -2
- package/vendor/Package.internal.124.cjs +0 -49
- package/vendor/Package.internal.124.mjs +0 -47
- package/vendor/Package.internal.125.cjs +0 -14
- package/vendor/Package.internal.125.mjs +0 -14
- package/vendor/Package.internal.126.cjs +0 -12
- package/vendor/Package.internal.126.mjs +0 -12
- package/vendor/Package.internal.127.cjs +0 -20
- package/vendor/Package.internal.127.mjs +0 -18
- package/vendor/Package.internal.128.cjs +0 -118
- package/vendor/Package.internal.128.mjs +0 -116
- package/vendor/Package.internal.129.cjs +0 -18
- package/vendor/Package.internal.129.mjs +0 -16
- package/vendor/Package.internal.130.cjs +0 -19
- package/vendor/Package.internal.130.mjs +0 -17
- package/vendor/Package.internal.131.cjs +0 -8876
- package/vendor/Package.internal.131.mjs +0 -8874
- package/vendor/Package.internal.132.cjs +0 -899
- package/vendor/Package.internal.132.mjs +0 -897
- package/vendor/Package.internal.133.cjs +0 -6769
- package/vendor/Package.internal.133.mjs +0 -6775
- package/vendor/Package.internal.134.cjs +0 -473
- package/vendor/Package.internal.134.mjs +0 -459
- package/vendor/Package.internal.135.cjs +0 -617
- package/vendor/Package.internal.135.mjs +0 -611
- package/vendor/Package.internal.136.cjs +0 -97
- package/vendor/Package.internal.136.mjs +0 -89
- package/vendor/Package.internal.137.cjs +0 -4
- package/vendor/Package.internal.137.mjs +0 -2
- package/vendor/Package.internal.138.cjs +0 -3753
- package/vendor/Package.internal.138.mjs +0 -3751
- package/vendor/Package.internal.139.cjs +0 -561
- package/vendor/Package.internal.139.mjs +0 -559
- package/vendor/Package.internal.140.cjs +0 -4
- package/vendor/Package.internal.140.mjs +0 -2
- package/vendor/Package.internal.141.cjs +0 -4
- package/vendor/Package.internal.141.mjs +0 -2
- package/vendor/Package.internal.142.cjs +0 -4
- package/vendor/Package.internal.142.mjs +0 -2
- package/vendor/Package.internal.143.cjs +0 -4
- package/vendor/Package.internal.143.mjs +0 -2
- package/vendor/Package.internal.144.cjs +0 -4
- package/vendor/Package.internal.144.mjs +0 -2
- package/vendor/Package.internal.145.cjs +0 -4
- package/vendor/Package.internal.145.mjs +0 -2
- package/vendor/Package.internal.146.cjs +0 -4
- package/vendor/Package.internal.146.mjs +0 -2
- package/vendor/Package.internal.147.cjs +0 -4
- package/vendor/Package.internal.147.mjs +0 -2
- package/vendor/Package.internal.148.cjs +0 -4
- package/vendor/Package.internal.148.mjs +0 -2
- package/vendor/Package.internal.149.cjs +0 -4
- package/vendor/Package.internal.149.mjs +0 -2
- package/vendor/Package.internal.150.cjs +0 -4
- package/vendor/Package.internal.150.mjs +0 -2
- package/vendor/Package.internal.151.cjs +0 -408
- package/vendor/Package.internal.151.mjs +0 -400
- package/vendor/Package.internal.152.cjs +0 -104
- package/vendor/Package.internal.152.mjs +0 -104
- package/vendor/Package.internal.153.cjs +0 -27
- package/vendor/Package.internal.153.mjs +0 -27
- package/vendor/Package.internal.154.cjs +0 -4
- package/vendor/Package.internal.154.mjs +0 -2
- package/vendor/Package.internal.155.cjs +0 -4
- package/vendor/Package.internal.155.mjs +0 -2
- package/vendor/Package.internal.156.cjs +0 -723
- package/vendor/Package.internal.156.mjs +0 -723
- package/vendor/Package.internal.157.cjs +0 -1548
- package/vendor/Package.internal.157.mjs +0 -1540
- package/vendor/Package.internal.158.cjs +0 -364
- package/vendor/Package.internal.158.mjs +0 -364
- package/vendor/Package.internal.159.cjs +0 -107
- package/vendor/Package.internal.159.mjs +0 -107
- package/vendor/Package.internal.160.cjs +0 -636
- package/vendor/Package.internal.160.mjs +0 -622
- package/vendor/Package.internal.161.cjs +0 -543
- package/vendor/Package.internal.161.mjs +0 -533
- package/vendor/Package.internal.162.cjs +0 -605
- package/vendor/Package.internal.162.mjs +0 -605
- package/vendor/Package.internal.163.cjs +0 -139
- package/vendor/Package.internal.163.mjs +0 -131
- package/vendor/Package.internal.164.cjs +0 -119
- package/vendor/Package.internal.164.mjs +0 -111
- package/vendor/Package.internal.165.cjs +0 -1224
- package/vendor/Package.internal.165.mjs +0 -1214
- package/vendor/Package.internal.166.cjs +0 -90
- package/vendor/Package.internal.166.mjs +0 -98
- package/vendor/Package.internal.167.cjs +0 -4
- package/vendor/Package.internal.167.mjs +0 -2
- package/vendor/Package.internal.168.cjs +0 -4
- package/vendor/Package.internal.168.mjs +0 -2
- package/vendor/Package.internal.169.cjs +0 -55
- package/vendor/Package.internal.169.mjs +0 -55
- package/vendor/Package.internal.170.cjs +0 -10
- package/vendor/Package.internal.170.mjs +0 -10
- package/vendor/Package.internal.171.cjs +0 -12
- package/vendor/Package.internal.171.mjs +0 -6
- package/vendor/Package.internal.172.cjs +0 -165
- package/vendor/Package.internal.172.mjs +0 -163
- package/vendor/Package.internal.173.cjs +0 -23
- package/vendor/Package.internal.173.mjs +0 -15
- package/vendor/Package.internal.174.cjs +0 -251
- package/vendor/Package.internal.174.mjs +0 -249
- package/vendor/Package.internal.175.cjs +0 -949
- package/vendor/Package.internal.175.mjs +0 -947
- package/vendor/Package.internal.176.cjs +0 -27
- package/vendor/Package.internal.176.mjs +0 -27
- package/vendor/Package.internal.177.cjs +0 -80
- package/vendor/Package.internal.177.mjs +0 -72
- package/vendor/Package.internal.178.cjs +0 -655
- package/vendor/Package.internal.178.mjs +0 -653
- package/vendor/Package.internal.179.cjs +0 -77
- package/vendor/Package.internal.179.mjs +0 -75
- package/vendor/Package.internal.181.cjs +0 -70
- package/vendor/Package.internal.181.mjs +0 -68
- package/vendor/Package.internal.182.cjs +0 -112
- package/vendor/Package.internal.182.mjs +0 -110
- package/vendor/Package.internal.183.cjs +0 -102
- package/vendor/Package.internal.183.mjs +0 -100
- package/vendor/Package.internal.184.cjs +0 -45450
- package/vendor/Package.internal.184.mjs +0 -45432
- package/vendor/Package.internal.185.cjs +0 -8
- package/vendor/Package.internal.185.mjs +0 -6
- package/vendor/Package.internal.186.cjs +0 -30
- package/vendor/Package.internal.186.mjs +0 -28
- package/vendor/Package.internal.187.cjs +0 -317
- package/vendor/Package.internal.187.mjs +0 -315
- package/vendor/Package.internal.188.cjs +0 -943
- package/vendor/Package.internal.188.mjs +0 -951
- package/vendor/Package.internal.189.cjs +0 -1090
- package/vendor/Package.internal.189.mjs +0 -1090
- package/vendor/Package.internal.190.cjs +0 -165
- package/vendor/Package.internal.190.mjs +0 -165
- package/vendor/Package.internal.191.cjs +0 -15
- package/vendor/Package.internal.191.mjs +0 -13
- package/vendor/Package.internal.192.cjs +0 -14
- package/vendor/Package.internal.192.mjs +0 -12
- package/vendor/Package.internal.193.cjs +0 -49
- package/vendor/Package.internal.193.mjs +0 -47
- package/vendor/Package.internal.194.cjs +0 -493
- package/vendor/Package.internal.194.mjs +0 -471
- package/vendor/Package.internal.195.cjs +0 -4
- package/vendor/Package.internal.195.mjs +0 -2
- package/vendor/Package.internal.196.cjs +0 -4
- package/vendor/Package.internal.196.mjs +0 -2
- package/vendor/Package.internal.197.cjs +0 -4
- package/vendor/Package.internal.197.mjs +0 -2
- package/vendor/Package.internal.198.cjs +0 -4
- package/vendor/Package.internal.198.mjs +0 -2
- package/vendor/Package.internal.199.cjs +0 -4
- package/vendor/Package.internal.199.mjs +0 -2
- package/vendor/Package.internal.200.cjs +0 -4
- package/vendor/Package.internal.200.mjs +0 -2
- package/vendor/Package.internal.201.cjs +0 -4
- package/vendor/Package.internal.201.mjs +0 -2
- package/vendor/Package.internal.202.cjs +0 -4
- package/vendor/Package.internal.202.mjs +0 -2
- package/vendor/Package.internal.60.cjs +0 -27
- package/vendor/Package.internal.60.mjs +0 -27
- package/vendor/Package.internal.61.cjs +0 -4
- package/vendor/Package.internal.61.mjs +0 -2
- package/vendor/Package.internal.62.cjs +0 -200
- package/vendor/Package.internal.62.mjs +0 -200
- package/vendor/Package.internal.63.cjs +0 -4019
- package/vendor/Package.internal.63.mjs +0 -4027
- package/vendor/Package.internal.64.cjs +0 -4
- package/vendor/Package.internal.64.mjs +0 -2
- package/vendor/Package.internal.65.cjs +0 -321
- package/vendor/Package.internal.65.mjs +0 -321
- package/vendor/Package.internal.66.cjs +0 -365
- package/vendor/Package.internal.66.mjs +0 -363
- package/vendor/Package.internal.67.cjs +0 -403
- package/vendor/Package.internal.67.mjs +0 -395
- package/vendor/Package.internal.68.cjs +0 -127
- package/vendor/Package.internal.68.mjs +0 -125
- package/vendor/Package.internal.69.cjs +0 -31
- package/vendor/Package.internal.69.mjs +0 -29
- package/vendor/Package.internal.70.cjs +0 -87
- package/vendor/Package.internal.70.mjs +0 -85
- package/vendor/Package.internal.71.cjs +0 -61
- package/vendor/Package.internal.71.mjs +0 -59
- package/vendor/Package.internal.72.cjs +0 -34
- package/vendor/Package.internal.72.mjs +0 -32
- package/vendor/Package.internal.73.cjs +0 -4
- package/vendor/Package.internal.73.mjs +0 -2
- package/vendor/Package.internal.74.cjs +0 -684
- package/vendor/Package.internal.74.mjs +0 -662
- package/vendor/Package.internal.75.cjs +0 -13896
- package/vendor/Package.internal.75.mjs +0 -13870
- package/vendor/Package.internal.76.cjs +0 -37
- package/vendor/Package.internal.76.mjs +0 -31
- package/vendor/Package.internal.77.cjs +0 -4077
- package/vendor/Package.internal.77.mjs +0 -4077
- package/vendor/Package.internal.78.cjs +0 -1664
- package/vendor/Package.internal.78.mjs +0 -1664
- package/vendor/Package.internal.79.cjs +0 -259
- package/vendor/Package.internal.79.mjs +0 -257
- package/vendor/Package.internal.80.cjs +0 -4964
- package/vendor/Package.internal.80.mjs +0 -4948
- package/vendor/Package.internal.81.cjs +0 -1239
- package/vendor/Package.internal.81.mjs +0 -1225
- package/vendor/Package.internal.82.cjs +0 -340
- package/vendor/Package.internal.82.mjs +0 -326
- package/vendor/Package.internal.83.cjs +0 -34
- package/vendor/Package.internal.83.mjs +0 -32
- package/vendor/Package.internal.84.cjs +0 -88
- package/vendor/Package.internal.84.mjs +0 -88
- package/vendor/Package.internal.85.cjs +0 -55
- package/vendor/Package.internal.85.mjs +0 -55
- package/vendor/Package.internal.86.cjs +0 -15
- package/vendor/Package.internal.86.mjs +0 -13
- package/vendor/Package.internal.87.cjs +0 -1355
- package/vendor/Package.internal.87.mjs +0 -1355
- package/vendor/Package.internal.88.cjs +0 -12
- package/vendor/Package.internal.88.mjs +0 -6
- package/vendor/Package.internal.89.cjs +0 -4
- package/vendor/Package.internal.89.mjs +0 -2
- package/vendor/Package.internal.90.cjs +0 -351
- package/vendor/Package.internal.90.mjs +0 -351
- package/vendor/Package.internal.91.cjs +0 -80
- package/vendor/Package.internal.91.mjs +0 -80
- package/vendor/Package.internal.92.cjs +0 -1445
- package/vendor/Package.internal.92.mjs +0 -1433
- package/vendor/Package.internal.93.cjs +0 -144
- package/vendor/Package.internal.93.mjs +0 -142
- package/vendor/Package.internal.94.cjs +0 -1822
- package/vendor/Package.internal.94.mjs +0 -1814
- package/vendor/Package.internal.95.cjs +0 -130
- package/vendor/Package.internal.95.mjs +0 -124
- package/vendor/Package.internal.96.cjs +0 -208
- package/vendor/Package.internal.96.mjs +0 -208
- package/vendor/Package.internal.97.cjs +0 -1641
- package/vendor/Package.internal.97.mjs +0 -1641
- package/vendor/Package.internal.98.cjs +0 -74
- package/vendor/Package.internal.98.mjs +0 -74
- package/vendor/Package.internal.99.cjs +0 -28
- package/vendor/Package.internal.99.mjs +0 -28
|
@@ -1,1445 +0,0 @@
|
|
|
1
|
-
/* Build Date: Mon Nov 24 2025 18:02:01 GMT+0800 (China Standard Time) */
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
const t = require("os");
|
|
5
|
-
|
|
6
|
-
const e = require("path");
|
|
7
|
-
|
|
8
|
-
const r = require("./Package.internal.93.cjs");
|
|
9
|
-
|
|
10
|
-
const s = require("./Package.internal.94.cjs");
|
|
11
|
-
|
|
12
|
-
const n = require("./Package.internal.95.cjs");
|
|
13
|
-
|
|
14
|
-
const i = require("./Package.internal.16.cjs");
|
|
15
|
-
|
|
16
|
-
const o = require("stream");
|
|
17
|
-
|
|
18
|
-
const a = require("fs");
|
|
19
|
-
|
|
20
|
-
const c = t => t && t.__esModule ? t : {
|
|
21
|
-
default: t
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
const u = c(t);
|
|
25
|
-
|
|
26
|
-
const l = c(e);
|
|
27
|
-
|
|
28
|
-
const h = c(o);
|
|
29
|
-
|
|
30
|
-
const f = c(a);
|
|
31
|
-
|
|
32
|
-
var d = {};
|
|
33
|
-
|
|
34
|
-
var p = {};
|
|
35
|
-
|
|
36
|
-
var _ = {};
|
|
37
|
-
|
|
38
|
-
Object.defineProperty(_, "__esModule", {
|
|
39
|
-
value: true
|
|
40
|
-
});
|
|
41
|
-
|
|
42
|
-
_.splitWhen = _.flatten = void 0;
|
|
43
|
-
|
|
44
|
-
function g(t) {
|
|
45
|
-
return t.reduce((t, e) => [].concat(t, e), []);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
_.flatten = g;
|
|
49
|
-
|
|
50
|
-
function y(t, e) {
|
|
51
|
-
const r = [ [] ];
|
|
52
|
-
let s = 0;
|
|
53
|
-
for (const n of t) {
|
|
54
|
-
if (e(n)) {
|
|
55
|
-
s++;
|
|
56
|
-
r[s] = [];
|
|
57
|
-
} else {
|
|
58
|
-
r[s].push(n);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
return r;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
_.splitWhen = y;
|
|
65
|
-
|
|
66
|
-
var m = {};
|
|
67
|
-
|
|
68
|
-
Object.defineProperty(m, "__esModule", {
|
|
69
|
-
value: true
|
|
70
|
-
});
|
|
71
|
-
|
|
72
|
-
m.isEnoentCodeError = void 0;
|
|
73
|
-
|
|
74
|
-
function P(t) {
|
|
75
|
-
return t.code === "ENOENT";
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
m.isEnoentCodeError = P;
|
|
79
|
-
|
|
80
|
-
var v = {};
|
|
81
|
-
|
|
82
|
-
Object.defineProperty(v, "__esModule", {
|
|
83
|
-
value: true
|
|
84
|
-
});
|
|
85
|
-
|
|
86
|
-
v.createDirentFromStats = void 0;
|
|
87
|
-
|
|
88
|
-
class DirentFromStats {
|
|
89
|
-
constructor(t, e) {
|
|
90
|
-
this.name = t;
|
|
91
|
-
this.isBlockDevice = e.isBlockDevice.bind(e);
|
|
92
|
-
this.isCharacterDevice = e.isCharacterDevice.bind(e);
|
|
93
|
-
this.isDirectory = e.isDirectory.bind(e);
|
|
94
|
-
this.isFIFO = e.isFIFO.bind(e);
|
|
95
|
-
this.isFile = e.isFile.bind(e);
|
|
96
|
-
this.isSocket = e.isSocket.bind(e);
|
|
97
|
-
this.isSymbolicLink = e.isSymbolicLink.bind(e);
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
function b(t, e) {
|
|
102
|
-
return new DirentFromStats(t, e);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
v.createDirentFromStats = b;
|
|
106
|
-
|
|
107
|
-
var S = {};
|
|
108
|
-
|
|
109
|
-
Object.defineProperty(S, "__esModule", {
|
|
110
|
-
value: true
|
|
111
|
-
});
|
|
112
|
-
|
|
113
|
-
S.convertPosixPathToPattern = S.convertWindowsPathToPattern = S.convertPathToPattern = S.escapePosixPath = S.escapeWindowsPath = S.escape = S.removeLeadingDotSegment = S.makeAbsolute = S.unixify = void 0;
|
|
114
|
-
|
|
115
|
-
const k = u.default;
|
|
116
|
-
|
|
117
|
-
const E = l.default;
|
|
118
|
-
|
|
119
|
-
const O = k.platform() === "win32";
|
|
120
|
-
|
|
121
|
-
const w = 2;
|
|
122
|
-
|
|
123
|
-
const D = /(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g;
|
|
124
|
-
|
|
125
|
-
const T = /(\\?)([()[\]{}]|^!|[!+@](?=\())/g;
|
|
126
|
-
|
|
127
|
-
const M = /^\\\\([.?])/;
|
|
128
|
-
|
|
129
|
-
const F = /\\(?![!()+@[\]{}])/g;
|
|
130
|
-
|
|
131
|
-
function x(t) {
|
|
132
|
-
return t.replace(/\\/g, "/");
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
S.unixify = x;
|
|
136
|
-
|
|
137
|
-
function j(t, e) {
|
|
138
|
-
return E.resolve(t, e);
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
S.makeAbsolute = j;
|
|
142
|
-
|
|
143
|
-
function R(t) {
|
|
144
|
-
if (t.charAt(0) === ".") {
|
|
145
|
-
const e = t.charAt(1);
|
|
146
|
-
if (e === "/" || e === "\\") {
|
|
147
|
-
return t.slice(w);
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
return t;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
S.removeLeadingDotSegment = R;
|
|
154
|
-
|
|
155
|
-
S.escape = O ? A : L;
|
|
156
|
-
|
|
157
|
-
function A(t) {
|
|
158
|
-
return t.replace(T, "\\$2");
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
S.escapeWindowsPath = A;
|
|
162
|
-
|
|
163
|
-
function L(t) {
|
|
164
|
-
return t.replace(D, "\\$2");
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
S.escapePosixPath = L;
|
|
168
|
-
|
|
169
|
-
S.convertPathToPattern = O ? B : N;
|
|
170
|
-
|
|
171
|
-
function B(t) {
|
|
172
|
-
return A(t).replace(M, "//$1").replace(F, "/");
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
S.convertWindowsPathToPattern = B;
|
|
176
|
-
|
|
177
|
-
function N(t) {
|
|
178
|
-
return L(t);
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
S.convertPosixPathToPattern = N;
|
|
182
|
-
|
|
183
|
-
var V = {};
|
|
184
|
-
|
|
185
|
-
var W = r.isGlob;
|
|
186
|
-
|
|
187
|
-
var I = l.default.posix.dirname;
|
|
188
|
-
|
|
189
|
-
var q = u.default.platform() === "win32";
|
|
190
|
-
|
|
191
|
-
var C = "/";
|
|
192
|
-
|
|
193
|
-
var G = /\\/g;
|
|
194
|
-
|
|
195
|
-
var $ = /[\{\[].*[\}\]]$/;
|
|
196
|
-
|
|
197
|
-
var U = /(^|[^\\])([\{\[]|\([^\)]+$)/;
|
|
198
|
-
|
|
199
|
-
var Y = /\\([\!\*\?\|\[\]\(\)\{\}])/g;
|
|
200
|
-
|
|
201
|
-
var z = function t(e, r) {
|
|
202
|
-
var s = Object.assign({
|
|
203
|
-
flipBackslashes: true
|
|
204
|
-
}, r);
|
|
205
|
-
if (s.flipBackslashes && q && e.indexOf(C) < 0) {
|
|
206
|
-
e = e.replace(G, C);
|
|
207
|
-
}
|
|
208
|
-
if ($.test(e)) {
|
|
209
|
-
e += C;
|
|
210
|
-
}
|
|
211
|
-
e += "a";
|
|
212
|
-
do {
|
|
213
|
-
e = I(e);
|
|
214
|
-
} while (W(e) || U.test(e));
|
|
215
|
-
return e.replace(Y, "$1");
|
|
216
|
-
};
|
|
217
|
-
|
|
218
|
-
Object.defineProperty(V, "__esModule", {
|
|
219
|
-
value: true
|
|
220
|
-
});
|
|
221
|
-
|
|
222
|
-
V.isAbsolute = V.partitionAbsoluteAndRelative = V.removeDuplicateSlashes = V.matchAny = V.convertPatternsToRe = V.makeRe = V.getPatternParts = V.expandBraceExpansion = V.expandPatternsWithBraceExpansion = V.isAffectDepthOfReadingPattern = V.endsWithSlashGlobStar = V.hasGlobStar = V.getBaseDirectory = V.isPatternRelatedToParentDirectory = V.getPatternsOutsideCurrentDirectory = V.getPatternsInsideCurrentDirectory = V.getPositivePatterns = V.getNegativePatterns = V.isPositivePattern = V.isNegativePattern = V.convertToNegativePattern = V.convertToPositivePattern = V.isDynamicPattern = V.isStaticPattern = void 0;
|
|
223
|
-
|
|
224
|
-
const H = l.default;
|
|
225
|
-
|
|
226
|
-
const J = z;
|
|
227
|
-
|
|
228
|
-
const K = s.micromatch_1;
|
|
229
|
-
|
|
230
|
-
const Q = "**";
|
|
231
|
-
|
|
232
|
-
const X = "\\";
|
|
233
|
-
|
|
234
|
-
const Z = /[*?]|^!/;
|
|
235
|
-
|
|
236
|
-
const tt = /\[[^[]*]/;
|
|
237
|
-
|
|
238
|
-
const et = /(?:^|[^!*+?@])\([^(]*\|[^|]*\)/;
|
|
239
|
-
|
|
240
|
-
const rt = /[!*+?@]\([^(]*\)/;
|
|
241
|
-
|
|
242
|
-
const st = /,|\.\./;
|
|
243
|
-
|
|
244
|
-
const nt = /(?!^)\/{2,}/g;
|
|
245
|
-
|
|
246
|
-
function it(t, e = {}) {
|
|
247
|
-
return !ot(t, e);
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
V.isStaticPattern = it;
|
|
251
|
-
|
|
252
|
-
function ot(t, e = {}) {
|
|
253
|
-
if (t === "") {
|
|
254
|
-
return false;
|
|
255
|
-
}
|
|
256
|
-
if (e.caseSensitiveMatch === false || t.includes(X)) {
|
|
257
|
-
return true;
|
|
258
|
-
}
|
|
259
|
-
if (Z.test(t) || tt.test(t) || et.test(t)) {
|
|
260
|
-
return true;
|
|
261
|
-
}
|
|
262
|
-
if (e.extglob !== false && rt.test(t)) {
|
|
263
|
-
return true;
|
|
264
|
-
}
|
|
265
|
-
if (e.braceExpansion !== false && at(t)) {
|
|
266
|
-
return true;
|
|
267
|
-
}
|
|
268
|
-
return false;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
V.isDynamicPattern = ot;
|
|
272
|
-
|
|
273
|
-
function at(t) {
|
|
274
|
-
const e = t.indexOf("{");
|
|
275
|
-
if (e === -1) {
|
|
276
|
-
return false;
|
|
277
|
-
}
|
|
278
|
-
const r = t.indexOf("}", e + 1);
|
|
279
|
-
if (r === -1) {
|
|
280
|
-
return false;
|
|
281
|
-
}
|
|
282
|
-
const s = t.slice(e, r);
|
|
283
|
-
return st.test(s);
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
function ct(t) {
|
|
287
|
-
return lt(t) ? t.slice(1) : t;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
V.convertToPositivePattern = ct;
|
|
291
|
-
|
|
292
|
-
function ut(t) {
|
|
293
|
-
return "!" + t;
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
V.convertToNegativePattern = ut;
|
|
297
|
-
|
|
298
|
-
function lt(t) {
|
|
299
|
-
return t.startsWith("!") && t[1] !== "(";
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
V.isNegativePattern = lt;
|
|
303
|
-
|
|
304
|
-
function ht(t) {
|
|
305
|
-
return !lt(t);
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
V.isPositivePattern = ht;
|
|
309
|
-
|
|
310
|
-
function ft(t) {
|
|
311
|
-
return t.filter(lt);
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
V.getNegativePatterns = ft;
|
|
315
|
-
|
|
316
|
-
function dt(t) {
|
|
317
|
-
return t.filter(ht);
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
V.getPositivePatterns = dt;
|
|
321
|
-
|
|
322
|
-
function pt(t) {
|
|
323
|
-
return t.filter(t => !gt(t));
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
V.getPatternsInsideCurrentDirectory = pt;
|
|
327
|
-
|
|
328
|
-
function _t(t) {
|
|
329
|
-
return t.filter(gt);
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
V.getPatternsOutsideCurrentDirectory = _t;
|
|
333
|
-
|
|
334
|
-
function gt(t) {
|
|
335
|
-
return t.startsWith("..") || t.startsWith("./..");
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
V.isPatternRelatedToParentDirectory = gt;
|
|
339
|
-
|
|
340
|
-
function yt(t) {
|
|
341
|
-
return J(t, {
|
|
342
|
-
flipBackslashes: false
|
|
343
|
-
});
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
V.getBaseDirectory = yt;
|
|
347
|
-
|
|
348
|
-
function mt(t) {
|
|
349
|
-
return t.includes(Q);
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
V.hasGlobStar = mt;
|
|
353
|
-
|
|
354
|
-
function Pt(t) {
|
|
355
|
-
return t.endsWith("/" + Q);
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
V.endsWithSlashGlobStar = Pt;
|
|
359
|
-
|
|
360
|
-
function vt(t) {
|
|
361
|
-
const e = H.basename(t);
|
|
362
|
-
return Pt(t) || it(e);
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
V.isAffectDepthOfReadingPattern = vt;
|
|
366
|
-
|
|
367
|
-
function bt(t) {
|
|
368
|
-
return t.reduce((t, e) => t.concat(St(e)), []);
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
V.expandPatternsWithBraceExpansion = bt;
|
|
372
|
-
|
|
373
|
-
function St(t) {
|
|
374
|
-
const e = K.braces(t, {
|
|
375
|
-
expand: true,
|
|
376
|
-
nodupes: true,
|
|
377
|
-
keepEscaping: true
|
|
378
|
-
});
|
|
379
|
-
e.sort((t, e) => t.length - e.length);
|
|
380
|
-
return e.filter(t => t !== "");
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
V.expandBraceExpansion = St;
|
|
384
|
-
|
|
385
|
-
function kt(t, e) {
|
|
386
|
-
let {parts: r} = K.scan(t, Object.assign(Object.assign({}, e), {
|
|
387
|
-
parts: true
|
|
388
|
-
}));
|
|
389
|
-
if (r.length === 0) {
|
|
390
|
-
r = [ t ];
|
|
391
|
-
}
|
|
392
|
-
if (r[0].startsWith("/")) {
|
|
393
|
-
r[0] = r[0].slice(1);
|
|
394
|
-
r.unshift("");
|
|
395
|
-
}
|
|
396
|
-
return r;
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
V.getPatternParts = kt;
|
|
400
|
-
|
|
401
|
-
function Et(t, e) {
|
|
402
|
-
return K.makeRe(t, e);
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
V.makeRe = Et;
|
|
406
|
-
|
|
407
|
-
function Ot(t, e) {
|
|
408
|
-
return t.map(t => Et(t, e));
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
V.convertPatternsToRe = Ot;
|
|
412
|
-
|
|
413
|
-
function wt(t, e) {
|
|
414
|
-
return e.some(e => e.test(t));
|
|
415
|
-
}
|
|
416
|
-
|
|
417
|
-
V.matchAny = wt;
|
|
418
|
-
|
|
419
|
-
function Dt(t) {
|
|
420
|
-
return t.replace(nt, "/");
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
V.removeDuplicateSlashes = Dt;
|
|
424
|
-
|
|
425
|
-
function Tt(t) {
|
|
426
|
-
const e = [];
|
|
427
|
-
const r = [];
|
|
428
|
-
for (const s of t) {
|
|
429
|
-
if (Mt(s)) {
|
|
430
|
-
e.push(s);
|
|
431
|
-
} else {
|
|
432
|
-
r.push(s);
|
|
433
|
-
}
|
|
434
|
-
}
|
|
435
|
-
return [ e, r ];
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
V.partitionAbsoluteAndRelative = Tt;
|
|
439
|
-
|
|
440
|
-
function Mt(t) {
|
|
441
|
-
return H.isAbsolute(t);
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
V.isAbsolute = Mt;
|
|
445
|
-
|
|
446
|
-
var Ft = {};
|
|
447
|
-
|
|
448
|
-
Object.defineProperty(Ft, "__esModule", {
|
|
449
|
-
value: true
|
|
450
|
-
});
|
|
451
|
-
|
|
452
|
-
Ft.merge = void 0;
|
|
453
|
-
|
|
454
|
-
const xt = n.merge2_1;
|
|
455
|
-
|
|
456
|
-
function jt(t) {
|
|
457
|
-
const e = xt(t);
|
|
458
|
-
t.forEach(t => {
|
|
459
|
-
t.once("error", t => e.emit("error", t));
|
|
460
|
-
});
|
|
461
|
-
e.once("close", () => Rt(t));
|
|
462
|
-
e.once("end", () => Rt(t));
|
|
463
|
-
return e;
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
Ft.merge = jt;
|
|
467
|
-
|
|
468
|
-
function Rt(t) {
|
|
469
|
-
t.forEach(t => t.emit("close"));
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
var At = {};
|
|
473
|
-
|
|
474
|
-
Object.defineProperty(At, "__esModule", {
|
|
475
|
-
value: true
|
|
476
|
-
});
|
|
477
|
-
|
|
478
|
-
At.isEmpty = At.isString = void 0;
|
|
479
|
-
|
|
480
|
-
function Lt(t) {
|
|
481
|
-
return typeof t === "string";
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
At.isString = Lt;
|
|
485
|
-
|
|
486
|
-
function Bt(t) {
|
|
487
|
-
return t === "";
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
At.isEmpty = Bt;
|
|
491
|
-
|
|
492
|
-
Object.defineProperty(p, "__esModule", {
|
|
493
|
-
value: true
|
|
494
|
-
});
|
|
495
|
-
|
|
496
|
-
p.string = p.stream = p.pattern = p.path = p.fs = p.errno = p.array = void 0;
|
|
497
|
-
|
|
498
|
-
const Nt = _;
|
|
499
|
-
|
|
500
|
-
p.array = Nt;
|
|
501
|
-
|
|
502
|
-
const Vt = m;
|
|
503
|
-
|
|
504
|
-
p.errno = Vt;
|
|
505
|
-
|
|
506
|
-
const Wt = v;
|
|
507
|
-
|
|
508
|
-
p.fs = Wt;
|
|
509
|
-
|
|
510
|
-
const It = S;
|
|
511
|
-
|
|
512
|
-
p.path = It;
|
|
513
|
-
|
|
514
|
-
const qt = V;
|
|
515
|
-
|
|
516
|
-
p.pattern = qt;
|
|
517
|
-
|
|
518
|
-
const Ct = Ft;
|
|
519
|
-
|
|
520
|
-
p.stream = Ct;
|
|
521
|
-
|
|
522
|
-
const Gt = At;
|
|
523
|
-
|
|
524
|
-
p.string = Gt;
|
|
525
|
-
|
|
526
|
-
Object.defineProperty(d, "__esModule", {
|
|
527
|
-
value: true
|
|
528
|
-
});
|
|
529
|
-
|
|
530
|
-
d.convertPatternGroupToTask = d.convertPatternGroupsToTasks = d.groupPatternsByBaseDirectory = d.getNegativePatternsAsPositive = d.getPositivePatterns = d.convertPatternsToTasks = d.generate = void 0;
|
|
531
|
-
|
|
532
|
-
const $t = p;
|
|
533
|
-
|
|
534
|
-
function Ut(t, e) {
|
|
535
|
-
const r = Yt(t, e);
|
|
536
|
-
const s = Yt(e.ignore, e);
|
|
537
|
-
const n = Ht(r);
|
|
538
|
-
const i = Jt(r, s);
|
|
539
|
-
const o = n.filter(t => $t.pattern.isStaticPattern(t, e));
|
|
540
|
-
const a = n.filter(t => $t.pattern.isDynamicPattern(t, e));
|
|
541
|
-
const c = zt(o, i, false);
|
|
542
|
-
const u = zt(a, i, true);
|
|
543
|
-
return c.concat(u);
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
d.generate = Ut;
|
|
547
|
-
|
|
548
|
-
function Yt(t, e) {
|
|
549
|
-
let r = t;
|
|
550
|
-
if (e.braceExpansion) {
|
|
551
|
-
r = $t.pattern.expandPatternsWithBraceExpansion(r);
|
|
552
|
-
}
|
|
553
|
-
if (e.baseNameMatch) {
|
|
554
|
-
r = r.map(t => t.includes("/") ? t : `**/${t}`);
|
|
555
|
-
}
|
|
556
|
-
return r.map(t => $t.pattern.removeDuplicateSlashes(t));
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
function zt(t, e, r) {
|
|
560
|
-
const s = [];
|
|
561
|
-
const n = $t.pattern.getPatternsOutsideCurrentDirectory(t);
|
|
562
|
-
const i = $t.pattern.getPatternsInsideCurrentDirectory(t);
|
|
563
|
-
const o = Kt(n);
|
|
564
|
-
const a = Kt(i);
|
|
565
|
-
s.push(...Qt(o, e, r));
|
|
566
|
-
if ("." in a) {
|
|
567
|
-
s.push(Xt(".", i, e, r));
|
|
568
|
-
} else {
|
|
569
|
-
s.push(...Qt(a, e, r));
|
|
570
|
-
}
|
|
571
|
-
return s;
|
|
572
|
-
}
|
|
573
|
-
|
|
574
|
-
d.convertPatternsToTasks = zt;
|
|
575
|
-
|
|
576
|
-
function Ht(t) {
|
|
577
|
-
return $t.pattern.getPositivePatterns(t);
|
|
578
|
-
}
|
|
579
|
-
|
|
580
|
-
d.getPositivePatterns = Ht;
|
|
581
|
-
|
|
582
|
-
function Jt(t, e) {
|
|
583
|
-
const r = $t.pattern.getNegativePatterns(t).concat(e);
|
|
584
|
-
const s = r.map($t.pattern.convertToPositivePattern);
|
|
585
|
-
return s;
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
d.getNegativePatternsAsPositive = Jt;
|
|
589
|
-
|
|
590
|
-
function Kt(t) {
|
|
591
|
-
const e = {};
|
|
592
|
-
return t.reduce((t, e) => {
|
|
593
|
-
const r = $t.pattern.getBaseDirectory(e);
|
|
594
|
-
if (r in t) {
|
|
595
|
-
t[r].push(e);
|
|
596
|
-
} else {
|
|
597
|
-
t[r] = [ e ];
|
|
598
|
-
}
|
|
599
|
-
return t;
|
|
600
|
-
}, e);
|
|
601
|
-
}
|
|
602
|
-
|
|
603
|
-
d.groupPatternsByBaseDirectory = Kt;
|
|
604
|
-
|
|
605
|
-
function Qt(t, e, r) {
|
|
606
|
-
return Object.keys(t).map(s => Xt(s, t[s], e, r));
|
|
607
|
-
}
|
|
608
|
-
|
|
609
|
-
d.convertPatternGroupsToTasks = Qt;
|
|
610
|
-
|
|
611
|
-
function Xt(t, e, r, s) {
|
|
612
|
-
return {
|
|
613
|
-
dynamic: s,
|
|
614
|
-
positive: e,
|
|
615
|
-
negative: r,
|
|
616
|
-
base: t,
|
|
617
|
-
patterns: [].concat(e, r.map($t.pattern.convertToNegativePattern))
|
|
618
|
-
};
|
|
619
|
-
}
|
|
620
|
-
|
|
621
|
-
d.convertPatternGroupToTask = Xt;
|
|
622
|
-
|
|
623
|
-
var Zt = {};
|
|
624
|
-
|
|
625
|
-
var te = {};
|
|
626
|
-
|
|
627
|
-
var ee = {};
|
|
628
|
-
|
|
629
|
-
Object.defineProperty(ee, "__esModule", {
|
|
630
|
-
value: true
|
|
631
|
-
});
|
|
632
|
-
|
|
633
|
-
const re = l.default;
|
|
634
|
-
|
|
635
|
-
const se = i.out;
|
|
636
|
-
|
|
637
|
-
const ne = p;
|
|
638
|
-
|
|
639
|
-
class Reader {
|
|
640
|
-
constructor(t) {
|
|
641
|
-
this._settings = t;
|
|
642
|
-
this._fsStatSettings = new se.Settings({
|
|
643
|
-
followSymbolicLink: this._settings.followSymbolicLinks,
|
|
644
|
-
fs: this._settings.fs,
|
|
645
|
-
throwErrorOnBrokenSymbolicLink: this._settings.followSymbolicLinks
|
|
646
|
-
});
|
|
647
|
-
}
|
|
648
|
-
_getFullEntryPath(t) {
|
|
649
|
-
return re.resolve(this._settings.cwd, t);
|
|
650
|
-
}
|
|
651
|
-
_makeEntry(t, e) {
|
|
652
|
-
const r = {
|
|
653
|
-
name: e,
|
|
654
|
-
path: e,
|
|
655
|
-
dirent: ne.fs.createDirentFromStats(e, t)
|
|
656
|
-
};
|
|
657
|
-
if (this._settings.stats) {
|
|
658
|
-
r.stats = t;
|
|
659
|
-
}
|
|
660
|
-
return r;
|
|
661
|
-
}
|
|
662
|
-
_isFatalError(t) {
|
|
663
|
-
return !ne.errno.isEnoentCodeError(t) && !this._settings.suppressErrors;
|
|
664
|
-
}
|
|
665
|
-
}
|
|
666
|
-
|
|
667
|
-
ee.default = Reader;
|
|
668
|
-
|
|
669
|
-
var ie = {};
|
|
670
|
-
|
|
671
|
-
Object.defineProperty(ie, "__esModule", {
|
|
672
|
-
value: true
|
|
673
|
-
});
|
|
674
|
-
|
|
675
|
-
const oe = h.default;
|
|
676
|
-
|
|
677
|
-
const ae = i.out;
|
|
678
|
-
|
|
679
|
-
const ce = i.out$1;
|
|
680
|
-
|
|
681
|
-
const ue = ee;
|
|
682
|
-
|
|
683
|
-
class ReaderStream extends ue.default {
|
|
684
|
-
constructor() {
|
|
685
|
-
super(...arguments);
|
|
686
|
-
this._walkStream = ce.walkStream;
|
|
687
|
-
this._stat = ae.stat;
|
|
688
|
-
}
|
|
689
|
-
dynamic(t, e) {
|
|
690
|
-
return this._walkStream(t, e);
|
|
691
|
-
}
|
|
692
|
-
static(t, e) {
|
|
693
|
-
const r = t.map(this._getFullEntryPath, this);
|
|
694
|
-
const s = new oe.PassThrough({
|
|
695
|
-
objectMode: true
|
|
696
|
-
});
|
|
697
|
-
s._write = (n, i, o) => this._getEntry(r[n], t[n], e).then(t => {
|
|
698
|
-
if (t !== null && e.entryFilter(t)) {
|
|
699
|
-
s.push(t);
|
|
700
|
-
}
|
|
701
|
-
if (n === r.length - 1) {
|
|
702
|
-
s.end();
|
|
703
|
-
}
|
|
704
|
-
o();
|
|
705
|
-
}).catch(o);
|
|
706
|
-
for (let t = 0; t < r.length; t++) {
|
|
707
|
-
s.write(t);
|
|
708
|
-
}
|
|
709
|
-
return s;
|
|
710
|
-
}
|
|
711
|
-
_getEntry(t, e, r) {
|
|
712
|
-
return this._getStat(t).then(t => this._makeEntry(t, e)).catch(t => {
|
|
713
|
-
if (r.errorFilter(t)) {
|
|
714
|
-
return null;
|
|
715
|
-
}
|
|
716
|
-
throw t;
|
|
717
|
-
});
|
|
718
|
-
}
|
|
719
|
-
_getStat(t) {
|
|
720
|
-
return new Promise((e, r) => {
|
|
721
|
-
this._stat(t, this._fsStatSettings, (t, s) => t === null ? e(s) : r(t));
|
|
722
|
-
});
|
|
723
|
-
}
|
|
724
|
-
}
|
|
725
|
-
|
|
726
|
-
ie.default = ReaderStream;
|
|
727
|
-
|
|
728
|
-
Object.defineProperty(te, "__esModule", {
|
|
729
|
-
value: true
|
|
730
|
-
});
|
|
731
|
-
|
|
732
|
-
const le = i.out$1;
|
|
733
|
-
|
|
734
|
-
const he = ee;
|
|
735
|
-
|
|
736
|
-
const fe = ie;
|
|
737
|
-
|
|
738
|
-
class ReaderAsync extends he.default {
|
|
739
|
-
constructor() {
|
|
740
|
-
super(...arguments);
|
|
741
|
-
this._walkAsync = le.walk;
|
|
742
|
-
this._readerStream = new fe.default(this._settings);
|
|
743
|
-
}
|
|
744
|
-
dynamic(t, e) {
|
|
745
|
-
return new Promise((r, s) => {
|
|
746
|
-
this._walkAsync(t, e, (t, e) => {
|
|
747
|
-
if (t === null) {
|
|
748
|
-
r(e);
|
|
749
|
-
} else {
|
|
750
|
-
s(t);
|
|
751
|
-
}
|
|
752
|
-
});
|
|
753
|
-
});
|
|
754
|
-
}
|
|
755
|
-
async static(t, e) {
|
|
756
|
-
const r = [];
|
|
757
|
-
const s = this._readerStream.static(t, e);
|
|
758
|
-
return new Promise((t, e) => {
|
|
759
|
-
s.once("error", e);
|
|
760
|
-
s.on("data", t => r.push(t));
|
|
761
|
-
s.once("end", () => t(r));
|
|
762
|
-
});
|
|
763
|
-
}
|
|
764
|
-
}
|
|
765
|
-
|
|
766
|
-
te.default = ReaderAsync;
|
|
767
|
-
|
|
768
|
-
var de = {};
|
|
769
|
-
|
|
770
|
-
var pe = {};
|
|
771
|
-
|
|
772
|
-
var _e = {};
|
|
773
|
-
|
|
774
|
-
var ge = {};
|
|
775
|
-
|
|
776
|
-
Object.defineProperty(ge, "__esModule", {
|
|
777
|
-
value: true
|
|
778
|
-
});
|
|
779
|
-
|
|
780
|
-
const ye = p;
|
|
781
|
-
|
|
782
|
-
class Matcher {
|
|
783
|
-
constructor(t, e, r) {
|
|
784
|
-
this._patterns = t;
|
|
785
|
-
this._settings = e;
|
|
786
|
-
this._micromatchOptions = r;
|
|
787
|
-
this._storage = [];
|
|
788
|
-
this._fillStorage();
|
|
789
|
-
}
|
|
790
|
-
_fillStorage() {
|
|
791
|
-
for (const t of this._patterns) {
|
|
792
|
-
const e = this._getPatternSegments(t);
|
|
793
|
-
const r = this._splitSegmentsIntoSections(e);
|
|
794
|
-
this._storage.push({
|
|
795
|
-
complete: r.length <= 1,
|
|
796
|
-
pattern: t,
|
|
797
|
-
segments: e,
|
|
798
|
-
sections: r
|
|
799
|
-
});
|
|
800
|
-
}
|
|
801
|
-
}
|
|
802
|
-
_getPatternSegments(t) {
|
|
803
|
-
const e = ye.pattern.getPatternParts(t, this._micromatchOptions);
|
|
804
|
-
return e.map(t => {
|
|
805
|
-
const e = ye.pattern.isDynamicPattern(t, this._settings);
|
|
806
|
-
if (!e) {
|
|
807
|
-
return {
|
|
808
|
-
dynamic: false,
|
|
809
|
-
pattern: t
|
|
810
|
-
};
|
|
811
|
-
}
|
|
812
|
-
return {
|
|
813
|
-
dynamic: true,
|
|
814
|
-
pattern: t,
|
|
815
|
-
patternRe: ye.pattern.makeRe(t, this._micromatchOptions)
|
|
816
|
-
};
|
|
817
|
-
});
|
|
818
|
-
}
|
|
819
|
-
_splitSegmentsIntoSections(t) {
|
|
820
|
-
return ye.array.splitWhen(t, t => t.dynamic && ye.pattern.hasGlobStar(t.pattern));
|
|
821
|
-
}
|
|
822
|
-
}
|
|
823
|
-
|
|
824
|
-
ge.default = Matcher;
|
|
825
|
-
|
|
826
|
-
Object.defineProperty(_e, "__esModule", {
|
|
827
|
-
value: true
|
|
828
|
-
});
|
|
829
|
-
|
|
830
|
-
const me = ge;
|
|
831
|
-
|
|
832
|
-
class PartialMatcher extends me.default {
|
|
833
|
-
match(t) {
|
|
834
|
-
const e = t.split("/");
|
|
835
|
-
const r = e.length;
|
|
836
|
-
const s = this._storage.filter(t => !t.complete || t.segments.length > r);
|
|
837
|
-
for (const t of s) {
|
|
838
|
-
const s = t.sections[0];
|
|
839
|
-
if (!t.complete && r > s.length) {
|
|
840
|
-
return true;
|
|
841
|
-
}
|
|
842
|
-
const n = e.every((e, r) => {
|
|
843
|
-
const s = t.segments[r];
|
|
844
|
-
if (s.dynamic && s.patternRe.test(e)) {
|
|
845
|
-
return true;
|
|
846
|
-
}
|
|
847
|
-
if (!s.dynamic && s.pattern === e) {
|
|
848
|
-
return true;
|
|
849
|
-
}
|
|
850
|
-
return false;
|
|
851
|
-
});
|
|
852
|
-
if (n) {
|
|
853
|
-
return true;
|
|
854
|
-
}
|
|
855
|
-
}
|
|
856
|
-
return false;
|
|
857
|
-
}
|
|
858
|
-
}
|
|
859
|
-
|
|
860
|
-
_e.default = PartialMatcher;
|
|
861
|
-
|
|
862
|
-
Object.defineProperty(pe, "__esModule", {
|
|
863
|
-
value: true
|
|
864
|
-
});
|
|
865
|
-
|
|
866
|
-
const Pe = p;
|
|
867
|
-
|
|
868
|
-
const ve = _e;
|
|
869
|
-
|
|
870
|
-
class DeepFilter {
|
|
871
|
-
constructor(t, e) {
|
|
872
|
-
this._settings = t;
|
|
873
|
-
this._micromatchOptions = e;
|
|
874
|
-
}
|
|
875
|
-
getFilter(t, e, r) {
|
|
876
|
-
const s = this._getMatcher(e);
|
|
877
|
-
const n = this._getNegativePatternsRe(r);
|
|
878
|
-
return e => this._filter(t, e, s, n);
|
|
879
|
-
}
|
|
880
|
-
_getMatcher(t) {
|
|
881
|
-
return new ve.default(t, this._settings, this._micromatchOptions);
|
|
882
|
-
}
|
|
883
|
-
_getNegativePatternsRe(t) {
|
|
884
|
-
const e = t.filter(Pe.pattern.isAffectDepthOfReadingPattern);
|
|
885
|
-
return Pe.pattern.convertPatternsToRe(e, this._micromatchOptions);
|
|
886
|
-
}
|
|
887
|
-
_filter(t, e, r, s) {
|
|
888
|
-
if (this._isSkippedByDeep(t, e.path)) {
|
|
889
|
-
return false;
|
|
890
|
-
}
|
|
891
|
-
if (this._isSkippedSymbolicLink(e)) {
|
|
892
|
-
return false;
|
|
893
|
-
}
|
|
894
|
-
const n = Pe.path.removeLeadingDotSegment(e.path);
|
|
895
|
-
if (this._isSkippedByPositivePatterns(n, r)) {
|
|
896
|
-
return false;
|
|
897
|
-
}
|
|
898
|
-
return this._isSkippedByNegativePatterns(n, s);
|
|
899
|
-
}
|
|
900
|
-
_isSkippedByDeep(t, e) {
|
|
901
|
-
if (this._settings.deep === Infinity) {
|
|
902
|
-
return false;
|
|
903
|
-
}
|
|
904
|
-
return this._getEntryLevel(t, e) >= this._settings.deep;
|
|
905
|
-
}
|
|
906
|
-
_getEntryLevel(t, e) {
|
|
907
|
-
const r = e.split("/").length;
|
|
908
|
-
if (t === "") {
|
|
909
|
-
return r;
|
|
910
|
-
}
|
|
911
|
-
const s = t.split("/").length;
|
|
912
|
-
return r - s;
|
|
913
|
-
}
|
|
914
|
-
_isSkippedSymbolicLink(t) {
|
|
915
|
-
return !this._settings.followSymbolicLinks && t.dirent.isSymbolicLink();
|
|
916
|
-
}
|
|
917
|
-
_isSkippedByPositivePatterns(t, e) {
|
|
918
|
-
return !this._settings.baseNameMatch && !e.match(t);
|
|
919
|
-
}
|
|
920
|
-
_isSkippedByNegativePatterns(t, e) {
|
|
921
|
-
return !Pe.pattern.matchAny(t, e);
|
|
922
|
-
}
|
|
923
|
-
}
|
|
924
|
-
|
|
925
|
-
pe.default = DeepFilter;
|
|
926
|
-
|
|
927
|
-
var be = {};
|
|
928
|
-
|
|
929
|
-
Object.defineProperty(be, "__esModule", {
|
|
930
|
-
value: true
|
|
931
|
-
});
|
|
932
|
-
|
|
933
|
-
const Se = p;
|
|
934
|
-
|
|
935
|
-
class EntryFilter {
|
|
936
|
-
constructor(t, e) {
|
|
937
|
-
this._settings = t;
|
|
938
|
-
this._micromatchOptions = e;
|
|
939
|
-
this.index = new Map;
|
|
940
|
-
}
|
|
941
|
-
getFilter(t, e) {
|
|
942
|
-
const [r, s] = Se.pattern.partitionAbsoluteAndRelative(e);
|
|
943
|
-
const n = {
|
|
944
|
-
positive: {
|
|
945
|
-
all: Se.pattern.convertPatternsToRe(t, this._micromatchOptions)
|
|
946
|
-
},
|
|
947
|
-
negative: {
|
|
948
|
-
absolute: Se.pattern.convertPatternsToRe(r, Object.assign(Object.assign({}, this._micromatchOptions), {
|
|
949
|
-
dot: true
|
|
950
|
-
})),
|
|
951
|
-
relative: Se.pattern.convertPatternsToRe(s, Object.assign(Object.assign({}, this._micromatchOptions), {
|
|
952
|
-
dot: true
|
|
953
|
-
}))
|
|
954
|
-
}
|
|
955
|
-
};
|
|
956
|
-
return t => this._filter(t, n);
|
|
957
|
-
}
|
|
958
|
-
_filter(t, e) {
|
|
959
|
-
const r = Se.path.removeLeadingDotSegment(t.path);
|
|
960
|
-
if (this._settings.unique && this._isDuplicateEntry(r)) {
|
|
961
|
-
return false;
|
|
962
|
-
}
|
|
963
|
-
if (this._onlyFileFilter(t) || this._onlyDirectoryFilter(t)) {
|
|
964
|
-
return false;
|
|
965
|
-
}
|
|
966
|
-
const s = this._isMatchToPatternsSet(r, e, t.dirent.isDirectory());
|
|
967
|
-
if (this._settings.unique && s) {
|
|
968
|
-
this._createIndexRecord(r);
|
|
969
|
-
}
|
|
970
|
-
return s;
|
|
971
|
-
}
|
|
972
|
-
_isDuplicateEntry(t) {
|
|
973
|
-
return this.index.has(t);
|
|
974
|
-
}
|
|
975
|
-
_createIndexRecord(t) {
|
|
976
|
-
this.index.set(t, undefined);
|
|
977
|
-
}
|
|
978
|
-
_onlyFileFilter(t) {
|
|
979
|
-
return this._settings.onlyFiles && !t.dirent.isFile();
|
|
980
|
-
}
|
|
981
|
-
_onlyDirectoryFilter(t) {
|
|
982
|
-
return this._settings.onlyDirectories && !t.dirent.isDirectory();
|
|
983
|
-
}
|
|
984
|
-
_isMatchToPatternsSet(t, e, r) {
|
|
985
|
-
const s = this._isMatchToPatterns(t, e.positive.all, r);
|
|
986
|
-
if (!s) {
|
|
987
|
-
return false;
|
|
988
|
-
}
|
|
989
|
-
const n = this._isMatchToPatterns(t, e.negative.relative, r);
|
|
990
|
-
if (n) {
|
|
991
|
-
return false;
|
|
992
|
-
}
|
|
993
|
-
const i = this._isMatchToAbsoluteNegative(t, e.negative.absolute, r);
|
|
994
|
-
if (i) {
|
|
995
|
-
return false;
|
|
996
|
-
}
|
|
997
|
-
return true;
|
|
998
|
-
}
|
|
999
|
-
_isMatchToAbsoluteNegative(t, e, r) {
|
|
1000
|
-
if (e.length === 0) {
|
|
1001
|
-
return false;
|
|
1002
|
-
}
|
|
1003
|
-
const s = Se.path.makeAbsolute(this._settings.cwd, t);
|
|
1004
|
-
return this._isMatchToPatterns(s, e, r);
|
|
1005
|
-
}
|
|
1006
|
-
_isMatchToPatterns(t, e, r) {
|
|
1007
|
-
if (e.length === 0) {
|
|
1008
|
-
return false;
|
|
1009
|
-
}
|
|
1010
|
-
const s = Se.pattern.matchAny(t, e);
|
|
1011
|
-
if (!s && r) {
|
|
1012
|
-
return Se.pattern.matchAny(t + "/", e);
|
|
1013
|
-
}
|
|
1014
|
-
return s;
|
|
1015
|
-
}
|
|
1016
|
-
}
|
|
1017
|
-
|
|
1018
|
-
be.default = EntryFilter;
|
|
1019
|
-
|
|
1020
|
-
var ke = {};
|
|
1021
|
-
|
|
1022
|
-
Object.defineProperty(ke, "__esModule", {
|
|
1023
|
-
value: true
|
|
1024
|
-
});
|
|
1025
|
-
|
|
1026
|
-
const Ee = p;
|
|
1027
|
-
|
|
1028
|
-
class ErrorFilter {
|
|
1029
|
-
constructor(t) {
|
|
1030
|
-
this._settings = t;
|
|
1031
|
-
}
|
|
1032
|
-
getFilter() {
|
|
1033
|
-
return t => this._isNonFatalError(t);
|
|
1034
|
-
}
|
|
1035
|
-
_isNonFatalError(t) {
|
|
1036
|
-
return Ee.errno.isEnoentCodeError(t) || this._settings.suppressErrors;
|
|
1037
|
-
}
|
|
1038
|
-
}
|
|
1039
|
-
|
|
1040
|
-
ke.default = ErrorFilter;
|
|
1041
|
-
|
|
1042
|
-
var Oe = {};
|
|
1043
|
-
|
|
1044
|
-
Object.defineProperty(Oe, "__esModule", {
|
|
1045
|
-
value: true
|
|
1046
|
-
});
|
|
1047
|
-
|
|
1048
|
-
const we = p;
|
|
1049
|
-
|
|
1050
|
-
class EntryTransformer {
|
|
1051
|
-
constructor(t) {
|
|
1052
|
-
this._settings = t;
|
|
1053
|
-
}
|
|
1054
|
-
getTransformer() {
|
|
1055
|
-
return t => this._transform(t);
|
|
1056
|
-
}
|
|
1057
|
-
_transform(t) {
|
|
1058
|
-
let e = t.path;
|
|
1059
|
-
if (this._settings.absolute) {
|
|
1060
|
-
e = we.path.makeAbsolute(this._settings.cwd, e);
|
|
1061
|
-
e = we.path.unixify(e);
|
|
1062
|
-
}
|
|
1063
|
-
if (this._settings.markDirectories && t.dirent.isDirectory()) {
|
|
1064
|
-
e += "/";
|
|
1065
|
-
}
|
|
1066
|
-
if (!this._settings.objectMode) {
|
|
1067
|
-
return e;
|
|
1068
|
-
}
|
|
1069
|
-
return Object.assign(Object.assign({}, t), {
|
|
1070
|
-
path: e
|
|
1071
|
-
});
|
|
1072
|
-
}
|
|
1073
|
-
}
|
|
1074
|
-
|
|
1075
|
-
Oe.default = EntryTransformer;
|
|
1076
|
-
|
|
1077
|
-
Object.defineProperty(de, "__esModule", {
|
|
1078
|
-
value: true
|
|
1079
|
-
});
|
|
1080
|
-
|
|
1081
|
-
const De = l.default;
|
|
1082
|
-
|
|
1083
|
-
const Te = pe;
|
|
1084
|
-
|
|
1085
|
-
const Me = be;
|
|
1086
|
-
|
|
1087
|
-
const Fe = ke;
|
|
1088
|
-
|
|
1089
|
-
const xe = Oe;
|
|
1090
|
-
|
|
1091
|
-
class Provider {
|
|
1092
|
-
constructor(t) {
|
|
1093
|
-
this._settings = t;
|
|
1094
|
-
this.errorFilter = new Fe.default(this._settings);
|
|
1095
|
-
this.entryFilter = new Me.default(this._settings, this._getMicromatchOptions());
|
|
1096
|
-
this.deepFilter = new Te.default(this._settings, this._getMicromatchOptions());
|
|
1097
|
-
this.entryTransformer = new xe.default(this._settings);
|
|
1098
|
-
}
|
|
1099
|
-
_getRootDirectory(t) {
|
|
1100
|
-
return De.resolve(this._settings.cwd, t.base);
|
|
1101
|
-
}
|
|
1102
|
-
_getReaderOptions(t) {
|
|
1103
|
-
const e = t.base === "." ? "" : t.base;
|
|
1104
|
-
return {
|
|
1105
|
-
basePath: e,
|
|
1106
|
-
pathSegmentSeparator: "/",
|
|
1107
|
-
concurrency: this._settings.concurrency,
|
|
1108
|
-
deepFilter: this.deepFilter.getFilter(e, t.positive, t.negative),
|
|
1109
|
-
entryFilter: this.entryFilter.getFilter(t.positive, t.negative),
|
|
1110
|
-
errorFilter: this.errorFilter.getFilter(),
|
|
1111
|
-
followSymbolicLinks: this._settings.followSymbolicLinks,
|
|
1112
|
-
fs: this._settings.fs,
|
|
1113
|
-
stats: this._settings.stats,
|
|
1114
|
-
throwErrorOnBrokenSymbolicLink: this._settings.throwErrorOnBrokenSymbolicLink,
|
|
1115
|
-
transform: this.entryTransformer.getTransformer()
|
|
1116
|
-
};
|
|
1117
|
-
}
|
|
1118
|
-
_getMicromatchOptions() {
|
|
1119
|
-
return {
|
|
1120
|
-
dot: this._settings.dot,
|
|
1121
|
-
matchBase: this._settings.baseNameMatch,
|
|
1122
|
-
nobrace: !this._settings.braceExpansion,
|
|
1123
|
-
nocase: !this._settings.caseSensitiveMatch,
|
|
1124
|
-
noext: !this._settings.extglob,
|
|
1125
|
-
noglobstar: !this._settings.globstar,
|
|
1126
|
-
posix: true,
|
|
1127
|
-
strictSlashes: false
|
|
1128
|
-
};
|
|
1129
|
-
}
|
|
1130
|
-
}
|
|
1131
|
-
|
|
1132
|
-
de.default = Provider;
|
|
1133
|
-
|
|
1134
|
-
Object.defineProperty(Zt, "__esModule", {
|
|
1135
|
-
value: true
|
|
1136
|
-
});
|
|
1137
|
-
|
|
1138
|
-
const je = te;
|
|
1139
|
-
|
|
1140
|
-
const Re = de;
|
|
1141
|
-
|
|
1142
|
-
class ProviderAsync extends Re.default {
|
|
1143
|
-
constructor() {
|
|
1144
|
-
super(...arguments);
|
|
1145
|
-
this._reader = new je.default(this._settings);
|
|
1146
|
-
}
|
|
1147
|
-
async read(t) {
|
|
1148
|
-
const e = this._getRootDirectory(t);
|
|
1149
|
-
const r = this._getReaderOptions(t);
|
|
1150
|
-
const s = await this.api(e, t, r);
|
|
1151
|
-
return s.map(t => r.transform(t));
|
|
1152
|
-
}
|
|
1153
|
-
api(t, e, r) {
|
|
1154
|
-
if (e.dynamic) {
|
|
1155
|
-
return this._reader.dynamic(t, r);
|
|
1156
|
-
}
|
|
1157
|
-
return this._reader.static(e.patterns, r);
|
|
1158
|
-
}
|
|
1159
|
-
}
|
|
1160
|
-
|
|
1161
|
-
Zt.default = ProviderAsync;
|
|
1162
|
-
|
|
1163
|
-
var Ae = {};
|
|
1164
|
-
|
|
1165
|
-
Object.defineProperty(Ae, "__esModule", {
|
|
1166
|
-
value: true
|
|
1167
|
-
});
|
|
1168
|
-
|
|
1169
|
-
const Le = h.default;
|
|
1170
|
-
|
|
1171
|
-
const Be = ie;
|
|
1172
|
-
|
|
1173
|
-
const Ne = de;
|
|
1174
|
-
|
|
1175
|
-
class ProviderStream extends Ne.default {
|
|
1176
|
-
constructor() {
|
|
1177
|
-
super(...arguments);
|
|
1178
|
-
this._reader = new Be.default(this._settings);
|
|
1179
|
-
}
|
|
1180
|
-
read(t) {
|
|
1181
|
-
const e = this._getRootDirectory(t);
|
|
1182
|
-
const r = this._getReaderOptions(t);
|
|
1183
|
-
const s = this.api(e, t, r);
|
|
1184
|
-
const n = new Le.Readable({
|
|
1185
|
-
objectMode: true,
|
|
1186
|
-
read: () => {}
|
|
1187
|
-
});
|
|
1188
|
-
s.once("error", t => n.emit("error", t)).on("data", t => n.emit("data", r.transform(t))).once("end", () => n.emit("end"));
|
|
1189
|
-
n.once("close", () => s.destroy());
|
|
1190
|
-
return n;
|
|
1191
|
-
}
|
|
1192
|
-
api(t, e, r) {
|
|
1193
|
-
if (e.dynamic) {
|
|
1194
|
-
return this._reader.dynamic(t, r);
|
|
1195
|
-
}
|
|
1196
|
-
return this._reader.static(e.patterns, r);
|
|
1197
|
-
}
|
|
1198
|
-
}
|
|
1199
|
-
|
|
1200
|
-
Ae.default = ProviderStream;
|
|
1201
|
-
|
|
1202
|
-
var Ve = {};
|
|
1203
|
-
|
|
1204
|
-
var We = {};
|
|
1205
|
-
|
|
1206
|
-
Object.defineProperty(We, "__esModule", {
|
|
1207
|
-
value: true
|
|
1208
|
-
});
|
|
1209
|
-
|
|
1210
|
-
const Ie = i.out;
|
|
1211
|
-
|
|
1212
|
-
const qe = i.out$1;
|
|
1213
|
-
|
|
1214
|
-
const Ce = ee;
|
|
1215
|
-
|
|
1216
|
-
class ReaderSync extends Ce.default {
|
|
1217
|
-
constructor() {
|
|
1218
|
-
super(...arguments);
|
|
1219
|
-
this._walkSync = qe.walkSync;
|
|
1220
|
-
this._statSync = Ie.statSync;
|
|
1221
|
-
}
|
|
1222
|
-
dynamic(t, e) {
|
|
1223
|
-
return this._walkSync(t, e);
|
|
1224
|
-
}
|
|
1225
|
-
static(t, e) {
|
|
1226
|
-
const r = [];
|
|
1227
|
-
for (const s of t) {
|
|
1228
|
-
const t = this._getFullEntryPath(s);
|
|
1229
|
-
const n = this._getEntry(t, s, e);
|
|
1230
|
-
if (n === null || !e.entryFilter(n)) {
|
|
1231
|
-
continue;
|
|
1232
|
-
}
|
|
1233
|
-
r.push(n);
|
|
1234
|
-
}
|
|
1235
|
-
return r;
|
|
1236
|
-
}
|
|
1237
|
-
_getEntry(t, e, r) {
|
|
1238
|
-
try {
|
|
1239
|
-
const r = this._getStat(t);
|
|
1240
|
-
return this._makeEntry(r, e);
|
|
1241
|
-
} catch (t) {
|
|
1242
|
-
if (r.errorFilter(t)) {
|
|
1243
|
-
return null;
|
|
1244
|
-
}
|
|
1245
|
-
throw t;
|
|
1246
|
-
}
|
|
1247
|
-
}
|
|
1248
|
-
_getStat(t) {
|
|
1249
|
-
return this._statSync(t, this._fsStatSettings);
|
|
1250
|
-
}
|
|
1251
|
-
}
|
|
1252
|
-
|
|
1253
|
-
We.default = ReaderSync;
|
|
1254
|
-
|
|
1255
|
-
Object.defineProperty(Ve, "__esModule", {
|
|
1256
|
-
value: true
|
|
1257
|
-
});
|
|
1258
|
-
|
|
1259
|
-
const Ge = We;
|
|
1260
|
-
|
|
1261
|
-
const $e = de;
|
|
1262
|
-
|
|
1263
|
-
class ProviderSync extends $e.default {
|
|
1264
|
-
constructor() {
|
|
1265
|
-
super(...arguments);
|
|
1266
|
-
this._reader = new Ge.default(this._settings);
|
|
1267
|
-
}
|
|
1268
|
-
read(t) {
|
|
1269
|
-
const e = this._getRootDirectory(t);
|
|
1270
|
-
const r = this._getReaderOptions(t);
|
|
1271
|
-
const s = this.api(e, t, r);
|
|
1272
|
-
return s.map(r.transform);
|
|
1273
|
-
}
|
|
1274
|
-
api(t, e, r) {
|
|
1275
|
-
if (e.dynamic) {
|
|
1276
|
-
return this._reader.dynamic(t, r);
|
|
1277
|
-
}
|
|
1278
|
-
return this._reader.static(e.patterns, r);
|
|
1279
|
-
}
|
|
1280
|
-
}
|
|
1281
|
-
|
|
1282
|
-
Ve.default = ProviderSync;
|
|
1283
|
-
|
|
1284
|
-
var Ue = {};
|
|
1285
|
-
|
|
1286
|
-
(function(t) {
|
|
1287
|
-
Object.defineProperty(t, "__esModule", {
|
|
1288
|
-
value: true
|
|
1289
|
-
});
|
|
1290
|
-
t.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;
|
|
1291
|
-
const e = f.default;
|
|
1292
|
-
const r = u.default;
|
|
1293
|
-
const s = Math.max(r.cpus().length, 1);
|
|
1294
|
-
t.DEFAULT_FILE_SYSTEM_ADAPTER = {
|
|
1295
|
-
lstat: e.lstat,
|
|
1296
|
-
lstatSync: e.lstatSync,
|
|
1297
|
-
stat: e.stat,
|
|
1298
|
-
statSync: e.statSync,
|
|
1299
|
-
readdir: e.readdir,
|
|
1300
|
-
readdirSync: e.readdirSync
|
|
1301
|
-
};
|
|
1302
|
-
class Settings {
|
|
1303
|
-
constructor(t = {}) {
|
|
1304
|
-
this._options = t;
|
|
1305
|
-
this.absolute = this._getValue(this._options.absolute, false);
|
|
1306
|
-
this.baseNameMatch = this._getValue(this._options.baseNameMatch, false);
|
|
1307
|
-
this.braceExpansion = this._getValue(this._options.braceExpansion, true);
|
|
1308
|
-
this.caseSensitiveMatch = this._getValue(this._options.caseSensitiveMatch, true);
|
|
1309
|
-
this.concurrency = this._getValue(this._options.concurrency, s);
|
|
1310
|
-
this.cwd = this._getValue(this._options.cwd, process.cwd());
|
|
1311
|
-
this.deep = this._getValue(this._options.deep, Infinity);
|
|
1312
|
-
this.dot = this._getValue(this._options.dot, false);
|
|
1313
|
-
this.extglob = this._getValue(this._options.extglob, true);
|
|
1314
|
-
this.followSymbolicLinks = this._getValue(this._options.followSymbolicLinks, true);
|
|
1315
|
-
this.fs = this._getFileSystemMethods(this._options.fs);
|
|
1316
|
-
this.globstar = this._getValue(this._options.globstar, true);
|
|
1317
|
-
this.ignore = this._getValue(this._options.ignore, []);
|
|
1318
|
-
this.markDirectories = this._getValue(this._options.markDirectories, false);
|
|
1319
|
-
this.objectMode = this._getValue(this._options.objectMode, false);
|
|
1320
|
-
this.onlyDirectories = this._getValue(this._options.onlyDirectories, false);
|
|
1321
|
-
this.onlyFiles = this._getValue(this._options.onlyFiles, true);
|
|
1322
|
-
this.stats = this._getValue(this._options.stats, false);
|
|
1323
|
-
this.suppressErrors = this._getValue(this._options.suppressErrors, false);
|
|
1324
|
-
this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, false);
|
|
1325
|
-
this.unique = this._getValue(this._options.unique, true);
|
|
1326
|
-
if (this.onlyDirectories) {
|
|
1327
|
-
this.onlyFiles = false;
|
|
1328
|
-
}
|
|
1329
|
-
if (this.stats) {
|
|
1330
|
-
this.objectMode = true;
|
|
1331
|
-
}
|
|
1332
|
-
this.ignore = [].concat(this.ignore);
|
|
1333
|
-
}
|
|
1334
|
-
_getValue(t, e) {
|
|
1335
|
-
return t === undefined ? e : t;
|
|
1336
|
-
}
|
|
1337
|
-
_getFileSystemMethods(e = {}) {
|
|
1338
|
-
return Object.assign(Object.assign({}, t.DEFAULT_FILE_SYSTEM_ADAPTER), e);
|
|
1339
|
-
}
|
|
1340
|
-
}
|
|
1341
|
-
t.default = Settings;
|
|
1342
|
-
})(Ue);
|
|
1343
|
-
|
|
1344
|
-
const Ye = d;
|
|
1345
|
-
|
|
1346
|
-
const ze = Zt;
|
|
1347
|
-
|
|
1348
|
-
const He = Ae;
|
|
1349
|
-
|
|
1350
|
-
const Je = Ve;
|
|
1351
|
-
|
|
1352
|
-
const Ke = Ue;
|
|
1353
|
-
|
|
1354
|
-
const Qe = p;
|
|
1355
|
-
|
|
1356
|
-
async function Xe(t, e) {
|
|
1357
|
-
tr(t);
|
|
1358
|
-
const r = Ze(t, ze.default, e);
|
|
1359
|
-
const s = await Promise.all(r);
|
|
1360
|
-
return Qe.array.flatten(s);
|
|
1361
|
-
}
|
|
1362
|
-
|
|
1363
|
-
(function(t) {
|
|
1364
|
-
t.glob = t;
|
|
1365
|
-
t.globSync = e;
|
|
1366
|
-
t.globStream = r;
|
|
1367
|
-
t.async = t;
|
|
1368
|
-
function e(t, e) {
|
|
1369
|
-
tr(t);
|
|
1370
|
-
const r = Ze(t, Je.default, e);
|
|
1371
|
-
return Qe.array.flatten(r);
|
|
1372
|
-
}
|
|
1373
|
-
t.sync = e;
|
|
1374
|
-
function r(t, e) {
|
|
1375
|
-
tr(t);
|
|
1376
|
-
const r = Ze(t, He.default, e);
|
|
1377
|
-
return Qe.stream.merge(r);
|
|
1378
|
-
}
|
|
1379
|
-
t.stream = r;
|
|
1380
|
-
function s(t, e) {
|
|
1381
|
-
tr(t);
|
|
1382
|
-
const r = [].concat(t);
|
|
1383
|
-
const s = new Ke.default(e);
|
|
1384
|
-
return Ye.generate(r, s);
|
|
1385
|
-
}
|
|
1386
|
-
t.generateTasks = s;
|
|
1387
|
-
function n(t, e) {
|
|
1388
|
-
tr(t);
|
|
1389
|
-
const r = new Ke.default(e);
|
|
1390
|
-
return Qe.pattern.isDynamicPattern(t, r);
|
|
1391
|
-
}
|
|
1392
|
-
t.isDynamicPattern = n;
|
|
1393
|
-
function i(t) {
|
|
1394
|
-
tr(t);
|
|
1395
|
-
return Qe.path.escape(t);
|
|
1396
|
-
}
|
|
1397
|
-
t.escapePath = i;
|
|
1398
|
-
function o(t) {
|
|
1399
|
-
tr(t);
|
|
1400
|
-
return Qe.path.convertPathToPattern(t);
|
|
1401
|
-
}
|
|
1402
|
-
t.convertPathToPattern = o;
|
|
1403
|
-
(function(t) {
|
|
1404
|
-
function e(t) {
|
|
1405
|
-
tr(t);
|
|
1406
|
-
return Qe.path.escapePosixPath(t);
|
|
1407
|
-
}
|
|
1408
|
-
t.escapePath = e;
|
|
1409
|
-
function r(t) {
|
|
1410
|
-
tr(t);
|
|
1411
|
-
return Qe.path.convertPosixPathToPattern(t);
|
|
1412
|
-
}
|
|
1413
|
-
t.convertPathToPattern = r;
|
|
1414
|
-
})(t.posix || (t.posix = {}));
|
|
1415
|
-
(function(t) {
|
|
1416
|
-
function e(t) {
|
|
1417
|
-
tr(t);
|
|
1418
|
-
return Qe.path.escapeWindowsPath(t);
|
|
1419
|
-
}
|
|
1420
|
-
t.escapePath = e;
|
|
1421
|
-
function r(t) {
|
|
1422
|
-
tr(t);
|
|
1423
|
-
return Qe.path.convertWindowsPathToPattern(t);
|
|
1424
|
-
}
|
|
1425
|
-
t.convertPathToPattern = r;
|
|
1426
|
-
})(t.win32 || (t.win32 = {}));
|
|
1427
|
-
})(Xe || (Xe = {}));
|
|
1428
|
-
|
|
1429
|
-
function Ze(t, e, r) {
|
|
1430
|
-
const s = [].concat(t);
|
|
1431
|
-
const n = new Ke.default(r);
|
|
1432
|
-
const i = Ye.generate(s, n);
|
|
1433
|
-
const o = new e(n);
|
|
1434
|
-
return i.map(o.read, o);
|
|
1435
|
-
}
|
|
1436
|
-
|
|
1437
|
-
function tr(t) {
|
|
1438
|
-
const e = [].concat(t);
|
|
1439
|
-
const r = e.every(t => Qe.string.isString(t) && !Qe.string.isEmpty(t));
|
|
1440
|
-
if (!r) {
|
|
1441
|
-
throw new TypeError("Patterns must be a string (non empty) or an array of strings");
|
|
1442
|
-
}
|
|
1443
|
-
}
|
|
1444
|
-
|
|
1445
|
-
exports.out = Xe;
|