@skmtc/core 0.0.742 → 0.0.744

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (369) hide show
  1. package/LICENSE +105 -0
  2. package/README.md +85 -0
  3. package/esm/context/CoreContext.js +1 -1
  4. package/esm/context/GenerateContext.js +1 -1
  5. package/esm/context/ParseContext.js +1 -1
  6. package/esm/context/RenderContext.js +1 -1
  7. package/esm/dsl/model/ModelDriver.js +1 -1
  8. package/esm/dsl/operation/OperationDriver.js +1 -1
  9. package/esm/helpers/isImported.js +1 -1
  10. package/esm/helpers/toResolvedArtifactPath.js +1 -1
  11. package/esm/run/toV3JsonDocument.js +1 -1
  12. package/package.json +4 -4
  13. package/script/context/CoreContext.js +2 -2
  14. package/script/context/GenerateContext.js +2 -2
  15. package/script/context/ParseContext.js +2 -2
  16. package/script/context/RenderContext.js +2 -2
  17. package/script/dsl/model/ModelDriver.js +2 -2
  18. package/script/dsl/operation/OperationDriver.js +2 -2
  19. package/script/helpers/isImported.js +2 -2
  20. package/script/helpers/toResolvedArtifactPath.js +2 -2
  21. package/script/run/toV3JsonDocument.js +2 -2
  22. package/esm/deps/jsr.io/@std/path/1.1.2/_common/basename.d.ts +0 -4
  23. package/esm/deps/jsr.io/@std/path/1.1.2/_common/basename.d.ts.map +0 -1
  24. package/esm/deps/jsr.io/@std/path/1.1.2/_common/basename.js +0 -40
  25. package/esm/deps/jsr.io/@std/path/1.1.2/_common/common.d.ts +0 -2
  26. package/esm/deps/jsr.io/@std/path/1.1.2/_common/common.d.ts.map +0 -1
  27. package/esm/deps/jsr.io/@std/path/1.1.2/_common/common.js +0 -23
  28. package/esm/deps/jsr.io/@std/path/1.1.2/_common/dirname.d.ts +0 -2
  29. package/esm/deps/jsr.io/@std/path/1.1.2/_common/dirname.d.ts.map +0 -1
  30. package/esm/deps/jsr.io/@std/path/1.1.2/_common/dirname.js +0 -8
  31. package/esm/deps/jsr.io/@std/path/1.1.2/_common/format.d.ts +0 -4
  32. package/esm/deps/jsr.io/@std/path/1.1.2/_common/format.d.ts.map +0 -1
  33. package/esm/deps/jsr.io/@std/path/1.1.2/_common/format.js +0 -19
  34. package/esm/deps/jsr.io/@std/path/1.1.2/_common/glob_to_reg_exp.d.ts +0 -35
  35. package/esm/deps/jsr.io/@std/path/1.1.2/_common/glob_to_reg_exp.d.ts.map +0 -1
  36. package/esm/deps/jsr.io/@std/path/1.1.2/_common/glob_to_reg_exp.js +0 -234
  37. package/esm/deps/jsr.io/@std/path/1.1.2/_common/relative.d.ts +0 -2
  38. package/esm/deps/jsr.io/@std/path/1.1.2/_common/relative.d.ts.map +0 -1
  39. package/esm/deps/jsr.io/@std/path/1.1.2/_common/relative.js +0 -9
  40. package/esm/deps/jsr.io/@std/path/1.1.2/_common/strip_trailing_separators.d.ts +0 -2
  41. package/esm/deps/jsr.io/@std/path/1.1.2/_common/strip_trailing_separators.d.ts.map +0 -1
  42. package/esm/deps/jsr.io/@std/path/1.1.2/_common/strip_trailing_separators.js +0 -19
  43. package/esm/deps/jsr.io/@std/path/1.1.2/_common/to_file_url.d.ts +0 -2
  44. package/esm/deps/jsr.io/@std/path/1.1.2/_common/to_file_url.d.ts.map +0 -1
  45. package/esm/deps/jsr.io/@std/path/1.1.2/_common/to_file_url.js +0 -15
  46. package/esm/deps/jsr.io/@std/path/1.1.2/basename.d.ts +0 -27
  47. package/esm/deps/jsr.io/@std/path/1.1.2/basename.d.ts.map +0 -1
  48. package/esm/deps/jsr.io/@std/path/1.1.2/basename.js +0 -35
  49. package/esm/deps/jsr.io/@std/path/1.1.2/common.d.ts +0 -28
  50. package/esm/deps/jsr.io/@std/path/1.1.2/common.d.ts.map +0 -1
  51. package/esm/deps/jsr.io/@std/path/1.1.2/common.js +0 -33
  52. package/esm/deps/jsr.io/@std/path/1.1.2/constants.d.ts +0 -15
  53. package/esm/deps/jsr.io/@std/path/1.1.2/constants.d.ts.map +0 -1
  54. package/esm/deps/jsr.io/@std/path/1.1.2/constants.js +0 -17
  55. package/esm/deps/jsr.io/@std/path/1.1.2/dirname.d.ts +0 -22
  56. package/esm/deps/jsr.io/@std/path/1.1.2/dirname.d.ts.map +0 -1
  57. package/esm/deps/jsr.io/@std/path/1.1.2/dirname.js +0 -28
  58. package/esm/deps/jsr.io/@std/path/1.1.2/extname.d.ts +0 -22
  59. package/esm/deps/jsr.io/@std/path/1.1.2/extname.d.ts.map +0 -1
  60. package/esm/deps/jsr.io/@std/path/1.1.2/extname.js +0 -28
  61. package/esm/deps/jsr.io/@std/path/1.1.2/format.d.ts +0 -22
  62. package/esm/deps/jsr.io/@std/path/1.1.2/format.d.ts.map +0 -1
  63. package/esm/deps/jsr.io/@std/path/1.1.2/format.js +0 -27
  64. package/esm/deps/jsr.io/@std/path/1.1.2/from_file_url.d.ts +0 -22
  65. package/esm/deps/jsr.io/@std/path/1.1.2/from_file_url.d.ts.map +0 -1
  66. package/esm/deps/jsr.io/@std/path/1.1.2/from_file_url.js +0 -28
  67. package/esm/deps/jsr.io/@std/path/1.1.2/glob_to_regexp.d.ts +0 -77
  68. package/esm/deps/jsr.io/@std/path/1.1.2/glob_to_regexp.d.ts.map +0 -1
  69. package/esm/deps/jsr.io/@std/path/1.1.2/glob_to_regexp.js +0 -83
  70. package/esm/deps/jsr.io/@std/path/1.1.2/is_absolute.d.ts +0 -22
  71. package/esm/deps/jsr.io/@std/path/1.1.2/is_absolute.d.ts.map +0 -1
  72. package/esm/deps/jsr.io/@std/path/1.1.2/is_absolute.js +0 -28
  73. package/esm/deps/jsr.io/@std/path/1.1.2/is_glob.d.ts +0 -17
  74. package/esm/deps/jsr.io/@std/path/1.1.2/is_glob.d.ts.map +0 -1
  75. package/esm/deps/jsr.io/@std/path/1.1.2/is_glob.js +0 -42
  76. package/esm/deps/jsr.io/@std/path/1.1.2/join_globs.d.ts +0 -28
  77. package/esm/deps/jsr.io/@std/path/1.1.2/join_globs.d.ts.map +0 -1
  78. package/esm/deps/jsr.io/@std/path/1.1.2/join_globs.js +0 -34
  79. package/esm/deps/jsr.io/@std/path/1.1.2/mod.d.ts +0 -213
  80. package/esm/deps/jsr.io/@std/path/1.1.2/mod.d.ts.map +0 -1
  81. package/esm/deps/jsr.io/@std/path/1.1.2/mod.js +0 -216
  82. package/esm/deps/jsr.io/@std/path/1.1.2/normalize_glob.d.ts +0 -29
  83. package/esm/deps/jsr.io/@std/path/1.1.2/normalize_glob.d.ts.map +0 -1
  84. package/esm/deps/jsr.io/@std/path/1.1.2/normalize_glob.js +0 -35
  85. package/esm/deps/jsr.io/@std/path/1.1.2/parse.d.ts +0 -35
  86. package/esm/deps/jsr.io/@std/path/1.1.2/parse.d.ts.map +0 -1
  87. package/esm/deps/jsr.io/@std/path/1.1.2/parse.js +0 -39
  88. package/esm/deps/jsr.io/@std/path/1.1.2/posix/basename.d.ts +0 -39
  89. package/esm/deps/jsr.io/@std/path/1.1.2/posix/basename.d.ts.map +0 -1
  90. package/esm/deps/jsr.io/@std/path/1.1.2/posix/basename.js +0 -52
  91. package/esm/deps/jsr.io/@std/path/1.1.2/posix/constants.d.ts +0 -13
  92. package/esm/deps/jsr.io/@std/path/1.1.2/posix/constants.d.ts.map +0 -1
  93. package/esm/deps/jsr.io/@std/path/1.1.2/posix/constants.js +0 -14
  94. package/esm/deps/jsr.io/@std/path/1.1.2/posix/dirname.d.ts +0 -30
  95. package/esm/deps/jsr.io/@std/path/1.1.2/posix/dirname.d.ts.map +0 -1
  96. package/esm/deps/jsr.io/@std/path/1.1.2/posix/dirname.js +0 -64
  97. package/esm/deps/jsr.io/@std/path/1.1.2/posix/extname.d.ts +0 -37
  98. package/esm/deps/jsr.io/@std/path/1.1.2/posix/extname.d.ts.map +0 -1
  99. package/esm/deps/jsr.io/@std/path/1.1.2/posix/extname.js +0 -93
  100. package/esm/deps/jsr.io/@std/path/1.1.2/posix/format.d.ts +0 -24
  101. package/esm/deps/jsr.io/@std/path/1.1.2/posix/format.d.ts.map +0 -1
  102. package/esm/deps/jsr.io/@std/path/1.1.2/posix/format.js +0 -28
  103. package/esm/deps/jsr.io/@std/path/1.1.2/posix/glob_to_regexp.d.ts +0 -72
  104. package/esm/deps/jsr.io/@std/path/1.1.2/posix/glob_to_regexp.d.ts.map +0 -1
  105. package/esm/deps/jsr.io/@std/path/1.1.2/posix/glob_to_regexp.js +0 -82
  106. package/esm/deps/jsr.io/@std/path/1.1.2/posix/is_absolute.d.ts +0 -17
  107. package/esm/deps/jsr.io/@std/path/1.1.2/posix/is_absolute.d.ts.map +0 -1
  108. package/esm/deps/jsr.io/@std/path/1.1.2/posix/is_absolute.js +0 -23
  109. package/esm/deps/jsr.io/@std/path/1.1.2/posix/join_globs.d.ts +0 -20
  110. package/esm/deps/jsr.io/@std/path/1.1.2/posix/join_globs.d.ts.map +0 -1
  111. package/esm/deps/jsr.io/@std/path/1.1.2/posix/join_globs.js +0 -40
  112. package/esm/deps/jsr.io/@std/path/1.1.2/posix/normalize_glob.d.ts +0 -20
  113. package/esm/deps/jsr.io/@std/path/1.1.2/posix/normalize_glob.d.ts.map +0 -1
  114. package/esm/deps/jsr.io/@std/path/1.1.2/posix/normalize_glob.js +0 -32
  115. package/esm/deps/jsr.io/@std/path/1.1.2/posix/parse.d.ts +0 -25
  116. package/esm/deps/jsr.io/@std/path/1.1.2/posix/parse.d.ts.map +0 -1
  117. package/esm/deps/jsr.io/@std/path/1.1.2/posix/parse.js +0 -115
  118. package/esm/deps/jsr.io/@std/path/1.1.2/posix/relative.d.ts +0 -20
  119. package/esm/deps/jsr.io/@std/path/1.1.2/posix/relative.d.ts.map +0 -1
  120. package/esm/deps/jsr.io/@std/path/1.1.2/posix/relative.js +0 -106
  121. package/esm/deps/jsr.io/@std/path/1.1.2/posix/resolve.d.ts +0 -17
  122. package/esm/deps/jsr.io/@std/path/1.1.2/posix/resolve.d.ts.map +0 -1
  123. package/esm/deps/jsr.io/@std/path/1.1.2/posix/resolve.js +0 -59
  124. package/esm/deps/jsr.io/@std/path/1.1.2/posix/to_file_url.d.ts +0 -17
  125. package/esm/deps/jsr.io/@std/path/1.1.2/posix/to_file_url.d.ts.map +0 -1
  126. package/esm/deps/jsr.io/@std/path/1.1.2/posix/to_file_url.js +0 -27
  127. package/esm/deps/jsr.io/@std/path/1.1.2/posix/to_namespaced_path.d.ts +0 -16
  128. package/esm/deps/jsr.io/@std/path/1.1.2/posix/to_namespaced_path.d.ts.map +0 -1
  129. package/esm/deps/jsr.io/@std/path/1.1.2/posix/to_namespaced_path.js +0 -20
  130. package/esm/deps/jsr.io/@std/path/1.1.2/relative.d.ts +0 -24
  131. package/esm/deps/jsr.io/@std/path/1.1.2/relative.d.ts.map +0 -1
  132. package/esm/deps/jsr.io/@std/path/1.1.2/relative.js +0 -30
  133. package/esm/deps/jsr.io/@std/path/1.1.2/resolve.d.ts +0 -22
  134. package/esm/deps/jsr.io/@std/path/1.1.2/resolve.d.ts.map +0 -1
  135. package/esm/deps/jsr.io/@std/path/1.1.2/resolve.js +0 -30
  136. package/esm/deps/jsr.io/@std/path/1.1.2/to_file_url.d.ts +0 -22
  137. package/esm/deps/jsr.io/@std/path/1.1.2/to_file_url.d.ts.map +0 -1
  138. package/esm/deps/jsr.io/@std/path/1.1.2/to_file_url.js +0 -28
  139. package/esm/deps/jsr.io/@std/path/1.1.2/to_namespaced_path.d.ts +0 -21
  140. package/esm/deps/jsr.io/@std/path/1.1.2/to_namespaced_path.d.ts.map +0 -1
  141. package/esm/deps/jsr.io/@std/path/1.1.2/to_namespaced_path.js +0 -29
  142. package/esm/deps/jsr.io/@std/path/1.1.2/types.d.ts +0 -38
  143. package/esm/deps/jsr.io/@std/path/1.1.2/types.d.ts.map +0 -1
  144. package/esm/deps/jsr.io/@std/path/1.1.2/types.js +0 -3
  145. package/esm/deps/jsr.io/@std/path/1.1.2/windows/basename.d.ts +0 -22
  146. package/esm/deps/jsr.io/@std/path/1.1.2/windows/basename.d.ts.map +0 -1
  147. package/esm/deps/jsr.io/@std/path/1.1.2/windows/basename.js +0 -47
  148. package/esm/deps/jsr.io/@std/path/1.1.2/windows/constants.d.ts +0 -13
  149. package/esm/deps/jsr.io/@std/path/1.1.2/windows/constants.d.ts.map +0 -1
  150. package/esm/deps/jsr.io/@std/path/1.1.2/windows/constants.js +0 -14
  151. package/esm/deps/jsr.io/@std/path/1.1.2/windows/dirname.d.ts +0 -17
  152. package/esm/deps/jsr.io/@std/path/1.1.2/windows/dirname.d.ts.map +0 -1
  153. package/esm/deps/jsr.io/@std/path/1.1.2/windows/dirname.js +0 -113
  154. package/esm/deps/jsr.io/@std/path/1.1.2/windows/extname.d.ts +0 -17
  155. package/esm/deps/jsr.io/@std/path/1.1.2/windows/extname.d.ts.map +0 -1
  156. package/esm/deps/jsr.io/@std/path/1.1.2/windows/extname.js +0 -82
  157. package/esm/deps/jsr.io/@std/path/1.1.2/windows/format.d.ts +0 -24
  158. package/esm/deps/jsr.io/@std/path/1.1.2/windows/format.d.ts.map +0 -1
  159. package/esm/deps/jsr.io/@std/path/1.1.2/windows/format.js +0 -28
  160. package/esm/deps/jsr.io/@std/path/1.1.2/windows/glob_to_regexp.d.ts +0 -71
  161. package/esm/deps/jsr.io/@std/path/1.1.2/windows/glob_to_regexp.d.ts.map +0 -1
  162. package/esm/deps/jsr.io/@std/path/1.1.2/windows/glob_to_regexp.js +0 -82
  163. package/esm/deps/jsr.io/@std/path/1.1.2/windows/is_absolute.d.ts +0 -17
  164. package/esm/deps/jsr.io/@std/path/1.1.2/windows/is_absolute.d.ts.map +0 -1
  165. package/esm/deps/jsr.io/@std/path/1.1.2/windows/is_absolute.js +0 -38
  166. package/esm/deps/jsr.io/@std/path/1.1.2/windows/join_globs.d.ts +0 -21
  167. package/esm/deps/jsr.io/@std/path/1.1.2/windows/join_globs.d.ts.map +0 -1
  168. package/esm/deps/jsr.io/@std/path/1.1.2/windows/join_globs.js +0 -41
  169. package/esm/deps/jsr.io/@std/path/1.1.2/windows/normalize_glob.d.ts +0 -20
  170. package/esm/deps/jsr.io/@std/path/1.1.2/windows/normalize_glob.d.ts.map +0 -1
  171. package/esm/deps/jsr.io/@std/path/1.1.2/windows/normalize_glob.js +0 -32
  172. package/esm/deps/jsr.io/@std/path/1.1.2/windows/parse.d.ts +0 -25
  173. package/esm/deps/jsr.io/@std/path/1.1.2/windows/parse.d.ts.map +0 -1
  174. package/esm/deps/jsr.io/@std/path/1.1.2/windows/parse.js +0 -176
  175. package/esm/deps/jsr.io/@std/path/1.1.2/windows/relative.d.ts +0 -23
  176. package/esm/deps/jsr.io/@std/path/1.1.2/windows/relative.d.ts.map +0 -1
  177. package/esm/deps/jsr.io/@std/path/1.1.2/windows/relative.js +0 -131
  178. package/esm/deps/jsr.io/@std/path/1.1.2/windows/resolve.d.ts +0 -17
  179. package/esm/deps/jsr.io/@std/path/1.1.2/windows/resolve.d.ts.map +0 -1
  180. package/esm/deps/jsr.io/@std/path/1.1.2/windows/resolve.js +0 -154
  181. package/esm/deps/jsr.io/@std/path/1.1.2/windows/to_file_url.d.ts +0 -17
  182. package/esm/deps/jsr.io/@std/path/1.1.2/windows/to_file_url.d.ts.map +0 -1
  183. package/esm/deps/jsr.io/@std/path/1.1.2/windows/to_file_url.js +0 -34
  184. package/esm/deps/jsr.io/@std/path/1.1.2/windows/to_namespaced_path.d.ts +0 -17
  185. package/esm/deps/jsr.io/@std/path/1.1.2/windows/to_namespaced_path.d.ts.map +0 -1
  186. package/esm/deps/jsr.io/@std/path/1.1.2/windows/to_namespaced_path.js +0 -49
  187. package/esm/deps/jsr.io/@std/yaml/1.0.9/_dumper_state.d.ts +0 -106
  188. package/esm/deps/jsr.io/@std/yaml/1.0.9/_dumper_state.d.ts.map +0 -1
  189. package/esm/deps/jsr.io/@std/yaml/1.0.9/_dumper_state.js +0 -716
  190. package/esm/deps/jsr.io/@std/yaml/1.0.9/mod.d.ts +0 -50
  191. package/esm/deps/jsr.io/@std/yaml/1.0.9/mod.d.ts.map +0 -1
  192. package/esm/deps/jsr.io/@std/yaml/1.0.9/mod.js +0 -52
  193. package/esm/deps/jsr.io/@std/yaml/1.0.9/stringify.d.ts +0 -100
  194. package/esm/deps/jsr.io/@std/yaml/1.0.9/stringify.d.ts.map +0 -1
  195. package/esm/deps/jsr.io/@std/yaml/1.0.9/stringify.js +0 -33
  196. package/script/deps/jsr.io/@std/path/1.1.2/_common/basename.d.ts +0 -4
  197. package/script/deps/jsr.io/@std/path/1.1.2/_common/basename.d.ts.map +0 -1
  198. package/script/deps/jsr.io/@std/path/1.1.2/_common/basename.js +0 -45
  199. package/script/deps/jsr.io/@std/path/1.1.2/_common/common.d.ts +0 -2
  200. package/script/deps/jsr.io/@std/path/1.1.2/_common/common.d.ts.map +0 -1
  201. package/script/deps/jsr.io/@std/path/1.1.2/_common/common.js +0 -26
  202. package/script/deps/jsr.io/@std/path/1.1.2/_common/dirname.d.ts +0 -2
  203. package/script/deps/jsr.io/@std/path/1.1.2/_common/dirname.d.ts.map +0 -1
  204. package/script/deps/jsr.io/@std/path/1.1.2/_common/dirname.js +0 -11
  205. package/script/deps/jsr.io/@std/path/1.1.2/_common/format.d.ts +0 -4
  206. package/script/deps/jsr.io/@std/path/1.1.2/_common/format.d.ts.map +0 -1
  207. package/script/deps/jsr.io/@std/path/1.1.2/_common/format.js +0 -23
  208. package/script/deps/jsr.io/@std/path/1.1.2/_common/glob_to_reg_exp.d.ts +0 -35
  209. package/script/deps/jsr.io/@std/path/1.1.2/_common/glob_to_reg_exp.d.ts.map +0 -1
  210. package/script/deps/jsr.io/@std/path/1.1.2/_common/glob_to_reg_exp.js +0 -237
  211. package/script/deps/jsr.io/@std/path/1.1.2/_common/relative.d.ts +0 -2
  212. package/script/deps/jsr.io/@std/path/1.1.2/_common/relative.d.ts.map +0 -1
  213. package/script/deps/jsr.io/@std/path/1.1.2/_common/relative.js +0 -12
  214. package/script/deps/jsr.io/@std/path/1.1.2/_common/strip_trailing_separators.d.ts +0 -2
  215. package/script/deps/jsr.io/@std/path/1.1.2/_common/strip_trailing_separators.d.ts.map +0 -1
  216. package/script/deps/jsr.io/@std/path/1.1.2/_common/strip_trailing_separators.js +0 -22
  217. package/script/deps/jsr.io/@std/path/1.1.2/_common/to_file_url.d.ts +0 -2
  218. package/script/deps/jsr.io/@std/path/1.1.2/_common/to_file_url.d.ts.map +0 -1
  219. package/script/deps/jsr.io/@std/path/1.1.2/_common/to_file_url.js +0 -18
  220. package/script/deps/jsr.io/@std/path/1.1.2/basename.d.ts +0 -27
  221. package/script/deps/jsr.io/@std/path/1.1.2/basename.d.ts.map +0 -1
  222. package/script/deps/jsr.io/@std/path/1.1.2/basename.js +0 -38
  223. package/script/deps/jsr.io/@std/path/1.1.2/common.d.ts +0 -28
  224. package/script/deps/jsr.io/@std/path/1.1.2/common.d.ts.map +0 -1
  225. package/script/deps/jsr.io/@std/path/1.1.2/common.js +0 -36
  226. package/script/deps/jsr.io/@std/path/1.1.2/constants.d.ts +0 -15
  227. package/script/deps/jsr.io/@std/path/1.1.2/constants.d.ts.map +0 -1
  228. package/script/deps/jsr.io/@std/path/1.1.2/constants.js +0 -20
  229. package/script/deps/jsr.io/@std/path/1.1.2/dirname.d.ts +0 -22
  230. package/script/deps/jsr.io/@std/path/1.1.2/dirname.d.ts.map +0 -1
  231. package/script/deps/jsr.io/@std/path/1.1.2/dirname.js +0 -31
  232. package/script/deps/jsr.io/@std/path/1.1.2/extname.d.ts +0 -22
  233. package/script/deps/jsr.io/@std/path/1.1.2/extname.d.ts.map +0 -1
  234. package/script/deps/jsr.io/@std/path/1.1.2/extname.js +0 -31
  235. package/script/deps/jsr.io/@std/path/1.1.2/format.d.ts +0 -22
  236. package/script/deps/jsr.io/@std/path/1.1.2/format.d.ts.map +0 -1
  237. package/script/deps/jsr.io/@std/path/1.1.2/format.js +0 -30
  238. package/script/deps/jsr.io/@std/path/1.1.2/from_file_url.d.ts +0 -22
  239. package/script/deps/jsr.io/@std/path/1.1.2/from_file_url.d.ts.map +0 -1
  240. package/script/deps/jsr.io/@std/path/1.1.2/from_file_url.js +0 -31
  241. package/script/deps/jsr.io/@std/path/1.1.2/glob_to_regexp.d.ts +0 -77
  242. package/script/deps/jsr.io/@std/path/1.1.2/glob_to_regexp.d.ts.map +0 -1
  243. package/script/deps/jsr.io/@std/path/1.1.2/glob_to_regexp.js +0 -86
  244. package/script/deps/jsr.io/@std/path/1.1.2/is_absolute.d.ts +0 -22
  245. package/script/deps/jsr.io/@std/path/1.1.2/is_absolute.d.ts.map +0 -1
  246. package/script/deps/jsr.io/@std/path/1.1.2/is_absolute.js +0 -31
  247. package/script/deps/jsr.io/@std/path/1.1.2/is_glob.d.ts +0 -17
  248. package/script/deps/jsr.io/@std/path/1.1.2/is_glob.d.ts.map +0 -1
  249. package/script/deps/jsr.io/@std/path/1.1.2/is_glob.js +0 -45
  250. package/script/deps/jsr.io/@std/path/1.1.2/join_globs.d.ts +0 -28
  251. package/script/deps/jsr.io/@std/path/1.1.2/join_globs.d.ts.map +0 -1
  252. package/script/deps/jsr.io/@std/path/1.1.2/join_globs.js +0 -37
  253. package/script/deps/jsr.io/@std/path/1.1.2/mod.d.ts +0 -213
  254. package/script/deps/jsr.io/@std/path/1.1.2/mod.d.ts.map +0 -1
  255. package/script/deps/jsr.io/@std/path/1.1.2/mod.js +0 -232
  256. package/script/deps/jsr.io/@std/path/1.1.2/normalize_glob.d.ts +0 -29
  257. package/script/deps/jsr.io/@std/path/1.1.2/normalize_glob.d.ts.map +0 -1
  258. package/script/deps/jsr.io/@std/path/1.1.2/normalize_glob.js +0 -38
  259. package/script/deps/jsr.io/@std/path/1.1.2/parse.d.ts +0 -35
  260. package/script/deps/jsr.io/@std/path/1.1.2/parse.d.ts.map +0 -1
  261. package/script/deps/jsr.io/@std/path/1.1.2/parse.js +0 -42
  262. package/script/deps/jsr.io/@std/path/1.1.2/posix/basename.d.ts +0 -39
  263. package/script/deps/jsr.io/@std/path/1.1.2/posix/basename.d.ts.map +0 -1
  264. package/script/deps/jsr.io/@std/path/1.1.2/posix/basename.js +0 -55
  265. package/script/deps/jsr.io/@std/path/1.1.2/posix/constants.d.ts +0 -13
  266. package/script/deps/jsr.io/@std/path/1.1.2/posix/constants.d.ts.map +0 -1
  267. package/script/deps/jsr.io/@std/path/1.1.2/posix/constants.js +0 -17
  268. package/script/deps/jsr.io/@std/path/1.1.2/posix/dirname.d.ts +0 -30
  269. package/script/deps/jsr.io/@std/path/1.1.2/posix/dirname.d.ts.map +0 -1
  270. package/script/deps/jsr.io/@std/path/1.1.2/posix/dirname.js +0 -67
  271. package/script/deps/jsr.io/@std/path/1.1.2/posix/extname.d.ts +0 -37
  272. package/script/deps/jsr.io/@std/path/1.1.2/posix/extname.d.ts.map +0 -1
  273. package/script/deps/jsr.io/@std/path/1.1.2/posix/extname.js +0 -96
  274. package/script/deps/jsr.io/@std/path/1.1.2/posix/format.d.ts +0 -24
  275. package/script/deps/jsr.io/@std/path/1.1.2/posix/format.d.ts.map +0 -1
  276. package/script/deps/jsr.io/@std/path/1.1.2/posix/format.js +0 -31
  277. package/script/deps/jsr.io/@std/path/1.1.2/posix/glob_to_regexp.d.ts +0 -72
  278. package/script/deps/jsr.io/@std/path/1.1.2/posix/glob_to_regexp.d.ts.map +0 -1
  279. package/script/deps/jsr.io/@std/path/1.1.2/posix/glob_to_regexp.js +0 -85
  280. package/script/deps/jsr.io/@std/path/1.1.2/posix/is_absolute.d.ts +0 -17
  281. package/script/deps/jsr.io/@std/path/1.1.2/posix/is_absolute.d.ts.map +0 -1
  282. package/script/deps/jsr.io/@std/path/1.1.2/posix/is_absolute.js +0 -26
  283. package/script/deps/jsr.io/@std/path/1.1.2/posix/join_globs.d.ts +0 -20
  284. package/script/deps/jsr.io/@std/path/1.1.2/posix/join_globs.d.ts.map +0 -1
  285. package/script/deps/jsr.io/@std/path/1.1.2/posix/join_globs.js +0 -43
  286. package/script/deps/jsr.io/@std/path/1.1.2/posix/normalize_glob.d.ts +0 -20
  287. package/script/deps/jsr.io/@std/path/1.1.2/posix/normalize_glob.d.ts.map +0 -1
  288. package/script/deps/jsr.io/@std/path/1.1.2/posix/normalize_glob.js +0 -35
  289. package/script/deps/jsr.io/@std/path/1.1.2/posix/parse.d.ts +0 -25
  290. package/script/deps/jsr.io/@std/path/1.1.2/posix/parse.d.ts.map +0 -1
  291. package/script/deps/jsr.io/@std/path/1.1.2/posix/parse.js +0 -118
  292. package/script/deps/jsr.io/@std/path/1.1.2/posix/relative.d.ts +0 -20
  293. package/script/deps/jsr.io/@std/path/1.1.2/posix/relative.d.ts.map +0 -1
  294. package/script/deps/jsr.io/@std/path/1.1.2/posix/relative.js +0 -109
  295. package/script/deps/jsr.io/@std/path/1.1.2/posix/resolve.d.ts +0 -17
  296. package/script/deps/jsr.io/@std/path/1.1.2/posix/resolve.d.ts.map +0 -1
  297. package/script/deps/jsr.io/@std/path/1.1.2/posix/resolve.js +0 -95
  298. package/script/deps/jsr.io/@std/path/1.1.2/posix/to_file_url.d.ts +0 -17
  299. package/script/deps/jsr.io/@std/path/1.1.2/posix/to_file_url.d.ts.map +0 -1
  300. package/script/deps/jsr.io/@std/path/1.1.2/posix/to_file_url.js +0 -30
  301. package/script/deps/jsr.io/@std/path/1.1.2/posix/to_namespaced_path.d.ts +0 -16
  302. package/script/deps/jsr.io/@std/path/1.1.2/posix/to_namespaced_path.d.ts.map +0 -1
  303. package/script/deps/jsr.io/@std/path/1.1.2/posix/to_namespaced_path.js +0 -23
  304. package/script/deps/jsr.io/@std/path/1.1.2/relative.d.ts +0 -24
  305. package/script/deps/jsr.io/@std/path/1.1.2/relative.d.ts.map +0 -1
  306. package/script/deps/jsr.io/@std/path/1.1.2/relative.js +0 -33
  307. package/script/deps/jsr.io/@std/path/1.1.2/resolve.d.ts +0 -22
  308. package/script/deps/jsr.io/@std/path/1.1.2/resolve.d.ts.map +0 -1
  309. package/script/deps/jsr.io/@std/path/1.1.2/resolve.js +0 -33
  310. package/script/deps/jsr.io/@std/path/1.1.2/to_file_url.d.ts +0 -22
  311. package/script/deps/jsr.io/@std/path/1.1.2/to_file_url.d.ts.map +0 -1
  312. package/script/deps/jsr.io/@std/path/1.1.2/to_file_url.js +0 -31
  313. package/script/deps/jsr.io/@std/path/1.1.2/to_namespaced_path.d.ts +0 -21
  314. package/script/deps/jsr.io/@std/path/1.1.2/to_namespaced_path.d.ts.map +0 -1
  315. package/script/deps/jsr.io/@std/path/1.1.2/to_namespaced_path.js +0 -32
  316. package/script/deps/jsr.io/@std/path/1.1.2/types.d.ts +0 -38
  317. package/script/deps/jsr.io/@std/path/1.1.2/types.d.ts.map +0 -1
  318. package/script/deps/jsr.io/@std/path/1.1.2/types.js +0 -4
  319. package/script/deps/jsr.io/@std/path/1.1.2/windows/basename.d.ts +0 -22
  320. package/script/deps/jsr.io/@std/path/1.1.2/windows/basename.d.ts.map +0 -1
  321. package/script/deps/jsr.io/@std/path/1.1.2/windows/basename.js +0 -50
  322. package/script/deps/jsr.io/@std/path/1.1.2/windows/constants.d.ts +0 -13
  323. package/script/deps/jsr.io/@std/path/1.1.2/windows/constants.d.ts.map +0 -1
  324. package/script/deps/jsr.io/@std/path/1.1.2/windows/constants.js +0 -17
  325. package/script/deps/jsr.io/@std/path/1.1.2/windows/dirname.d.ts +0 -17
  326. package/script/deps/jsr.io/@std/path/1.1.2/windows/dirname.d.ts.map +0 -1
  327. package/script/deps/jsr.io/@std/path/1.1.2/windows/dirname.js +0 -116
  328. package/script/deps/jsr.io/@std/path/1.1.2/windows/extname.d.ts +0 -17
  329. package/script/deps/jsr.io/@std/path/1.1.2/windows/extname.d.ts.map +0 -1
  330. package/script/deps/jsr.io/@std/path/1.1.2/windows/extname.js +0 -85
  331. package/script/deps/jsr.io/@std/path/1.1.2/windows/format.d.ts +0 -24
  332. package/script/deps/jsr.io/@std/path/1.1.2/windows/format.d.ts.map +0 -1
  333. package/script/deps/jsr.io/@std/path/1.1.2/windows/format.js +0 -31
  334. package/script/deps/jsr.io/@std/path/1.1.2/windows/glob_to_regexp.d.ts +0 -71
  335. package/script/deps/jsr.io/@std/path/1.1.2/windows/glob_to_regexp.d.ts.map +0 -1
  336. package/script/deps/jsr.io/@std/path/1.1.2/windows/glob_to_regexp.js +0 -85
  337. package/script/deps/jsr.io/@std/path/1.1.2/windows/is_absolute.d.ts +0 -17
  338. package/script/deps/jsr.io/@std/path/1.1.2/windows/is_absolute.d.ts.map +0 -1
  339. package/script/deps/jsr.io/@std/path/1.1.2/windows/is_absolute.js +0 -41
  340. package/script/deps/jsr.io/@std/path/1.1.2/windows/join_globs.d.ts +0 -21
  341. package/script/deps/jsr.io/@std/path/1.1.2/windows/join_globs.d.ts.map +0 -1
  342. package/script/deps/jsr.io/@std/path/1.1.2/windows/join_globs.js +0 -44
  343. package/script/deps/jsr.io/@std/path/1.1.2/windows/normalize_glob.d.ts +0 -20
  344. package/script/deps/jsr.io/@std/path/1.1.2/windows/normalize_glob.d.ts.map +0 -1
  345. package/script/deps/jsr.io/@std/path/1.1.2/windows/normalize_glob.js +0 -35
  346. package/script/deps/jsr.io/@std/path/1.1.2/windows/parse.d.ts +0 -25
  347. package/script/deps/jsr.io/@std/path/1.1.2/windows/parse.d.ts.map +0 -1
  348. package/script/deps/jsr.io/@std/path/1.1.2/windows/parse.js +0 -179
  349. package/script/deps/jsr.io/@std/path/1.1.2/windows/relative.d.ts +0 -23
  350. package/script/deps/jsr.io/@std/path/1.1.2/windows/relative.d.ts.map +0 -1
  351. package/script/deps/jsr.io/@std/path/1.1.2/windows/relative.js +0 -134
  352. package/script/deps/jsr.io/@std/path/1.1.2/windows/resolve.d.ts +0 -17
  353. package/script/deps/jsr.io/@std/path/1.1.2/windows/resolve.d.ts.map +0 -1
  354. package/script/deps/jsr.io/@std/path/1.1.2/windows/resolve.js +0 -190
  355. package/script/deps/jsr.io/@std/path/1.1.2/windows/to_file_url.d.ts +0 -17
  356. package/script/deps/jsr.io/@std/path/1.1.2/windows/to_file_url.d.ts.map +0 -1
  357. package/script/deps/jsr.io/@std/path/1.1.2/windows/to_file_url.js +0 -37
  358. package/script/deps/jsr.io/@std/path/1.1.2/windows/to_namespaced_path.d.ts +0 -17
  359. package/script/deps/jsr.io/@std/path/1.1.2/windows/to_namespaced_path.d.ts.map +0 -1
  360. package/script/deps/jsr.io/@std/path/1.1.2/windows/to_namespaced_path.js +0 -52
  361. package/script/deps/jsr.io/@std/yaml/1.0.9/_dumper_state.d.ts +0 -106
  362. package/script/deps/jsr.io/@std/yaml/1.0.9/_dumper_state.d.ts.map +0 -1
  363. package/script/deps/jsr.io/@std/yaml/1.0.9/_dumper_state.js +0 -720
  364. package/script/deps/jsr.io/@std/yaml/1.0.9/mod.d.ts +0 -50
  365. package/script/deps/jsr.io/@std/yaml/1.0.9/mod.d.ts.map +0 -1
  366. package/script/deps/jsr.io/@std/yaml/1.0.9/mod.js +0 -68
  367. package/script/deps/jsr.io/@std/yaml/1.0.9/stringify.d.ts +0 -100
  368. package/script/deps/jsr.io/@std/yaml/1.0.9/stringify.d.ts.map +0 -1
  369. package/script/deps/jsr.io/@std/yaml/1.0.9/stringify.js +0 -36
