@eui/mcp 1.5.1 → 1.5.2

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 (481) hide show
  1. package/dist/main.js +540 -209
  2. package/package.json +3 -2
  3. package/dist/config/__tests__/schema.property.test.d.ts +0 -2
  4. package/dist/config/__tests__/schema.property.test.d.ts.map +0 -1
  5. package/dist/config/__tests__/schema.property.test.js +0 -203
  6. package/dist/config/__tests__/schema.property.test.js.map +0 -1
  7. package/dist/config/__tests__/schema.test.d.ts +0 -2
  8. package/dist/config/__tests__/schema.test.d.ts.map +0 -1
  9. package/dist/config/__tests__/schema.test.js +0 -454
  10. package/dist/config/__tests__/schema.test.js.map +0 -1
  11. package/dist/config/index.d.ts +0 -6
  12. package/dist/config/index.d.ts.map +0 -1
  13. package/dist/config/index.js +0 -6
  14. package/dist/config/index.js.map +0 -1
  15. package/dist/config/loader.d.ts +0 -27
  16. package/dist/config/loader.d.ts.map +0 -1
  17. package/dist/config/loader.js +0 -224
  18. package/dist/config/loader.js.map +0 -1
  19. package/dist/config/schema.d.ts +0 -171
  20. package/dist/config/schema.d.ts.map +0 -1
  21. package/dist/config/schema.js +0 -100
  22. package/dist/config/schema.js.map +0 -1
  23. package/dist/index.d.ts +0 -3
  24. package/dist/index.d.ts.map +0 -1
  25. package/dist/index.js +0 -27
  26. package/dist/index.js.map +0 -1
  27. package/dist/loader/__tests__/cache-manager.property.test.d.ts +0 -2
  28. package/dist/loader/__tests__/cache-manager.property.test.d.ts.map +0 -1
  29. package/dist/loader/__tests__/cache-manager.property.test.js +0 -245
  30. package/dist/loader/__tests__/cache-manager.property.test.js.map +0 -1
  31. package/dist/loader/__tests__/cache-manager.test.d.ts +0 -2
  32. package/dist/loader/__tests__/cache-manager.test.d.ts.map +0 -1
  33. package/dist/loader/__tests__/cache-manager.test.js +0 -256
  34. package/dist/loader/__tests__/cache-manager.test.js.map +0 -1
  35. package/dist/loader/__tests__/documentation-loader.integration.test.d.ts +0 -2
  36. package/dist/loader/__tests__/documentation-loader.integration.test.d.ts.map +0 -1
  37. package/dist/loader/__tests__/documentation-loader.integration.test.js +0 -498
  38. package/dist/loader/__tests__/documentation-loader.integration.test.js.map +0 -1
  39. package/dist/loader/__tests__/documentation-loader.property.test.d.ts +0 -2
  40. package/dist/loader/__tests__/documentation-loader.property.test.d.ts.map +0 -1
  41. package/dist/loader/__tests__/documentation-loader.property.test.js +0 -258
  42. package/dist/loader/__tests__/documentation-loader.property.test.js.map +0 -1
  43. package/dist/loader/__tests__/errors.test.d.ts +0 -2
  44. package/dist/loader/__tests__/errors.test.d.ts.map +0 -1
  45. package/dist/loader/__tests__/errors.test.js +0 -132
  46. package/dist/loader/__tests__/errors.test.js.map +0 -1
  47. package/dist/loader/__tests__/http-client.property.test.d.ts +0 -2
  48. package/dist/loader/__tests__/http-client.property.test.d.ts.map +0 -1
  49. package/dist/loader/__tests__/http-client.property.test.js +0 -288
  50. package/dist/loader/__tests__/http-client.property.test.js.map +0 -1
  51. package/dist/loader/__tests__/http-client.test.d.ts +0 -2
  52. package/dist/loader/__tests__/http-client.test.d.ts.map +0 -1
  53. package/dist/loader/__tests__/http-client.test.js +0 -497
  54. package/dist/loader/__tests__/http-client.test.js.map +0 -1
  55. package/dist/loader/__tests__/local-documentation-source.property.test.d.ts +0 -2
  56. package/dist/loader/__tests__/local-documentation-source.property.test.d.ts.map +0 -1
  57. package/dist/loader/__tests__/local-documentation-source.property.test.js +0 -373
  58. package/dist/loader/__tests__/local-documentation-source.property.test.js.map +0 -1
  59. package/dist/loader/__tests__/local-documentation-source.test.d.ts +0 -2
  60. package/dist/loader/__tests__/local-documentation-source.test.d.ts.map +0 -1
  61. package/dist/loader/__tests__/local-documentation-source.test.js +0 -544
  62. package/dist/loader/__tests__/local-documentation-source.test.js.map +0 -1
  63. package/dist/loader/__tests__/path-type-detector.property.test.d.ts +0 -2
  64. package/dist/loader/__tests__/path-type-detector.property.test.d.ts.map +0 -1
  65. package/dist/loader/__tests__/path-type-detector.property.test.js +0 -245
  66. package/dist/loader/__tests__/path-type-detector.property.test.js.map +0 -1
  67. package/dist/loader/__tests__/path-type-detector.test.d.ts +0 -2
  68. package/dist/loader/__tests__/path-type-detector.test.d.ts.map +0 -1
  69. package/dist/loader/__tests__/path-type-detector.test.js +0 -390
  70. package/dist/loader/__tests__/path-type-detector.test.js.map +0 -1
  71. package/dist/loader/__tests__/remote-documentation-source.property.test.d.ts +0 -2
  72. package/dist/loader/__tests__/remote-documentation-source.property.test.d.ts.map +0 -1
  73. package/dist/loader/__tests__/remote-documentation-source.property.test.js +0 -462
  74. package/dist/loader/__tests__/remote-documentation-source.property.test.js.map +0 -1
  75. package/dist/loader/__tests__/remote-documentation-source.test.d.ts +0 -2
  76. package/dist/loader/__tests__/remote-documentation-source.test.d.ts.map +0 -1
  77. package/dist/loader/__tests__/remote-documentation-source.test.js +0 -707
  78. package/dist/loader/__tests__/remote-documentation-source.test.js.map +0 -1
  79. package/dist/loader/cache-manager.d.ts +0 -74
  80. package/dist/loader/cache-manager.d.ts.map +0 -1
  81. package/dist/loader/cache-manager.js +0 -107
  82. package/dist/loader/cache-manager.js.map +0 -1
  83. package/dist/loader/documentation-loader.d.ts +0 -57
  84. package/dist/loader/documentation-loader.d.ts.map +0 -1
  85. package/dist/loader/documentation-loader.js +0 -85
  86. package/dist/loader/documentation-loader.js.map +0 -1
  87. package/dist/loader/documentation-source.d.ts +0 -37
  88. package/dist/loader/documentation-source.d.ts.map +0 -1
  89. package/dist/loader/documentation-source.js +0 -2
  90. package/dist/loader/documentation-source.js.map +0 -1
  91. package/dist/loader/errors.d.ts +0 -34
  92. package/dist/loader/errors.d.ts.map +0 -1
  93. package/dist/loader/errors.js +0 -65
  94. package/dist/loader/errors.js.map +0 -1
  95. package/dist/loader/http-client.d.ts +0 -43
  96. package/dist/loader/http-client.d.ts.map +0 -1
  97. package/dist/loader/http-client.js +0 -144
  98. package/dist/loader/http-client.js.map +0 -1
  99. package/dist/loader/index.d.ts +0 -6
  100. package/dist/loader/index.d.ts.map +0 -1
  101. package/dist/loader/index.js +0 -5
  102. package/dist/loader/index.js.map +0 -1
  103. package/dist/loader/local-documentation-source.d.ts +0 -62
  104. package/dist/loader/local-documentation-source.d.ts.map +0 -1
  105. package/dist/loader/local-documentation-source.js +0 -192
  106. package/dist/loader/local-documentation-source.js.map +0 -1
  107. package/dist/loader/path-type-detector.d.ts +0 -34
  108. package/dist/loader/path-type-detector.d.ts.map +0 -1
  109. package/dist/loader/path-type-detector.js +0 -78
  110. package/dist/loader/path-type-detector.js.map +0 -1
  111. package/dist/loader/remote-documentation-source.d.ts +0 -108
  112. package/dist/loader/remote-documentation-source.d.ts.map +0 -1
  113. package/dist/loader/remote-documentation-source.js +0 -250
  114. package/dist/loader/remote-documentation-source.js.map +0 -1
  115. package/dist/main.d.ts +0 -2
  116. package/dist/main.d.ts.map +0 -1
  117. package/dist/main.js.map +0 -1
  118. package/dist/mcp/__tests__/server.property.test.d.ts +0 -2
  119. package/dist/mcp/__tests__/server.property.test.d.ts.map +0 -1
  120. package/dist/mcp/__tests__/server.property.test.js +0 -286
  121. package/dist/mcp/__tests__/server.property.test.js.map +0 -1
  122. package/dist/mcp/__tests__/server.test.d.ts +0 -2
  123. package/dist/mcp/__tests__/server.test.d.ts.map +0 -1
  124. package/dist/mcp/__tests__/server.test.js +0 -101
  125. package/dist/mcp/__tests__/server.test.js.map +0 -1
  126. package/dist/mcp/index.d.ts +0 -5
  127. package/dist/mcp/index.d.ts.map +0 -1
  128. package/dist/mcp/index.js +0 -5
  129. package/dist/mcp/index.js.map +0 -1
  130. package/dist/mcp/server.d.ts +0 -65
  131. package/dist/mcp/server.d.ts.map +0 -1
  132. package/dist/mcp/server.js +0 -242
  133. package/dist/mcp/server.js.map +0 -1
  134. package/dist/publish/__tests__/publish-utils.test.d.ts +0 -5
  135. package/dist/publish/__tests__/publish-utils.test.d.ts.map +0 -1
  136. package/dist/publish/__tests__/publish-utils.test.js +0 -189
  137. package/dist/publish/__tests__/publish-utils.test.js.map +0 -1
  138. package/dist/publish/index.d.ts +0 -8
  139. package/dist/publish/index.d.ts.map +0 -1
  140. package/dist/publish/index.js +0 -8
  141. package/dist/publish/index.js.map +0 -1
  142. package/dist/publish/publish-utils.d.ts +0 -74
  143. package/dist/publish/publish-utils.d.ts.map +0 -1
  144. package/dist/publish/publish-utils.js +0 -170
  145. package/dist/publish/publish-utils.js.map +0 -1
  146. package/dist/query/__tests__/deprecation-parser.test.d.ts +0 -2
  147. package/dist/query/__tests__/deprecation-parser.test.d.ts.map +0 -1
  148. package/dist/query/__tests__/deprecation-parser.test.js +0 -154
  149. package/dist/query/__tests__/deprecation-parser.test.js.map +0 -1
  150. package/dist/query/__tests__/deprecation-query.test.d.ts +0 -2
  151. package/dist/query/__tests__/deprecation-query.test.d.ts.map +0 -1
  152. package/dist/query/__tests__/deprecation-query.test.js +0 -199
  153. package/dist/query/__tests__/deprecation-query.test.js.map +0 -1
  154. package/dist/query/__tests__/index-builder-debug.test.d.ts +0 -2
  155. package/dist/query/__tests__/index-builder-debug.test.d.ts.map +0 -1
  156. package/dist/query/__tests__/index-builder-debug.test.js +0 -34
  157. package/dist/query/__tests__/index-builder-debug.test.js.map +0 -1
  158. package/dist/query/__tests__/index-builder.property.test.d.ts +0 -2
  159. package/dist/query/__tests__/index-builder.property.test.d.ts.map +0 -1
  160. package/dist/query/__tests__/index-builder.property.test.js +0 -422
  161. package/dist/query/__tests__/index-builder.property.test.js.map +0 -1
  162. package/dist/query/__tests__/index-builder.test.d.ts +0 -2
  163. package/dist/query/__tests__/index-builder.test.d.ts.map +0 -1
  164. package/dist/query/__tests__/index-builder.test.js +0 -55
  165. package/dist/query/__tests__/index-builder.test.js.map +0 -1
  166. package/dist/query/__tests__/result-formatter-deprecation.test.d.ts +0 -2
  167. package/dist/query/__tests__/result-formatter-deprecation.test.d.ts.map +0 -1
  168. package/dist/query/__tests__/result-formatter-deprecation.test.js +0 -159
  169. package/dist/query/__tests__/result-formatter-deprecation.test.js.map +0 -1
  170. package/dist/query/__tests__/result-formatter.integration.test.d.ts +0 -2
  171. package/dist/query/__tests__/result-formatter.integration.test.d.ts.map +0 -1
  172. package/dist/query/__tests__/result-formatter.integration.test.js +0 -140
  173. package/dist/query/__tests__/result-formatter.integration.test.js.map +0 -1
  174. package/dist/query/__tests__/result-formatter.property.test.d.ts +0 -2
  175. package/dist/query/__tests__/result-formatter.property.test.d.ts.map +0 -1
  176. package/dist/query/__tests__/result-formatter.property.test.js +0 -163
  177. package/dist/query/__tests__/result-formatter.property.test.js.map +0 -1
  178. package/dist/query/__tests__/result-formatter.test.d.ts +0 -2
  179. package/dist/query/__tests__/result-formatter.test.d.ts.map +0 -1
  180. package/dist/query/__tests__/result-formatter.test.js +0 -85
  181. package/dist/query/__tests__/result-formatter.test.js.map +0 -1
  182. package/dist/query/__tests__/search-engine.property.test.d.ts +0 -2
  183. package/dist/query/__tests__/search-engine.property.test.d.ts.map +0 -1
  184. package/dist/query/__tests__/search-engine.property.test.js +0 -389
  185. package/dist/query/__tests__/search-engine.property.test.js.map +0 -1
  186. package/dist/query/component-query.d.ts +0 -33
  187. package/dist/query/component-query.d.ts.map +0 -1
  188. package/dist/query/component-query.js +0 -63
  189. package/dist/query/component-query.js.map +0 -1
  190. package/dist/query/deprecation-parser.d.ts +0 -46
  191. package/dist/query/deprecation-parser.d.ts.map +0 -1
  192. package/dist/query/deprecation-parser.js +0 -81
  193. package/dist/query/deprecation-parser.js.map +0 -1
  194. package/dist/query/deprecation-query.d.ts +0 -19
  195. package/dist/query/deprecation-query.d.ts.map +0 -1
  196. package/dist/query/deprecation-query.js +0 -73
  197. package/dist/query/deprecation-query.js.map +0 -1
  198. package/dist/query/index-builder.d.ts +0 -79
  199. package/dist/query/index-builder.d.ts.map +0 -1
  200. package/dist/query/index-builder.js +0 -217
  201. package/dist/query/index-builder.js.map +0 -1
  202. package/dist/query/index.d.ts +0 -5
  203. package/dist/query/index.d.ts.map +0 -1
  204. package/dist/query/index.js +0 -6
  205. package/dist/query/index.js.map +0 -1
  206. package/dist/query/result-formatter.d.ts +0 -135
  207. package/dist/query/result-formatter.d.ts.map +0 -1
  208. package/dist/query/result-formatter.js +0 -226
  209. package/dist/query/result-formatter.js.map +0 -1
  210. package/dist/query/search-engine.d.ts +0 -54
  211. package/dist/query/search-engine.d.ts.map +0 -1
  212. package/dist/query/search-engine.js +0 -178
  213. package/dist/query/search-engine.js.map +0 -1
  214. package/dist/tools/__tests__/deprecation-tools.test.d.ts +0 -2
  215. package/dist/tools/__tests__/deprecation-tools.test.d.ts.map +0 -1
  216. package/dist/tools/__tests__/deprecation-tools.test.js +0 -178
  217. package/dist/tools/__tests__/deprecation-tools.test.js.map +0 -1
  218. package/dist/tools/__tests__/get-component-docs.property.test.d.ts +0 -2
  219. package/dist/tools/__tests__/get-component-docs.property.test.d.ts.map +0 -1
  220. package/dist/tools/__tests__/get-component-docs.property.test.js +0 -594
  221. package/dist/tools/__tests__/get-component-docs.property.test.js.map +0 -1
  222. package/dist/tools/__tests__/get-component-docs.test.d.ts +0 -2
  223. package/dist/tools/__tests__/get-component-docs.test.d.ts.map +0 -1
  224. package/dist/tools/__tests__/get-component-docs.test.js +0 -137
  225. package/dist/tools/__tests__/get-component-docs.test.js.map +0 -1
  226. package/dist/tools/__tests__/get-component-examples.property.test.d.ts +0 -2
  227. package/dist/tools/__tests__/get-component-examples.property.test.d.ts.map +0 -1
  228. package/dist/tools/__tests__/get-component-examples.property.test.js +0 -245
  229. package/dist/tools/__tests__/get-component-examples.property.test.js.map +0 -1
  230. package/dist/tools/__tests__/get-component-examples.test.d.ts +0 -2
  231. package/dist/tools/__tests__/get-component-examples.test.d.ts.map +0 -1
  232. package/dist/tools/__tests__/get-component-examples.test.js +0 -128
  233. package/dist/tools/__tests__/get-component-examples.test.js.map +0 -1
  234. package/dist/tools/__tests__/get-component-inputs.property.test.d.ts +0 -2
  235. package/dist/tools/__tests__/get-component-inputs.property.test.d.ts.map +0 -1
  236. package/dist/tools/__tests__/get-component-inputs.property.test.js +0 -310
  237. package/dist/tools/__tests__/get-component-inputs.property.test.js.map +0 -1
  238. package/dist/tools/__tests__/get-component-inputs.test.d.ts +0 -2
  239. package/dist/tools/__tests__/get-component-inputs.test.d.ts.map +0 -1
  240. package/dist/tools/__tests__/get-component-inputs.test.js +0 -245
  241. package/dist/tools/__tests__/get-component-inputs.test.js.map +0 -1
  242. package/dist/tools/__tests__/get-component-outputs.property.test.d.ts +0 -2
  243. package/dist/tools/__tests__/get-component-outputs.property.test.d.ts.map +0 -1
  244. package/dist/tools/__tests__/get-component-outputs.property.test.js +0 -227
  245. package/dist/tools/__tests__/get-component-outputs.property.test.js.map +0 -1
  246. package/dist/tools/__tests__/get-component-outputs.test.d.ts +0 -2
  247. package/dist/tools/__tests__/get-component-outputs.test.d.ts.map +0 -1
  248. package/dist/tools/__tests__/get-component-outputs.test.js +0 -189
  249. package/dist/tools/__tests__/get-component-outputs.test.js.map +0 -1
  250. package/dist/tools/__tests__/get-library-version.property.test.d.ts +0 -2
  251. package/dist/tools/__tests__/get-library-version.property.test.d.ts.map +0 -1
  252. package/dist/tools/__tests__/get-library-version.property.test.js +0 -115
  253. package/dist/tools/__tests__/get-library-version.property.test.js.map +0 -1
  254. package/dist/tools/__tests__/get-library-version.test.d.ts +0 -2
  255. package/dist/tools/__tests__/get-library-version.test.d.ts.map +0 -1
  256. package/dist/tools/__tests__/get-library-version.test.js +0 -97
  257. package/dist/tools/__tests__/get-library-version.test.js.map +0 -1
  258. package/dist/tools/__tests__/list-components.property.test.d.ts +0 -2
  259. package/dist/tools/__tests__/list-components.property.test.d.ts.map +0 -1
  260. package/dist/tools/__tests__/list-components.property.test.js +0 -241
  261. package/dist/tools/__tests__/list-components.property.test.js.map +0 -1
  262. package/dist/tools/__tests__/list-components.test.d.ts +0 -2
  263. package/dist/tools/__tests__/list-components.test.d.ts.map +0 -1
  264. package/dist/tools/__tests__/list-components.test.js +0 -170
  265. package/dist/tools/__tests__/list-components.test.js.map +0 -1
  266. package/dist/tools/__tests__/search-components.test.d.ts +0 -2
  267. package/dist/tools/__tests__/search-components.test.d.ts.map +0 -1
  268. package/dist/tools/__tests__/search-components.test.js +0 -239
  269. package/dist/tools/__tests__/search-components.test.js.map +0 -1
  270. package/dist/tools/get-component-docs.d.ts +0 -43
  271. package/dist/tools/get-component-docs.d.ts.map +0 -1
  272. package/dist/tools/get-component-docs.js +0 -55
  273. package/dist/tools/get-component-docs.js.map +0 -1
  274. package/dist/tools/get-component-examples.d.ts +0 -45
  275. package/dist/tools/get-component-examples.d.ts.map +0 -1
  276. package/dist/tools/get-component-examples.js +0 -56
  277. package/dist/tools/get-component-examples.js.map +0 -1
  278. package/dist/tools/get-component-inputs.d.ts +0 -44
  279. package/dist/tools/get-component-inputs.d.ts.map +0 -1
  280. package/dist/tools/get-component-inputs.js +0 -55
  281. package/dist/tools/get-component-inputs.js.map +0 -1
  282. package/dist/tools/get-component-outputs.d.ts +0 -44
  283. package/dist/tools/get-component-outputs.d.ts.map +0 -1
  284. package/dist/tools/get-component-outputs.js +0 -55
  285. package/dist/tools/get-component-outputs.js.map +0 -1
  286. package/dist/tools/get-deprecation-info.d.ts +0 -42
  287. package/dist/tools/get-deprecation-info.d.ts.map +0 -1
  288. package/dist/tools/get-deprecation-info.js +0 -55
  289. package/dist/tools/get-deprecation-info.js.map +0 -1
  290. package/dist/tools/get-eui-cli-guide.d.ts +0 -33
  291. package/dist/tools/get-eui-cli-guide.d.ts.map +0 -1
  292. package/dist/tools/get-eui-cli-guide.js +0 -160
  293. package/dist/tools/get-eui-cli-guide.js.map +0 -1
  294. package/dist/tools/get-eui-cli-instructions.d.ts +0 -33
  295. package/dist/tools/get-eui-cli-instructions.d.ts.map +0 -1
  296. package/dist/tools/get-eui-cli-instructions.js +0 -375
  297. package/dist/tools/get-eui-cli-instructions.js.map +0 -1
  298. package/dist/tools/get-library-version.d.ts +0 -34
  299. package/dist/tools/get-library-version.d.ts.map +0 -1
  300. package/dist/tools/get-library-version.js +0 -62
  301. package/dist/tools/get-library-version.js.map +0 -1
  302. package/dist/tools/index.d.ts +0 -12
  303. package/dist/tools/index.d.ts.map +0 -1
  304. package/dist/tools/index.js +0 -13
  305. package/dist/tools/index.js.map +0 -1
  306. package/dist/tools/list-components.d.ts +0 -69
  307. package/dist/tools/list-components.d.ts.map +0 -1
  308. package/dist/tools/list-components.js +0 -84
  309. package/dist/tools/list-components.js.map +0 -1
  310. package/dist/tools/list-deprecated.d.ts +0 -47
  311. package/dist/tools/list-deprecated.d.ts.map +0 -1
  312. package/dist/tools/list-deprecated.js +0 -56
  313. package/dist/tools/list-deprecated.js.map +0 -1
  314. package/dist/tools/search-components.d.ts +0 -69
  315. package/dist/tools/search-components.d.ts.map +0 -1
  316. package/dist/tools/search-components.js +0 -98
  317. package/dist/tools/search-components.js.map +0 -1
  318. package/dist/types/compodoc.d.ts +0 -262
  319. package/dist/types/compodoc.d.ts.map +0 -1
  320. package/dist/types/compodoc.js +0 -5
  321. package/dist/types/compodoc.js.map +0 -1
  322. package/dist/types/deprecation.d.ts +0 -33
  323. package/dist/types/deprecation.d.ts.map +0 -1
  324. package/dist/types/deprecation.js +0 -5
  325. package/dist/types/deprecation.js.map +0 -1
  326. package/dist/types/index.d.ts +0 -5
  327. package/dist/types/index.d.ts.map +0 -1
  328. package/dist/types/index.js +0 -5
  329. package/dist/types/index.js.map +0 -1
  330. package/dist/utils/__tests__/credential-masking.property.test.d.ts +0 -2
  331. package/dist/utils/__tests__/credential-masking.property.test.d.ts.map +0 -1
  332. package/dist/utils/__tests__/credential-masking.property.test.js +0 -145
  333. package/dist/utils/__tests__/credential-masking.property.test.js.map +0 -1
  334. package/dist/utils/__tests__/credential-masking.test.d.ts +0 -2
  335. package/dist/utils/__tests__/credential-masking.test.d.ts.map +0 -1
  336. package/dist/utils/__tests__/credential-masking.test.js +0 -188
  337. package/dist/utils/__tests__/credential-masking.test.js.map +0 -1
  338. package/dist/utils/__tests__/errors.test.d.ts +0 -2
  339. package/dist/utils/__tests__/errors.test.d.ts.map +0 -1
  340. package/dist/utils/__tests__/errors.test.js +0 -110
  341. package/dist/utils/__tests__/errors.test.js.map +0 -1
  342. package/dist/utils/__tests__/integration.test.d.ts +0 -2
  343. package/dist/utils/__tests__/integration.test.d.ts.map +0 -1
  344. package/dist/utils/__tests__/integration.test.js +0 -136
  345. package/dist/utils/__tests__/integration.test.js.map +0 -1
  346. package/dist/utils/__tests__/logger.test.d.ts +0 -2
  347. package/dist/utils/__tests__/logger.test.d.ts.map +0 -1
  348. package/dist/utils/__tests__/logger.test.js +0 -90
  349. package/dist/utils/__tests__/logger.test.js.map +0 -1
  350. package/dist/utils/__tests__/retry.test.d.ts +0 -2
  351. package/dist/utils/__tests__/retry.test.d.ts.map +0 -1
  352. package/dist/utils/__tests__/retry.test.js +0 -84
  353. package/dist/utils/__tests__/retry.test.js.map +0 -1
  354. package/dist/utils/circuit-breaker.d.ts +0 -91
  355. package/dist/utils/circuit-breaker.d.ts.map +0 -1
  356. package/dist/utils/circuit-breaker.js +0 -186
  357. package/dist/utils/circuit-breaker.js.map +0 -1
  358. package/dist/utils/credential-masking.d.ts +0 -90
  359. package/dist/utils/credential-masking.d.ts.map +0 -1
  360. package/dist/utils/credential-masking.js +0 -201
  361. package/dist/utils/credential-masking.js.map +0 -1
  362. package/dist/utils/error-handler.d.ts +0 -68
  363. package/dist/utils/error-handler.d.ts.map +0 -1
  364. package/dist/utils/error-handler.js +0 -184
  365. package/dist/utils/error-handler.js.map +0 -1
  366. package/dist/utils/errors.d.ts +0 -156
  367. package/dist/utils/errors.d.ts.map +0 -1
  368. package/dist/utils/errors.js +0 -242
  369. package/dist/utils/errors.js.map +0 -1
  370. package/dist/utils/index.d.ts +0 -10
  371. package/dist/utils/index.d.ts.map +0 -1
  372. package/dist/utils/index.js +0 -16
  373. package/dist/utils/index.js.map +0 -1
  374. package/dist/utils/logger.d.ts +0 -24
  375. package/dist/utils/logger.d.ts.map +0 -1
  376. package/dist/utils/logger.js +0 -55
  377. package/dist/utils/logger.js.map +0 -1
  378. package/dist/utils/retry.d.ts +0 -19
  379. package/dist/utils/retry.d.ts.map +0 -1
  380. package/dist/utils/retry.js +0 -81
  381. package/dist/utils/retry.js.map +0 -1
  382. package/dist/version/__tests__/changelog-commit-grouping.property.test.d.ts +0 -2
  383. package/dist/version/__tests__/changelog-commit-grouping.property.test.d.ts.map +0 -1
  384. package/dist/version/__tests__/changelog-commit-grouping.property.test.js +0 -297
  385. package/dist/version/__tests__/changelog-commit-grouping.property.test.js.map +0 -1
  386. package/dist/version/__tests__/changelog-commit-parsing.property.test.d.ts +0 -2
  387. package/dist/version/__tests__/changelog-commit-parsing.property.test.d.ts.map +0 -1
  388. package/dist/version/__tests__/changelog-commit-parsing.property.test.js +0 -396
  389. package/dist/version/__tests__/changelog-commit-parsing.property.test.js.map +0 -1
  390. package/dist/version/__tests__/changelog-file-updates.property.test.d.ts +0 -11
  391. package/dist/version/__tests__/changelog-file-updates.property.test.d.ts.map +0 -1
  392. package/dist/version/__tests__/changelog-file-updates.property.test.js +0 -452
  393. package/dist/version/__tests__/changelog-file-updates.property.test.js.map +0 -1
  394. package/dist/version/__tests__/dry-run-action.property.test.d.ts +0 -8
  395. package/dist/version/__tests__/dry-run-action.property.test.d.ts.map +0 -1
  396. package/dist/version/__tests__/dry-run-action.property.test.js +0 -50
  397. package/dist/version/__tests__/dry-run-action.property.test.js.map +0 -1
  398. package/dist/version/__tests__/dry-run-changelog.property.test.d.ts +0 -8
  399. package/dist/version/__tests__/dry-run-changelog.property.test.d.ts.map +0 -1
  400. package/dist/version/__tests__/dry-run-changelog.property.test.js +0 -53
  401. package/dist/version/__tests__/dry-run-changelog.property.test.js.map +0 -1
  402. package/dist/version/__tests__/dry-run-utils.test.d.ts +0 -7
  403. package/dist/version/__tests__/dry-run-utils.test.d.ts.map +0 -1
  404. package/dist/version/__tests__/dry-run-utils.test.js +0 -195
  405. package/dist/version/__tests__/dry-run-utils.test.js.map +0 -1
  406. package/dist/version/__tests__/dry-run-version.property.test.d.ts +0 -8
  407. package/dist/version/__tests__/dry-run-version.property.test.d.ts.map +0 -1
  408. package/dist/version/__tests__/dry-run-version.property.test.js +0 -59
  409. package/dist/version/__tests__/dry-run-version.property.test.js.map +0 -1
  410. package/dist/version/__tests__/git-tag-annotation.property.test.d.ts +0 -11
  411. package/dist/version/__tests__/git-tag-annotation.property.test.d.ts.map +0 -1
  412. package/dist/version/__tests__/git-tag-annotation.property.test.js +0 -271
  413. package/dist/version/__tests__/git-tag-annotation.property.test.js.map +0 -1
  414. package/dist/version/__tests__/git-tag-format.property.test.d.ts +0 -11
  415. package/dist/version/__tests__/git-tag-format.property.test.d.ts.map +0 -1
  416. package/dist/version/__tests__/git-tag-format.property.test.js +0 -411
  417. package/dist/version/__tests__/git-tag-format.property.test.js.map +0 -1
  418. package/dist/version/__tests__/git-tag-utils.test.d.ts +0 -2
  419. package/dist/version/__tests__/git-tag-utils.test.d.ts.map +0 -1
  420. package/dist/version/__tests__/git-tag-utils.test.js +0 -142
  421. package/dist/version/__tests__/git-tag-utils.test.js.map +0 -1
  422. package/dist/version/__tests__/npm-tag-selection.property.test.d.ts +0 -2
  423. package/dist/version/__tests__/npm-tag-selection.property.test.d.ts.map +0 -1
  424. package/dist/version/__tests__/npm-tag-selection.property.test.js +0 -79
  425. package/dist/version/__tests__/npm-tag-selection.property.test.js.map +0 -1
  426. package/dist/version/__tests__/release-title-format.property.test.d.ts +0 -11
  427. package/dist/version/__tests__/release-title-format.property.test.d.ts.map +0 -1
  428. package/dist/version/__tests__/release-title-format.property.test.js +0 -422
  429. package/dist/version/__tests__/release-title-format.property.test.js.map +0 -1
  430. package/dist/version/__tests__/release-utils.test.d.ts +0 -7
  431. package/dist/version/__tests__/release-utils.test.d.ts.map +0 -1
  432. package/dist/version/__tests__/release-utils.test.js +0 -176
  433. package/dist/version/__tests__/release-utils.test.js.map +0 -1
  434. package/dist/version/__tests__/rollback-changelog.property.test.d.ts +0 -8
  435. package/dist/version/__tests__/rollback-changelog.property.test.d.ts.map +0 -1
  436. package/dist/version/__tests__/rollback-changelog.property.test.js +0 -61
  437. package/dist/version/__tests__/rollback-changelog.property.test.js.map +0 -1
  438. package/dist/version/__tests__/rollback-utils.test.d.ts +0 -7
  439. package/dist/version/__tests__/rollback-utils.test.d.ts.map +0 -1
  440. package/dist/version/__tests__/rollback-utils.test.js +0 -74
  441. package/dist/version/__tests__/rollback-utils.test.js.map +0 -1
  442. package/dist/version/__tests__/version-manager.property.test.d.ts +0 -2
  443. package/dist/version/__tests__/version-manager.property.test.d.ts.map +0 -1
  444. package/dist/version/__tests__/version-manager.property.test.js +0 -143
  445. package/dist/version/__tests__/version-manager.property.test.js.map +0 -1
  446. package/dist/version/__tests__/version-manager.test.d.ts +0 -2
  447. package/dist/version/__tests__/version-manager.test.d.ts.map +0 -1
  448. package/dist/version/__tests__/version-manager.test.js +0 -203
  449. package/dist/version/__tests__/version-manager.test.js.map +0 -1
  450. package/dist/version/changelog-file-utils.d.ts +0 -69
  451. package/dist/version/changelog-file-utils.d.ts.map +0 -1
  452. package/dist/version/changelog-file-utils.js +0 -161
  453. package/dist/version/changelog-file-utils.js.map +0 -1
  454. package/dist/version/changelog-utils.d.ts +0 -98
  455. package/dist/version/changelog-utils.d.ts.map +0 -1
  456. package/dist/version/changelog-utils.js +0 -200
  457. package/dist/version/changelog-utils.js.map +0 -1
  458. package/dist/version/dry-run-utils.d.ts +0 -108
  459. package/dist/version/dry-run-utils.d.ts.map +0 -1
  460. package/dist/version/dry-run-utils.js +0 -128
  461. package/dist/version/dry-run-utils.js.map +0 -1
  462. package/dist/version/git-tag-utils.d.ts +0 -50
  463. package/dist/version/git-tag-utils.d.ts.map +0 -1
  464. package/dist/version/git-tag-utils.js +0 -66
  465. package/dist/version/git-tag-utils.js.map +0 -1
  466. package/dist/version/index.d.ts +0 -11
  467. package/dist/version/index.d.ts.map +0 -1
  468. package/dist/version/index.js +0 -11
  469. package/dist/version/index.js.map +0 -1
  470. package/dist/version/release-utils.d.ts +0 -94
  471. package/dist/version/release-utils.d.ts.map +0 -1
  472. package/dist/version/release-utils.js +0 -170
  473. package/dist/version/release-utils.js.map +0 -1
  474. package/dist/version/rollback-utils.d.ts +0 -47
  475. package/dist/version/rollback-utils.d.ts.map +0 -1
  476. package/dist/version/rollback-utils.js +0 -73
  477. package/dist/version/rollback-utils.js.map +0 -1
  478. package/dist/version/version-manager.d.ts +0 -98
  479. package/dist/version/version-manager.d.ts.map +0 -1
  480. package/dist/version/version-manager.js +0 -154
  481. package/dist/version/version-manager.js.map +0 -1
