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