package/LICENSE ADDED
@@ -0,0 +1,105 @@
1
+ # Functional Source License, Version 1.1, ALv2 Future License
2
+
3
+ ## Abbreviation
4
+
5
+ FSL-1.1-ALv2
6
+
7
+ ## Notice
8
+
9
+ Copyright 2024 Dmitri Grabov
10
+
11
+ ## Terms and Conditions
12
+
13
+ ### Licensor ("We")
14
+
15
+ The party offering the Software under these Terms and Conditions.
16
+
17
+ ### The Software
18
+
19
+ The "Software" is each version of the software that we make available under
20
+ these Terms and Conditions, as indicated by our inclusion of these Terms and
21
+ Conditions with the Software.
22
+
23
+ ### License Grant
24
+
25
+ Subject to your compliance with this License Grant and the Patents,
26
+ Redistribution and Trademark clauses below, we hereby grant you the right to
27
+ use, copy, modify, create derivative works, publicly perform, publicly display
28
+ and redistribute the Software for any Permitted Purpose identified below.
29
+
30
+ ### Permitted Purpose
31
+
32
+ A Permitted Purpose is any purpose other than a Competing Use. A Competing Use
33
+ means making the Software available to others in a commercial product or
34
+ service that:
35
+
36
+ 1. substitutes for the Software;
37
+
38
+ 2. substitutes for any other product or service we offer using the Software
39
+ that exists as of the date we make the Software available; or
40
+
41
+ 3. offers the same or substantially similar functionality as the Software.
42
+
43
+ Permitted Purposes specifically include using the Software:
44
+
45
+ 1. for your internal use and access;
46
+
47
+ 2. for non-commercial education;
48
+
49
+ 3. for non-commercial research; and
50
+
51
+ 4. in connection with professional services that you provide to a licensee
52
+ using the Software in accordance with these Terms and Conditions.
53
+
54
+ ### Patents
55
+
56
+ To the extent your use for a Permitted Purpose would necessarily infringe our
57
+ patents, the license grant above includes a license under our patents. If you
58
+ make a claim against any party that the Software infringes or contributes to
59
+ the infringement of any patent, then your patent license to the Software ends
60
+ immediately.
61
+
62
+ ### Redistribution
63
+
64
+ The Terms and Conditions apply to all copies, modifications and derivatives of
65
+ the Software.
66
+
67
+ If you redistribute any copies, modifications or derivatives of the Software,
68
+ you must include a copy of or a link to these Terms and Conditions and not
69
+ remove any copyright notices provided in or with the Software.
70
+
71
+ ### Disclaimer
72
+
73
+ THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTIES OF ANY KIND, EXPRESS OR
74
+ IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A PARTICULAR
75
+ PURPOSE, MERCHANTABILITY, TITLE OR NON-INFRINGEMENT.
76
+
77
+ IN NO EVENT WILL WE HAVE ANY LIABILITY TO YOU ARISING OUT OF OR RELATED TO THE
78
+ SOFTWARE, INCLUDING INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES,
79
+ EVEN IF WE HAVE BEEN INFORMED OF THEIR POSSIBILITY IN ADVANCE.
80
+
81
+ ### Trademarks
82
+
83
+ Except for displaying the License Details and identifying us as the origin of
84
+ the Software, you have no right under these Terms and Conditions to use our
85
+ trademarks, trade names, service marks or product names.
86
+
87
+ ## Grant of Future License
88
+
89
+ We hereby irrevocably grant you an additional license to use the Software under
90
+ the Apache License, Version 2.0 that is effective on the second anniversary of
91
+ the date we make the Software available. On or after that date, you may use the
92
+ Software under the Apache License, Version 2.0, in which case the following
93
+ will apply:
94
+
95
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
96
+ this file except in compliance with the License.
97
+
98
+ You may obtain a copy of the License at
99
+
100
+ http://www.apache.org/licenses/LICENSE-2.0
101
+
102
+ Unless required by applicable law or agreed to in writing, software distributed
103
+ under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
104
+ CONDITIONS OF ANY KIND, either express or implied. See the License for the
105
+ specific language governing permissions and limitations under the License.
package/README.md ADDED
@@ -0,0 +1,85 @@
1
+ # @skmtc/core
2
+
3
+ TypeScript code generation library that transforms OpenAPI v3 schemas into type-safe artifacts.
4
+
5
+ ## Problems We Solve
6
+
7
+ **Stop writing the same code over and over.** Generate TypeScript types, API clients, validation schemas, and more directly from your OpenAPI specifications.
8
+
9
+ ### Manual Type Definitions
10
+ **Pain:** Hours spent manually writing TypeScript interfaces from OpenAPI docs, fighting typos and sync issues.
11
+ **Solution:** Generate accurate types with perfect synchronization.
12
+
13
+ ### Schema Evolution Management
14
+ **Pain:** API changes break frontend types, validation, mocks, and docs across dozens of files.
15
+ **Solution:** Single regeneration command updates all artifacts simultaneously.
16
+
17
+ ### Type-Unsafe Runtime API Integration
18
+ **Pain:** No compile-time guarantees that API calls match backend schemas.
19
+ **Solution:** End-to-end type safety from schema through clients to UI components.
20
+
21
+ ## Quick Start
22
+
23
+ **Learning Outcome:** Generate TypeScript types from an OpenAPI schema in 5 minutes.
24
+
25
+ ### Install
26
+
27
+ ```bash
28
+ # Import in your Deno project
29
+ import { toArtifacts } from "jsr:@skmtc/core"
30
+ ```
31
+
32
+ ### Generate Types
33
+
34
+ ```typescript
35
+ import { toArtifacts } from "@skmtc/core"
36
+ import typescriptGenerator from "@skmtc/gen-typescript"
37
+
38
+ // Your OpenAPI v3 schema
39
+ const schema = {
40
+ openapi: "3.0.0",
41
+ info: { title: "API", version: "1.0.0" },
42
+ components: {
43
+ schemas: {
44
+ User: {
45
+ type: "object",
46
+ properties: {
47
+ id: { type: "string" },
48
+ name: { type: "string" }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+
55
+ // Generate TypeScript types
56
+ const artifacts = await toArtifacts({
57
+ schema,
58
+ generators: [typescriptGenerator]
59
+ })
60
+
61
+ // Write generated files
62
+ for (const [path, content] of artifacts) {
63
+ await Deno.writeTextFile(path, content)
64
+ }
65
+ ```
66
+
67
+ ### Result
68
+
69
+ ```typescript
70
+ // @/types/user.generated.ts
71
+ export interface User {
72
+ id?: string
73
+ name?: string
74
+ }
75
+ ```
76
+
77
+ ## What's Next
78
+
79
+ - **[Getting Started →](docs/getting-started/installation.md)** - Complete setup guide
80
+ - **[How-To Guides →](docs/how-to/)** - Task-oriented tutorials
81
+ - **[API Reference →](docs/api/)** - Complete technical documentation
82
+
83
+ ## License
84
+
85
+ [FSL-1.1-ALv2](LICENSE)
@@ -19,7 +19,7 @@ import { StackTrail } from './StackTrail.js';
19
19
  import { tracer } from '../helpers/tracer.js';
