@skmtc/core 0.0.741 → 0.0.743

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,21 +0,0 @@
1
- /**
2
- * Resolves path to a namespace path. This is a no-op on
3
- * non-windows systems.
4
- *
5
- * @example Usage
6
- * ```ts
7
- * import { toNamespacedPath } from "@std/path/to-namespaced-path";
8
- * import { assertEquals } from "@std/assert";
9
- *
10
- * if (Deno.build.os === "windows") {
11
- * assertEquals(toNamespacedPath("C:\\foo\\bar"), "\\\\?\\C:\\foo\\bar");
12
- * } else {
13
- * assertEquals(toNamespacedPath("/foo/bar"), "/foo/bar");
14
- * }
15
- * ```
16
- *
17
- * @param path Path to resolve to namespace.
18
- * @returns The resolved namespace path.
19
- */
20
- export declare function toNamespacedPath(path: string): string;
21
- //# sourceMappingURL=to_namespaced_path.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"to_namespaced_path.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/path/1.1.2/to_namespaced_path.ts"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAIrD"}
@@ -1,32 +0,0 @@
1
- "use strict";
2
- // Copyright 2018-2025 the Deno authors. MIT license.
3
- // This module is browser compatible.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.toNamespacedPath = toNamespacedPath;
6
- const os_js_1 = require("../../internal/1.0.10/os.js");
7
- const to_namespaced_path_js_1 = require("./posix/to_namespaced_path.js");
8
- const to_namespaced_path_js_2 = require("./windows/to_namespaced_path.js");
9
- /**
10
- * Resolves path to a namespace path. This is a no-op on
11
- * non-windows systems.
12
- *
13
- * @example Usage
14
- * ```ts
15
- * import { toNamespacedPath } from "@std/path/to-namespaced-path";
16
- * import { assertEquals } from "@std/assert";
17
- *
18
- * if (Deno.build.os === "windows") {
19
- * assertEquals(toNamespacedPath("C:\\foo\\bar"), "\\\\?\\C:\\foo\\bar");
20
- * } else {
21
- * assertEquals(toNamespacedPath("/foo/bar"), "/foo/bar");
22
- * }
23
- * ```
24
- *
25
- * @param path Path to resolve to namespace.
26
- * @returns The resolved namespace path.
27
- */
28
- function toNamespacedPath(path) {
29
- return os_js_1.isWindows
30
- ? (0, to_namespaced_path_js_2.toNamespacedPath)(path)
31
- : (0, to_namespaced_path_js_1.toNamespacedPath)(path);
32
- }
@@ -1,38 +0,0 @@
1
- /**
2
- * A parsed path object generated by path.parse() or consumed by path.format().
3
- *
4
- * @example
5
- * ```ts
6
- * import { parse } from "@std/path";
7
- *
8
- * const parsedPathObj = parse("c:\\path\\dir\\index.html");
9
- * parsedPathObj.root; // "c:\\"
10
- * parsedPathObj.dir; // "c:\\path\\dir"
11
- * parsedPathObj.base; // "index.html"
12
- * parsedPathObj.ext; // ".html"
13
- * parsedPathObj.name; // "index"
14
- * ```
15
- */
16
- export interface ParsedPath {
17
- /**
18
- * The root of the path such as '/' or 'c:\'
19
- */
20
- root: string;
21
- /**
22
- * The full directory path of the parent such as '/home/user/dir' or 'c:\path\dir'
23
- */
24
- dir: string;
25
- /**
26
- * The file name including extension (if any) such as 'index.html'
27
- */
28
- base: string;
29
- /**
30
- * The file extension (if any) such as '.html'
31
- */
32
- ext: string;
33
- /**
34
- * The file name without extension (if any) such as 'index'
35
- */
36
- name: string;
37
- }
38
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/path/1.1.2/types.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;GAcG;AACH,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd"}
@@ -1,4 +0,0 @@
1
- "use strict";
2
- // Copyright 2018-2025 the Deno authors. MIT license.
3
- // This module is browser compatible.
4
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,22 +0,0 @@
1
- /**
2
- * Return the last portion of a `path`.
3
- * Trailing directory separators are ignored, and optional suffix is removed.
4
- *
5
- * @example Usage
6
- * ```ts
7
- * import { basename } from "@std/path/windows/basename";
8
- * import { assertEquals } from "@std/assert";
9
- *
10
- * assertEquals(basename("C:\\user\\Documents\\"), "Documents");
11
- * assertEquals(basename("C:\\user\\Documents\\image.png"), "image.png");
12
- * assertEquals(basename("C:\\user\\Documents\\image.png", ".png"), "image");
13
- * assertEquals(basename(new URL("file:///C:/user/Documents/image.png")), "image.png");
14
- * assertEquals(basename(new URL("file:///C:/user/Documents/image.png"), ".png"), "image");
15
- * ```
16
- *
17
- * @param path The path to extract the name from.
18
- * @param suffix The suffix to remove from extracted name.
19
- * @returns The extracted name.
20
- */
21
- export declare function basename(path: string | URL, suffix?: string): string;
22
- //# 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/windows/basename.ts"],"names":[],"mappings":"AAaA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,EAAE,MAAM,SAAK,GAAG,MAAM,CAoBhE"}
@@ -1,50 +0,0 @@
1
- "use strict";
2
- // Copyright 2018-2025 the Deno authors. MIT license.
3
- // This module is browser compatible.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.basename = basename;
6
- const basename_js_1 = require("../_common/basename.js");
7
- const constants_js_1 = require("../_common/constants.js");
8
- const strip_trailing_separators_js_1 = require("../_common/strip_trailing_separators.js");
9
- const _util_js_1 = require("./_util.js");
10
- const from_file_url_js_1 = require("./from_file_url.js");
11
- /**
12
- * Return the last portion of a `path`.
13
- * Trailing directory separators are ignored, and optional suffix is removed.
14
- *
15
- * @example Usage
16
- * ```ts
17
- * import { basename } from "@std/path/windows/basename";
18
- * import { assertEquals } from "@std/assert";
19
- *
20
- * assertEquals(basename("C:\\user\\Documents\\"), "Documents");
21
- * assertEquals(basename("C:\\user\\Documents\\image.png"), "image.png");
22
- * assertEquals(basename("C:\\user\\Documents\\image.png", ".png"), "image");
23
- * assertEquals(basename(new URL("file:///C:/user/Documents/image.png")), "image.png");
24
- * assertEquals(basename(new URL("file:///C:/user/Documents/image.png"), ".png"), "image");
25
- * ```
26
- *
27
- * @param path The path to extract the name from.
28
- * @param suffix The suffix to remove from extracted name.
29
- * @returns The extracted name.
30
- */
31
- function basename(path, suffix = "") {
32
- if (path instanceof URL) {
33
- path = (0, from_file_url_js_1.fromFileUrl)(path);
34
- }
35
- (0, basename_js_1.assertArgs)(path, suffix);
36
- // Check for a drive letter prefix so as not to mistake the following
37
- // path separator as an extra separator at the end of the path that can be
38
- // disregarded
39
- let start = 0;
40
- if (path.length >= 2) {
41
- const drive = path.charCodeAt(0);
42
- if ((0, _util_js_1.isWindowsDeviceRoot)(drive)) {
43
- if (path.charCodeAt(1) === constants_js_1.CHAR_COLON)
44
- start = 2;
45
- }
46
- }
47
- const lastSegment = (0, basename_js_1.lastPathSegment)(path, _util_js_1.isPathSeparator, start);
48
- const strippedSegment = (0, strip_trailing_separators_js_1.stripTrailingSeparators)(lastSegment, _util_js_1.isPathSeparator);
49
- return suffix ? (0, basename_js_1.stripSuffix)(strippedSegment, suffix) : strippedSegment;
50
- }
@@ -1,13 +0,0 @@
1
- /**
2
- * The character used to separate entries in the PATH environment variable.
3
- */
4
- export declare const DELIMITER: ";";
5
- /**
6
- * The character used to separate components of a file path.
7
- */
8
- export declare const SEPARATOR: "\\";
9
- /**
10
- * A regular expression that matches one or more path separators.
11
- */
12
- export declare const SEPARATOR_PATTERN: RegExp;
13
- //# 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/windows/constants.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,eAAO,MAAM,SAAS,EAAG,GAAY,CAAC;AACtC;;GAEG;AACH,eAAO,MAAM,SAAS,EAAG,IAAa,CAAC;AACvC;;GAEG;AACH,eAAO,MAAM,iBAAiB,QAAW,CAAC"}
@@ -1,17 +0,0 @@
1
- "use strict";
2
- // Copyright 2018-2025 the Deno authors. MIT license.
3
- // This module is browser compatible.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.SEPARATOR_PATTERN = exports.SEPARATOR = exports.DELIMITER = void 0;
6
- /**
7
- * The character used to separate entries in the PATH environment variable.
8
- */
9
- exports.DELIMITER = ";";
10
- /**
11
- * The character used to separate components of a file path.
12
- */
13
- exports.SEPARATOR = "\\";
14
- /**
15
- * A regular expression that matches one or more path separators.
16
- */
17
- exports.SEPARATOR_PATTERN = /[\\/]+/;
@@ -1,17 +0,0 @@
1
- /**
2
- * Return the directory path of a `path`.
3
- *
4
- * @example Usage
5
- * ```ts
6
- * import { dirname } from "@std/path/windows/dirname";
7
- * import { assertEquals } from "@std/assert";
8
- *
9
- * assertEquals(dirname("C:\\foo\\bar\\baz.ext"), "C:\\foo\\bar");
10
- * assertEquals(dirname(new URL("file:///C:/foo/bar/baz.ext")), "C:\\foo\\bar");
11
- * ```
12
- *
13
- * @param path The path to get the directory from.
14
- * @returns The directory path.
15
- */
16
- export declare function dirname(path: string | URL): string;
17
- //# 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/windows/dirname.ts"],"names":[],"mappings":"AAaA;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,GAAG,MAAM,CAyFlD"}
@@ -1,116 +0,0 @@
1
- "use strict";
2
- // Copyright 2018-2025 the Deno authors. MIT license.
3
- // This module is browser compatible.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.dirname = dirname;
6
- const dirname_js_1 = require("../_common/dirname.js");
7
- const constants_js_1 = require("../_common/constants.js");
8
- const strip_trailing_separators_js_1 = require("../_common/strip_trailing_separators.js");
9
- const _util_js_1 = require("./_util.js");
10
- const from_file_url_js_1 = require("./from_file_url.js");
11
- /**
12
- * Return the directory path of a `path`.
13
- *
14
- * @example Usage
15
- * ```ts
16
- * import { dirname } from "@std/path/windows/dirname";
17
- * import { assertEquals } from "@std/assert";
18
- *
19
- * assertEquals(dirname("C:\\foo\\bar\\baz.ext"), "C:\\foo\\bar");
20
- * assertEquals(dirname(new URL("file:///C:/foo/bar/baz.ext")), "C:\\foo\\bar");
21
- * ```
22
- *
23
- * @param path The path to get the directory from.
24
- * @returns The directory path.
25
- */
26
- function dirname(path) {
27
- if (path instanceof URL) {
28
- path = (0, from_file_url_js_1.fromFileUrl)(path);
29
- }
30
- (0, dirname_js_1.assertArg)(path);
31
- const len = path.length;
32
- let rootEnd = -1;
33
- let end = -1;
34
- let matchedSlash = true;
35
- let offset = 0;
36
- const code = path.charCodeAt(0);
37
- // Try to match a root
38
- if (len > 1) {
39
- if ((0, _util_js_1.isPathSeparator)(code)) {
40
- // Possible UNC root
41
- rootEnd = offset = 1;
42
- if ((0, _util_js_1.isPathSeparator)(path.charCodeAt(1))) {
43
- // Matched double path separator at beginning
44
- let j = 2;
45
- let last = j;
46
- // Match 1 or more non-path separators
47
- for (; j < len; ++j) {
48
- if ((0, _util_js_1.isPathSeparator)(path.charCodeAt(j)))
49
- break;
50
- }
51
- if (j < len && j !== last) {
52
- // Matched!
53
- last = j;
54
- // Match 1 or more path separators
55
- for (; j < len; ++j) {
56
- if (!(0, _util_js_1.isPathSeparator)(path.charCodeAt(j)))
57
- break;
58
- }
59
- if (j < len && j !== last) {
60
- // Matched!
61
- last = j;
62
- // Match 1 or more non-path separators
63
- for (; j < len; ++j) {
64
- if ((0, _util_js_1.isPathSeparator)(path.charCodeAt(j)))
65
- break;
66
- }
67
- if (j === len) {
68
- // We matched a UNC root only
69
- return path;
70
- }
71
- if (j !== last) {
72
- // We matched a UNC root with leftovers
73
- // Offset by 1 to include the separator after the UNC root to
74
- // treat it as a "normal root" on top of a (UNC) root
75
- rootEnd = offset = j + 1;
76
- }
77
- }
78
- }
79
- }
80
- }
81
- else if ((0, _util_js_1.isWindowsDeviceRoot)(code)) {
82
- // Possible device root
83
- if (path.charCodeAt(1) === constants_js_1.CHAR_COLON) {
84
- rootEnd = offset = 2;
85
- if (len > 2) {
86
- if ((0, _util_js_1.isPathSeparator)(path.charCodeAt(2)))
87
- rootEnd = offset = 3;
88
- }
89
- }
90
- }
91
- }
92
- else if ((0, _util_js_1.isPathSeparator)(code)) {
93
- // `path` contains just a path separator, exit early to avoid
94
- // unnecessary work
95
- return path;
96
- }
97
- for (let i = len - 1; i >= offset; --i) {
98
- if ((0, _util_js_1.isPathSeparator)(path.charCodeAt(i))) {
99
- if (!matchedSlash) {
100
- end = i;
101
- break;
102
- }
103
- }
104
- else {
105
- // We saw the first non-path separator
106
- matchedSlash = false;
107
- }
108
- }
109
- if (end === -1) {
110
- if (rootEnd === -1)
111
- return ".";
112
- else
113
- end = rootEnd;
114
- }
115
- return (0, strip_trailing_separators_js_1.stripTrailingSeparators)(path.slice(0, end), _util_js_1.isPosixPathSeparator);
116
- }
@@ -1,17 +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/windows/extname";
7
- * import { assertEquals } from "@std/assert";
8
- *
9
- * assertEquals(extname("file.ts"), ".ts");
10
- * assertEquals(extname(new URL("file:///C:/foo/bar/baz.ext")), ".ext");
11
- * ```
12
- *
13
- * @param path The path to get the extension from.
14
- * @returns The extension of the `path`.
15
- */
16
- export declare function extname(path: string | URL): string;
17
- //# 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/windows/extname.ts"],"names":[],"mappings":"AAQA;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,GAAG,MAAM,CAkElD"}
@@ -1,85 +0,0 @@
1
- "use strict";
2
- // Copyright 2018-2025 the Deno authors. MIT license.
3
- // This module is browser compatible.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.extname = extname;
6
- const constants_js_1 = require("../_common/constants.js");
7
- const assert_path_js_1 = require("../_common/assert_path.js");
8
- const _util_js_1 = require("./_util.js");
9
- const from_file_url_js_1 = require("./from_file_url.js");
10
- /**
11
- * Return the extension of the `path` with leading period.
12
- *
13
- * @example Usage
14
- * ```ts
15
- * import { extname } from "@std/path/windows/extname";
16
- * import { assertEquals } from "@std/assert";
17
- *
18
- * assertEquals(extname("file.ts"), ".ts");
19
- * assertEquals(extname(new URL("file:///C:/foo/bar/baz.ext")), ".ext");
20
- * ```
21
- *
22
- * @param path The path to get the extension from.
23
- * @returns The extension of the `path`.
24
- */
25
- function extname(path) {
26
- if (path instanceof URL) {
27
- path = (0, from_file_url_js_1.fromFileUrl)(path);
28
- }
29
- (0, assert_path_js_1.assertPath)(path);
30
- let start = 0;
31
- let startDot = -1;
32
- let startPart = 0;
33
- let end = -1;
34
- let matchedSlash = true;
35
- // Track the state of characters (if any) we see before our first dot and
36
- // after any path separator we find
37
- let preDotState = 0;
38
- // Check for a drive letter prefix so as not to mistake the following
39
- // path separator as an extra separator at the end of the path that can be
40
- // disregarded
41
- if (path.length >= 2 &&
42
- path.charCodeAt(1) === constants_js_1.CHAR_COLON &&
43
- (0, _util_js_1.isWindowsDeviceRoot)(path.charCodeAt(0))) {
44
- start = startPart = 2;
45
- }
46
- for (let i = path.length - 1; i >= start; --i) {
47
- const code = path.charCodeAt(i);
48
- if ((0, _util_js_1.isPathSeparator)(code)) {
49
- // If we reached a path separator that was not part of a set of path
50
- // separators at the end of the string, stop now
51
- if (!matchedSlash) {
52
- startPart = i + 1;
53
- break;
54
- }
55
- continue;
56
- }
57
- if (end === -1) {
58
- // We saw the first non-path separator, mark this as the end of our
59
- // extension
60
- matchedSlash = false;
61
- end = i + 1;
62
- }
63
- if (code === constants_js_1.CHAR_DOT) {
64
- // If this is our first dot, mark it as the start of our extension
65
- if (startDot === -1)
66
- startDot = i;
67
- else if (preDotState !== 1)
68
- preDotState = 1;
69
- }
70
- else if (startDot !== -1) {
71
- // We saw a non-dot and non-path separator before our dot, so we should
72
- // have a good chance at having a non-empty extension
73
- preDotState = -1;
74
- }
75
- }
76
- if (startDot === -1 ||
77
- end === -1 ||
78
- // We saw a non-dot character immediately before the dot
79
- preDotState === 0 ||
80
- // The (right-most) trimmed path component is exactly '..'
81
- (preDotState === 1 && startDot === end - 1 && startDot === startPart + 1)) {
82
- return "";
83
- }
84
- return path.slice(startDot, end);
85
- }
@@ -1,24 +0,0 @@
1
- import type { ParsedPath } from "../types.js";
2
- /**
3
- * Generate a path from `ParsedPath` object.
4
- *
5
- * @example Usage
6
- * ```ts
7
- * import { format } from "@std/path/windows/format";
8
- * import { assertEquals } from "@std/assert";
9
- *
10
- * const path = format({
11
- * root: "C:\\",
12
- * dir: "C:\\path\\dir",
13
- * base: "file.txt",
14
- * ext: ".txt",
15
- * name: "file"
16
- * });
17
- * assertEquals(path, "C:\\path\\dir\\file.txt");
18
- * ```
19
- *
20
- * @param pathObject The path object to format.
21
- * @returns The formatted path.
22
- */
23
- export declare function format(pathObject: Partial<ParsedPath>): string;
24
- //# 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/windows/format.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,MAAM,CAAC,UAAU,EAAE,OAAO,CAAC,UAAU,CAAC,GAAG,MAAM,CAG9D"}
@@ -1,31 +0,0 @@
1
- "use strict";
2
- // Copyright 2018-2025 the Deno authors. MIT license.
3
- // This module is browser compatible.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.format = format;
6
- const format_js_1 = require("../_common/format.js");
7
- /**
8
- * Generate a path from `ParsedPath` object.
9
- *
10
- * @example Usage
11
- * ```ts
12
- * import { format } from "@std/path/windows/format";
13
- * import { assertEquals } from "@std/assert";
14
- *
15
- * const path = format({
16
- * root: "C:\\",
17
- * dir: "C:\\path\\dir",
18
- * base: "file.txt",
19
- * ext: ".txt",
20
- * name: "file"
21
- * });
22
- * assertEquals(path, "C:\\path\\dir\\file.txt");
23
- * ```
24
- *
25
- * @param pathObject The path object to format.
26
- * @returns The formatted path.
27
- */
28
- function format(pathObject) {
29
- (0, format_js_1.assertArg)(pathObject);
30
- return (0, format_js_1._format)("\\", pathObject);
31
- }
@@ -1,71 +0,0 @@
1
- import { type GlobOptions } from "../_common/glob_to_reg_exp.js";
2
- /** Convert a glob string to a regular expression.
3
- *
4
- * Tries to match bash glob expansion as closely as possible.
5
- *
6
- * Basic glob syntax:
7
- * - `*` - Matches everything without leaving the path segment.
8
- * - `?` - Matches any single character.
9
- * - `{foo,bar}` - Matches `foo` or `bar`.
10
- * - `[abcd]` - Matches `a`, `b`, `c` or `d`.
11
- * - `[a-d]` - Matches `a`, `b`, `c` or `d`.
12
- * - `[!abcd]` - Matches any single character besides `a`, `b`, `c` or `d`.
13
- * - `[[:<class>:]]` - Matches any character belonging to `<class>`.
14
- * - `[[:alnum:]]` - Matches any digit or letter.
15
- * - `[[:digit:]abc]` - Matches any digit, `a`, `b` or `c`.
16
- * - See https://facelessuser.github.io/wcmatch/glob/#posix-character-classes
17
- * for a complete list of supported character classes.
18
- * - `\` - Escapes the next character for an `os` other than `"windows"`.
19
- * - \` - Escapes the next character for `os` set to `"windows"`.
20
- * - `/` - Path separator.
21
- * - `\` - Additional path separator only for `os` set to `"windows"`.
22
- *
23
- * Extended syntax:
24
- * - Requires `{ extended: true }`.
25
- * - `?(foo|bar)` - Matches 0 or 1 instance of `{foo,bar}`.
26
- * - `@(foo|bar)` - Matches 1 instance of `{foo,bar}`. They behave the same.
27
- * - `*(foo|bar)` - Matches _n_ instances of `{foo,bar}`.
28
- * - `+(foo|bar)` - Matches _n > 0_ instances of `{foo,bar}`.
29
- * - `!(foo|bar)` - Matches anything other than `{foo,bar}`.
30
- * - See https://www.linuxjournal.com/content/bash-extended-globbing.
31
- *
32
- * Globstar syntax:
33
- * - Requires `{ globstar: true }`.
34
- * - `**` - Matches any number of any path segments.
35
- * - Must comprise its entire path segment in the provided glob.
36
- * - See https://www.linuxjournal.com/content/globstar-new-bash-globbing-option.
37
- *
38
- * Note the following properties:
39
- * - The generated `RegExp` is anchored at both start and end.
40
- * - Repeating and trailing separators are tolerated. Trailing separators in the
41
- * provided glob have no meaning and are discarded.
42
- * - Absolute globs will only match absolute paths, etc.
43
- * - Empty globs will match nothing.
44
- * - Any special glob syntax must be contained to one path segment. For example,
45
- * `?(foo|bar/baz)` is invalid. The separator will take precedence and the
46
- * first segment ends with an unclosed group.
47
- * - If a path segment ends with unclosed groups or a dangling escape prefix, a
48
- * parse error has occurred. Every character for that segment is taken
49
- * literally in this event.
50
- *
51
- * Limitations:
52
- * - A negative group like `!(foo|bar)` will wrongly be converted to a negative
53
- * look-ahead followed by a wildcard. This means that `!(foo).js` will wrongly
54
- * fail to match `foobar.js`, even though `foobar` is not `foo`. Effectively,
55
- * `!(foo|bar)` is treated like `!(@(foo|bar)*)`. This will work correctly if
56
- * the group occurs not nested at the end of the segment.
57
- *
58
- * @example Usage
59
- * ```ts
60
- * import { globToRegExp } from "@std/path/windows/glob-to-regexp";
61
- * import { assertEquals } from "@std/assert";
62
- *
63
- * assertEquals(globToRegExp("*.js"), /^[^\\/]*\.js(?:\\|\/)*$/);
64
- * ```
65
- *
66
- * @param glob Glob string to convert.
67
- * @param options Conversion options.
68
- * @returns The regular expression equivalent to the glob.
69
- */
70
- export declare function globToRegExp(glob: string, options?: GlobOptions): RegExp;
71
- //# sourceMappingURL=glob_to_regexp.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"glob_to_regexp.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.1.2/windows/glob_to_regexp.ts"],"names":[],"mappings":"AAGA,OAAO,EAGL,KAAK,WAAW,EACjB,MAAM,+BAA+B,CAAC;AAWvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmEG;AACH,wBAAgB,YAAY,CAC1B,IAAI,EAAE,MAAM,EACZ,OAAO,GAAE,WAAgB,GACxB,MAAM,CAER"}