@skmtc/core 0.0.742 → 0.0.744

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 (369) hide show
  1. package/LICENSE +105 -0
  2. package/README.md +85 -0
  3. package/esm/context/CoreContext.js +1 -1
  4. package/esm/context/GenerateContext.js +1 -1
  5. package/esm/context/ParseContext.js +1 -1
  6. package/esm/context/RenderContext.js +1 -1
  7. package/esm/dsl/model/ModelDriver.js +1 -1
  8. package/esm/dsl/operation/OperationDriver.js +1 -1
  9. package/esm/helpers/isImported.js +1 -1
  10. package/esm/helpers/toResolvedArtifactPath.js +1 -1
  11. package/esm/run/toV3JsonDocument.js +1 -1
  12. package/package.json +4 -4
  13. package/script/context/CoreContext.js +2 -2
  14. package/script/context/GenerateContext.js +2 -2
  15. package/script/context/ParseContext.js +2 -2
  16. package/script/context/RenderContext.js +2 -2
  17. package/script/dsl/model/ModelDriver.js +2 -2
  18. package/script/dsl/operation/OperationDriver.js +2 -2
  19. package/script/helpers/isImported.js +2 -2
  20. package/script/helpers/toResolvedArtifactPath.js +2 -2
  21. package/script/run/toV3JsonDocument.js +2 -2
  22. package/esm/deps/jsr.io/@std/path/1.1.2/_common/basename.d.ts +0 -4
  23. package/esm/deps/jsr.io/@std/path/1.1.2/_common/basename.d.ts.map +0 -1
  24. package/esm/deps/jsr.io/@std/path/1.1.2/_common/basename.js +0 -40
  25. package/esm/deps/jsr.io/@std/path/1.1.2/_common/common.d.ts +0 -2
  26. package/esm/deps/jsr.io/@std/path/1.1.2/_common/common.d.ts.map +0 -1
  27. package/esm/deps/jsr.io/@std/path/1.1.2/_common/common.js +0 -23
  28. package/esm/deps/jsr.io/@std/path/1.1.2/_common/dirname.d.ts +0 -2
  29. package/esm/deps/jsr.io/@std/path/1.1.2/_common/dirname.d.ts.map +0 -1
  30. package/esm/deps/jsr.io/@std/path/1.1.2/_common/dirname.js +0 -8
  31. package/esm/deps/jsr.io/@std/path/1.1.2/_common/format.d.ts +0 -4
  32. package/esm/deps/jsr.io/@std/path/1.1.2/_common/format.d.ts.map +0 -1
  33. package/esm/deps/jsr.io/@std/path/1.1.2/_common/format.js +0 -19
  34. package/esm/deps/jsr.io/@std/path/1.1.2/_common/glob_to_reg_exp.d.ts +0 -35
  35. package/esm/deps/jsr.io/@std/path/1.1.2/_common/glob_to_reg_exp.d.ts.map +0 -1
  36. package/esm/deps/jsr.io/@std/path/1.1.2/_common/glob_to_reg_exp.js +0 -234
  37. package/esm/deps/jsr.io/@std/path/1.1.2/_common/relative.d.ts +0 -2
  38. package/esm/deps/jsr.io/@std/path/1.1.2/_common/relative.d.ts.map +0 -1
  39. package/esm/deps/jsr.io/@std/path/1.1.2/_common/relative.js +0 -9
  40. package/esm/deps/jsr.io/@std/path/1.1.2/_common/strip_trailing_separators.d.ts +0 -2
  41. package/esm/deps/jsr.io/@std/path/1.1.2/_common/strip_trailing_separators.d.ts.map +0 -1
  42. package/esm/deps/jsr.io/@std/path/1.1.2/_common/strip_trailing_separators.js +0 -19
  43. package/esm/deps/jsr.io/@std/path/1.1.2/_common/to_file_url.d.ts +0 -2
  44. package/esm/deps/jsr.io/@std/path/1.1.2/_common/to_file_url.d.ts.map +0 -1
  45. package/esm/deps/jsr.io/@std/path/1.1.2/_common/to_file_url.js +0 -15
  46. package/esm/deps/jsr.io/@std/path/1.1.2/basename.d.ts +0 -27
  47. package/esm/deps/jsr.io/@std/path/1.1.2/basename.d.ts.map +0 -1
  48. package/esm/deps/jsr.io/@std/path/1.1.2/basename.js +0 -35
  49. package/esm/deps/jsr.io/@std/path/1.1.2/common.d.ts +0 -28
  50. package/esm/deps/jsr.io/@std/path/1.1.2/common.d.ts.map +0 -1
  51. package/esm/deps/jsr.io/@std/path/1.1.2/common.js +0 -33
  52. package/esm/deps/jsr.io/@std/path/1.1.2/constants.d.ts +0 -15
  53. package/esm/deps/jsr.io/@std/path/1.1.2/constants.d.ts.map +0 -1
  54. package/esm/deps/jsr.io/@std/path/1.1.2/constants.js +0 -17
  55. package/esm/deps/jsr.io/@std/path/1.1.2/dirname.d.ts +0 -22
  56. package/esm/deps/jsr.io/@std/path/1.1.2/dirname.d.ts.map +0 -1
  57. package/esm/deps/jsr.io/@std/path/1.1.2/dirname.js +0 -28
  58. package/esm/deps/jsr.io/@std/path/1.1.2/extname.d.ts +0 -22
  59. package/esm/deps/jsr.io/@std/path/1.1.2/extname.d.ts.map +0 -1
  60. package/esm/deps/jsr.io/@std/path/1.1.2/extname.js +0 -28
  61. package/esm/deps/jsr.io/@std/path/1.1.2/format.d.ts +0 -22
  62. package/esm/deps/jsr.io/@std/path/1.1.2/format.d.ts.map +0 -1
  63. package/esm/deps/jsr.io/@std/path/1.1.2/format.js +0 -27
  64. package/esm/deps/jsr.io/@std/path/1.1.2/from_file_url.d.ts +0 -22
  65. package/esm/deps/jsr.io/@std/path/1.1.2/from_file_url.d.ts.map +0 -1
  66. package/esm/deps/jsr.io/@std/path/1.1.2/from_file_url.js +0 -28
  67. package/esm/deps/jsr.io/@std/path/1.1.2/glob_to_regexp.d.ts +0 -77
  68. package/esm/deps/jsr.io/@std/path/1.1.2/glob_to_regexp.d.ts.map +0 -1
  69. package/esm/deps/jsr.io/@std/path/1.1.2/glob_to_regexp.js +0 -83
  70. package/esm/deps/jsr.io/@std/path/1.1.2/is_absolute.d.ts +0 -22
  71. package/esm/deps/jsr.io/@std/path/1.1.2/is_absolute.d.ts.map +0 -1
  72. package/esm/deps/jsr.io/@std/path/1.1.2/is_absolute.js +0 -28
  73. package/esm/deps/jsr.io/@std/path/1.1.2/is_glob.d.ts +0 -17
  74. package/esm/deps/jsr.io/@std/path/1.1.2/is_glob.d.ts.map +0 -1
  75. package/esm/deps/jsr.io/@std/path/1.1.2/is_glob.js +0 -42
  76. package/esm/deps/jsr.io/@std/path/1.1.2/join_globs.d.ts +0 -28
  77. package/esm/deps/jsr.io/@std/path/1.1.2/join_globs.d.ts.map +0 -1
  78. package/esm/deps/jsr.io/@std/path/1.1.2/join_globs.js +0 -34
  79. package/esm/deps/jsr.io/@std/path/1.1.2/mod.d.ts +0 -213
  80. package/esm/deps/jsr.io/@std/path/1.1.2/mod.d.ts.map +0 -1
  81. package/esm/deps/jsr.io/@std/path/1.1.2/mod.js +0 -216
  82. package/esm/deps/jsr.io/@std/path/1.1.2/normalize_glob.d.ts +0 -29
  83. package/esm/deps/jsr.io/@std/path/1.1.2/normalize_glob.d.ts.map +0 -1
  84. package/esm/deps/jsr.io/@std/path/1.1.2/normalize_glob.js +0 -35
  85. package/esm/deps/jsr.io/@std/path/1.1.2/parse.d.ts +0 -35
  86. package/esm/deps/jsr.io/@std/path/1.1.2/parse.d.ts.map +0 -1
  87. package/esm/deps/jsr.io/@std/path/1.1.2/parse.js +0 -39
  88. package/esm/deps/jsr.io/@std/path/1.1.2/posix/basename.d.ts +0 -39
  89. package/esm/deps/jsr.io/@std/path/1.1.2/posix/basename.d.ts.map +0 -1
  90. package/esm/deps/jsr.io/@std/path/1.1.2/posix/basename.js +0 -52
  91. package/esm/deps/jsr.io/@std/path/1.1.2/posix/constants.d.ts +0 -13
  92. package/esm/deps/jsr.io/@std/path/1.1.2/posix/constants.d.ts.map +0 -1
  93. package/esm/deps/jsr.io/@std/path/1.1.2/posix/constants.js +0 -14
  94. package/esm/deps/jsr.io/@std/path/1.1.2/posix/dirname.d.ts +0 -30
  95. package/esm/deps/jsr.io/@std/path/1.1.2/posix/dirname.d.ts.map +0 -1
  96. package/esm/deps/jsr.io/@std/path/1.1.2/posix/dirname.js +0 -64
  97. package/esm/deps/jsr.io/@std/path/1.1.2/posix/extname.d.ts +0 -37
  98. package/esm/deps/jsr.io/@std/path/1.1.2/posix/extname.d.ts.map +0 -1
  99. package/esm/deps/jsr.io/@std/path/1.1.2/posix/extname.js +0 -93
  100. package/esm/deps/jsr.io/@std/path/1.1.2/posix/format.d.ts +0 -24
  101. package/esm/deps/jsr.io/@std/path/1.1.2/posix/format.d.ts.map +0 -1
  102. package/esm/deps/jsr.io/@std/path/1.1.2/posix/format.js +0 -28
  103. package/esm/deps/jsr.io/@std/path/1.1.2/posix/glob_to_regexp.d.ts +0 -72
  104. package/esm/deps/jsr.io/@std/path/1.1.2/posix/glob_to_regexp.d.ts.map +0 -1
  105. package/esm/deps/jsr.io/@std/path/1.1.2/posix/glob_to_regexp.js +0 -82
  106. package/esm/deps/jsr.io/@std/path/1.1.2/posix/is_absolute.d.ts +0 -17
  107. package/esm/deps/jsr.io/@std/path/1.1.2/posix/is_absolute.d.ts.map +0 -1
  108. package/esm/deps/jsr.io/@std/path/1.1.2/posix/is_absolute.js +0 -23
  109. package/esm/deps/jsr.io/@std/path/1.1.2/posix/join_globs.d.ts +0 -20
  110. package/esm/deps/jsr.io/@std/path/1.1.2/posix/join_globs.d.ts.map +0 -1
  111. package/esm/deps/jsr.io/@std/path/1.1.2/posix/join_globs.js +0 -40
  112. package/esm/deps/jsr.io/@std/path/1.1.2/posix/normalize_glob.d.ts +0 -20
  113. package/esm/deps/jsr.io/@std/path/1.1.2/posix/normalize_glob.d.ts.map +0 -1
  114. package/esm/deps/jsr.io/@std/path/1.1.2/posix/normalize_glob.js +0 -32
  115. package/esm/deps/jsr.io/@std/path/1.1.2/posix/parse.d.ts +0 -25
  116. package/esm/deps/jsr.io/@std/path/1.1.2/posix/parse.d.ts.map +0 -1
  117. package/esm/deps/jsr.io/@std/path/1.1.2/posix/parse.js +0 -115
  118. package/esm/deps/jsr.io/@std/path/1.1.2/posix/relative.d.ts +0 -20
  119. package/esm/deps/jsr.io/@std/path/1.1.2/posix/relative.d.ts.map +0 -1
  120. package/esm/deps/jsr.io/@std/path/1.1.2/posix/relative.js +0 -106
  121. package/esm/deps/jsr.io/@std/path/1.1.2/posix/resolve.d.ts +0 -17
  122. package/esm/deps/jsr.io/@std/path/1.1.2/posix/resolve.d.ts.map +0 -1
  123. package/esm/deps/jsr.io/@std/path/1.1.2/posix/resolve.js +0 -59
  124. package/esm/deps/jsr.io/@std/path/1.1.2/posix/to_file_url.d.ts +0 -17
  125. package/esm/deps/jsr.io/@std/path/1.1.2/posix/to_file_url.d.ts.map +0 -1
  126. package/esm/deps/jsr.io/@std/path/1.1.2/posix/to_file_url.js +0 -27
  127. package/esm/deps/jsr.io/@std/path/1.1.2/posix/to_namespaced_path.d.ts +0 -16
  128. package/esm/deps/jsr.io/@std/path/1.1.2/posix/to_namespaced_path.d.ts.map +0 -1
  129. package/esm/deps/jsr.io/@std/path/1.1.2/posix/to_namespaced_path.js +0 -20
  130. package/esm/deps/jsr.io/@std/path/1.1.2/relative.d.ts +0 -24
  131. package/esm/deps/jsr.io/@std/path/1.1.2/relative.d.ts.map +0 -1
  132. package/esm/deps/jsr.io/@std/path/1.1.2/relative.js +0 -30
  133. package/esm/deps/jsr.io/@std/path/1.1.2/resolve.d.ts +0 -22
  134. package/esm/deps/jsr.io/@std/path/1.1.2/resolve.d.ts.map +0 -1
  135. package/esm/deps/jsr.io/@std/path/1.1.2/resolve.js +0 -30
  136. package/esm/deps/jsr.io/@std/path/1.1.2/to_file_url.d.ts +0 -22
  137. package/esm/deps/jsr.io/@std/path/1.1.2/to_file_url.d.ts.map +0 -1
  138. package/esm/deps/jsr.io/@std/path/1.1.2/to_file_url.js +0 -28
  139. package/esm/deps/jsr.io/@std/path/1.1.2/to_namespaced_path.d.ts +0 -21
  140. package/esm/deps/jsr.io/@std/path/1.1.2/to_namespaced_path.d.ts.map +0 -1
  141. package/esm/deps/jsr.io/@std/path/1.1.2/to_namespaced_path.js +0 -29
  142. package/esm/deps/jsr.io/@std/path/1.1.2/types.d.ts +0 -38
  143. package/esm/deps/jsr.io/@std/path/1.1.2/types.d.ts.map +0 -1
  144. package/esm/deps/jsr.io/@std/path/1.1.2/types.js +0 -3
  145. package/esm/deps/jsr.io/@std/path/1.1.2/windows/basename.d.ts +0 -22
  146. package/esm/deps/jsr.io/@std/path/1.1.2/windows/basename.d.ts.map +0 -1
  147. package/esm/deps/jsr.io/@std/path/1.1.2/windows/basename.js +0 -47
  148. package/esm/deps/jsr.io/@std/path/1.1.2/windows/constants.d.ts +0 -13
  149. package/esm/deps/jsr.io/@std/path/1.1.2/windows/constants.d.ts.map +0 -1
  150. package/esm/deps/jsr.io/@std/path/1.1.2/windows/constants.js +0 -14
  151. package/esm/deps/jsr.io/@std/path/1.1.2/windows/dirname.d.ts +0 -17
  152. package/esm/deps/jsr.io/@std/path/1.1.2/windows/dirname.d.ts.map +0 -1
  153. package/esm/deps/jsr.io/@std/path/1.1.2/windows/dirname.js +0 -113
  154. package/esm/deps/jsr.io/@std/path/1.1.2/windows/extname.d.ts +0 -17
  155. package/esm/deps/jsr.io/@std/path/1.1.2/windows/extname.d.ts.map +0 -1
  156. package/esm/deps/jsr.io/@std/path/1.1.2/windows/extname.js +0 -82
  157. package/esm/deps/jsr.io/@std/path/1.1.2/windows/format.d.ts +0 -24
  158. package/esm/deps/jsr.io/@std/path/1.1.2/windows/format.d.ts.map +0 -1
  159. package/esm/deps/jsr.io/@std/path/1.1.2/windows/format.js +0 -28
  160. package/esm/deps/jsr.io/@std/path/1.1.2/windows/glob_to_regexp.d.ts +0 -71
  161. package/esm/deps/jsr.io/@std/path/1.1.2/windows/glob_to_regexp.d.ts.map +0 -1
  162. package/esm/deps/jsr.io/@std/path/1.1.2/windows/glob_to_regexp.js +0 -82
  163. package/esm/deps/jsr.io/@std/path/1.1.2/windows/is_absolute.d.ts +0 -17
  164. package/esm/deps/jsr.io/@std/path/1.1.2/windows/is_absolute.d.ts.map +0 -1
  165. package/esm/deps/jsr.io/@std/path/1.1.2/windows/is_absolute.js +0 -38
  166. package/esm/deps/jsr.io/@std/path/1.1.2/windows/join_globs.d.ts +0 -21
  167. package/esm/deps/jsr.io/@std/path/1.1.2/windows/join_globs.d.ts.map +0 -1
  168. package/esm/deps/jsr.io/@std/path/1.1.2/windows/join_globs.js +0 -41
  169. package/esm/deps/jsr.io/@std/path/1.1.2/windows/normalize_glob.d.ts +0 -20
  170. package/esm/deps/jsr.io/@std/path/1.1.2/windows/normalize_glob.d.ts.map +0 -1
  171. package/esm/deps/jsr.io/@std/path/1.1.2/windows/normalize_glob.js +0 -32
  172. package/esm/deps/jsr.io/@std/path/1.1.2/windows/parse.d.ts +0 -25
  173. package/esm/deps/jsr.io/@std/path/1.1.2/windows/parse.d.ts.map +0 -1
  174. package/esm/deps/jsr.io/@std/path/1.1.2/windows/parse.js +0 -176
  175. package/esm/deps/jsr.io/@std/path/1.1.2/windows/relative.d.ts +0 -23
  176. package/esm/deps/jsr.io/@std/path/1.1.2/windows/relative.d.ts.map +0 -1
  177. package/esm/deps/jsr.io/@std/path/1.1.2/windows/relative.js +0 -131
  178. package/esm/deps/jsr.io/@std/path/1.1.2/windows/resolve.d.ts +0 -17
  179. package/esm/deps/jsr.io/@std/path/1.1.2/windows/resolve.d.ts.map +0 -1
  180. package/esm/deps/jsr.io/@std/path/1.1.2/windows/resolve.js +0 -154
  181. package/esm/deps/jsr.io/@std/path/1.1.2/windows/to_file_url.d.ts +0 -17
  182. package/esm/deps/jsr.io/@std/path/1.1.2/windows/to_file_url.d.ts.map +0 -1
  183. package/esm/deps/jsr.io/@std/path/1.1.2/windows/to_file_url.js +0 -34
  184. package/esm/deps/jsr.io/@std/path/1.1.2/windows/to_namespaced_path.d.ts +0 -17
  185. package/esm/deps/jsr.io/@std/path/1.1.2/windows/to_namespaced_path.d.ts.map +0 -1
  186. package/esm/deps/jsr.io/@std/path/1.1.2/windows/to_namespaced_path.js +0 -49
  187. package/esm/deps/jsr.io/@std/yaml/1.0.9/_dumper_state.d.ts +0 -106
  188. package/esm/deps/jsr.io/@std/yaml/1.0.9/_dumper_state.d.ts.map +0 -1
  189. package/esm/deps/jsr.io/@std/yaml/1.0.9/_dumper_state.js +0 -716
  190. package/esm/deps/jsr.io/@std/yaml/1.0.9/mod.d.ts +0 -50
  191. package/esm/deps/jsr.io/@std/yaml/1.0.9/mod.d.ts.map +0 -1
  192. package/esm/deps/jsr.io/@std/yaml/1.0.9/mod.js +0 -52
  193. package/esm/deps/jsr.io/@std/yaml/1.0.9/stringify.d.ts +0 -100
  194. package/esm/deps/jsr.io/@std/yaml/1.0.9/stringify.d.ts.map +0 -1
  195. package/esm/deps/jsr.io/@std/yaml/1.0.9/stringify.js +0 -33
  196. package/script/deps/jsr.io/@std/path/1.1.2/_common/basename.d.ts +0 -4
  197. package/script/deps/jsr.io/@std/path/1.1.2/_common/basename.d.ts.map +0 -1
  198. package/script/deps/jsr.io/@std/path/1.1.2/_common/basename.js +0 -45
  199. package/script/deps/jsr.io/@std/path/1.1.2/_common/common.d.ts +0 -2
  200. package/script/deps/jsr.io/@std/path/1.1.2/_common/common.d.ts.map +0 -1
  201. package/script/deps/jsr.io/@std/path/1.1.2/_common/common.js +0 -26
  202. package/script/deps/jsr.io/@std/path/1.1.2/_common/dirname.d.ts +0 -2
  203. package/script/deps/jsr.io/@std/path/1.1.2/_common/dirname.d.ts.map +0 -1
  204. package/script/deps/jsr.io/@std/path/1.1.2/_common/dirname.js +0 -11
  205. package/script/deps/jsr.io/@std/path/1.1.2/_common/format.d.ts +0 -4
  206. package/script/deps/jsr.io/@std/path/1.1.2/_common/format.d.ts.map +0 -1
  207. package/script/deps/jsr.io/@std/path/1.1.2/_common/format.js +0 -23
  208. package/script/deps/jsr.io/@std/path/1.1.2/_common/glob_to_reg_exp.d.ts +0 -35
  209. package/script/deps/jsr.io/@std/path/1.1.2/_common/glob_to_reg_exp.d.ts.map +0 -1
  210. package/script/deps/jsr.io/@std/path/1.1.2/_common/glob_to_reg_exp.js +0 -237
  211. package/script/deps/jsr.io/@std/path/1.1.2/_common/relative.d.ts +0 -2
  212. package/script/deps/jsr.io/@std/path/1.1.2/_common/relative.d.ts.map +0 -1
  213. package/script/deps/jsr.io/@std/path/1.1.2/_common/relative.js +0 -12
  214. package/script/deps/jsr.io/@std/path/1.1.2/_common/strip_trailing_separators.d.ts +0 -2
  215. package/script/deps/jsr.io/@std/path/1.1.2/_common/strip_trailing_separators.d.ts.map +0 -1
  216. package/script/deps/jsr.io/@std/path/1.1.2/_common/strip_trailing_separators.js +0 -22
  217. package/script/deps/jsr.io/@std/path/1.1.2/_common/to_file_url.d.ts +0 -2
  218. package/script/deps/jsr.io/@std/path/1.1.2/_common/to_file_url.d.ts.map +0 -1
  219. package/script/deps/jsr.io/@std/path/1.1.2/_common/to_file_url.js +0 -18
  220. package/script/deps/jsr.io/@std/path/1.1.2/basename.d.ts +0 -27
  221. package/script/deps/jsr.io/@std/path/1.1.2/basename.d.ts.map +0 -1
  222. package/script/deps/jsr.io/@std/path/1.1.2/basename.js +0 -38
  223. package/script/deps/jsr.io/@std/path/1.1.2/common.d.ts +0 -28
  224. package/script/deps/jsr.io/@std/path/1.1.2/common.d.ts.map +0 -1
  225. package/script/deps/jsr.io/@std/path/1.1.2/common.js +0 -36
  226. package/script/deps/jsr.io/@std/path/1.1.2/constants.d.ts +0 -15
  227. package/script/deps/jsr.io/@std/path/1.1.2/constants.d.ts.map +0 -1
  228. package/script/deps/jsr.io/@std/path/1.1.2/constants.js +0 -20
  229. package/script/deps/jsr.io/@std/path/1.1.2/dirname.d.ts +0 -22
  230. package/script/deps/jsr.io/@std/path/1.1.2/dirname.d.ts.map +0 -1
  231. package/script/deps/jsr.io/@std/path/1.1.2/dirname.js +0 -31
  232. package/script/deps/jsr.io/@std/path/1.1.2/extname.d.ts +0 -22
  233. package/script/deps/jsr.io/@std/path/1.1.2/extname.d.ts.map +0 -1
  234. package/script/deps/jsr.io/@std/path/1.1.2/extname.js +0 -31
  235. package/script/deps/jsr.io/@std/path/1.1.2/format.d.ts +0 -22
  236. package/script/deps/jsr.io/@std/path/1.1.2/format.d.ts.map +0 -1
  237. package/script/deps/jsr.io/@std/path/1.1.2/format.js +0 -30
  238. package/script/deps/jsr.io/@std/path/1.1.2/from_file_url.d.ts +0 -22
  239. package/script/deps/jsr.io/@std/path/1.1.2/from_file_url.d.ts.map +0 -1
  240. package/script/deps/jsr.io/@std/path/1.1.2/from_file_url.js +0 -31
  241. package/script/deps/jsr.io/@std/path/1.1.2/glob_to_regexp.d.ts +0 -77
  242. package/script/deps/jsr.io/@std/path/1.1.2/glob_to_regexp.d.ts.map +0 -1
  243. package/script/deps/jsr.io/@std/path/1.1.2/glob_to_regexp.js +0 -86
  244. package/script/deps/jsr.io/@std/path/1.1.2/is_absolute.d.ts +0 -22
  245. package/script/deps/jsr.io/@std/path/1.1.2/is_absolute.d.ts.map +0 -1
  246. package/script/deps/jsr.io/@std/path/1.1.2/is_absolute.js +0 -31
  247. package/script/deps/jsr.io/@std/path/1.1.2/is_glob.d.ts +0 -17
  248. package/script/deps/jsr.io/@std/path/1.1.2/is_glob.d.ts.map +0 -1
  249. package/script/deps/jsr.io/@std/path/1.1.2/is_glob.js +0 -45
  250. package/script/deps/jsr.io/@std/path/1.1.2/join_globs.d.ts +0 -28
  251. package/script/deps/jsr.io/@std/path/1.1.2/join_globs.d.ts.map +0 -1
  252. package/script/deps/jsr.io/@std/path/1.1.2/join_globs.js +0 -37
  253. package/script/deps/jsr.io/@std/path/1.1.2/mod.d.ts +0 -213
  254. package/script/deps/jsr.io/@std/path/1.1.2/mod.d.ts.map +0 -1
  255. package/script/deps/jsr.io/@std/path/1.1.2/mod.js +0 -232
  256. package/script/deps/jsr.io/@std/path/1.1.2/normalize_glob.d.ts +0 -29
  257. package/script/deps/jsr.io/@std/path/1.1.2/normalize_glob.d.ts.map +0 -1
  258. package/script/deps/jsr.io/@std/path/1.1.2/normalize_glob.js +0 -38
  259. package/script/deps/jsr.io/@std/path/1.1.2/parse.d.ts +0 -35
  260. package/script/deps/jsr.io/@std/path/1.1.2/parse.d.ts.map +0 -1
  261. package/script/deps/jsr.io/@std/path/1.1.2/parse.js +0 -42
  262. package/script/deps/jsr.io/@std/path/1.1.2/posix/basename.d.ts +0 -39
  263. package/script/deps/jsr.io/@std/path/1.1.2/posix/basename.d.ts.map +0 -1
  264. package/script/deps/jsr.io/@std/path/1.1.2/posix/basename.js +0 -55
  265. package/script/deps/jsr.io/@std/path/1.1.2/posix/constants.d.ts +0 -13
  266. package/script/deps/jsr.io/@std/path/1.1.2/posix/constants.d.ts.map +0 -1
  267. package/script/deps/jsr.io/@std/path/1.1.2/posix/constants.js +0 -17
  268. package/script/deps/jsr.io/@std/path/1.1.2/posix/dirname.d.ts +0 -30
  269. package/script/deps/jsr.io/@std/path/1.1.2/posix/dirname.d.ts.map +0 -1
  270. package/script/deps/jsr.io/@std/path/1.1.2/posix/dirname.js +0 -67
  271. package/script/deps/jsr.io/@std/path/1.1.2/posix/extname.d.ts +0 -37
  272. package/script/deps/jsr.io/@std/path/1.1.2/posix/extname.d.ts.map +0 -1
  273. package/script/deps/jsr.io/@std/path/1.1.2/posix/extname.js +0 -96
  274. package/script/deps/jsr.io/@std/path/1.1.2/posix/format.d.ts +0 -24
  275. package/script/deps/jsr.io/@std/path/1.1.2/posix/format.d.ts.map +0 -1
  276. package/script/deps/jsr.io/@std/path/1.1.2/posix/format.js +0 -31
  277. package/script/deps/jsr.io/@std/path/1.1.2/posix/glob_to_regexp.d.ts +0 -72
  278. package/script/deps/jsr.io/@std/path/1.1.2/posix/glob_to_regexp.d.ts.map +0 -1
  279. package/script/deps/jsr.io/@std/path/1.1.2/posix/glob_to_regexp.js +0 -85
  280. package/script/deps/jsr.io/@std/path/1.1.2/posix/is_absolute.d.ts +0 -17
  281. package/script/deps/jsr.io/@std/path/1.1.2/posix/is_absolute.d.ts.map +0 -1
  282. package/script/deps/jsr.io/@std/path/1.1.2/posix/is_absolute.js +0 -26
  283. package/script/deps/jsr.io/@std/path/1.1.2/posix/join_globs.d.ts +0 -20
  284. package/script/deps/jsr.io/@std/path/1.1.2/posix/join_globs.d.ts.map +0 -1
  285. package/script/deps/jsr.io/@std/path/1.1.2/posix/join_globs.js +0 -43
  286. package/script/deps/jsr.io/@std/path/1.1.2/posix/normalize_glob.d.ts +0 -20
  287. package/script/deps/jsr.io/@std/path/1.1.2/posix/normalize_glob.d.ts.map +0 -1
  288. package/script/deps/jsr.io/@std/path/1.1.2/posix/normalize_glob.js +0 -35
  289. package/script/deps/jsr.io/@std/path/1.1.2/posix/parse.d.ts +0 -25
  290. package/script/deps/jsr.io/@std/path/1.1.2/posix/parse.d.ts.map +0 -1
  291. package/script/deps/jsr.io/@std/path/1.1.2/posix/parse.js +0 -118
  292. package/script/deps/jsr.io/@std/path/1.1.2/posix/relative.d.ts +0 -20
  293. package/script/deps/jsr.io/@std/path/1.1.2/posix/relative.d.ts.map +0 -1
  294. package/script/deps/jsr.io/@std/path/1.1.2/posix/relative.js +0 -109
  295. package/script/deps/jsr.io/@std/path/1.1.2/posix/resolve.d.ts +0 -17
  296. package/script/deps/jsr.io/@std/path/1.1.2/posix/resolve.d.ts.map +0 -1
  297. package/script/deps/jsr.io/@std/path/1.1.2/posix/resolve.js +0 -95
  298. package/script/deps/jsr.io/@std/path/1.1.2/posix/to_file_url.d.ts +0 -17
  299. package/script/deps/jsr.io/@std/path/1.1.2/posix/to_file_url.d.ts.map +0 -1
  300. package/script/deps/jsr.io/@std/path/1.1.2/posix/to_file_url.js +0 -30
  301. package/script/deps/jsr.io/@std/path/1.1.2/posix/to_namespaced_path.d.ts +0 -16
  302. package/script/deps/jsr.io/@std/path/1.1.2/posix/to_namespaced_path.d.ts.map +0 -1
  303. package/script/deps/jsr.io/@std/path/1.1.2/posix/to_namespaced_path.js +0 -23
  304. package/script/deps/jsr.io/@std/path/1.1.2/relative.d.ts +0 -24
  305. package/script/deps/jsr.io/@std/path/1.1.2/relative.d.ts.map +0 -1
  306. package/script/deps/jsr.io/@std/path/1.1.2/relative.js +0 -33
  307. package/script/deps/jsr.io/@std/path/1.1.2/resolve.d.ts +0 -22
  308. package/script/deps/jsr.io/@std/path/1.1.2/resolve.d.ts.map +0 -1
  309. package/script/deps/jsr.io/@std/path/1.1.2/resolve.js +0 -33
  310. package/script/deps/jsr.io/@std/path/1.1.2/to_file_url.d.ts +0 -22
  311. package/script/deps/jsr.io/@std/path/1.1.2/to_file_url.d.ts.map +0 -1
  312. package/script/deps/jsr.io/@std/path/1.1.2/to_file_url.js +0 -31
  313. package/script/deps/jsr.io/@std/path/1.1.2/to_namespaced_path.d.ts +0 -21
  314. package/script/deps/jsr.io/@std/path/1.1.2/to_namespaced_path.d.ts.map +0 -1
  315. package/script/deps/jsr.io/@std/path/1.1.2/to_namespaced_path.js +0 -32
  316. package/script/deps/jsr.io/@std/path/1.1.2/types.d.ts +0 -38
  317. package/script/deps/jsr.io/@std/path/1.1.2/types.d.ts.map +0 -1
  318. package/script/deps/jsr.io/@std/path/1.1.2/types.js +0 -4
  319. package/script/deps/jsr.io/@std/path/1.1.2/windows/basename.d.ts +0 -22
  320. package/script/deps/jsr.io/@std/path/1.1.2/windows/basename.d.ts.map +0 -1
  321. package/script/deps/jsr.io/@std/path/1.1.2/windows/basename.js +0 -50
  322. package/script/deps/jsr.io/@std/path/1.1.2/windows/constants.d.ts +0 -13
  323. package/script/deps/jsr.io/@std/path/1.1.2/windows/constants.d.ts.map +0 -1
  324. package/script/deps/jsr.io/@std/path/1.1.2/windows/constants.js +0 -17
  325. package/script/deps/jsr.io/@std/path/1.1.2/windows/dirname.d.ts +0 -17
  326. package/script/deps/jsr.io/@std/path/1.1.2/windows/dirname.d.ts.map +0 -1
  327. package/script/deps/jsr.io/@std/path/1.1.2/windows/dirname.js +0 -116
  328. package/script/deps/jsr.io/@std/path/1.1.2/windows/extname.d.ts +0 -17
  329. package/script/deps/jsr.io/@std/path/1.1.2/windows/extname.d.ts.map +0 -1
  330. package/script/deps/jsr.io/@std/path/1.1.2/windows/extname.js +0 -85
  331. package/script/deps/jsr.io/@std/path/1.1.2/windows/format.d.ts +0 -24
  332. package/script/deps/jsr.io/@std/path/1.1.2/windows/format.d.ts.map +0 -1
  333. package/script/deps/jsr.io/@std/path/1.1.2/windows/format.js +0 -31
  334. package/script/deps/jsr.io/@std/path/1.1.2/windows/glob_to_regexp.d.ts +0 -71
  335. package/script/deps/jsr.io/@std/path/1.1.2/windows/glob_to_regexp.d.ts.map +0 -1
  336. package/script/deps/jsr.io/@std/path/1.1.2/windows/glob_to_regexp.js +0 -85
  337. package/script/deps/jsr.io/@std/path/1.1.2/windows/is_absolute.d.ts +0 -17
  338. package/script/deps/jsr.io/@std/path/1.1.2/windows/is_absolute.d.ts.map +0 -1
  339. package/script/deps/jsr.io/@std/path/1.1.2/windows/is_absolute.js +0 -41
  340. package/script/deps/jsr.io/@std/path/1.1.2/windows/join_globs.d.ts +0 -21
  341. package/script/deps/jsr.io/@std/path/1.1.2/windows/join_globs.d.ts.map +0 -1
  342. package/script/deps/jsr.io/@std/path/1.1.2/windows/join_globs.js +0 -44
  343. package/script/deps/jsr.io/@std/path/1.1.2/windows/normalize_glob.d.ts +0 -20
  344. package/script/deps/jsr.io/@std/path/1.1.2/windows/normalize_glob.d.ts.map +0 -1
  345. package/script/deps/jsr.io/@std/path/1.1.2/windows/normalize_glob.js +0 -35
  346. package/script/deps/jsr.io/@std/path/1.1.2/windows/parse.d.ts +0 -25
  347. package/script/deps/jsr.io/@std/path/1.1.2/windows/parse.d.ts.map +0 -1
  348. package/script/deps/jsr.io/@std/path/1.1.2/windows/parse.js +0 -179
  349. package/script/deps/jsr.io/@std/path/1.1.2/windows/relative.d.ts +0 -23
  350. package/script/deps/jsr.io/@std/path/1.1.2/windows/relative.d.ts.map +0 -1
  351. package/script/deps/jsr.io/@std/path/1.1.2/windows/relative.js +0 -134
  352. package/script/deps/jsr.io/@std/path/1.1.2/windows/resolve.d.ts +0 -17
  353. package/script/deps/jsr.io/@std/path/1.1.2/windows/resolve.d.ts.map +0 -1
  354. package/script/deps/jsr.io/@std/path/1.1.2/windows/resolve.js +0 -190
  355. package/script/deps/jsr.io/@std/path/1.1.2/windows/to_file_url.d.ts +0 -17
  356. package/script/deps/jsr.io/@std/path/1.1.2/windows/to_file_url.d.ts.map +0 -1
  357. package/script/deps/jsr.io/@std/path/1.1.2/windows/to_file_url.js +0 -37
  358. package/script/deps/jsr.io/@std/path/1.1.2/windows/to_namespaced_path.d.ts +0 -17
  359. package/script/deps/jsr.io/@std/path/1.1.2/windows/to_namespaced_path.d.ts.map +0 -1
  360. package/script/deps/jsr.io/@std/path/1.1.2/windows/to_namespaced_path.js +0 -52
  361. package/script/deps/jsr.io/@std/yaml/1.0.9/_dumper_state.d.ts +0 -106
  362. package/script/deps/jsr.io/@std/yaml/1.0.9/_dumper_state.d.ts.map +0 -1
  363. package/script/deps/jsr.io/@std/yaml/1.0.9/_dumper_state.js +0 -720
  364. package/script/deps/jsr.io/@std/yaml/1.0.9/mod.d.ts +0 -50
  365. package/script/deps/jsr.io/@std/yaml/1.0.9/mod.d.ts.map +0 -1
  366. package/script/deps/jsr.io/@std/yaml/1.0.9/mod.js +0 -68
  367. package/script/deps/jsr.io/@std/yaml/1.0.9/stringify.d.ts +0 -100
  368. package/script/deps/jsr.io/@std/yaml/1.0.9/stringify.d.ts.map +0 -1
  369. package/script/deps/jsr.io/@std/yaml/1.0.9/stringify.js +0 -36
