@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,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.globToRegExp = globToRegExp;
6
- const glob_to_reg_exp_js_1 = require("../_common/glob_to_reg_exp.js");
7
- const constants = {
8
- sep: "(?:\\\\|/)+",
9
- sepMaybe: "(?:\\\\|/)*",
10
- seps: ["\\", "/"],
11
- globstar: "(?:[^\\\\/]*(?:\\\\|/|$)+)*",
12
- wildcard: "[^\\\\/]*",
13
- escapePrefix: "`",
14
- };
15
- /** Convert a glob string to a regular expression.
16
- *
17
- * Tries to match bash glob expansion as closely as possible.
18
- *
19
- * Basic glob syntax:
20
- * - `*` - Matches everything without leaving the path segment.
21
- * - `?` - Matches any single character.
22
- * - `{foo,bar}` - Matches `foo` or `bar`.
23
- * - `[abcd]` - Matches `a`, `b`, `c` or `d`.
24
- * - `[a-d]` - Matches `a`, `b`, `c` or `d`.
25
- * - `[!abcd]` - Matches any single character besides `a`, `b`, `c` or `d`.
26
- * - `[[:<class>:]]` - Matches any character belonging to `<class>`.
27
- * - `[[:alnum:]]` - Matches any digit or letter.
28
- * - `[[:digit:]abc]` - Matches any digit, `a`, `b` or `c`.
29
- * - See https://facelessuser.github.io/wcmatch/glob/#posix-character-classes
30
- * for a complete list of supported character classes.
31
- * - `\` - Escapes the next character for an `os` other than `"windows"`.
32
- * - \` - Escapes the next character for `os` set to `"windows"`.
33
- * - `/` - Path separator.
34
- * - `\` - Additional path separator only for `os` set to `"windows"`.
35
- *
36
- * Extended syntax:
37
- * - Requires `{ extended: true }`.
38
- * - `?(foo|bar)` - Matches 0 or 1 instance of `{foo,bar}`.
39
- * - `@(foo|bar)` - Matches 1 instance of `{foo,bar}`. They behave the same.
40
- * - `*(foo|bar)` - Matches _n_ instances of `{foo,bar}`.
41
- * - `+(foo|bar)` - Matches _n > 0_ instances of `{foo,bar}`.
42
- * - `!(foo|bar)` - Matches anything other than `{foo,bar}`.
43
- * - See https://www.linuxjournal.com/content/bash-extended-globbing.
44
- *
45
- * Globstar syntax:
46
- * - Requires `{ globstar: true }`.
47
- * - `**` - Matches any number of any path segments.
48
- * - Must comprise its entire path segment in the provided glob.
49
- * - See https://www.linuxjournal.com/content/globstar-new-bash-globbing-option.
50
- *
51
- * Note the following properties:
52
- * - The generated `RegExp` is anchored at both start and end.
53
- * - Repeating and trailing separators are tolerated. Trailing separators in the
54
- * provided glob have no meaning and are discarded.
55
- * - Absolute globs will only match absolute paths, etc.
56
- * - Empty globs will match nothing.
57
- * - Any special glob syntax must be contained to one path segment. For example,
58
- * `?(foo|bar/baz)` is invalid. The separator will take precedence and the
59
- * first segment ends with an unclosed group.
60
- * - If a path segment ends with unclosed groups or a dangling escape prefix, a
61
- * parse error has occurred. Every character for that segment is taken
62
- * literally in this event.
63
- *
64
- * Limitations:
65
- * - A negative group like `!(foo|bar)` will wrongly be converted to a negative
66
- * look-ahead followed by a wildcard. This means that `!(foo).js` will wrongly
67
- * fail to match `foobar.js`, even though `foobar` is not `foo`. Effectively,
68
- * `!(foo|bar)` is treated like `!(@(foo|bar)*)`. This will work correctly if
69
- * the group occurs not nested at the end of the segment.
70
- *
71
- * @example Usage
72
- * ```ts
73
- * import { globToRegExp } from "@std/path/windows/glob-to-regexp";
74
- * import { assertEquals } from "@std/assert";
75
- *
76
- * assertEquals(globToRegExp("*.js"), /^[^\\/]*\.js(?:\\|\/)*$/);
77
- * ```
78
- *
79
- * @param glob Glob string to convert.
80
- * @param options Conversion options.
81
- * @returns The regular expression equivalent to the glob.
82
- */
83
- function globToRegExp(glob, options = {}) {
84
- return (0, glob_to_reg_exp_js_1._globToRegExp)(constants, glob, options);
85
- }
@@ -1,17 +0,0 @@
1
- /**
2
- * Verifies whether provided path is absolute.
3
- *
4
- * @example Usage
5
- * ```ts
6
- * import { isAbsolute } from "@std/path/windows/is-absolute";
7
- * import { assert, assertFalse } from "@std/assert";
8
- *
9
- * assert(isAbsolute("C:\\foo\\bar"));
10
- * assertFalse(isAbsolute("..\\baz"));
11
- * ```
12
- *
13
- * @param path The path to verify.
14
- * @returns `true` if the path is absolute, `false` otherwise.
15
- */
16
- export declare function isAbsolute(path: string): boolean;
17
- //# sourceMappingURL=is_absolute.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"is_absolute.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.1.2/windows/is_absolute.ts"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAiBhD"}
@@ -1,41 +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.isAbsolute = isAbsolute;
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
- /**
10
- * Verifies whether provided path is absolute.
11
- *
12
- * @example Usage
13
- * ```ts
14
- * import { isAbsolute } from "@std/path/windows/is-absolute";
15
- * import { assert, assertFalse } from "@std/assert";
16
- *
17
- * assert(isAbsolute("C:\\foo\\bar"));
18
- * assertFalse(isAbsolute("..\\baz"));
19
- * ```
20
- *
21
- * @param path The path to verify.
22
- * @returns `true` if the path is absolute, `false` otherwise.
23
- */
24
- function isAbsolute(path) {
25
- (0, assert_path_js_1.assertPath)(path);
26
- const len = path.length;
27
- if (len === 0)
28
- return false;
29
- const code = path.charCodeAt(0);
30
- if ((0, _util_js_1.isPathSeparator)(code)) {
31
- return true;
32
- }
33
- else if ((0, _util_js_1.isWindowsDeviceRoot)(code)) {
34
- // Possible device root
35
- if (len > 2 && path.charCodeAt(1) === constants_js_1.CHAR_COLON) {
36
- if ((0, _util_js_1.isPathSeparator)(path.charCodeAt(2)))
37
- return true;
38
- }
39
- }
40
- return false;
41
- }
@@ -1,21 +0,0 @@
1
- import type { GlobOptions } from "../_common/glob_to_reg_exp.js";
2
- export type { GlobOptions };
3
- /**
4
- * Like join(), but doesn't collapse "**\/.." when `globstar` is true.
5
- *
6
- * @example Usage
7
- *
8
- * ```ts
9
- * import { joinGlobs } from "@std/path/windows/join-globs";
10
- * import { assertEquals } from "@std/assert";
11
- *
12
- * const joined = joinGlobs(["foo", "**", "bar"], { globstar: true });
13
- * assertEquals(joined, "foo\\**\\bar");
14
- * ```
15
- *
16
- * @param globs The globs to join.
17
- * @param options The options for glob pattern.
18
- * @returns The joined glob pattern.
19
- */
20
- export declare function joinGlobs(globs: string[], options?: Pick<GlobOptions, "globstar">): string;
21
- //# sourceMappingURL=join_globs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"join_globs.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.1.2/windows/join_globs.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAKjE,YAAY,EAAE,WAAW,EAAE,CAAC;AAE5B;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,SAAS,CACvB,KAAK,EAAE,MAAM,EAAE,EACf,OAAO,GAAE,IAAI,CAAC,WAAW,EAAE,UAAU,CAAM,GAC1C,MAAM,CAeR"}
@@ -1,44 +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.joinGlobs = joinGlobs;
6
- const join_js_1 = require("./join.js");
7
- const constants_js_1 = require("./constants.js");
8
- const normalize_glob_js_1 = require("./normalize_glob.js");
9
- /**
10
- * Like join(), but doesn't collapse "**\/.." when `globstar` is true.
11
- *
12
- * @example Usage
13
- *
14
- * ```ts
15
- * import { joinGlobs } from "@std/path/windows/join-globs";
16
- * import { assertEquals } from "@std/assert";
17
- *
18
- * const joined = joinGlobs(["foo", "**", "bar"], { globstar: true });
19
- * assertEquals(joined, "foo\\**\\bar");
20
- * ```
21
- *
22
- * @param globs The globs to join.
23
- * @param options The options for glob pattern.
24
- * @returns The joined glob pattern.
25
- */
26
- function joinGlobs(globs, options = {}) {
27
- const { globstar = false } = options;
28
- if (!globstar || globs.length === 0) {
29
- return (0, join_js_1.join)(...globs);
30
- }
31
- let joined;
32
- for (const glob of globs) {
33
- const path = glob;
34
- if (path.length > 0) {
35
- if (!joined)
36
- joined = path;
37
- else
38
- joined += `${constants_js_1.SEPARATOR}${path}`;
39
- }
40
- }
41
- if (!joined)
42
- return ".";
43
- return (0, normalize_glob_js_1.normalizeGlob)(joined, { globstar });
44
- }
@@ -1,20 +0,0 @@
1
- import type { GlobOptions } from "../_common/glob_to_reg_exp.js";
2
- export type { GlobOptions };
3
- /**
4
- * Like normalize(), but doesn't collapse "**\/.." when `globstar` is true.
5
- *
6
- * @example Usage
7
- * ```ts
8
- * import { normalizeGlob } from "@std/path/windows/normalize-glob";
9
- * import { assertEquals } from "@std/assert";
10
- *
11
- * const normalized = normalizeGlob("**\\foo\\..\\bar", { globstar: true });
12
- * assertEquals(normalized, "**\\bar");
13
- * ```
14
- *
15
- * @param glob The glob pattern to normalize.
16
- * @param options The options for glob pattern.
17
- * @returns The normalized glob pattern.
18
- */
19
- export declare function normalizeGlob(glob: string, options?: Pick<GlobOptions, "globstar">): string;
20
- //# 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/windows/normalize_glob.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAIjE,YAAY,EAAE,WAAW,EAAE,CAAC;AAE5B;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,MAAM,EACZ,OAAO,GAAE,IAAI,CAAC,WAAW,EAAE,UAAU,CAAM,GAC1C,MAAM,CAcR"}
@@ -1,35 +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.normalizeGlob = normalizeGlob;
6
- const normalize_js_1 = require("./normalize.js");
7
- const constants_js_1 = require("./constants.js");
8
- /**
9
- * Like normalize(), but doesn't collapse "**\/.." when `globstar` is true.
10
- *
11
- * @example Usage
12
- * ```ts
13
- * import { normalizeGlob } from "@std/path/windows/normalize-glob";
14
- * import { assertEquals } from "@std/assert";
15
- *
16
- * const normalized = normalizeGlob("**\\foo\\..\\bar", { globstar: true });
17
- * assertEquals(normalized, "**\\bar");
18
- * ```
19
- *
20
- * @param glob The glob pattern to normalize.
21
- * @param options The options for glob pattern.
22
- * @returns The normalized glob pattern.
23
- */
24
- function normalizeGlob(glob, options = {}) {
25
- const { globstar = false } = options;
26
- if (glob.match(/\0/g)) {
27
- throw new Error(`Glob contains invalid characters: "${glob}"`);
28
- }
29
- if (!globstar) {
30
- return (0, normalize_js_1.normalize)(glob);
31
- }
32
- const s = constants_js_1.SEPARATOR_PATTERN.source;
33
- const badParentPattern = new RegExp(`(?<=(${s}|^)\\*\\*${s})\\.\\.(?=${s}|$)`, "g");
34
- return (0, normalize_js_1.normalize)(glob.replace(badParentPattern, "\0")).replace(/\0/g, "..");
35
- }
@@ -1,25 +0,0 @@
1
- import type { ParsedPath } from "../types.js";
2
- export type { ParsedPath } from "../types.js";
3
- /**
4
- * Return a `ParsedPath` object of the `path`.
5
- *
6
- * @example Usage
7
- * ```ts
8
- * import { parse } from "@std/path/windows/parse";
9
- * import { assertEquals } from "@std/assert";
10
- *
11
- * const parsed = parse("C:\\foo\\bar\\baz.ext");
12
- * assertEquals(parsed, {
13
- * root: "C:\\",
14
- * dir: "C:\\foo\\bar",
15
- * base: "baz.ext",
16
- * ext: ".ext",
17
- * name: "baz",
18
- * });
19
- * ```
20
- *
21
- * @param path The path to parse.
22
- * @returns The `ParsedPath` object.
23
- */
24
- export declare function parse(path: string): ParsedPath;
25
- //# 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/windows/parse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAI9C,YAAY,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,CAwJ9C"}
@@ -1,179 +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.parse = parse;
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
- /**
10
- * Return a `ParsedPath` object of the `path`.
11
- *
12
- * @example Usage
13
- * ```ts
14
- * import { parse } from "@std/path/windows/parse";
15
- * import { assertEquals } from "@std/assert";
16
- *
17
- * const parsed = parse("C:\\foo\\bar\\baz.ext");
18
- * assertEquals(parsed, {
19
- * root: "C:\\",
20
- * dir: "C:\\foo\\bar",
21
- * base: "baz.ext",
22
- * ext: ".ext",
23
- * name: "baz",
24
- * });
25
- * ```
26
- *
27
- * @param path The path to parse.
28
- * @returns The `ParsedPath` object.
29
- */
30
- function parse(path) {
31
- (0, assert_path_js_1.assertPath)(path);
32
- const ret = { root: "", dir: "", base: "", ext: "", name: "" };
33
- const len = path.length;
34
- if (len === 0)
35
- return ret;
36
- let rootEnd = 0;
37
- let code = path.charCodeAt(0);
38
- // Try to match a root
39
- if (len > 1) {
40
- if ((0, _util_js_1.isPathSeparator)(code)) {
41
- // Possible UNC root
42
- rootEnd = 1;
43
- if ((0, _util_js_1.isPathSeparator)(path.charCodeAt(1))) {
44
- // Matched double path separator at beginning
45
- let j = 2;
46
- let last = j;
47
- // Match 1 or more non-path separators
48
- for (; j < len; ++j) {
49
- if ((0, _util_js_1.isPathSeparator)(path.charCodeAt(j)))
50
- break;
51
- }
52
- if (j < len && j !== last) {
53
- // Matched!
54
- last = j;
55
- // Match 1 or more path separators
56
- for (; j < len; ++j) {
57
- if (!(0, _util_js_1.isPathSeparator)(path.charCodeAt(j)))
58
- break;
59
- }
60
- if (j < len && j !== last) {
61
- // Matched!
62
- last = j;
63
- // Match 1 or more non-path separators
64
- for (; j < len; ++j) {
65
- if ((0, _util_js_1.isPathSeparator)(path.charCodeAt(j)))
66
- break;
67
- }
68
- if (j === len) {
69
- // We matched a UNC root only
70
- rootEnd = j;
71
- }
72
- else if (j !== last) {
73
- // We matched a UNC root with leftovers
74
- rootEnd = j + 1;
75
- }
76
- }
77
- }
78
- }
79
- }
80
- else if ((0, _util_js_1.isWindowsDeviceRoot)(code)) {
81
- // Possible device root
82
- if (path.charCodeAt(1) === constants_js_1.CHAR_COLON) {
83
- rootEnd = 2;
84
- if (len > 2) {
85
- if ((0, _util_js_1.isPathSeparator)(path.charCodeAt(2))) {
86
- if (len === 3) {
87
- // `path` contains just a drive root, exit early to avoid
88
- // unnecessary work
89
- ret.root = ret.dir = path;
90
- ret.base = "\\";
91
- return ret;
92
- }
93
- rootEnd = 3;
94
- }
95
- }
96
- else {
97
- // `path` contains just a relative drive root, exit early to avoid
98
- // unnecessary work
99
- ret.root = ret.dir = path;
100
- return ret;
101
- }
102
- }
103
- }
104
- }
105
- else if ((0, _util_js_1.isPathSeparator)(code)) {
106
- // `path` contains just a path separator, exit early to avoid
107
- // unnecessary work
108
- ret.root = ret.dir = path;
109
- ret.base = "\\";
110
- return ret;
111
- }
112
- if (rootEnd > 0)
113
- ret.root = path.slice(0, rootEnd);
114
- let startDot = -1;
115
- let startPart = rootEnd;
116
- let end = -1;
117
- let matchedSlash = true;
118
- let i = path.length - 1;
119
- // Track the state of characters (if any) we see before our first dot and
120
- // after any path separator we find
121
- let preDotState = 0;
122
- // Get non-dir info
123
- for (; i >= rootEnd; --i) {
124
- code = path.charCodeAt(i);
125
- if ((0, _util_js_1.isPathSeparator)(code)) {
126
- // If we reached a path separator that was not part of a set of path
127
- // separators at the end of the string, stop now
128
- if (!matchedSlash) {
129
- startPart = i + 1;
130
- break;
131
- }
132
- continue;
133
- }
134
- if (end === -1) {
135
- // We saw the first non-path separator, mark this as the end of our
136
- // extension
137
- matchedSlash = false;
138
- end = i + 1;
139
- }
140
- if (code === constants_js_1.CHAR_DOT) {
141
- // If this is our first dot, mark it as the start of our extension
142
- if (startDot === -1)
143
- startDot = i;
144
- else if (preDotState !== 1)
145
- preDotState = 1;
146
- }
147
- else if (startDot !== -1) {
148
- // We saw a non-dot and non-path separator before our dot, so we should
149
- // have a good chance at having a non-empty extension
150
- preDotState = -1;
151
- }
152
- }
153
- if (startDot === -1 ||
154
- end === -1 ||
155
- // We saw a non-dot character immediately before the dot
156
- preDotState === 0 ||
157
- // The (right-most) trimmed path component is exactly '..'
158
- (preDotState === 1 && startDot === end - 1 && startDot === startPart + 1)) {
159
- if (end !== -1) {
160
- ret.base = ret.name = path.slice(startPart, end);
161
- }
162
- }
163
- else {
164
- ret.name = path.slice(startPart, startDot);
165
- ret.base = path.slice(startPart, end);
166
- ret.ext = path.slice(startDot, end);
167
- }
168
- // Fallback to '\' in case there is no basename
169
- ret.base = ret.base || "\\";
170
- // If the directory is the root, use the entire root as the `dir` including
171
- // the trailing slash if any (`C:\abc` -> `C:\`). Otherwise, strip out the
172
- // trailing slash (`C:\abc\def` -> `C:\abc`).
173
- if (startPart > 0 && startPart !== rootEnd) {
174
- ret.dir = path.slice(0, startPart - 1);
175
- }
176
- else
177
- ret.dir = ret.root;
178
- return ret;
179
- }
@@ -1,23 +0,0 @@
1
- /**
2
- * Return the relative path from `from` to `to` based on current working directory.
3
- *
4
- * An example in windws, for instance:
5
- * from = 'C:\\orandea\\test\\aaa'
6
- * to = 'C:\\orandea\\impl\\bbb'
7
- * The output of the function should be: '..\\..\\impl\\bbb'
8
- *
9
- * @example Usage
10
- * ```ts
11
- * import { relative } from "@std/path/windows/relative";
12
- * import { assertEquals } from "@std/assert";
13
- *
14
- * const relativePath = relative("C:\\foobar\\test\\aaa", "C:\\foobar\\impl\\bbb");
15
- * assertEquals(relativePath, "..\\..\\impl\\bbb");
16
- * ```
17
- *
18
- * @param from The path from which to calculate the relative path
19
- * @param to The path to which to calculate the relative path
20
- * @returns The relative path from `from` to `to`
21
- */
22
- export declare function relative(from: string, to: string): string;
23
- //# sourceMappingURL=relative.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"relative.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.1.2/windows/relative.ts"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAmGzD"}
@@ -1,134 +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.relative = relative;
6
- const constants_js_1 = require("../_common/constants.js");
7
- const resolve_js_1 = require("./resolve.js");
8
- const relative_js_1 = require("../_common/relative.js");
9
- /**
10
- * Return the relative path from `from` to `to` based on current working directory.
11
- *
12
- * An example in windws, for instance:
13
- * from = 'C:\\orandea\\test\\aaa'
14
- * to = 'C:\\orandea\\impl\\bbb'
15
- * The output of the function should be: '..\\..\\impl\\bbb'
16
- *
17
- * @example Usage
18
- * ```ts
19
- * import { relative } from "@std/path/windows/relative";
20
- * import { assertEquals } from "@std/assert";
21
- *
22
- * const relativePath = relative("C:\\foobar\\test\\aaa", "C:\\foobar\\impl\\bbb");
23
- * assertEquals(relativePath, "..\\..\\impl\\bbb");
24
- * ```
25
- *
26
- * @param from The path from which to calculate the relative path
27
- * @param to The path to which to calculate the relative path
28
- * @returns The relative path from `from` to `to`
29
- */
30
- function relative(from, to) {
31
- (0, relative_js_1.assertArgs)(from, to);
32
- const fromOrig = (0, resolve_js_1.resolve)(from);
33
- const toOrig = (0, resolve_js_1.resolve)(to);
34
- if (fromOrig === toOrig)
35
- return "";
36
- from = fromOrig.toLowerCase();
37
- to = toOrig.toLowerCase();
38
- if (from === to)
39
- return "";
40
- // Trim any leading backslashes
41
- let fromStart = 0;
42
- let fromEnd = from.length;
43
- for (; fromStart < fromEnd; ++fromStart) {
44
- if (from.charCodeAt(fromStart) !== constants_js_1.CHAR_BACKWARD_SLASH)
45
- break;
46
- }
47
- // Trim trailing backslashes (applicable to UNC paths only)
48
- for (; fromEnd - 1 > fromStart; --fromEnd) {
49
- if (from.charCodeAt(fromEnd - 1) !== constants_js_1.CHAR_BACKWARD_SLASH)
50
- break;
51
- }
52
- const fromLen = fromEnd - fromStart;
53
- // Trim any leading backslashes
54
- let toStart = 0;
55
- let toEnd = to.length;
56
- for (; toStart < toEnd; ++toStart) {
57
- if (to.charCodeAt(toStart) !== constants_js_1.CHAR_BACKWARD_SLASH)
58
- break;
59
- }
60
- // Trim trailing backslashes (applicable to UNC paths only)
61
- for (; toEnd - 1 > toStart; --toEnd) {
62
- if (to.charCodeAt(toEnd - 1) !== constants_js_1.CHAR_BACKWARD_SLASH)
63
- break;
64
- }
65
- const toLen = toEnd - toStart;
66
- // Compare paths to find the longest common path from root
67
- const length = fromLen < toLen ? fromLen : toLen;
68
- let lastCommonSep = -1;
69
- let i = 0;
70
- for (; i <= length; ++i) {
71
- if (i === length) {
72
- if (toLen > length) {
73
- if (to.charCodeAt(toStart + i) === constants_js_1.CHAR_BACKWARD_SLASH) {
74
- // We get here if `from` is the exact base path for `to`.
75
- // For example: from='C:\\foo\\bar'; to='C:\\foo\\bar\\baz'
76
- return toOrig.slice(toStart + i + 1);
77
- }
78
- else if (i === 2) {
79
- // We get here if `from` is the device root.
80
- // For example: from='C:\\'; to='C:\\foo'
81
- return toOrig.slice(toStart + i);
82
- }
83
- }
84
- if (fromLen > length) {
85
- if (from.charCodeAt(fromStart + i) === constants_js_1.CHAR_BACKWARD_SLASH) {
86
- // We get here if `to` is the exact base path for `from`.
87
- // For example: from='C:\\foo\\bar'; to='C:\\foo'
88
- lastCommonSep = i;
89
- }
90
- else if (i === 2) {
91
- // We get here if `to` is the device root.
92
- // For example: from='C:\\foo\\bar'; to='C:\\'
93
- lastCommonSep = 3;
94
- }
95
- }
96
- break;
97
- }
98
- const fromCode = from.charCodeAt(fromStart + i);
99
- const toCode = to.charCodeAt(toStart + i);
100
- if (fromCode !== toCode)
101
- break;
102
- else if (fromCode === constants_js_1.CHAR_BACKWARD_SLASH)
103
- lastCommonSep = i;
104
- }
105
- // We found a mismatch before the first common path separator was seen, so
106
- // return the original `to`.
107
- if (i !== length && lastCommonSep === -1) {
108
- return toOrig;
109
- }
110
- let out = "";
111
- if (lastCommonSep === -1)
112
- lastCommonSep = 0;
113
- // Generate the relative path based on the path difference between `to` and
114
- // `from`
115
- for (i = fromStart + lastCommonSep + 1; i <= fromEnd; ++i) {
116
- if (i === fromEnd || from.charCodeAt(i) === constants_js_1.CHAR_BACKWARD_SLASH) {
117
- if (out.length === 0)
118
- out += "..";
119
- else
120
- out += "\\..";
121
- }
122
- }
123
- // Lastly, append the rest of the destination (`to`) path that comes after
124
- // the common path parts
125
- if (out.length > 0) {
126
- return out + toOrig.slice(toStart + lastCommonSep, toEnd);
127
- }
128
- else {
129
- toStart += lastCommonSep;
130
- if (toOrig.charCodeAt(toStart) === constants_js_1.CHAR_BACKWARD_SLASH)
131
- ++toStart;
132
- return toOrig.slice(toStart, toEnd);
133
- }
134
- }
@@ -1,17 +0,0 @@
1
- /**
2
- * Resolves path segments into a `path`.
3
- *
4
- * @example Usage
5
- * ```ts
6
- * import { resolve } from "@std/path/windows/resolve";
7
- * import { assertEquals } from "@std/assert";
8
- *
9
- * const resolved = resolve("C:\\foo\\bar", "..\\baz");
10
- * assertEquals(resolved, "C:\\foo\\baz");
11
- * ```
12
- *
13
- * @param pathSegments The path segments to process to path
14
- * @returns The resolved path
15
- */
16
- export declare function resolve(...pathSegments: string[]): string;
17
- //# sourceMappingURL=resolve.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"resolve.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.1.2/windows/resolve.ts"],"names":[],"mappings":"AAUA;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,OAAO,CAAC,GAAG,YAAY,EAAE,MAAM,EAAE,GAAG,MAAM,CAwJzD"}