20
20
  import { ResultsLog } from '../helpers/ResultsLog.js';
21
21
  import * as Sentry from '@sentry/deno';
22
- import { join } from '../deps/jsr.io/@std/path/1.1.2/mod.js';
22
+ import { join } from '../deps/jsr.io/@std/path/1.1.2/join.js';
23
23
  export class CoreContext {
24
24
  constructor({ spanId, logsPath, silent }) {
25
25
  _CoreContext_instances.add(this);
@@ -10,7 +10,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
10
10
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
11
11
  };
12
12
  var _GenerateContext_instances, _GenerateContext_files, _GenerateContext_previews, _GenerateContext_mappings, _GenerateContext_runOperationGenerator, _GenerateContext_runModelGenerator, _GenerateContext_addPreview, _GenerateContext_addMapping, _GenerateContext_getFile, _GenerateContext_defineAndRegister, _GenerateContext_addFile;
13
- import { normalize } from '../deps/jsr.io/@std/path/1.1.2/mod.js';
13
+ import { normalize } from '../deps/jsr.io/@std/path/1.1.2/normalize.js';
14
14
  import { Import } from '../dsl/Import.js';
15
15
  import { Definition } from '../dsl/Definition.js';
16
16
  import { OperationDriver } from '../dsl/operation/OperationDriver.js';
@@ -11,7 +11,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
11
11
  };
