lakutata 2.0.94 → 2.0.96

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1175) hide show
  1. package/com/cacher.cjs +56 -44
  2. package/com/cacher.mjs +56 -44
  3. package/com/database.cjs +74 -74
  4. package/com/database.mjs +74 -74
  5. package/com/docker.cjs +85 -85
  6. package/com/docker.mjs +85 -85
  7. package/com/entrypoint.cjs +44 -44
  8. package/com/entrypoint.mjs +44 -44
  9. package/com/logger.cjs +51 -51
  10. package/com/logger.mjs +51 -51
  11. package/com/monitor.cjs +32 -32
  12. package/com/monitor.mjs +32 -32
  13. package/decorator/asst.cjs +5 -5
  14. package/decorator/asst.mjs +5 -5
  15. package/decorator/ctrl.cjs +22 -22
  16. package/decorator/ctrl.mjs +22 -22
  17. package/decorator/di.cjs +17 -17
  18. package/decorator/di.mjs +17 -17
  19. package/decorator/dto.cjs +17 -17
  20. package/decorator/dto.mjs +17 -17
  21. package/decorator/orm.cjs +47 -47
  22. package/decorator/orm.mjs +47 -47
  23. package/dtos.cjs +17 -17
  24. package/dtos.mjs +17 -17
  25. package/helper.cjs +32 -32
  26. package/helper.mjs +32 -32
  27. package/lakutata.cjs +110 -110
  28. package/lakutata.mjs +110 -110
  29. package/orm.cjs +47 -47
  30. package/orm.mjs +48 -48
  31. package/package.json +1 -1
  32. package/provider/database.cjs +73 -73
  33. package/provider/database.mjs +73 -73
  34. package/provider/passwordHash.cjs +31 -31
  35. package/provider/passwordHash.mjs +31 -31
  36. package/src/components/Database.cjs +74 -74
  37. package/src/components/Database.mjs +74 -74
  38. package/src/components/Logger.cjs +51 -51
  39. package/src/components/Logger.mjs +51 -51
  40. package/src/components/cacher/Cacher.cjs +60 -48
  41. package/src/components/cacher/Cacher.mjs +60 -48
  42. package/src/components/cacher/adapters/CreateFileCacheAdapter.cjs +26 -12
  43. package/src/components/cacher/adapters/CreateFileCacheAdapter.mjs +32 -18
  44. package/src/components/cacher/adapters/CreateMemcacheCacheAdapter.cjs +30 -16
  45. package/src/components/cacher/adapters/CreateMemcacheCacheAdapter.mjs +39 -25
  46. package/src/components/cacher/adapters/CreateMongoCacheAdapter.cjs +42 -28
  47. package/src/components/cacher/adapters/CreateMongoCacheAdapter.mjs +38 -24
  48. package/src/components/cacher/adapters/CreateMysqlCacheAdapter.cjs +29 -15
  49. package/src/components/cacher/adapters/CreateMysqlCacheAdapter.mjs +27 -13
  50. package/src/components/cacher/adapters/CreatePostgresCacheAdapter.cjs +40 -26
  51. package/src/components/cacher/adapters/CreatePostgresCacheAdapter.mjs +30 -16
  52. package/src/components/cacher/adapters/CreateRedisCacheAdapter.cjs +27 -13
  53. package/src/components/cacher/adapters/CreateRedisCacheAdapter.mjs +27 -13
  54. package/src/components/cacher/adapters/CreateSqliteCacheAdapter.cjs +30 -16
  55. package/src/components/cacher/adapters/CreateSqliteCacheAdapter.mjs +30 -16
  56. package/src/components/cacher/exceptions/CacheDriverNotFoundException.cjs +4 -4
  57. package/src/components/cacher/exceptions/CacheDriverNotFoundException.mjs +4 -4
  58. package/src/components/cacher/interfaces/CacherOptions.cjs +1 -1
  59. package/src/components/cacher/interfaces/CacherOptions.mjs +1 -1
  60. package/src/components/cacher/lib/IsDriverPackageInstalled.cjs +4 -4
  61. package/src/components/cacher/lib/IsDriverPackageInstalled.mjs +4 -4
  62. package/src/components/cacher/options/FileCacheOptions.cjs +17 -17
  63. package/src/components/cacher/options/FileCacheOptions.mjs +17 -17
  64. package/src/components/cacher/options/MemcacheCacheOptions.cjs +17 -17
  65. package/src/components/cacher/options/MemcacheCacheOptions.mjs +17 -17
  66. package/src/components/cacher/options/MongoCacheOptions.cjs +17 -17
  67. package/src/components/cacher/options/MongoCacheOptions.mjs +17 -17
  68. package/src/components/cacher/options/MysqlCacheOptions.cjs +17 -17
  69. package/src/components/cacher/options/MysqlCacheOptions.mjs +17 -17
  70. package/src/components/cacher/options/PostgresCacheOptions.cjs +17 -17
  71. package/src/components/cacher/options/PostgresCacheOptions.mjs +17 -17
  72. package/src/components/cacher/options/RedisCacheOptions.cjs +17 -17
  73. package/src/components/cacher/options/RedisCacheOptions.mjs +17 -17
  74. package/src/components/cacher/options/SqliteCacheOptions.cjs +17 -17
  75. package/src/components/cacher/options/SqliteCacheOptions.mjs +17 -17
  76. package/src/components/cacher/types/CacheStoreOptions.cjs +1 -1
  77. package/src/components/cacher/types/CacheStoreOptions.mjs +1 -1
  78. package/src/components/docker/ConnectionOptionsBuilder.cjs +85 -85
  79. package/src/components/docker/ConnectionOptionsBuilder.mjs +85 -85
  80. package/src/components/docker/Docker.cjs +85 -85
  81. package/src/components/docker/Docker.mjs +85 -85
  82. package/src/components/docker/exceptions/DockerConnectionException.cjs +4 -4
  83. package/src/components/docker/exceptions/DockerConnectionException.mjs +4 -4
  84. package/src/components/docker/exceptions/DockerImageBuildException.cjs +4 -4
  85. package/src/components/docker/exceptions/DockerImageBuildException.mjs +4 -4
  86. package/src/components/docker/exceptions/DockerImageImportException.cjs +4 -4
  87. package/src/components/docker/exceptions/DockerImageImportException.mjs +4 -4
  88. package/src/components/docker/exceptions/DockerImageNotFoundException.cjs +4 -4
  89. package/src/components/docker/exceptions/DockerImageNotFoundException.mjs +4 -4
  90. package/src/components/docker/exceptions/DockerImagePullException.cjs +4 -4
  91. package/src/components/docker/exceptions/DockerImagePullException.mjs +4 -4
  92. package/src/components/docker/exceptions/DockerImagePushException.cjs +4 -4
  93. package/src/components/docker/exceptions/DockerImagePushException.mjs +4 -4
  94. package/src/components/docker/exceptions/DockerImageRepoTagNotFoundException.cjs +4 -4
  95. package/src/components/docker/exceptions/DockerImageRepoTagNotFoundException.mjs +4 -4
  96. package/src/components/docker/exceptions/DockerNetworkNotFoundException.cjs +4 -4
  97. package/src/components/docker/exceptions/DockerNetworkNotFoundException.mjs +4 -4
  98. package/src/components/docker/interfaces/IDockerConnectionOptions.cjs +1 -1
  99. package/src/components/docker/interfaces/IDockerConnectionOptions.mjs +1 -1
  100. package/src/components/docker/interfaces/IDockerHttpConnectionOptions.cjs +1 -1
  101. package/src/components/docker/interfaces/IDockerHttpConnectionOptions.mjs +1 -1
  102. package/src/components/docker/interfaces/IDockerHttpsConnectionOptions.cjs +1 -1
  103. package/src/components/docker/interfaces/IDockerHttpsConnectionOptions.mjs +1 -1
  104. package/src/components/docker/interfaces/IDockerKeyObject.cjs +1 -1
  105. package/src/components/docker/interfaces/IDockerKeyObject.mjs +1 -1
  106. package/src/components/docker/interfaces/IDockerSSHConnectionOptions.cjs +1 -1
  107. package/src/components/docker/interfaces/IDockerSSHConnectionOptions.mjs +1 -1
  108. package/src/components/docker/interfaces/IDockerSocketConnectionOptions.cjs +1 -1
  109. package/src/components/docker/interfaces/IDockerSocketConnectionOptions.mjs +1 -1
  110. package/src/components/docker/lib/DockerContainer.cjs +72 -72
  111. package/src/components/docker/lib/DockerContainer.mjs +72 -72
  112. package/src/components/docker/lib/DockerContainerTTY.cjs +72 -72
  113. package/src/components/docker/lib/DockerContainerTTY.mjs +72 -72
  114. package/src/components/docker/lib/DockerImage.cjs +30 -30
  115. package/src/components/docker/lib/DockerImage.mjs +30 -30
  116. package/src/components/docker/lib/ParseEnvToRecord.cjs +1 -1
  117. package/src/components/docker/lib/ParseEnvToRecord.mjs +1 -1
  118. package/src/components/docker/lib/ParseRepositoryTag.cjs +1 -1
  119. package/src/components/docker/lib/ParseRepositoryTag.mjs +1 -1
  120. package/src/components/docker/options/DockerPruneOptions.cjs +17 -17
  121. package/src/components/docker/options/DockerPruneOptions.mjs +17 -17
  122. package/src/components/docker/options/auth/DockerAuthOptions.cjs +17 -17
  123. package/src/components/docker/options/auth/DockerAuthOptions.mjs +17 -17
  124. package/src/components/docker/options/container/ContainerCommitOptions.cjs +17 -17
  125. package/src/components/docker/options/container/ContainerCommitOptions.mjs +17 -17
  126. package/src/components/docker/options/container/ContainerCreateTTYOptions.cjs +17 -17
  127. package/src/components/docker/options/container/ContainerCreateTTYOptions.mjs +17 -17
  128. package/src/components/docker/options/container/ContainerExecOptions.cjs +17 -17
  129. package/src/components/docker/options/container/ContainerExecOptions.mjs +17 -17
  130. package/src/components/docker/options/container/ContainerExportDirectoryOptions.cjs +17 -17
  131. package/src/components/docker/options/container/ContainerExportDirectoryOptions.mjs +17 -17
  132. package/src/components/docker/options/container/ContainerKillOptions.cjs +17 -17
  133. package/src/components/docker/options/container/ContainerKillOptions.mjs +17 -17
  134. package/src/components/docker/options/container/ContainerLogsOptions.cjs +17 -17
  135. package/src/components/docker/options/container/ContainerLogsOptions.mjs +17 -17
  136. package/src/components/docker/options/container/ContainerRemoveOptions.cjs +17 -17
  137. package/src/components/docker/options/container/ContainerRemoveOptions.mjs +17 -17
  138. package/src/components/docker/options/container/ContainerSettingOptions.cjs +17 -17
  139. package/src/components/docker/options/container/ContainerSettingOptions.mjs +17 -17
  140. package/src/components/docker/options/container/ContainerStopOptions.cjs +17 -17
  141. package/src/components/docker/options/container/ContainerStopOptions.mjs +17 -17
  142. package/src/components/docker/options/container/ContainerTTYConsoleSizeOptions.cjs +17 -17
  143. package/src/components/docker/options/container/ContainerTTYConsoleSizeOptions.mjs +17 -17
  144. package/src/components/docker/options/image/ImageBuildOptions.cjs +17 -17
  145. package/src/components/docker/options/image/ImageBuildOptions.mjs +17 -17
  146. package/src/components/docker/options/image/ImageExportOptions.cjs +17 -17
  147. package/src/components/docker/options/image/ImageExportOptions.mjs +17 -17
  148. package/src/components/docker/options/image/ImageImportOptions.cjs +17 -17
  149. package/src/components/docker/options/image/ImageImportOptions.mjs +17 -17
  150. package/src/components/docker/options/image/ImagePullOptions.cjs +17 -17
  151. package/src/components/docker/options/image/ImagePullOptions.mjs +17 -17
  152. package/src/components/docker/options/image/ImagePushOptions.cjs +17 -17
  153. package/src/components/docker/options/image/ImagePushOptions.mjs +17 -17
  154. package/src/components/docker/options/image/ImageRemoveOptions.cjs +17 -17
  155. package/src/components/docker/options/image/ImageRemoveOptions.mjs +17 -17
  156. package/src/components/docker/options/image/ImageTagOptions.cjs +17 -17
  157. package/src/components/docker/options/image/ImageTagOptions.mjs +17 -17
  158. package/src/components/docker/options/network/NetworkCreateOptions.cjs +17 -17
  159. package/src/components/docker/options/network/NetworkCreateOptions.mjs +17 -17
  160. package/src/components/docker/types/ContainerBind.cjs +1 -1
  161. package/src/components/docker/types/ContainerBind.mjs +1 -1
  162. package/src/components/docker/types/ContainerCapability.cjs +1 -1
  163. package/src/components/docker/types/ContainerCapability.mjs +1 -1
  164. package/src/components/docker/types/ContainerConfig.cjs +1 -1
  165. package/src/components/docker/types/ContainerConfig.mjs +1 -1
  166. package/src/components/docker/types/ContainerDevice.cjs +1 -1
  167. package/src/components/docker/types/ContainerDevice.mjs +1 -1
  168. package/src/components/docker/types/ContainerNetwork.cjs +1 -1
  169. package/src/components/docker/types/ContainerNetwork.mjs +1 -1
  170. package/src/components/docker/types/ContainerPort.cjs +1 -1
  171. package/src/components/docker/types/ContainerPort.mjs +1 -1
  172. package/src/components/docker/types/ContainerRestartPolicy.cjs +1 -1
  173. package/src/components/docker/types/ContainerRestartPolicy.mjs +1 -1
  174. package/src/components/docker/types/ContainerState.cjs +1 -1
  175. package/src/components/docker/types/ContainerState.mjs +1 -1
  176. package/src/components/docker/types/ContainerStats.cjs +1 -1
  177. package/src/components/docker/types/ContainerStats.mjs +1 -1
  178. package/src/components/docker/types/DockerOutputCallback.cjs +1 -1
  179. package/src/components/docker/types/DockerOutputCallback.mjs +1 -1
  180. package/src/components/docker/types/ImageConfig.cjs +1 -1
  181. package/src/components/docker/types/ImageConfig.mjs +1 -1
  182. package/src/components/docker/types/ImageExposePort.cjs +1 -1
  183. package/src/components/docker/types/ImageExposePort.mjs +1 -1
  184. package/src/components/docker/types/NetworkInfo.cjs +1 -1
  185. package/src/components/docker/types/NetworkInfo.mjs +1 -1
  186. package/src/components/entrypoint/Entrypoint.cjs +44 -44
  187. package/src/components/entrypoint/Entrypoint.mjs +44 -44
  188. package/src/components/entrypoint/exceptions/AccessDenyException.cjs +4 -4
  189. package/src/components/entrypoint/exceptions/AccessDenyException.mjs +4 -4
  190. package/src/components/entrypoint/exceptions/ControllerActionNotFoundException.cjs +4 -4
  191. package/src/components/entrypoint/exceptions/ControllerActionNotFoundException.mjs +4 -4
  192. package/src/components/entrypoint/exceptions/DuplicateActionNameException.cjs +4 -4
  193. package/src/components/entrypoint/exceptions/DuplicateActionNameException.mjs +4 -4
  194. package/src/components/entrypoint/exceptions/InvalidActionGroupException.cjs +4 -4
  195. package/src/components/entrypoint/exceptions/InvalidActionGroupException.mjs +4 -4
  196. package/src/components/entrypoint/lib/AccessControl.cjs +30 -30
  197. package/src/components/entrypoint/lib/AccessControl.mjs +30 -30
  198. package/src/components/entrypoint/lib/AccessControlRule.cjs +30 -30
  199. package/src/components/entrypoint/lib/AccessControlRule.mjs +30 -30
  200. package/src/components/entrypoint/lib/Controller.cjs +30 -30
  201. package/src/components/entrypoint/lib/Controller.mjs +30 -30
  202. package/src/components/monitor/AliveMonitor.cjs +31 -31
  203. package/src/components/monitor/AliveMonitor.mjs +31 -31
  204. package/src/components/monitor/CpuMonitor.cjs +32 -32
  205. package/src/components/monitor/CpuMonitor.mjs +32 -32
  206. package/src/components/monitor/EventLoopMonitor.cjs +31 -31
  207. package/src/components/monitor/EventLoopMonitor.mjs +31 -31
  208. package/src/components/monitor/HttpRequestMonitor.cjs +32 -32
  209. package/src/components/monitor/HttpRequestMonitor.mjs +32 -32
  210. package/src/components/monitor/MemoryMonitor.cjs +32 -32
  211. package/src/components/monitor/MemoryMonitor.mjs +32 -32
  212. package/src/components/monitor/interfaces/ICpuMonitorStatistics.cjs +1 -1
  213. package/src/components/monitor/interfaces/ICpuMonitorStatistics.mjs +1 -1
  214. package/src/components/monitor/interfaces/IEventLoopMonitorStatistics.cjs +1 -1
  215. package/src/components/monitor/interfaces/IEventLoopMonitorStatistics.mjs +1 -1
  216. package/src/components/monitor/interfaces/IHttpRequestMonitorStatistics.cjs +1 -1
  217. package/src/components/monitor/interfaces/IHttpRequestMonitorStatistics.mjs +1 -1
  218. package/src/components/monitor/interfaces/IMemoryMonitorStatistics.cjs +1 -1
  219. package/src/components/monitor/interfaces/IMemoryMonitorStatistics.mjs +1 -1
  220. package/src/components/monitor/interfaces/IMonitor.cjs +1 -1
  221. package/src/components/monitor/interfaces/IMonitor.mjs +1 -1
  222. package/src/constants/DIMetadataKey.cjs +2 -2
  223. package/src/constants/DIMetadataKey.mjs +2 -2
  224. package/src/constants/DTOMetadataKey.cjs +2 -2
  225. package/src/constants/DTOMetadataKey.mjs +2 -2
  226. package/src/decorators/asst/After.cjs +4 -4
  227. package/src/decorators/asst/After.mjs +4 -4
  228. package/src/decorators/asst/Before.cjs +4 -4
  229. package/src/decorators/asst/Before.mjs +4 -4
  230. package/src/decorators/ctrl/CLIAction.cjs +22 -22
  231. package/src/decorators/ctrl/CLIAction.mjs +22 -22
  232. package/src/decorators/ctrl/HTTPAction.cjs +22 -22
  233. package/src/decorators/ctrl/HTTPAction.mjs +22 -22
  234. package/src/decorators/ctrl/ServiceAction.cjs +22 -22
  235. package/src/decorators/ctrl/ServiceAction.mjs +22 -22
  236. package/src/decorators/ctrl/http/DELETE.cjs +22 -22
  237. package/src/decorators/ctrl/http/DELETE.mjs +22 -22
  238. package/src/decorators/ctrl/http/GET.cjs +22 -22
  239. package/src/decorators/ctrl/http/GET.mjs +22 -22
  240. package/src/decorators/ctrl/http/HEAD.cjs +22 -22
  241. package/src/decorators/ctrl/http/HEAD.mjs +22 -22
  242. package/src/decorators/ctrl/http/OPTIONS.cjs +22 -22
  243. package/src/decorators/ctrl/http/OPTIONS.mjs +22 -22
  244. package/src/decorators/ctrl/http/PATCH.cjs +22 -22
  245. package/src/decorators/ctrl/http/PATCH.mjs +22 -22
  246. package/src/decorators/ctrl/http/POST.cjs +22 -22
  247. package/src/decorators/ctrl/http/POST.mjs +22 -22
  248. package/src/decorators/ctrl/http/PUT.cjs +22 -22
  249. package/src/decorators/ctrl/http/PUT.mjs +22 -22
  250. package/src/decorators/di/Autoload.cjs +2 -2
  251. package/src/decorators/di/Autoload.mjs +2 -2
  252. package/src/decorators/di/Configurable.cjs +17 -17
  253. package/src/decorators/di/Configurable.mjs +17 -17
  254. package/src/decorators/di/Inject.cjs +17 -17
  255. package/src/decorators/di/Inject.mjs +17 -17
  256. package/src/decorators/di/Lifetime.cjs +5 -5
  257. package/src/decorators/di/Lifetime.mjs +5 -5
  258. package/src/decorators/dto/Accept.cjs +17 -17
  259. package/src/decorators/dto/Accept.mjs +17 -17
  260. package/src/decorators/dto/Expect.cjs +17 -17
  261. package/src/decorators/dto/Expect.mjs +17 -17
  262. package/src/decorators/dto/IndexSignature.cjs +17 -17
  263. package/src/decorators/dto/IndexSignature.mjs +17 -17
  264. package/src/decorators/dto/Return.cjs +17 -17
  265. package/src/decorators/dto/Return.mjs +17 -17
  266. package/src/decorators/orm/AfterInsert.cjs +46 -46
  267. package/src/decorators/orm/AfterInsert.mjs +46 -46
  268. package/src/decorators/orm/AfterLoad.cjs +46 -46
  269. package/src/decorators/orm/AfterLoad.mjs +46 -46
  270. package/src/decorators/orm/AfterRecover.cjs +46 -46
  271. package/src/decorators/orm/AfterRecover.mjs +46 -46
  272. package/src/decorators/orm/AfterRemove.cjs +46 -46
  273. package/src/decorators/orm/AfterRemove.mjs +46 -46
  274. package/src/decorators/orm/AfterSoftRemove.cjs +46 -46
  275. package/src/decorators/orm/AfterSoftRemove.mjs +46 -46
  276. package/src/decorators/orm/AfterUpdate.cjs +46 -46
  277. package/src/decorators/orm/AfterUpdate.mjs +46 -46
  278. package/src/decorators/orm/BeforeInsert.cjs +46 -46
  279. package/src/decorators/orm/BeforeInsert.mjs +46 -46
  280. package/src/decorators/orm/BeforeRecover.cjs +46 -46
  281. package/src/decorators/orm/BeforeRecover.mjs +46 -46
  282. package/src/decorators/orm/BeforeRemove.cjs +46 -46
  283. package/src/decorators/orm/BeforeRemove.mjs +46 -46
  284. package/src/decorators/orm/BeforeSoftRemove.cjs +46 -46
  285. package/src/decorators/orm/BeforeSoftRemove.mjs +46 -46
  286. package/src/decorators/orm/BeforeUpdate.cjs +46 -46
  287. package/src/decorators/orm/BeforeUpdate.mjs +46 -46
  288. package/src/decorators/orm/Check.cjs +46 -46
  289. package/src/decorators/orm/Check.mjs +46 -46
  290. package/src/decorators/orm/ChildEntity.cjs +46 -46
  291. package/src/decorators/orm/ChildEntity.mjs +46 -46
  292. package/src/decorators/orm/Column.cjs +46 -46
  293. package/src/decorators/orm/Column.mjs +46 -46
  294. package/src/decorators/orm/CreateDateColumn.cjs +46 -46
  295. package/src/decorators/orm/CreateDateColumn.mjs +46 -46
  296. package/src/decorators/orm/DeleteDateColumn.cjs +46 -46
  297. package/src/decorators/orm/DeleteDateColumn.mjs +46 -46
  298. package/src/decorators/orm/Entity.cjs +46 -46
  299. package/src/decorators/orm/Entity.mjs +46 -46
  300. package/src/decorators/orm/EventSubscriber.cjs +46 -46
  301. package/src/decorators/orm/EventSubscriber.mjs +46 -46
  302. package/src/decorators/orm/Exclusion.cjs +46 -46
  303. package/src/decorators/orm/Exclusion.mjs +46 -46
  304. package/src/decorators/orm/Generated.cjs +46 -46
  305. package/src/decorators/orm/Generated.mjs +46 -46
  306. package/src/decorators/orm/Index.cjs +46 -46
  307. package/src/decorators/orm/Index.mjs +46 -46
  308. package/src/decorators/orm/JoinColumn.cjs +46 -46
  309. package/src/decorators/orm/JoinColumn.mjs +46 -46
  310. package/src/decorators/orm/JoinTable.cjs +46 -46
  311. package/src/decorators/orm/JoinTable.mjs +46 -46
  312. package/src/decorators/orm/ManyToMany.cjs +46 -46
  313. package/src/decorators/orm/ManyToMany.mjs +46 -46
  314. package/src/decorators/orm/ManyToOne.cjs +46 -46
  315. package/src/decorators/orm/ManyToOne.mjs +46 -46
  316. package/src/decorators/orm/ObjectIdColumn.cjs +46 -46
  317. package/src/decorators/orm/ObjectIdColumn.mjs +46 -46
  318. package/src/decorators/orm/OneToMany.cjs +46 -46
  319. package/src/decorators/orm/OneToMany.mjs +46 -46
  320. package/src/decorators/orm/OneToOne.cjs +46 -46
  321. package/src/decorators/orm/OneToOne.mjs +46 -46
  322. package/src/decorators/orm/PrimaryColumn.cjs +46 -46
  323. package/src/decorators/orm/PrimaryColumn.mjs +46 -46
  324. package/src/decorators/orm/PrimaryGeneratedColumn.cjs +46 -46
  325. package/src/decorators/orm/PrimaryGeneratedColumn.mjs +46 -46
  326. package/src/decorators/orm/RelationId.cjs +46 -46
  327. package/src/decorators/orm/RelationId.mjs +46 -46
  328. package/src/decorators/orm/TableInheritance.cjs +46 -46
  329. package/src/decorators/orm/TableInheritance.mjs +46 -46
  330. package/src/decorators/orm/Tree.cjs +46 -46
  331. package/src/decorators/orm/Tree.mjs +46 -46
  332. package/src/decorators/orm/TreeChildren.cjs +46 -46
  333. package/src/decorators/orm/TreeChildren.mjs +46 -46
  334. package/src/decorators/orm/TreeLevelColumn.cjs +46 -46
  335. package/src/decorators/orm/TreeLevelColumn.mjs +46 -46
  336. package/src/decorators/orm/TreeParent.cjs +46 -46
  337. package/src/decorators/orm/TreeParent.mjs +46 -46
  338. package/src/decorators/orm/Unique.cjs +46 -46
  339. package/src/decorators/orm/Unique.mjs +46 -46
  340. package/src/decorators/orm/UpdateDateColumn.cjs +46 -46
  341. package/src/decorators/orm/UpdateDateColumn.mjs +46 -46
  342. package/src/decorators/orm/VersionColumn.cjs +46 -46
  343. package/src/decorators/orm/VersionColumn.mjs +46 -46
  344. package/src/decorators/orm/ViewColumn.cjs +46 -46
  345. package/src/decorators/orm/ViewColumn.mjs +46 -46
  346. package/src/decorators/orm/ViewEntity.cjs +46 -46
  347. package/src/decorators/orm/ViewEntity.mjs +46 -46
  348. package/src/decorators/orm/VirtualColumn.cjs +46 -46
  349. package/src/decorators/orm/VirtualColumn.mjs +46 -46
  350. package/src/dto/PaginationResultDTO.cjs +17 -17
  351. package/src/dto/PaginationResultDTO.mjs +17 -17
  352. package/src/dto/PaginationSearchDTO.cjs +17 -17
  353. package/src/dto/PaginationSearchDTO.mjs +17 -17
  354. package/src/exceptions/DestroyRuntimeContainerException.cjs +4 -4
  355. package/src/exceptions/DestroyRuntimeContainerException.mjs +4 -4
  356. package/src/exceptions/InvalidActionPatternDepthException.cjs +4 -4
  357. package/src/exceptions/InvalidActionPatternDepthException.mjs +4 -4
  358. package/src/exceptions/InvalidAssistantFunctionTypeException.cjs +4 -4
  359. package/src/exceptions/InvalidAssistantFunctionTypeException.mjs +4 -4
  360. package/src/exceptions/InvalidObjectTypeException.cjs +4 -4
  361. package/src/exceptions/InvalidObjectTypeException.mjs +4 -4
  362. package/src/exceptions/MethodNotFoundException.cjs +4 -4
  363. package/src/exceptions/MethodNotFoundException.mjs +4 -4
  364. package/src/exceptions/alias/AliasExistsException.cjs +4 -4
  365. package/src/exceptions/alias/AliasExistsException.mjs +4 -4
  366. package/src/exceptions/alias/AliasNotFoundException.cjs +4 -4
  367. package/src/exceptions/alias/AliasNotFoundException.mjs +4 -4
  368. package/src/exceptions/alias/InvalidAliasNameException.cjs +4 -4
  369. package/src/exceptions/alias/InvalidAliasNameException.mjs +4 -4
  370. package/src/exceptions/di/DependencyInjectionException.cjs +4 -4
  371. package/src/exceptions/di/DependencyInjectionException.mjs +4 -4
  372. package/src/exceptions/di/LifetimeLockedException.cjs +4 -4
  373. package/src/exceptions/di/LifetimeLockedException.mjs +4 -4
  374. package/src/exceptions/di/OverridableObjectTargetConfigNotFoundException.cjs +4 -4
  375. package/src/exceptions/di/OverridableObjectTargetConfigNotFoundException.mjs +4 -4
  376. package/src/exceptions/dto/InvalidMethodAcceptException.cjs +4 -4
  377. package/src/exceptions/dto/InvalidMethodAcceptException.mjs +4 -4
  378. package/src/exceptions/dto/InvalidMethodReturnException.cjs +4 -4
  379. package/src/exceptions/dto/InvalidMethodReturnException.mjs +4 -4
  380. package/src/exceptions/dto/InvalidValueException.cjs +4 -4
  381. package/src/exceptions/dto/InvalidValueException.mjs +4 -4
  382. package/src/interfaces/IBaseObjectConstructor.cjs +1 -1
  383. package/src/interfaces/IBaseObjectConstructor.mjs +1 -1
  384. package/src/interfaces/IConstructor.cjs +1 -1
  385. package/src/interfaces/IConstructor.mjs +1 -1
  386. package/src/interfaces/IPatRun.cjs +1 -1
  387. package/src/interfaces/IPatRun.mjs +1 -1
  388. package/src/lib/base/BaseObject.cjs +30 -30
  389. package/src/lib/base/BaseObject.mjs +30 -30
  390. package/src/lib/base/Context.cjs +17 -17
  391. package/src/lib/base/Context.mjs +17 -17
  392. package/src/lib/base/EventEmitter.cjs +2 -2
  393. package/src/lib/base/EventEmitter.mjs +2 -2
  394. package/src/lib/base/abstracts/Exception.cjs +4 -4
  395. package/src/lib/base/abstracts/Exception.mjs +4 -4
  396. package/src/lib/base/async-constructor/Append.cjs +1 -1
  397. package/src/lib/base/async-constructor/Append.mjs +1 -1
  398. package/src/lib/base/async-constructor/AsyncConstructor.cjs +1 -1
  399. package/src/lib/base/async-constructor/AsyncConstructor.mjs +1 -1
  400. package/src/lib/base/internal/ActionOptions.cjs +17 -17
  401. package/src/lib/base/internal/ActionOptions.mjs +17 -17
  402. package/src/lib/base/internal/ApplicationConfigLoader.cjs +30 -30
  403. package/src/lib/base/internal/ApplicationConfigLoader.mjs +30 -30
  404. package/src/lib/base/internal/BasicInfo.cjs +4 -4
  405. package/src/lib/base/internal/BasicInfo.mjs +4 -4
  406. package/src/lib/base/internal/CamelCase.cjs +1 -1
  407. package/src/lib/base/internal/CamelCase.mjs +1 -1
  408. package/src/lib/base/internal/ConfigurableRecordsInjection.cjs +2 -2
  409. package/src/lib/base/internal/ConfigurableRecordsInjection.mjs +2 -2
  410. package/src/lib/base/internal/ConstructorSymbol.cjs +2 -2
  411. package/src/lib/base/internal/ConstructorSymbol.mjs +2 -2
  412. package/src/lib/base/internal/ControllerEntrypoint.cjs +9 -9
  413. package/src/lib/base/internal/ControllerEntrypoint.mjs +9 -9
  414. package/src/lib/base/internal/DataValidator.cjs +13 -13
  415. package/src/lib/base/internal/DataValidator.mjs +13 -13
  416. package/src/lib/base/internal/DatabaseSymbol.cjs +1 -1
  417. package/src/lib/base/internal/DatabaseSymbol.mjs +1 -1
  418. package/src/lib/base/internal/FlexibleDTO.cjs +17 -17
  419. package/src/lib/base/internal/FlexibleDTO.mjs +17 -17
  420. package/src/lib/base/internal/GetActionDTOAndOptions.cjs +17 -17
  421. package/src/lib/base/internal/GetActionDTOAndOptions.mjs +17 -17
  422. package/src/lib/base/internal/IEEE754.cjs +1 -1
  423. package/src/lib/base/internal/IEEE754.mjs +1 -1
  424. package/src/lib/base/internal/MethodAssistantFunction.cjs +4 -4
  425. package/src/lib/base/internal/MethodAssistantFunction.mjs +4 -4
  426. package/src/lib/base/internal/MethodValidation.cjs +17 -17
  427. package/src/lib/base/internal/MethodValidation.mjs +17 -17
  428. package/src/lib/base/internal/ModuleConfigLoader.cjs +30 -30
  429. package/src/lib/base/internal/ModuleConfigLoader.mjs +30 -30
  430. package/src/lib/base/internal/ObjectConfiguration.cjs +17 -17
  431. package/src/lib/base/internal/ObjectConfiguration.mjs +17 -17
  432. package/src/lib/base/internal/ObjectContainer.cjs +2 -2
  433. package/src/lib/base/internal/ObjectContainer.mjs +2 -2
  434. package/src/lib/base/internal/ObjectInjection.cjs +2 -2
  435. package/src/lib/base/internal/ObjectInjection.mjs +2 -2
  436. package/src/lib/base/internal/ObjectLifetime.cjs +5 -5
  437. package/src/lib/base/internal/ObjectLifetime.mjs +5 -5
  438. package/src/lib/base/internal/ObjectSchemaValidation.cjs +17 -17
  439. package/src/lib/base/internal/ObjectSchemaValidation.mjs +17 -17
  440. package/src/lib/base/internal/ObjectType.cjs +30 -30
  441. package/src/lib/base/internal/ObjectType.mjs +30 -30
  442. package/src/lib/base/internal/ObjectWeakRefs.cjs +1 -1
  443. package/src/lib/base/internal/ObjectWeakRefs.mjs +1 -1
  444. package/src/lib/base/internal/PatternManager.cjs +3 -3
  445. package/src/lib/base/internal/PatternManager.mjs +3 -3
  446. package/src/lib/base/internal/StringifyPattern.cjs +4 -4
  447. package/src/lib/base/internal/StringifyPattern.mjs +4 -4
  448. package/src/lib/base/internal/ThrowWarning.cjs +1 -1
  449. package/src/lib/base/internal/ThrowWarning.mjs +1 -1
  450. package/src/lib/context/CLIContext.cjs +17 -17
  451. package/src/lib/context/CLIContext.mjs +17 -17
  452. package/src/lib/context/HTTPContext.cjs +17 -17
  453. package/src/lib/context/HTTPContext.mjs +17 -17
  454. package/src/lib/context/ServiceContext.cjs +17 -17
  455. package/src/lib/context/ServiceContext.mjs +17 -17
  456. package/src/lib/core/Alias.cjs +4 -4
  457. package/src/lib/core/Alias.mjs +4 -4
  458. package/src/lib/core/Application.cjs +110 -110
  459. package/src/lib/core/Application.mjs +110 -110
  460. package/src/lib/core/Component.cjs +31 -31
  461. package/src/lib/core/Component.mjs +31 -31
  462. package/src/lib/core/Container.cjs +30 -30
  463. package/src/lib/core/Container.mjs +30 -30
  464. package/src/lib/core/DTO.cjs +17 -17
  465. package/src/lib/core/DTO.mjs +17 -17
  466. package/src/lib/core/Module.cjs +33 -33
  467. package/src/lib/core/Module.mjs +33 -33
  468. package/src/lib/core/Provider.cjs +30 -30
  469. package/src/lib/core/Provider.mjs +30 -30
  470. package/src/lib/core/Time.cjs +5 -5
  471. package/src/lib/core/Time.mjs +5 -5
  472. package/src/lib/helpers/ArrayToSet.cjs +1 -1
  473. package/src/lib/helpers/ArrayToSet.mjs +1 -1
  474. package/src/lib/helpers/As.cjs +1 -1
  475. package/src/lib/helpers/As.mjs +1 -1
  476. package/src/lib/helpers/ConvertArrayLikeToIterable.cjs +1 -1
  477. package/src/lib/helpers/ConvertArrayLikeToIterable.mjs +1 -1
  478. package/src/lib/helpers/ConvertArrayLikeToStream.cjs +1 -1
  479. package/src/lib/helpers/ConvertArrayLikeToStream.mjs +1 -1
  480. package/src/lib/helpers/Delay.cjs +1 -1
  481. package/src/lib/helpers/Delay.mjs +1 -1
  482. package/src/lib/helpers/DevNull.cjs +1 -1
  483. package/src/lib/helpers/DevNull.mjs +1 -1
  484. package/src/lib/helpers/GetObjectNestingDepth.cjs +1 -1
  485. package/src/lib/helpers/GetObjectNestingDepth.mjs +1 -1
  486. package/src/lib/helpers/GetObjectPropertyPaths.cjs +1 -1
  487. package/src/lib/helpers/GetObjectPropertyPaths.mjs +1 -1
  488. package/src/lib/helpers/Glob.cjs +4 -4
  489. package/src/lib/helpers/Glob.mjs +4 -4
  490. package/src/lib/helpers/GraceExit.cjs +1 -1
  491. package/src/lib/helpers/GraceExit.mjs +1 -1
  492. package/src/lib/helpers/HexToIEEE754.cjs +1 -1
  493. package/src/lib/helpers/HexToIEEE754.mjs +1 -1
  494. package/src/lib/helpers/HexToSigned.cjs +1 -1
  495. package/src/lib/helpers/HexToSigned.mjs +1 -1
  496. package/src/lib/helpers/HexToUnsigned.cjs +1 -1
  497. package/src/lib/helpers/HexToUnsigned.mjs +1 -1
  498. package/src/lib/helpers/IEEE754ToHex.cjs +1 -1
  499. package/src/lib/helpers/IEEE754ToHex.mjs +1 -1
  500. package/src/lib/helpers/IPToolkit.cjs +1 -1
  501. package/src/lib/helpers/IPToolkit.mjs +1 -1
  502. package/src/lib/helpers/IsAbortError.cjs +1 -1
  503. package/src/lib/helpers/IsAbortError.mjs +1 -1
  504. package/src/lib/helpers/IsEmptyObject.cjs +1 -1
  505. package/src/lib/helpers/IsEmptyObject.mjs +1 -1
  506. package/src/lib/helpers/IsExists.cjs +1 -1
  507. package/src/lib/helpers/IsExists.mjs +1 -1
  508. package/src/lib/helpers/IsGlobString.cjs +3 -3
  509. package/src/lib/helpers/IsGlobString.mjs +3 -3
  510. package/src/lib/helpers/IsHtml.cjs +2 -2
  511. package/src/lib/helpers/IsHtml.mjs +2 -2
  512. package/src/lib/helpers/IsNativeFunction.cjs +1 -1
  513. package/src/lib/helpers/IsNativeFunction.mjs +1 -1
  514. package/src/lib/helpers/IsPath.cjs +1 -1
  515. package/src/lib/helpers/IsPath.mjs +1 -1
  516. package/src/lib/helpers/IsPromise.cjs +1 -1
  517. package/src/lib/helpers/IsPromise.mjs +1 -1
  518. package/src/lib/helpers/IsPromiseLike.cjs +1 -1
  519. package/src/lib/helpers/IsPromiseLike.mjs +1 -1
  520. package/src/lib/helpers/IsSymbol.cjs +17 -17
  521. package/src/lib/helpers/IsSymbol.mjs +17 -17
  522. package/src/lib/helpers/IsXML.cjs +3 -3
  523. package/src/lib/helpers/IsXML.mjs +3 -3
  524. package/src/lib/helpers/MD5.cjs +3 -3
  525. package/src/lib/helpers/MD5.mjs +3 -3
  526. package/src/lib/helpers/MergeArray.cjs +1 -1
  527. package/src/lib/helpers/MergeArray.mjs +1 -1
  528. package/src/lib/helpers/MergeMap.cjs +1 -1
  529. package/src/lib/helpers/MergeMap.mjs +1 -1
  530. package/src/lib/helpers/MergeSet.cjs +1 -1
  531. package/src/lib/helpers/MergeSet.mjs +1 -1
  532. package/src/lib/helpers/NoCase.cjs +1 -1
  533. package/src/lib/helpers/NoCase.mjs +1 -1
  534. package/src/lib/helpers/NonceStr.cjs +3 -3
  535. package/src/lib/helpers/NonceStr.mjs +3 -3
  536. package/src/lib/helpers/ObjectConstructor.cjs +1 -1
  537. package/src/lib/helpers/ObjectConstructor.mjs +1 -1
  538. package/src/lib/helpers/ObjectHash.cjs +2 -2
  539. package/src/lib/helpers/ObjectHash.mjs +2 -2
  540. package/src/lib/helpers/ObjectParentConstructor.cjs +1 -1
  541. package/src/lib/helpers/ObjectParentConstructor.mjs +1 -1
  542. package/src/lib/helpers/ObjectParentConstructors.cjs +1 -1
  543. package/src/lib/helpers/ObjectParentConstructors.mjs +1 -1
  544. package/src/lib/helpers/ObjectPath.cjs +1 -1
  545. package/src/lib/helpers/ObjectPath.mjs +1 -1
  546. package/src/lib/helpers/ObjectPrototype.cjs +1 -1
  547. package/src/lib/helpers/ObjectPrototype.mjs +1 -1
  548. package/src/lib/helpers/ObjectToMap.cjs +1 -1
  549. package/src/lib/helpers/ObjectToMap.mjs +1 -1
  550. package/src/lib/helpers/Paginator.cjs +1 -1
  551. package/src/lib/helpers/Paginator.mjs +1 -1
  552. package/src/lib/helpers/RandomString.cjs +3 -3
  553. package/src/lib/helpers/RandomString.mjs +3 -3
  554. package/src/lib/helpers/SHA1.cjs +3 -3
  555. package/src/lib/helpers/SHA1.mjs +3 -3
  556. package/src/lib/helpers/SHA256.cjs +3 -3
  557. package/src/lib/helpers/SHA256.mjs +3 -3
  558. package/src/lib/helpers/SetToArray.cjs +1 -1
  559. package/src/lib/helpers/SetToArray.mjs +1 -1
  560. package/src/lib/helpers/SignedToHex.cjs +1 -1
  561. package/src/lib/helpers/SignedToHex.mjs +1 -1
  562. package/src/lib/helpers/SortArray.cjs +4 -4
  563. package/src/lib/helpers/SortArray.mjs +4 -4
  564. package/src/lib/helpers/SortKeys.cjs +1 -1
  565. package/src/lib/helpers/SortKeys.mjs +1 -1
  566. package/src/lib/helpers/SortObject.cjs +1 -1
  567. package/src/lib/helpers/SortObject.mjs +1 -1
  568. package/src/lib/helpers/Statistics.cjs +2 -2
  569. package/src/lib/helpers/Statistics.mjs +2 -2
  570. package/src/lib/helpers/Templating.cjs +1 -1
  571. package/src/lib/helpers/Templating.mjs +1 -1
  572. package/src/lib/helpers/URLBuilder.cjs +4 -4
  573. package/src/lib/helpers/URLBuilder.mjs +4 -4
  574. package/src/lib/helpers/UUID.cjs +2 -2
  575. package/src/lib/helpers/UUID.mjs +2 -2
  576. package/src/lib/helpers/UniqueArray.cjs +1 -1
  577. package/src/lib/helpers/UniqueArray.mjs +1 -1
  578. package/src/lib/helpers/UnsignedToHex.cjs +1 -1
  579. package/src/lib/helpers/UnsignedToHex.mjs +1 -1
  580. package/src/lib/ioc/DependencyInjectionContainer.cjs +30 -30
  581. package/src/lib/ioc/DependencyInjectionContainer.mjs +30 -30
  582. package/src/lib/ioc/Errors.cjs +17 -17
  583. package/src/lib/ioc/Errors.mjs +17 -17
  584. package/src/lib/ioc/FunctionTokenizer.cjs +1 -1
  585. package/src/lib/ioc/FunctionTokenizer.mjs +1 -1
  586. package/src/lib/ioc/InjectionMode.cjs +1 -1
  587. package/src/lib/ioc/InjectionMode.mjs +1 -1
  588. package/src/lib/ioc/Lifetime.cjs +1 -1
  589. package/src/lib/ioc/Lifetime.mjs +1 -1
  590. package/src/lib/ioc/ListModules.cjs +29 -29
  591. package/src/lib/ioc/ListModules.mjs +29 -29
  592. package/src/lib/ioc/LoadModules.cjs +17 -17
  593. package/src/lib/ioc/LoadModules.mjs +17 -17
  594. package/src/lib/ioc/ParamParser.cjs +1 -1
  595. package/src/lib/ioc/ParamParser.mjs +1 -1
  596. package/src/lib/ioc/Resolvers.cjs +17 -17
  597. package/src/lib/ioc/Resolvers.mjs +17 -17
  598. package/src/lib/ioc/Utils.cjs +17 -17
  599. package/src/lib/ioc/Utils.mjs +17 -17
  600. package/src/lib/validation/VLD.cjs +6 -6
  601. package/src/lib/validation/VLD.mjs +6 -6
  602. package/src/lib/validation/interfaces/AlternativesSchema.cjs +1 -1
  603. package/src/lib/validation/interfaces/AlternativesSchema.mjs +1 -1
  604. package/src/lib/validation/interfaces/AnySchema.cjs +1 -1
  605. package/src/lib/validation/interfaces/AnySchema.mjs +1 -1
  606. package/src/lib/validation/interfaces/ArraySchema.cjs +1 -1
  607. package/src/lib/validation/interfaces/ArraySchema.mjs +1 -1
  608. package/src/lib/validation/interfaces/Base64Options.cjs +1 -1
  609. package/src/lib/validation/interfaces/Base64Options.mjs +1 -1
  610. package/src/lib/validation/interfaces/BaseValidationOptions.cjs +1 -1
  611. package/src/lib/validation/interfaces/BaseValidationOptions.mjs +1 -1
  612. package/src/lib/validation/interfaces/BigIntSchema.cjs +1 -1
  613. package/src/lib/validation/interfaces/BigIntSchema.mjs +1 -1
  614. package/src/lib/validation/interfaces/BinarySchema.cjs +1 -1
  615. package/src/lib/validation/interfaces/BinarySchema.mjs +1 -1
  616. package/src/lib/validation/interfaces/BooleanSchema.cjs +1 -1
  617. package/src/lib/validation/interfaces/BooleanSchema.mjs +1 -1
  618. package/src/lib/validation/interfaces/CustomHelpers.cjs +1 -1
  619. package/src/lib/validation/interfaces/CustomHelpers.mjs +1 -1
  620. package/src/lib/validation/interfaces/DataUriOptions.cjs +1 -1
  621. package/src/lib/validation/interfaces/DataUriOptions.mjs +1 -1
  622. package/src/lib/validation/interfaces/DateSchema.cjs +1 -1
  623. package/src/lib/validation/interfaces/DateSchema.mjs +1 -1
  624. package/src/lib/validation/interfaces/DependencyOptions.cjs +1 -1
  625. package/src/lib/validation/interfaces/DependencyOptions.mjs +1 -1
  626. package/src/lib/validation/interfaces/DomainOptions.cjs +1 -1
  627. package/src/lib/validation/interfaces/DomainOptions.mjs +1 -1
  628. package/src/lib/validation/interfaces/EmailOptions.cjs +1 -1
  629. package/src/lib/validation/interfaces/EmailOptions.mjs +1 -1
  630. package/src/lib/validation/interfaces/ErrorFormattingOptions.cjs +1 -1
  631. package/src/lib/validation/interfaces/ErrorFormattingOptions.mjs +1 -1
  632. package/src/lib/validation/interfaces/ErrorReport.cjs +1 -1
  633. package/src/lib/validation/interfaces/ErrorReport.mjs +1 -1
  634. package/src/lib/validation/interfaces/ErrorValidationOptions.cjs +1 -1
  635. package/src/lib/validation/interfaces/ErrorValidationOptions.mjs +1 -1
  636. package/src/lib/validation/interfaces/ExtensionFlag.cjs +1 -1
  637. package/src/lib/validation/interfaces/ExtensionFlag.mjs +1 -1
  638. package/src/lib/validation/interfaces/ExternalHelpers.cjs +1 -1
  639. package/src/lib/validation/interfaces/ExternalHelpers.mjs +1 -1
  640. package/src/lib/validation/interfaces/FunctionSchema.cjs +1 -1
  641. package/src/lib/validation/interfaces/FunctionSchema.mjs +1 -1
  642. package/src/lib/validation/interfaces/GuidOptions.cjs +1 -1
  643. package/src/lib/validation/interfaces/GuidOptions.mjs +1 -1
  644. package/src/lib/validation/interfaces/HexOptions.cjs +1 -1
  645. package/src/lib/validation/interfaces/HexOptions.mjs +1 -1
  646. package/src/lib/validation/interfaces/HierarchySeparatorOptions.cjs +1 -1
  647. package/src/lib/validation/interfaces/HierarchySeparatorOptions.mjs +1 -1
  648. package/src/lib/validation/interfaces/IpOptions.cjs +1 -1
  649. package/src/lib/validation/interfaces/IpOptions.mjs +1 -1
  650. package/src/lib/validation/interfaces/LanguageMessageTemplate.cjs +1 -1
  651. package/src/lib/validation/interfaces/LanguageMessageTemplate.mjs +1 -1
  652. package/src/lib/validation/interfaces/LinkSchema.cjs +1 -1
  653. package/src/lib/validation/interfaces/LinkSchema.mjs +1 -1
  654. package/src/lib/validation/interfaces/NumberSchema.cjs +1 -1
  655. package/src/lib/validation/interfaces/NumberSchema.mjs +1 -1
  656. package/src/lib/validation/interfaces/ObjectPatternOptions.cjs +1 -1
  657. package/src/lib/validation/interfaces/ObjectPatternOptions.mjs +1 -1
  658. package/src/lib/validation/interfaces/ObjectSchema.cjs +1 -1
  659. package/src/lib/validation/interfaces/ObjectSchema.mjs +1 -1
  660. package/src/lib/validation/interfaces/Reference.cjs +1 -1
  661. package/src/lib/validation/interfaces/Reference.mjs +1 -1
  662. package/src/lib/validation/interfaces/ReferenceOptions.cjs +1 -1
  663. package/src/lib/validation/interfaces/ReferenceOptions.mjs +1 -1
  664. package/src/lib/validation/interfaces/RenameOptions.cjs +1 -1
  665. package/src/lib/validation/interfaces/RenameOptions.mjs +1 -1
  666. package/src/lib/validation/interfaces/State.cjs +1 -1
  667. package/src/lib/validation/interfaces/State.mjs +1 -1
  668. package/src/lib/validation/interfaces/StringRegexOptions.cjs +1 -1
  669. package/src/lib/validation/interfaces/StringRegexOptions.mjs +1 -1
  670. package/src/lib/validation/interfaces/StringSchema.cjs +1 -1
  671. package/src/lib/validation/interfaces/StringSchema.mjs +1 -1
  672. package/src/lib/validation/interfaces/SwitchCases.cjs +1 -1
  673. package/src/lib/validation/interfaces/SwitchCases.mjs +1 -1
  674. package/src/lib/validation/interfaces/SwitchDefault.cjs +1 -1
  675. package/src/lib/validation/interfaces/SwitchDefault.mjs +1 -1
  676. package/src/lib/validation/interfaces/SymbolSchema.cjs +1 -1
  677. package/src/lib/validation/interfaces/SymbolSchema.mjs +1 -1
  678. package/src/lib/validation/interfaces/TopLevelDomainOptions.cjs +1 -1
  679. package/src/lib/validation/interfaces/TopLevelDomainOptions.mjs +1 -1
  680. package/src/lib/validation/interfaces/UriOptions.cjs +1 -1
  681. package/src/lib/validation/interfaces/UriOptions.mjs +1 -1
  682. package/src/lib/validation/interfaces/ValidationOptions.cjs +1 -1
  683. package/src/lib/validation/interfaces/ValidationOptions.mjs +1 -1
  684. package/src/lib/validation/interfaces/WhenOptions.cjs +1 -1
  685. package/src/lib/validation/interfaces/WhenOptions.mjs +1 -1
  686. package/src/lib/validation/interfaces/WhenSchemaOptions.cjs +1 -1
  687. package/src/lib/validation/interfaces/WhenSchemaOptions.mjs +1 -1
  688. package/src/lib/validation/types/CustomValidator.cjs +1 -1
  689. package/src/lib/validation/types/CustomValidator.mjs +1 -1
  690. package/src/lib/validation/types/ExtensionBoundSchema.cjs +1 -1
  691. package/src/lib/validation/types/ExtensionBoundSchema.mjs +1 -1
  692. package/src/lib/validation/types/ExternalValidationFunction.cjs +1 -1
  693. package/src/lib/validation/types/ExternalValidationFunction.mjs +1 -1
  694. package/src/lib/validation/types/IsNonPrimitiveSubsetUnion.cjs +1 -1
  695. package/src/lib/validation/types/IsNonPrimitiveSubsetUnion.mjs +1 -1
  696. package/src/lib/validation/types/IsPrimitiveSubset.cjs +1 -1
  697. package/src/lib/validation/types/IsPrimitiveSubset.mjs +1 -1
  698. package/src/lib/validation/types/IsUnion.cjs +1 -1
  699. package/src/lib/validation/types/IsUnion.mjs +1 -1
  700. package/src/lib/validation/types/LanguageMessages.cjs +1 -1
  701. package/src/lib/validation/types/LanguageMessages.mjs +1 -1
  702. package/src/lib/validation/types/NoNestedArrays.cjs +1 -1
  703. package/src/lib/validation/types/NoNestedArrays.mjs +1 -1
  704. package/src/lib/validation/types/NullableType.cjs +1 -1
  705. package/src/lib/validation/types/NullableType.mjs +1 -1
  706. package/src/lib/validation/types/ObjectPropertiesSchema.cjs +1 -1
  707. package/src/lib/validation/types/ObjectPropertiesSchema.mjs +1 -1
  708. package/src/lib/validation/types/PartialSchemaMap.cjs +1 -1
  709. package/src/lib/validation/types/PartialSchemaMap.mjs +1 -1
  710. package/src/lib/validation/types/PresenceMode.cjs +1 -1
  711. package/src/lib/validation/types/PresenceMode.mjs +1 -1
  712. package/src/lib/validation/types/Primitives.cjs +1 -1
  713. package/src/lib/validation/types/Primitives.mjs +1 -1
  714. package/src/lib/validation/types/Schema.cjs +1 -1
  715. package/src/lib/validation/types/Schema.mjs +1 -1
  716. package/src/lib/validation/types/SchemaFunction.cjs +1 -1
  717. package/src/lib/validation/types/SchemaFunction.mjs +1 -1
  718. package/src/lib/validation/types/SchemaLike.cjs +1 -1
  719. package/src/lib/validation/types/SchemaLike.mjs +1 -1
  720. package/src/lib/validation/types/SchemaLikeWithoutArray.cjs +1 -1
  721. package/src/lib/validation/types/SchemaLikeWithoutArray.mjs +1 -1
  722. package/src/lib/validation/types/SchemaMap.cjs +1 -1
  723. package/src/lib/validation/types/SchemaMap.mjs +1 -1
  724. package/src/lib/validation/types/StrictSchemaMap.cjs +1 -1
  725. package/src/lib/validation/types/StrictSchemaMap.mjs +1 -1
  726. package/src/lib/validation/types/Types.cjs +1 -1
  727. package/src/lib/validation/types/Types.mjs +1 -1
  728. package/src/lib/validation/types/UnwrapSchemaLikeWithoutArray.cjs +1 -1
  729. package/src/lib/validation/types/UnwrapSchemaLikeWithoutArray.mjs +1 -1
  730. package/src/options/ApplicationOptions.cjs +30 -30
  731. package/src/options/ApplicationOptions.mjs +30 -30
  732. package/src/options/LoadAnonymousObjectOptions.cjs +30 -30
  733. package/src/options/LoadAnonymousObjectOptions.mjs +30 -30
  734. package/src/options/LoadNamedObjectOptions.cjs +30 -30
  735. package/src/options/LoadNamedObjectOptions.mjs +30 -30
  736. package/src/options/LoadObjectOptions.cjs +30 -30
  737. package/src/options/LoadObjectOptions.mjs +30 -30
  738. package/src/options/ModuleLoadObjectsOptions.cjs +30 -30
  739. package/src/options/ModuleLoadObjectsOptions.mjs +30 -30
  740. package/src/options/ModuleOptions.cjs +30 -30
  741. package/src/options/ModuleOptions.mjs +30 -30
  742. package/src/options/OverridableNamedObjectOptions.cjs +30 -30
  743. package/src/options/OverridableNamedObjectOptions.mjs +30 -30
  744. package/src/options/OverridableObjectOptions.cjs +30 -30
  745. package/src/options/OverridableObjectOptions.mjs +30 -30
  746. package/src/providers/Database.cjs +73 -73
  747. package/src/providers/Database.mjs +73 -73
  748. package/src/providers/PasswordHash.cjs +31 -31
  749. package/src/providers/PasswordHash.mjs +31 -31
  750. package/src/providers/migration/GenerateMigration.cjs +110 -110
  751. package/src/providers/migration/GenerateMigration.mjs +110 -110
  752. package/src/types/ActionPattern.cjs +1 -1
  753. package/src/types/ActionPattern.mjs +1 -1
  754. package/src/types/ClassDecorator.cjs +1 -1
  755. package/src/types/ClassDecorator.mjs +1 -1
  756. package/src/types/ComponentOptions.cjs +1 -1
  757. package/src/types/ComponentOptions.mjs +1 -1
  758. package/src/types/JSONSchema.cjs +1 -1
  759. package/src/types/JSONSchema.mjs +1 -1
  760. package/src/types/MethodDecorator.cjs +1 -1
  761. package/src/types/MethodDecorator.mjs +1 -1
  762. package/src/types/ModuleOptions.cjs +1 -1
  763. package/src/types/ModuleOptions.mjs +1 -1
  764. package/src/types/ObjectOptions.cjs +1 -1
  765. package/src/types/ObjectOptions.mjs +1 -1
  766. package/src/types/ParameterDecorator.cjs +1 -1
  767. package/src/types/ParameterDecorator.mjs +1 -1
  768. package/src/types/PropertyDecorator.cjs +1 -1
  769. package/src/types/PropertyDecorator.mjs +1 -1
  770. package/src/types/ProviderOptions.cjs +1 -1
  771. package/src/types/ProviderOptions.mjs +1 -1
  772. package/vendor/Package.internal.1.cjs +1 -1
  773. package/vendor/Package.internal.1.mjs +1 -1
  774. package/vendor/Package.internal.10.cjs +1 -1
  775. package/vendor/Package.internal.10.mjs +1 -1
  776. package/vendor/Package.internal.100.cjs +67 -2
  777. package/vendor/Package.internal.100.mjs +67 -2
  778. package/vendor/Package.internal.101.cjs +113 -102
  779. package/vendor/Package.internal.101.mjs +116 -93
  780. package/vendor/Package.internal.102.cjs +9 -81
  781. package/vendor/Package.internal.102.mjs +5 -81
  782. package/vendor/Package.internal.103.cjs +2 -56
  783. package/vendor/Package.internal.103.mjs +2 -52
  784. package/vendor/Package.internal.104.cjs +2 -18
  785. package/vendor/Package.internal.104.mjs +2 -18
  786. package/vendor/Package.internal.105.cjs +103 -87
  787. package/vendor/Package.internal.105.mjs +90 -88
  788. package/vendor/Package.internal.106.cjs +72 -97
  789. package/vendor/Package.internal.106.mjs +70 -99
  790. package/vendor/Package.internal.107.cjs +38 -2156
  791. package/vendor/Package.internal.107.mjs +37 -2159
  792. package/vendor/Package.internal.108.cjs +13 -2459
  793. package/vendor/Package.internal.108.mjs +13 -2429
  794. package/vendor/Package.internal.109.cjs +70 -1280
  795. package/vendor/Package.internal.109.mjs +73 -1269
  796. package/vendor/Package.internal.11.cjs +271 -372
  797. package/vendor/Package.internal.11.mjs +268 -367
  798. package/vendor/Package.internal.110.cjs +108 -28
  799. package/vendor/Package.internal.110.mjs +109 -27
  800. package/vendor/Package.internal.111.cjs +2169 -13
  801. package/vendor/Package.internal.111.mjs +2169 -13
  802. package/vendor/Package.internal.112.cjs +2456 -11
  803. package/vendor/Package.internal.112.mjs +2425 -12
  804. package/vendor/Package.internal.113.cjs +1289 -35
  805. package/vendor/Package.internal.113.mjs +1277 -37
  806. package/vendor/Package.internal.114.cjs +23 -131
  807. package/vendor/Package.internal.114.mjs +26 -136
  808. package/vendor/Package.internal.115.cjs +19 -1
  809. package/vendor/Package.internal.115.mjs +18 -1
  810. package/vendor/Package.internal.116.cjs +18 -3
  811. package/vendor/Package.internal.116.mjs +20 -3
  812. package/vendor/Package.internal.117.cjs +50 -2
  813. package/vendor/Package.internal.117.mjs +52 -2
  814. package/vendor/Package.internal.118.cjs +139 -2
  815. package/vendor/Package.internal.118.mjs +141 -2
  816. package/vendor/Package.internal.119.cjs +1 -3
  817. package/vendor/Package.internal.119.mjs +1 -2
  818. package/vendor/Package.internal.12.cjs +12469 -270
  819. package/vendor/Package.internal.12.mjs +12452 -271
  820. package/vendor/Package.internal.120.cjs +3 -46
  821. package/vendor/Package.internal.120.mjs +3 -46
  822. package/vendor/Package.internal.121.cjs +2 -12
  823. package/vendor/Package.internal.121.mjs +2 -14
  824. package/vendor/Package.internal.122.cjs +2 -10
  825. package/vendor/Package.internal.122.mjs +2 -12
  826. package/vendor/Package.internal.123.cjs +2 -18
  827. package/vendor/Package.internal.123.mjs +2 -18
  828. package/vendor/Package.internal.124.cjs +35 -104
  829. package/vendor/Package.internal.124.mjs +35 -104
  830. package/vendor/Package.internal.125.cjs +12 -16
  831. package/vendor/Package.internal.125.mjs +13 -15
  832. package/vendor/Package.internal.126.cjs +10 -17
  833. package/vendor/Package.internal.126.mjs +12 -17
  834. package/vendor/Package.internal.127.cjs +12 -8868
  835. package/vendor/Package.internal.127.mjs +12 -8868
  836. package/vendor/Package.internal.128.cjs +88 -869
  837. package/vendor/Package.internal.128.mjs +98 -879
  838. package/vendor/Package.internal.129.cjs +10 -6761
  839. package/vendor/Package.internal.129.mjs +10 -6769
  840. package/vendor/Package.internal.13.cjs +267 -701
  841. package/vendor/Package.internal.13.mjs +269 -703
  842. package/vendor/Package.internal.130.cjs +12 -466
  843. package/vendor/Package.internal.130.mjs +12 -454
  844. package/vendor/Package.internal.131.cjs +8819 -560
  845. package/vendor/Package.internal.131.mjs +8821 -558
  846. package/vendor/Package.internal.132.cjs +878 -76
  847. package/vendor/Package.internal.132.mjs +881 -73
  848. package/vendor/Package.internal.133.cjs +6767 -2
  849. package/vendor/Package.internal.133.mjs +6775 -2
  850. package/vendor/Package.internal.134.cjs +446 -3726
  851. package/vendor/Package.internal.134.mjs +440 -3732
  852. package/vendor/Package.internal.135.cjs +577 -521
  853. package/vendor/Package.internal.135.mjs +573 -521
  854. package/vendor/Package.internal.136.cjs +95 -2
  855. package/vendor/Package.internal.136.mjs +89 -2
  856. package/vendor/Package.internal.137.cjs +2 -2
  857. package/vendor/Package.internal.137.mjs +2 -2
  858. package/vendor/Package.internal.138.cjs +3751 -2
  859. package/vendor/Package.internal.138.mjs +3751 -2
  860. package/vendor/Package.internal.139.cjs +559 -2
  861. package/vendor/Package.internal.139.mjs +559 -2
  862. package/vendor/Package.internal.14.cjs +710 -905
  863. package/vendor/Package.internal.14.mjs +711 -894
  864. package/vendor/Package.internal.140.cjs +2 -2
  865. package/vendor/Package.internal.140.mjs +2 -2
  866. package/vendor/Package.internal.141.cjs +2 -2
  867. package/vendor/Package.internal.141.mjs +2 -2
  868. package/vendor/Package.internal.142.cjs +2 -2
  869. package/vendor/Package.internal.142.mjs +2 -2
  870. package/vendor/Package.internal.143.cjs +2 -2
  871. package/vendor/Package.internal.143.mjs +2 -2
  872. package/vendor/Package.internal.144.cjs +2 -2
  873. package/vendor/Package.internal.144.mjs +2 -2
  874. package/vendor/Package.internal.145.cjs +2 -2
  875. package/vendor/Package.internal.145.mjs +2 -2
  876. package/vendor/Package.internal.146.cjs +2 -2
  877. package/vendor/Package.internal.146.mjs +2 -2
  878. package/vendor/Package.internal.147.cjs +2 -406
  879. package/vendor/Package.internal.147.mjs +2 -400
  880. package/vendor/Package.internal.148.cjs +2 -102
  881. package/vendor/Package.internal.148.mjs +2 -104
  882. package/vendor/Package.internal.149.cjs +2 -25
  883. package/vendor/Package.internal.149.mjs +2 -27
  884. package/vendor/Package.internal.15.cjs +70 -40
  885. package/vendor/Package.internal.15.mjs +72 -44
  886. package/vendor/Package.internal.150.cjs +2 -2
  887. package/vendor/Package.internal.150.mjs +2 -2
  888. package/vendor/Package.internal.151.cjs +406 -2
  889. package/vendor/Package.internal.151.mjs +400 -2
  890. package/vendor/Package.internal.152.cjs +78 -697
  891. package/vendor/Package.internal.152.mjs +79 -698
  892. package/vendor/Package.internal.153.cjs +19 -1540
  893. package/vendor/Package.internal.153.mjs +21 -1534
  894. package/vendor/Package.internal.154.cjs +2 -362
  895. package/vendor/Package.internal.154.mjs +2 -364
  896. package/vendor/Package.internal.155.cjs +2 -105
  897. package/vendor/Package.internal.155.mjs +2 -107
  898. package/vendor/Package.internal.156.cjs +680 -593
  899. package/vendor/Package.internal.156.mjs +683 -582
  900. package/vendor/Package.internal.157.cjs +1444 -439
  901. package/vendor/Package.internal.157.mjs +1439 -432
  902. package/vendor/Package.internal.158.cjs +325 -566
  903. package/vendor/Package.internal.158.mjs +326 -567
  904. package/vendor/Package.internal.159.cjs +94 -126
  905. package/vendor/Package.internal.159.mjs +95 -119
  906. package/vendor/Package.internal.16.cjs +950 -232
  907. package/vendor/Package.internal.16.mjs +942 -236
  908. package/vendor/Package.internal.160.cjs +602 -85
  909. package/vendor/Package.internal.160.mjs +594 -83
  910. package/vendor/Package.internal.161.cjs +459 -1140
  911. package/vendor/Package.internal.161.mjs +460 -1141
  912. package/vendor/Package.internal.162.cjs +588 -73
  913. package/vendor/Package.internal.162.mjs +588 -81
  914. package/vendor/Package.internal.163.cjs +137 -2
  915. package/vendor/Package.internal.163.mjs +131 -2
  916. package/vendor/Package.internal.164.cjs +117 -2
  917. package/vendor/Package.internal.164.mjs +111 -2
  918. package/vendor/Package.internal.165.cjs +1204 -35
  919. package/vendor/Package.internal.165.mjs +1195 -36
  920. package/vendor/Package.internal.166.cjs +86 -6
  921. package/vendor/Package.internal.166.mjs +95 -7
  922. package/vendor/Package.internal.167.cjs +2 -10
  923. package/vendor/Package.internal.167.mjs +2 -6
  924. package/vendor/Package.internal.168.cjs +2 -163
  925. package/vendor/Package.internal.168.mjs +2 -163
  926. package/vendor/Package.internal.169.cjs +46 -14
  927. package/vendor/Package.internal.169.mjs +49 -9
  928. package/vendor/Package.internal.17.cjs +41 -429
  929. package/vendor/Package.internal.17.mjs +42 -430
  930. package/vendor/Package.internal.170.cjs +6 -247
  931. package/vendor/Package.internal.170.mjs +7 -246
  932. package/vendor/Package.internal.171.cjs +7 -944
  933. package/vendor/Package.internal.171.mjs +4 -945
  934. package/vendor/Package.internal.172.cjs +157 -19
  935. package/vendor/Package.internal.172.mjs +160 -24
  936. package/vendor/Package.internal.173.cjs +10 -67
  937. package/vendor/Package.internal.173.mjs +10 -67
  938. package/vendor/Package.internal.174.cjs +229 -633
  939. package/vendor/Package.internal.174.mjs +227 -631
  940. package/vendor/Package.internal.175.cjs +927 -55
  941. package/vendor/Package.internal.175.mjs +926 -54
  942. package/vendor/Package.internal.176.cjs +19 -1133
  943. package/vendor/Package.internal.176.mjs +25 -1031
  944. package/vendor/Package.internal.177.cjs +69 -59
  945. package/vendor/Package.internal.177.mjs +63 -59
  946. package/vendor/Package.internal.178.cjs +624 -81
  947. package/vendor/Package.internal.178.mjs +624 -81
  948. package/vendor/Package.internal.179.cjs +60 -85
  949. package/vendor/Package.internal.179.mjs +60 -85
  950. package/vendor/Package.internal.18.cjs +233 -528
  951. package/vendor/Package.internal.18.mjs +234 -523
  952. package/vendor/Package.internal.180.cjs +940 -45249
  953. package/vendor/Package.internal.180.mjs +869 -45268
  954. package/vendor/Package.internal.181.cjs +66 -4
  955. package/vendor/Package.internal.181.mjs +66 -4
  956. package/vendor/Package.internal.182.cjs +103 -21
  957. package/vendor/Package.internal.182.mjs +103 -21
  958. package/vendor/Package.internal.183.cjs +84 -299
  959. package/vendor/Package.internal.183.mjs +84 -299
  960. package/vendor/Package.internal.184.cjs +45316 -809
  961. package/vendor/Package.internal.184.mjs +45270 -789
  962. package/vendor/Package.internal.185.cjs +4 -1086
  963. package/vendor/Package.internal.185.mjs +4 -1088
  964. package/vendor/Package.internal.186.cjs +21 -156
  965. package/vendor/Package.internal.186.mjs +20 -157
  966. package/vendor/Package.internal.187.cjs +310 -8
  967. package/vendor/Package.internal.187.mjs +310 -8
  968. package/vendor/Package.internal.188.cjs +936 -7
  969. package/vendor/Package.internal.188.mjs +947 -8
  970. package/vendor/Package.internal.189.cjs +1072 -31
  971. package/vendor/Package.internal.189.mjs +1074 -31
  972. package/vendor/Package.internal.19.cjs +427 -217
  973. package/vendor/Package.internal.19.mjs +433 -223
  974. package/vendor/Package.internal.190.cjs +134 -462
  975. package/vendor/Package.internal.190.mjs +135 -441
  976. package/vendor/Package.internal.191.cjs +13 -2
  977. package/vendor/Package.internal.191.mjs +13 -2
  978. package/vendor/Package.internal.192.cjs +12 -2
  979. package/vendor/Package.internal.192.mjs +12 -2
  980. package/vendor/Package.internal.193.cjs +47 -2
  981. package/vendor/Package.internal.193.mjs +47 -2
  982. package/vendor/Package.internal.194.cjs +491 -2
  983. package/vendor/Package.internal.194.mjs +471 -2
  984. package/vendor/Package.internal.195.cjs +2 -2
  985. package/vendor/Package.internal.195.mjs +2 -2
  986. package/vendor/Package.internal.196.cjs +2 -2
  987. package/vendor/Package.internal.196.mjs +2 -2
  988. package/vendor/Package.internal.197.cjs +2 -2
  989. package/vendor/Package.internal.197.mjs +2 -2
  990. package/vendor/Package.internal.198.cjs +2 -2
  991. package/vendor/Package.internal.198.mjs +2 -2
  992. package/vendor/Package.internal.199.cjs +4 -0
  993. package/vendor/Package.internal.199.mjs +2 -0
  994. package/vendor/Package.internal.2.cjs +1 -1
  995. package/vendor/Package.internal.2.mjs +1 -1
  996. package/vendor/Package.internal.20.cjs +525 -957
  997. package/vendor/Package.internal.20.mjs +521 -959
  998. package/vendor/Package.internal.200.cjs +4 -0
  999. package/vendor/Package.internal.200.mjs +2 -0
  1000. package/vendor/Package.internal.201.cjs +4 -0
  1001. package/vendor/Package.internal.201.mjs +2 -0
  1002. package/vendor/Package.internal.202.cjs +4 -0
  1003. package/vendor/Package.internal.202.mjs +2 -0
  1004. package/vendor/Package.internal.21.cjs +406 -8
  1005. package/vendor/Package.internal.21.mjs +408 -8
  1006. package/vendor/Package.internal.22.cjs +913 -123
  1007. package/vendor/Package.internal.22.mjs +909 -123
  1008. package/vendor/Package.internal.23.cjs +214 -136
  1009. package/vendor/Package.internal.23.mjs +215 -135
  1010. package/vendor/Package.internal.24.cjs +996 -5
  1011. package/vendor/Package.internal.24.mjs +998 -5
  1012. package/vendor/Package.internal.25.cjs +8 -20
  1013. package/vendor/Package.internal.25.mjs +7 -19
  1014. package/vendor/Package.internal.26.cjs +120 -473
  1015. package/vendor/Package.internal.26.mjs +120 -469
  1016. package/vendor/Package.internal.27.cjs +127 -60
  1017. package/vendor/Package.internal.27.mjs +128 -57
  1018. package/vendor/Package.internal.28.cjs +6 -2
  1019. package/vendor/Package.internal.28.mjs +6 -2
  1020. package/vendor/Package.internal.29.cjs +16 -35
  1021. package/vendor/Package.internal.29.mjs +16 -35
  1022. package/vendor/Package.internal.3.cjs +1 -1
  1023. package/vendor/Package.internal.3.mjs +1 -1
  1024. package/vendor/Package.internal.30.cjs +473 -21
  1025. package/vendor/Package.internal.30.mjs +472 -24
  1026. package/vendor/Package.internal.31.cjs +77 -9
  1027. package/vendor/Package.internal.31.mjs +73 -9
  1028. package/vendor/Package.internal.32.cjs +2 -189
  1029. package/vendor/Package.internal.32.mjs +2 -191
  1030. package/vendor/Package.internal.33.cjs +31 -53
  1031. package/vendor/Package.internal.33.mjs +32 -54
  1032. package/vendor/Package.internal.34.cjs +20 -160
  1033. package/vendor/Package.internal.34.mjs +24 -166
  1034. package/vendor/Package.internal.35.cjs +10 -2072
  1035. package/vendor/Package.internal.35.mjs +10 -2068
  1036. package/vendor/Package.internal.36.cjs +186 -517
  1037. package/vendor/Package.internal.36.mjs +189 -512
  1038. package/vendor/Package.internal.37.cjs +57 -413
  1039. package/vendor/Package.internal.37.mjs +57 -409
  1040. package/vendor/Package.internal.38.cjs +132 -2329
  1041. package/vendor/Package.internal.38.mjs +133 -2318
  1042. package/vendor/Package.internal.39.cjs +2063 -50
  1043. package/vendor/Package.internal.39.mjs +2058 -57
  1044. package/vendor/Package.internal.4.cjs +1 -1
  1045. package/vendor/Package.internal.4.mjs +1 -1
  1046. package/vendor/Package.internal.40.cjs +507 -137
  1047. package/vendor/Package.internal.40.mjs +504 -140
  1048. package/vendor/Package.internal.41.cjs +355 -573
  1049. package/vendor/Package.internal.41.mjs +353 -577
  1050. package/vendor/Package.internal.42.cjs +2315 -196
  1051. package/vendor/Package.internal.42.mjs +2307 -200
  1052. package/vendor/Package.internal.43.cjs +57 -222
  1053. package/vendor/Package.internal.43.mjs +64 -217
  1054. package/vendor/Package.internal.44.cjs +150 -2
  1055. package/vendor/Package.internal.44.mjs +150 -2
  1056. package/vendor/Package.internal.45.cjs +591 -317
  1057. package/vendor/Package.internal.45.mjs +596 -316
  1058. package/vendor/Package.internal.46.cjs +236 -31
  1059. package/vendor/Package.internal.46.mjs +238 -31
  1060. package/vendor/Package.internal.47.cjs +217 -46
  1061. package/vendor/Package.internal.47.mjs +213 -46
  1062. package/vendor/Package.internal.48.cjs +2 -23
  1063. package/vendor/Package.internal.48.mjs +2 -23
  1064. package/vendor/Package.internal.49.cjs +354 -87
  1065. package/vendor/Package.internal.49.mjs +351 -82
  1066. package/vendor/Package.internal.5.cjs +1 -1
  1067. package/vendor/Package.internal.5.mjs +1 -1
  1068. package/vendor/Package.internal.50.cjs +33 -79
  1069. package/vendor/Package.internal.50.mjs +33 -79
  1070. package/vendor/Package.internal.51.cjs +46 -81
  1071. package/vendor/Package.internal.51.mjs +45 -68
  1072. package/vendor/Package.internal.52.cjs +18 -21
  1073. package/vendor/Package.internal.52.mjs +18 -21
  1074. package/vendor/Package.internal.53.cjs +78 -335
  1075. package/vendor/Package.internal.53.mjs +73 -336
  1076. package/vendor/Package.internal.54.cjs +86 -2
  1077. package/vendor/Package.internal.54.mjs +86 -2
  1078. package/vendor/Package.internal.55.cjs +64 -172
  1079. package/vendor/Package.internal.55.mjs +58 -174
  1080. package/vendor/Package.internal.56.cjs +23 -22
  1081. package/vendor/Package.internal.56.mjs +23 -24
  1082. package/vendor/Package.internal.57.cjs +353 -2
  1083. package/vendor/Package.internal.57.mjs +353 -2
  1084. package/vendor/Package.internal.58.cjs +2 -198
  1085. package/vendor/Package.internal.58.mjs +2 -200
  1086. package/vendor/Package.internal.59.cjs +127 -3945
  1087. package/vendor/Package.internal.59.mjs +126 -3958
  1088. package/vendor/Package.internal.6.cjs +2 -2
  1089. package/vendor/Package.internal.6.mjs +2 -2
  1090. package/vendor/Package.internal.60.cjs +25 -2
  1091. package/vendor/Package.internal.60.mjs +27 -2
  1092. package/vendor/Package.internal.61.cjs +2 -319
  1093. package/vendor/Package.internal.61.mjs +2 -321
  1094. package/vendor/Package.internal.62.cjs +175 -340
  1095. package/vendor/Package.internal.62.mjs +177 -340
  1096. package/vendor/Package.internal.63.cjs +3959 -343
  1097. package/vendor/Package.internal.63.mjs +3967 -335
  1098. package/vendor/Package.internal.64.cjs +2 -125
  1099. package/vendor/Package.internal.64.mjs +2 -125
  1100. package/vendor/Package.internal.65.cjs +314 -24
  1101. package/vendor/Package.internal.65.mjs +316 -24
  1102. package/vendor/Package.internal.66.cjs +347 -69
  1103. package/vendor/Package.internal.66.mjs +350 -72
  1104. package/vendor/Package.internal.67.cjs +386 -44
  1105. package/vendor/Package.internal.67.mjs +386 -50
  1106. package/vendor/Package.internal.68.cjs +115 -22
  1107. package/vendor/Package.internal.68.mjs +114 -21
  1108. package/vendor/Package.internal.69.cjs +29 -2
  1109. package/vendor/Package.internal.69.mjs +29 -2
  1110. package/vendor/Package.internal.7.cjs +1 -1
  1111. package/vendor/Package.internal.7.mjs +1 -1
  1112. package/vendor/Package.internal.70.cjs +67 -664
  1113. package/vendor/Package.internal.70.mjs +67 -644
  1114. package/vendor/Package.internal.71.cjs +41 -13876
  1115. package/vendor/Package.internal.71.mjs +41 -13852
  1116. package/vendor/Package.internal.72.cjs +26 -29
  1117. package/vendor/Package.internal.72.mjs +27 -26
  1118. package/vendor/Package.internal.73.cjs +2 -4075
  1119. package/vendor/Package.internal.73.mjs +2 -4077
  1120. package/vendor/Package.internal.74.cjs +654 -1634
  1121. package/vendor/Package.internal.74.mjs +633 -1635
  1122. package/vendor/Package.internal.75.cjs +13834 -197
  1123. package/vendor/Package.internal.75.mjs +13810 -197
  1124. package/vendor/Package.internal.76.cjs +25 -4952
  1125. package/vendor/Package.internal.76.mjs +23 -4940
  1126. package/vendor/Package.internal.77.cjs +3975 -1137
  1127. package/vendor/Package.internal.77.mjs +3979 -1127
  1128. package/vendor/Package.internal.78.cjs +1635 -311
  1129. package/vendor/Package.internal.78.mjs +1637 -299
  1130. package/vendor/Package.internal.79.cjs +248 -23
  1131. package/vendor/Package.internal.79.mjs +251 -26
  1132. package/vendor/Package.internal.8.cjs +1 -1
  1133. package/vendor/Package.internal.8.mjs +1 -1
  1134. package/vendor/Package.internal.80.cjs +4941 -65
  1135. package/vendor/Package.internal.80.mjs +4926 -66
  1136. package/vendor/Package.internal.81.cjs +1221 -37
  1137. package/vendor/Package.internal.81.mjs +1208 -38
  1138. package/vendor/Package.internal.82.cjs +334 -9
  1139. package/vendor/Package.internal.82.mjs +322 -9
  1140. package/vendor/Package.internal.83.cjs +32 -1353
  1141. package/vendor/Package.internal.83.mjs +32 -1355
  1142. package/vendor/Package.internal.84.cjs +82 -6
  1143. package/vendor/Package.internal.84.mjs +86 -4
  1144. package/vendor/Package.internal.85.cjs +53 -2
  1145. package/vendor/Package.internal.85.mjs +55 -2
  1146. package/vendor/Package.internal.86.cjs +8 -344
  1147. package/vendor/Package.internal.86.mjs +8 -346
  1148. package/vendor/Package.internal.87.cjs +1351 -76
  1149. package/vendor/Package.internal.87.mjs +1352 -77
  1150. package/vendor/Package.internal.88.cjs +6 -1439
  1151. package/vendor/Package.internal.88.mjs +4 -1431
  1152. package/vendor/Package.internal.89.cjs +2 -142
  1153. package/vendor/Package.internal.89.mjs +2 -142
  1154. package/vendor/Package.internal.9.cjs +1 -1
  1155. package/vendor/Package.internal.9.mjs +1 -1
  1156. package/vendor/Package.internal.90.cjs +274 -1745
  1157. package/vendor/Package.internal.90.mjs +275 -1738
  1158. package/vendor/Package.internal.91.cjs +67 -117
  1159. package/vendor/Package.internal.91.mjs +69 -113
  1160. package/vendor/Package.internal.92.cjs +1388 -151
  1161. package/vendor/Package.internal.92.mjs +1377 -152
  1162. package/vendor/Package.internal.93.cjs +94 -1591
  1163. package/vendor/Package.internal.93.mjs +94 -1593
  1164. package/vendor/Package.internal.94.cjs +1802 -54
  1165. package/vendor/Package.internal.94.mjs +1799 -59
  1166. package/vendor/Package.internal.95.cjs +126 -24
  1167. package/vendor/Package.internal.95.mjs +121 -25
  1168. package/vendor/Package.internal.96.cjs +189 -50
  1169. package/vendor/Package.internal.96.mjs +194 -53
  1170. package/vendor/Package.internal.97.cjs +1611 -93
  1171. package/vendor/Package.internal.97.mjs +1615 -95
  1172. package/vendor/Package.internal.98.cjs +66 -8
  1173. package/vendor/Package.internal.98.mjs +71 -5
  1174. package/vendor/Package.internal.99.cjs +26 -2
  1175. package/vendor/Package.internal.99.mjs +28 -2
