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,42 +0,0 @@
1
- import { Operator } from "./types.js";
2
- export declare function compareNumber(a: number, b: number): 1 | 0 | -1;
3
- export declare function checkIdentifier(v1: ReadonlyArray<string | number>, v2: ReadonlyArray<string | number>): 1 | 0 | -1;
4
- export declare function compareIdentifier(v1: ReadonlyArray<string | number>, v2: ReadonlyArray<string | number>): 1 | 0 | -1;
5
- declare const re: RegExp[];
6
- declare const src: string[];
7
- declare const NUMERICIDENTIFIER: number;
8
- declare const FULL: number;
9
- declare const XRANGE: number;
10
- declare const TILDE: number;
11
- declare const CARET: number;
12
- declare const COMPARATOR: number;
13
- declare const HYPHENRANGE: number;
14
- declare const STAR: number;
15
- /**
16
- * Returns true if the value is a valid SemVer number.
17
- *
18
- * Must be a number. Must not be NaN. Can be positive or negative infinity.
19
- * Can be between 0 and MAX_SAFE_INTEGER.
20
- * @param value The value to check
21
- * @returns True if its a valid semver number
22
- */
23
- export declare function isValidNumber(value: unknown): value is number;
24
- export declare const MAX_LENGTH = 256;
25
- /**
26
- * Returns true if the value is a valid semver pre-release or build identifier.
27
- *
28
- * Must be a string. Must be between 1 and 256 characters long. Must match
29
- * the regular expression /[0-9A-Za-z-]+/.
30
- * @param value The value to check
31
- * @returns True if the value is a valid semver string.
32
- */
33
- export declare function isValidString(value: unknown): value is string;
34
- /**
35
- * Checks to see if the value is a valid Operator string.
36
- *
37
- * Adds a type assertion if true.
38
- * @param value The value to check
39
- * @returns True if the value is a valid Operator string otherwise false.
40
- */
41
- export declare function isValidOperator(value: unknown): value is Operator;
42
- export { CARET, COMPARATOR, FULL, HYPHENRANGE, NUMERICIDENTIFIER, re, src, STAR, TILDE, XRANGE, };
@@ -1,230 +0,0 @@
1
- // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
2
- export function compareNumber(a, b) {
3
- if (isNaN(a) || isNaN(b)) {
4
- throw new Error("Comparison against non-numbers");
5
- }
6
- return a === b ? 0 : a < b ? -1 : 1;
7
- }
8
- export function checkIdentifier(v1, v2) {
9
- // NOT having a prerelease is > having one
10
- // But NOT having a build is < having one
11
- if (v1.length && !v2.length) {
12
- return -1;
13
- }
14
- else if (!v1.length && v2.length) {
15
- return 1;
16
- }
17
- else {
18
- return 0;
19
- }
20
- }
21
- export function compareIdentifier(v1, v2) {
22
- let i = 0;
23
- do {
24
- const a = v1[i];
25
- const b = v2[i];
26
- if (a === undefined && b === undefined) {
27
- // same length is equal
28
- return 0;
29
- }
30
- else if (b === undefined) {
31
- // longer > shorter
32
- return 1;
33
- }
34
- else if (a === undefined) {
35
- // shorter < longer
36
- return -1;
37
- }
38
- else if (typeof a === "string" && typeof b === "number") {
39
- // string > number
40
- return 1;
41
- }
42
- else if (typeof a === "number" && typeof b === "string") {
43
- // number < string
44
- return -1;
45
- }
46
- else if (a < b) {
47
- return -1;
48
- }
49
- else if (a > b) {
50
- return 1;
51
- }
52
- else {
53
- // If they're equal, continue comparing segments.
54
- continue;
55
- }
56
- } while (++i);
57
- // It can't ever reach here, but typescript doesn't realize that so
58
- // add this line so the return type is inferred correctly.
59
- return 0;
60
- }
61
- // The actual regexps
62
- const re = [];
63
- const src = [];
64
- let R = 0;
65
- // The following Regular Expressions can be used for tokenizing,
66
- // validating, and parsing SemVer version strings.
67
- // ## Numeric Identifier
68
- // A single `0`, or a non-zero digit followed by zero or more digits.
69
- const NUMERICIDENTIFIER = R++;
70
- src[NUMERICIDENTIFIER] = "0|[1-9]\\d*";
71
- // ## Non-numeric Identifier
72
- // Zero or more digits, followed by a letter or hyphen, and then zero or
73
- // more letters, digits, or hyphens.
74
- const NONNUMERICIDENTIFIER = R++;
75
- src[NONNUMERICIDENTIFIER] = "\\d*[a-zA-Z-][a-zA-Z0-9-]*";
76
- // ## Main Version
77
- // Three dot-separated numeric identifiers.
78
- const MAINVERSION = R++;
79
- const nid = src[NUMERICIDENTIFIER];
80
- src[MAINVERSION] = `(${nid})\\.(${nid})\\.(${nid})`;
81
- // ## Pre-release Version Identifier
82
- // A numeric identifier, or a non-numeric identifier.
83
- const PRERELEASEIDENTIFIER = R++;
84
- src[PRERELEASEIDENTIFIER] = "(?:" + src[NUMERICIDENTIFIER] + "|" +
85
- src[NONNUMERICIDENTIFIER] + ")";
86
- // ## Pre-release Version
87
- // Hyphen, followed by one or more dot-separated pre-release version
88
- // identifiers.
89
- const PRERELEASE = R++;
90
- src[PRERELEASE] = "(?:-(" +
91
- src[PRERELEASEIDENTIFIER] +
92
- "(?:\\." +
93
- src[PRERELEASEIDENTIFIER] +
94
- ")*))";
95
- // ## Build Metadata Identifier
96
- // Any combination of digits, letters, or hyphens.
97
- const BUILDIDENTIFIER = R++;
98
- src[BUILDIDENTIFIER] = "[0-9A-Za-z-]+";
99
- // ## Build Metadata
100
- // Plus sign, followed by one or more period-separated build metadata
101
- // identifiers.
102
- const BUILD = R++;
103
- src[BUILD] = "(?:\\+(" + src[BUILDIDENTIFIER] + "(?:\\." +
104
- src[BUILDIDENTIFIER] + ")*))";
105
- // ## Full Version String
106
- // A main version, followed optionally by a pre-release version and
107
- // build metadata.
108
- // Note that the only major, minor, patch, and pre-release sections of
109
- // the version string are capturing groups. The build metadata is not a
110
- // capturing group, because it should not ever be used in version
111
- // comparison.
112
- const FULL = R++;
113
- const FULLPLAIN = "v?" + src[MAINVERSION] + src[PRERELEASE] + "?" + src[BUILD] +
114
- "?";
115
- src[FULL] = "^" + FULLPLAIN + "$";
116
- const GTLT = R++;
117
- src[GTLT] = "((?:<|>)?=?)";
118
- // Something like "2.*" or "1.2.x".
119
- // Note that "x.x" is a valid xRange identifier, meaning "any version"
120
- // Only the first item is strictly required.
121
- const XRANGEIDENTIFIER = R++;
122
- src[XRANGEIDENTIFIER] = src[NUMERICIDENTIFIER] + "|x|X|\\*";
123
- const XRANGEPLAIN = R++;
124
- src[XRANGEPLAIN] = "[v=\\s]*(" +
125
- src[XRANGEIDENTIFIER] +
126
- ")" +
127
- "(?:\\.(" +
128
- src[XRANGEIDENTIFIER] +
129
- ")" +
130
- "(?:\\.(" +
131
- src[XRANGEIDENTIFIER] +
132
- ")" +
133
- "(?:" +
134
- src[PRERELEASE] +
135
- ")?" +
136
- src[BUILD] +
137
- "?" +
138
- ")?)?";
139
- const XRANGE = R++;
140
- src[XRANGE] = "^" + src[GTLT] + "\\s*" + src[XRANGEPLAIN] + "$";
141
- // Tilde ranges.
142
- // Meaning is "reasonably at or greater than"
143
- const LONETILDE = R++;
144
- src[LONETILDE] = "(?:~>?)";
145
- const TILDE = R++;
146
- src[TILDE] = "^" + src[LONETILDE] + src[XRANGEPLAIN] + "$";
147
- // Caret ranges.
148
- // Meaning is "at least and backwards compatible with"
149
- const LONECARET = R++;
150
- src[LONECARET] = "(?:\\^)";
151
- const CARET = R++;
152
- src[CARET] = "^" + src[LONECARET] + src[XRANGEPLAIN] + "$";
153
- // A simple gt/lt/eq thing, or just "" to indicate "any version"
154
- const COMPARATOR = R++;
155
- src[COMPARATOR] = "^" + src[GTLT] + "\\s*(" + FULLPLAIN + ")$|^$";
156
- // Something like `1.2.3 - 1.2.4`
157
- const HYPHENRANGE = R++;
158
- src[HYPHENRANGE] = "^\\s*(" +
159
- src[XRANGEPLAIN] +
160
- ")" +
161
- "\\s+-\\s+" +
162
- "(" +
163
- src[XRANGEPLAIN] +
164
- ")" +
165
- "\\s*$";
166
- // Star ranges basically just allow anything at all.
167
- const STAR = R++;
168
- src[STAR] = "(<|>)?=?\\s*\\*";
169
- // Compile to actual regexp objects.
170
- // All are flag-free, unless they were created above with a flag.
171
- for (let i = 0; i < R; i++) {
172
- if (!re[i]) {
173
- re[i] = new RegExp(src[i]);
174
- }
175
- }
176
- /**
177
- * Returns true if the value is a valid SemVer number.
178
- *
179
- * Must be a number. Must not be NaN. Can be positive or negative infinity.
180
- * Can be between 0 and MAX_SAFE_INTEGER.
181
- * @param value The value to check
182
- * @returns True if its a valid semver number
183
- */
184
- export function isValidNumber(value) {
185
- return (typeof value === "number" &&
186
- !Number.isNaN(value) && (!Number.isFinite(value) ||
187
- (0 <= value && value <= Number.MAX_SAFE_INTEGER)));
188
- }
189
- export const MAX_LENGTH = 256;
190
- /**
191
- * Returns true if the value is a valid semver pre-release or build identifier.
192
- *
193
- * Must be a string. Must be between 1 and 256 characters long. Must match
194
- * the regular expression /[0-9A-Za-z-]+/.
195
- * @param value The value to check
196
- * @returns True if the value is a valid semver string.
197
- */
198
- export function isValidString(value) {
199
- return (typeof value === "string" &&
200
- value.length > 0 &&
201
- value.length <= MAX_LENGTH &&
202
- !!value.match(/[0-9A-Za-z-]+/));
203
- }
204
- /**
205
- * Checks to see if the value is a valid Operator string.
206
- *
207
- * Adds a type assertion if true.
208
- * @param value The value to check
209
- * @returns True if the value is a valid Operator string otherwise false.
210
- */
211
- export function isValidOperator(value) {
212
- if (typeof value !== "string")
213
- return false;
214
- switch (value) {
215
- case "":
216
- case "=":
217
- case "==":
218
- case "===":
219
- case "!==":
220
- case "!=":
221
- case ">":
222
- case ">=":
223
- case "<":
224
- case "<=":
225
- return true;
226
- default:
227
- return false;
228
- }
229
- }
230
- export { CARET, COMPARATOR, FULL, HYPHENRANGE, NUMERICIDENTIFIER, re, src, STAR, TILDE, XRANGE, };
@@ -1,9 +0,0 @@
1
- import type { Operator, SemVer } from "./types.js";
2
- /**
3
- * Do a comparison of two semantic version objects based on the given operator
4
- * @param s0 The left side of the comparison
5
- * @param operator The operator to use for the comparison
6
- * @param s1 The right side of the comparison
7
- * @returns True or false based on the operator
8
- */
9
- export declare function cmp(s0: SemVer, operator: Operator, s1: SemVer): boolean;
@@ -1,35 +0,0 @@
1
- import { eq } from "./eq.js";
2
- import { neq } from "./neq.js";
3
- import { gte } from "./gte.js";
4
- import { gt } from "./gt.js";
5
- import { lt } from "./lt.js";
6
- import { lte } from "./lte.js";
7
- /**
8
- * Do a comparison of two semantic version objects based on the given operator
9
- * @param s0 The left side of the comparison
10
- * @param operator The operator to use for the comparison
11
- * @param s1 The right side of the comparison
12
- * @returns True or false based on the operator
13
- */
14
- export function cmp(s0, operator, s1) {
15
- switch (operator) {
16
- case "":
17
- case "=":
18
- case "==":
19
- case "===":
20
- return eq(s0, s1);
21
- case "!=":
22
- case "!==":
23
- return neq(s0, s1);
24
- case ">":
25
- return gt(s0, s1);
26
- case ">=":
27
- return gte(s0, s1);
28
- case "<":
29
- return lt(s0, s1);
30
- case "<=":
31
- return lte(s0, s1);
32
- default:
33
- throw new TypeError(`Invalid operator: ${operator}`);
34
- }
35
- }
@@ -1,8 +0,0 @@
1
- import type { SemVerComparator } from "./types.js";
2
- /**
3
- * Formats the comparator into a string
4
- * @example >=0.0.0
5
- * @param comparator
6
- * @returns A string representation of the comparator
7
- */
8
- export declare function comparatorFormat(comparator: SemVerComparator): string;
@@ -1,11 +0,0 @@
1
- import { format } from "./format.js";
2
- /**
3
- * Formats the comparator into a string
4
- * @example >=0.0.0
5
- * @param comparator
6
- * @returns A string representation of the comparator
7
- */
8
- export function comparatorFormat(comparator) {
9
- const { semver, operator } = comparator;
10
- return `${operator}${format(semver)}`;
11
- }
@@ -1,8 +0,0 @@
1
- import type { SemVerComparator } from "./types.js";
2
- /**
3
- * Returns true if the range of possible versions intersects with the other comparators set of possible versions
4
- * @param c0 The left side comparator
5
- * @param c1 The right side comparator
6
- * @returns True if any part of the comparators intersect
7
- */
8
- export declare function comparatorIntersects(c0: SemVerComparator, c1: SemVerComparator): boolean;
@@ -1,45 +0,0 @@
1
- import { gte } from "./gte.js";
2
- import { lte } from "./lte.js";
3
- /**
4
- * Returns true if the range of possible versions intersects with the other comparators set of possible versions
5
- * @param c0 The left side comparator
6
- * @param c1 The right side comparator
7
- * @returns True if any part of the comparators intersect
8
- */
9
- export function comparatorIntersects(c0, c1) {
10
- const l0 = c0.min;
11
- const l1 = c0.max;
12
- const r0 = c1.min;
13
- const r1 = c1.max;
14
- // We calculate the min and max ranges of both comparators.
15
- // The minimum min is 0.0.0, the maximum max is ANY.
16
- //
17
- // Comparators with equality operators have the same min and max.
18
- //
19
- // We then check to see if the min's of either range falls within the span of the other range.
20
- //
21
- // A couple of intersection examples:
22
- // ```
23
- // l0 ---- l1
24
- // r0 ---- r1
25
- // ```
26
- // ```
27
- // l0 ---- l1
28
- // r0 ---- r1
29
- // ```
30
- // ```
31
- // l0 ------ l1
32
- // r0--r1
33
- // ```
34
- // ```
35
- // l0 - l1
36
- // r0 - r1
37
- // ```
38
- //
39
- // non-intersection example
40
- // ```
41
- // l0 -- l1
42
- // r0 -- r1
43
- // ```
44
- return (gte(l0, r0) && lte(l0, r1)) || (gte(r0, l0) && lte(r0, l1));
45
- }
@@ -1,9 +0,0 @@
1
- import type { Operator, SemVer } from "./types.js";
2
- /**
3
- * The maximum version that could match this comparator.
4
- *
5
- * If an invalid comparator is given such as <0.0.0 then
6
- * an out of range semver will be returned.
7
- * @returns the version, the MAX version or the next smallest patch version
8
- */
9
- export declare function comparatorMax(semver: SemVer, operator: Operator): SemVer;
@@ -1,45 +0,0 @@
1
- import { ANY, INVALID, MAX } from "./constants.js";
2
- /**
3
- * The maximum version that could match this comparator.
4
- *
5
- * If an invalid comparator is given such as <0.0.0 then
6
- * an out of range semver will be returned.
7
- * @returns the version, the MAX version or the next smallest patch version
8
- */
9
- export function comparatorMax(semver, operator) {
10
- if (semver === ANY) {
11
- return MAX;
12
- }
13
- switch (operator) {
14
- case "!=":
15
- case "!==":
16
- case ">":
17
- case ">=":
18
- return MAX;
19
- case "":
20
- case "=":
21
- case "==":
22
- case "===":
23
- case "<=":
24
- return semver;
25
- case "<": {
26
- const patch = semver.patch - 1;
27
- const minor = patch >= 0 ? semver.minor : semver.minor - 1;
28
- const major = minor >= 0 ? semver.major : semver.major - 1;
29
- // if you try to do <0.0.0 it will Give you -∞.∞.∞
30
- // which means no SemVer can compare successfully to it.
31
- if (major < 0) {
32
- return INVALID;
33
- }
34
- else {
35
- return {
36
- major,
37
- minor: minor >= 0 ? minor : Number.POSITIVE_INFINITY,
38
- patch: patch >= 0 ? patch : Number.POSITIVE_INFINITY,
39
- prerelease: [],
40
- build: [],
41
- };
42
- }
43
- }
44
- }
45
- }
@@ -1,8 +0,0 @@
1
- import type { Operator, SemVer } from "./types.js";
2
- /**
3
- * The minimum semantic version that could match this comparator
4
- * @param semver The semantic version of the comparator
5
- * @param operator The operator of the comparator
6
- * @returns The minimum valid semantic version
7
- */
8
- export declare function comparatorMin(semver: SemVer, operator: Operator): SemVer;
@@ -1,32 +0,0 @@
1
- import { ANY, MAX, MIN } from "./constants.js";
2
- import { gt } from "./gt.js";
3
- import { increment } from "./increment.js";
4
- /**
5
- * The minimum semantic version that could match this comparator
6
- * @param semver The semantic version of the comparator
7
- * @param operator The operator of the comparator
8
- * @returns The minimum valid semantic version
9
- */
10
- export function comparatorMin(semver, operator) {
11
- if (semver === ANY) {
12
- return MIN;
13
- }
14
- switch (operator) {
15
- case ">":
16
- return semver.prerelease.length > 0
17
- ? increment(semver, "pre")
18
- : increment(semver, "patch");
19
- case "!=":
20
- case "!==":
21
- case "<=":
22
- case "<":
23
- // The min(<0.0.0) is MAX
24
- return gt(semver, MIN) ? MIN : MAX;
25
- case ">=":
26
- case "":
27
- case "=":
28
- case "==":
29
- case "===":
30
- return semver;
31
- }
32
- }
@@ -1,10 +0,0 @@
1
- import type { SemVer } from "./types.js";
2
- /**
3
- * Compare two semantic version objects.
4
- *
5
- * Returns `0` if `v1 === v2`, or `1` if `v1` is greater, or `-1` if `v2` is
6
- * greater.
7
- *
8
- * Sorts in ascending order if passed to `Array.sort()`,
9
- */
10
- export declare function compare(s0: SemVer, s1: SemVer): 1 | 0 | -1;
@@ -1,18 +0,0 @@
1
- import { checkIdentifier, compareIdentifier, compareNumber, } from "./_shared.js";
2
- /**
3
- * Compare two semantic version objects.
4
- *
5
- * Returns `0` if `v1 === v2`, or `1` if `v1` is greater, or `-1` if `v2` is
6
- * greater.
7
- *
8
- * Sorts in ascending order if passed to `Array.sort()`,
9
- */
10
- export function compare(s0, s1) {
11
- if (s0 === s1)
12
- return 0;
13
- return (compareNumber(s0.major, s1.major) ||
14
- compareNumber(s0.minor, s1.minor) ||
15
- compareNumber(s0.patch, s1.patch) ||
16
- checkIdentifier(s0.prerelease, s1.prerelease) ||
17
- compareIdentifier(s0.prerelease, s1.prerelease));
18
- }
@@ -1,13 +0,0 @@
1
- import type { SemVer } from "./types.js";
2
- /**
3
- * Compare two semantic version objects including build metadata.
4
- *
5
- * Returns `0` if `v1 === v2`, or `1` if `v1` is greater, or `-1` if `v2` is
6
- * greater.
7
- *
8
- * Sorts in ascending order if passed to `Array.sort()`,
9
- * @param s0
10
- * @param s1
11
- * @returns
12
- */
13
- export declare function compareBuild(s0: SemVer, s1: SemVer): 1 | 0 | -1;
@@ -1,23 +0,0 @@
1
- import { checkIdentifier, compareIdentifier, compareNumber, } from "./_shared.js";
2
- /**
3
- * Compare two semantic version objects including build metadata.
4
- *
5
- * Returns `0` if `v1 === v2`, or `1` if `v1` is greater, or `-1` if `v2` is
6
- * greater.
7
- *
8
- * Sorts in ascending order if passed to `Array.sort()`,
9
- * @param s0
10
- * @param s1
11
- * @returns
12
- */
13
- export function compareBuild(s0, s1) {
14
- if (s0 === s1)
15
- return 0;
16
- return (compareNumber(s0.major, s1.major) ||
17
- compareNumber(s0.minor, s1.minor) ||
18
- compareNumber(s0.patch, s1.patch) ||
19
- checkIdentifier(s0.prerelease, s1.prerelease) ||
20
- compareIdentifier(s0.prerelease, s1.prerelease) ||
21
- checkIdentifier(s1.build, s0.build) ||
22
- compareIdentifier(s0.build, s1.build));
23
- }
@@ -1,42 +0,0 @@
1
- import type { SemVer, SemVerComparator } from "./types.js";
2
- /**
3
- * MAX is a sentinel value used by some range calculations.
4
- * It is equivalent to `∞.∞.∞`.
5
- */
6
- export declare const MAX: SemVer;
7
- /**
8
- * The minimum valid SemVer object. Equivalent to `0.0.0`.
9
- */
10
- export declare const MIN: SemVer;
11
- /**
12
- * A sentinel value used to denote an invalid SemVer object
13
- * which may be the result of impossible ranges or comparator operations.
14
- * @example
15
- * ```ts
16
- * import { eq } from "https://deno.land/std@$STD_VERSION/semver/eq.ts";
17
- * import { parse } from "https://deno.land/std@$STD_VERSION/semver/parse.ts";
18
- * import { INVALID } from "https://deno.land/std@$STD_VERSION/semver/constants.ts"
19
- * eq(parse("1.2.3"), INVALID);
20
- * ```
21
- */
22
- export declare const INVALID: SemVer;
23
- /**
24
- * ANY is a sentinel value used by some range calculations. It is not a valid
25
- * SemVer object and should not be used directly.
26
- * @example
27
- * ```ts
28
- * import { eq } from "https://deno.land/std@$STD_VERSION/semver/eq.ts";
29
- * import { parse } from "https://deno.land/std@$STD_VERSION/semver/parse.ts";
30
- * import { ANY } from "https://deno.land/std@$STD_VERSION/semver/constants.ts"
31
- * eq(parse("1.2.3"), ANY); // false
32
- * ```
33
- */
34
- export declare const ANY: SemVer;
35
- /**
36
- * A comparator which will span all valid semantic versions
37
- */
38
- export declare const ALL: SemVerComparator;
39
- /**
40
- * A comparator which will not span any semantic versions
41
- */
42
- export declare const NONE: SemVerComparator;
@@ -1,75 +0,0 @@
1
- /**
2
- * MAX is a sentinel value used by some range calculations.
3
- * It is equivalent to `∞.∞.∞`.
4
- */
5
- export const MAX = {
6
- major: Number.POSITIVE_INFINITY,
7
- minor: Number.POSITIVE_INFINITY,
8
- patch: Number.POSITIVE_INFINITY,
9
- prerelease: [],
10
- build: [],
11
- };
12
- /**
13
- * The minimum valid SemVer object. Equivalent to `0.0.0`.
14
- */
15
- export const MIN = {
16
- major: 0,
17
- minor: 0,
18
- patch: 0,
19
- prerelease: [],
20
- build: [],
21
- };
22
- /**
23
- * A sentinel value used to denote an invalid SemVer object
24
- * which may be the result of impossible ranges or comparator operations.
25
- * @example
26
- * ```ts
27
- * import { eq } from "https://deno.land/std@$STD_VERSION/semver/eq.ts";
28
- * import { parse } from "https://deno.land/std@$STD_VERSION/semver/parse.ts";
29
- * import { INVALID } from "https://deno.land/std@$STD_VERSION/semver/constants.ts"
30
- * eq(parse("1.2.3"), INVALID);
31
- * ```
32
- */
33
- export const INVALID = {
34
- major: Number.NEGATIVE_INFINITY,
35
- minor: Number.POSITIVE_INFINITY,
36
- patch: Number.POSITIVE_INFINITY,
37
- prerelease: [],
38
- build: [],
39
- };
40
- /**
41
- * ANY is a sentinel value used by some range calculations. It is not a valid
42
- * SemVer object and should not be used directly.
43
- * @example
44
- * ```ts
45
- * import { eq } from "https://deno.land/std@$STD_VERSION/semver/eq.ts";
46
- * import { parse } from "https://deno.land/std@$STD_VERSION/semver/parse.ts";
47
- * import { ANY } from "https://deno.land/std@$STD_VERSION/semver/constants.ts"
48
- * eq(parse("1.2.3"), ANY); // false
49
- * ```
50
- */
51
- export const ANY = {
52
- major: Number.NaN,
53
- minor: Number.NaN,
54
- patch: Number.NaN,
55
- prerelease: [],
56
- build: [],
57
- };
58
- /**
59
- * A comparator which will span all valid semantic versions
60
- */
61
- export const ALL = {
62
- operator: "",
63
- semver: ANY,
64
- min: MIN,
65
- max: MAX,
66
- };
67
- /**
68
- * A comparator which will not span any semantic versions
69
- */
70
- export const NONE = {
71
- operator: "<",
72
- semver: MIN,
73
- min: MAX,
74
- max: MIN,
75
- };