12
12
  var _ParseContext_refStackTrails, _ParseContext_refErrors;
13
13
  import "../_dnt.polyfills.js";
14
- import { parse as parseYaml } from '../deps/jsr.io/@std/yaml/1.0.9/mod.js';
14
+ import { parse as parseYaml } from '../deps/jsr.io/@std/yaml/1.0.9/parse.js';
15
15
  import { toDocumentFieldsV3 } from '../oas/document/toDocumentFieldsV3.js';
16
16
  import { OasDocument } from '../oas/document/Document.js';
17
17
  import { tracer } from '../helpers/tracer.js';
@@ -12,7 +12,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
12
12
  var _RenderContext_prettierConfig, _RenderContext_stackTrail;
13
13
  import * as Sentry from '@sentry/deno';
14
14
  import invariant from 'tiny-invariant';
15
- import { normalize } from '../deps/jsr.io/@std/path/1.1.2/mod.js';
15
+ import { normalize } from '../deps/jsr.io/@std/path/1.1.2/normalize.js';
16
16
  import { toResolvedArtifactPath } from '../helpers/toResolvedArtifactPath.js';
17
17
  import { tracer } from '../helpers/tracer.js';
18
18
  import { File } from '../dsl/File.js';
@@ -1,4 +1,4 @@
1
- import { normalize } from '../../deps/jsr.io/@std/path/1.1.2/mod.js';
1
+ import { normalize } from '../../deps/jsr.io/@std/path/1.1.2/normalize.js';
2
2
  import { Definition } from '../Definition.js';