@@ -1,18 +1,2174 @@
1
- /* Build Date: Mon Nov 24 2025 00:55:42 GMT+0800 (China Standard Time) */
2
- import { a as r } from "./Package.internal.102.mjs";
1
+ /* Build Date: Mon Nov 24 2025 18:02:01 GMT+0800 (China Standard Time) */
2
+ import { e as t } from "./Package.internal.10.mjs";
3
3
 
4
- var a;
4
+ import { fileURLToPath as s } from "node:url";
5
5
 
6
- var n;
6
+ import { P as e, a as i, b as n, c as r } from "./Package.internal.112.mjs";
7
7
 
8
- function t() {
9
- if (n) return a;
10
- n = 1;
11
- var t = r();
12
- a = function r() {
13
- return t() && !!Symbol.toStringTag;
14
- };
15
- return a;
8
+ import { M as o } from "./Package.internal.113.mjs";
9
+
10
+ const a = 1024 * 64;
11
+
12
+ const h = t => {
13
+ if (typeof t !== "string") {
14
+ throw new TypeError("invalid pattern");
15
+ }
16
+ if (t.length > a) {
17
+ throw new TypeError("pattern is too long");
18
+ }
19
+ };
20
+
21
+ const l = {
22
+ "[:alnum:]": [ "\\p{L}\\p{Nl}\\p{Nd}", true ],
23
+ "[:alpha:]": [ "\\p{L}\\p{Nl}", true ],
24
+ "[:ascii:]": [ "\\x" + "00-\\x" + "7f", false ],
25
+ "[:blank:]": [ "\\p{Zs}\\t", true ],
26
+ "[:cntrl:]": [ "\\p{Cc}", true ],
27
+ "[:digit:]": [ "\\p{Nd}", true ],
28
+ "[:graph:]": [ "\\p{Z}\\p{C}", true, true ],
29
+ "[:lower:]": [ "\\p{Ll}", true ],
30
+ "[:print:]": [ "\\p{C}", true ],
31
+ "[:punct:]": [ "\\p{P}", true ],
32
+ "[:space:]": [ "\\p{Z}\\t\\r\\n\\v\\f", true ],
33
+ "[:upper:]": [ "\\p{Lu}", true ],
34
+ "[:word:]": [ "\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}", true ],
35
+ "[:xdigit:]": [ "A-Fa-f0-9", false ]
36
+ };
37
+
38
+ const c = t => t.replace(/[[\]\\-]/g, "\\$&");
39
+
40
+ const p = t => t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
41
+
42
+ const f = t => t.join("");
43
+
44
+ const u = (t, s) => {
45
+ const e = s;
46
+ if (t.charAt(e) !== "[") {
47
+ throw new Error("not in a brace expression");
48
+ }
49
+ const i = [];
50
+ const n = [];
51
+ let r = e + 1;
52
+ let o = false;
53
+ let a = false;
54
+ let h = false;
55
+ let u = false;
56
+ let d = e;
57
+ let g = "";
58
+ t: while (r < t.length) {
59
+ const s = t.charAt(r);
60
+ if ((s === "!" || s === "^") && r === e + 1) {
61
+ u = true;
62
+ r++;
63
+ continue;
64
+ }
65
+ if (s === "]" && o && !h) {
66
+ d = r + 1;
67
+ break;
68
+ }
69
+ o = true;
70
+ if (s === "\\") {
71
+ if (!h) {
72
+ h = true;
73
+ r++;
74
+ continue;
75
+ }
76
+ }
77
+ if (s === "[" && !h) {
78
+ for (const [s, [o, h, c]] of Object.entries(l)) {
79
+ if (t.startsWith(s, r)) {
80
+ if (g) {
81
+ return [ "$.", false, t.length - e, true ];
82
+ }
83
+ r += s.length;
84
+ if (c) n.push(o); else i.push(o);
85
+ a = a || h;
86
+ continue t;
87
+ }
88
+ }
89
+ }
90
+ h = false;
91
+ if (g) {
92
+ if (s > g) {
93
+ i.push(c(g) + "-" + c(s));
94
+ } else if (s === g) {
95
+ i.push(c(s));
96
+ }
97
+ g = "";
98
+ r++;
99
+ continue;
100
+ }
101
+ if (t.startsWith("-]", r + 1)) {
102
+ i.push(c(s + "-"));
103
+ r += 2;
104
+ continue;
105
+ }
106
+ if (t.startsWith("-", r + 1)) {
107
+ g = s;
108
+ r += 2;
109
+ continue;
110
+ }
111
+ i.push(c(s));
112
+ r++;
113
+ }
114
+ if (d < r) {
115
+ return [ "", false, 0, false ];
116
+ }
117
+ if (!i.length && !n.length) {
118
+ return [ "$.", false, t.length - e, true ];
119
+ }
120
+ if (n.length === 0 && i.length === 1 && /^\\?.$/.test(i[0]) && !u) {
121
+ const t = i[0].length === 2 ? i[0].slice(-1) : i[0];
122
+ return [ p(t), false, d - e, false ];
123
+ }
124
+ const m = "[" + (u ? "^" : "") + f(i) + "]";
125
+ const w = "[" + (u ? "" : "^") + f(n) + "]";
126
+ const b = i.length && n.length ? "(" + m + "|" + w + ")" : i.length ? m : w;
127
+ return [ b, a, d - e, true ];
128
+ };
129
+
130
+ const d = (t, {windowsPathsNoEscape: s = false, magicalBraces: e = true} = {}) => {
131
+ if (e) {
132
+ return s ? t.replace(/\[([^\/\\])\]/g, "$1") : t.replace(/((?!\\).|^)\[([^\/\\])\]/g, "$1$2").replace(/\\([^\/])/g, "$1");
133
+ }
134
+ return s ? t.replace(/\[([^\/\\{}])\]/g, "$1") : t.replace(/((?!\\).|^)\[([^\/\\{}])\]/g, "$1$2").replace(/\\([^\/{}])/g, "$1");
135
+ };
136
+
137
+ const g = new Set([ "!", "?", "+", "*", "@" ]);
138
+
139
+ const m = t => g.has(t);
140
+
141
+ const w = "(?!(?:^|/)\\.\\.?(?:$|/))";
142
+
143
+ const b = "(?!\\.)";
144
+
145
+ const y = new Set([ "[", "." ]);
146
+
147
+ const S = new Set([ "..", "." ]);
148
+
149
+ const x = new Set("().*{}+?[]^$\\!");
150
+
151
+ const k = t => t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
152
+
153
+ const C = "[^/]";
154
+
155
+ const M = C + "*?";
156
+
157
+ const E = C + "+?";
158
+
159
+ class AST {
160
+ type;
161
+ #t;
162
+ #s;
163
+ #e=false;
164
+ #i=[];
165
+ #n;
166
+ #r;
167
+ #o;
168
+ #a=false;
169
+ #h;
170
+ #l;
171
+ #c=false;
172
+ constructor(t, s, e = {}) {
173
+ this.type = t;
174
+ if (t) this.#s = true;
175
+ this.#n = s;
176
+ this.#t = this.#n ? this.#n.#t : this;
177
+ this.#h = this.#t === this ? e : this.#t.#h;
178
+ this.#o = this.#t === this ? [] : this.#t.#o;
179
+ if (t === "!" && !this.#t.#a) this.#o.push(this);
180
+ this.#r = this.#n ? this.#n.#i.length : 0;
181
+ }
182
+ get hasMagic() {
183
+ if (this.#s !== undefined) return this.#s;
184
+ for (const t of this.#i) {
185
+ if (typeof t === "string") continue;
186
+ if (t.type || t.hasMagic) return this.#s = true;
187
+ }
188
+ return this.#s;
189
+ }
190
+ toString() {
191
+ if (this.#l !== undefined) return this.#l;
192
+ if (!this.type) {
193
+ return this.#l = this.#i.map(t => String(t)).join("");
194
+ } else {
195
+ return this.#l = this.type + "(" + this.#i.map(t => String(t)).join("|") + ")";
196
+ }
197
+ }
198
+ #p() {
199
+ if (this !== this.#t) throw new Error("should only call on root");
200
+ if (this.#a) return this;
201
+ this.toString();
202
+ this.#a = true;
203
+ let t;
204
+ while (t = this.#o.pop()) {
205
+ if (t.type !== "!") continue;
206
+ let s = t;
207
+ let e = s.#n;
208
+ while (e) {
209
+ for (let i = s.#r + 1; !e.type && i < e.#i.length; i++) {
210
+ for (const s of t.#i) {
211
+ if (typeof s === "string") {
212
+ throw new Error("string part in extglob AST??");
213
+ }
214
+ s.copyIn(e.#i[i]);
215
+ }
216
+ }
217
+ s = e;
218
+ e = s.#n;
219
+ }
220
+ }
221
+ return this;
222
+ }
223
+ push(...t) {
224
+ for (const s of t) {
225
+ if (s === "") continue;
226
+ if (typeof s !== "string" && !(s instanceof AST && s.#n === this)) {
227
+ throw new Error("invalid part: " + s);
228
+ }
229
+ this.#i.push(s);
230
+ }
231
+ }
232
+ toJSON() {
233
+ const t = this.type === null ? this.#i.slice().map(t => typeof t === "string" ? t : t.toJSON()) : [ this.type, ...this.#i.map(t => t.toJSON()) ];
234
+ if (this.isStart() && !this.type) t.unshift([]);
235
+ if (this.isEnd() && (this === this.#t || this.#t.#a && this.#n?.type === "!")) {
236
+ t.push({});
237
+ }
238
+ return t;
239
+ }
240
+ isStart() {
241
+ if (this.#t === this) return true;
242
+ if (!this.#n?.isStart()) return false;
243
+ if (this.#r === 0) return true;
244
+ const t = this.#n;
245
+ for (let s = 0; s < this.#r; s++) {
246
+ const e = t.#i[s];
247
+ if (!(e instanceof AST && e.type === "!")) {
248
+ return false;
249
+ }
250
+ }
251
+ return true;
252
+ }
253
+ isEnd() {
254
+ if (this.#t === this) return true;
255
+ if (this.#n?.type === "!") return true;
256
+ if (!this.#n?.isEnd()) return false;
257
+ if (!this.type) return this.#n?.isEnd();
258
+ const t = this.#n ? this.#n.#i.length : 0;
259
+ return this.#r === t - 1;
260
+ }
261
+ copyIn(t) {
262
+ if (typeof t === "string") this.push(t); else this.push(t.clone(this));
263
+ }
264
+ clone(t) {
265
+ const s = new AST(this.type, t);
266
+ for (const t of this.#i) {
267
+ s.copyIn(t);
268
+ }
269
+ return s;
270
+ }
271
+ static #f(t, s, e, i) {
272
+ let n = false;
273
+ let r = false;
274
+ let o = -1;
275
+ let a = false;
276
+ if (s.type === null) {
277
+ let h = e;
278
+ let l = "";
279
+ while (h < t.length) {
280
+ const e = t.charAt(h++);
281
+ if (n || e === "\\") {
282
+ n = !n;
283
+ l += e;
284
+ continue;
285
+ }
286
+ if (r) {
287
+ if (h === o + 1) {
288
+ if (e === "^" || e === "!") {
289
+ a = true;
290
+ }
291
+ } else if (e === "]" && !(h === o + 2 && a)) {
292
+ r = false;
293
+ }
294
+ l += e;
295
+ continue;
296
+ } else if (e === "[") {
297
+ r = true;
298
+ o = h;
299
+ a = false;
300
+ l += e;
301
+ continue;
302
+ }
303
+ if (!i.noext && m(e) && t.charAt(h) === "(") {
304
+ s.push(l);
305
+ l = "";
306
+ const n = new AST(e, s);
307
+ h = AST.#f(t, n, h, i);
308
+ s.push(n);
309
+ continue;
310
+ }
311
+ l += e;
312
+ }
313
+ s.push(l);
314
+ return h;
315
+ }
316
+ let h = e + 1;
317
+ let l = new AST(null, s);
318
+ const c = [];
319
+ let p = "";
320
+ while (h < t.length) {
321
+ const e = t.charAt(h++);
322
+ if (n || e === "\\") {
323
+ n = !n;
324
+ p += e;
325
+ continue;
326
+ }
327
+ if (r) {
328
+ if (h === o + 1) {
329
+ if (e === "^" || e === "!") {
330
+ a = true;
331
+ }
332
+ } else if (e === "]" && !(h === o + 2 && a)) {
333
+ r = false;
334
+ }
335
+ p += e;
336
+ continue;
337
+ } else if (e === "[") {
338
+ r = true;
339
+ o = h;
340
+ a = false;
341
+ p += e;
342
+ continue;
343
+ }
344
+ if (m(e) && t.charAt(h) === "(") {
345
+ l.push(p);
346
+ p = "";
347
+ const s = new AST(e, l);
348
+ l.push(s);
349
+ h = AST.#f(t, s, h, i);
350
+ continue;
351
+ }
352
+ if (e === "|") {
353
+ l.push(p);
354
+ p = "";
355
+ c.push(l);
356
+ l = new AST(null, s);
357
+ continue;
358
+ }
359
+ if (e === ")") {
360
+ if (p === "" && s.#i.length === 0) {
361
+ s.#c = true;
362
+ }
363
+ l.push(p);
364
+ p = "";
365
+ s.push(...c, l);
366
+ return h;
367
+ }
368
+ p += e;
369
+ }
370
+ s.type = null;
371
+ s.#s = undefined;
372
+ s.#i = [ t.substring(e - 1) ];
373
+ return h;
374
+ }
375
+ static fromGlob(t, s = {}) {
376
+ const e = new AST(null, undefined, s);
377
+ AST.#f(t, e, 0, s);
378
+ return e;
379
+ }
380
+ toMMPattern() {
381
+ if (this !== this.#t) return this.#t.toMMPattern();
382
+ const t = this.toString();
383
+ const [s, e, i, n] = this.toRegExpSource();
384
+ const r = i || this.#s || this.#h.nocase && !this.#h.nocaseMagicOnly && t.toUpperCase() !== t.toLowerCase();
385
+ if (!r) {
386
+ return e;
387
+ }
388
+ const o = (this.#h.nocase ? "i" : "") + (n ? "u" : "");
389
+ return Object.assign(new RegExp(`^${s}$`, o), {
390
+ _src: s,
391
+ _glob: t
392
+ });
393
+ }
394
+ get options() {
395
+ return this.#h;
396
+ }
397
+ toRegExpSource(t) {
398
+ const s = t ?? !!this.#h.dot;
399
+ if (this.#t === this) this.#p();
400
+ if (!this.type) {
401
+ const e = this.isStart() && this.isEnd() && !this.#i.some(t => typeof t !== "string");
402
+ const i = this.#i.map(s => {
403
+ const [i, n, r, o] = typeof s === "string" ? AST.#u(s, this.#s, e) : s.toRegExpSource(t);
404
+ this.#s = this.#s || r;
405
+ this.#e = this.#e || o;
406
+ return i;
407
+ }).join("");
408
+ let n = "";
409
+ if (this.isStart()) {
410
+ if (typeof this.#i[0] === "string") {
411
+ const e = this.#i.length === 1 && S.has(this.#i[0]);
412
+ if (!e) {
413
+ const e = y;
414
+ const r = s && e.has(i.charAt(0)) || i.startsWith("\\.") && e.has(i.charAt(2)) || i.startsWith("\\.\\.") && e.has(i.charAt(4));
415
+ const o = !s && !t && e.has(i.charAt(0));
416
+ n = r ? w : o ? b : "";
417
+ }
418
+ }
419
+ }
420
+ let r = "";
421
+ if (this.isEnd() && this.#t.#a && this.#n?.type === "!") {
422
+ r = "(?:$|\\/)";
423
+ }
424
+ const o = n + i + r;
425
+ return [ o, d(i), this.#s = !!this.#s, this.#e ];
426
+ }
427
+ const e = this.type === "*" || this.type === "+";
428
+ const i = this.type === "!" ? "(?:(?!(?:" : "(?:";
429
+ let n = this.#d(s);
430
+ if (this.isStart() && this.isEnd() && !n && this.type !== "!") {
431
+ const t = this.toString();
432
+ this.#i = [ t ];
433
+ this.type = null;
434
+ this.#s = undefined;
435
+ return [ t, d(this.toString()), false, false ];
436
+ }
437
+ let r = !e || t || s || !b ? "" : this.#d(true);
438
+ if (r === n) {
439
+ r = "";
440
+ }
441
+ if (r) {
442
+ n = `(?:${n})(?:${r})*?`;
443
+ }
444
+ let o = "";
445
+ if (this.type === "!" && this.#c) {
446
+ o = (this.isStart() && !s ? b : "") + E;
447
+ } else {
448
+ const e = this.type === "!" ? "))" + (this.isStart() && !s && !t ? b : "") + M + ")" : this.type === "@" ? ")" : this.type === "?" ? ")?" : this.type === "+" && r ? ")" : this.type === "*" && r ? `)?` : `)${this.type}`;
449
+ o = i + n + e;
450
+ }
451
+ return [ o, d(n), this.#s = !!this.#s, this.#e ];
452
+ }
453
+ #d(t) {
454
+ return this.#i.map(s => {
455
+ if (typeof s === "string") {
456
+ throw new Error("string type in extglob ast??");
457
+ }
458
+ const [e, i, n, r] = s.toRegExpSource(t);
459
+ this.#e = this.#e || r;
460
+ return e;
461
+ }).filter(t => !(this.isStart() && this.isEnd()) || !!t).join("|");
462
+ }
463
+ static #u(t, s, e = false) {
464
+ let i = false;
465
+ let n = "";
466
+ let r = false;
467
+ for (let o = 0; o < t.length; o++) {
468
+ const a = t.charAt(o);
469
+ if (i) {
470
+ i = false;
471
+ n += (x.has(a) ? "\\" : "") + a;
472
+ continue;
473
+ }
474
+ if (a === "\\") {
475
+ if (o === t.length - 1) {
476
+ n += "\\\\";
477
+ } else {
478
+ i = true;
479
+ }
480
+ continue;
481
+ }
482
+ if (a === "[") {
483
+ const [e, i, a, h] = u(t, o);
484
+ if (a) {
485
+ n += e;
486
+ r = r || i;
487
+ o += a - 1;
488
+ s = s || h;
489
+ continue;
490
+ }
491
+ }
492
+ if (a === "*") {
493
+ n += e && t === "*" ? E : M;
494
+ s = true;
495
+ continue;
496
+ }
497
+ if (a === "?") {
498
+ n += C;
499
+ s = true;
500
+ continue;
501
+ }
502
+ n += k(a);
503
+ }
504
+ return [ n, d(t), !!s, r ];
505
+ }
506
+ }
507
+
508
+ const A = (t, {windowsPathsNoEscape: s = false, magicalBraces: e = false} = {}) => {
509
+ if (e) {
510
+ return s ? t.replace(/[?*()[\]{}]/g, "[$&]") : t.replace(/[?*()[\]\\{}]/g, "\\$&");
511
+ }
512
+ return s ? t.replace(/[?*()[\]]/g, "[$&]") : t.replace(/[?*()[\]\\]/g, "\\$&");
513
+ };
514
+
515
+ const v = (t, s, e = {}) => {
516
+ h(s);
517
+ if (!e.nocomment && s.charAt(0) === "#") {
518
+ return false;
519
+ }
520
+ return new Minimatch(s, e).match(t);
521
+ };
522
+
523
+ const L = /^\*+([^+@!?\*\[\(]*)$/;
524
+
525
+ const P = t => s => !s.startsWith(".") && s.endsWith(t);
526
+
527
+ const T = t => s => s.endsWith(t);
528
+
529
+ const W = t => {
530
+ t = t.toLowerCase();
531
+ return s => !s.startsWith(".") && s.toLowerCase().endsWith(t);
532
+ };
533
+
534
+ const N = t => {
535
+ t = t.toLowerCase();
536
+ return s => s.toLowerCase().endsWith(t);
537
+ };
538
+
539
+ const R = /^\*+\.\*+$/;
540
+
541
+ const $ = t => !t.startsWith(".") && t.includes(".");
542
+
543
+ const G = t => t !== "." && t !== ".." && t.includes(".");
544
+
545
+ const j = /^\.\*+$/;
546
+
547
+ const O = t => t !== "." && t !== ".." && t.startsWith(".");
548
+
549
+ const B = /^\*+$/;
550
+
551
+ const D = t => t.length !== 0 && !t.startsWith(".");
552
+
553
+ const I = t => t.length !== 0 && t !== "." && t !== "..";
554
+
555
+ const U = /^\?+([^+@!?\*\[\(]*)?$/;
556
+
557
+ const F = ([t, s = ""]) => {
558
+ const e = J([ t ]);
559
+ if (!s) return e;
560
+ s = s.toLowerCase();
561
+ return t => e(t) && t.toLowerCase().endsWith(s);
562
+ };
563
+
564
+ const z = ([t, s = ""]) => {
565
+ const e = Z([ t ]);
566
+ if (!s) return e;
567
+ s = s.toLowerCase();
568
+ return t => e(t) && t.toLowerCase().endsWith(s);
569
+ };
570
+
571
+ const _ = ([t, s = ""]) => {
572
+ const e = Z([ t ]);
573
+ return !s ? e : t => e(t) && t.endsWith(s);
574
+ };
575
+
576
+ const H = ([t, s = ""]) => {
577
+ const e = J([ t ]);
578
+ return !s ? e : t => e(t) && t.endsWith(s);
579
+ };
580
+
581
+ const J = ([t]) => {
582
+ const s = t.length;
583
+ return t => t.length === s && !t.startsWith(".");
584
+ };
585
+
586
+ const Z = ([t]) => {
587
+ const s = t.length;
588
+ return t => t.length === s && t !== "." && t !== "..";
589
+ };
590
+
591
+ const q = typeof process === "object" && process ? typeof process.env === "object" && process.env && process.env.__MINIMATCH_TESTING_PLATFORM__ || process.platform : "posix";
592
+
593
+ const K = {
594
+ win32: {
595
+ sep: "\\"
596
+ },
597
+ posix: {
598
+ sep: "/"
599
+ }
600
+ };
601
+
602
+ const Q = q === "win32" ? K.win32.sep : K.posix.sep;
603
+
604
+ v.sep = Q;
605
+
606
+ const V = Symbol("globstar **");
607
+
608
+ v.GLOBSTAR = V;
609
+
610
+ const X = "[^/]";
611
+
612
+ const Y = X + "*?";
613
+
614
+ const tt = "(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";
615
+
616
+ const st = "(?:(?!(?:\\/|^)\\.).)*?";
617
+
618
+ const et = (t, s = {}) => e => v(e, t, s);
619
+
620
+ v.filter = et;
621
+
622
+ const it = (t, s = {}) => Object.assign({}, t, s);
623
+
624
+ const nt = t => {
625
+ if (!t || typeof t !== "object" || !Object.keys(t).length) {
626
+ return v;
627
+ }
628
+ const s = v;
629
+ const e = (e, i, n = {}) => s(e, i, it(t, n));
630
+ return Object.assign(e, {
631
+ Minimatch: class Minimatch extends s.Minimatch {
632
+ constructor(s, e = {}) {
633
+ super(s, it(t, e));
634
+ }
635
+ static defaults(e) {
636
+ return s.defaults(it(t, e)).Minimatch;
637
+ }
638
+ },
639
+ AST: class AST extends s.AST {
640
+ constructor(s, e, i = {}) {
641
+ super(s, e, it(t, i));
642
+ }
643
+ static fromGlob(e, i = {}) {
644
+ return s.AST.fromGlob(e, it(t, i));
645
+ }
646
+ },
647
+ unescape: (e, i = {}) => s.unescape(e, it(t, i)),
648
+ escape: (e, i = {}) => s.escape(e, it(t, i)),
649
+ filter: (e, i = {}) => s.filter(e, it(t, i)),
650
+ defaults: e => s.defaults(it(t, e)),
651
+ makeRe: (e, i = {}) => s.makeRe(e, it(t, i)),
652
+ braceExpand: (e, i = {}) => s.braceExpand(e, it(t, i)),
653
+ match: (e, i, n = {}) => s.match(e, i, it(t, n)),
654
+ sep: s.sep,
655
+ GLOBSTAR: V
656
+ });
657
+ };
658
+
659
+ v.defaults = nt;
660
+
661
+ const rt = (s, e = {}) => {
662
+ h(s);
663
+ if (e.nobrace || !/\{(?:(?!\{).)*\}/.test(s)) {
664
+ return [ s ];
665
+ }
666
+ return t(s);
667
+ };
668
+
669
+ v.braceExpand = rt;
670
+
671
+ const ot = (t, s = {}) => new Minimatch(t, s).makeRe();
672
+
673
+ v.makeRe = ot;
674
+
675
+ const at = (t, s, e = {}) => {
676
+ const i = new Minimatch(s, e);
677
+ t = t.filter(t => i.match(t));
678
+ if (i.options.nonull && !t.length) {
679
+ t.push(s);
680
+ }
681
+ return t;
682
+ };
683
+
684
+ v.match = at;
685
+
686
+ const ht = /[?*]|[+@!]\(.*?\)|\[|\]/;
687
+
688
+ const lt = t => t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
689
+
690
+ class Minimatch {
691
+ options;
692
+ set;
693
+ pattern;
694
+ windowsPathsNoEscape;
695
+ nonegate;
696
+ negate;
697
+ comment;
698
+ empty;
699
+ preserveMultipleSlashes;
700
+ partial;
701
+ globSet;
702
+ globParts;
703
+ nocase;
704
+ isWindows;
705
+ platform;
706
+ windowsNoMagicRoot;
707
+ regexp;
708
+ constructor(t, s = {}) {
709
+ h(t);
710
+ s = s || {};
711
+ this.options = s;
712
+ this.pattern = t;
713
+ this.platform = s.platform || q;
714
+ this.isWindows = this.platform === "win32";
715
+ this.windowsPathsNoEscape = !!s.windowsPathsNoEscape || s.allowWindowsEscape === false;
716
+ if (this.windowsPathsNoEscape) {
717
+ this.pattern = this.pattern.replace(/\\/g, "/");
718
+ }
719
+ this.preserveMultipleSlashes = !!s.preserveMultipleSlashes;
720
+ this.regexp = null;
721
+ this.negate = false;
722
+ this.nonegate = !!s.nonegate;
723
+ this.comment = false;
724
+ this.empty = false;
725
+ this.partial = !!s.partial;
726
+ this.nocase = !!this.options.nocase;
727
+ this.windowsNoMagicRoot = s.windowsNoMagicRoot !== undefined ? s.windowsNoMagicRoot : !!(this.isWindows && this.nocase);
728
+ this.globSet = [];
729
+ this.globParts = [];
730
+ this.set = [];
731
+ this.make();
732
+ }
733
+ hasMagic() {
734
+ if (this.options.magicalBraces && this.set.length > 1) {
735
+ return true;
736
+ }
737
+ for (const t of this.set) {
738
+ for (const s of t) {
739
+ if (typeof s !== "string") return true;
740
+ }
741
+ }
742
+ return false;
743
+ }
744
+ debug(...t) {}
745
+ make() {
746
+ const t = this.pattern;
747
+ const s = this.options;
748
+ if (!s.nocomment && t.charAt(0) === "#") {
749
+ this.comment = true;
750
+ return;
751
+ }
752
+ if (!t) {
753
+ this.empty = true;
754
+ return;
755
+ }
756
+ this.parseNegate();
757
+ this.globSet = [ ...new Set(this.braceExpand()) ];
758
+ if (s.debug) {
759
+ this.debug = (...t) => console.error(...t);
760
+ }
761
+ this.debug(this.pattern, this.globSet);
762
+ const e = this.globSet.map(t => this.slashSplit(t));
763
+ this.globParts = this.preprocess(e);
764
+ this.debug(this.pattern, this.globParts);
765
+ let i = this.globParts.map((t, s, e) => {
766
+ if (this.isWindows && this.windowsNoMagicRoot) {
767
+ const s = t[0] === "" && t[1] === "" && (t[2] === "?" || !ht.test(t[2])) && !ht.test(t[3]);
768
+ const e = /^[a-z]:/i.test(t[0]);
769
+ if (s) {
770
+ return [ ...t.slice(0, 4), ...t.slice(4).map(t => this.parse(t)) ];
771
+ } else if (e) {
772
+ return [ t[0], ...t.slice(1).map(t => this.parse(t)) ];
773
+ }
774
+ }
775
+ return t.map(t => this.parse(t));
776
+ });
777
+ this.debug(this.pattern, i);
778
+ this.set = i.filter(t => t.indexOf(false) === -1);
779
+ if (this.isWindows) {
780
+ for (let t = 0; t < this.set.length; t++) {
781
+ const s = this.set[t];
782
+ if (s[0] === "" && s[1] === "" && this.globParts[t][2] === "?" && typeof s[3] === "string" && /^[a-z]:$/i.test(s[3])) {
783
+ s[2] = "?";
784
+ }
785
+ }
786
+ }
787
+ this.debug(this.pattern, this.set);
788
+ }
789
+ preprocess(t) {
790
+ if (this.options.noglobstar) {
791
+ for (let s = 0; s < t.length; s++) {
792
+ for (let e = 0; e < t[s].length; e++) {
793
+ if (t[s][e] === "**") {
794
+ t[s][e] = "*";
795
+ }
796
+ }
797
+ }
798
+ }
799
+ const {optimizationLevel: s = 1} = this.options;
800
+ if (s >= 2) {
801
+ t = this.firstPhasePreProcess(t);
802
+ t = this.secondPhasePreProcess(t);
803
+ } else if (s >= 1) {
804
+ t = this.levelOneOptimize(t);
805
+ } else {
806
+ t = this.adjascentGlobstarOptimize(t);
807
+ }
808
+ return t;
809
+ }
810
+ adjascentGlobstarOptimize(t) {
811
+ return t.map(t => {
812
+ let s = -1;
813
+ while (-1 !== (s = t.indexOf("**", s + 1))) {
814
+ let e = s;
815
+ while (t[e + 1] === "**") {
816
+ e++;
817
+ }
818
+ if (e !== s) {
819
+ t.splice(s, e - s);
820
+ }
821
+ }
822
+ return t;
823
+ });
824
+ }
825
+ levelOneOptimize(t) {
826
+ return t.map(t => {
827
+ t = t.reduce((t, s) => {
828
+ const e = t[t.length - 1];
829
+ if (s === "**" && e === "**") {
830
+ return t;
831
+ }
832
+ if (s === "..") {
833
+ if (e && e !== ".." && e !== "." && e !== "**") {
834
+ t.pop();
835
+ return t;
836
+ }
837
+ }
838
+ t.push(s);
839
+ return t;
840
+ }, []);
841
+ return t.length === 0 ? [ "" ] : t;
842
+ });
843
+ }
844
+ levelTwoFileOptimize(t) {
845
+ if (!Array.isArray(t)) {
846
+ t = this.slashSplit(t);
847
+ }
848
+ let s = false;
849
+ do {
850
+ s = false;
851
+ if (!this.preserveMultipleSlashes) {
852
+ for (let e = 1; e < t.length - 1; e++) {
853
+ const i = t[e];
854
+ if (e === 1 && i === "" && t[0] === "") continue;
855
+ if (i === "." || i === "") {
856
+ s = true;
857
+ t.splice(e, 1);
858
+ e--;
859
+ }
860
+ }
861
+ if (t[0] === "." && t.length === 2 && (t[1] === "." || t[1] === "")) {
862
+ s = true;
863
+ t.pop();
864
+ }
865
+ }
866
+ let e = 0;
867
+ while (-1 !== (e = t.indexOf("..", e + 1))) {
868
+ const i = t[e - 1];
869
+ if (i && i !== "." && i !== ".." && i !== "**") {
870
+ s = true;
871
+ t.splice(e - 1, 2);
872
+ e -= 2;
873
+ }
874
+ }
875
+ } while (s);
876
+ return t.length === 0 ? [ "" ] : t;
877
+ }
878
+ firstPhasePreProcess(t) {
879
+ let s = false;
880
+ do {
881
+ s = false;
882
+ for (let e of t) {
883
+ let i = -1;
884
+ while (-1 !== (i = e.indexOf("**", i + 1))) {
885
+ let n = i;
886
+ while (e[n + 1] === "**") {
887
+ n++;
888
+ }
889
+ if (n > i) {
890
+ e.splice(i + 1, n - i);
891
+ }
892
+ let r = e[i + 1];
893
+ const o = e[i + 2];
894
+ const a = e[i + 3];
895
+ if (r !== "..") continue;
896
+ if (!o || o === "." || o === ".." || !a || a === "." || a === "..") {
897
+ continue;
898
+ }
899
+ s = true;
900
+ e.splice(i, 1);
901
+ const h = e.slice(0);
902
+ h[i] = "**";
903
+ t.push(h);
904
+ i--;
905
+ }
906
+ if (!this.preserveMultipleSlashes) {
907
+ for (let t = 1; t < e.length - 1; t++) {
908
+ const i = e[t];
909
+ if (t === 1 && i === "" && e[0] === "") continue;
910
+ if (i === "." || i === "") {
911
+ s = true;
912
+ e.splice(t, 1);
913
+ t--;
914
+ }
915
+ }
916
+ if (e[0] === "." && e.length === 2 && (e[1] === "." || e[1] === "")) {
917
+ s = true;
918
+ e.pop();
919
+ }
920
+ }
921
+ let n = 0;
922
+ while (-1 !== (n = e.indexOf("..", n + 1))) {
923
+ const t = e[n - 1];
924
+ if (t && t !== "." && t !== ".." && t !== "**") {
925
+ s = true;
926
+ const t = n === 1 && e[n + 1] === "**";
927
+ const i = t ? [ "." ] : [];
928
+ e.splice(n - 1, 2, ...i);
929
+ if (e.length === 0) e.push("");
930
+ n -= 2;
931
+ }
932
+ }
933
+ }
934
+ } while (s);
935
+ return t;
936
+ }
937
+ secondPhasePreProcess(t) {
938
+ for (let s = 0; s < t.length - 1; s++) {
939
+ for (let e = s + 1; e < t.length; e++) {
940
+ const i = this.partsMatch(t[s], t[e], !this.preserveMultipleSlashes);
941
+ if (i) {
942
+ t[s] = [];
943
+ t[e] = i;
944
+ break;
945
+ }
946
+ }
947
+ }
948
+ return t.filter(t => t.length);
949
+ }
950
+ partsMatch(t, s, e = false) {
951
+ let i = 0;
952
+ let n = 0;
953
+ let r = [];
954
+ let o = "";
955
+ while (i < t.length && n < s.length) {
956
+ if (t[i] === s[n]) {
957
+ r.push(o === "b" ? s[n] : t[i]);
958
+ i++;
959
+ n++;
960
+ } else if (e && t[i] === "**" && s[n] === t[i + 1]) {
961
+ r.push(t[i]);
962
+ i++;
963
+ } else if (e && s[n] === "**" && t[i] === s[n + 1]) {
964
+ r.push(s[n]);
965
+ n++;
966
+ } else if (t[i] === "*" && s[n] && (this.options.dot || !s[n].startsWith(".")) && s[n] !== "**") {
967
+ if (o === "b") return false;
968
+ o = "a";
969
+ r.push(t[i]);
970
+ i++;
971
+ n++;
972
+ } else if (s[n] === "*" && t[i] && (this.options.dot || !t[i].startsWith(".")) && t[i] !== "**") {
973
+ if (o === "a") return false;
974
+ o = "b";
975
+ r.push(s[n]);
976
+ i++;
977
+ n++;
978
+ } else {
979
+ return false;
980
+ }
981
+ }
982
+ return t.length === s.length && r;
983
+ }
984
+ parseNegate() {
985
+ if (this.nonegate) return;
986
+ const t = this.pattern;
987
+ let s = false;
988
+ let e = 0;
989
+ for (let i = 0; i < t.length && t.charAt(i) === "!"; i++) {
990
+ s = !s;
991
+ e++;
992
+ }
993
+ if (e) this.pattern = t.slice(e);
994
+ this.negate = s;
995
+ }
996
+ matchOne(t, s, e = false) {
997
+ const i = this.options;
998
+ if (this.isWindows) {
999
+ const e = typeof t[0] === "string" && /^[a-z]:$/i.test(t[0]);
1000
+ const i = !e && t[0] === "" && t[1] === "" && t[2] === "?" && /^[a-z]:$/i.test(t[3]);
1001
+ const n = typeof s[0] === "string" && /^[a-z]:$/i.test(s[0]);
1002
+ const r = !n && s[0] === "" && s[1] === "" && s[2] === "?" && typeof s[3] === "string" && /^[a-z]:$/i.test(s[3]);
1003
+ const o = i ? 3 : e ? 0 : undefined;
1004
+ const a = r ? 3 : n ? 0 : undefined;
1005
+ if (typeof o === "number" && typeof a === "number") {
1006
+ const [e, i] = [ t[o], s[a] ];
1007
+ if (e.toLowerCase() === i.toLowerCase()) {
1008
+ s[a] = e;
1009
+ if (a > o) {
1010
+ s = s.slice(a);
1011
+ } else if (o > a) {
1012
+ t = t.slice(o);
1013
+ }
1014
+ }
1015
+ }
1016
+ }
1017
+ const {optimizationLevel: n = 1} = this.options;
1018
+ if (n >= 2) {
1019
+ t = this.levelTwoFileOptimize(t);
1020
+ }
1021
+ this.debug("matchOne", this, {
1022
+ file: t,
1023
+ pattern: s
1024
+ });
1025
+ this.debug("matchOne", t.length, s.length);
1026
+ for (var r = 0, o = 0, a = t.length, h = s.length; r < a && o < h; r++, o++) {
1027
+ this.debug("matchOne loop");
1028
+ var l = s[o];
1029
+ var c = t[r];
1030
+ this.debug(s, l, c);
1031
+ if (l === false) {
1032
+ return false;
1033
+ }
1034
+ if (l === V) {
1035
+ this.debug("GLOBSTAR", [ s, l, c ]);
1036
+ var p = r;
1037
+ var f = o + 1;
1038
+ if (f === h) {
1039
+ this.debug("** at the end");
1040
+ for (;r < a; r++) {
1041
+ if (t[r] === "." || t[r] === ".." || !i.dot && t[r].charAt(0) === ".") return false;
1042
+ }
1043
+ return true;
1044
+ }
1045
+ while (p < a) {
1046
+ var u = t[p];
1047
+ this.debug("\nglobstar while", t, p, s, f, u);
1048
+ if (this.matchOne(t.slice(p), s.slice(f), e)) {
1049
+ this.debug("globstar found match!", p, a, u);
1050
+ return true;
1051
+ } else {
1052
+ if (u === "." || u === ".." || !i.dot && u.charAt(0) === ".") {
1053
+ this.debug("dot detected!", t, p, s, f);
1054
+ break;
1055
+ }
1056
+ this.debug("globstar swallow a segment, and continue");
1057
+ p++;
1058
+ }
1059
+ }
1060
+ if (e) {
1061
+ this.debug("\n>>> no match, partial?", t, p, s, f);
1062
+ if (p === a) {
1063
+ return true;
1064
+ }
1065
+ }
1066
+ return false;
1067
+ }
1068
+ let n;
1069
+ if (typeof l === "string") {
1070
+ n = c === l;
1071
+ this.debug("string match", l, c, n);
1072
+ } else {
1073
+ n = l.test(c);
1074
+ this.debug("pattern match", l, c, n);
1075
+ }
1076
+ if (!n) return false;
1077
+ }
1078
+ if (r === a && o === h) {
1079
+ return true;
1080
+ } else if (r === a) {
1081
+ return e;
1082
+ } else if (o === h) {
1083
+ return r === a - 1 && t[r] === "";
1084
+ } else {
1085
+ throw new Error("wtf?");
1086
+ }
1087
+ }
1088
+ braceExpand() {
1089
+ return rt(this.pattern, this.options);
1090
+ }
1091
+ parse(t) {
1092
+ h(t);
1093
+ const s = this.options;
1094
+ if (t === "**") return V;
1095
+ if (t === "") return "";
1096
+ let e;
1097
+ let i = null;
1098
+ if (e = t.match(B)) {
1099
+ i = s.dot ? I : D;
1100
+ } else if (e = t.match(L)) {
1101
+ i = (s.nocase ? s.dot ? N : W : s.dot ? T : P)(e[1]);
1102
+ } else if (e = t.match(U)) {
1103
+ i = (s.nocase ? s.dot ? z : F : s.dot ? _ : H)(e);
1104
+ } else if (e = t.match(R)) {
1105
+ i = s.dot ? G : $;
1106
+ } else if (e = t.match(j)) {
1107
+ i = O;
1108
+ }
1109
+ const n = AST.fromGlob(t, this.options).toMMPattern();
1110
+ if (i && typeof n === "object") {
1111
+ Reflect.defineProperty(n, "test", {
1112
+ value: i
1113
+ });
1114
+ }
1115
+ return n;
1116
+ }
1117
+ makeRe() {
1118
+ if (this.regexp || this.regexp === false) return this.regexp;
1119
+ const t = this.set;
1120
+ if (!t.length) {
1121
+ this.regexp = false;
1122
+ return this.regexp;
1123
+ }
1124
+ const s = this.options;
1125
+ const e = s.noglobstar ? Y : s.dot ? tt : st;
1126
+ const i = new Set(s.nocase ? [ "i" ] : []);
1127
+ let n = t.map(t => {
1128
+ const s = t.map(t => {
1129
+ if (t instanceof RegExp) {
1130
+ for (const s of t.flags.split("")) i.add(s);
1131
+ }
1132
+ return typeof t === "string" ? lt(t) : t === V ? V : t._src;
1133
+ });
1134
+ s.forEach((t, i) => {
1135
+ const n = s[i + 1];
1136
+ const r = s[i - 1];
1137
+ if (t !== V || r === V) {
1138
+ return;
1139
+ }
1140
+ if (r === undefined) {
1141
+ if (n !== undefined && n !== V) {
1142
+ s[i + 1] = "(?:\\/|" + e + "\\/)?" + n;
1143
+ } else {
1144
+ s[i] = e;
1145
+ }
1146
+ } else if (n === undefined) {
1147
+ s[i - 1] = r + "(?:\\/|\\/" + e + ")?";
1148
+ } else if (n !== V) {
1149
+ s[i - 1] = r + "(?:\\/|\\/" + e + "\\/)" + n;
1150
+ s[i + 1] = V;
1151
+ }
1152
+ });
1153
+ const n = s.filter(t => t !== V);
1154
+ if (this.partial && n.length >= 1) {
1155
+ const t = [];
1156
+ for (let s = 1; s <= n.length; s++) {
1157
+ t.push(n.slice(0, s).join("/"));
1158
+ }
1159
+ return "(?:" + t.join("|") + ")";
1160
+ }
1161
+ return n.join("/");
1162
+ }).join("|");
1163
+ const [r, o] = t.length > 1 ? [ "(?:", ")" ] : [ "", "" ];
1164
+ n = "^" + r + n + o + "$";
1165
+ if (this.partial) {
1166
+ n = "^(?:\\/|" + r + n.slice(1, -1) + o + ")$";
1167
+ }
1168
+ if (this.negate) n = "^(?!" + n + ").+$";
1169
+ try {
1170
+ this.regexp = new RegExp(n, [ ...i ].join(""));
1171
+ } catch (t) {
1172
+ this.regexp = false;
1173
+ }
1174
+ return this.regexp;
1175
+ }
1176
+ slashSplit(t) {
1177
+ if (this.preserveMultipleSlashes) {
1178
+ return t.split("/");
1179
+ } else if (this.isWindows && /^\/\/[^\/]+/.test(t)) {
1180
+ return [ "", ...t.split(/\/+/) ];
1181
+ } else {
1182
+ return t.split(/\/+/);
1183
+ }
1184
+ }
1185
+ match(t, s = this.partial) {
1186
+ this.debug("match", t, this.pattern);
1187
+ if (this.comment) {
1188
+ return false;
1189
+ }
1190
+ if (this.empty) {
1191
+ return t === "";
1192
+ }
1193
+ if (t === "/" && s) {
1194
+ return true;
1195
+ }
1196
+ const e = this.options;
1197
+ if (this.isWindows) {
1198
+ t = t.split("\\").join("/");
1199
+ }
1200
+ const i = this.slashSplit(t);
1201
+ this.debug(this.pattern, "split", i);
1202
+ const n = this.set;
1203
+ this.debug(this.pattern, "set", n);
1204
+ let r = i[i.length - 1];
1205
+ if (!r) {
1206
+ for (let t = i.length - 2; !r && t >= 0; t--) {
1207
+ r = i[t];
1208
+ }
1209
+ }
1210
+ for (let t = 0; t < n.length; t++) {
1211
+ const o = n[t];
1212
+ let a = i;
1213
+ if (e.matchBase && o.length === 1) {
1214
+ a = [ r ];
1215
+ }
1216
+ const h = this.matchOne(a, o, s);
1217
+ if (h) {
1218
+ if (e.flipNegate) {
1219
+ return true;
1220
+ }
1221
+ return !this.negate;
1222
+ }
1223
+ }
1224
+ if (e.flipNegate) {
1225
+ return false;
1226
+ }
1227
+ return this.negate;
1228
+ }
1229
+ static defaults(t) {
1230
+ return v.defaults(t).Minimatch;
1231
+ }
1232
+ }
1233
+
1234
+ v.AST = AST;
1235
+
1236
+ v.Minimatch = Minimatch;
1237
+
1238
+ v.escape = A;
1239
+
1240
+ v.unescape = d;
1241
+
1242
+ const ct = t => t.length >= 1;
1243
+
1244
+ const pt = t => t.length >= 1;
1245
+
1246
+ class Pattern {
1247
+ #g;
1248
+ #m;
1249
+ #w;
1250
+ length;
1251
+ #b;
1252
+ #y;
1253
+ #S;
1254
+ #x;
1255
+ #k;
1256
+ #C;
1257
+ #M=true;
1258
+ constructor(t, s, e, i) {
1259
+ if (!ct(t)) {
1260
+ throw new TypeError("empty pattern list");
1261
+ }
1262
+ if (!pt(s)) {
1263
+ throw new TypeError("empty glob list");
1264
+ }
1265
+ if (s.length !== t.length) {
1266
+ throw new TypeError("mismatched pattern list and glob list lengths");
1267
+ }
1268
+ this.length = t.length;
1269
+ if (e < 0 || e >= this.length) {
1270
+ throw new TypeError("index out of range");
1271
+ }
1272
+ this.#g = t;
1273
+ this.#m = s;
1274
+ this.#w = e;
1275
+ this.#b = i;
1276
+ if (this.#w === 0) {
1277
+ if (this.isUNC()) {
1278
+ const [t, s, e, i, ...n] = this.#g;
1279
+ const [r, o, a, h, ...l] = this.#m;
1280
+ if (n[0] === "") {
1281
+ n.shift();
1282
+ l.shift();
1283
+ }
1284
+ const c = [ t, s, e, i, "" ].join("/");
1285
+ const p = [ r, o, a, h, "" ].join("/");
1286
+ this.#g = [ c, ...n ];
1287
+ this.#m = [ p, ...l ];
1288
+ this.length = this.#g.length;
1289
+ } else if (this.isDrive() || this.isAbsolute()) {
1290
+ const [t, ...s] = this.#g;
1291
+ const [e, ...i] = this.#m;
1292
+ if (s[0] === "") {
1293
+ s.shift();
1294
+ i.shift();
1295
+ }
1296
+ const n = t + "/";
1297
+ const r = e + "/";
1298
+ this.#g = [ n, ...s ];
1299
+ this.#m = [ r, ...i ];
1300
+ this.length = this.#g.length;
1301
+ }
1302
+ }
1303
+ }
1304
+ pattern() {
1305
+ return this.#g[this.#w];
1306
+ }
1307
+ isString() {
1308
+ return typeof this.#g[this.#w] === "string";
1309
+ }
1310
+ isGlobstar() {
1311
+ return this.#g[this.#w] === V;
1312
+ }
1313
+ isRegExp() {
1314
+ return this.#g[this.#w] instanceof RegExp;
1315
+ }
1316
+ globString() {
1317
+ return this.#S = this.#S || (this.#w === 0 ? this.isAbsolute() ? this.#m[0] + this.#m.slice(1).join("/") : this.#m.join("/") : this.#m.slice(this.#w).join("/"));
1318
+ }
1319
+ hasMore() {
1320
+ return this.length > this.#w + 1;
1321
+ }
1322
+ rest() {
1323
+ if (this.#y !== undefined) return this.#y;
1324
+ if (!this.hasMore()) return this.#y = null;
1325
+ this.#y = new Pattern(this.#g, this.#m, this.#w + 1, this.#b);
1326
+ this.#y.#C = this.#C;
1327
+ this.#y.#k = this.#k;
1328
+ this.#y.#x = this.#x;
1329
+ return this.#y;
1330
+ }
1331
+ isUNC() {
1332
+ const t = this.#g;
1333
+ return this.#k !== undefined ? this.#k : this.#k = this.#b === "win32" && this.#w === 0 && t[0] === "" && t[1] === "" && typeof t[2] === "string" && !!t[2] && typeof t[3] === "string" && !!t[3];
1334
+ }
1335
+ isDrive() {
1336
+ const t = this.#g;
1337
+ return this.#x !== undefined ? this.#x : this.#x = this.#b === "win32" && this.#w === 0 && this.length > 1 && typeof t[0] === "string" && /^[a-z]:$/i.test(t[0]);
1338
+ }
1339
+ isAbsolute() {
1340
+ const t = this.#g;
1341
+ return this.#C !== undefined ? this.#C : this.#C = t[0] === "" && t.length > 1 || this.isDrive() || this.isUNC();
1342
+ }
1343
+ root() {
1344
+ const t = this.#g[0];
1345
+ return typeof t === "string" && this.isAbsolute() && this.#w === 0 ? t : "";
1346
+ }
1347
+ checkFollowGlobstar() {
1348
+ return !(this.#w === 0 || !this.isGlobstar() || !this.#M);
1349
+ }
1350
+ markFollowGlobstar() {
1351
+ if (this.#w === 0 || !this.isGlobstar() || !this.#M) return false;
1352
+ this.#M = false;
1353
+ return true;
1354
+ }
1355
+ }
1356
+
1357
+ const ft = typeof process === "object" && process && typeof process.platform === "string" ? process.platform : "linux";
1358
+
1359
+ class Ignore {
1360
+ relative;
1361
+ relativeChildren;
1362
+ absolute;
1363
+ absoluteChildren;
1364
+ platform;
1365
+ mmopts;
1366
+ constructor(t, {nobrace: s, nocase: e, noext: i, noglobstar: n, platform: r = ft}) {
1367
+ this.relative = [];
1368
+ this.absolute = [];
1369
+ this.relativeChildren = [];
1370
+ this.absoluteChildren = [];
1371
+ this.platform = r;
1372
+ this.mmopts = {
1373
+ dot: true,
1374
+ nobrace: s,
1375
+ nocase: e,
1376
+ noext: i,
1377
+ noglobstar: n,
1378
+ optimizationLevel: 2,
1379
+ platform: r,
1380
+ nocomment: true,
1381
+ nonegate: true
1382
+ };
1383
+ for (const s of t) this.add(s);
1384
+ }
1385
+ add(t) {
1386
+ const s = new Minimatch(t, this.mmopts);
1387
+ for (let t = 0; t < s.set.length; t++) {
1388
+ const e = s.set[t];
1389
+ const i = s.globParts[t];
1390
+ if (!e || !i) {
1391
+ throw new Error("invalid pattern object");
1392
+ }
1393
+ while (e[0] === "." && i[0] === ".") {
1394
+ e.shift();
1395
+ i.shift();
1396
+ }
1397
+ const n = new Pattern(e, i, 0, this.platform);
1398
+ const r = new Minimatch(n.globString(), this.mmopts);
1399
+ const o = i[i.length - 1] === "**";
1400
+ const a = n.isAbsolute();
1401
+ if (a) this.absolute.push(r); else this.relative.push(r);
1402
+ if (o) {
1403
+ if (a) this.absoluteChildren.push(r); else this.relativeChildren.push(r);
1404
+ }
1405
+ }
1406
+ }
1407
+ ignored(t) {
1408
+ const s = t.fullpath();
1409
+ const e = `${s}/`;
1410
+ const i = t.relative() || ".";
1411
+ const n = `${i}/`;
1412
+ for (const t of this.relative) {
1413
+ if (t.match(i) || t.match(n)) return true;
1414
+ }
1415
+ for (const t of this.absolute) {
1416
+ if (t.match(s) || t.match(e)) return true;
1417
+ }
1418
+ return false;
1419
+ }
1420
+ childrenIgnored(t) {
1421
+ const s = t.fullpath() + "/";
1422
+ const e = (t.relative() || ".") + "/";
1423
+ for (const t of this.relativeChildren) {
1424
+ if (t.match(e)) return true;
1425
+ }
1426
+ for (const t of this.absoluteChildren) {
1427
+ if (t.match(s)) return true;
1428
+ }
1429
+ return false;
1430
+ }
1431
+ }
1432
+
1433
+ class HasWalkedCache {
1434
+ store;
1435
+ constructor(t = new Map) {
1436
+ this.store = t;
1437
+ }
1438
+ copy() {
1439
+ return new HasWalkedCache(new Map(this.store));
1440
+ }
1441
+ hasWalked(t, s) {
1442
+ return this.store.get(t.fullpath())?.has(s.globString());
1443
+ }
1444
+ storeWalked(t, s) {
1445
+ const e = t.fullpath();
1446
+ const i = this.store.get(e);
1447
+ if (i) i.add(s.globString()); else this.store.set(e, new Set([ s.globString() ]));
1448
+ }
1449
+ }
1450
+
1451
+ class MatchRecord {
1452
+ store=new Map;
1453
+ add(t, s, e) {
1454
+ const i = (s ? 2 : 0) | (e ? 1 : 0);
1455
+ const n = this.store.get(t);
1456
+ this.store.set(t, n === undefined ? i : i & n);
1457
+ }
1458
+ entries() {
1459
+ return [ ...this.store.entries() ].map(([t, s]) => [ t, !!(s & 2), !!(s & 1) ]);
1460
+ }
1461
+ }
1462
+
1463
+ class SubWalks {
1464
+ store=new Map;
1465
+ add(t, s) {
1466
+ if (!t.canReaddir()) {
1467
+ return;
1468
+ }
1469
+ const e = this.store.get(t);
1470
+ if (e) {
1471
+ if (!e.find(t => t.globString() === s.globString())) {
1472
+ e.push(s);
1473
+ }
1474
+ } else this.store.set(t, [ s ]);
1475
+ }
1476
+ get(t) {
1477
+ const s = this.store.get(t);
1478
+ if (!s) {
1479
+ throw new Error("attempting to walk unknown path");
1480
+ }
1481
+ return s;
1482
+ }
1483
+ entries() {
1484
+ return this.keys().map(t => [ t, this.store.get(t) ]);
1485
+ }
1486
+ keys() {
1487
+ return [ ...this.store.keys() ].filter(t => t.canReaddir());
1488
+ }
1489
+ }
1490
+
1491
+ class Processor {
1492
+ hasWalkedCache;
1493
+ matches=new MatchRecord;
1494
+ subwalks=new SubWalks;
1495
+ patterns;
1496
+ follow;
1497
+ dot;
1498
+ opts;
1499
+ constructor(t, s) {
1500
+ this.opts = t;
1501
+ this.follow = !!t.follow;
1502
+ this.dot = !!t.dot;
1503
+ this.hasWalkedCache = s ? s.copy() : new HasWalkedCache;
1504
+ }
1505
+ processPatterns(t, s) {
1506
+ this.patterns = s;
1507
+ const e = s.map(s => [ t, s ]);
1508
+ for (let [t, s] of e) {
1509
+ this.hasWalkedCache.storeWalked(t, s);
1510
+ const e = s.root();
1511
+ const i = s.isAbsolute() && this.opts.absolute !== false;
1512
+ if (e) {
1513
+ t = t.resolve(e === "/" && this.opts.root !== undefined ? this.opts.root : e);
1514
+ const i = s.rest();
1515
+ if (!i) {
1516
+ this.matches.add(t, true, false);
1517
+ continue;
1518
+ } else {
1519
+ s = i;
1520
+ }
1521
+ }
1522
+ if (t.isENOENT()) continue;
1523
+ let n;
1524
+ let r;
1525
+ let o = false;
1526
+ while (typeof (n = s.pattern()) === "string" && (r = s.rest())) {
1527
+ const e = t.resolve(n);
1528
+ t = e;
1529
+ s = r;
1530
+ o = true;
1531
+ }
1532
+ n = s.pattern();
1533
+ r = s.rest();
1534
+ if (o) {
1535
+ if (this.hasWalkedCache.hasWalked(t, s)) continue;
1536
+ this.hasWalkedCache.storeWalked(t, s);
1537
+ }
1538
+ if (typeof n === "string") {
1539
+ const s = n === ".." || n === "" || n === ".";
1540
+ this.matches.add(t.resolve(n), i, s);
1541
+ continue;
1542
+ } else if (n === V) {
1543
+ if (!t.isSymbolicLink() || this.follow || s.checkFollowGlobstar()) {
1544
+ this.subwalks.add(t, s);
1545
+ }
1546
+ const e = r?.pattern();
1547
+ const n = r?.rest();
1548
+ if (!r || (e === "" || e === ".") && !n) {
1549
+ this.matches.add(t, i, e === "" || e === ".");
1550
+ } else {
1551
+ if (e === "..") {
1552
+ const s = t.parent || t;
1553
+ if (!n) this.matches.add(s, i, true); else if (!this.hasWalkedCache.hasWalked(s, n)) {
1554
+ this.subwalks.add(s, n);
1555
+ }
1556
+ }
1557
+ }
1558
+ } else if (n instanceof RegExp) {
1559
+ this.subwalks.add(t, s);
1560
+ }
1561
+ }
1562
+ return this;
1563
+ }
1564
+ subwalkTargets() {
1565
+ return this.subwalks.keys();
1566
+ }
1567
+ child() {
1568
+ return new Processor(this.opts, this.hasWalkedCache);
1569
+ }
1570
+ filterEntries(t, s) {
1571
+ const e = this.subwalks.get(t);
1572
+ const i = this.child();
1573
+ for (const t of s) {
1574
+ for (const s of e) {
1575
+ const e = s.isAbsolute();
1576
+ const n = s.pattern();
1577
+ const r = s.rest();
1578
+ if (n === V) {
1579
+ i.testGlobstar(t, s, r, e);
1580
+ } else if (n instanceof RegExp) {
1581
+ i.testRegExp(t, n, r, e);
1582
+ } else {
1583
+ i.testString(t, n, r, e);
1584
+ }
1585
+ }
1586
+ }
1587
+ return i;
1588
+ }
1589
+ testGlobstar(t, s, e, i) {
1590
+ if (this.dot || !t.name.startsWith(".")) {
1591
+ if (!s.hasMore()) {
1592
+ this.matches.add(t, i, false);
1593
+ }
1594
+ if (t.canReaddir()) {
1595
+ if (this.follow || !t.isSymbolicLink()) {
1596
+ this.subwalks.add(t, s);
1597
+ } else if (t.isSymbolicLink()) {
1598
+ if (e && s.checkFollowGlobstar()) {
1599
+ this.subwalks.add(t, e);
1600
+ } else if (s.markFollowGlobstar()) {
1601
+ this.subwalks.add(t, s);
1602
+ }
1603
+ }
1604
+ }
1605
+ }
1606
+ if (e) {
1607
+ const s = e.pattern();
1608
+ if (typeof s === "string" && s !== ".." && s !== "" && s !== ".") {
1609
+ this.testString(t, s, e.rest(), i);
1610
+ } else if (s === "..") {
1611
+ const s = t.parent || t;
1612
+ this.subwalks.add(s, e);
1613
+ } else if (s instanceof RegExp) {
1614
+ this.testRegExp(t, s, e.rest(), i);
1615
+ }
1616
+ }
1617
+ }
1618
+ testRegExp(t, s, e, i) {
1619
+ if (!s.test(t.name)) return;
1620
+ if (!e) {
1621
+ this.matches.add(t, i, false);
1622
+ } else {
1623
+ this.subwalks.add(t, e);
1624
+ }
1625
+ }
1626
+ testString(t, s, e, i) {
1627
+ if (!t.isNamed(s)) return;
1628
+ if (!e) {
1629
+ this.matches.add(t, i, false);
1630
+ } else {
1631
+ this.subwalks.add(t, e);
1632
+ }
1633
+ }
1634
+ }
1635
+
1636
+ const ut = (t, s) => typeof t === "string" ? new Ignore([ t ], s) : Array.isArray(t) ? new Ignore(t, s) : t;
1637
+
1638
+ class GlobUtil {
1639
+ path;
1640
+ patterns;
1641
+ opts;
1642
+ seen=new Set;
1643
+ paused=false;
1644
+ aborted=false;
1645
+ #E=[];
1646
+ #A;
1647
+ #v;
1648
+ signal;
1649
+ maxDepth;
1650
+ includeChildMatches;
1651
+ constructor(t, s, e) {
1652
+ this.patterns = t;
1653
+ this.path = s;
1654
+ this.opts = e;
1655
+ this.#v = !e.posix && e.platform === "win32" ? "\\" : "/";
1656
+ this.includeChildMatches = e.includeChildMatches !== false;
1657
+ if (e.ignore || !this.includeChildMatches) {
1658
+ this.#A = ut(e.ignore ?? [], e);
1659
+ if (!this.includeChildMatches && typeof this.#A.add !== "function") {
1660
+ const t = "cannot ignore child matches, ignore lacks add() method.";
1661
+ throw new Error(t);
1662
+ }
1663
+ }
1664
+ this.maxDepth = e.maxDepth || Infinity;
1665
+ if (e.signal) {
1666
+ this.signal = e.signal;
1667
+ this.signal.addEventListener("abort", () => {
1668
+ this.#E.length = 0;
1669
+ });
1670
+ }
1671
+ }
1672
+ #L(t) {
1673
+ return this.seen.has(t) || !!this.#A?.ignored?.(t);
1674
+ }
1675
+ #P(t) {
1676
+ return !!this.#A?.childrenIgnored?.(t);
1677
+ }
1678
+ pause() {
1679
+ this.paused = true;
1680
+ }
1681
+ resume() {
1682
+ if (this.signal?.aborted) return;
1683
+ this.paused = false;
1684
+ let t = undefined;
1685
+ while (!this.paused && (t = this.#E.shift())) {
1686
+ t();
1687
+ }
1688
+ }
1689
+ onResume(t) {
1690
+ if (this.signal?.aborted) return;
1691
+ if (!this.paused) {
1692
+ t();
1693
+ } else {
1694
+ this.#E.push(t);
1695
+ }
1696
+ }
1697
+ async matchCheck(t, s) {
1698
+ if (s && this.opts.nodir) return undefined;
1699
+ let e;
1700
+ if (this.opts.realpath) {
1701
+ e = t.realpathCached() || await t.realpath();
1702
+ if (!e) return undefined;
1703
+ t = e;
1704
+ }
1705
+ const i = t.isUnknown() || this.opts.stat;
1706
+ const n = i ? await t.lstat() : t;
1707
+ if (this.opts.follow && this.opts.nodir && n?.isSymbolicLink()) {
1708
+ const t = await n.realpath();
1709
+ if (t && (t.isUnknown() || this.opts.stat)) {
1710
+ await t.lstat();
1711
+ }
1712
+ }
1713
+ return this.matchCheckTest(n, s);
1714
+ }
1715
+ matchCheckTest(t, s) {
1716
+ return t && (this.maxDepth === Infinity || t.depth() <= this.maxDepth) && (!s || t.canReaddir()) && (!this.opts.nodir || !t.isDirectory()) && (!this.opts.nodir || !this.opts.follow || !t.isSymbolicLink() || !t.realpathCached()?.isDirectory()) && !this.#L(t) ? t : undefined;
1717
+ }
1718
+ matchCheckSync(t, s) {
1719
+ if (s && this.opts.nodir) return undefined;
1720
+ let e;
1721
+ if (this.opts.realpath) {
1722
+ e = t.realpathCached() || t.realpathSync();
1723
+ if (!e) return undefined;
1724
+ t = e;
1725
+ }
1726
+ const i = t.isUnknown() || this.opts.stat;
1727
+ const n = i ? t.lstatSync() : t;
1728
+ if (this.opts.follow && this.opts.nodir && n?.isSymbolicLink()) {
1729
+ const t = n.realpathSync();
1730
+ if (t && (t?.isUnknown() || this.opts.stat)) {
1731
+ t.lstatSync();
1732
+ }
1733
+ }
1734
+ return this.matchCheckTest(n, s);
1735
+ }
1736
+ matchFinish(t, s) {
1737
+ if (this.#L(t)) return;
1738
+ if (!this.includeChildMatches && this.#A?.add) {
1739
+ const s = `${t.relativePosix()}/**`;
1740
+ this.#A.add(s);
1741
+ }
1742
+ const e = this.opts.absolute === undefined ? s : this.opts.absolute;
1743
+ this.seen.add(t);
1744
+ const i = this.opts.mark && t.isDirectory() ? this.#v : "";
1745
+ if (this.opts.withFileTypes) {
1746
+ this.matchEmit(t);
1747
+ } else if (e) {
1748
+ const s = this.opts.posix ? t.fullpathPosix() : t.fullpath();
1749
+ this.matchEmit(s + i);
1750
+ } else {
1751
+ const s = this.opts.posix ? t.relativePosix() : t.relative();
1752
+ const e = this.opts.dotRelative && !s.startsWith(".." + this.#v) ? "." + this.#v : "";
1753
+ this.matchEmit(!s ? "." + i : e + s + i);
1754
+ }
1755
+ }
1756
+ async match(t, s, e) {
1757
+ const i = await this.matchCheck(t, e);
1758
+ if (i) this.matchFinish(i, s);
1759
+ }
1760
+ matchSync(t, s, e) {
1761
+ const i = this.matchCheckSync(t, e);
1762
+ if (i) this.matchFinish(i, s);
1763
+ }
1764
+ walkCB(t, s, e) {
1765
+ if (this.signal?.aborted) e();
1766
+ this.walkCB2(t, s, new Processor(this.opts), e);
1767
+ }
1768
+ walkCB2(t, s, e, i) {
1769
+ if (this.#P(t)) return i();
1770
+ if (this.signal?.aborted) i();
1771
+ if (this.paused) {
1772
+ this.onResume(() => this.walkCB2(t, s, e, i));
1773
+ return;
1774
+ }
1775
+ e.processPatterns(t, s);
1776
+ let n = 1;
1777
+ const r = () => {
1778
+ if (--n === 0) i();
1779
+ };
1780
+ for (const [t, s, i] of e.matches.entries()) {
1781
+ if (this.#L(t)) continue;
1782
+ n++;
1783
+ this.match(t, s, i).then(() => r());
1784
+ }
1785
+ for (const t of e.subwalkTargets()) {
1786
+ if (this.maxDepth !== Infinity && t.depth() >= this.maxDepth) {
1787
+ continue;
1788
+ }
1789
+ n++;
1790
+ const s = t.readdirCached();
1791
+ if (t.calledReaddir()) this.walkCB3(t, s, e, r); else {
1792
+ t.readdirCB((s, i) => this.walkCB3(t, i, e, r), true);
1793
+ }
1794
+ }
1795
+ r();
1796
+ }
1797
+ walkCB3(t, s, e, i) {
1798
+ e = e.filterEntries(t, s);
1799
+ let n = 1;
1800
+ const r = () => {
1801
+ if (--n === 0) i();
1802
+ };
1803
+ for (const [t, s, i] of e.matches.entries()) {
1804
+ if (this.#L(t)) continue;
1805
+ n++;
1806
+ this.match(t, s, i).then(() => r());
1807
+ }
1808
+ for (const [t, s] of e.subwalks.entries()) {
1809
+ n++;
1810
+ this.walkCB2(t, s, e.child(), r);
1811
+ }
1812
+ r();
1813
+ }
1814
+ walkCBSync(t, s, e) {
1815
+ if (this.signal?.aborted) e();
1816
+ this.walkCB2Sync(t, s, new Processor(this.opts), e);
1817
+ }
1818
+ walkCB2Sync(t, s, e, i) {
1819
+ if (this.#P(t)) return i();
1820
+ if (this.signal?.aborted) i();
1821
+ if (this.paused) {
1822
+ this.onResume(() => this.walkCB2Sync(t, s, e, i));
1823
+ return;
1824
+ }
1825
+ e.processPatterns(t, s);
1826
+ let n = 1;
1827
+ const r = () => {
1828
+ if (--n === 0) i();
1829
+ };
1830
+ for (const [t, s, i] of e.matches.entries()) {
1831
+ if (this.#L(t)) continue;
1832
+ this.matchSync(t, s, i);
1833
+ }
1834
+ for (const t of e.subwalkTargets()) {
1835
+ if (this.maxDepth !== Infinity && t.depth() >= this.maxDepth) {
1836
+ continue;
1837
+ }
1838
+ n++;
1839
+ const s = t.readdirSync();
1840
+ this.walkCB3Sync(t, s, e, r);
1841
+ }
1842
+ r();
1843
+ }
1844
+ walkCB3Sync(t, s, e, i) {
1845
+ e = e.filterEntries(t, s);
1846
+ let n = 1;
1847
+ const r = () => {
1848
+ if (--n === 0) i();
1849
+ };
1850
+ for (const [t, s, i] of e.matches.entries()) {
1851
+ if (this.#L(t)) continue;
1852
+ this.matchSync(t, s, i);
1853
+ }
1854
+ for (const [t, s] of e.subwalks.entries()) {
1855
+ n++;
1856
+ this.walkCB2Sync(t, s, e.child(), r);
1857
+ }
1858
+ r();
1859
+ }
1860
+ }
1861
+
1862
+ class GlobWalker extends GlobUtil {
1863
+ matches=new Set;
1864
+ constructor(t, s, e) {
1865
+ super(t, s, e);
1866
+ }
1867
+ matchEmit(t) {
1868
+ this.matches.add(t);
1869
+ }
1870
+ async walk() {
1871
+ if (this.signal?.aborted) throw this.signal.reason;
1872
+ if (this.path.isUnknown()) {
1873
+ await this.path.lstat();
1874
+ }
1875
+ await new Promise((t, s) => {
1876
+ this.walkCB(this.path, this.patterns, () => {
1877
+ if (this.signal?.aborted) {
1878
+ s(this.signal.reason);
1879
+ } else {
1880
+ t(this.matches);
1881
+ }
1882
+ });
1883
+ });
1884
+ return this.matches;
1885
+ }
1886
+ walkSync() {
1887
+ if (this.signal?.aborted) throw this.signal.reason;
1888
+ if (this.path.isUnknown()) {
1889
+ this.path.lstatSync();
1890
+ }
1891
+ this.walkCBSync(this.path, this.patterns, () => {
1892
+ if (this.signal?.aborted) throw this.signal.reason;
1893
+ });
1894
+ return this.matches;
1895
+ }
16
1896
  }
17
1897
 
18
- export { t as r };
1898
+ class GlobStream extends GlobUtil {
1899
+ results;
1900
+ constructor(t, s, e) {
1901
+ super(t, s, e);
1902
+ this.results = new o({
1903
+ signal: this.signal,
1904
+ objectMode: true
1905
+ });
1906
+ this.results.on("drain", () => this.resume());
1907
+ this.results.on("resume", () => this.resume());
1908
+ }
1909
+ matchEmit(t) {
1910
+ this.results.write(t);
1911
+ if (!this.results.flowing) this.pause();
1912
+ }
1913
+ stream() {
1914
+ const t = this.path;
1915
+ if (t.isUnknown()) {
1916
+ t.lstat().then(() => {
1917
+ this.walkCB(t, this.patterns, () => this.results.end());
1918
+ });
1919
+ } else {
1920
+ this.walkCB(t, this.patterns, () => this.results.end());
1921
+ }
1922
+ return this.results;
1923
+ }
1924
+ streamSync() {
1925
+ if (this.path.isUnknown()) {
1926
+ this.path.lstatSync();
1927
+ }
1928
+ this.walkCBSync(this.path, this.patterns, () => this.results.end());
1929
+ return this.results;
1930
+ }
1931
+ }
1932
+
1933
+ const dt = typeof process === "object" && process && typeof process.platform === "string" ? process.platform : "linux";
1934
+
1935
+ class Glob {
1936
+ absolute;
1937
+ cwd;
1938
+ root;
1939
+ dot;
1940
+ dotRelative;
1941
+ follow;
1942
+ ignore;
1943
+ magicalBraces;
1944
+ mark;
1945
+ matchBase;
1946
+ maxDepth;
1947
+ nobrace;
1948
+ nocase;
1949
+ nodir;
1950
+ noext;
1951
+ noglobstar;
1952
+ pattern;
1953
+ platform;
1954
+ realpath;
1955
+ scurry;
1956
+ stat;
1957
+ signal;
1958
+ windowsPathsNoEscape;
1959
+ withFileTypes;
1960
+ includeChildMatches;
1961
+ opts;
1962
+ patterns;
1963
+ constructor(t, o) {
1964
+ if (!o) throw new TypeError("glob options required");
1965
+ this.withFileTypes = !!o.withFileTypes;
1966
+ this.signal = o.signal;
1967
+ this.follow = !!o.follow;
1968
+ this.dot = !!o.dot;
1969
+ this.dotRelative = !!o.dotRelative;
1970
+ this.nodir = !!o.nodir;
1971
+ this.mark = !!o.mark;
1972
+ if (!o.cwd) {
1973
+ this.cwd = "";
1974
+ } else if (o.cwd instanceof URL || o.cwd.startsWith("file://")) {
1975
+ o.cwd = s(o.cwd);
1976
+ }
1977
+ this.cwd = o.cwd || "";
1978
+ this.root = o.root;
1979
+ this.magicalBraces = !!o.magicalBraces;
1980
+ this.nobrace = !!o.nobrace;
1981
+ this.noext = !!o.noext;
1982
+ this.realpath = !!o.realpath;
1983
+ this.absolute = o.absolute;
1984
+ this.includeChildMatches = o.includeChildMatches !== false;
1985
+ this.noglobstar = !!o.noglobstar;
1986
+ this.matchBase = !!o.matchBase;
1987
+ this.maxDepth = typeof o.maxDepth === "number" ? o.maxDepth : Infinity;
1988
+ this.stat = !!o.stat;
1989
+ this.ignore = o.ignore;
1990
+ if (this.withFileTypes && this.absolute !== undefined) {
1991
+ throw new Error("cannot set absolute and withFileTypes:true");
1992
+ }
1993
+ if (typeof t === "string") {
1994
+ t = [ t ];
1995
+ }
1996
+ this.windowsPathsNoEscape = !!o.windowsPathsNoEscape || o.allowWindowsEscape === false;
1997
+ if (this.windowsPathsNoEscape) {
1998
+ t = t.map(t => t.replace(/\\/g, "/"));
1999
+ }
2000
+ if (this.matchBase) {
2001
+ if (o.noglobstar) {
2002
+ throw new TypeError("base matching requires globstar");
2003
+ }
2004
+ t = t.map(t => t.includes("/") ? t : `./**/${t}`);
2005
+ }
2006
+ this.pattern = t;
2007
+ this.platform = o.platform || dt;
2008
+ this.opts = {
2009
+ ...o,
2010
+ platform: this.platform
2011
+ };
2012
+ if (o.scurry) {
2013
+ this.scurry = o.scurry;
2014
+ if (o.nocase !== undefined && o.nocase !== o.scurry.nocase) {
2015
+ throw new Error("nocase option contradicts provided scurry option");
2016
+ }
2017
+ } else {
2018
+ const t = o.platform === "win32" ? e : o.platform === "darwin" ? i : o.platform ? n : r;
2019
+ this.scurry = new t(this.cwd, {
2020
+ nocase: o.nocase,
2021
+ fs: o.fs
2022
+ });
2023
+ }
2024
+ this.nocase = this.scurry.nocase;
2025
+ const a = this.platform === "darwin" || this.platform === "win32";
2026
+ const h = {
2027
+ ...o,
2028
+ dot: this.dot,
2029
+ matchBase: this.matchBase,
2030
+ nobrace: this.nobrace,
2031
+ nocase: this.nocase,
2032
+ nocaseMagicOnly: a,
2033
+ nocomment: true,
2034
+ noext: this.noext,
2035
+ nonegate: true,
2036
+ optimizationLevel: 2,
2037
+ platform: this.platform,
2038
+ windowsPathsNoEscape: this.windowsPathsNoEscape,
2039
+ debug: !!this.opts.debug
2040
+ };
2041
+ const l = this.pattern.map(t => new Minimatch(t, h));
2042
+ const [c, p] = l.reduce((t, s) => {
2043
+ t[0].push(...s.set);
2044
+ t[1].push(...s.globParts);
2045
+ return t;
2046
+ }, [ [], [] ]);
2047
+ this.patterns = c.map((t, s) => {
2048
+ const e = p[s];
2049
+ if (!e) throw new Error("invalid pattern object");
2050
+ return new Pattern(t, e, 0, this.platform);
2051
+ });
2052
+ }
2053
+ async walk() {
2054
+ return [ ...await new GlobWalker(this.patterns, this.scurry.cwd, {
2055
+ ...this.opts,
2056
+ maxDepth: this.maxDepth !== Infinity ? this.maxDepth + this.scurry.cwd.depth() : Infinity,
2057
+ platform: this.platform,
2058
+ nocase: this.nocase,
2059
+ includeChildMatches: this.includeChildMatches
2060
+ }).walk() ];
2061
+ }
2062
+ walkSync() {
2063
+ return [ ...new GlobWalker(this.patterns, this.scurry.cwd, {
2064
+ ...this.opts,
2065
+ maxDepth: this.maxDepth !== Infinity ? this.maxDepth + this.scurry.cwd.depth() : Infinity,
2066
+ platform: this.platform,
2067
+ nocase: this.nocase,
2068
+ includeChildMatches: this.includeChildMatches
2069
+ }).walkSync() ];
2070
+ }
2071
+ stream() {
2072
+ return new GlobStream(this.patterns, this.scurry.cwd, {
2073
+ ...this.opts,
2074
+ maxDepth: this.maxDepth !== Infinity ? this.maxDepth + this.scurry.cwd.depth() : Infinity,
2075
+ platform: this.platform,
2076
+ nocase: this.nocase,
2077
+ includeChildMatches: this.includeChildMatches
2078
+ }).stream();
2079
+ }
2080
+ streamSync() {
2081
+ return new GlobStream(this.patterns, this.scurry.cwd, {
2082
+ ...this.opts,
2083
+ maxDepth: this.maxDepth !== Infinity ? this.maxDepth + this.scurry.cwd.depth() : Infinity,
2084
+ platform: this.platform,
2085
+ nocase: this.nocase,
2086
+ includeChildMatches: this.includeChildMatches
2087
+ }).streamSync();
2088
+ }
2089
+ iterateSync() {
2090
+ return this.streamSync()[Symbol.iterator]();
2091
+ }
2092
+ [Symbol.iterator]() {
2093
+ return this.iterateSync();
2094
+ }
2095
+ iterate() {
2096
+ return this.stream()[Symbol.asyncIterator]();
2097
+ }
2098
+ [Symbol.asyncIterator]() {
2099
+ return this.iterate();
2100
+ }
2101
+ }
2102
+
2103
+ const gt = (t, s = {}) => {
2104
+ if (!Array.isArray(t)) {
2105
+ t = [ t ];
2106
+ }
2107
+ for (const e of t) {
2108
+ if (new Minimatch(e, s).hasMagic()) return true;
2109
+ }
2110
+ return false;
2111
+ };
2112
+
2113
+ function mt(t, s = {}) {
2114
+ return new Glob(t, s).streamSync();
2115
+ }
2116
+
2117
+ function wt(t, s = {}) {
2118
+ return new Glob(t, s).stream();
2119
+ }
2120
+
2121
+ function bt(t, s = {}) {
2122
+ return new Glob(t, s).walkSync();
2123
+ }
2124
+
2125
+ async function yt(t, s = {}) {
2126
+ return new Glob(t, s).walk();
2127
+ }
2128
+
2129
+ function St(t, s = {}) {
2130
+ return new Glob(t, s).iterateSync();
2131
+ }
2132
+
2133
+ function xt(t, s = {}) {
2134
+ return new Glob(t, s).iterate();
2135
+ }
2136
+
2137
+ const kt = mt;
2138
+
2139
+ const Ct = Object.assign(wt, {
2140
+ sync: mt
2141
+ });
2142
+
2143
+ const Mt = St;
2144
+
2145
+ const Et = Object.assign(xt, {
2146
+ sync: St
2147
+ });
2148
+
2149
+ const At = Object.assign(bt, {
2150
+ stream: mt,
2151
+ iterate: St
2152
+ });
2153
+
2154
+ const vt = Object.assign(yt, {
2155
+ glob: yt,
2156
+ globSync: bt,
2157
+ sync: At,
2158
+ globStream: wt,
2159
+ stream: Ct,
2160
+ globStreamSync: mt,
2161
+ streamSync: kt,
2162
+ globIterate: xt,
2163
+ iterate: Et,
2164
+ globIterateSync: St,
2165
+ iterateSync: Mt,
2166
+ Glob: Glob,
2167
+ hasMagic: gt,
2168
+ escape: A,
2169
+ unescape: d
2170
+ });
2171
+
2172
+ vt.glob = vt;
2173
+
2174
+ export { vt as g };