@@ -1,234 +0,0 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
2
- // This module is browser compatible.
3
- const REG_EXP_ESCAPE_CHARS = [
4
- "!",
5
- "$",
6
- "(",
7
- ")",
8
- "*",
9
- "+",
10
- ".",
11
- "=",
12
- "?",
13
- "[",
14
- "\\",
15
- "^",
16
- "{",
17
- "|",
18
- ];
19
- const RANGE_ESCAPE_CHARS = ["-", "\\", "]"];
20
- export function _globToRegExp(c, glob, { extended = true, globstar: globstarOption = true,
21
- // os = osType,
22
- caseInsensitive = false, } = {}) {
23
- if (glob === "") {
24
- return /(?!)/;
25
- }
26
- // Remove trailing separators.
27
- let newLength = glob.length;
28
- for (; newLength > 1 && c.seps.includes(glob[newLength - 1]); newLength--)
29
- ;
30
- glob = glob.slice(0, newLength);
31
- let regExpString = "";
32
- // Terminates correctly. Trust that `j` is incremented every iteration.
33
- for (let j = 0; j < glob.length;) {
34
- let segment = "";
35
- const groupStack = [];
36
- let inRange = false;
37
- let inEscape = false;
38
- let endsWithSep = false;
39
- let i = j;
40
- // Terminates with `i` at the non-inclusive end of the current segment.
41
- for (; i < glob.length && !c.seps.includes(glob[i]); i++) {
42
- if (inEscape) {
43
- inEscape = false;
44
- const escapeChars = (inRange
45
- ? RANGE_ESCAPE_CHARS
46
- : REG_EXP_ESCAPE_CHARS);
47
- segment += escapeChars.includes(glob[i])
48
- ? `\\${glob[i]}`
49
- : glob[i];
50
- continue;
51
- }
52
- if (glob[i] === c.escapePrefix) {
53
- inEscape = true;
54
- continue;
55
- }
56
- if (glob[i] === "[") {
57
- if (!inRange) {
58
- inRange = true;
59
- segment += "[";
60
- if (glob[i + 1] === "!") {
61
- i++;
62
- segment += "^";
63
- }
64
- else if (glob[i + 1] === "^") {
65
- i++;
66
- segment += "\\^";
67
- }
68
- continue;
69
- }
70
- else if (glob[i + 1] === ":") {
71
- let k = i + 1;
72
- let value = "";
73
- while (glob[k + 1] !== undefined && glob[k + 1] !== ":") {
74
- value += glob[k + 1];
75
- k++;
76
- }
77
- if (glob[k + 1] === ":" && glob[k + 2] === "]") {
78
- i = k + 2;
79
- if (value === "alnum")
80
- segment += "\\dA-Za-z";
81
- else if (value === "alpha")
82
- segment += "A-Za-z";
83
- else if (value === "ascii")
84
- segment += "\x00-\x7F";
85
- else if (value === "blank")
86
- segment += "\t ";
87
- else if (value === "cntrl")
88
- segment += "\x00-\x1F\x7F";
89
- else if (value === "digit")
90
- segment += "\\d";
91
- else if (value === "graph")
92
- segment += "\x21-\x7E";
93
- else if (value === "lower")
94
- segment += "a-z";
95
- else if (value === "print")
96
- segment += "\x20-\x7E";
97
- else if (value === "punct") {
98
- segment += "!\"#$%&'()*+,\\-./:;<=>?@[\\\\\\]^_‘{|}~";
99
- }
100
- else if (value === "space")
101
- segment += "\\s\v";
102
- else if (value === "upper")
103
- segment += "A-Z";
104
- else if (value === "word")
105
- segment += "\\w";
106
- else if (value === "xdigit")
107
- segment += "\\dA-Fa-f";
108
- continue;
109
- }
110
- }
111
- }
112
- if (glob[i] === "]" && inRange) {
113
- inRange = false;
114
- segment += "]";
115
- continue;
116
- }
117
- if (inRange) {
118
- segment += glob[i];
119
- continue;
120
- }
121
- if (glob[i] === ")" && groupStack.length > 0 &&
122
- groupStack[groupStack.length - 1] !== "BRACE") {
123
- segment += ")";
124
- const type = groupStack.pop();
125
- if (type === "!") {
126
- segment += c.wildcard;
127
- }
128
- else if (type !== "@") {
129
- segment += type;
130
- }
131
- continue;
132
- }
133
- if (glob[i] === "|" && groupStack.length > 0 &&
134
- groupStack[groupStack.length - 1] !== "BRACE") {
135
- segment += "|";
136
- continue;
137
- }
138
- if (glob[i] === "+" && extended && glob[i + 1] === "(") {
139
- i++;
140
- groupStack.push("+");
141
- segment += "(?:";
142
- continue;
143
- }
144
- if (glob[i] === "@" && extended && glob[i + 1] === "(") {
145
- i++;
146
- groupStack.push("@");
147
- segment += "(?:";
148
- continue;
149
- }
150
- if (glob[i] === "?") {
151
- if (extended && glob[i + 1] === "(") {
152
- i++;
153
- groupStack.push("?");
154
- segment += "(?:";
155
- }
156
- else {
157
- segment += ".";
158
- }
159
- continue;
160
- }
161
- if (glob[i] === "!" && extended && glob[i + 1] === "(") {
162
- i++;
163
- groupStack.push("!");
164
- segment += "(?!";
165
- continue;
166
- }
167
- if (glob[i] === "{") {
168
- groupStack.push("BRACE");
169
- segment += "(?:";
170
- continue;
171
- }
172
- if (glob[i] === "}" && groupStack[groupStack.length - 1] === "BRACE") {
173
- groupStack.pop();
174
- segment += ")";
175
- continue;
176
- }
177
- if (glob[i] === "," && groupStack[groupStack.length - 1] === "BRACE") {
178
- segment += "|";
179
- continue;
180
- }
181
- if (glob[i] === "*") {
182
- if (extended && glob[i + 1] === "(") {
183
- i++;
184
- groupStack.push("*");
185
- segment += "(?:";
186
- }
187
- else {
188
- const prevChar = glob[i - 1];
189
- let numStars = 1;
190
- while (glob[i + 1] === "*") {
191
- i++;
192
- numStars++;
193
- }
194
- const nextChar = glob[i + 1];
195
- if (globstarOption && numStars === 2 &&
196
- [...c.seps, undefined].includes(prevChar) &&
197
- [...c.seps, undefined].includes(nextChar)) {
198
- segment += c.globstar;
199
- endsWithSep = true;
200
- }
201
- else {
202
- segment += c.wildcard;
203
- }
204
- }
205
- continue;
206
- }
207
- segment += REG_EXP_ESCAPE_CHARS.includes(glob[i])
208
- ? `\\${glob[i]}`
209
- : glob[i];
210
- }
211
- // Check for unclosed groups or a dangling backslash.
212
- if (groupStack.length > 0 || inRange || inEscape) {
213
- // Parse failure. Take all characters from this segment literally.
214
- segment = "";
215
- for (const c of glob.slice(j, i)) {
216
- segment += REG_EXP_ESCAPE_CHARS.includes(c)
217
- ? `\\${c}`
218
- : c;
219
- endsWithSep = false;
220
- }
221
- }
222
- regExpString += segment;
223
- if (!endsWithSep) {
224
- regExpString += i < glob.length ? c.sep : c.sepMaybe;
225
- endsWithSep = true;
226
- }
227
- // Terminates with `i` at the start of the next segment.
228
- while (c.seps.includes(glob[i]))
229
- i++;
230
- j = i;
231
- }
232
- regExpString = `^${regExpString}$`;
233
- return new RegExp(regExpString, caseInsensitive ? "i" : "");
234
- }
@@ -1,2 +0,0 @@
1
- export declare function assertArgs(from: string, to: string): "" | undefined;
2
- //# sourceMappingURL=relative.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"relative.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.1.2/_common/relative.ts"],"names":[],"mappings":"AAKA,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,kBAIlD"}
@@ -1,9 +0,0 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
2
- // This module is browser compatible.
3
- import { assertPath } from "./assert_path.js";
4
- export function assertArgs(from, to) {
5
- assertPath(from);
6
- assertPath(to);
7
- if (from === to)
8
- return "";
9
- }
@@ -1,2 +0,0 @@
1
- export declare function stripTrailingSeparators(segment: string, isSep: (char: number) => boolean): string;
2
- //# sourceMappingURL=strip_trailing_separators.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"strip_trailing_separators.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.1.2/_common/strip_trailing_separators.ts"],"names":[],"mappings":"AAKA,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,GAC/B,MAAM,CAgBR"}
@@ -1,19 +0,0 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
2
- // Copyright the Browserify authors. MIT License.
3
- // Ported from https://github.com/browserify/path-browserify/
4
- // This module is browser compatible.
5
- export function stripTrailingSeparators(segment, isSep) {
6
- if (segment.length <= 1) {
7
- return segment;
8
- }
9
- let end = segment.length;
10
- for (let i = segment.length - 1; i > 0; i--) {
11
- if (isSep(segment.charCodeAt(i))) {
12
- end = i;
13
- }
14
- else {
15
- break;
16
- }
17
- }
18
- return segment.slice(0, end);
19
- }
@@ -1,2 +0,0 @@
1
- export declare function encodeWhitespace(string: string): string;
2
- //# sourceMappingURL=to_file_url.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"to_file_url.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.1.2/_common/to_file_url.ts"],"names":[],"mappings":"AAYA,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAIvD"}
@@ -1,15 +0,0 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
2
- // This module is browser compatible.
3
- const WHITESPACE_ENCODINGS = {
4
- "\u0009": "%09",
5
- "\u000A": "%0A",
6
- "\u000B": "%0B",
7
- "\u000C": "%0C",
8
- "\u000D": "%0D",
9
- "\u0020": "%20",
10
- };
11
- export function encodeWhitespace(string) {
12
- return string.replaceAll(/[\s]/g, (c) => {
13
- return WHITESPACE_ENCODINGS[c] ?? c;
14
- });
15
- }
@@ -1,27 +0,0 @@
1
- /**
2
- * Return the last portion of a path.
3
- *
4
- * The trailing directory separators are ignored, and optional suffix is
5
- * removed.
6
- *
7
- * @example Usage
8
- * ```ts
9
- * import { basename } from "@std/path/basename";
10
- * import { assertEquals } from "@std/assert";
11
- *
12
- * if (Deno.build.os === "windows") {
13
- * assertEquals(basename("C:\\user\\Documents\\image.png"), "image.png");
14
- * assertEquals(basename(new URL("file:///C:/user/Documents/image.png")), "image.png");
15
- * } else {
16
- * assertEquals(basename("/home/user/Documents/image.png"), "image.png");
17
- * assertEquals(basename(new URL("file:///home/user/Documents/image.png")), "image.png");
18
- * }
19
- * ```
20
- *
21
- * @param path Path to extract the name from.
22
- * @param suffix Suffix to remove from extracted name.
23
- *
24
- * @returns The basename of the path.
25
- */
26
- export declare function basename(path: string | URL, suffix?: string): string;
27
- //# sourceMappingURL=basename.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"basename.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/path/1.1.2/basename.ts"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,EAAE,MAAM,SAAK,GAAG,MAAM,CAIhE"}
@@ -1,35 +0,0 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
2
- // This module is browser compatible.
3
- import { isWindows } from "../../internal/1.0.10/os.js";
4
- import { basename as posixBasename } from "./posix/basename.js";
5
- import { basename as windowsBasename } from "./windows/basename.js";
6
- /**
7
- * Return the last portion of a path.
8
- *
9
- * The trailing directory separators are ignored, and optional suffix is
10
- * removed.
11
- *
12
- * @example Usage
13
- * ```ts
14
- * import { basename } from "@std/path/basename";
15
- * import { assertEquals } from "@std/assert";
16
- *
17
- * if (Deno.build.os === "windows") {
18
- * assertEquals(basename("C:\\user\\Documents\\image.png"), "image.png");
19
- * assertEquals(basename(new URL("file:///C:/user/Documents/image.png")), "image.png");
20
- * } else {
21
- * assertEquals(basename("/home/user/Documents/image.png"), "image.png");
22
- * assertEquals(basename(new URL("file:///home/user/Documents/image.png")), "image.png");
23
- * }
24
- * ```
25
- *
26
- * @param path Path to extract the name from.
27
- * @param suffix Suffix to remove from extracted name.
28
- *
29
- * @returns The basename of the path.
30
- */
31
- export function basename(path, suffix = "") {
32
- return isWindows
33
- ? windowsBasename(path, suffix)
34
- : posixBasename(path, suffix);
35
- }
@@ -1,28 +0,0 @@
1
- /**
2
- * Determines the common path from a set of paths for the given OS.
3
- *
4
- * @param paths Paths to search for common path.
5
- * @returns The common path.
6
- *
7
- * @example Usage
8
- * ```ts
9
- * import { common } from "@std/path/common";
10
- * import { assertEquals } from "@std/assert";
11
- *
12
- * if (Deno.build.os === "windows") {
13
- * const path = common([
14
- * "C:\\deno\\std\\path\\mod.ts",
15
- * "C:\\deno\\std\\fs\\mod.ts"
16
- * ]);
17
- * assertEquals(path, "C:\\deno\\std\\");
18
- * } else {
19
- * const path = common([
20
- * "./deno/std/path/mod.ts",
21
- * "./deno/std/fs/mod.ts"
22
- * ]);
23
- * assertEquals(path, "./deno/std/");
24
- * }
25
- * ```
26
- */
27
- export declare function common(paths: string[]): string;
28
- //# sourceMappingURL=common.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/path/1.1.2/common.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,MAAM,CAE9C"}
@@ -1,33 +0,0 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
2
- // This module is browser compatible.
3
- import { common as _common } from "./_common/common.js";
4
- import { SEPARATOR } from "./constants.js";
5
- /**
6
- * Determines the common path from a set of paths for the given OS.
7
- *
8
- * @param paths Paths to search for common path.
9
- * @returns The common path.
10
- *
11
- * @example Usage
12
- * ```ts
13
- * import { common } from "@std/path/common";
14
- * import { assertEquals } from "@std/assert";
15
- *
16
- * if (Deno.build.os === "windows") {
17
- * const path = common([
18
- * "C:\\deno\\std\\path\\mod.ts",
19
- * "C:\\deno\\std\\fs\\mod.ts"
20
- * ]);
21
- * assertEquals(path, "C:\\deno\\std\\");
22
- * } else {
23
- * const path = common([
24
- * "./deno/std/path/mod.ts",
25
- * "./deno/std/fs/mod.ts"
26
- * ]);
27
- * assertEquals(path, "./deno/std/");
28
- * }
29
- * ```
30
- */
31
- export function common(paths) {
32
- return _common(paths, SEPARATOR);
33
- }
@@ -1,15 +0,0 @@
1
- /**
2
- * The character used to separate entries in the PATH environment variable.
3
- * On Windows, this is `;`. On all other platforms, this is `:`.
4
- */
5
- export declare const DELIMITER: ";" | ":";
6
- /**
7
- * The character used to separate components of a file path.
8
- * On Windows, this is `\`. On all other platforms, this is `/`.
9
- */
10
- export declare const SEPARATOR: "\\" | "/";
11
- /**
12
- * A regular expression that matches one or more path separators.
13
- */
14
- export declare const SEPARATOR_PATTERN: RegExp;
15
- //# sourceMappingURL=constants.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/path/1.1.2/constants.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,eAAO,MAAM,SAAS,WAA0C,CAAC;AACjE;;;GAGG;AACH,eAAO,MAAM,SAAS,YAA2C,CAAC;AAClE;;GAEG;AACH,eAAO,MAAM,iBAAiB,QAA+B,CAAC"}
@@ -1,17 +0,0 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
2
- // This module is browser compatible.
3
- import { isWindows } from "../../internal/1.0.10/os.js";
4
- /**
5
- * The character used to separate entries in the PATH environment variable.
6
- * On Windows, this is `;`. On all other platforms, this is `:`.
7
- */
8
- export const DELIMITER = isWindows ? ";" : ":";
9
- /**
10
- * The character used to separate components of a file path.
11
- * On Windows, this is `\`. On all other platforms, this is `/`.
12
- */
13
- export const SEPARATOR = isWindows ? "\\" : "/";
14
- /**
15
- * A regular expression that matches one or more path separators.
16
- */
17
- export const SEPARATOR_PATTERN = isWindows ? /[\\/]+/ : /\/+/;
@@ -1,22 +0,0 @@
1
- /**
2
- * Return the directory path of a path.
3
- *
4
- * @example Usage
5
- * ```ts
6
- * import { dirname } from "@std/path/dirname";
7
- * import { assertEquals } from "@std/assert";
8
- *
9
- * if (Deno.build.os === "windows") {
10
- * assertEquals(dirname("C:\\home\\user\\Documents\\image.png"), "C:\\home\\user\\Documents");
11
- * assertEquals(dirname(new URL("file:///C:/home/user/Documents/image.png")), "C:\\home\\user\\Documents");
12
- * } else {
13
- * assertEquals(dirname("/home/user/Documents/image.png"), "/home/user/Documents");
14
- * assertEquals(dirname(new URL("file:///home/user/Documents/image.png")), "/home/user/Documents");
15
- * }
16
- * ```
17
- *
18
- * @param path Path to extract the directory from.
19
- * @returns The directory path.
20
- */
21
- export declare function dirname(path: string | URL): string;
22
- //# sourceMappingURL=dirname.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dirname.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/path/1.1.2/dirname.ts"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,GAAG,MAAM,CAElD"}
@@ -1,28 +0,0 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
2
- // This module is browser compatible.
3
- import { isWindows } from "../../internal/1.0.10/os.js";
4
- import { dirname as posixDirname } from "./posix/dirname.js";
5
- import { dirname as windowsDirname } from "./windows/dirname.js";
6
- /**
7
- * Return the directory path of a path.
8
- *
9
- * @example Usage
10
- * ```ts
11
- * import { dirname } from "@std/path/dirname";
12
- * import { assertEquals } from "@std/assert";
13
- *
14
- * if (Deno.build.os === "windows") {
15
- * assertEquals(dirname("C:\\home\\user\\Documents\\image.png"), "C:\\home\\user\\Documents");
16
- * assertEquals(dirname(new URL("file:///C:/home/user/Documents/image.png")), "C:\\home\\user\\Documents");
17
- * } else {
18
- * assertEquals(dirname("/home/user/Documents/image.png"), "/home/user/Documents");
19
- * assertEquals(dirname(new URL("file:///home/user/Documents/image.png")), "/home/user/Documents");
20
- * }
21
- * ```
22
- *
23
- * @param path Path to extract the directory from.
24
- * @returns The directory path.
25
- */
26
- export function dirname(path) {
27
- return isWindows ? windowsDirname(path) : posixDirname(path);
28
- }
@@ -1,22 +0,0 @@
1
- /**
2
- * Return the extension of the path with leading period (".").
3
- *
4
- * @example Usage
5
- * ```ts
6
- * import { extname } from "@std/path/extname";
7
- * import { assertEquals } from "@std/assert";
8
- *
9
- * if (Deno.build.os === "windows") {
10
- * assertEquals(extname("C:\\home\\user\\Documents\\image.png"), ".png");
11
- * assertEquals(extname(new URL("file:///C:/home/user/Documents/image.png")), ".png");
12
- * } else {
13
- * assertEquals(extname("/home/user/Documents/image.png"), ".png");
14
- * assertEquals(extname(new URL("file:///home/user/Documents/image.png")), ".png");
15
- * }
16
- * ```
17
- *
18
- * @param path Path with extension.
19
- * @returns The file extension. E.g. returns `.ts` for `file.ts`.
20
- */
21
- export declare function extname(path: string | URL): string;
22
- //# sourceMappingURL=extname.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"extname.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/path/1.1.2/extname.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,GAAG,MAAM,CAElD"}
@@ -1,28 +0,0 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
2
- // This module is browser compatible.
3
- import { isWindows } from "../../internal/1.0.10/os.js";
4
- import { extname as posixExtname } from "./posix/extname.js";
5
- import { extname as windowsExtname } from "./windows/extname.js";
6
- /**
7
- * Return the extension of the path with leading period (".").
8
- *
9
- * @example Usage
10
- * ```ts
11
- * import { extname } from "@std/path/extname";
12
- * import { assertEquals } from "@std/assert";
13
- *
14
- * if (Deno.build.os === "windows") {
15
- * assertEquals(extname("C:\\home\\user\\Documents\\image.png"), ".png");
16
- * assertEquals(extname(new URL("file:///C:/home/user/Documents/image.png")), ".png");
17
- * } else {
18
- * assertEquals(extname("/home/user/Documents/image.png"), ".png");
19
- * assertEquals(extname(new URL("file:///home/user/Documents/image.png")), ".png");
20
- * }
21
- * ```
22
- *
23
- * @param path Path with extension.
24
- * @returns The file extension. E.g. returns `.ts` for `file.ts`.
25
- */
26
- export function extname(path) {
27
- return isWindows ? windowsExtname(path) : posixExtname(path);
28
- }
@@ -1,22 +0,0 @@
1
- import type { ParsedPath } from "./types.js";
2
- /**
3
- * Generate a path from a {@linkcode ParsedPath} object. It does the
4
- * opposite of {@linkcode https://jsr.io/@std/path/doc/~/parse | parse()}.
5
- *
6
- * @example Usage
7
- * ```ts
8
- * import { format } from "@std/path/format";
9
- * import { assertEquals } from "@std/assert";
10
- *
11
- * if (Deno.build.os === "windows") {
12
- * assertEquals(format({ dir: "C:\\path\\to", base: "script.ts" }), "C:\\path\\to\\script.ts");
13
- * } else {
14
- * assertEquals(format({ dir: "/path/to/dir", base: "script.ts" }), "/path/to/dir/script.ts");
15
- * }
16
- * ```
17
- *
18
- * @param pathObject Object with path components.
19
- * @returns The formatted path.
20
- */
21
- export declare function format(pathObject: Partial<ParsedPath>): string;
22
- //# sourceMappingURL=format.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/path/1.1.2/format.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,MAAM,CAAC,UAAU,EAAE,OAAO,CAAC,UAAU,CAAC,GAAG,MAAM,CAE9D"}
@@ -1,27 +0,0 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
2
- // This module is browser compatible.
3
- import { isWindows } from "../../internal/1.0.10/os.js";
4
- import { format as posixFormat } from "./posix/format.js";
5
- import { format as windowsFormat } from "./windows/format.js";
6
- /**
7
- * Generate a path from a {@linkcode ParsedPath} object. It does the
8
- * opposite of {@linkcode https://jsr.io/@std/path/doc/~/parse | parse()}.
9
- *
10
- * @example Usage
11
- * ```ts
12
- * import { format } from "@std/path/format";
13
- * import { assertEquals } from "@std/assert";
14
- *
15
- * if (Deno.build.os === "windows") {
16
- * assertEquals(format({ dir: "C:\\path\\to", base: "script.ts" }), "C:\\path\\to\\script.ts");
17
- * } else {
18
- * assertEquals(format({ dir: "/path/to/dir", base: "script.ts" }), "/path/to/dir/script.ts");
19
- * }
20
- * ```
21
- *
22
- * @param pathObject Object with path components.
23
- * @returns The formatted path.
24
- */
25
- export function format(pathObject) {
26
- return isWindows ? windowsFormat(pathObject) : posixFormat(pathObject);
27
- }