3
3
  import { toModelGeneratorKey } from '../../types/GeneratorKeys.js';
4
4
  export class ModelDriver {
@@ -1,4 +1,4 @@
1
- import { normalize } from '../../deps/jsr.io/@std/path/1.1.2/mod.js';
1
+ import { normalize } from '../../deps/jsr.io/@std/path/1.1.2/normalize.js';
2
2
  import { Definition } from '../Definition.js';
3
3
  import { toOperationGeneratorKey } from '../../types/GeneratorKeys.js';
4
4
  export class OperationDriver {
@@ -1,4 +1,4 @@
1
- import { normalize } from '../deps/jsr.io/@std/path/1.1.2/mod.js';
1
+ import { normalize } from '../deps/jsr.io/@std/path/1.1.2/normalize.js';
2
2
  export const isImported = (pathOne, pathTwo) => {
3
3
  return normalize(pathOne) !== normalize(pathTwo);
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import "../_dnt.polyfills.js";
2
- import { join } from '../deps/jsr.io/@std/path/1.1.2/mod.js';
2
+ import { join } from '../deps/jsr.io/@std/path/1.1.2/join.js';
3
3
  export const toResolvedArtifactPath = ({ basePath, destinationPath }) => {
4
4
  return join(basePath ?? './', destinationPath.replace(/^@\//, ''));
5
5
  };
@@ -1,4 +1,4 @@
1
- import { parse as parseYaml } from '../deps/jsr.io/@std/yaml/1.0.9/mod.js';
1
+ import { parse as parseYaml } from '../deps/jsr.io/@std/yaml/1.0.9/parse.js';
2
2
  import { Converter as ThreeOneToThreeZeroConverter } from '@apiture/openapi-down-convert';
3
3
  import { match, P } from 'ts-pattern';
4
4
  import converter from 'swagger2openapi';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skmtc/core",
3
- "version": "0.0.742",
3
+ "version": "0.0.744",
4
4
  "main": "./script/mod.js",
5
5
  "module": "./esm/mod.js",
6
6
  "exports": {
@@ -199,8 +199,8 @@
199
199
  "rootDir": "./",
200
200
  "dependencies": {
201
201
  "@apiture/openapi-down-convert": "^0.14.0",
202
- "@babel/helper-validator-identifier": "7.22.20",
203
- "@sentry/deno": "^9.39.0",
202
+ "@babel/helper-validator-identifier": "7.27.1",
203
+ "@sentry/deno": "^10.8.0",
204
204
  "@types/babel__helper-validator-identifier": "7.15.2",
205
205
  "@types/lodash-es": "4.17.12",
206
206
  "@types/swagger2openapi": "7.0.4",
@@ -212,7 +212,7 @@
212
212
  "tiny-invariant": "1.3.3",
213
213
  "ts-pattern": "^5.8.0",
214
214
  "valibot": "1.1.0",
215
- "@deno/shim-deno": "~0.18.0"
215
+ "@deno/shim-deno": "^0.19.2"
216
216
  },
217
217
  "devDependencies": {
218
218
  "@types/node": "^20.9.0",
@@ -56,7 +56,7 @@ const StackTrail_js_1 = require("./StackTrail.js");
56
56
  const tracer_js_1 = require("../helpers/tracer.js");
57
57
  const ResultsLog_js_1 = require("../helpers/ResultsLog.js");
58
58
  const Sentry = __importStar(require("@sentry/deno"));
59
- const mod_js_1 = require("../deps/jsr.io/@std/path/1.1.2/mod.js");
59
+ const join_js_1 = require("../deps/jsr.io/@std/path/1.1.2/join.js");
60
60
  class CoreContext {
61
61
  constructor({ spanId, logsPath, silent }) {
62
62
  _CoreContext_instances.add(this);
@@ -148,7 +148,7 @@ class CoreContext {
148
148
  }
149
149
  exports.CoreContext = CoreContext;
150
150
  _CoreContext_phase = new WeakMap(), _CoreContext_results = new WeakMap(), _CoreContext_stackTrail = new WeakMap(), _CoreContext_instances = new WeakSet(), _CoreContext_setupLogger = function _CoreContext_setupLogger({ spanId, logsPath }) {
151
- const filename = (0, mod_js_1.join)(logsPath ?? '', `${spanId}.txt`);
151
+ const filename = (0, join_js_1.join)(logsPath ?? '', `${spanId}.txt`);
152
152
  log.setup({
153
153
  handlers: {
154
154
  [`${spanId}-logs`]: new log.ConsoleHandler('DEBUG', {
@@ -49,7 +49,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
49
49
  var _GenerateContext_instances, _GenerateContext_files, _GenerateContext_previews, _GenerateContext_mappings, _GenerateContext_runOperationGenerator, _GenerateContext_runModelGenerator, _GenerateContext_addPreview, _GenerateContext_addMapping, _GenerateContext_getFile, _GenerateContext_defineAndRegister, _GenerateContext_addFile;
50
50
  Object.defineProperty(exports, "__esModule", { value: true });
51
51
  exports.toModelSource = exports.toOperationSource = exports.GenerateContext = void 0;
52
- const mod_js_1 = require("../deps/jsr.io/@std/path/1.1.2/mod.js");
52
+ const normalize_js_1 = require("../deps/jsr.io/@std/path/1.1.2/normalize.js");
53
53
  const Import_js_1 = require("../dsl/Import.js");
54
54
  const Definition_js_1 = require("../dsl/Definition.js");
55
55
  const OperationDriver_js_1 = require("../dsl/operation/OperationDriver.js");
@@ -443,7 +443,7 @@ _GenerateContext_files = new WeakMap(), _GenerateContext_previews = new WeakMap(
443
443
  source
444
444
  };
445
445
  }, _GenerateContext_getFile = function _GenerateContext_getFile(filePath, { throwIfNotFound = false } = {}) {
446
- const normalisedPath = (0, mod_js_1.normalize)(filePath);
446
+ const normalisedPath = (0, normalize_js_1.normalize)(filePath);
447
447
  const currentFile = __classPrivateFieldGet(this, _GenerateContext_files, "f").get(normalisedPath);
448
448
  if (!currentFile) {
449
449
  if (throwIfNotFound) {
@@ -47,7 +47,7 @@ var _ParseContext_refStackTrails, _ParseContext_refErrors;
47
47
  Object.defineProperty(exports, "__esModule", { value: true });
48
48
  exports.parseSchema = exports.ParseContext = void 0;
49
49
  require("../_dnt.polyfills.js");
50
- const mod_js_1 = require("../deps/jsr.io/@std/yaml/1.0.9/mod.js");
50
+ const parse_js_1 = require("../deps/jsr.io/@std/yaml/1.0.9/parse.js");
51
51
  const toDocumentFieldsV3_js_1 = require("../oas/document/toDocumentFieldsV3.js");
52
52
  const Document_js_1 = require("../oas/document/Document.js");
53
53
  const tracer_js_1 = require("../helpers/tracer.js");
@@ -194,7 +194,7 @@ const parseSchema = (schema) => {
194
194
  return JSON.parse(schema);
195
195
  }
196
196
  else {
197
- return (0, mod_js_1.parse)(schema);
197
+ return (0, parse_js_1.parse)(schema);
198
198
  }
199
199
  };
200
200
  exports.parseSchema = parseSchema;
@@ -51,7 +51,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
51
51
  exports.RenderContext = void 0;
52
52
  const Sentry = __importStar(require("@sentry/deno"));
53
53
  const tiny_invariant_1 = __importDefault(require("tiny-invariant"));
54
- const mod_js_1 = require("../deps/jsr.io/@std/path/1.1.2/mod.js");
54
+ const normalize_js_1 = require("../deps/jsr.io/@std/path/1.1.2/normalize.js");
55
55
  const toResolvedArtifactPath_js_1 = require("../helpers/toResolvedArtifactPath.js");
56
56
  const tracer_js_1 = require("../helpers/tracer.js");
57
57
  const File_js_1 = require("../dsl/File.js");
@@ -154,7 +154,7 @@ class RenderContext {
154
154
  return (0, tracer_js_1.tracer)(__classPrivateFieldGet(this, _RenderContext_stackTrail, "f"), token, fn, this.logger);
155
155
  }
156
156
  getFile(filePath) {
157
- const normalisedPath = (0, mod_js_1.normalize)(filePath);
157
+ const normalisedPath = (0, normalize_js_1.normalize)(filePath);
158
158
  const currentFile = this.files.get(normalisedPath);
159
159
  (0, tiny_invariant_1.default)(currentFile, `File not found during render phase: ${normalisedPath}`);
160
160
  return currentFile;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ModelDriver = void 0;
4
- const mod_js_1 = require("../../deps/jsr.io/@std/path/1.1.2/mod.js");
4
+ const normalize_js_1 = require("../../deps/jsr.io/@std/path/1.1.2/normalize.js");
5
5
  const Definition_js_1 = require("../Definition.js");
6
6
  const GeneratorKeys_js_1 = require("../../types/GeneratorKeys.js");
7
7
  class ModelDriver {
@@ -72,7 +72,7 @@ class ModelDriver {
72
72
  // return undefined as GeneratedDefinition<V, T>
73
73
  // }
74
74
  const definition = this.getDefinition({ identifier, exportPath });
75
- if (destinationPath && (0, mod_js_1.normalize)(exportPath) !== (0, mod_js_1.normalize)(destinationPath)) {
75
+ if (destinationPath && (0, normalize_js_1.normalize)(exportPath) !== (0, normalize_js_1.normalize)(destinationPath)) {
76
76
  this.context.register({
77
77
  imports: { [exportPath]: [identifier.name] },
78
78
  destinationPath
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.OperationDriver = void 0;
4
- const mod_js_1 = require("../../deps/jsr.io/@std/path/1.1.2/mod.js");
4
+ const normalize_js_1 = require("../../deps/jsr.io/@std/path/1.1.2/normalize.js");
5
5
  const Definition_js_1 = require("../Definition.js");
6
6
  const GeneratorKeys_js_1 = require("../../types/GeneratorKeys.js");
7
7
  class OperationDriver {
@@ -66,7 +66,7 @@ class OperationDriver {
66
66
  // return undefined as GeneratedDefinition<V, T>
67
67
  // }
68
68
  const definition = this.getDefinition({ identifier, exportPath });
69
- if (destinationPath && (0, mod_js_1.normalize)(exportPath) !== (0, mod_js_1.normalize)(destinationPath)) {
69
+ if (destinationPath && (0, normalize_js_1.normalize)(exportPath) !== (0, normalize_js_1.normalize)(destinationPath)) {
70
70
  this.context.register({
71
71
  imports: { [exportPath]: [identifier.name] },
72
72
  destinationPath
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.isImported = void 0;
4
- const mod_js_1 = require("../deps/jsr.io/@std/path/1.1.2/mod.js");
4
+ const normalize_js_1 = require("../deps/jsr.io/@std/path/1.1.2/normalize.js");
5
5
  const isImported = (pathOne, pathTwo) => {
6
- return (0, mod_js_1.normalize)(pathOne) !== (0, mod_js_1.normalize)(pathTwo);
6
+ return (0, normalize_js_1.normalize)(pathOne) !== (0, normalize_js_1.normalize)(pathTwo);
7
7
  };
8
8
  exports.isImported = isImported;
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.toResolvedArtifactPath = void 0;
4
4
  require("../_dnt.polyfills.js");
5
- const mod_js_1 = require("../deps/jsr.io/@std/path/1.1.2/mod.js");
5
+ const join_js_1 = require("../deps/jsr.io/@std/path/1.1.2/join.js");
6
6
  const toResolvedArtifactPath = ({ basePath, destinationPath }) => {
7
- return (0, mod_js_1.join)(basePath ?? './', destinationPath.replace(/^@\//, ''));
7
+ return (0, join_js_1.join)(basePath ?? './', destinationPath.replace(/^@\//, ''));
8
8
  };
9
9
  exports.toResolvedArtifactPath = toResolvedArtifactPath;
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.toV3Document = exports.stringToSchema = void 0;
7
- const mod_js_1 = require("../deps/jsr.io/@std/yaml/1.0.9/mod.js");
7
+ const parse_js_1 = require("../deps/jsr.io/@std/yaml/1.0.9/parse.js");
8
8
  const openapi_down_convert_1 = require("@apiture/openapi-down-convert");
9
9
  const ts_pattern_1 = require("ts-pattern");
10
10
  const swagger2openapi_1 = __importDefault(require("swagger2openapi"));
@@ -13,7 +13,7 @@ const stringToSchema = (schema) => {
13
13
  return JSON.parse(schema);
14
14
  }
15
15
  else {
16
- return (0, mod_js_1.parse)(schema);
16
+ return (0, parse_js_1.parse)(schema);
17
17
  }
18
18
  };
19
19
  exports.stringToSchema = stringToSchema;
@@ -1,4 +0,0 @@
1
- export declare function stripSuffix(name: string, suffix: string): string;
2
- export declare function lastPathSegment(path: string, isSep: (char: number) => boolean, start?: number): string;
3
- export declare function assertArgs(path: string, suffix: string): string | undefined;
4
- //# 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/_common/basename.ts"],"names":[],"mappings":"AAKA,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAchE;AAED,wBAAgB,eAAe,CAC7B,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,EAChC,KAAK,SAAI,GACR,MAAM,CAiBR;AAED,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,sBAQtD"}
@@ -1,40 +0,0 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
2
- // This module is browser compatible.
3
- import { assertPath } from "./assert_path.js";
4
- export function stripSuffix(name, suffix) {
5
- if (suffix.length >= name.length) {
6
- return name;
7
- }
8
- const lenDiff = name.length - suffix.length;
9
- for (let i = suffix.length - 1; i >= 0; --i) {
10
- if (name.charCodeAt(lenDiff + i) !== suffix.charCodeAt(i)) {
11
- return name;
12
- }
13
- }
14
- return name.slice(0, -suffix.length);
15
- }
16
- export function lastPathSegment(path, isSep, start = 0) {
17
- let matchedNonSeparator = false;
18
- let end = path.length;
19
- for (let i = path.length - 1; i >= start; --i) {
20
- if (isSep(path.charCodeAt(i))) {
21
- if (matchedNonSeparator) {
22
- start = i + 1;
23
- break;
24
- }
25
- }
26
- else if (!matchedNonSeparator) {
27
- matchedNonSeparator = true;
28
- end = i + 1;
29
- }
30
- }
31
- return path.slice(start, end);
32
- }
33
- export function assertArgs(path, suffix) {
34
- assertPath(path);
35
- if (path.length === 0)
36
- return path;
37
- if (typeof suffix !== "string") {
38
- throw new TypeError(`Suffix must be a string, received "${JSON.stringify(suffix)}"`);
39
- }
40
- }
@@ -1,2 +0,0 @@
1
- export declare function common(paths: string[], sep: string): string;
2
- //# sourceMappingURL=common.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.1.2/_common/common.ts"],"names":[],"mappings":"AAGA,wBAAgB,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAsB3D"}
@@ -1,23 +0,0 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
2
- // This module is browser compatible.
3
- export function common(paths, sep) {
4
- const [first = "", ...remaining] = paths;
5
- const parts = first.split(sep);
6
- let endOfPrefix = parts.length;
7
- let append = "";
8
- for (const path of remaining) {
9
- const compare = path.split(sep);
10
- if (compare.length <= endOfPrefix) {
11
- endOfPrefix = compare.length;
12
- append = "";
13
- }
14
- for (let i = 0; i < endOfPrefix; i++) {
15
- if (compare[i] !== parts[i]) {
16
- endOfPrefix = i;
17
- append = i === 0 ? "" : sep;
18
- break;
19
- }
20
- }
21
- }
22
- return parts.slice(0, endOfPrefix).join(sep) + append;
23
- }
@@ -1,2 +0,0 @@
1
- export declare function assertArg(path: string): "." | undefined;
2
- //# 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/_common/dirname.ts"],"names":[],"mappings":"AAKA,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,mBAGrC"}
@@ -1,8 +0,0 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
2
- // This module is browser compatible.
3
- import { assertPath } from "./assert_path.js";
4
- export function assertArg(path) {
5
- assertPath(path);
6
- if (path.length === 0)
7
- return ".";
8
- }
@@ -1,4 +0,0 @@
1
- import type { ParsedPath } from "../types.js";
2
- export declare function _format(sep: string, pathObject: Partial<ParsedPath>): string;
3
- export declare function assertArg(pathObject: Partial<ParsedPath>): void;
4
- //# sourceMappingURL=format.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.1.2/_common/format.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,wBAAgB,OAAO,CACrB,GAAG,EAAE,MAAM,EACX,UAAU,EAAE,OAAO,CAAC,UAAU,CAAC,GAC9B,MAAM,CAQR;AAED,wBAAgB,SAAS,CAAC,UAAU,EAAE,OAAO,CAAC,UAAU,CAAC,QAMxD"}
@@ -1,19 +0,0 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
2
- // This module is browser compatible.
3
- export function _format(sep, pathObject) {
4
- const dir = pathObject.dir || pathObject.root;
5
- const base = pathObject.base ||
6
- (pathObject.name ?? "") + (pathObject.ext ?? "");
7
- if (!dir)
8
- return base;
9
- if (base === sep)
10
- return dir;
11
- if (dir === pathObject.root)
12
- return dir + base;
13
- return dir + sep + base;
14
- }
15
- export function assertArg(pathObject) {
16
- if (pathObject === null || typeof pathObject !== "object") {
17
- throw new TypeError(`The "pathObject" argument must be of type Object, received type "${typeof pathObject}"`);
18
- }
19
- }
@@ -1,35 +0,0 @@
1
- /**
2
- * Options for {@linkcode globToRegExp}, {@linkcode joinGlobs},
3
- * {@linkcode normalizeGlob} and {@linkcode expandGlob}.
4
- */
5
- export interface GlobOptions {
6
- /** Extended glob syntax.
7
- * See https://www.linuxjournal.com/content/bash-extended-globbing.
8
- *
9
- * @default {true}
10
- */
11
- extended?: boolean;
12
- /** Globstar syntax.
13
- * See https://www.linuxjournal.com/content/globstar-new-bash-globbing-option.
14
- * If false, `**` is treated like `*`.
15
- *
16
- * @default {true}
17
- */
18
- globstar?: boolean;
19
- /**
20
- * Whether globstar should be case-insensitive.
21
- *
22
- * @default {false}
23
- */
24
- caseInsensitive?: boolean;
25
- }
26
- export interface GlobConstants {
27
- sep: string;
28
- sepMaybe: string;
29
- seps: string[];
30
- globstar: string;
31
- wildcard: string;
32
- escapePrefix: string;
33
- }
34
- export declare function _globToRegExp(c: GlobConstants, glob: string, { extended, globstar: globstarOption, caseInsensitive, }?: GlobOptions): RegExp;
35
- //# sourceMappingURL=glob_to_reg_exp.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"glob_to_reg_exp.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.1.2/_common/glob_to_reg_exp.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,MAAM,WAAW,WAAW;IAC1B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAwBD,MAAM,WAAW,aAAa;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,aAAa,CAC3B,CAAC,EAAE,aAAa,EAChB,IAAI,EAAE,MAAM,EACZ,EACE,QAAe,EACf,QAAQ,EAAE,cAAqB,EAE/B,eAAuB,GACxB,GAAE,WAAgB,GAClB,MAAM,CA4NR"}