keep-a-changelog 2.5.3 → 2.6.0

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 (673) hide show
  1. package/CHANGELOG.md +22 -1
  2. package/README.md +15 -14
  3. package/esm/keep-a-changelog/bin.d.ts +2 -0
  4. package/esm/{bin.js → keep-a-changelog/bin.js} +85 -13
  5. package/esm/{mod.d.ts → keep-a-changelog/mod.d.ts} +1 -1
  6. package/esm/{mod.js → keep-a-changelog/mod.js} +1 -1
  7. package/esm/keep-a-changelog/test/changelog.azdo.md +24 -0
  8. package/esm/keep-a-changelog/test/changelog.sort.md +17 -0
  9. package/esm/std/cli/parse_args.d.ts +193 -0
  10. package/esm/std/cli/parse_args.js +357 -0
  11. package/esm/std/ini/_ini_map.d.ts +90 -0
  12. package/esm/std/ini/_ini_map.js +371 -0
  13. package/esm/std/ini/mod.d.ts +31 -0
  14. package/esm/std/ini/mod.js +33 -0
  15. package/esm/std/ini/parse.d.ts +77 -0
  16. package/esm/std/ini/parse.js +72 -0
  17. package/esm/std/ini/stringify.d.ts +83 -0
  18. package/esm/std/ini/stringify.js +66 -0
  19. package/esm/std/path/_common/assert_path.d.ts +1 -0
  20. package/esm/std/path/_common/assert_path.js +7 -0
  21. package/esm/std/path/_common/basename.d.ts +3 -0
  22. package/esm/std/path/_common/basename.js +40 -0
  23. package/esm/std/path/_common/common.d.ts +1 -0
  24. package/esm/std/path/_common/common.js +23 -0
  25. package/esm/{deps/deno.land/std@0.189.0/path/_constants.js → std/path/_common/constants.js} +1 -1
  26. package/esm/std/path/_common/dirname.d.ts +1 -0
  27. package/esm/std/path/_common/dirname.js +8 -0
  28. package/esm/std/path/_common/format.d.ts +3 -0
  29. package/esm/std/path/_common/format.js +19 -0
  30. package/esm/std/path/_common/from_file_url.d.ts +2 -0
  31. package/esm/std/path/_common/from_file_url.js +9 -0
  32. package/esm/std/path/_common/glob_to_reg_exp.d.ts +34 -0
  33. package/esm/std/path/_common/glob_to_reg_exp.js +234 -0
  34. package/esm/std/path/_common/normalize.d.ts +1 -0
  35. package/esm/std/path/_common/normalize.js +8 -0
  36. package/esm/std/path/_common/normalize_string.d.ts +1 -0
  37. package/esm/std/path/_common/normalize_string.js +77 -0
  38. package/esm/std/path/_common/relative.d.ts +1 -0
  39. package/esm/std/path/_common/relative.js +9 -0
  40. package/esm/std/path/_common/strip_trailing_separators.d.ts +1 -0
  41. package/esm/std/path/_common/strip_trailing_separators.js +19 -0
  42. package/esm/std/path/_common/to_file_url.d.ts +1 -0
  43. package/esm/std/path/_common/to_file_url.js +15 -0
  44. package/esm/std/path/_os.d.ts +1 -0
  45. package/esm/std/path/_os.js +9 -0
  46. package/esm/std/path/basename.d.ts +27 -0
  47. package/esm/std/path/basename.js +36 -0
  48. package/esm/std/path/common.d.ts +27 -0
  49. package/esm/std/path/common.js +33 -0
  50. package/esm/std/path/constants.d.ts +14 -0
  51. package/esm/std/path/constants.js +17 -0
  52. package/esm/std/path/dirname.d.ts +22 -0
  53. package/esm/std/path/dirname.js +29 -0
  54. package/esm/std/path/extname.d.ts +22 -0
  55. package/esm/std/path/extname.js +29 -0
  56. package/esm/std/path/format.d.ts +21 -0
  57. package/esm/std/path/format.js +27 -0
  58. package/esm/std/path/from_file_url.d.ts +22 -0
  59. package/esm/std/path/from_file_url.js +28 -0
  60. package/esm/std/path/glob_to_regexp.d.ts +76 -0
  61. package/esm/std/path/glob_to_regexp.js +83 -0
  62. package/esm/std/path/is_absolute.d.ts +21 -0
  63. package/esm/std/path/is_absolute.js +28 -0
  64. package/esm/std/path/is_glob.d.ts +16 -0
  65. package/esm/std/path/is_glob.js +42 -0
  66. package/esm/std/path/join.d.ts +22 -0
  67. package/esm/std/path/join.js +29 -0
  68. package/esm/std/path/join_globs.d.ts +27 -0
  69. package/esm/std/path/join_globs.js +34 -0
  70. package/esm/std/path/mod.d.ts +53 -0
  71. package/esm/std/path/mod.js +57 -0
  72. package/esm/std/path/normalize.d.ts +26 -0
  73. package/esm/std/path/normalize.js +33 -0
  74. package/esm/std/path/normalize_glob.d.ts +28 -0
  75. package/esm/std/path/normalize_glob.js +35 -0
  76. package/esm/std/path/parse.d.ts +34 -0
  77. package/esm/std/path/parse.js +39 -0
  78. package/esm/std/path/posix/_util.d.ts +1 -0
  79. package/esm/std/path/posix/_util.js +8 -0
  80. package/esm/std/path/posix/basename.d.ts +39 -0
  81. package/esm/std/path/posix/basename.js +49 -0
  82. package/esm/std/path/posix/constants.d.ts +12 -0
  83. package/esm/std/path/posix/constants.js +14 -0
  84. package/esm/std/path/posix/dirname.d.ts +31 -0
  85. package/esm/std/path/posix/dirname.js +62 -0
  86. package/esm/std/path/posix/extname.d.ts +36 -0
  87. package/esm/std/path/posix/extname.js +89 -0
  88. package/esm/std/path/posix/format.d.ts +23 -0
  89. package/esm/std/path/posix/format.js +28 -0
  90. package/esm/std/path/posix/from_file_url.d.ts +16 -0
  91. package/esm/std/path/posix/from_file_url.js +21 -0
  92. package/esm/std/path/posix/glob_to_regexp.d.ts +71 -0
  93. package/{script/deps/deno.land/std@0.189.0/path/glob.d.ts → esm/std/path/posix/glob_to_regexp.js} +28 -29
  94. package/esm/std/path/posix/is_absolute.d.ts +16 -0
  95. package/esm/std/path/posix/is_absolute.js +23 -0
  96. package/esm/std/path/posix/join.d.ts +32 -0
  97. package/esm/std/path/posix/join.js +42 -0
  98. package/esm/std/path/posix/join_globs.d.ts +19 -0
  99. package/esm/std/path/posix/join_globs.js +40 -0
  100. package/esm/std/path/posix/normalize.d.ts +39 -0
  101. package/esm/std/path/posix/normalize.js +57 -0
  102. package/esm/std/path/posix/normalize_glob.d.ts +19 -0
  103. package/esm/std/path/posix/normalize_glob.js +32 -0
  104. package/esm/std/path/posix/parse.d.ts +24 -0
  105. package/esm/std/path/posix/parse.js +115 -0
  106. package/esm/std/path/posix/relative.d.ts +19 -0
  107. package/esm/std/path/posix/relative.js +106 -0
  108. package/esm/std/path/posix/resolve.d.ts +16 -0
  109. package/esm/std/path/posix/resolve.js +59 -0
  110. package/esm/std/path/posix/to_file_url.d.ts +17 -0
  111. package/esm/std/path/posix/to_file_url.js +27 -0
  112. package/esm/std/path/posix/to_namespaced_path.d.ts +15 -0
  113. package/esm/std/path/posix/to_namespaced_path.js +20 -0
  114. package/esm/std/path/relative.d.ts +23 -0
  115. package/esm/std/path/relative.js +30 -0
  116. package/esm/std/path/resolve.d.ts +21 -0
  117. package/esm/std/path/resolve.js +30 -0
  118. package/esm/std/path/to_file_url.d.ts +22 -0
  119. package/esm/std/path/to_file_url.js +28 -0
  120. package/esm/std/path/to_namespaced_path.d.ts +20 -0
  121. package/esm/std/path/to_namespaced_path.js +29 -0
  122. package/esm/{deps/deno.land/std@0.189.0/path/_interface.d.ts → std/path/types.d.ts} +13 -2
  123. package/esm/std/path/types.js +3 -0
  124. package/esm/std/path/windows/_util.d.ts +3 -0
  125. package/esm/std/path/windows/_util.js +15 -0
  126. package/esm/std/path/windows/basename.d.ts +22 -0
  127. package/esm/std/path/windows/basename.js +44 -0
  128. package/esm/std/path/windows/constants.d.ts +12 -0
  129. package/esm/std/path/windows/constants.js +14 -0
  130. package/esm/std/path/windows/dirname.d.ts +19 -0
  131. package/esm/std/path/windows/dirname.js +112 -0
  132. package/esm/std/path/windows/extname.d.ts +19 -0
  133. package/esm/std/path/windows/extname.js +81 -0
  134. package/esm/std/path/windows/format.d.ts +23 -0
  135. package/esm/std/path/windows/format.js +28 -0
  136. package/esm/std/path/windows/from_file_url.d.ts +18 -0
  137. package/esm/std/path/windows/from_file_url.js +30 -0
  138. package/esm/std/path/windows/glob_to_regexp.d.ts +70 -0
  139. package/esm/{deps/deno.land/std@0.189.0/path/glob.d.ts → std/path/windows/glob_to_regexp.js} +28 -29
  140. package/esm/std/path/windows/is_absolute.d.ts +16 -0
  141. package/esm/std/path/windows/is_absolute.js +38 -0
  142. package/esm/std/path/windows/join.d.ts +19 -0
  143. package/esm/std/path/windows/join.js +74 -0
  144. package/esm/std/path/windows/join_globs.d.ts +20 -0
  145. package/esm/std/path/windows/join_globs.js +41 -0
  146. package/esm/std/path/windows/normalize.d.ts +21 -0
  147. package/esm/std/path/windows/normalize.js +134 -0
  148. package/esm/std/path/windows/normalize_glob.d.ts +19 -0
  149. package/esm/std/path/windows/normalize_glob.js +32 -0
  150. package/esm/std/path/windows/parse.d.ts +24 -0
  151. package/esm/std/path/windows/parse.js +176 -0
  152. package/esm/std/path/windows/relative.d.ts +22 -0
  153. package/esm/std/path/windows/relative.js +131 -0
  154. package/esm/std/path/windows/resolve.d.ts +16 -0
  155. package/esm/std/path/windows/resolve.js +154 -0
  156. package/esm/std/path/windows/to_file_url.d.ts +17 -0
  157. package/esm/std/path/windows/to_file_url.js +34 -0
  158. package/esm/std/path/windows/to_namespaced_path.d.ts +16 -0
  159. package/esm/std/path/windows/to_namespaced_path.js +49 -0
  160. package/esm/std/semver/_constants.d.ts +15 -0
  161. package/esm/std/semver/_constants.js +38 -0
  162. package/esm/std/semver/_shared.d.ts +43 -0
  163. package/esm/std/semver/_shared.js +162 -0
  164. package/esm/std/semver/_test_comparator_set.d.ts +2 -0
  165. package/esm/std/semver/_test_comparator_set.js +58 -0
  166. package/esm/std/semver/can_parse.d.ts +16 -0
  167. package/esm/std/semver/can_parse.js +27 -0
  168. package/esm/std/semver/compare.d.ts +27 -0
  169. package/esm/std/semver/compare.js +35 -0
  170. package/esm/std/semver/difference.d.ts +26 -0
  171. package/esm/std/semver/difference.js +41 -0
  172. package/esm/std/semver/equals.d.ts +23 -0
  173. package/esm/std/semver/equals.js +27 -0
  174. package/esm/std/semver/format.d.ts +21 -0
  175. package/esm/std/semver/format.js +32 -0
  176. package/esm/std/semver/format_range.d.ts +17 -0
  177. package/esm/std/semver/format_range.js +27 -0
  178. package/esm/std/semver/greater_or_equal.d.ts +24 -0
  179. package/esm/std/semver/greater_or_equal.js +26 -0
  180. package/esm/std/semver/greater_than.d.ts +24 -0
  181. package/esm/std/semver/greater_than.js +28 -0
  182. package/esm/std/semver/greater_than_range.d.ts +22 -0
  183. package/esm/std/semver/greater_than_range.js +58 -0
  184. package/{script/deps/deno.land/std@0.205.0 → esm/std}/semver/increment.d.ts +27 -5
  185. package/esm/std/semver/increment.js +176 -0
  186. package/esm/std/semver/is_range.d.ts +22 -0
  187. package/esm/std/semver/is_range.js +38 -0
  188. package/{script/deps/deno.land/std@0.205.0 → esm/std}/semver/is_semver.d.ts +16 -0
  189. package/esm/{deps/deno.land/std@0.205.0 → std}/semver/is_semver.js +25 -13
  190. package/esm/std/semver/less_or_equal.d.ts +24 -0
  191. package/esm/std/semver/less_or_equal.js +26 -0
  192. package/esm/std/semver/less_than.d.ts +24 -0
  193. package/esm/std/semver/less_than.js +26 -0
  194. package/esm/std/semver/less_than_range.d.ts +22 -0
  195. package/esm/std/semver/less_than_range.js +58 -0
  196. package/esm/std/semver/max_satisfying.d.ts +21 -0
  197. package/esm/std/semver/max_satisfying.js +30 -0
  198. package/esm/std/semver/min_satisfying.d.ts +21 -0
  199. package/esm/std/semver/min_satisfying.js +30 -0
  200. package/{script/deps/deno.land/std@0.205.0 → esm/std}/semver/mod.d.ts +72 -85
  201. package/esm/{deps/deno.land/std@0.205.0 → std}/semver/mod.js +73 -86
  202. package/esm/std/semver/not_equals.d.ts +23 -0
  203. package/esm/std/semver/not_equals.js +25 -0
  204. package/esm/std/semver/parse.d.ts +24 -0
  205. package/esm/std/semver/parse.js +44 -0
  206. package/esm/std/semver/parse_range.d.ts +26 -0
  207. package/esm/std/semver/parse_range.js +358 -0
  208. package/esm/std/semver/range_intersects.d.ts +24 -0
  209. package/esm/std/semver/range_intersects.js +89 -0
  210. package/esm/std/semver/satisfies.d.ts +23 -0
  211. package/esm/std/semver/satisfies.js +26 -0
  212. package/esm/std/semver/try_parse.d.ts +20 -0
  213. package/esm/std/semver/try_parse.js +27 -0
  214. package/esm/std/semver/try_parse_range.d.ts +22 -0
  215. package/esm/std/semver/try_parse_range.js +33 -0
  216. package/esm/std/semver/types.d.ts +57 -0
  217. package/esm/std/semver/types.js +3 -0
  218. package/package.json +14 -13
  219. package/script/keep-a-changelog/bin.d.ts +2 -0
  220. package/script/{bin.js → keep-a-changelog/bin.js} +86 -14
  221. package/script/{mod.d.ts → keep-a-changelog/mod.d.ts} +1 -1
  222. package/script/{mod.js → keep-a-changelog/mod.js} +1 -1
  223. package/script/keep-a-changelog/test/changelog.azdo.md +24 -0
  224. package/script/keep-a-changelog/test/changelog.sort.md +17 -0
  225. package/script/std/cli/parse_args.d.ts +193 -0
  226. package/script/std/cli/parse_args.js +361 -0
  227. package/script/std/ini/_ini_map.d.ts +90 -0
  228. package/script/std/ini/_ini_map.js +375 -0
  229. package/script/std/ini/mod.d.ts +31 -0
  230. package/script/std/ini/mod.js +49 -0
  231. package/script/std/ini/parse.d.ts +77 -0
  232. package/script/std/ini/parse.js +76 -0
  233. package/script/std/ini/stringify.d.ts +83 -0
  234. package/script/std/ini/stringify.js +70 -0
  235. package/script/std/path/_common/assert_path.d.ts +1 -0
  236. package/script/std/path/_common/assert_path.js +11 -0
  237. package/script/std/path/_common/basename.d.ts +3 -0
  238. package/script/std/path/_common/basename.js +46 -0
  239. package/script/std/path/_common/common.d.ts +1 -0
  240. package/script/std/path/_common/common.js +27 -0
  241. package/script/{deps/deno.land/std@0.189.0/path/_constants.js → std/path/_common/constants.js} +1 -1
  242. package/script/std/path/_common/dirname.d.ts +1 -0
  243. package/script/std/path/_common/dirname.js +12 -0
  244. package/script/std/path/_common/format.d.ts +3 -0
  245. package/script/std/path/_common/format.js +24 -0
  246. package/script/std/path/_common/from_file_url.d.ts +2 -0
  247. package/script/std/path/_common/from_file_url.js +13 -0
  248. package/script/std/path/_common/glob_to_reg_exp.d.ts +34 -0
  249. package/script/std/path/_common/glob_to_reg_exp.js +238 -0
  250. package/script/std/path/_common/normalize.d.ts +1 -0
  251. package/script/std/path/_common/normalize.js +12 -0
  252. package/script/std/path/_common/normalize_string.d.ts +1 -0
  253. package/script/std/path/_common/normalize_string.js +81 -0
  254. package/script/std/path/_common/relative.d.ts +1 -0
  255. package/script/std/path/_common/relative.js +13 -0
  256. package/script/std/path/_common/strip_trailing_separators.d.ts +1 -0
  257. package/script/std/path/_common/strip_trailing_separators.js +23 -0
  258. package/script/std/path/_common/to_file_url.d.ts +1 -0
  259. package/script/std/path/_common/to_file_url.js +19 -0
  260. package/script/std/path/_os.d.ts +1 -0
  261. package/script/{deps/deno.land/std@0.189.0/_util/os.js → std/path/_os.js} +10 -19
  262. package/script/std/path/basename.d.ts +27 -0
  263. package/script/std/path/basename.js +40 -0
  264. package/script/std/path/common.d.ts +27 -0
  265. package/script/std/path/common.js +37 -0
  266. package/script/std/path/constants.d.ts +14 -0
  267. package/script/std/path/constants.js +20 -0
  268. package/script/std/path/dirname.d.ts +22 -0
  269. package/script/std/path/dirname.js +33 -0
  270. package/script/std/path/extname.d.ts +22 -0
  271. package/script/std/path/extname.js +33 -0
  272. package/script/std/path/format.d.ts +21 -0
  273. package/script/std/path/format.js +31 -0
  274. package/script/std/path/from_file_url.d.ts +22 -0
  275. package/script/std/path/from_file_url.js +32 -0
  276. package/script/std/path/glob_to_regexp.d.ts +76 -0
  277. package/script/std/path/glob_to_regexp.js +87 -0
  278. package/script/std/path/is_absolute.d.ts +21 -0
  279. package/script/std/path/is_absolute.js +32 -0
  280. package/script/std/path/is_glob.d.ts +16 -0
  281. package/script/std/path/is_glob.js +46 -0
  282. package/script/std/path/join.d.ts +22 -0
  283. package/script/std/path/join.js +33 -0
  284. package/script/std/path/join_globs.d.ts +27 -0
  285. package/script/std/path/join_globs.js +38 -0
  286. package/script/std/path/mod.d.ts +53 -0
  287. package/script/std/path/mod.js +73 -0
  288. package/script/std/path/normalize.d.ts +26 -0
  289. package/script/std/path/normalize.js +37 -0
  290. package/script/std/path/normalize_glob.d.ts +28 -0
  291. package/script/std/path/normalize_glob.js +39 -0
  292. package/script/std/path/parse.d.ts +34 -0
  293. package/script/std/path/parse.js +43 -0
  294. package/script/std/path/posix/_util.d.ts +1 -0
  295. package/script/std/path/posix/_util.js +12 -0
  296. package/script/std/path/posix/basename.d.ts +39 -0
  297. package/script/std/path/posix/basename.js +53 -0
  298. package/script/std/path/posix/constants.d.ts +12 -0
  299. package/script/std/path/posix/constants.js +17 -0
  300. package/script/std/path/posix/dirname.d.ts +31 -0
  301. package/script/std/path/posix/dirname.js +66 -0
  302. package/script/std/path/posix/extname.d.ts +36 -0
  303. package/script/std/path/posix/extname.js +93 -0
  304. package/script/std/path/posix/format.d.ts +23 -0
  305. package/script/std/path/posix/format.js +32 -0
  306. package/script/std/path/posix/from_file_url.d.ts +16 -0
  307. package/script/std/path/posix/from_file_url.js +25 -0
  308. package/script/std/path/posix/glob_to_regexp.d.ts +71 -0
  309. package/script/std/path/posix/glob_to_regexp.js +86 -0
  310. package/script/std/path/posix/is_absolute.d.ts +16 -0
  311. package/script/std/path/posix/is_absolute.js +27 -0
  312. package/script/std/path/posix/join.d.ts +32 -0
  313. package/script/std/path/posix/join.js +46 -0
  314. package/script/std/path/posix/join_globs.d.ts +19 -0
  315. package/script/std/path/posix/join_globs.js +44 -0
  316. package/script/std/path/posix/normalize.d.ts +39 -0
  317. package/script/std/path/posix/normalize.js +61 -0
  318. package/script/std/path/posix/normalize_glob.d.ts +19 -0
  319. package/script/std/path/posix/normalize_glob.js +36 -0
  320. package/script/std/path/posix/parse.d.ts +24 -0
  321. package/script/std/path/posix/parse.js +119 -0
  322. package/script/std/path/posix/relative.d.ts +19 -0
  323. package/script/std/path/posix/relative.js +110 -0
  324. package/script/std/path/posix/resolve.d.ts +16 -0
  325. package/script/std/path/posix/resolve.js +86 -0
  326. package/script/std/path/posix/to_file_url.d.ts +17 -0
  327. package/script/std/path/posix/to_file_url.js +31 -0
  328. package/script/std/path/posix/to_namespaced_path.d.ts +15 -0
  329. package/script/std/path/posix/to_namespaced_path.js +24 -0
  330. package/script/std/path/relative.d.ts +23 -0
  331. package/script/std/path/relative.js +34 -0
  332. package/script/std/path/resolve.d.ts +21 -0
  333. package/script/std/path/resolve.js +34 -0
  334. package/script/std/path/to_file_url.d.ts +22 -0
  335. package/script/std/path/to_file_url.js +32 -0
  336. package/script/std/path/to_namespaced_path.d.ts +20 -0
  337. package/script/std/path/to_namespaced_path.js +33 -0
  338. package/script/{deps/deno.land/std@0.189.0/path/_interface.d.ts → std/path/types.d.ts} +13 -2
  339. package/script/{deps/deno.land/std@0.189.0/path/_interface.js → std/path/types.js} +1 -1
  340. package/script/std/path/windows/_util.d.ts +3 -0
  341. package/script/std/path/windows/_util.js +21 -0
  342. package/script/std/path/windows/basename.d.ts +22 -0
  343. package/script/std/path/windows/basename.js +48 -0
  344. package/script/std/path/windows/constants.d.ts +12 -0
  345. package/script/std/path/windows/constants.js +17 -0
  346. package/script/std/path/windows/dirname.d.ts +19 -0
  347. package/script/std/path/windows/dirname.js +116 -0
  348. package/script/std/path/windows/extname.d.ts +19 -0
  349. package/script/std/path/windows/extname.js +85 -0
  350. package/script/std/path/windows/format.d.ts +23 -0
  351. package/script/std/path/windows/format.js +32 -0
  352. package/script/std/path/windows/from_file_url.d.ts +18 -0
  353. package/script/std/path/windows/from_file_url.js +34 -0
  354. package/script/std/path/windows/glob_to_regexp.d.ts +70 -0
  355. package/script/std/path/windows/glob_to_regexp.js +86 -0
  356. package/script/std/path/windows/is_absolute.d.ts +16 -0
  357. package/script/std/path/windows/is_absolute.js +42 -0
  358. package/script/std/path/windows/join.d.ts +19 -0
  359. package/script/std/path/windows/join.js +78 -0
  360. package/script/std/path/windows/join_globs.d.ts +20 -0
  361. package/script/std/path/windows/join_globs.js +45 -0
  362. package/script/std/path/windows/normalize.d.ts +21 -0
  363. package/script/std/path/windows/normalize.js +138 -0
  364. package/script/std/path/windows/normalize_glob.d.ts +19 -0
  365. package/script/std/path/windows/normalize_glob.js +36 -0
  366. package/script/std/path/windows/parse.d.ts +24 -0
  367. package/script/std/path/windows/parse.js +180 -0
  368. package/script/std/path/windows/relative.d.ts +22 -0
  369. package/script/std/path/windows/relative.js +135 -0
  370. package/script/std/path/windows/resolve.d.ts +16 -0
  371. package/script/std/path/windows/resolve.js +181 -0
  372. package/script/std/path/windows/to_file_url.d.ts +17 -0
  373. package/script/std/path/windows/to_file_url.js +38 -0
  374. package/script/std/path/windows/to_namespaced_path.d.ts +16 -0
  375. package/script/std/path/windows/to_namespaced_path.js +53 -0
  376. package/script/std/semver/_constants.d.ts +15 -0
  377. package/script/std/semver/_constants.js +41 -0
  378. package/script/std/semver/_shared.d.ts +43 -0
  379. package/script/std/semver/_shared.js +174 -0
  380. package/script/std/semver/_test_comparator_set.d.ts +2 -0
  381. package/script/std/semver/_test_comparator_set.js +62 -0
  382. package/script/std/semver/can_parse.d.ts +16 -0
  383. package/script/std/semver/can_parse.js +31 -0
  384. package/script/std/semver/compare.d.ts +27 -0
  385. package/script/std/semver/compare.js +39 -0
  386. package/script/std/semver/difference.d.ts +26 -0
  387. package/script/std/semver/difference.js +45 -0
  388. package/script/std/semver/equals.d.ts +23 -0
  389. package/script/std/semver/equals.js +31 -0
  390. package/script/std/semver/format.d.ts +21 -0
  391. package/script/std/semver/format.js +36 -0
  392. package/script/std/semver/format_range.d.ts +17 -0
  393. package/script/std/semver/format_range.js +31 -0
  394. package/script/std/semver/greater_or_equal.d.ts +24 -0
  395. package/script/std/semver/greater_or_equal.js +30 -0
  396. package/script/std/semver/greater_than.d.ts +24 -0
  397. package/script/std/semver/greater_than.js +32 -0
  398. package/script/std/semver/greater_than_range.d.ts +22 -0
  399. package/script/std/semver/greater_than_range.js +62 -0
  400. package/{esm/deps/deno.land/std@0.205.0 → script/std}/semver/increment.d.ts +27 -5
  401. package/script/std/semver/increment.js +180 -0
  402. package/script/std/semver/is_range.d.ts +22 -0
  403. package/script/std/semver/is_range.js +42 -0
  404. package/{esm/deps/deno.land/std@0.205.0 → script/std}/semver/is_semver.d.ts +16 -0
  405. package/script/{deps/deno.land/std@0.205.0 → std}/semver/is_semver.js +26 -14
  406. package/script/std/semver/less_or_equal.d.ts +24 -0
  407. package/script/std/semver/less_or_equal.js +30 -0
  408. package/script/std/semver/less_than.d.ts +24 -0
  409. package/script/std/semver/less_than.js +30 -0
  410. package/script/std/semver/less_than_range.d.ts +22 -0
  411. package/script/std/semver/less_than_range.js +62 -0
  412. package/script/std/semver/max_satisfying.d.ts +21 -0
  413. package/script/std/semver/max_satisfying.js +34 -0
  414. package/script/std/semver/min_satisfying.d.ts +21 -0
  415. package/script/std/semver/min_satisfying.js +34 -0
  416. package/{esm/deps/deno.land/std@0.205.0 → script/std}/semver/mod.d.ts +72 -85
  417. package/script/{deps/deno.land/std@0.205.0 → std}/semver/mod.js +73 -87
  418. package/script/std/semver/not_equals.d.ts +23 -0
  419. package/script/std/semver/not_equals.js +29 -0
  420. package/script/std/semver/parse.d.ts +24 -0
  421. package/script/std/semver/parse.js +48 -0
  422. package/script/std/semver/parse_range.d.ts +26 -0
  423. package/script/std/semver/parse_range.js +362 -0
  424. package/script/std/semver/range_intersects.d.ts +24 -0
  425. package/script/std/semver/range_intersects.js +93 -0
  426. package/script/std/semver/satisfies.d.ts +23 -0
  427. package/script/std/semver/satisfies.js +30 -0
  428. package/script/std/semver/try_parse.d.ts +20 -0
  429. package/script/std/semver/try_parse.js +31 -0
  430. package/script/std/semver/try_parse_range.d.ts +22 -0
  431. package/script/std/semver/try_parse_range.js +37 -0
  432. package/script/std/semver/types.d.ts +57 -0
  433. package/script/std/semver/types.js +4 -0
  434. package/esm/bin.d.ts +0 -2
  435. package/esm/deps/deno.land/std@0.189.0/_util/asserts.d.ts +0 -10
  436. package/esm/deps/deno.land/std@0.189.0/_util/asserts.js +0 -21
  437. package/esm/deps/deno.land/std@0.189.0/_util/os.d.ts +0 -4
  438. package/esm/deps/deno.land/std@0.189.0/_util/os.js +0 -18
  439. package/esm/deps/deno.land/std@0.189.0/flags/mod.d.ts +0 -166
  440. package/esm/deps/deno.land/std@0.189.0/flags/mod.js +0 -365
  441. package/esm/deps/deno.land/std@0.189.0/path/_interface.js +0 -3
  442. package/esm/deps/deno.land/std@0.189.0/path/_util.d.ts +0 -11
  443. package/esm/deps/deno.land/std@0.189.0/path/_util.js +0 -161
  444. package/esm/deps/deno.land/std@0.189.0/path/common.d.ts +0 -13
  445. package/esm/deps/deno.land/std@0.189.0/path/common.js +0 -36
  446. package/esm/deps/deno.land/std@0.189.0/path/glob.js +0 -361
  447. package/esm/deps/deno.land/std@0.189.0/path/mod.d.ts +0 -11
  448. package/esm/deps/deno.land/std@0.189.0/path/mod.js +0 -35
  449. package/esm/deps/deno.land/std@0.189.0/path/posix.d.ts +0 -86
  450. package/esm/deps/deno.land/std@0.189.0/path/posix.js +0 -442
  451. package/esm/deps/deno.land/std@0.189.0/path/separator.d.ts +0 -2
  452. package/esm/deps/deno.land/std@0.189.0/path/separator.js +0 -5
  453. package/esm/deps/deno.land/std@0.189.0/path/win32.d.ts +0 -91
  454. package/esm/deps/deno.land/std@0.189.0/path/win32.js +0 -909
  455. package/esm/deps/deno.land/std@0.205.0/semver/_shared.d.ts +0 -42
  456. package/esm/deps/deno.land/std@0.205.0/semver/_shared.js +0 -230
  457. package/esm/deps/deno.land/std@0.205.0/semver/cmp.d.ts +0 -9
  458. package/esm/deps/deno.land/std@0.205.0/semver/cmp.js +0 -35
  459. package/esm/deps/deno.land/std@0.205.0/semver/comparator_format.d.ts +0 -8
  460. package/esm/deps/deno.land/std@0.205.0/semver/comparator_format.js +0 -11
  461. package/esm/deps/deno.land/std@0.205.0/semver/comparator_intersects.d.ts +0 -8
  462. package/esm/deps/deno.land/std@0.205.0/semver/comparator_intersects.js +0 -45
  463. package/esm/deps/deno.land/std@0.205.0/semver/comparator_max.d.ts +0 -9
  464. package/esm/deps/deno.land/std@0.205.0/semver/comparator_max.js +0 -45
  465. package/esm/deps/deno.land/std@0.205.0/semver/comparator_min.d.ts +0 -8
  466. package/esm/deps/deno.land/std@0.205.0/semver/comparator_min.js +0 -32
  467. package/esm/deps/deno.land/std@0.205.0/semver/compare.d.ts +0 -10
  468. package/esm/deps/deno.land/std@0.205.0/semver/compare.js +0 -18
  469. package/esm/deps/deno.land/std@0.205.0/semver/compare_build.d.ts +0 -13
  470. package/esm/deps/deno.land/std@0.205.0/semver/compare_build.js +0 -23
  471. package/esm/deps/deno.land/std@0.205.0/semver/constants.d.ts +0 -42
  472. package/esm/deps/deno.land/std@0.205.0/semver/constants.js +0 -75
  473. package/esm/deps/deno.land/std@0.205.0/semver/difference.d.ts +0 -4
  474. package/esm/deps/deno.land/std@0.205.0/semver/difference.js +0 -26
  475. package/esm/deps/deno.land/std@0.205.0/semver/eq.d.ts +0 -4
  476. package/esm/deps/deno.land/std@0.205.0/semver/eq.js +0 -7
  477. package/esm/deps/deno.land/std@0.205.0/semver/format.d.ts +0 -12
  478. package/esm/deps/deno.land/std@0.205.0/semver/format.js +0 -54
  479. package/esm/deps/deno.land/std@0.205.0/semver/gt.d.ts +0 -3
  480. package/esm/deps/deno.land/std@0.205.0/semver/gt.js +0 -5
  481. package/esm/deps/deno.land/std@0.205.0/semver/gte.d.ts +0 -3
  482. package/esm/deps/deno.land/std@0.205.0/semver/gte.js +0 -5
  483. package/esm/deps/deno.land/std@0.205.0/semver/gtr.d.ts +0 -3
  484. package/esm/deps/deno.land/std@0.205.0/semver/gtr.js +0 -5
  485. package/esm/deps/deno.land/std@0.205.0/semver/increment.js +0 -207
  486. package/esm/deps/deno.land/std@0.205.0/semver/is_semver_comparator.d.ts +0 -12
  487. package/esm/deps/deno.land/std@0.205.0/semver/is_semver_comparator.js +0 -31
  488. package/esm/deps/deno.land/std@0.205.0/semver/is_semver_range.d.ts +0 -12
  489. package/esm/deps/deno.land/std@0.205.0/semver/is_semver_range.js +0 -22
  490. package/esm/deps/deno.land/std@0.205.0/semver/lt.d.ts +0 -3
  491. package/esm/deps/deno.land/std@0.205.0/semver/lt.js +0 -5
  492. package/esm/deps/deno.land/std@0.205.0/semver/lte.d.ts +0 -3
  493. package/esm/deps/deno.land/std@0.205.0/semver/lte.js +0 -5
  494. package/esm/deps/deno.land/std@0.205.0/semver/ltr.d.ts +0 -3
  495. package/esm/deps/deno.land/std@0.205.0/semver/ltr.js +0 -5
  496. package/esm/deps/deno.land/std@0.205.0/semver/max_satisfying.d.ts +0 -9
  497. package/esm/deps/deno.land/std@0.205.0/semver/max_satisfying.js +0 -14
  498. package/esm/deps/deno.land/std@0.205.0/semver/min_satisfying.d.ts +0 -9
  499. package/esm/deps/deno.land/std@0.205.0/semver/min_satisfying.js +0 -14
  500. package/esm/deps/deno.land/std@0.205.0/semver/neq.d.ts +0 -3
  501. package/esm/deps/deno.land/std@0.205.0/semver/neq.js +0 -5
  502. package/esm/deps/deno.land/std@0.205.0/semver/outside.d.ts +0 -11
  503. package/esm/deps/deno.land/std@0.205.0/semver/outside.js +0 -67
  504. package/esm/deps/deno.land/std@0.205.0/semver/parse.d.ts +0 -8
  505. package/esm/deps/deno.land/std@0.205.0/semver/parse.js +0 -66
  506. package/esm/deps/deno.land/std@0.205.0/semver/parse_comparator.d.ts +0 -7
  507. package/esm/deps/deno.land/std@0.205.0/semver/parse_comparator.js +0 -28
  508. package/esm/deps/deno.land/std@0.205.0/semver/parse_range.d.ts +0 -7
  509. package/esm/deps/deno.land/std@0.205.0/semver/parse_range.js +0 -292
  510. package/esm/deps/deno.land/std@0.205.0/semver/range_format.d.ts +0 -8
  511. package/esm/deps/deno.land/std@0.205.0/semver/range_format.js +0 -11
  512. package/esm/deps/deno.land/std@0.205.0/semver/range_intersects.d.ts +0 -8
  513. package/esm/deps/deno.land/std@0.205.0/semver/range_intersects.js +0 -35
  514. package/esm/deps/deno.land/std@0.205.0/semver/range_max.d.ts +0 -7
  515. package/esm/deps/deno.land/std@0.205.0/semver/range_max.js +0 -15
  516. package/esm/deps/deno.land/std@0.205.0/semver/range_min.d.ts +0 -7
  517. package/esm/deps/deno.land/std@0.205.0/semver/range_min.js +0 -14
  518. package/esm/deps/deno.land/std@0.205.0/semver/rcompare.d.ts +0 -8
  519. package/esm/deps/deno.land/std@0.205.0/semver/rcompare.js +0 -10
  520. package/esm/deps/deno.land/std@0.205.0/semver/rsort.d.ts +0 -3
  521. package/esm/deps/deno.land/std@0.205.0/semver/rsort.js +0 -5
  522. package/esm/deps/deno.land/std@0.205.0/semver/sort.d.ts +0 -3
  523. package/esm/deps/deno.land/std@0.205.0/semver/sort.js +0 -5
  524. package/esm/deps/deno.land/std@0.205.0/semver/test_comparator.d.ts +0 -8
  525. package/esm/deps/deno.land/std@0.205.0/semver/test_comparator.js +0 -10
  526. package/esm/deps/deno.land/std@0.205.0/semver/test_range.d.ts +0 -8
  527. package/esm/deps/deno.land/std@0.205.0/semver/test_range.js +0 -16
  528. package/esm/deps/deno.land/std@0.205.0/semver/types.d.ts +0 -44
  529. package/esm/deps/deno.land/std@0.205.0/semver/types.js +0 -2
  530. package/esm/deps/deno.land/std@0.51.0/fs/eol.d.ts +0 -12
  531. package/esm/deps/deno.land/std@0.51.0/fs/eol.js +0 -29
  532. package/esm/deps/deno.land/x/ini@v2.1.0/ini.d.ts +0 -53
  533. package/esm/deps/deno.land/x/ini@v2.1.0/ini.js +0 -226
  534. package/esm/deps/deno.land/x/ini@v2.1.0/mod.d.ts +0 -1
  535. package/esm/deps/deno.land/x/ini@v2.1.0/mod.js +0 -1
  536. package/esm/src/Change.d.ts +0 -8
  537. package/esm/src/Change.js +0 -48
  538. package/esm/src/Changelog.d.ts +0 -23
  539. package/esm/src/Changelog.js +0 -183
  540. package/esm/src/Release.d.ts +0 -28
  541. package/esm/src/Release.js +0 -220
  542. package/esm/src/deps.d.ts +0 -2
  543. package/esm/src/deps.js +0 -1
  544. package/esm/src/parser.d.ts +0 -11
  545. package/esm/src/parser.js +0 -178
  546. package/esm/src/settings.d.ts +0 -17
  547. package/esm/src/settings.js +0 -47
  548. package/script/bin.d.ts +0 -2
  549. package/script/deps/deno.land/std@0.189.0/_util/asserts.d.ts +0 -10
  550. package/script/deps/deno.land/std@0.189.0/_util/asserts.js +0 -27
  551. package/script/deps/deno.land/std@0.189.0/_util/os.d.ts +0 -4
  552. package/script/deps/deno.land/std@0.189.0/flags/mod.d.ts +0 -166
  553. package/script/deps/deno.land/std@0.189.0/flags/mod.js +0 -369
  554. package/script/deps/deno.land/std@0.189.0/path/_util.d.ts +0 -11
  555. package/script/deps/deno.land/std@0.189.0/path/_util.js +0 -174
  556. package/script/deps/deno.land/std@0.189.0/path/common.d.ts +0 -13
  557. package/script/deps/deno.land/std@0.189.0/path/common.js +0 -40
  558. package/script/deps/deno.land/std@0.189.0/path/glob.js +0 -391
  559. package/script/deps/deno.land/std@0.189.0/path/mod.d.ts +0 -11
  560. package/script/deps/deno.land/std@0.189.0/path/mod.js +0 -66
  561. package/script/deps/deno.land/std@0.189.0/path/posix.d.ts +0 -86
  562. package/script/deps/deno.land/std@0.189.0/path/posix.js +0 -481
  563. package/script/deps/deno.land/std@0.189.0/path/separator.d.ts +0 -2
  564. package/script/deps/deno.land/std@0.189.0/path/separator.js +0 -8
  565. package/script/deps/deno.land/std@0.189.0/path/win32.d.ts +0 -91
  566. package/script/deps/deno.land/std@0.189.0/path/win32.js +0 -948
  567. package/script/deps/deno.land/std@0.205.0/semver/_shared.d.ts +0 -42
  568. package/script/deps/deno.land/std@0.205.0/semver/_shared.js +0 -248
  569. package/script/deps/deno.land/std@0.205.0/semver/cmp.d.ts +0 -9
  570. package/script/deps/deno.land/std@0.205.0/semver/cmp.js +0 -39
  571. package/script/deps/deno.land/std@0.205.0/semver/comparator_format.d.ts +0 -8
  572. package/script/deps/deno.land/std@0.205.0/semver/comparator_format.js +0 -15
  573. package/script/deps/deno.land/std@0.205.0/semver/comparator_intersects.d.ts +0 -8
  574. package/script/deps/deno.land/std@0.205.0/semver/comparator_intersects.js +0 -49
  575. package/script/deps/deno.land/std@0.205.0/semver/comparator_max.d.ts +0 -9
  576. package/script/deps/deno.land/std@0.205.0/semver/comparator_max.js +0 -49
  577. package/script/deps/deno.land/std@0.205.0/semver/comparator_min.d.ts +0 -8
  578. package/script/deps/deno.land/std@0.205.0/semver/comparator_min.js +0 -36
  579. package/script/deps/deno.land/std@0.205.0/semver/compare.d.ts +0 -10
  580. package/script/deps/deno.land/std@0.205.0/semver/compare.js +0 -22
  581. package/script/deps/deno.land/std@0.205.0/semver/compare_build.d.ts +0 -13
  582. package/script/deps/deno.land/std@0.205.0/semver/compare_build.js +0 -27
  583. package/script/deps/deno.land/std@0.205.0/semver/constants.d.ts +0 -42
  584. package/script/deps/deno.land/std@0.205.0/semver/constants.js +0 -78
  585. package/script/deps/deno.land/std@0.205.0/semver/difference.d.ts +0 -4
  586. package/script/deps/deno.land/std@0.205.0/semver/difference.js +0 -30
  587. package/script/deps/deno.land/std@0.205.0/semver/eq.d.ts +0 -4
  588. package/script/deps/deno.land/std@0.205.0/semver/eq.js +0 -11
  589. package/script/deps/deno.land/std@0.205.0/semver/format.d.ts +0 -12
  590. package/script/deps/deno.land/std@0.205.0/semver/format.js +0 -58
  591. package/script/deps/deno.land/std@0.205.0/semver/gt.d.ts +0 -3
  592. package/script/deps/deno.land/std@0.205.0/semver/gt.js +0 -9
  593. package/script/deps/deno.land/std@0.205.0/semver/gte.d.ts +0 -3
  594. package/script/deps/deno.land/std@0.205.0/semver/gte.js +0 -9
  595. package/script/deps/deno.land/std@0.205.0/semver/gtr.d.ts +0 -3
  596. package/script/deps/deno.land/std@0.205.0/semver/gtr.js +0 -9
  597. package/script/deps/deno.land/std@0.205.0/semver/increment.js +0 -211
  598. package/script/deps/deno.land/std@0.205.0/semver/is_semver_comparator.d.ts +0 -12
  599. package/script/deps/deno.land/std@0.205.0/semver/is_semver_comparator.js +0 -35
  600. package/script/deps/deno.land/std@0.205.0/semver/is_semver_range.d.ts +0 -12
  601. package/script/deps/deno.land/std@0.205.0/semver/is_semver_range.js +0 -26
  602. package/script/deps/deno.land/std@0.205.0/semver/lt.d.ts +0 -3
  603. package/script/deps/deno.land/std@0.205.0/semver/lt.js +0 -9
  604. package/script/deps/deno.land/std@0.205.0/semver/lte.d.ts +0 -3
  605. package/script/deps/deno.land/std@0.205.0/semver/lte.js +0 -9
  606. package/script/deps/deno.land/std@0.205.0/semver/ltr.d.ts +0 -3
  607. package/script/deps/deno.land/std@0.205.0/semver/ltr.js +0 -9
  608. package/script/deps/deno.land/std@0.205.0/semver/max_satisfying.d.ts +0 -9
  609. package/script/deps/deno.land/std@0.205.0/semver/max_satisfying.js +0 -18
  610. package/script/deps/deno.land/std@0.205.0/semver/min_satisfying.d.ts +0 -9
  611. package/script/deps/deno.land/std@0.205.0/semver/min_satisfying.js +0 -18
  612. package/script/deps/deno.land/std@0.205.0/semver/neq.d.ts +0 -3
  613. package/script/deps/deno.land/std@0.205.0/semver/neq.js +0 -9
  614. package/script/deps/deno.land/std@0.205.0/semver/outside.d.ts +0 -11
  615. package/script/deps/deno.land/std@0.205.0/semver/outside.js +0 -71
  616. package/script/deps/deno.land/std@0.205.0/semver/parse.d.ts +0 -8
  617. package/script/deps/deno.land/std@0.205.0/semver/parse.js +0 -70
  618. package/script/deps/deno.land/std@0.205.0/semver/parse_comparator.d.ts +0 -7
  619. package/script/deps/deno.land/std@0.205.0/semver/parse_comparator.js +0 -32
  620. package/script/deps/deno.land/std@0.205.0/semver/parse_range.d.ts +0 -7
  621. package/script/deps/deno.land/std@0.205.0/semver/parse_range.js +0 -296
  622. package/script/deps/deno.land/std@0.205.0/semver/range_format.d.ts +0 -8
  623. package/script/deps/deno.land/std@0.205.0/semver/range_format.js +0 -15
  624. package/script/deps/deno.land/std@0.205.0/semver/range_intersects.d.ts +0 -8
  625. package/script/deps/deno.land/std@0.205.0/semver/range_intersects.js +0 -39
  626. package/script/deps/deno.land/std@0.205.0/semver/range_max.d.ts +0 -7
  627. package/script/deps/deno.land/std@0.205.0/semver/range_max.js +0 -19
  628. package/script/deps/deno.land/std@0.205.0/semver/range_min.d.ts +0 -7
  629. package/script/deps/deno.land/std@0.205.0/semver/range_min.js +0 -18
  630. package/script/deps/deno.land/std@0.205.0/semver/rcompare.d.ts +0 -8
  631. package/script/deps/deno.land/std@0.205.0/semver/rcompare.js +0 -14
  632. package/script/deps/deno.land/std@0.205.0/semver/rsort.d.ts +0 -3
  633. package/script/deps/deno.land/std@0.205.0/semver/rsort.js +0 -9
  634. package/script/deps/deno.land/std@0.205.0/semver/sort.d.ts +0 -3
  635. package/script/deps/deno.land/std@0.205.0/semver/sort.js +0 -9
  636. package/script/deps/deno.land/std@0.205.0/semver/test_comparator.d.ts +0 -8
  637. package/script/deps/deno.land/std@0.205.0/semver/test_comparator.js +0 -14
  638. package/script/deps/deno.land/std@0.205.0/semver/test_range.d.ts +0 -8
  639. package/script/deps/deno.land/std@0.205.0/semver/test_range.js +0 -20
  640. package/script/deps/deno.land/std@0.205.0/semver/types.d.ts +0 -44
  641. package/script/deps/deno.land/std@0.205.0/semver/types.js +0 -3
  642. package/script/deps/deno.land/std@0.51.0/fs/eol.d.ts +0 -12
  643. package/script/deps/deno.land/std@0.51.0/fs/eol.js +0 -34
  644. package/script/deps/deno.land/x/ini@v2.1.0/ini.d.ts +0 -53
  645. package/script/deps/deno.land/x/ini@v2.1.0/ini.js +0 -256
  646. package/script/deps/deno.land/x/ini@v2.1.0/mod.d.ts +0 -1
  647. package/script/deps/deno.land/x/ini@v2.1.0/mod.js +0 -17
  648. package/script/src/Change.d.ts +0 -8
  649. package/script/src/Change.js +0 -51
  650. package/script/src/Changelog.d.ts +0 -23
  651. package/script/src/Changelog.js +0 -186
  652. package/script/src/Release.d.ts +0 -28
  653. package/script/src/Release.js +0 -226
  654. package/script/src/deps.d.ts +0 -2
  655. package/script/src/deps.js +0 -8
  656. package/script/src/parser.d.ts +0 -11
  657. package/script/src/parser.js +0 -184
  658. package/script/src/settings.d.ts +0 -17
  659. package/script/src/settings.js +0 -51
  660. /package/esm/{test → keep-a-changelog/test}/changelog.custom.type.md +0 -0
  661. /package/esm/{test → keep-a-changelog/test}/changelog.expected.linted.md +0 -0
  662. /package/esm/{test → keep-a-changelog/test}/changelog.expected.md +0 -0
  663. /package/esm/{test → keep-a-changelog/test}/changelog.gitlab.md +0 -0
  664. /package/esm/{test → keep-a-changelog/test}/changelog.md +0 -0
  665. /package/esm/{test → keep-a-changelog/test}/empty.expected.md +0 -0
  666. /package/esm/{deps/deno.land/std@0.189.0/path/_constants.d.ts → std/path/_common/constants.d.ts} +0 -0
  667. /package/script/{test → keep-a-changelog/test}/changelog.custom.type.md +0 -0
  668. /package/script/{test → keep-a-changelog/test}/changelog.expected.linted.md +0 -0
  669. /package/script/{test → keep-a-changelog/test}/changelog.expected.md +0 -0
  670. /package/script/{test → keep-a-changelog/test}/changelog.gitlab.md +0 -0
  671. /package/script/{test → keep-a-changelog/test}/changelog.md +0 -0
  672. /package/script/{test → keep-a-changelog/test}/empty.expected.md +0 -0
  673. /package/script/{deps/deno.land/std@0.189.0/path/_constants.d.ts → std/path/_common/constants.d.ts} +0 -0
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.neq = void 0;
4
- const compare_js_1 = require("./compare.js");
5
- /** Not equal comparison */
6
- function neq(s0, s1) {
7
- return (0, compare_js_1.compare)(s0, s1) !== 0;
8
- }
9
- exports.neq = neq;
@@ -1,11 +0,0 @@
1
- import type { SemVer, SemVerRange } from "./types.js";
2
- /**
3
- * Returns true if the version is outside the bounds of the range in either the
4
- * high or low direction. The hilo argument must be either the string '>' or
5
- * '<'. (This is the function called by {@linkcode gtr} and {@linkcode ltr}.)
6
- * @param version The version to compare to the range
7
- * @param range The range of possible versions
8
- * @param hilo The operator for the comparison or both if undefined.
9
- * @returns True if the version is outside of the range based on the operator
10
- */
11
- export declare function outside(version: SemVer, range: SemVerRange, hilo?: ">" | "<"): boolean;
@@ -1,71 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.outside = void 0;
4
- // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
5
- const gt_js_1 = require("./gt.js");
6
- const gte_js_1 = require("./gte.js");
7
- const lte_js_1 = require("./lte.js");
8
- const lt_js_1 = require("./lt.js");
9
- const constants_js_1 = require("./constants.js");
10
- const test_range_js_1 = require("./test_range.js");
11
- /**
12
- * Returns true if the version is outside the bounds of the range in either the
13
- * high or low direction. The hilo argument must be either the string '>' or
14
- * '<'. (This is the function called by {@linkcode gtr} and {@linkcode ltr}.)
15
- * @param version The version to compare to the range
16
- * @param range The range of possible versions
17
- * @param hilo The operator for the comparison or both if undefined.
18
- * @returns True if the version is outside of the range based on the operator
19
- */
20
- function outside(version, range, hilo) {
21
- if (!hilo) {
22
- return outside(version, range, ">") ||
23
- outside(version, range, "<");
24
- }
25
- const [gtfn, ltefn, ltfn, comp, ecomp] = (() => {
26
- switch (hilo) {
27
- case ">":
28
- return [gt_js_1.gt, lte_js_1.lte, lt_js_1.lt, ">", ">="];
29
- case "<":
30
- return [lt_js_1.lt, gte_js_1.gte, gt_js_1.gt, "<", "<="];
31
- }
32
- })();
33
- if ((0, test_range_js_1.testRange)(version, range)) {
34
- return false;
35
- }
36
- for (const comparators of range.ranges) {
37
- let high = undefined;
38
- let low = undefined;
39
- for (let comparator of comparators) {
40
- if (comparator.semver === constants_js_1.ANY) {
41
- comparator = constants_js_1.ALL;
42
- }
43
- high = high || comparator;
44
- low = low || comparator;
45
- if (gtfn(comparator.semver, high.semver)) {
46
- high = comparator;
47
- }
48
- else if (ltfn(comparator.semver, low.semver)) {
49
- low = comparator;
50
- }
51
- }
52
- if (!high || !low)
53
- return true;
54
- // If the edge version comparator has a operator then our version
55
- // isn't outside it
56
- if (high.operator === comp || high.operator === ecomp) {
57
- return false;
58
- }
59
- // If the lowest version comparator has an operator and our version
60
- // is less than it then it isn't higher than the range
61
- if ((!low.operator || low.operator === comp) &&
62
- ltefn(version, low.semver)) {
63
- return false;
64
- }
65
- else if (low.operator === ecomp && ltfn(version, low.semver)) {
66
- return false;
67
- }
68
- }
69
- return true;
70
- }
71
- exports.outside = outside;
@@ -1,8 +0,0 @@
1
- import { SemVer } from "./types.js";
2
- /**
3
- * Attempt to parse a string as a semantic version, returning either a `SemVer`
4
- * object or throws a TypeError.
5
- * @param version The version string to parse
6
- * @returns A valid SemVer
7
- */
8
- export declare function parse(version: string | SemVer): SemVer;
@@ -1,70 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.parse = void 0;
4
- const _shared_js_1 = require("./_shared.js");
5
- const is_semver_js_1 = require("./is_semver.js");
6
- const _shared_js_2 = require("./_shared.js");
7
- /**
8
- * Attempt to parse a string as a semantic version, returning either a `SemVer`
9
- * object or throws a TypeError.
10
- * @param version The version string to parse
11
- * @returns A valid SemVer
12
- */
13
- function parse(version) {
14
- if (typeof version === "object") {
15
- if ((0, is_semver_js_1.isSemVer)(version)) {
16
- return version;
17
- }
18
- else {
19
- throw new TypeError(`not a valid SemVer object`);
20
- }
21
- }
22
- if (typeof version !== "string") {
23
- throw new TypeError(`version must be a string`);
24
- }
25
- if (version.length > _shared_js_2.MAX_LENGTH) {
26
- throw new TypeError(`version is longer than ${_shared_js_2.MAX_LENGTH} characters`);
27
- }
28
- version = version.trim();
29
- const r = _shared_js_2.re[_shared_js_2.FULL];
30
- const m = version.match(r);
31
- if (!m) {
32
- throw new TypeError(`Invalid Version: ${version}`);
33
- }
34
- // these are actually numbers
35
- const major = parseInt(m[1]);
36
- const minor = parseInt(m[2]);
37
- const patch = parseInt(m[3]);
38
- if (major > Number.MAX_SAFE_INTEGER || major < 0) {
39
- throw new TypeError("Invalid major version");
40
- }
41
- if (minor > Number.MAX_SAFE_INTEGER || minor < 0) {
42
- throw new TypeError("Invalid minor version");
43
- }
44
- if (patch > Number.MAX_SAFE_INTEGER || patch < 0) {
45
- throw new TypeError("Invalid patch version");
46
- }
47
- // number-ify any prerelease numeric ids
48
- const numericIdentifier = new RegExp(`^(${_shared_js_2.src[_shared_js_2.NUMERICIDENTIFIER]})$`);
49
- const prerelease = (m[4] ?? "")
50
- .split(".")
51
- .filter((id) => id)
52
- .map((id) => {
53
- const num = parseInt(id);
54
- if (id.match(numericIdentifier) && (0, _shared_js_1.isValidNumber)(num)) {
55
- return num;
56
- }
57
- else {
58
- return id;
59
- }
60
- });
61
- const build = m[5]?.split(".")?.filter((m) => m) ?? [];
62
- return {
63
- major,
64
- minor,
65
- patch,
66
- prerelease,
67
- build,
68
- };
69
- }
70
- exports.parse = parse;
@@ -1,7 +0,0 @@
1
- import type { SemVerComparator } from "./types.js";
2
- /**
3
- * Parses a comparator string into a valid SemVerComparator.
4
- * @param comparator
5
- * @returns A valid SemVerComparator
6
- */
7
- export declare function parseComparator(comparator: string): SemVerComparator;
@@ -1,32 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.parseComparator = void 0;
4
- // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
5
- const parse_js_1 = require("./parse.js");
6
- const _shared_js_1 = require("./_shared.js");
7
- const comparator_max_js_1 = require("./comparator_max.js");
8
- const comparator_min_js_1 = require("./comparator_min.js");
9
- const constants_js_1 = require("./constants.js");
10
- /**
11
- * Parses a comparator string into a valid SemVerComparator.
12
- * @param comparator
13
- * @returns A valid SemVerComparator
14
- */
15
- function parseComparator(comparator) {
16
- const r = _shared_js_1.re[_shared_js_1.COMPARATOR];
17
- const m = comparator.match(r);
18
- if (!m) {
19
- return constants_js_1.NONE;
20
- }
21
- const operator = (m[1] ?? "");
22
- const semver = m[2] ? (0, parse_js_1.parse)(m[2]) : constants_js_1.ANY;
23
- const min = (0, comparator_min_js_1.comparatorMin)(semver, operator);
24
- const max = (0, comparator_max_js_1.comparatorMax)(semver, operator);
25
- return {
26
- operator,
27
- semver,
28
- min,
29
- max,
30
- };
31
- }
32
- exports.parseComparator = parseComparator;
@@ -1,7 +0,0 @@
1
- import type { SemVerRange } from "./types.js";
2
- /**
3
- * Parses a range string into a SemVerRange object or throws a TypeError.
4
- * @param range The range string
5
- * @returns A valid semantic version range
6
- */
7
- export declare function parseRange(range: string): SemVerRange;
@@ -1,296 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.parseRange = void 0;
4
- // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
5
- const constants_js_1 = require("./constants.js");
6
- const _shared_js_1 = require("./_shared.js");
7
- const parse_comparator_js_1 = require("./parse_comparator.js");
8
- // ~, ~> --> * (any, kinda silly)
9
- // ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0
10
- // ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0
11
- // ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0
12
- // ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0
13
- // ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0
14
- function replaceTildes(comp) {
15
- return comp
16
- .trim()
17
- .split(/\s+/)
18
- .map((comp) => replaceTilde(comp))
19
- .join(" ");
20
- }
21
- function replaceTilde(comp) {
22
- const r = _shared_js_1.re[_shared_js_1.TILDE];
23
- return comp.replace(r, (_, M, m, p, pr) => {
24
- let ret;
25
- if (isX(M)) {
26
- ret = "";
27
- }
28
- else if (isX(m)) {
29
- ret = ">=" + M + ".0.0 <" + (+M + 1) + ".0.0";
30
- }
31
- else if (isX(p)) {
32
- // ~1.2 == >=1.2.0 <1.3.0
33
- ret = ">=" + M + "." + m + ".0 <" + M + "." + (+m + 1) + ".0";
34
- }
35
- else if (pr) {
36
- ret = ">=" +
37
- M +
38
- "." +
39
- m +
40
- "." +
41
- p +
42
- "-" +
43
- pr +
44
- " <" +
45
- M +
46
- "." +
47
- (+m + 1) +
48
- ".0";
49
- }
50
- else {
51
- // ~1.2.3 == >=1.2.3 <1.3.0
52
- ret = ">=" + M + "." + m + "." + p + " <" + M + "." + (+m + 1) + ".0";
53
- }
54
- return ret;
55
- });
56
- }
57
- // ^ --> * (any, kinda silly)
58
- // ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0
59
- // ^2.0, ^2.0.x --> >=2.0.0 <3.0.0
60
- // ^1.2, ^1.2.x --> >=1.2.0 <2.0.0
61
- // ^1.2.3 --> >=1.2.3 <2.0.0
62
- // ^1.2.0 --> >=1.2.0 <2.0.0
63
- function replaceCarets(comp) {
64
- return comp
65
- .trim()
66
- .split(/\s+/)
67
- .map((comp) => replaceCaret(comp))
68
- .join(" ");
69
- }
70
- function replaceCaret(comp) {
71
- const r = _shared_js_1.re[_shared_js_1.CARET];
72
- return comp.replace(r, (_, M, m, p, pr) => {
73
- let ret;
74
- if (isX(M)) {
75
- ret = "";
76
- }
77
- else if (isX(m)) {
78
- ret = ">=" + M + ".0.0 <" + (+M + 1) + ".0.0";
79
- }
80
- else if (isX(p)) {
81
- if (M === "0") {
82
- ret = ">=" + M + "." + m + ".0 <" + M + "." + (+m + 1) + ".0";
83
- }
84
- else {
85
- ret = ">=" + M + "." + m + ".0 <" + (+M + 1) + ".0.0";
86
- }
87
- }
88
- else if (pr) {
89
- if (M === "0") {
90
- if (m === "0") {
91
- ret = ">=" +
92
- M +
93
- "." +
94
- m +
95
- "." +
96
- p +
97
- "-" +
98
- pr +
99
- " <" +
100
- M +
101
- "." +
102
- m +
103
- "." +
104
- (+p + 1);
105
- }
106
- else {
107
- ret = ">=" +
108
- M +
109
- "." +
110
- m +
111
- "." +
112
- p +
113
- "-" +
114
- pr +
115
- " <" +
116
- M +
117
- "." +
118
- (+m + 1) +
119
- ".0";
120
- }
121
- }
122
- else {
123
- ret = ">=" + M + "." + m + "." + p + "-" + pr + " <" + (+M + 1) +
124
- ".0.0";
125
- }
126
- }
127
- else {
128
- if (M === "0") {
129
- if (m === "0") {
130
- ret = ">=" + M + "." + m + "." + p + " <" + M + "." + m + "." +
131
- (+p + 1);
132
- }
133
- else {
134
- ret = ">=" + M + "." + m + "." + p + " <" + M + "." + (+m + 1) + ".0";
135
- }
136
- }
137
- else {
138
- ret = ">=" + M + "." + m + "." + p + " <" + (+M + 1) + ".0.0";
139
- }
140
- }
141
- return ret;
142
- });
143
- }
144
- function replaceXRanges(comp) {
145
- return comp
146
- .split(/\s+/)
147
- .map((comp) => replaceXRange(comp))
148
- .join(" ");
149
- }
150
- function replaceXRange(comp) {
151
- comp = comp.trim();
152
- const r = _shared_js_1.re[_shared_js_1.XRANGE];
153
- return comp.replace(r, (ret, gtlt, M, m, p, _pr) => {
154
- const xM = isX(M);
155
- const xm = xM || isX(m);
156
- const xp = xm || isX(p);
157
- const anyX = xp;
158
- if (gtlt === "=" && anyX) {
159
- gtlt = "";
160
- }
161
- if (xM) {
162
- if (gtlt === ">" || gtlt === "<") {
163
- // nothing is allowed
164
- ret = "<0.0.0";
165
- }
166
- else {
167
- // nothing is forbidden
168
- ret = "*";
169
- }
170
- }
171
- else if (gtlt && anyX) {
172
- // we know patch is an x, because we have any x at all.
173
- // replace X with 0
174
- if (xm) {
175
- m = 0;
176
- }
177
- p = 0;
178
- if (gtlt === ">") {
179
- // >1 => >=2.0.0
180
- // >1.2 => >=1.3.0
181
- // >1.2.3 => >= 1.2.4
182
- gtlt = ">=";
183
- if (xm) {
184
- M = +M + 1;
185
- m = 0;
186
- p = 0;
187
- }
188
- else {
189
- m = +m + 1;
190
- p = 0;
191
- }
192
- }
193
- else if (gtlt === "<=") {
194
- // <=0.7.x is actually <0.8.0, since any 0.7.x should
195
- // pass. Similarly, <=7.x is actually <8.0.0, etc.
196
- gtlt = "<";
197
- if (xm) {
198
- M = +M + 1;
199
- }
200
- else {
201
- m = +m + 1;
202
- }
203
- }
204
- ret = gtlt + M + "." + m + "." + p;
205
- }
206
- else if (xm) {
207
- ret = ">=" + M + ".0.0 <" + (+M + 1) + ".0.0";
208
- }
209
- else if (xp) {
210
- ret = ">=" + M + "." + m + ".0 <" + M + "." + (+m + 1) + ".0";
211
- }
212
- return ret;
213
- });
214
- }
215
- // Because * is AND-ed with everything else in the comparator,
216
- // and '' means "any version", just remove the *s entirely.
217
- function replaceStars(comp) {
218
- return comp.trim().replace(_shared_js_1.re[_shared_js_1.STAR], "");
219
- }
220
- // This function is passed to string.replace(re[HYPHENRANGE])
221
- // M, m, patch, prerelease, build
222
- // 1.2 - 3.4.5 -> >=1.2.0 <=3.4.5
223
- // 1.2.3 - 3.4 -> >=1.2.0 <3.5.0 Any 3.4.x will do
224
- // 1.2 - 3.4 -> >=1.2.0 <3.5.0
225
- function hyphenReplace(_$0, from, fM, fm, fp, _fpr, _fb, to, tM, tm, tp, tpr, _tb) {
226
- if (isX(fM)) {
227
- from = "";
228
- }
229
- else if (isX(fm)) {
230
- from = ">=" + fM + ".0.0";
231
- }
232
- else if (isX(fp)) {
233
- from = ">=" + fM + "." + fm + ".0";
234
- }
235
- else {
236
- from = ">=" + from;
237
- }
238
- if (isX(tM)) {
239
- to = "";
240
- }
241
- else if (isX(tm)) {
242
- to = "<" + (+tM + 1) + ".0.0";
243
- }
244
- else if (isX(tp)) {
245
- to = "<" + tM + "." + (+tm + 1) + ".0";
246
- }
247
- else if (tpr) {
248
- to = "<=" + tM + "." + tm + "." + tp + "-" + tpr;
249
- }
250
- else {
251
- to = "<=" + to;
252
- }
253
- return (from + " " + to).trim();
254
- }
255
- function isX(id) {
256
- return !id || id.toLowerCase() === "x" || id === "*";
257
- }
258
- /**
259
- * Parses a range string into a SemVerRange object or throws a TypeError.
260
- * @param range The range string
261
- * @returns A valid semantic version range
262
- */
263
- function parseRange(range) {
264
- // handle spaces around and between comparator and version
265
- range = range.trim().replaceAll(/(?<=<|>|=) /g, "");
266
- if (range === "") {
267
- return { ranges: [[constants_js_1.ALL]] };
268
- }
269
- // Split into groups of comparators, these are considered OR'd together.
270
- const ranges = range
271
- .trim()
272
- .split(/\s*\|\|\s*/)
273
- .map((range) => {
274
- // convert `1.2.3 - 1.2.4` into `>=1.2.3 <=1.2.4`
275
- const hr = _shared_js_1.re[_shared_js_1.HYPHENRANGE];
276
- range = range.replace(hr, hyphenReplace);
277
- range = replaceCarets(range);
278
- range = replaceTildes(range);
279
- range = replaceXRanges(range);
280
- range = replaceStars(range);
281
- // At this point, the range is completely trimmed and
282
- // ready to be split into comparators.
283
- // These are considered AND's
284
- if (range === "") {
285
- return [constants_js_1.ALL];
286
- }
287
- else {
288
- return range
289
- .split(" ")
290
- .filter((r) => r)
291
- .map((r) => (0, parse_comparator_js_1.parseComparator)(r));
292
- }
293
- });
294
- return { ranges };
295
- }
296
- exports.parseRange = parseRange;
@@ -1,8 +0,0 @@
1
- import type { SemVerRange } from "./types.js";
2
- /**
3
- * Formats the range into a string
4
- * @example >=0.0.0 || <1.0.0
5
- * @param range The range to format
6
- * @returns A string representation of the range
7
- */
8
- export declare function rangeFormat(range: SemVerRange): string;
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.rangeFormat = void 0;
4
- const comparator_format_js_1 = require("./comparator_format.js");
5
- /**
6
- * Formats the range into a string
7
- * @example >=0.0.0 || <1.0.0
8
- * @param range The range to format
9
- * @returns A string representation of the range
10
- */
11
- function rangeFormat(range) {
12
- return range.ranges.map((c) => c.map((c) => (0, comparator_format_js_1.comparatorFormat)(c)).join(" "))
13
- .join("||");
14
- }
15
- exports.rangeFormat = rangeFormat;
@@ -1,8 +0,0 @@
1
- import type { SemVerRange } from "./types.js";
2
- /**
3
- * The ranges intersect every range of AND comparators intersects with a least one range of OR ranges.
4
- * @param r0 range 0
5
- * @param r1 range 1
6
- * @returns returns true if any
7
- */
8
- export declare function rangeIntersects(r0: SemVerRange, r1: SemVerRange): boolean;
@@ -1,39 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.rangeIntersects = void 0;
4
- // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
5
- const comparator_intersects_js_1 = require("./comparator_intersects.js");
6
- function rangesSatisfiable(ranges) {
7
- return ranges.every((r) => {
8
- // For each OR at least one AND must be satisfiable
9
- return r.ranges.some((comparators) => comparatorsSatisfiable(comparators));
10
- });
11
- }
12
- function comparatorsSatisfiable(comparators) {
13
- // Comparators are satisfiable if they all intersect with each other
14
- for (let i = 0; i < comparators.length - 1; i++) {
15
- const c0 = comparators[i];
16
- for (const c1 of comparators.slice(i + 1)) {
17
- if (!(0, comparator_intersects_js_1.comparatorIntersects)(c0, c1)) {
18
- return false;
19
- }
20
- }
21
- }
22
- return true;
23
- }
24
- /**
25
- * The ranges intersect every range of AND comparators intersects with a least one range of OR ranges.
26
- * @param r0 range 0
27
- * @param r1 range 1
28
- * @returns returns true if any
29
- */
30
- function rangeIntersects(r0, r1) {
31
- return rangesSatisfiable([r0, r1]) && r0.ranges.some((r00) => {
32
- return r1.ranges.some((r11) => {
33
- return r00.every((c0) => {
34
- return r11.every((c1) => (0, comparator_intersects_js_1.comparatorIntersects)(c0, c1));
35
- });
36
- });
37
- });
38
- }
39
- exports.rangeIntersects = rangeIntersects;
@@ -1,7 +0,0 @@
1
- import type { SemVer, SemVerRange } from "./types.js";
2
- /**
3
- * The maximum valid SemVer for a given range or INVALID
4
- * @param range The range to calculate the max for
5
- * @returns A valid SemVer or INVALID
6
- */
7
- export declare function rangeMax(range: SemVerRange): SemVer | undefined;
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.rangeMax = void 0;
4
- // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
5
- const constants_js_1 = require("./constants.js");
6
- const sort_js_1 = require("./sort.js");
7
- const test_range_js_1 = require("./test_range.js");
8
- /**
9
- * The maximum valid SemVer for a given range or INVALID
10
- * @param range The range to calculate the max for
11
- * @returns A valid SemVer or INVALID
12
- */
13
- function rangeMax(range) {
14
- // For and's, you take the smallest max
15
- // For or's, you take the biggest max
16
- //[ [1 and 2] or [2 and 3] ] = [ 1 or 2 ] = 2
17
- return (0, sort_js_1.sort)(range.ranges.map((r) => (0, sort_js_1.sort)(r.filter((c) => (0, test_range_js_1.testRange)(c.max, range)).map((c) => c.max)).shift())).filter((v) => v).pop() ?? constants_js_1.INVALID;
18
- }
19
- exports.rangeMax = rangeMax;
@@ -1,7 +0,0 @@
1
- import type { SemVer, SemVerRange } from "./types.js";
2
- /**
3
- * The minimum valid SemVer for a given range or INVALID
4
- * @param range The range to calculate the min for
5
- * @returns A valid SemVer or INVALID
6
- */
7
- export declare function rangeMin(range: SemVerRange): SemVer;
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.rangeMin = void 0;
4
- // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
5
- const constants_js_1 = require("./constants.js");
6
- const sort_js_1 = require("./sort.js");
7
- const test_range_js_1 = require("./test_range.js");
8
- /**
9
- * The minimum valid SemVer for a given range or INVALID
10
- * @param range The range to calculate the min for
11
- * @returns A valid SemVer or INVALID
12
- */
13
- function rangeMin(range) {
14
- // For or's, you take the smallest min
15
- //[ [1 and 2] or [2 and 3] ] = [ 2 or 3 ] = 2
16
- return (0, sort_js_1.sort)(range.ranges.map((r) => (0, sort_js_1.sort)(r.filter((c) => (0, test_range_js_1.testRange)(c.min, range)).map((c) => c.min)).pop()).filter((v) => v)).shift() ?? constants_js_1.INVALID;
17
- }
18
- exports.rangeMin = rangeMin;
@@ -1,8 +0,0 @@
1
- import type { SemVer } from "./types.js";
2
- /**
3
- * A reverse comparison of two versions. Same as compare but
4
- * `1` and `-1` are inverted.
5
- *
6
- * Sorts in descending order if passed to `Array.sort()`,
7
- */
8
- export declare function rcompare(s0: SemVer, s1: SemVer): 1 | 0 | -1;
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.rcompare = void 0;
4
- const compare_js_1 = require("./compare.js");
5
- /**
6
- * A reverse comparison of two versions. Same as compare but
7
- * `1` and `-1` are inverted.
8
- *
9
- * Sorts in descending order if passed to `Array.sort()`,
10
- */
11
- function rcompare(s0, s1) {
12
- return (0, compare_js_1.compare)(s1, s0);
13
- }
14
- exports.rcompare = rcompare;