@@ -1,245 +0,0 @@
1
- /**
2
- * Property-based tests for PathTypeDetector
3
- * Feature: url-based-documentation-path
4
- * Validates: Requirements 1.1, 1.2, 1.3, 1.4
5
- */
6
- import { describe, it, expect } from '@jest/globals';
7
- import * as fc from 'fast-check';
8
- import { PathTypeDetector, PathType } from '../path-type-detector.js';
9
- describe('PathTypeDetector Property Tests', () => {
10
- describe('Property 1: Valid URL Acceptance', () => {
11
- it('should accept all valid HTTP URLs', () => {
12
- fc.assert(fc.property(
13
- // Generate valid HTTP URLs
14
- fc.record({
15
- protocol: fc.constant('http'),
16
- hostname: fc.oneof(fc.constant('localhost'), fc.constant('example.com'), fc.constant('api.example.com'), fc.constant('192.168.1.1'), fc.webUrl({ validSchemes: ['http'] }).map(url => new URL(url).hostname)),
17
- port: fc.option(fc.integer({ min: 1, max: 65535 }), { nil: undefined }),
18
- path: fc.option(fc.oneof(fc.constant(''), fc.constant('/'), fc.constant('/path'), fc.constant('/path/to/file.json'), fc.constant('/api/v1/docs')), { nil: '' }),
19
- query: fc.option(fc.oneof(fc.constant(''), fc.constant('?key=value'), fc.constant('?foo=bar&baz=qux')), { nil: '' }),
20
- }).map(({ protocol, hostname, port, path, query }) => {
21
- const portStr = port ? `:${port}` : '';
22
- return `${protocol}://${hostname}${portStr}${path}${query}`;
23
- }), (httpUrl) => {
24
- // When validating an HTTP URL
25
- const isValid = PathTypeDetector.isValidUrl(httpUrl);
26
- const isRemote = PathTypeDetector.isRemoteUrl(httpUrl);
27
- const pathInfo = PathTypeDetector.detect(httpUrl);
28
- // Then it should be accepted as valid
29
- expect(isValid).toBe(true);
30
- expect(isRemote).toBe(true);
31
- expect(pathInfo.type).toBe(PathType.HTTP_URL);
32
- expect(pathInfo.originalPath).toBe(httpUrl);
33
- }), { numRuns: 20 });
34
- });
35
- it('should accept all valid HTTPS URLs', () => {
36
- fc.assert(fc.property(
37
- // Generate valid HTTPS URLs
38
- fc.record({
39
- protocol: fc.constant('https'),
40
- hostname: fc.oneof(fc.constant('localhost'), fc.constant('example.com'), fc.constant('api.example.com'), fc.constant('secure.example.org'), fc.webUrl({ validSchemes: ['https'] }).map(url => new URL(url).hostname)),
41
- port: fc.option(fc.integer({ min: 1, max: 65535 }), { nil: undefined }),
42
- path: fc.option(fc.oneof(fc.constant(''), fc.constant('/'), fc.constant('/path'), fc.constant('/path/to/file.json'), fc.constant('/api/v1/docs')), { nil: '' }),
43
- query: fc.option(fc.oneof(fc.constant(''), fc.constant('?key=value'), fc.constant('?foo=bar&baz=qux')), { nil: '' }),
44
- }).map(({ protocol, hostname, port, path, query }) => {
45
- const portStr = port ? `:${port}` : '';
46
- return `${protocol}://${hostname}${portStr}${path}${query}`;
47
- }), (httpsUrl) => {
48
- // When validating an HTTPS URL
49
- const isValid = PathTypeDetector.isValidUrl(httpsUrl);
50
- const isRemote = PathTypeDetector.isRemoteUrl(httpsUrl);
51
- const pathInfo = PathTypeDetector.detect(httpsUrl);
52
- // Then it should be accepted as valid
53
- expect(isValid).toBe(true);
54
- expect(isRemote).toBe(true);
55
- expect(pathInfo.type).toBe(PathType.HTTPS_URL);
56
- expect(pathInfo.originalPath).toBe(httpsUrl);
57
- }), { numRuns: 20 });
58
- });
59
- });
60
- describe('Property 2: Valid Local Path Acceptance', () => {
61
- it('should accept all valid local file paths', () => {
62
- fc.assert(fc.property(
63
- // Generate valid local paths
64
- fc.oneof(
65
- // Absolute paths
66
- fc.constant('/usr/local/docs/documentation.json'), fc.constant('/home/user/project/docs.json'), fc.constant('/var/lib/data.json'), fc.constant('C:\\Users\\Documents\\file.json'), fc.constant('D:\\Projects\\docs\\data.json'),
67
- // Relative paths
68
- fc.constant('./documentation.json'), fc.constant('../docs/documentation.json'), fc.constant('docs/documentation.json'), fc.constant('./path/to/file.json'), fc.constant('relative/path.json'),
69
- // Paths with spaces
70
- fc.constant('/path/with spaces/file.json'), fc.constant('./my documents/data.json'),
71
- // Paths with special characters
72
- fc.constant('/path/with-dashes/file.json'), fc.constant('./path_with_underscores/file.json'), fc.constant('/path/with.dots/file.json')), (localPath) => {
73
- // When validating a local path
74
- const isRemote = PathTypeDetector.isRemoteUrl(localPath);
75
- const pathInfo = PathTypeDetector.detect(localPath);
76
- // Then it should be accepted as a local path
77
- expect(isRemote).toBe(false);
78
- expect(pathInfo.type).toBe(PathType.LOCAL);
79
- expect(pathInfo.originalPath).toBe(localPath);
80
- expect(pathInfo.normalizedPath).toBe(localPath.trim());
81
- }), { numRuns: 20 });
82
- });
83
- it('should handle paths with leading/trailing whitespace', () => {
84
- fc.assert(fc.property(fc.oneof(fc.constant('./documentation.json'), fc.constant('/usr/local/docs/file.json'), fc.constant('relative/path.json')), fc.nat({ max: 5 }), fc.nat({ max: 5 }), (basePath, leadingSpaces, trailingSpaces) => {
85
- // Create path with whitespace
86
- const pathWithWhitespace = ' '.repeat(leadingSpaces) + basePath + ' '.repeat(trailingSpaces);
87
- // When detecting path type
88
- const pathInfo = PathTypeDetector.detect(pathWithWhitespace);
89
- // Then it should normalize the path
90
- expect(pathInfo.type).toBe(PathType.LOCAL);
91
- expect(pathInfo.originalPath).toBe(pathWithWhitespace);
92
- expect(pathInfo.normalizedPath).toBe(basePath);
93
- }), { numRuns: 20 });
94
- });
95
- });
96
- describe('Property 3: Invalid URL Rejection', () => {
97
- it('should reject URLs with invalid protocols', () => {
98
- fc.assert(fc.property(
99
- // Generate URLs with invalid protocols
100
- fc.oneof(fc.constant('ftp://example.com/file.json'), fc.constant('file://localhost/path/to/file.json'), fc.constant('ws://example.com/socket'), fc.constant('wss://example.com/socket'), fc.constant('ssh://user@host/path'), fc.constant('git://github.com/repo.git'), fc.constant('mailto:user@example.com'), fc.constant('tel:+1234567890')), (invalidProtocolUrl) => {
101
- // When checking if it's a remote URL
102
- const isRemote = PathTypeDetector.isRemoteUrl(invalidProtocolUrl);
103
- const pathInfo = PathTypeDetector.detect(invalidProtocolUrl);
104
- // Then it should be rejected as a remote URL
105
- expect(isRemote).toBe(false);
106
- // It should be treated as a local path (fallback behavior)
107
- expect(pathInfo.type).toBe(PathType.LOCAL);
108
- }), { numRuns: 20 });
109
- });
110
- it('should reject malformed URLs', () => {
111
- fc.assert(fc.property(
112
- // Generate malformed URLs that should be rejected
113
- fc.oneof(fc.constant('http://'), fc.constant('https://'), fc.constant('://example.com'), fc.constant('http:/example.com'), fc.constant('http//example.com'), fc.constant('htp://example.com'), fc.constant('not a url at all'), fc.constant('just some text'), fc.constant('')), (malformedUrl) => {
114
- // When validating a malformed URL
115
- const isValid = PathTypeDetector.isValidUrl(malformedUrl);
116
- const isRemote = PathTypeDetector.isRemoteUrl(malformedUrl);
117
- // Then it should be rejected as a remote URL
118
- expect(isRemote).toBe(false);
119
- // Empty string should also fail isValidUrl
120
- if (malformedUrl === '') {
121
- expect(isValid).toBe(false);
122
- }
123
- }), { numRuns: 20 });
124
- });
125
- it('should handle edge cases gracefully', () => {
126
- fc.assert(fc.property(fc.oneof(
127
- // URLs with unusual but technically valid formats
128
- fc.constant('http://localhost'), fc.constant('https://127.0.0.1'), fc.constant('http://[::1]'), // IPv6
129
- fc.constant('http://example.com:8080'), fc.constant('https://example.com/path?query=value#fragment'),
130
- // Paths that might look like URLs
131
- fc.constant('http:relative/path'), fc.constant('https:another/path'), fc.constant('http_not_a_url'), fc.constant('https_also_not_url')), (edgeCase) => {
132
- // When detecting path type
133
- const pathInfo = PathTypeDetector.detect(edgeCase);
134
- // Then it should make a consistent decision
135
- expect(pathInfo.type).toBeDefined();
136
- expect([PathType.LOCAL, PathType.HTTP_URL, PathType.HTTPS_URL]).toContain(pathInfo.type);
137
- expect(pathInfo.originalPath).toBe(edgeCase);
138
- expect(pathInfo.normalizedPath).toBe(edgeCase.trim());
139
- }), { numRuns: 20 });
140
- });
141
- });
142
- describe('Property 4: Path Type Detection', () => {
143
- it('should correctly determine path type for HTTP URLs', () => {
144
- fc.assert(fc.property(
145
- // Generate valid HTTP URLs
146
- fc.record({
147
- protocol: fc.constant('http'),
148
- hostname: fc.oneof(fc.constant('localhost'), fc.constant('example.com'), fc.constant('api.example.com'), fc.constant('192.168.1.1')),
149
- port: fc.option(fc.integer({ min: 1, max: 65535 }), { nil: undefined }),
150
- path: fc.option(fc.oneof(fc.constant(''), fc.constant('/'), fc.constant('/path/to/file.json'), fc.constant('/api/v1/docs')), { nil: '' }),
151
- }).map(({ protocol, hostname, port, path }) => {
152
- const portStr = port ? `:${port}` : '';
153
- return `${protocol}://${hostname}${portStr}${path}`;
154
- }), (httpUrl) => {
155
- // When detecting path type for an HTTP URL
156
- const pathInfo = PathTypeDetector.detect(httpUrl);
157
- // Then it should correctly identify it as HTTP_URL
158
- expect(pathInfo.type).toBe(PathType.HTTP_URL);
159
- expect(pathInfo.originalPath).toBe(httpUrl);
160
- expect(pathInfo.normalizedPath).toBe(httpUrl);
161
- }), { numRuns: 100 });
162
- });
163
- it('should correctly determine path type for HTTPS URLs', () => {
164
- fc.assert(fc.property(
165
- // Generate valid HTTPS URLs
166
- fc.record({
167
- protocol: fc.constant('https'),
168
- hostname: fc.oneof(fc.constant('localhost'), fc.constant('example.com'), fc.constant('secure.example.org'), fc.constant('api.github.com')),
169
- port: fc.option(fc.integer({ min: 1, max: 65535 }), { nil: undefined }),
170
- path: fc.option(fc.oneof(fc.constant(''), fc.constant('/'), fc.constant('/path/to/file.json'), fc.constant('/api/v1/docs')), { nil: '' }),
171
- }).map(({ protocol, hostname, port, path }) => {
172
- const portStr = port ? `:${port}` : '';
173
- return `${protocol}://${hostname}${portStr}${path}`;
174
- }), (httpsUrl) => {
175
- // When detecting path type for an HTTPS URL
176
- const pathInfo = PathTypeDetector.detect(httpsUrl);
177
- // Then it should correctly identify it as HTTPS_URL
178
- expect(pathInfo.type).toBe(PathType.HTTPS_URL);
179
- expect(pathInfo.originalPath).toBe(httpsUrl);
180
- expect(pathInfo.normalizedPath).toBe(httpsUrl);
181
- }), { numRuns: 100 });
182
- });
183
- it('should correctly determine path type for local paths', () => {
184
- fc.assert(fc.property(
185
- // Generate various local path formats
186
- fc.oneof(
187
- // Absolute Unix paths
188
- fc.constant('/usr/local/docs/documentation.json'), fc.constant('/home/user/project/docs.json'), fc.constant('/var/lib/data.json'),
189
- // Absolute Windows paths
190
- fc.constant('C:\\Users\\Documents\\file.json'), fc.constant('D:\\Projects\\docs\\data.json'),
191
- // Relative paths
192
- fc.constant('./documentation.json'), fc.constant('../docs/documentation.json'), fc.constant('docs/documentation.json'), fc.constant('./path/to/file.json'), fc.constant('relative/path.json'),
193
- // Paths with special characters
194
- fc.constant('/path/with spaces/file.json'), fc.constant('./path-with-dashes/file.json'), fc.constant('./path_with_underscores/file.json'), fc.constant('/path/with.dots/file.json')), (localPath) => {
195
- // When detecting path type for a local path
196
- const pathInfo = PathTypeDetector.detect(localPath);
197
- // Then it should correctly identify it as LOCAL
198
- expect(pathInfo.type).toBe(PathType.LOCAL);
199
- expect(pathInfo.originalPath).toBe(localPath);
200
- expect(pathInfo.normalizedPath).toBe(localPath.trim());
201
- }), { numRuns: 100 });
202
- });
203
- it('should correctly determine path type for ambiguous strings', () => {
204
- fc.assert(fc.property(
205
- // Generate strings that might be ambiguous
206
- fc.oneof(
207
- // Invalid protocols (should be treated as local)
208
- fc.constant('ftp://example.com/file.json'), fc.constant('file://localhost/path/to/file.json'), fc.constant('ws://example.com/socket'),
209
- // Malformed URLs (should be treated as local)
210
- fc.constant('http://'), fc.constant('https://'), fc.constant('http:/example.com'), fc.constant('http//example.com'),
211
- // Strings that look like URLs but aren't
212
- fc.constant('http:relative/path'), fc.constant('https:another/path'), fc.constant('http_not_a_url'),
213
- // Plain text (should be treated as local)
214
- fc.constant('not a url at all'), fc.constant('just some text'), fc.constant('documentation.json')), (ambiguousPath) => {
215
- // When detecting path type for an ambiguous string
216
- const pathInfo = PathTypeDetector.detect(ambiguousPath);
217
- // Then it should make a consistent determination
218
- expect(pathInfo.type).toBeDefined();
219
- expect([PathType.LOCAL, PathType.HTTP_URL, PathType.HTTPS_URL]).toContain(pathInfo.type);
220
- expect(pathInfo.originalPath).toBe(ambiguousPath);
221
- expect(pathInfo.normalizedPath).toBe(ambiguousPath.trim());
222
- // If it's not a valid HTTP/HTTPS URL, it should be LOCAL
223
- const isRemote = PathTypeDetector.isRemoteUrl(ambiguousPath);
224
- if (!isRemote) {
225
- expect(pathInfo.type).toBe(PathType.LOCAL);
226
- }
227
- }), { numRuns: 100 });
228
- });
229
- it('should handle whitespace consistently across all path types', () => {
230
- fc.assert(fc.property(fc.oneof(fc.constant('http://example.com/file.json'), fc.constant('https://secure.example.com/docs'), fc.constant('./local/path.json'), fc.constant('/absolute/path.json'), fc.constant('relative/path.json')), fc.nat({ max: 5 }), fc.nat({ max: 5 }), (basePath, leadingSpaces, trailingSpaces) => {
231
- // Create path with whitespace
232
- const pathWithWhitespace = ' '.repeat(leadingSpaces) + basePath + ' '.repeat(trailingSpaces);
233
- // When detecting path type
234
- const pathInfo = PathTypeDetector.detect(pathWithWhitespace);
235
- // Then it should normalize the path and detect type correctly
236
- expect(pathInfo.originalPath).toBe(pathWithWhitespace);
237
- expect(pathInfo.normalizedPath).toBe(basePath);
238
- // The type should match what we'd get without whitespace
239
- const expectedPathInfo = PathTypeDetector.detect(basePath);
240
- expect(pathInfo.type).toBe(expectedPathInfo.type);
241
- }), { numRuns: 100 });
242
- });
243
- });
244
- });
245
- //# sourceMappingURL=path-type-detector.property.test.js.map
@@ -1 +0,0 @@
1
- {"version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AAE,GAAG,EAAE,CACjB,CAAC;QACJ,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=path-type-detector.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"path-type-detector.test.d.ts","sourceRoot":"","sources":["../../../src/loader/__tests__/path-type-detector.test.ts"],"names":[],"mappings":""}