@skmtc/core 0.0.742 → 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,216 +0,0 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
2
- // Copyright the Browserify authors. MIT License.
3
- // Ported mostly from https://github.com/browserify/path-browserify/
4
- // This module is browser compatible.
5
- /**
6
- * Utilities for working with OS-specific file paths.
7
- *
8
- * Functions from this module will automatically switch to support the path style
9
- * of the current OS, either `windows` for Microsoft Windows, or `posix` for
10
- * every other operating system, eg. Linux, MacOS, BSD etc.
11
- *
12
- * To use functions for a specific path style regardless of the current OS
13
- * import the modules from the platform sub directory instead.
14
- *
15
- * ## Basic Path Operations
16
- *
17
- * ```ts
18
- * import * as path from "@std/path";
19
- * import { assertEquals } from "@std/assert";
20
- *
21
- * // Get components of a path
22
- * if (Deno.build.os === "windows") {
23
- * assertEquals(path.basename("C:\\Users\\user\\file.txt"), "file.txt");
24
- * assertEquals(path.dirname("C:\\Users\\user\\file.txt"), "C:\\Users\\user");
25
- * assertEquals(path.extname("C:\\Users\\user\\file.txt"), ".txt");
26
- * } else {
27
- * assertEquals(path.basename("/home/user/file.txt"), "file.txt");
28
- * assertEquals(path.dirname("/home/user/file.txt"), "/home/user");
29
- * assertEquals(path.extname("/home/user/file.txt"), ".txt");
30
- * }
31
- *
32
- * // Join path segments
33
- * if (Deno.build.os === "windows") {
34
- * assertEquals(path.join("C:\\", "Users", "docs", "file.txt"), "C:\\Users\\docs\\file.txt");
35
- * } else {
36
- * assertEquals(path.join("/home", "user", "docs", "file.txt"), "/home/user/docs/file.txt");
37
- * }
38
- *
39
- * // Normalize a path
40
- * if (Deno.build.os === "windows") {
41
- * assertEquals(path.normalize("C:\\Users\\user\\..\\temp\\.\\file.txt"), "C:\\Users\\temp\\file.txt");
42
- * } else {
43
- * assertEquals(path.normalize("/home/user/../temp/./file.txt"), "/home/temp/file.txt");
44
- * }
45
- *
46
- * // Resolve absolute path
47
- * if (Deno.build.os === "windows") {
48
- * const resolved = path.resolve("C:\\foo", "docs", "file.txt");
49
- * assertEquals(resolved, "C:\\foo\\docs\\file.txt");
50
- * assertEquals(path.isAbsolute(resolved), true);
51
- * } else {
52
- * const resolved = path.resolve("/foo", "docs", "file.txt");
53
- * assertEquals(resolved, "/foo/docs/file.txt");
54
- * assertEquals(path.isAbsolute(resolved), true);
55
- * }
56
- *
57
- * // Get relative path
58
- * if (Deno.build.os === "windows") {
59
- * assertEquals(path.relative("C:\\Users", "C:\\Users\\docs\\file.txt"), "docs\\file.txt");
60
- * assertEquals(path.relative("C:\\Users", "D:\\Programs"), "D:\\Programs");
61
- * } else {
62
- * assertEquals(path.relative("/home/user", "/home/user/docs/file.txt"), "docs/file.txt");
63
- * assertEquals(path.relative("/home/user", "/var/data"), "../../var/data");
64
- * }
65
- * ```
66
- *
67
- * ## Path Parsing and Formatting
68
- *
69
- * ```ts
70
- * import * as path from "@std/path";
71
- * import { assertEquals } from "@std/assert";
72
- *
73
- * if (Deno.build.os === "windows") {
74
- * const parsedWindows = path.parse("C:\\Users\\user\\file.txt");
75
- * assertEquals(parsedWindows.root, "C:\\");
76
- * assertEquals(parsedWindows.dir, "C:\\Users\\user");
77
- * assertEquals(parsedWindows.base, "file.txt");
78
- * assertEquals(parsedWindows.ext, ".txt");
79
- * assertEquals(parsedWindows.name, "file");
80
- *
81
- * // Format path from components (Windows)
82
- * assertEquals(
83
- * path.format({ dir: "C:\\Users\\user", base: "file.txt" }),
84
- * "C:\\Users\\user\\file.txt"
85
- * );
86
- * } else {
87
- * const parsedPosix = path.parse("/home/user/file.txt");
88
- * assertEquals(parsedPosix.root, "/");
89
- * assertEquals(parsedPosix.dir, "/home/user");
90
- * assertEquals(parsedPosix.base, "file.txt");
91
- * assertEquals(parsedPosix.ext, ".txt");
92
- * assertEquals(parsedPosix.name, "file");
93
- *
94
- * // Format path from components (POSIX)
95
- * assertEquals(
96
- * path.format({ dir: "/home/user", base: "file.txt" }),
97
- * "/home/user/file.txt"
98
- * );
99
- * }
100
- * ```
101
- *
102
- * ## URL Conversion
103
- *
104
- * ```ts
105
- * import * as path from "@std/path";
106
- * import { assertEquals } from "@std/assert";
107
- *
108
- * // Convert between file URLs and paths
109
- * if (Deno.build.os === "windows") {
110
- * assertEquals(path.fromFileUrl("file:///C:/Users/user/file.txt"), "C:\\Users\\user\\file.txt");
111
- * assertEquals(path.toFileUrl("C:\\Users\\user\\file.txt").href, "file:///C:/Users/user/file.txt");
112
- * } else {
113
- * assertEquals(path.fromFileUrl("file:///home/user/file.txt"), "/home/user/file.txt");
114
- * assertEquals(path.toFileUrl("/home/user/file.txt").href, "file:///home/user/file.txt");
115
- * }
116
- * ```
117
- *
118
- * ## Path Properties
119
- *
120
- * ```ts
121
- * import * as path from "@std/path";
122
- * import { assertEquals } from "@std/assert";
123
- *
124
- * // Check if path is absolute
125
- * if (Deno.build.os === "windows") {
126
- * assertEquals(path.isAbsolute("C:\\Users"), true);
127
- * assertEquals(path.isAbsolute("\\\\Server\\share"), true);
128
- * assertEquals(path.isAbsolute("C:relative\\path"), false);
129
- * assertEquals(path.isAbsolute("..\\relative\\path"), false);
130
- * } else {
131
- * assertEquals(path.isAbsolute("/home/user"), true);
132
- * assertEquals(path.isAbsolute("./relative/path"), false);
133
- * assertEquals(path.isAbsolute("../relative/path"), false);
134
- * }
135
- *
136
- * // Convert to namespaced path (Windows-specific)
137
- * if (Deno.build.os === "windows") {
138
- * assertEquals(path.toNamespacedPath("C:\\Users\\file.txt"), "\\\\?\\C:\\Users\\file.txt");
139
- * assertEquals(path.toNamespacedPath("\\\\server\\share\\file.txt"), "\\\\?\\UNC\\server\\share\\file.txt");
140
- * } else {
141
- * // On POSIX, toNamespacedPath returns the path unchanged
142
- * assertEquals(path.toNamespacedPath("/home/user/file.txt"), "/home/user/file.txt");
143
- * }
144
- * ```
145
- *
146
- * ## Glob Pattern Utilities
147
- *
148
- * ```ts
149
- * import * as path from "@std/path";
150
- * import { assertEquals } from "@std/assert";
151
- *
152
- * // Check if a string is a glob pattern
153
- * assertEquals(path.isGlob("*.txt"), true);
154
- *
155
- * // Convert glob pattern to RegExp
156
- * const pattern = path.globToRegExp("*.txt");
157
- * assertEquals(pattern.test("file.txt"), true);
158
- *
159
- * // Join multiple glob patterns
160
- * if (Deno.build.os === "windows") {
161
- * assertEquals(path.joinGlobs(["src", "**\\*.ts"]), "src\\**\\*.ts");
162
- * } else {
163
- * assertEquals(path.joinGlobs(["src", "**\/*.ts"]), "src/**\/*.ts");
164
- * }
165
- *
166
- * // Normalize a glob pattern
167
- * if (Deno.build.os === "windows") {
168
- * assertEquals(path.normalizeGlob("src\\..\\**\\*.ts"), "**\\*.ts");
169
- * } else {
170
- * assertEquals(path.normalizeGlob("src/../**\/*.ts"), "**\/*.ts");
171
- * }
172
- * ```
173
- *
174
- * For POSIX-specific functions:
175
- *
176
- * ```ts
177
- * import { fromFileUrl } from "@std/path/posix/from-file-url";
178
- * import { assertEquals } from "@std/assert";
179
- *
180
- * assertEquals(fromFileUrl("file:///home/foo"), "/home/foo");
181
- * ```
182
- *
183
- * For Windows-specific functions:
184
- *
185
- * ```ts
186
- * import { fromFileUrl } from "@std/path/windows/from-file-url";
187
- * import { assertEquals } from "@std/assert";
188
- *
189
- * assertEquals(fromFileUrl("file:///home/foo"), "\\home\\foo");
190
- * ```
191
- *
192
- * Functions for working with URLs can be found in
193
- * {@link ./doc/posix/~ | @std/path/posix}.
194
- *
195
- * @module
196
- */
197
- export * from "./basename.js";
198
- export * from "./constants.js";
199
- export * from "./dirname.js";
200
- export * from "./extname.js";
201
- export * from "./format.js";
202
- export * from "./from_file_url.js";
203
- export * from "./is_absolute.js";
204
- export * from "./join.js";
205
- export * from "./normalize.js";
206
- export * from "./parse.js";
207
- export * from "./relative.js";
208
- export * from "./resolve.js";
209
- export * from "./to_file_url.js";
210
- export * from "./to_namespaced_path.js";
211
- export * from "./common.js";
212
- export * from "./types.js";
213
- export * from "./glob_to_regexp.js";
214
- export * from "./is_glob.js";
215
- export * from "./join_globs.js";
216
- export * from "./normalize_glob.js";
@@ -1,29 +0,0 @@
1
- import type { GlobOptions } from "./_common/glob_to_reg_exp.js";
2
- export type { GlobOptions };
3
- /**
4
- * Normalizes a glob string.
5
- *
6
- * Behaves like
7
- * {@linkcode https://jsr.io/@std/path/doc/~/normalize | normalize()}, but
8
- * doesn't collapse "**\/.." when `globstar` is true.
9
- *
10
- * @example Usage
11
- * ```ts
12
- * import { normalizeGlob } from "@std/path/normalize-glob";
13
- * import { assertEquals } from "@std/assert";
14
- *
15
- * if (Deno.build.os === "windows") {
16
- * assertEquals(normalizeGlob("foo\\bar\\..\\baz"), "foo\\baz");
17
- * assertEquals(normalizeGlob("foo\\**\\..\\bar\\..\\baz", { globstar: true }), "foo\\**\\..\\baz");
18
- * } else {
19
- * assertEquals(normalizeGlob("foo/bar/../baz"), "foo/baz");
20
- * assertEquals(normalizeGlob("foo/**\/../bar/../baz", { globstar: true }), "foo/**\/../baz");
21
- * }
22
- * ```
23
- *
24
- * @param glob Glob string to normalize.
25
- * @param options Glob options.
26
- * @returns The normalized glob string.
27
- */
28
- export declare function normalizeGlob(glob: string, options?: GlobOptions): string;
29
- //# sourceMappingURL=normalize_glob.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"normalize_glob.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/path/1.1.2/normalize_glob.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAOhE,YAAY,EAAE,WAAW,EAAE,CAAC;AAE5B;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,MAAM,EACZ,OAAO,GAAE,WAAgB,GACxB,MAAM,CAIR"}
@@ -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 { normalizeGlob as posixNormalizeGlob } from "./posix/normalize_glob.js";
5
- import { normalizeGlob as windowsNormalizeGlob, } from "./windows/normalize_glob.js";
6
- /**
7
- * Normalizes a glob string.
8
- *
9
- * Behaves like
10
- * {@linkcode https://jsr.io/@std/path/doc/~/normalize | normalize()}, but
11
- * doesn't collapse "**\/.." when `globstar` is true.
12
- *
13
- * @example Usage
14
- * ```ts
15
- * import { normalizeGlob } from "@std/path/normalize-glob";
16
- * import { assertEquals } from "@std/assert";
17
- *
18
- * if (Deno.build.os === "windows") {
19
- * assertEquals(normalizeGlob("foo\\bar\\..\\baz"), "foo\\baz");
20
- * assertEquals(normalizeGlob("foo\\**\\..\\bar\\..\\baz", { globstar: true }), "foo\\**\\..\\baz");
21
- * } else {
22
- * assertEquals(normalizeGlob("foo/bar/../baz"), "foo/baz");
23
- * assertEquals(normalizeGlob("foo/**\/../bar/../baz", { globstar: true }), "foo/**\/../baz");
24
- * }
25
- * ```
26
- *
27
- * @param glob Glob string to normalize.
28
- * @param options Glob options.
29
- * @returns The normalized glob string.
30
- */
31
- export function normalizeGlob(glob, options = {}) {
32
- return isWindows
33
- ? windowsNormalizeGlob(glob, options)
34
- : posixNormalizeGlob(glob, options);
35
- }
@@ -1,35 +0,0 @@
1
- import type { ParsedPath } from "./types.js";
2
- export type { ParsedPath } from "./types.js";
3
- /**
4
- * Return an object containing the parsed components of the path.
5
- *
6
- * Use {@linkcode https://jsr.io/@std/path/doc/~/format | format()} to reverse
7
- * the result.
8
- *
9
- * @example Usage
10
- * ```ts
11
- * import { parse } from "@std/path/parse";
12
- * import { assertEquals } from "@std/assert";
13
- *
14
- * if (Deno.build.os === "windows") {
15
- * const parsedPathObj = parse("C:\\path\\to\\script.ts");
16
- * assertEquals(parsedPathObj.root, "C:\\");
17
- * assertEquals(parsedPathObj.dir, "C:\\path\\to");
18
- * assertEquals(parsedPathObj.base, "script.ts");
19
- * assertEquals(parsedPathObj.ext, ".ts");
20
- * assertEquals(parsedPathObj.name, "script");
21
- * } else {
22
- * const parsedPathObj = parse("/path/to/dir/script.ts");
23
- * parsedPathObj.root; // "/"
24
- * parsedPathObj.dir; // "/path/to/dir"
25
- * parsedPathObj.base; // "script.ts"
26
- * parsedPathObj.ext; // ".ts"
27
- * parsedPathObj.name; // "script"
28
- * }
29
- * ```
30
- *
31
- * @param path Path to process
32
- * @returns An object with the parsed path components.
33
- */
34
- export declare function parse(path: string): ParsedPath;
35
- //# sourceMappingURL=parse.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"parse.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/path/1.1.2/parse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAI7C,YAAY,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAgB,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,CAE9C"}
@@ -1,39 +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 { parse as posixParse } from "./posix/parse.js";
5
- import { parse as windowsParse } from "./windows/parse.js";
6
- /**
7
- * Return an object containing the parsed components of the path.
8
- *
9
- * Use {@linkcode https://jsr.io/@std/path/doc/~/format | format()} to reverse
10
- * the result.
11
- *
12
- * @example Usage
13
- * ```ts
14
- * import { parse } from "@std/path/parse";
15
- * import { assertEquals } from "@std/assert";
16
- *
17
- * if (Deno.build.os === "windows") {
18
- * const parsedPathObj = parse("C:\\path\\to\\script.ts");
19
- * assertEquals(parsedPathObj.root, "C:\\");
20
- * assertEquals(parsedPathObj.dir, "C:\\path\\to");
21
- * assertEquals(parsedPathObj.base, "script.ts");
22
- * assertEquals(parsedPathObj.ext, ".ts");
23
- * assertEquals(parsedPathObj.name, "script");
24
- * } else {
25
- * const parsedPathObj = parse("/path/to/dir/script.ts");
26
- * parsedPathObj.root; // "/"
27
- * parsedPathObj.dir; // "/path/to/dir"
28
- * parsedPathObj.base; // "script.ts"
29
- * parsedPathObj.ext; // ".ts"
30
- * parsedPathObj.name; // "script"
31
- * }
32
- * ```
33
- *
34
- * @param path Path to process
35
- * @returns An object with the parsed path components.
36
- */
37
- export function parse(path) {
38
- return isWindows ? windowsParse(path) : posixParse(path);
39
- }
@@ -1,39 +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/posix/basename";
8
- * import { assertEquals } from "@std/assert";
9
- *
10
- * assertEquals(basename("/home/user/Documents/"), "Documents");
11
- * assertEquals(basename("/home/user/Documents/image.png"), "image.png");
12
- * assertEquals(basename("/home/user/Documents/image.png", ".png"), "image");
13
- * assertEquals(basename(new URL("file:///home/user/Documents/image.png")), "image.png");
14
- * assertEquals(basename(new URL("file:///home/user/Documents/image.png"), ".png"), "image");
15
- * ```
16
- *
17
- * @example Working with URLs
18
- *
19
- * Note: This function doesn't automatically strip hash and query parts from
20
- * URLs. If your URL contains a hash or query, remove them before passing the
21
- * URL to the function. This can be done by passing the URL to `new URL(url)`,
22
- * and setting the `hash` and `search` properties to empty strings.
23
- *
24
- * ```ts
25
- * import { basename } from "@std/path/posix/basename";
26
- * import { assertEquals } from "@std/assert";
27
- *
28
- * assertEquals(basename("https://deno.land/std/path/mod.ts"), "mod.ts");
29
- * assertEquals(basename("https://deno.land/std/path/mod.ts", ".ts"), "mod");
30
- * assertEquals(basename("https://deno.land/std/path/mod.ts?a=b"), "mod.ts?a=b");
31
- * assertEquals(basename("https://deno.land/std/path/mod.ts#header"), "mod.ts#header");
32
- * ```
33
- *
34
- * @param path The path to extract the name from.
35
- * @param suffix The suffix to remove from extracted name.
36
- * @returns The extracted name.
37
- */
38
- export declare function basename(path: string | URL, suffix?: string): string;
39
- //# 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/posix/basename.ts"],"names":[],"mappings":"AAYA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,EAAE,MAAM,SAAK,GAAG,MAAM,CAYhE"}
@@ -1,52 +0,0 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
2
- // This module is browser compatible.
3
- import { assertArgs, lastPathSegment, stripSuffix, } from "../_common/basename.js";
4
- import { fromFileUrl } from "./from_file_url.js";
5
- import { stripTrailingSeparators } from "../_common/strip_trailing_separators.js";
6
- import { isPosixPathSeparator } from "./_util.js";
7
- /**
8
- * Return the last portion of a `path`.
9
- * Trailing directory separators are ignored, and optional suffix is removed.
10
- *
11
- * @example Usage
12
- * ```ts
13
- * import { basename } from "@std/path/posix/basename";
14
- * import { assertEquals } from "@std/assert";
15
- *
16
- * assertEquals(basename("/home/user/Documents/"), "Documents");
17
- * assertEquals(basename("/home/user/Documents/image.png"), "image.png");
18
- * assertEquals(basename("/home/user/Documents/image.png", ".png"), "image");
19
- * assertEquals(basename(new URL("file:///home/user/Documents/image.png")), "image.png");
20
- * assertEquals(basename(new URL("file:///home/user/Documents/image.png"), ".png"), "image");
21
- * ```
22
- *
23
- * @example Working with URLs
24
- *
25
- * Note: This function doesn't automatically strip hash and query parts from
26
- * URLs. If your URL contains a hash or query, remove them before passing the
27
- * URL to the function. This can be done by passing the URL to `new URL(url)`,
28
- * and setting the `hash` and `search` properties to empty strings.
29
- *
30
- * ```ts
31
- * import { basename } from "@std/path/posix/basename";
32
- * import { assertEquals } from "@std/assert";
33
- *
34
- * assertEquals(basename("https://deno.land/std/path/mod.ts"), "mod.ts");
35
- * assertEquals(basename("https://deno.land/std/path/mod.ts", ".ts"), "mod");
36
- * assertEquals(basename("https://deno.land/std/path/mod.ts?a=b"), "mod.ts?a=b");
37
- * assertEquals(basename("https://deno.land/std/path/mod.ts#header"), "mod.ts#header");
38
- * ```
39
- *
40
- * @param path The path to extract the name from.
41
- * @param suffix The suffix to remove from extracted name.
42
- * @returns The extracted name.
43
- */
44
- export function basename(path, suffix = "") {
45
- if (path instanceof URL) {
46
- path = fromFileUrl(path);
47
- }
48
- assertArgs(path, suffix);
49
- const lastSegment = lastPathSegment(path, isPosixPathSeparator);
50
- const strippedSegment = stripTrailingSeparators(lastSegment, isPosixPathSeparator);
51
- return suffix ? stripSuffix(strippedSegment, suffix) : strippedSegment;
52
- }
@@ -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/posix/constants.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,eAAO,MAAM,SAAS,EAAG,GAAY,CAAC;AACtC;;GAEG;AACH,eAAO,MAAM,SAAS,EAAG,GAAY,CAAC;AACtC;;GAEG;AACH,eAAO,MAAM,iBAAiB,QAAQ,CAAC"}
@@ -1,14 +0,0 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
2
- // This module is browser compatible.
3
- /**
4
- * The character used to separate entries in the PATH environment variable.
5
- */
6
- export const DELIMITER = ":";
7
- /**
8
- * The character used to separate components of a file path.
9
- */
10
- export const SEPARATOR = "/";
11
- /**
12
- * A regular expression that matches one or more path separators.
13
- */
14
- export const SEPARATOR_PATTERN = /\/+/;
@@ -1,30 +0,0 @@
1
- /**
2
- * Return the directory path of a `path`.
3
- *
4
- * @example Usage
5
- * ```ts
6
- * import { dirname } from "@std/path/posix/dirname";
7
- * import { assertEquals } from "@std/assert";
8
- *
9
- * assertEquals(dirname("/home/user/Documents/"), "/home/user");
10
- * assertEquals(dirname("/home/user/Documents/image.png"), "/home/user/Documents");
11
- * assertEquals(dirname("https://deno.land/std/path/mod.ts"), "https://deno.land/std/path");
12
- * assertEquals(dirname(new URL("file:///home/user/Documents/image.png")), "/home/user/Documents");
13
- * ```
14
- *
15
- * @example Working with URLs
16
- *
17
- * ```ts
18
- * import { dirname } from "@std/path/posix/dirname";
19
- * import { assertEquals } from "@std/assert";
20
- *
21
- * assertEquals(dirname("https://deno.land/std/path/mod.ts"), "https://deno.land/std/path");
22
- * assertEquals(dirname("https://deno.land/std/path/mod.ts?a=b"), "https://deno.land/std/path");
23
- * assertEquals(dirname("https://deno.land/std/path/mod.ts#header"), "https://deno.land/std/path");
24
- * ```
25
- *
26
- * @param path The path to get the directory from.
27
- * @returns The directory path.
28
- */
29
- export declare function dirname(path: string | URL): string;
30
- //# 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/posix/dirname.ts"],"names":[],"mappings":"AAQA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,GAAG,MAAM,CAmClD"}
@@ -1,64 +0,0 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
2
- // This module is browser compatible.
3
- import { assertArg } from "../_common/dirname.js";
4
- import { stripTrailingSeparators } from "../_common/strip_trailing_separators.js";
5
- import { isPosixPathSeparator } from "./_util.js";
6
- import { fromFileUrl } from "./from_file_url.js";
7
- /**
8
- * Return the directory path of a `path`.
9
- *
10
- * @example Usage
11
- * ```ts
12
- * import { dirname } from "@std/path/posix/dirname";
13
- * import { assertEquals } from "@std/assert";
14
- *
15
- * assertEquals(dirname("/home/user/Documents/"), "/home/user");
16
- * assertEquals(dirname("/home/user/Documents/image.png"), "/home/user/Documents");
17
- * assertEquals(dirname("https://deno.land/std/path/mod.ts"), "https://deno.land/std/path");
18
- * assertEquals(dirname(new URL("file:///home/user/Documents/image.png")), "/home/user/Documents");
19
- * ```
20
- *
21
- * @example Working with URLs
22
- *
23
- * ```ts
24
- * import { dirname } from "@std/path/posix/dirname";
25
- * import { assertEquals } from "@std/assert";
26
- *
27
- * assertEquals(dirname("https://deno.land/std/path/mod.ts"), "https://deno.land/std/path");
28
- * assertEquals(dirname("https://deno.land/std/path/mod.ts?a=b"), "https://deno.land/std/path");
29
- * assertEquals(dirname("https://deno.land/std/path/mod.ts#header"), "https://deno.land/std/path");
30
- * ```
31
- *
32
- * @param path The path to get the directory from.
33
- * @returns The directory path.
34
- */
35
- export function dirname(path) {
36
- if (path instanceof URL) {
37
- path = fromFileUrl(path);
38
- }
39
- assertArg(path);
40
- let end = -1;
41
- let matchedNonSeparator = false;
42
- for (let i = path.length - 1; i >= 1; --i) {
43
- if (isPosixPathSeparator(path.charCodeAt(i))) {
44
- if (matchedNonSeparator) {
45
- end = i;
46
- break;
47
- }
48
- }
49
- else {
50
- matchedNonSeparator = true;
51
- }
52
- }
53
- // No matches. Fallback based on provided path:
54
- //
55
- // - leading slashes paths
56
- // "/foo" => "/"
57
- // "///foo" => "/"
58
- // - no slash path
59
- // "foo" => "."
60
- if (end === -1) {
61
- return isPosixPathSeparator(path.charCodeAt(0)) ? "/" : ".";
62
- }
63
- return stripTrailingSeparators(path.slice(0, end), isPosixPathSeparator);
64
- }
@@ -1,37 +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/posix/extname";
7
- * import { assertEquals } from "@std/assert";
8
- *
9
- * assertEquals(extname("/home/user/Documents/file.ts"), ".ts");
10
- * assertEquals(extname("/home/user/Documents/"), "");
11
- * assertEquals(extname("/home/user/Documents/image.png"), ".png");
12
- * assertEquals(extname(new URL("file:///home/user/Documents/file.ts")), ".ts");
13
- * assertEquals(extname(new URL("file:///home/user/Documents/file.ts?a=b")), ".ts");
14
- * assertEquals(extname(new URL("file:///home/user/Documents/file.ts#header")), ".ts");
15
- * ```
16
- *
17
- * @example Working with URLs
18
- *
19
- * Note: This function doesn't automatically strip hash and query parts from
20
- * URLs. If your URL contains a hash or query, remove them before passing the
21
- * URL to the function. This can be done by passing the URL to `new URL(url)`,
22
- * and setting the `hash` and `search` properties to empty strings.
23
- *
24
- * ```ts
25
- * import { extname } from "@std/path/posix/extname";
26
- * import { assertEquals } from "@std/assert";
27
- *
28
- * assertEquals(extname("https://deno.land/std/path/mod.ts"), ".ts");
29
- * assertEquals(extname("https://deno.land/std/path/mod.ts?a=b"), ".ts?a=b");
30
- * assertEquals(extname("https://deno.land/std/path/mod.ts#header"), ".ts#header");
31
- * ```
32
- *
33
- * @param path The path to get the extension from.
34
- * @returns The extension (ex. for `file.ts` returns `.ts`).
35
- */
36
- export declare function extname(path: string | URL): string;
37
- //# 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/posix/extname.ts"],"names":[],"mappings":"AAQA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,GAAG,MAAM,CAoDlD"}