@skmtc/core 0.0.484 → 0.0.485

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 (808) hide show
  1. package/esm/dsl/operation/OperationInsertable.d.ts +1 -1
  2. package/esm/dsl/operation/OperationInsertable.d.ts.map +1 -1
  3. package/esm/mod.d.ts +1 -1
  4. package/esm/mod.d.ts.map +1 -1
  5. package/esm/mod.js +1 -1
  6. package/esm/run/enrichSettings.d.ts +1 -1
  7. package/esm/run/enrichSettings.d.ts.map +1 -1
  8. package/esm/run/enrichSettings.js +1 -0
  9. package/package.json +14 -28
  10. package/script/_dnt.polyfills.d.ts +0 -12
  11. package/script/_dnt.polyfills.d.ts.map +0 -1
  12. package/script/_dnt.polyfills.js +0 -16
  13. package/script/_dnt.shims.d.ts +0 -6
  14. package/script/_dnt.shims.d.ts.map +0 -1
  15. package/script/_dnt.shims.js +0 -65
  16. package/script/context/CoreContext.d.ts +0 -60
  17. package/script/context/CoreContext.d.ts.map +0 -1
  18. package/script/context/CoreContext.js +0 -227
  19. package/script/context/GenerateContext.d.ts +0 -231
  20. package/script/context/GenerateContext.d.ts.map +0 -1
  21. package/script/context/GenerateContext.js +0 -510
  22. package/script/context/ParseContext.d.ts +0 -34
  23. package/script/context/ParseContext.d.ts.map +0 -1
  24. package/script/context/ParseContext.js +0 -131
  25. package/script/context/RenderContext.d.ts +0 -38
  26. package/script/context/RenderContext.d.ts.map +0 -1
  27. package/script/context/RenderContext.js +0 -227
  28. package/script/context/ResultsHandler.d.ts +0 -19
  29. package/script/context/ResultsHandler.d.ts.map +0 -1
  30. package/script/context/ResultsHandler.js +0 -56
  31. package/script/context/StackTrail.d.ts +0 -14
  32. package/script/context/StackTrail.d.ts.map +0 -1
  33. package/script/context/StackTrail.js +0 -85
  34. package/script/context/types.d.ts +0 -23
  35. package/script/context/types.d.ts.map +0 -1
  36. package/script/context/types.js +0 -2
  37. package/script/deps/jsr.io/@std/fmt/1.0.2/colors.d.ts +0 -700
  38. package/script/deps/jsr.io/@std/fmt/1.0.2/colors.d.ts.map +0 -1
  39. package/script/deps/jsr.io/@std/fmt/1.0.2/colors.js +0 -976
  40. package/script/deps/jsr.io/@std/fs/1.0.4/exists.d.ts +0 -218
  41. package/script/deps/jsr.io/@std/fs/1.0.4/exists.d.ts.map +0 -1
  42. package/script/deps/jsr.io/@std/fs/1.0.4/exists.js +0 -298
  43. package/script/deps/jsr.io/@std/io/0.224.9/types.d.ts +0 -146
  44. package/script/deps/jsr.io/@std/io/0.224.9/types.d.ts.map +0 -1
  45. package/script/deps/jsr.io/@std/io/0.224.9/types.js +0 -18
  46. package/script/deps/jsr.io/@std/io/0.224.9/write_all.d.ts +0 -51
  47. package/script/deps/jsr.io/@std/io/0.224.9/write_all.d.ts.map +0 -1
  48. package/script/deps/jsr.io/@std/io/0.224.9/write_all.js +0 -65
  49. package/script/deps/jsr.io/@std/log/0.224.8/_config.d.ts +0 -4
  50. package/script/deps/jsr.io/@std/log/0.224.8/_config.d.ts.map +0 -1
  51. package/script/deps/jsr.io/@std/log/0.224.8/_config.js +0 -17
  52. package/script/deps/jsr.io/@std/log/0.224.8/_file_handler_symbols.d.ts +0 -8
  53. package/script/deps/jsr.io/@std/log/0.224.8/_file_handler_symbols.d.ts.map +0 -1
  54. package/script/deps/jsr.io/@std/log/0.224.8/_file_handler_symbols.js +0 -11
  55. package/script/deps/jsr.io/@std/log/0.224.8/_state.d.ts +0 -8
  56. package/script/deps/jsr.io/@std/log/0.224.8/_state.d.ts.map +0 -1
  57. package/script/deps/jsr.io/@std/log/0.224.8/_state.js +0 -10
  58. package/script/deps/jsr.io/@std/log/0.224.8/base_handler.d.ts +0 -22
  59. package/script/deps/jsr.io/@std/log/0.224.8/base_handler.d.ts.map +0 -1
  60. package/script/deps/jsr.io/@std/log/0.224.8/base_handler.js +0 -64
  61. package/script/deps/jsr.io/@std/log/0.224.8/console_handler.d.ts +0 -18
  62. package/script/deps/jsr.io/@std/log/0.224.8/console_handler.d.ts.map +0 -1
  63. package/script/deps/jsr.io/@std/log/0.224.8/console_handler.js +0 -63
  64. package/script/deps/jsr.io/@std/log/0.224.8/critical.d.ts +0 -5
  65. package/script/deps/jsr.io/@std/log/0.224.8/critical.d.ts.map +0 -1
  66. package/script/deps/jsr.io/@std/log/0.224.8/critical.js +0 -13
  67. package/script/deps/jsr.io/@std/log/0.224.8/debug.d.ts +0 -5
  68. package/script/deps/jsr.io/@std/log/0.224.8/debug.d.ts.map +0 -1
  69. package/script/deps/jsr.io/@std/log/0.224.8/debug.js +0 -13
  70. package/script/deps/jsr.io/@std/log/0.224.8/error.d.ts +0 -5
  71. package/script/deps/jsr.io/@std/log/0.224.8/error.d.ts.map +0 -1
  72. package/script/deps/jsr.io/@std/log/0.224.8/error.js +0 -13
  73. package/script/deps/jsr.io/@std/log/0.224.8/file_handler.d.ts +0 -54
  74. package/script/deps/jsr.io/@std/log/0.224.8/file_handler.d.ts.map +0 -1
  75. package/script/deps/jsr.io/@std/log/0.224.8/file_handler.js +0 -162
  76. package/script/deps/jsr.io/@std/log/0.224.8/formatters.d.ts +0 -6
  77. package/script/deps/jsr.io/@std/log/0.224.8/formatters.d.ts.map +0 -1
  78. package/script/deps/jsr.io/@std/log/0.224.8/formatters.js +0 -23
  79. package/script/deps/jsr.io/@std/log/0.224.8/get_logger.d.ts +0 -4
  80. package/script/deps/jsr.io/@std/log/0.224.8/get_logger.d.ts.map +0 -1
  81. package/script/deps/jsr.io/@std/log/0.224.8/get_logger.js +0 -24
  82. package/script/deps/jsr.io/@std/log/0.224.8/info.d.ts +0 -5
  83. package/script/deps/jsr.io/@std/log/0.224.8/info.d.ts.map +0 -1
  84. package/script/deps/jsr.io/@std/log/0.224.8/info.js +0 -13
  85. package/script/deps/jsr.io/@std/log/0.224.8/levels.d.ts +0 -26
  86. package/script/deps/jsr.io/@std/log/0.224.8/levels.d.ts.map +0 -1
  87. package/script/deps/jsr.io/@std/log/0.224.8/levels.js +0 -48
  88. package/script/deps/jsr.io/@std/log/0.224.8/logger.d.ts +0 -63
  89. package/script/deps/jsr.io/@std/log/0.224.8/logger.d.ts.map +0 -1
  90. package/script/deps/jsr.io/@std/log/0.224.8/logger.js +0 -185
  91. package/script/deps/jsr.io/@std/log/0.224.8/mod.d.ts +0 -390
  92. package/script/deps/jsr.io/@std/log/0.224.8/mod.d.ts.map +0 -1
  93. package/script/deps/jsr.io/@std/log/0.224.8/mod.js +0 -406
  94. package/script/deps/jsr.io/@std/log/0.224.8/rotating_file_handler.d.ts +0 -53
  95. package/script/deps/jsr.io/@std/log/0.224.8/rotating_file_handler.d.ts.map +0 -1
  96. package/script/deps/jsr.io/@std/log/0.224.8/rotating_file_handler.js +0 -152
  97. package/script/deps/jsr.io/@std/log/0.224.8/setup.d.ts +0 -4
  98. package/script/deps/jsr.io/@std/log/0.224.8/setup.d.ts.map +0 -1
  99. package/script/deps/jsr.io/@std/log/0.224.8/setup.js +0 -44
  100. package/script/deps/jsr.io/@std/log/0.224.8/warn.d.ts +0 -51
  101. package/script/deps/jsr.io/@std/log/0.224.8/warn.d.ts.map +0 -1
  102. package/script/deps/jsr.io/@std/log/0.224.8/warn.js +0 -13
  103. package/script/deps/jsr.io/@std/path/1.0.6/_common/assert_path.d.ts +0 -2
  104. package/script/deps/jsr.io/@std/path/1.0.6/_common/assert_path.d.ts.map +0 -1
  105. package/script/deps/jsr.io/@std/path/1.0.6/_common/assert_path.js +0 -10
  106. package/script/deps/jsr.io/@std/path/1.0.6/_common/basename.d.ts +0 -4
  107. package/script/deps/jsr.io/@std/path/1.0.6/_common/basename.d.ts.map +0 -1
  108. package/script/deps/jsr.io/@std/path/1.0.6/_common/basename.js +0 -45
  109. package/script/deps/jsr.io/@std/path/1.0.6/_common/common.d.ts +0 -2
  110. package/script/deps/jsr.io/@std/path/1.0.6/_common/common.d.ts.map +0 -1
  111. package/script/deps/jsr.io/@std/path/1.0.6/_common/common.js +0 -26
  112. package/script/deps/jsr.io/@std/path/1.0.6/_common/constants.d.ts +0 -40
  113. package/script/deps/jsr.io/@std/path/1.0.6/_common/constants.d.ts.map +0 -1
  114. package/script/deps/jsr.io/@std/path/1.0.6/_common/constants.js +0 -49
  115. package/script/deps/jsr.io/@std/path/1.0.6/_common/dirname.d.ts +0 -2
  116. package/script/deps/jsr.io/@std/path/1.0.6/_common/dirname.d.ts.map +0 -1
  117. package/script/deps/jsr.io/@std/path/1.0.6/_common/dirname.js +0 -11
  118. package/script/deps/jsr.io/@std/path/1.0.6/_common/format.d.ts +0 -4
  119. package/script/deps/jsr.io/@std/path/1.0.6/_common/format.d.ts.map +0 -1
  120. package/script/deps/jsr.io/@std/path/1.0.6/_common/format.js +0 -23
  121. package/script/deps/jsr.io/@std/path/1.0.6/_common/from_file_url.d.ts +0 -2
  122. package/script/deps/jsr.io/@std/path/1.0.6/_common/from_file_url.d.ts.map +0 -1
  123. package/script/deps/jsr.io/@std/path/1.0.6/_common/from_file_url.js +0 -12
  124. package/script/deps/jsr.io/@std/path/1.0.6/_common/glob_to_reg_exp.d.ts +0 -35
  125. package/script/deps/jsr.io/@std/path/1.0.6/_common/glob_to_reg_exp.d.ts.map +0 -1
  126. package/script/deps/jsr.io/@std/path/1.0.6/_common/glob_to_reg_exp.js +0 -237
  127. package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize.d.ts +0 -2
  128. package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize.d.ts.map +0 -1
  129. package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize.js +0 -11
  130. package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize_string.d.ts +0 -2
  131. package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize_string.d.ts.map +0 -1
  132. package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize_string.js +0 -80
  133. package/script/deps/jsr.io/@std/path/1.0.6/_common/relative.d.ts +0 -2
  134. package/script/deps/jsr.io/@std/path/1.0.6/_common/relative.d.ts.map +0 -1
  135. package/script/deps/jsr.io/@std/path/1.0.6/_common/relative.js +0 -12
  136. package/script/deps/jsr.io/@std/path/1.0.6/_common/strip_trailing_separators.d.ts +0 -2
  137. package/script/deps/jsr.io/@std/path/1.0.6/_common/strip_trailing_separators.d.ts.map +0 -1
  138. package/script/deps/jsr.io/@std/path/1.0.6/_common/strip_trailing_separators.js +0 -22
  139. package/script/deps/jsr.io/@std/path/1.0.6/_common/to_file_url.d.ts +0 -2
  140. package/script/deps/jsr.io/@std/path/1.0.6/_common/to_file_url.d.ts.map +0 -1
  141. package/script/deps/jsr.io/@std/path/1.0.6/_common/to_file_url.js +0 -18
  142. package/script/deps/jsr.io/@std/path/1.0.6/_os.d.ts +0 -2
  143. package/script/deps/jsr.io/@std/path/1.0.6/_os.d.ts.map +0 -1
  144. package/script/deps/jsr.io/@std/path/1.0.6/_os.js +0 -35
  145. package/script/deps/jsr.io/@std/path/1.0.6/basename.d.ts +0 -28
  146. package/script/deps/jsr.io/@std/path/1.0.6/basename.d.ts.map +0 -1
  147. package/script/deps/jsr.io/@std/path/1.0.6/basename.js +0 -39
  148. package/script/deps/jsr.io/@std/path/1.0.6/common.d.ts +0 -28
  149. package/script/deps/jsr.io/@std/path/1.0.6/common.d.ts.map +0 -1
  150. package/script/deps/jsr.io/@std/path/1.0.6/common.js +0 -36
  151. package/script/deps/jsr.io/@std/path/1.0.6/constants.d.ts +0 -15
  152. package/script/deps/jsr.io/@std/path/1.0.6/constants.d.ts.map +0 -1
  153. package/script/deps/jsr.io/@std/path/1.0.6/constants.js +0 -20
  154. package/script/deps/jsr.io/@std/path/1.0.6/dirname.d.ts +0 -23
  155. package/script/deps/jsr.io/@std/path/1.0.6/dirname.d.ts.map +0 -1
  156. package/script/deps/jsr.io/@std/path/1.0.6/dirname.js +0 -32
  157. package/script/deps/jsr.io/@std/path/1.0.6/extname.d.ts +0 -23
  158. package/script/deps/jsr.io/@std/path/1.0.6/extname.d.ts.map +0 -1
  159. package/script/deps/jsr.io/@std/path/1.0.6/extname.js +0 -32
  160. package/script/deps/jsr.io/@std/path/1.0.6/format.d.ts +0 -22
  161. package/script/deps/jsr.io/@std/path/1.0.6/format.d.ts.map +0 -1
  162. package/script/deps/jsr.io/@std/path/1.0.6/format.js +0 -30
  163. package/script/deps/jsr.io/@std/path/1.0.6/from_file_url.d.ts +0 -22
  164. package/script/deps/jsr.io/@std/path/1.0.6/from_file_url.d.ts.map +0 -1
  165. package/script/deps/jsr.io/@std/path/1.0.6/from_file_url.js +0 -31
  166. package/script/deps/jsr.io/@std/path/1.0.6/glob_to_regexp.d.ts +0 -77
  167. package/script/deps/jsr.io/@std/path/1.0.6/glob_to_regexp.d.ts.map +0 -1
  168. package/script/deps/jsr.io/@std/path/1.0.6/glob_to_regexp.js +0 -86
  169. package/script/deps/jsr.io/@std/path/1.0.6/is_absolute.d.ts +0 -22
  170. package/script/deps/jsr.io/@std/path/1.0.6/is_absolute.d.ts.map +0 -1
  171. package/script/deps/jsr.io/@std/path/1.0.6/is_absolute.js +0 -31
  172. package/script/deps/jsr.io/@std/path/1.0.6/is_glob.d.ts +0 -17
  173. package/script/deps/jsr.io/@std/path/1.0.6/is_glob.d.ts.map +0 -1
  174. package/script/deps/jsr.io/@std/path/1.0.6/is_glob.js +0 -45
  175. package/script/deps/jsr.io/@std/path/1.0.6/join.d.ts +0 -23
  176. package/script/deps/jsr.io/@std/path/1.0.6/join.d.ts.map +0 -1
  177. package/script/deps/jsr.io/@std/path/1.0.6/join.js +0 -32
  178. package/script/deps/jsr.io/@std/path/1.0.6/join_globs.d.ts +0 -28
  179. package/script/deps/jsr.io/@std/path/1.0.6/join_globs.d.ts.map +0 -1
  180. package/script/deps/jsr.io/@std/path/1.0.6/join_globs.js +0 -37
  181. package/script/deps/jsr.io/@std/path/1.0.6/mod.d.ts +0 -54
  182. package/script/deps/jsr.io/@std/path/1.0.6/mod.d.ts.map +0 -1
  183. package/script/deps/jsr.io/@std/path/1.0.6/mod.js +0 -73
  184. package/script/deps/jsr.io/@std/path/1.0.6/normalize.d.ts +0 -27
  185. package/script/deps/jsr.io/@std/path/1.0.6/normalize.d.ts.map +0 -1
  186. package/script/deps/jsr.io/@std/path/1.0.6/normalize.js +0 -36
  187. package/script/deps/jsr.io/@std/path/1.0.6/normalize_glob.d.ts +0 -29
  188. package/script/deps/jsr.io/@std/path/1.0.6/normalize_glob.d.ts.map +0 -1
  189. package/script/deps/jsr.io/@std/path/1.0.6/normalize_glob.js +0 -38
  190. package/script/deps/jsr.io/@std/path/1.0.6/parse.d.ts +0 -35
  191. package/script/deps/jsr.io/@std/path/1.0.6/parse.d.ts.map +0 -1
  192. package/script/deps/jsr.io/@std/path/1.0.6/parse.js +0 -42
  193. package/script/deps/jsr.io/@std/path/1.0.6/posix/_util.d.ts +0 -2
  194. package/script/deps/jsr.io/@std/path/1.0.6/posix/_util.d.ts.map +0 -1
  195. package/script/deps/jsr.io/@std/path/1.0.6/posix/_util.js +0 -11
  196. package/script/deps/jsr.io/@std/path/1.0.6/posix/basename.d.ts +0 -23
  197. package/script/deps/jsr.io/@std/path/1.0.6/posix/basename.d.ts.map +0 -1
  198. package/script/deps/jsr.io/@std/path/1.0.6/posix/basename.js +0 -35
  199. package/script/deps/jsr.io/@std/path/1.0.6/posix/constants.d.ts +0 -13
  200. package/script/deps/jsr.io/@std/path/1.0.6/posix/constants.d.ts.map +0 -1
  201. package/script/deps/jsr.io/@std/path/1.0.6/posix/constants.js +0 -17
  202. package/script/deps/jsr.io/@std/path/1.0.6/posix/dirname.d.ts +0 -20
  203. package/script/deps/jsr.io/@std/path/1.0.6/posix/dirname.d.ts.map +0 -1
  204. package/script/deps/jsr.io/@std/path/1.0.6/posix/dirname.js +0 -53
  205. package/script/deps/jsr.io/@std/path/1.0.6/posix/extname.d.ts +0 -21
  206. package/script/deps/jsr.io/@std/path/1.0.6/posix/extname.d.ts.map +0 -1
  207. package/script/deps/jsr.io/@std/path/1.0.6/posix/extname.js +0 -76
  208. package/script/deps/jsr.io/@std/path/1.0.6/posix/format.d.ts +0 -24
  209. package/script/deps/jsr.io/@std/path/1.0.6/posix/format.d.ts.map +0 -1
  210. package/script/deps/jsr.io/@std/path/1.0.6/posix/format.js +0 -31
  211. package/script/deps/jsr.io/@std/path/1.0.6/posix/from_file_url.d.ts +0 -16
  212. package/script/deps/jsr.io/@std/path/1.0.6/posix/from_file_url.d.ts.map +0 -1
  213. package/script/deps/jsr.io/@std/path/1.0.6/posix/from_file_url.js +0 -24
  214. package/script/deps/jsr.io/@std/path/1.0.6/posix/glob_to_regexp.d.ts +0 -72
  215. package/script/deps/jsr.io/@std/path/1.0.6/posix/glob_to_regexp.d.ts.map +0 -1
  216. package/script/deps/jsr.io/@std/path/1.0.6/posix/glob_to_regexp.js +0 -85
  217. package/script/deps/jsr.io/@std/path/1.0.6/posix/is_absolute.d.ts +0 -17
  218. package/script/deps/jsr.io/@std/path/1.0.6/posix/is_absolute.d.ts.map +0 -1
  219. package/script/deps/jsr.io/@std/path/1.0.6/posix/is_absolute.js +0 -26
  220. package/script/deps/jsr.io/@std/path/1.0.6/posix/join.d.ts +0 -20
  221. package/script/deps/jsr.io/@std/path/1.0.6/posix/join.d.ts.map +0 -1
  222. package/script/deps/jsr.io/@std/path/1.0.6/posix/join.js +0 -32
  223. package/script/deps/jsr.io/@std/path/1.0.6/posix/join_globs.d.ts +0 -20
  224. package/script/deps/jsr.io/@std/path/1.0.6/posix/join_globs.d.ts.map +0 -1
  225. package/script/deps/jsr.io/@std/path/1.0.6/posix/join_globs.js +0 -42
  226. package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize.d.ts +0 -22
  227. package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize.d.ts.map +0 -1
  228. package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize.js +0 -42
  229. package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize_glob.d.ts +0 -20
  230. package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize_glob.d.ts.map +0 -1
  231. package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize_glob.js +0 -34
  232. package/script/deps/jsr.io/@std/path/1.0.6/posix/parse.d.ts +0 -25
  233. package/script/deps/jsr.io/@std/path/1.0.6/posix/parse.d.ts.map +0 -1
  234. package/script/deps/jsr.io/@std/path/1.0.6/posix/parse.js +0 -118
  235. package/script/deps/jsr.io/@std/path/1.0.6/posix/relative.d.ts +0 -20
  236. package/script/deps/jsr.io/@std/path/1.0.6/posix/relative.d.ts.map +0 -1
  237. package/script/deps/jsr.io/@std/path/1.0.6/posix/relative.js +0 -109
  238. package/script/deps/jsr.io/@std/path/1.0.6/posix/resolve.d.ts +0 -17
  239. package/script/deps/jsr.io/@std/path/1.0.6/posix/resolve.d.ts.map +0 -1
  240. package/script/deps/jsr.io/@std/path/1.0.6/posix/resolve.js +0 -85
  241. package/script/deps/jsr.io/@std/path/1.0.6/posix/to_file_url.d.ts +0 -17
  242. package/script/deps/jsr.io/@std/path/1.0.6/posix/to_file_url.d.ts.map +0 -1
  243. package/script/deps/jsr.io/@std/path/1.0.6/posix/to_file_url.js +0 -30
  244. package/script/deps/jsr.io/@std/path/1.0.6/posix/to_namespaced_path.d.ts +0 -16
  245. package/script/deps/jsr.io/@std/path/1.0.6/posix/to_namespaced_path.d.ts.map +0 -1
  246. package/script/deps/jsr.io/@std/path/1.0.6/posix/to_namespaced_path.js +0 -23
  247. package/script/deps/jsr.io/@std/path/1.0.6/relative.d.ts +0 -24
  248. package/script/deps/jsr.io/@std/path/1.0.6/relative.d.ts.map +0 -1
  249. package/script/deps/jsr.io/@std/path/1.0.6/relative.js +0 -33
  250. package/script/deps/jsr.io/@std/path/1.0.6/resolve.d.ts +0 -22
  251. package/script/deps/jsr.io/@std/path/1.0.6/resolve.d.ts.map +0 -1
  252. package/script/deps/jsr.io/@std/path/1.0.6/resolve.js +0 -33
  253. package/script/deps/jsr.io/@std/path/1.0.6/to_file_url.d.ts +0 -22
  254. package/script/deps/jsr.io/@std/path/1.0.6/to_file_url.d.ts.map +0 -1
  255. package/script/deps/jsr.io/@std/path/1.0.6/to_file_url.js +0 -31
  256. package/script/deps/jsr.io/@std/path/1.0.6/to_namespaced_path.d.ts +0 -21
  257. package/script/deps/jsr.io/@std/path/1.0.6/to_namespaced_path.d.ts.map +0 -1
  258. package/script/deps/jsr.io/@std/path/1.0.6/to_namespaced_path.js +0 -32
  259. package/script/deps/jsr.io/@std/path/1.0.6/types.d.ts +0 -38
  260. package/script/deps/jsr.io/@std/path/1.0.6/types.d.ts.map +0 -1
  261. package/script/deps/jsr.io/@std/path/1.0.6/types.js +0 -4
  262. package/script/deps/jsr.io/@std/path/1.0.6/windows/_util.d.ts +0 -4
  263. package/script/deps/jsr.io/@std/path/1.0.6/windows/_util.d.ts.map +0 -1
  264. package/script/deps/jsr.io/@std/path/1.0.6/windows/_util.js +0 -20
  265. package/script/deps/jsr.io/@std/path/1.0.6/windows/basename.d.ts +0 -23
  266. package/script/deps/jsr.io/@std/path/1.0.6/windows/basename.d.ts.map +0 -1
  267. package/script/deps/jsr.io/@std/path/1.0.6/windows/basename.js +0 -47
  268. package/script/deps/jsr.io/@std/path/1.0.6/windows/constants.d.ts +0 -13
  269. package/script/deps/jsr.io/@std/path/1.0.6/windows/constants.d.ts.map +0 -1
  270. package/script/deps/jsr.io/@std/path/1.0.6/windows/constants.js +0 -17
  271. package/script/deps/jsr.io/@std/path/1.0.6/windows/dirname.d.ts +0 -20
  272. package/script/deps/jsr.io/@std/path/1.0.6/windows/dirname.d.ts.map +0 -1
  273. package/script/deps/jsr.io/@std/path/1.0.6/windows/dirname.js +0 -115
  274. package/script/deps/jsr.io/@std/path/1.0.6/windows/extname.d.ts +0 -20
  275. package/script/deps/jsr.io/@std/path/1.0.6/windows/extname.d.ts.map +0 -1
  276. package/script/deps/jsr.io/@std/path/1.0.6/windows/extname.js +0 -84
  277. package/script/deps/jsr.io/@std/path/1.0.6/windows/format.d.ts +0 -24
  278. package/script/deps/jsr.io/@std/path/1.0.6/windows/format.d.ts.map +0 -1
  279. package/script/deps/jsr.io/@std/path/1.0.6/windows/format.js +0 -31
  280. package/script/deps/jsr.io/@std/path/1.0.6/windows/from_file_url.d.ts +0 -18
  281. package/script/deps/jsr.io/@std/path/1.0.6/windows/from_file_url.d.ts.map +0 -1
  282. package/script/deps/jsr.io/@std/path/1.0.6/windows/from_file_url.js +0 -33
  283. package/script/deps/jsr.io/@std/path/1.0.6/windows/glob_to_regexp.d.ts +0 -71
  284. package/script/deps/jsr.io/@std/path/1.0.6/windows/glob_to_regexp.d.ts.map +0 -1
  285. package/script/deps/jsr.io/@std/path/1.0.6/windows/glob_to_regexp.js +0 -85
  286. package/script/deps/jsr.io/@std/path/1.0.6/windows/is_absolute.d.ts +0 -17
  287. package/script/deps/jsr.io/@std/path/1.0.6/windows/is_absolute.d.ts.map +0 -1
  288. package/script/deps/jsr.io/@std/path/1.0.6/windows/is_absolute.js +0 -41
  289. package/script/deps/jsr.io/@std/path/1.0.6/windows/join.d.ts +0 -20
  290. package/script/deps/jsr.io/@std/path/1.0.6/windows/join.d.ts.map +0 -1
  291. package/script/deps/jsr.io/@std/path/1.0.6/windows/join.js +0 -77
  292. package/script/deps/jsr.io/@std/path/1.0.6/windows/join_globs.d.ts +0 -21
  293. package/script/deps/jsr.io/@std/path/1.0.6/windows/join_globs.d.ts.map +0 -1
  294. package/script/deps/jsr.io/@std/path/1.0.6/windows/join_globs.js +0 -43
  295. package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize.d.ts +0 -22
  296. package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize.d.ts.map +0 -1
  297. package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize.js +0 -137
  298. package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize_glob.d.ts +0 -20
  299. package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize_glob.d.ts.map +0 -1
  300. package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize_glob.js +0 -34
  301. package/script/deps/jsr.io/@std/path/1.0.6/windows/parse.d.ts +0 -25
  302. package/script/deps/jsr.io/@std/path/1.0.6/windows/parse.d.ts.map +0 -1
  303. package/script/deps/jsr.io/@std/path/1.0.6/windows/parse.js +0 -179
  304. package/script/deps/jsr.io/@std/path/1.0.6/windows/relative.d.ts +0 -23
  305. package/script/deps/jsr.io/@std/path/1.0.6/windows/relative.d.ts.map +0 -1
  306. package/script/deps/jsr.io/@std/path/1.0.6/windows/relative.js +0 -134
  307. package/script/deps/jsr.io/@std/path/1.0.6/windows/resolve.d.ts +0 -17
  308. package/script/deps/jsr.io/@std/path/1.0.6/windows/resolve.d.ts.map +0 -1
  309. package/script/deps/jsr.io/@std/path/1.0.6/windows/resolve.js +0 -180
  310. package/script/deps/jsr.io/@std/path/1.0.6/windows/to_file_url.d.ts +0 -17
  311. package/script/deps/jsr.io/@std/path/1.0.6/windows/to_file_url.d.ts.map +0 -1
  312. package/script/deps/jsr.io/@std/path/1.0.6/windows/to_file_url.js +0 -37
  313. package/script/deps/jsr.io/@std/path/1.0.6/windows/to_namespaced_path.d.ts +0 -17
  314. package/script/deps/jsr.io/@std/path/1.0.6/windows/to_namespaced_path.d.ts.map +0 -1
  315. package/script/deps/jsr.io/@std/path/1.0.6/windows/to_namespaced_path.js +0 -52
  316. package/script/deps/jsr.io/@std/yaml/0.215.0/_dumper/dumper.d.ts +0 -6
  317. package/script/deps/jsr.io/@std/yaml/0.215.0/_dumper/dumper.d.ts.map +0 -1
  318. package/script/deps/jsr.io/@std/yaml/0.215.0/_dumper/dumper.js +0 -710
  319. package/script/deps/jsr.io/@std/yaml/0.215.0/_dumper/dumper_state.d.ts +0 -73
  320. package/script/deps/jsr.io/@std/yaml/0.215.0/_dumper/dumper_state.d.ts.map +0 -1
  321. package/script/deps/jsr.io/@std/yaml/0.215.0/_dumper/dumper_state.js +0 -152
  322. package/script/deps/jsr.io/@std/yaml/0.215.0/_error.d.ts +0 -7
  323. package/script/deps/jsr.io/@std/yaml/0.215.0/_error.d.ts.map +0 -1
  324. package/script/deps/jsr.io/@std/yaml/0.215.0/_error.js +0 -23
  325. package/script/deps/jsr.io/@std/yaml/0.215.0/_loader/loader.d.ts +0 -5
  326. package/script/deps/jsr.io/@std/yaml/0.215.0/_loader/loader.d.ts.map +0 -1
  327. package/script/deps/jsr.io/@std/yaml/0.215.0/_loader/loader.js +0 -1324
  328. package/script/deps/jsr.io/@std/yaml/0.215.0/_loader/loader_state.d.ts +0 -44
  329. package/script/deps/jsr.io/@std/yaml/0.215.0/_loader/loader_state.d.ts.map +0 -1
  330. package/script/deps/jsr.io/@std/yaml/0.215.0/_loader/loader_state.js +0 -154
  331. package/script/deps/jsr.io/@std/yaml/0.215.0/_mark.d.ts +0 -11
  332. package/script/deps/jsr.io/@std/yaml/0.215.0/_mark.d.ts.map +0 -1
  333. package/script/deps/jsr.io/@std/yaml/0.215.0/_mark.js +0 -85
  334. package/script/deps/jsr.io/@std/yaml/0.215.0/_state.d.ts +0 -6
  335. package/script/deps/jsr.io/@std/yaml/0.215.0/_state.d.ts.map +0 -1
  336. package/script/deps/jsr.io/@std/yaml/0.215.0/_state.js +0 -19
  337. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/binary.d.ts +0 -3
  338. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/binary.d.ts.map +0 -1
  339. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/binary.js +0 -110
  340. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/bool.d.ts +0 -3
  341. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/bool.d.ts.map +0 -1
  342. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/bool.js +0 -35
  343. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/float.d.ts +0 -3
  344. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/float.d.ts.map +0 -1
  345. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/float.js +0 -109
  346. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/function.d.ts +0 -3
  347. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/function.d.ts.map +0 -1
  348. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/function.js +0 -41
  349. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/int.d.ts +0 -3
  350. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/int.d.ts.map +0 -1
  351. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/int.js +0 -171
  352. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/map.d.ts +0 -3
  353. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/map.d.ts.map +0 -1
  354. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/map.js +0 -14
  355. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/merge.d.ts +0 -3
  356. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/merge.d.ts.map +0 -1
  357. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/merge.js +0 -15
  358. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/mod.d.ts +0 -17
  359. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/mod.d.ts.map +0 -1
  360. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/mod.js +0 -39
  361. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/nil.d.ts +0 -3
  362. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/nil.d.ts.map +0 -1
  363. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/nil.js +0 -40
  364. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/omap.d.ts +0 -3
  365. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/omap.d.ts.map +0 -1
  366. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/omap.js +0 -43
  367. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/pairs.d.ts +0 -3
  368. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/pairs.d.ts.map +0 -1
  369. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/pairs.js +0 -38
  370. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/regexp.d.ts +0 -3
  371. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/regexp.d.ts.map +0 -1
  372. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/regexp.js +0 -40
  373. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/seq.d.ts +0 -3
  374. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/seq.d.ts.map +0 -1
  375. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/seq.js +0 -14
  376. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/set.d.ts +0 -3
  377. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/set.d.ts.map +0 -1
  378. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/set.js +0 -28
  379. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/str.d.ts +0 -3
  380. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/str.d.ts.map +0 -1
  381. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/str.js +0 -13
  382. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/timestamp.d.ts +0 -3
  383. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/timestamp.d.ts.map +0 -1
  384. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/timestamp.js +0 -81
  385. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/undefined.d.ts +0 -3
  386. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/undefined.d.ts.map +0 -1
  387. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/undefined.js +0 -23
  388. package/script/deps/jsr.io/@std/yaml/0.215.0/_utils.d.ts +0 -20
  389. package/script/deps/jsr.io/@std/yaml/0.215.0/_utils.d.ts.map +0 -1
  390. package/script/deps/jsr.io/@std/yaml/0.215.0/_utils.js +0 -74
  391. package/script/deps/jsr.io/@std/yaml/0.215.0/mod.d.ts +0 -49
  392. package/script/deps/jsr.io/@std/yaml/0.215.0/mod.d.ts.map +0 -1
  393. package/script/deps/jsr.io/@std/yaml/0.215.0/mod.js +0 -67
  394. package/script/deps/jsr.io/@std/yaml/0.215.0/parse.d.ts +0 -36
  395. package/script/deps/jsr.io/@std/yaml/0.215.0/parse.d.ts.map +0 -1
  396. package/script/deps/jsr.io/@std/yaml/0.215.0/parse.js +0 -22
  397. package/script/deps/jsr.io/@std/yaml/0.215.0/schema/core.d.ts +0 -3
  398. package/script/deps/jsr.io/@std/yaml/0.215.0/schema/core.d.ts.map +0 -1
  399. package/script/deps/jsr.io/@std/yaml/0.215.0/schema/core.js +0 -15
  400. package/script/deps/jsr.io/@std/yaml/0.215.0/schema/default.d.ts +0 -3
  401. package/script/deps/jsr.io/@std/yaml/0.215.0/schema/default.d.ts.map +0 -1
  402. package/script/deps/jsr.io/@std/yaml/0.215.0/schema/default.js +0 -18
  403. package/script/deps/jsr.io/@std/yaml/0.215.0/schema/extended.d.ts +0 -31
  404. package/script/deps/jsr.io/@std/yaml/0.215.0/schema/extended.d.ts.map +0 -1
  405. package/script/deps/jsr.io/@std/yaml/0.215.0/schema/extended.js +0 -40
  406. package/script/deps/jsr.io/@std/yaml/0.215.0/schema/failsafe.d.ts +0 -3
  407. package/script/deps/jsr.io/@std/yaml/0.215.0/schema/failsafe.d.ts.map +0 -1
  408. package/script/deps/jsr.io/@std/yaml/0.215.0/schema/failsafe.js +0 -15
  409. package/script/deps/jsr.io/@std/yaml/0.215.0/schema/json.d.ts +0 -3
  410. package/script/deps/jsr.io/@std/yaml/0.215.0/schema/json.d.ts.map +0 -1
  411. package/script/deps/jsr.io/@std/yaml/0.215.0/schema/json.js +0 -17
  412. package/script/deps/jsr.io/@std/yaml/0.215.0/schema/mod.d.ts +0 -6
  413. package/script/deps/jsr.io/@std/yaml/0.215.0/schema/mod.d.ts.map +0 -1
  414. package/script/deps/jsr.io/@std/yaml/0.215.0/schema/mod.js +0 -18
  415. package/script/deps/jsr.io/@std/yaml/0.215.0/schema.d.ts +0 -23
  416. package/script/deps/jsr.io/@std/yaml/0.215.0/schema.d.ts.map +0 -1
  417. package/script/deps/jsr.io/@std/yaml/0.215.0/schema.js +0 -107
  418. package/script/deps/jsr.io/@std/yaml/0.215.0/stringify.d.ts +0 -9
  419. package/script/deps/jsr.io/@std/yaml/0.215.0/stringify.d.ts.map +0 -1
  420. package/script/deps/jsr.io/@std/yaml/0.215.0/stringify.js +0 -17
  421. package/script/deps/jsr.io/@std/yaml/0.215.0/type.d.ts +0 -29
  422. package/script/deps/jsr.io/@std/yaml/0.215.0/type.d.ts.map +0 -1
  423. package/script/deps/jsr.io/@std/yaml/0.215.0/type.js +0 -87
  424. package/script/dsl/ContentSettings.d.ts +0 -19
  425. package/script/dsl/ContentSettings.d.ts.map +0 -1
  426. package/script/dsl/ContentSettings.js +0 -36
  427. package/script/dsl/Definition.d.ts +0 -19
  428. package/script/dsl/Definition.d.ts.map +0 -1
  429. package/script/dsl/Definition.js +0 -41
  430. package/script/dsl/EntityType.d.ts +0 -6
  431. package/script/dsl/EntityType.d.ts.map +0 -1
  432. package/script/dsl/EntityType.js +0 -22
  433. package/script/dsl/File.d.ts +0 -26
  434. package/script/dsl/File.d.ts.map +0 -1
  435. package/script/dsl/File.js +0 -101
  436. package/script/dsl/GatewayBase.d.ts +0 -13
  437. package/script/dsl/GatewayBase.d.ts.map +0 -1
  438. package/script/dsl/GatewayBase.js +0 -23
  439. package/script/dsl/GeneratedValueList.d.ts +0 -9
  440. package/script/dsl/GeneratedValueList.d.ts.map +0 -1
  441. package/script/dsl/GeneratedValueList.js +0 -31
  442. package/script/dsl/Identifier.d.ts +0 -11
  443. package/script/dsl/Identifier.d.ts.map +0 -1
  444. package/script/dsl/Identifier.js +0 -52
  445. package/script/dsl/Import.d.ts +0 -22
  446. package/script/dsl/Import.d.ts.map +0 -1
  447. package/script/dsl/Import.js +0 -60
  448. package/script/dsl/Inserted.d.ts +0 -18
  449. package/script/dsl/Inserted.d.ts.map +0 -1
  450. package/script/dsl/Inserted.js +0 -34
  451. package/script/dsl/Stringable.d.ts +0 -4
  452. package/script/dsl/Stringable.d.ts.map +0 -1
  453. package/script/dsl/Stringable.js +0 -2
  454. package/script/dsl/ValueBase.d.ts +0 -16
  455. package/script/dsl/ValueBase.d.ts.map +0 -1
  456. package/script/dsl/ValueBase.js +0 -46
  457. package/script/dsl/constants.d.ts +0 -2
  458. package/script/dsl/constants.d.ts.map +0 -1
  459. package/script/dsl/constants.js +0 -4
  460. package/script/dsl/model/ModelBase.d.ts +0 -23
  461. package/script/dsl/model/ModelBase.d.ts.map +0 -1
  462. package/script/dsl/model/ModelBase.js +0 -45
  463. package/script/dsl/model/ModelDriver.d.ts +0 -27
  464. package/script/dsl/model/ModelDriver.d.ts.map +0 -1
  465. package/script/dsl/model/ModelDriver.js +0 -105
  466. package/script/dsl/model/ModelInsertable.d.ts +0 -29
  467. package/script/dsl/model/ModelInsertable.d.ts.map +0 -1
  468. package/script/dsl/model/ModelInsertable.js +0 -2
  469. package/script/dsl/model/toModelInsertable.d.ts +0 -36
  470. package/script/dsl/model/toModelInsertable.d.ts.map +0 -1
  471. package/script/dsl/model/toModelInsertable.js +0 -75
  472. package/script/dsl/operation/OperationBase.d.ts +0 -36
  473. package/script/dsl/operation/OperationBase.d.ts.map +0 -1
  474. package/script/dsl/operation/OperationBase.js +0 -61
  475. package/script/dsl/operation/OperationDriver.d.ts +0 -27
  476. package/script/dsl/operation/OperationDriver.d.ts.map +0 -1
  477. package/script/dsl/operation/OperationDriver.js +0 -107
  478. package/script/dsl/operation/OperationInsertable.d.ts +0 -43
  479. package/script/dsl/operation/OperationInsertable.d.ts.map +0 -1
  480. package/script/dsl/operation/OperationInsertable.js +0 -2
  481. package/script/dsl/operation/toOperationGateway.d.ts +0 -29
  482. package/script/dsl/operation/toOperationGateway.d.ts.map +0 -1
  483. package/script/dsl/operation/toOperationGateway.js +0 -68
  484. package/script/dsl/operation/toOperationInsertable.d.ts +0 -44
  485. package/script/dsl/operation/toOperationInsertable.d.ts.map +0 -1
  486. package/script/dsl/operation/toOperationInsertable.js +0 -75
  487. package/script/helpers/ResultsLog.d.ts +0 -8
  488. package/script/helpers/ResultsLog.d.ts.map +0 -1
  489. package/script/helpers/ResultsLog.js +0 -50
  490. package/script/helpers/isImported.d.ts +0 -2
  491. package/script/helpers/isImported.d.ts.map +0 -1
  492. package/script/helpers/isImported.js +0 -8
  493. package/script/helpers/naming.d.ts +0 -9
  494. package/script/helpers/naming.d.ts.map +0 -1
  495. package/script/helpers/naming.js +0 -33
  496. package/script/helpers/refFns.d.ts +0 -8
  497. package/script/helpers/refFns.d.ts.map +0 -1
  498. package/script/helpers/refFns.js +0 -24
  499. package/script/helpers/strings.d.ts +0 -9
  500. package/script/helpers/strings.d.ts.map +0 -1
  501. package/script/helpers/strings.js +0 -25
  502. package/script/helpers/toResolvedArtifactPath.d.ts +0 -8
  503. package/script/helpers/toResolvedArtifactPath.d.ts.map +0 -1
  504. package/script/helpers/toResolvedArtifactPath.js +0 -9
  505. package/script/helpers/tracer.d.ts +0 -3
  506. package/script/helpers/tracer.d.ts.map +0 -1
  507. package/script/helpers/tracer.js +0 -10
  508. package/script/mod.d.ts +0 -75
  509. package/script/mod.d.ts.map +0 -1
  510. package/script/mod.js +0 -90
  511. package/script/oas/array/Array.d.ts +0 -58
  512. package/script/oas/array/Array.d.ts.map +0 -1
  513. package/script/oas/array/Array.js +0 -117
  514. package/script/oas/array/array-types.d.ts +0 -13
  515. package/script/oas/array/array-types.d.ts.map +0 -1
  516. package/script/oas/array/array-types.js +0 -20
  517. package/script/oas/array/toArray.d.ts +0 -10
  518. package/script/oas/array/toArray.d.ts.map +0 -1
  519. package/script/oas/array/toArray.js +0 -20
  520. package/script/oas/boolean/Boolean.d.ts +0 -48
  521. package/script/oas/boolean/Boolean.d.ts.map +0 -1
  522. package/script/oas/boolean/Boolean.js +0 -97
  523. package/script/oas/boolean/boolean-types.d.ts +0 -10
  524. package/script/oas/boolean/boolean-types.d.ts.map +0 -1
  525. package/script/oas/boolean/boolean-types.js +0 -11
  526. package/script/oas/boolean/toBoolean.d.ts +0 -10
  527. package/script/oas/boolean/toBoolean.d.ts.map +0 -1
  528. package/script/oas/boolean/toBoolean.js +0 -17
  529. package/script/oas/components/Components.d.ts +0 -43
  530. package/script/oas/components/Components.d.ts.map +0 -1
  531. package/script/oas/components/Components.js +0 -66
  532. package/script/oas/components/toComponentsV3.d.ts +0 -10
  533. package/script/oas/components/toComponentsV3.d.ts.map +0 -1
  534. package/script/oas/components/toComponentsV3.js +0 -37
  535. package/script/oas/contact/Contact.d.ts +0 -15
  536. package/script/oas/contact/Contact.d.ts.map +0 -1
  537. package/script/oas/contact/Contact.js +0 -42
  538. package/script/oas/contact/toContactV3.d.ts +0 -5
  539. package/script/oas/contact/toContactV3.d.ts.map +0 -1
  540. package/script/oas/contact/toContactV3.js +0 -19
  541. package/script/oas/discriminator/Discriminator.d.ts +0 -9
  542. package/script/oas/discriminator/Discriminator.d.ts.map +0 -1
  543. package/script/oas/discriminator/Discriminator.js +0 -21
  544. package/script/oas/discriminator/discriminator-types.d.ts +0 -8
  545. package/script/oas/discriminator/discriminator-types.d.ts.map +0 -1
  546. package/script/oas/discriminator/discriminator-types.js +0 -9
  547. package/script/oas/discriminator/toDiscriminatorV3.d.ts +0 -10
  548. package/script/oas/discriminator/toDiscriminatorV3.d.ts.map +0 -1
  549. package/script/oas/discriminator/toDiscriminatorV3.js +0 -16
  550. package/script/oas/document/Document.d.ts +0 -33
  551. package/script/oas/document/Document.d.ts.map +0 -1
  552. package/script/oas/document/Document.js +0 -77
  553. package/script/oas/document/toDocumentFieldsV3.d.ts +0 -10
  554. package/script/oas/document/toDocumentFieldsV3.d.ts.map +0 -1
  555. package/script/oas/document/toDocumentFieldsV3.js +0 -25
  556. package/script/oas/example/Example.d.ts +0 -28
  557. package/script/oas/example/Example.d.ts.map +0 -1
  558. package/script/oas/example/Example.js +0 -59
  559. package/script/oas/example/example-types.d.ts +0 -9
  560. package/script/oas/example/example-types.d.ts.map +0 -1
  561. package/script/oas/example/example-types.js +0 -12
  562. package/script/oas/example/toExamplesV3.d.ts +0 -22
  563. package/script/oas/example/toExamplesV3.d.ts.map +0 -1
  564. package/script/oas/example/toExamplesV3.js +0 -49
  565. package/script/oas/header/Header.d.ts +0 -45
  566. package/script/oas/header/Header.d.ts.map +0 -1
  567. package/script/oas/header/Header.js +0 -84
  568. package/script/oas/header/toHeadersV3.d.ts +0 -11
  569. package/script/oas/header/toHeadersV3.d.ts.map +0 -1
  570. package/script/oas/header/toHeadersV3.js +0 -41
  571. package/script/oas/info/Info.d.ts +0 -25
  572. package/script/oas/info/Info.d.ts.map +0 -1
  573. package/script/oas/info/Info.js +0 -51
  574. package/script/oas/info/toInfoV3.d.ts +0 -10
  575. package/script/oas/info/toInfoV3.d.ts.map +0 -1
  576. package/script/oas/info/toInfoV3.js +0 -24
  577. package/script/oas/integer/Integer.d.ts +0 -55
  578. package/script/oas/integer/Integer.d.ts.map +0 -1
  579. package/script/oas/integer/Integer.js +0 -116
  580. package/script/oas/integer/integer-types.d.ts +0 -13
  581. package/script/oas/integer/integer-types.d.ts.map +0 -1
  582. package/script/oas/integer/integer-types.js +0 -22
  583. package/script/oas/integer/toInteger.d.ts +0 -10
  584. package/script/oas/integer/toInteger.d.ts.map +0 -1
  585. package/script/oas/integer/toInteger.js +0 -20
  586. package/script/oas/intersection/Intersection.d.ts +0 -30
  587. package/script/oas/intersection/Intersection.d.ts.map +0 -1
  588. package/script/oas/intersection/Intersection.js +0 -87
  589. package/script/oas/intersection/intersection-types.d.ts +0 -14
  590. package/script/oas/intersection/intersection-types.d.ts.map +0 -1
  591. package/script/oas/intersection/intersection-types.js +0 -15
  592. package/script/oas/intersection/toIntersection.d.ts +0 -11
  593. package/script/oas/intersection/toIntersection.d.ts.map +0 -1
  594. package/script/oas/intersection/toIntersection.js +0 -20
  595. package/script/oas/license/License.d.ts +0 -13
  596. package/script/oas/license/License.d.ts.map +0 -1
  597. package/script/oas/license/License.js +0 -35
  598. package/script/oas/license/toLicenseV3.d.ts +0 -5
  599. package/script/oas/license/toLicenseV3.d.ts.map +0 -1
  600. package/script/oas/license/toLicenseV3.js +0 -18
  601. package/script/oas/markdown/markdown-types.d.ts +0 -3
  602. package/script/oas/markdown/markdown-types.d.ts.map +0 -1
  603. package/script/oas/markdown/markdown-types.js +0 -5
  604. package/script/oas/mediaType/MediaType.d.ts +0 -18
  605. package/script/oas/mediaType/MediaType.d.ts.map +0 -1
  606. package/script/oas/mediaType/MediaType.js +0 -42
  607. package/script/oas/mediaType/mediaType-types.d.ts +0 -12
  608. package/script/oas/mediaType/mediaType-types.d.ts.map +0 -1
  609. package/script/oas/mediaType/mediaType-types.js +0 -15
  610. package/script/oas/mediaType/toMediaTypeItemV3.d.ts +0 -21
  611. package/script/oas/mediaType/toMediaTypeItemV3.d.ts.map +0 -1
  612. package/script/oas/mediaType/toMediaTypeItemV3.js +0 -45
  613. package/script/oas/null/null-types.d.ts +0 -10
  614. package/script/oas/null/null-types.d.ts.map +0 -1
  615. package/script/oas/null/null-types.js +0 -11
  616. package/script/oas/number/Number.d.ts +0 -48
  617. package/script/oas/number/Number.d.ts.map +0 -1
  618. package/script/oas/number/Number.js +0 -97
  619. package/script/oas/number/number-types.d.ts +0 -10
  620. package/script/oas/number/number-types.d.ts.map +0 -1
  621. package/script/oas/number/number-types.js +0 -17
  622. package/script/oas/number/toNumber.d.ts +0 -10
  623. package/script/oas/number/toNumber.d.ts.map +0 -1
  624. package/script/oas/number/toNumber.js +0 -20
  625. package/script/oas/object/Object.d.ts +0 -92
  626. package/script/oas/object/Object.d.ts.map +0 -1
  627. package/script/oas/object/Object.js +0 -196
  628. package/script/oas/object/object-types.d.ts +0 -15
  629. package/script/oas/object/object-types.d.ts.map +0 -1
  630. package/script/oas/object/object-types.js +0 -30
  631. package/script/oas/object/toAdditionalPropertiesV3.d.ts +0 -11
  632. package/script/oas/object/toAdditionalPropertiesV3.d.ts.map +0 -1
  633. package/script/oas/object/toAdditionalPropertiesV3.js +0 -14
  634. package/script/oas/object/toObject.d.ts +0 -10
  635. package/script/oas/object/toObject.d.ts.map +0 -1
  636. package/script/oas/object/toObject.js +0 -29
  637. package/script/oas/operation/Operation.d.ts +0 -56
  638. package/script/oas/operation/Operation.d.ts.map +0 -1
  639. package/script/oas/operation/Operation.js +0 -134
  640. package/script/oas/operation/toOperationsV3.d.ts +0 -23
  641. package/script/oas/operation/toOperationsV3.d.ts.map +0 -1
  642. package/script/oas/operation/toOperationsV3.js +0 -84
  643. package/script/oas/parameter/Parameter.d.ts +0 -42
  644. package/script/oas/parameter/Parameter.d.ts.map +0 -1
  645. package/script/oas/parameter/Parameter.js +0 -126
  646. package/script/oas/parameter/parameter-types.d.ts +0 -26
  647. package/script/oas/parameter/parameter-types.d.ts.map +0 -1
  648. package/script/oas/parameter/parameter-types.js +0 -41
  649. package/script/oas/parameter/toParameterV3.d.ts +0 -21
  650. package/script/oas/parameter/toParameterV3.d.ts.map +0 -1
  651. package/script/oas/parameter/toParameterV3.js +0 -87
  652. package/script/oas/pathItem/PathItem.d.ts +0 -17
  653. package/script/oas/pathItem/PathItem.d.ts.map +0 -1
  654. package/script/oas/pathItem/PathItem.js +0 -42
  655. package/script/oas/pathItem/toPathItemV3.d.ts +0 -10
  656. package/script/oas/pathItem/toPathItemV3.d.ts.map +0 -1
  657. package/script/oas/pathItem/toPathItemV3.js +0 -16
  658. package/script/oas/ref/Ref.d.ts +0 -37
  659. package/script/oas/ref/Ref.d.ts.map +0 -1
  660. package/script/oas/ref/Ref.js +0 -106
  661. package/script/oas/ref/ref-types.d.ts +0 -52
  662. package/script/oas/ref/ref-types.d.ts.map +0 -1
  663. package/script/oas/ref/ref-types.js +0 -57
  664. package/script/oas/ref/toRefV31.d.ts +0 -12
  665. package/script/oas/ref/toRefV31.d.ts.map +0 -1
  666. package/script/oas/ref/toRefV31.js +0 -16
  667. package/script/oas/requestBody/RequestBody.d.ts +0 -22
  668. package/script/oas/requestBody/RequestBody.d.ts.map +0 -1
  669. package/script/oas/requestBody/RequestBody.js +0 -54
  670. package/script/oas/requestBody/toRequestBodiesV3.d.ts +0 -17
  671. package/script/oas/requestBody/toRequestBodiesV3.d.ts.map +0 -1
  672. package/script/oas/requestBody/toRequestBodiesV3.js +0 -43
  673. package/script/oas/response/Response.d.ts +0 -23
  674. package/script/oas/response/Response.d.ts.map +0 -1
  675. package/script/oas/response/Response.js +0 -54
  676. package/script/oas/response/toResponseV3.d.ts +0 -21
  677. package/script/oas/response/toResponseV3.d.ts.map +0 -1
  678. package/script/oas/response/toResponseV3.js +0 -40
  679. package/script/oas/schema/Schema.d.ts +0 -14
  680. package/script/oas/schema/Schema.d.ts.map +0 -1
  681. package/script/oas/schema/Schema.js +0 -2
  682. package/script/oas/schema/schema-types.d.ts +0 -14
  683. package/script/oas/schema/schema-types.d.ts.map +0 -1
  684. package/script/oas/schema/schema-types.js +0 -26
  685. package/script/oas/schema/toSchemasV3.d.ts +0 -28
  686. package/script/oas/schema/toSchemasV3.d.ts.map +0 -1
  687. package/script/oas/schema/toSchemasV3.js +0 -101
  688. package/script/oas/specificationExtensions/toSpecificationExtensionsV3.d.ts +0 -12
  689. package/script/oas/specificationExtensions/toSpecificationExtensionsV3.d.ts.map +0 -1
  690. package/script/oas/specificationExtensions/toSpecificationExtensionsV3.js +0 -26
  691. package/script/oas/string/String.d.ts +0 -66
  692. package/script/oas/string/String.d.ts.map +0 -1
  693. package/script/oas/string/String.js +0 -142
  694. package/script/oas/string/string-types.d.ts +0 -18
  695. package/script/oas/string/string-types.d.ts.map +0 -1
  696. package/script/oas/string/string-types.js +0 -35
  697. package/script/oas/string/toString.d.ts +0 -10
  698. package/script/oas/string/toString.d.ts.map +0 -1
  699. package/script/oas/string/toString.js +0 -44
  700. package/script/oas/tag/Tag.d.ts +0 -15
  701. package/script/oas/tag/Tag.d.ts.map +0 -1
  702. package/script/oas/tag/Tag.js +0 -39
  703. package/script/oas/tag/toTagsV3.d.ts +0 -15
  704. package/script/oas/tag/toTagsV3.d.ts.map +0 -1
  705. package/script/oas/tag/toTagsV3.js +0 -26
  706. package/script/oas/union/Union.d.ts +0 -66
  707. package/script/oas/union/Union.d.ts.map +0 -1
  708. package/script/oas/union/Union.js +0 -122
  709. package/script/oas/union/toUnion.d.ts +0 -11
  710. package/script/oas/union/toUnion.d.ts.map +0 -1
  711. package/script/oas/union/toUnion.js +0 -24
  712. package/script/oas/union/union-types.d.ts +0 -14
  713. package/script/oas/union/union-types.d.ts.map +0 -1
  714. package/script/oas/union/union-types.js +0 -15
  715. package/script/oas/unknown/Unknown.d.ts +0 -45
  716. package/script/oas/unknown/Unknown.d.ts.map +0 -1
  717. package/script/oas/unknown/Unknown.js +0 -86
  718. package/script/oas/unknown/toUnknown.d.ts +0 -10
  719. package/script/oas/unknown/toUnknown.d.ts.map +0 -1
  720. package/script/oas/unknown/toUnknown.js +0 -19
  721. package/script/oas/unknown/unknown-types.d.ts +0 -10
  722. package/script/oas/unknown/unknown-types.d.ts.map +0 -1
  723. package/script/oas/unknown/unknown-types.js +0 -11
  724. package/script/oas/void/Void.d.ts +0 -35
  725. package/script/oas/void/Void.d.ts.map +0 -1
  726. package/script/oas/void/Void.js +0 -64
  727. package/script/package.json +0 -3
  728. package/script/run/enrichSettings.d.ts +0 -8
  729. package/script/run/enrichSettings.d.ts.map +0 -1
  730. package/script/run/enrichSettings.js +0 -12
  731. package/script/run/handleEnrichment.d.ts +0 -3
  732. package/script/run/handleEnrichment.d.ts.map +0 -1
  733. package/script/run/handleEnrichment.js +0 -70
  734. package/script/run/toEnrichments.d.ts +0 -12
  735. package/script/run/toEnrichments.d.ts.map +0 -1
  736. package/script/run/toEnrichments.js +0 -30
  737. package/script/run/toSettings.d.ts +0 -15
  738. package/script/run/toSettings.d.ts.map +0 -1
  739. package/script/run/toSettings.js +0 -78
  740. package/script/run/transform.d.ts +0 -22
  741. package/script/run/transform.d.ts.map +0 -1
  742. package/script/run/transform.js +0 -51
  743. package/script/types/Brand.d.ts +0 -7
  744. package/script/types/Brand.d.ts.map +0 -1
  745. package/script/types/Brand.js +0 -3
  746. package/script/types/CustomValue.d.ts +0 -22
  747. package/script/types/CustomValue.d.ts.map +0 -1
  748. package/script/types/CustomValue.js +0 -39
  749. package/script/types/EnrichmentRequest.d.ts +0 -8
  750. package/script/types/EnrichmentRequest.d.ts.map +0 -1
  751. package/script/types/EnrichmentRequest.js +0 -3
  752. package/script/types/Extensions.d.ts +0 -7
  753. package/script/types/Extensions.d.ts.map +0 -1
  754. package/script/types/Extensions.js +0 -6
  755. package/script/types/GeneratedValue.d.ts +0 -19
  756. package/script/types/GeneratedValue.d.ts.map +0 -1
  757. package/script/types/GeneratedValue.js +0 -2
  758. package/script/types/GeneratorKeys.d.ts +0 -50
  759. package/script/types/GeneratorKeys.d.ts.map +0 -1
  760. package/script/types/GeneratorKeys.js +0 -95
  761. package/script/types/Manifest.d.ts +0 -121
  762. package/script/types/Manifest.d.ts.map +0 -1
  763. package/script/types/Manifest.js +0 -30
  764. package/script/types/Method.d.ts +0 -11
  765. package/script/types/Method.d.ts.map +0 -1
  766. package/script/types/Method.js +0 -39
  767. package/script/types/Modifiers.d.ts +0 -6
  768. package/script/types/Modifiers.d.ts.map +0 -1
  769. package/script/types/Modifiers.js +0 -2
  770. package/script/types/RefName.d.ts +0 -4
  771. package/script/types/RefName.d.ts.map +0 -1
  772. package/script/types/RefName.js +0 -3
  773. package/script/types/Results.d.ts +0 -10
  774. package/script/types/Results.d.ts.map +0 -1
  775. package/script/types/Results.js +0 -7
  776. package/script/types/Settings.d.ts +0 -308
  777. package/script/types/Settings.d.ts.map +0 -1
  778. package/script/types/Settings.js +0 -46
  779. package/script/types/TypeSystem.d.ts +0 -152
  780. package/script/types/TypeSystem.d.ts.map +0 -1
  781. package/script/types/TypeSystem.js +0 -2
  782. package/script/types/prettierConfig.d.ts +0 -27
  783. package/script/types/prettierConfig.d.ts.map +0 -1
  784. package/script/types/prettierConfig.js +0 -49
  785. package/script/typescript/FunctionParameter.d.ts +0 -34
  786. package/script/typescript/FunctionParameter.d.ts.map +0 -1
  787. package/script/typescript/FunctionParameter.js +0 -84
  788. package/script/typescript/List.d.ts +0 -147
  789. package/script/typescript/List.d.ts.map +0 -1
  790. package/script/typescript/List.js +0 -312
  791. package/script/typescript/PathParams.d.ts +0 -20
  792. package/script/typescript/PathParams.d.ts.map +0 -1
  793. package/script/typescript/PathParams.js +0 -53
  794. package/script/typescript/ReactRouterPathParams.d.ts +0 -20
  795. package/script/typescript/ReactRouterPathParams.d.ts.map +0 -1
  796. package/script/typescript/ReactRouterPathParams.js +0 -53
  797. package/script/typescript/identifiers.d.ts +0 -3
  798. package/script/typescript/identifiers.d.ts.map +0 -1
  799. package/script/typescript/identifiers.js +0 -12
  800. package/script/typescript/keyValues.d.ts +0 -3
  801. package/script/typescript/keyValues.d.ts.map +0 -1
  802. package/script/typescript/keyValues.js +0 -15
  803. package/script/typescript/toPathTemplate.d.ts +0 -2
  804. package/script/typescript/toPathTemplate.d.ts.map +0 -1
  805. package/script/typescript/toPathTemplate.js +0 -7
  806. package/script/typescript/withDescription.d.ts +0 -4
  807. package/script/typescript/withDescription.d.ts.map +0 -1
  808. package/script/typescript/withDescription.js +0 -7
@@ -1,1324 +0,0 @@
1
- "use strict";
2
- // Ported from js-yaml v3.13.1:
3
- // https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
4
- // Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
5
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
6
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
- if (k2 === undefined) k2 = k;
8
- var desc = Object.getOwnPropertyDescriptor(m, k);
9
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
10
- desc = { enumerable: true, get: function() { return m[k]; } };
11
- }
12
- Object.defineProperty(o, k2, desc);
13
- }) : (function(o, m, k, k2) {
14
- if (k2 === undefined) k2 = k;
15
- o[k2] = m[k];
16
- }));
17
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
18
- Object.defineProperty(o, "default", { enumerable: true, value: v });
19
- }) : function(o, v) {
20
- o["default"] = v;
21
- });
22
- var __importStar = (this && this.__importStar) || function (mod) {
23
- if (mod && mod.__esModule) return mod;
24
- var result = {};
25
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
26
- __setModuleDefault(result, mod);
27
- return result;
28
- };
29
- Object.defineProperty(exports, "__esModule", { value: true });
30
- exports.loadAll = loadAll;
31
- exports.load = load;
32
- const _error_js_1 = require("../_error.js");
33
- const _mark_js_1 = require("../_mark.js");
34
- const common = __importStar(require("../_utils.js"));
35
- const loader_state_js_1 = require("./loader_state.js");
36
- const { hasOwn } = Object;
37
- const CONTEXT_FLOW_IN = 1;
38
- const CONTEXT_FLOW_OUT = 2;
39
- const CONTEXT_BLOCK_IN = 3;
40
- const CONTEXT_BLOCK_OUT = 4;
41
- const CHOMPING_CLIP = 1;
42
- const CHOMPING_STRIP = 2;
43
- const CHOMPING_KEEP = 3;
44
- const PATTERN_NON_PRINTABLE =
45
- // deno-lint-ignore no-control-regex
46
- /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;
47
- const PATTERN_NON_ASCII_LINE_BREAKS = /[\x85\u2028\u2029]/;
48
- const PATTERN_FLOW_INDICATORS = /[,\[\]\{\}]/;
49
- const PATTERN_TAG_HANDLE = /^(?:!|!!|![a-z\-]+!)$/i;
50
- const PATTERN_TAG_URI = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
51
- function _class(obj) {
52
- return Object.prototype.toString.call(obj);
53
- }
54
- function isEOL(c) {
55
- return c === 0x0a || /* LF */ c === 0x0d /* CR */;
56
- }
57
- function isWhiteSpace(c) {
58
- return c === 0x09 || /* Tab */ c === 0x20 /* Space */;
59
- }
60
- function isWsOrEol(c) {
61
- return (c === 0x09 /* Tab */ ||
62
- c === 0x20 /* Space */ ||
63
- c === 0x0a /* LF */ ||
64
- c === 0x0d /* CR */);
65
- }
66
- function isFlowIndicator(c) {
67
- return (c === 0x2c /* , */ ||
68
- c === 0x5b /* [ */ ||
69
- c === 0x5d /* ] */ ||
70
- c === 0x7b /* { */ ||
71
- c === 0x7d /* } */);
72
- }
73
- function fromHexCode(c) {
74
- if (0x30 <= /* 0 */ c && c <= 0x39 /* 9 */) {
75
- return c - 0x30;
76
- }
77
- const lc = c | 0x20;
78
- if (0x61 <= /* a */ lc && lc <= 0x66 /* f */) {
79
- return lc - 0x61 + 10;
80
- }
81
- return -1;
82
- }
83
- function escapedHexLen(c) {
84
- if (c === 0x78 /* x */) {
85
- return 2;
86
- }
87
- if (c === 0x75 /* u */) {
88
- return 4;
89
- }
90
- if (c === 0x55 /* U */) {
91
- return 8;
92
- }
93
- return 0;
94
- }
95
- function fromDecimalCode(c) {
96
- if (0x30 <= /* 0 */ c && c <= 0x39 /* 9 */) {
97
- return c - 0x30;
98
- }
99
- return -1;
100
- }
101
- function simpleEscapeSequence(c) {
102
- return c === 0x30 /* 0 */
103
- ? "\x00"
104
- : c === 0x61 /* a */
105
- ? "\x07"
106
- : c === 0x62 /* b */
107
- ? "\x08"
108
- : c === 0x74 /* t */
109
- ? "\x09"
110
- : c === 0x09 /* Tab */
111
- ? "\x09"
112
- : c === 0x6e /* n */
113
- ? "\x0A"
114
- : c === 0x76 /* v */
115
- ? "\x0B"
116
- : c === 0x66 /* f */
117
- ? "\x0C"
118
- : c === 0x72 /* r */
119
- ? "\x0D"
120
- : c === 0x65 /* e */
121
- ? "\x1B"
122
- : c === 0x20 /* Space */
123
- ? " "
124
- : c === 0x22 /* " */
125
- ? "\x22"
126
- : c === 0x2f /* / */
127
- ? "/"
128
- : c === 0x5c /* \ */
129
- ? "\x5C"
130
- : c === 0x4e /* N */
131
- ? "\x85"
132
- : c === 0x5f /* _ */
133
- ? "\xA0"
134
- : c === 0x4c /* L */
135
- ? "\u2028"
136
- : c === 0x50 /* P */
137
- ? "\u2029"
138
- : "";
139
- }
140
- function charFromCodepoint(c) {
141
- if (c <= 0xffff) {
142
- return String.fromCharCode(c);
143
- }
144
- // Encode UTF-16 surrogate pair
145
- // https://en.wikipedia.org/wiki/UTF-16#Code_points_U.2B010000_to_U.2B10FFFF
146
- return String.fromCharCode(((c - 0x010000) >> 10) + 0xd800, ((c - 0x010000) & 0x03ff) + 0xdc00);
147
- }
148
- const simpleEscapeCheck = Array.from({ length: 256 }); // integer, for fast access
149
- const simpleEscapeMap = Array.from({ length: 256 });
150
- for (let i = 0; i < 256; i++) {
151
- simpleEscapeCheck[i] = simpleEscapeSequence(i) ? 1 : 0;
152
- simpleEscapeMap[i] = simpleEscapeSequence(i);
153
- }
154
- function generateError(state, message) {
155
- return new _error_js_1.YAMLError(message, new _mark_js_1.Mark(state.filename, state.input, state.position, state.line, state.position - state.lineStart));
156
- }
157
- function throwError(state, message) {
158
- throw generateError(state, message);
159
- }
160
- function throwWarning(state, message) {
161
- if (state.onWarning) {
162
- state.onWarning.call(null, generateError(state, message));
163
- }
164
- }
165
- const directiveHandlers = {
166
- YAML(state, _name, ...args) {
167
- if (state.version !== null) {
168
- return throwError(state, "duplication of %YAML directive");
169
- }
170
- if (args.length !== 1) {
171
- return throwError(state, "YAML directive accepts exactly one argument");
172
- }
173
- const match = /^([0-9]+)\.([0-9]+)$/.exec(args[0]);
174
- if (match === null) {
175
- return throwError(state, "ill-formed argument of the YAML directive");
176
- }
177
- const major = parseInt(match[1], 10);
178
- const minor = parseInt(match[2], 10);
179
- if (major !== 1) {
180
- return throwError(state, "unacceptable YAML version of the document");
181
- }
182
- state.version = args[0];
183
- state.checkLineBreaks = minor < 2;
184
- if (minor !== 1 && minor !== 2) {
185
- return throwWarning(state, "unsupported YAML version of the document");
186
- }
187
- },
188
- TAG(state, _name, ...args) {
189
- if (args.length !== 2) {
190
- return throwError(state, "TAG directive accepts exactly two arguments");
191
- }
192
- const handle = args[0];
193
- const prefix = args[1];
194
- if (!PATTERN_TAG_HANDLE.test(handle)) {
195
- return throwError(state, "ill-formed tag handle (first argument) of the TAG directive");
196
- }
197
- if (state.tagMap && hasOwn(state.tagMap, handle)) {
198
- return throwError(state, `there is a previously declared suffix for "${handle}" tag handle`);
199
- }
200
- if (!PATTERN_TAG_URI.test(prefix)) {
201
- return throwError(state, "ill-formed tag prefix (second argument) of the TAG directive");
202
- }
203
- if (typeof state.tagMap === "undefined") {
204
- state.tagMap = Object.create(null);
205
- }
206
- state.tagMap[handle] = prefix;
207
- },
208
- };
209
- function captureSegment(state, start, end, checkJson) {
210
- let result;
211
- if (start < end) {
212
- result = state.input.slice(start, end);
213
- if (checkJson) {
214
- for (let position = 0, length = result.length; position < length; position++) {
215
- const character = result.charCodeAt(position);
216
- if (!(character === 0x09 || (0x20 <= character && character <= 0x10ffff))) {
217
- return throwError(state, "expected valid JSON character");
218
- }
219
- }
220
- }
221
- else if (PATTERN_NON_PRINTABLE.test(result)) {
222
- return throwError(state, "the stream contains non-printable characters");
223
- }
224
- state.result += result;
225
- }
226
- }
227
- function mergeMappings(state, destination, source, overridableKeys) {
228
- if (!common.isObject(source)) {
229
- return throwError(state, "cannot merge mappings; the provided source object is unacceptable");
230
- }
231
- const keys = Object.keys(source);
232
- for (let i = 0, len = keys.length; i < len; i++) {
233
- const key = keys[i];
234
- if (!hasOwn(destination, key)) {
235
- Object.defineProperty(destination, key, {
236
- value: source[key],
237
- writable: true,
238
- enumerable: true,
239
- configurable: true,
240
- });
241
- overridableKeys[key] = true;
242
- }
243
- }
244
- }
245
- function storeMappingPair(state, result, overridableKeys, keyTag, keyNode, valueNode, startLine, startPos) {
246
- // The output is a plain object here, so keys can only be strings.
247
- // We need to convert keyNode to a string, but doing so can hang the process
248
- // (deeply nested arrays that explode exponentially using aliases).
249
- if (Array.isArray(keyNode)) {
250
- keyNode = Array.prototype.slice.call(keyNode);
251
- for (let index = 0, quantity = keyNode.length; index < quantity; index++) {
252
- if (Array.isArray(keyNode[index])) {
253
- return throwError(state, "nested arrays are not supported inside keys");
254
- }
255
- if (typeof keyNode === "object" &&
256
- _class(keyNode[index]) === "[object Object]") {
257
- keyNode[index] = "[object Object]";
258
- }
259
- }
260
- }
261
- // Avoid code execution in load() via toString property
262
- // (still use its own toString for arrays, timestamps,
263
- // and whatever user schema extensions happen to have @@toStringTag)
264
- if (typeof keyNode === "object" && _class(keyNode) === "[object Object]") {
265
- keyNode = "[object Object]";
266
- }
267
- keyNode = String(keyNode);
268
- if (result === null) {
269
- result = {};
270
- }
271
- if (keyTag === "tag:yaml.org,2002:merge") {
272
- if (Array.isArray(valueNode)) {
273
- for (let index = 0, quantity = valueNode.length; index < quantity; index++) {
274
- mergeMappings(state, result, valueNode[index], overridableKeys);
275
- }
276
- }
277
- else {
278
- mergeMappings(state, result, valueNode, overridableKeys);
279
- }
280
- }
281
- else {
282
- if (!state.json &&
283
- !hasOwn(overridableKeys, keyNode) &&
284
- hasOwn(result, keyNode)) {
285
- state.line = startLine || state.line;
286
- state.position = startPos || state.position;
287
- return throwError(state, "duplicated mapping key");
288
- }
289
- Object.defineProperty(result, keyNode, {
290
- value: valueNode,
291
- writable: true,
292
- enumerable: true,
293
- configurable: true,
294
- });
295
- delete overridableKeys[keyNode];
296
- }
297
- return result;
298
- }
299
- function readLineBreak(state) {
300
- const ch = state.input.charCodeAt(state.position);
301
- if (ch === 0x0a /* LF */) {
302
- state.position++;
303
- }
304
- else if (ch === 0x0d /* CR */) {
305
- state.position++;
306
- if (state.input.charCodeAt(state.position) === 0x0a /* LF */) {
307
- state.position++;
308
- }
309
- }
310
- else {
311
- return throwError(state, "a line break is expected");
312
- }
313
- state.line += 1;
314
- state.lineStart = state.position;
315
- }
316
- function skipSeparationSpace(state, allowComments, checkIndent) {
317
- let lineBreaks = 0, ch = state.input.charCodeAt(state.position);
318
- while (ch !== 0) {
319
- while (isWhiteSpace(ch)) {
320
- ch = state.input.charCodeAt(++state.position);
321
- }
322
- if (allowComments && ch === 0x23 /* # */) {
323
- do {
324
- ch = state.input.charCodeAt(++state.position);
325
- } while (ch !== 0x0a && /* LF */ ch !== 0x0d && /* CR */ ch !== 0);
326
- }
327
- if (isEOL(ch)) {
328
- readLineBreak(state);
329
- ch = state.input.charCodeAt(state.position);
330
- lineBreaks++;
331
- state.lineIndent = 0;
332
- while (ch === 0x20 /* Space */) {
333
- state.lineIndent++;
334
- ch = state.input.charCodeAt(++state.position);
335
- }
336
- }
337
- else {
338
- break;
339
- }
340
- }
341
- if (checkIndent !== -1 &&
342
- lineBreaks !== 0 &&
343
- state.lineIndent < checkIndent) {
344
- throwWarning(state, "deficient indentation");
345
- }
346
- return lineBreaks;
347
- }
348
- function testDocumentSeparator(state) {
349
- let _position = state.position;
350
- let ch = state.input.charCodeAt(_position);
351
- // Condition state.position === state.lineStart is tested
352
- // in parent on each call, for efficiency. No needs to test here again.
353
- if ((ch === 0x2d || /* - */ ch === 0x2e) /* . */ &&
354
- ch === state.input.charCodeAt(_position + 1) &&
355
- ch === state.input.charCodeAt(_position + 2)) {
356
- _position += 3;
357
- ch = state.input.charCodeAt(_position);
358
- if (ch === 0 || isWsOrEol(ch)) {
359
- return true;
360
- }
361
- }
362
- return false;
363
- }
364
- function writeFoldedLines(state, count) {
365
- if (count === 1) {
366
- state.result += " ";
367
- }
368
- else if (count > 1) {
369
- state.result += common.repeat("\n", count - 1);
370
- }
371
- }
372
- function readPlainScalar(state, nodeIndent, withinFlowCollection) {
373
- const kind = state.kind;
374
- const result = state.result;
375
- let ch = state.input.charCodeAt(state.position);
376
- if (isWsOrEol(ch) ||
377
- isFlowIndicator(ch) ||
378
- ch === 0x23 /* # */ ||
379
- ch === 0x26 /* & */ ||
380
- ch === 0x2a /* * */ ||
381
- ch === 0x21 /* ! */ ||
382
- ch === 0x7c /* | */ ||
383
- ch === 0x3e /* > */ ||
384
- ch === 0x27 /* ' */ ||
385
- ch === 0x22 /* " */ ||
386
- ch === 0x25 /* % */ ||
387
- ch === 0x40 /* @ */ ||
388
- ch === 0x60 /* ` */) {
389
- return false;
390
- }
391
- let following;
392
- if (ch === 0x3f || /* ? */ ch === 0x2d /* - */) {
393
- following = state.input.charCodeAt(state.position + 1);
394
- if (isWsOrEol(following) ||
395
- (withinFlowCollection && isFlowIndicator(following))) {
396
- return false;
397
- }
398
- }
399
- state.kind = "scalar";
400
- state.result = "";
401
- let captureEnd, captureStart = (captureEnd = state.position);
402
- let hasPendingContent = false;
403
- let line = 0;
404
- while (ch !== 0) {
405
- if (ch === 0x3a /* : */) {
406
- following = state.input.charCodeAt(state.position + 1);
407
- if (isWsOrEol(following) ||
408
- (withinFlowCollection && isFlowIndicator(following))) {
409
- break;
410
- }
411
- }
412
- else if (ch === 0x23 /* # */) {
413
- const preceding = state.input.charCodeAt(state.position - 1);
414
- if (isWsOrEol(preceding)) {
415
- break;
416
- }
417
- }
418
- else if ((state.position === state.lineStart && testDocumentSeparator(state)) ||
419
- (withinFlowCollection && isFlowIndicator(ch))) {
420
- break;
421
- }
422
- else if (isEOL(ch)) {
423
- line = state.line;
424
- const lineStart = state.lineStart;
425
- const lineIndent = state.lineIndent;
426
- skipSeparationSpace(state, false, -1);
427
- if (state.lineIndent >= nodeIndent) {
428
- hasPendingContent = true;
429
- ch = state.input.charCodeAt(state.position);
430
- continue;
431
- }
432
- else {
433
- state.position = captureEnd;
434
- state.line = line;
435
- state.lineStart = lineStart;
436
- state.lineIndent = lineIndent;
437
- break;
438
- }
439
- }
440
- if (hasPendingContent) {
441
- captureSegment(state, captureStart, captureEnd, false);
442
- writeFoldedLines(state, state.line - line);
443
- captureStart = captureEnd = state.position;
444
- hasPendingContent = false;
445
- }
446
- if (!isWhiteSpace(ch)) {
447
- captureEnd = state.position + 1;
448
- }
449
- ch = state.input.charCodeAt(++state.position);
450
- }
451
- captureSegment(state, captureStart, captureEnd, false);
452
- if (state.result) {
453
- return true;
454
- }
455
- state.kind = kind;
456
- state.result = result;
457
- return false;
458
- }
459
- function readSingleQuotedScalar(state, nodeIndent) {
460
- let ch, captureStart, captureEnd;
461
- ch = state.input.charCodeAt(state.position);
462
- if (ch !== 0x27 /* ' */) {
463
- return false;
464
- }
465
- state.kind = "scalar";
466
- state.result = "";
467
- state.position++;
468
- captureStart = captureEnd = state.position;
469
- while ((ch = state.input.charCodeAt(state.position)) !== 0) {
470
- if (ch === 0x27 /* ' */) {
471
- captureSegment(state, captureStart, state.position, true);
472
- ch = state.input.charCodeAt(++state.position);
473
- if (ch === 0x27 /* ' */) {
474
- captureStart = state.position;
475
- state.position++;
476
- captureEnd = state.position;
477
- }
478
- else {
479
- return true;
480
- }
481
- }
482
- else if (isEOL(ch)) {
483
- captureSegment(state, captureStart, captureEnd, true);
484
- writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));
485
- captureStart = captureEnd = state.position;
486
- }
487
- else if (state.position === state.lineStart &&
488
- testDocumentSeparator(state)) {
489
- return throwError(state, "unexpected end of the document within a single quoted scalar");
490
- }
491
- else {
492
- state.position++;
493
- captureEnd = state.position;
494
- }
495
- }
496
- return throwError(state, "unexpected end of the stream within a single quoted scalar");
497
- }
498
- function readDoubleQuotedScalar(state, nodeIndent) {
499
- let ch = state.input.charCodeAt(state.position);
500
- if (ch !== 0x22 /* " */) {
501
- return false;
502
- }
503
- state.kind = "scalar";
504
- state.result = "";
505
- state.position++;
506
- let captureEnd, captureStart = (captureEnd = state.position);
507
- let tmp;
508
- while ((ch = state.input.charCodeAt(state.position)) !== 0) {
509
- if (ch === 0x22 /* " */) {
510
- captureSegment(state, captureStart, state.position, true);
511
- state.position++;
512
- return true;
513
- }
514
- if (ch === 0x5c /* \ */) {
515
- captureSegment(state, captureStart, state.position, true);
516
- ch = state.input.charCodeAt(++state.position);
517
- if (isEOL(ch)) {
518
- skipSeparationSpace(state, false, nodeIndent);
519
- // TODO(bartlomieju): rework to inline fn with no type cast?
520
- }
521
- else if (ch < 256 && simpleEscapeCheck[ch]) {
522
- state.result += simpleEscapeMap[ch];
523
- state.position++;
524
- }
525
- else if ((tmp = escapedHexLen(ch)) > 0) {
526
- let hexLength = tmp;
527
- let hexResult = 0;
528
- for (; hexLength > 0; hexLength--) {
529
- ch = state.input.charCodeAt(++state.position);
530
- if ((tmp = fromHexCode(ch)) >= 0) {
531
- hexResult = (hexResult << 4) + tmp;
532
- }
533
- else {
534
- return throwError(state, "expected hexadecimal character");
535
- }
536
- }
537
- state.result += charFromCodepoint(hexResult);
538
- state.position++;
539
- }
540
- else {
541
- return throwError(state, "unknown escape sequence");
542
- }
543
- captureStart = captureEnd = state.position;
544
- }
545
- else if (isEOL(ch)) {
546
- captureSegment(state, captureStart, captureEnd, true);
547
- writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));
548
- captureStart = captureEnd = state.position;
549
- }
550
- else if (state.position === state.lineStart &&
551
- testDocumentSeparator(state)) {
552
- return throwError(state, "unexpected end of the document within a double quoted scalar");
553
- }
554
- else {
555
- state.position++;
556
- captureEnd = state.position;
557
- }
558
- }
559
- return throwError(state, "unexpected end of the stream within a double quoted scalar");
560
- }
561
- function readFlowCollection(state, nodeIndent) {
562
- let ch = state.input.charCodeAt(state.position);
563
- let terminator;
564
- let isMapping = true;
565
- let result = {};
566
- if (ch === 0x5b /* [ */) {
567
- terminator = 0x5d; /* ] */
568
- isMapping = false;
569
- result = [];
570
- }
571
- else if (ch === 0x7b /* { */) {
572
- terminator = 0x7d; /* } */
573
- }
574
- else {
575
- return false;
576
- }
577
- if (state.anchor !== null &&
578
- typeof state.anchor !== "undefined" &&
579
- typeof state.anchorMap !== "undefined") {
580
- state.anchorMap[state.anchor] = result;
581
- }
582
- ch = state.input.charCodeAt(++state.position);
583
- const tag = state.tag, anchor = state.anchor;
584
- let readNext = true;
585
- let valueNode, keyNode, keyTag = (keyNode = valueNode = null), isExplicitPair, isPair = (isExplicitPair = false);
586
- let following = 0, line = 0;
587
- const overridableKeys = Object.create(null);
588
- while (ch !== 0) {
589
- skipSeparationSpace(state, true, nodeIndent);
590
- ch = state.input.charCodeAt(state.position);
591
- if (ch === terminator) {
592
- state.position++;
593
- state.tag = tag;
594
- state.anchor = anchor;
595
- state.kind = isMapping ? "mapping" : "sequence";
596
- state.result = result;
597
- return true;
598
- }
599
- if (!readNext) {
600
- return throwError(state, "missed comma between flow collection entries");
601
- }
602
- keyTag = keyNode = valueNode = null;
603
- isPair = isExplicitPair = false;
604
- if (ch === 0x3f /* ? */) {
605
- following = state.input.charCodeAt(state.position + 1);
606
- if (isWsOrEol(following)) {
607
- isPair = isExplicitPair = true;
608
- state.position++;
609
- skipSeparationSpace(state, true, nodeIndent);
610
- }
611
- }
612
- line = state.line;
613
- composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);
614
- keyTag = state.tag || null;
615
- keyNode = state.result;
616
- skipSeparationSpace(state, true, nodeIndent);
617
- ch = state.input.charCodeAt(state.position);
618
- if ((isExplicitPair || state.line === line) && ch === 0x3a /* : */) {
619
- isPair = true;
620
- ch = state.input.charCodeAt(++state.position);
621
- skipSeparationSpace(state, true, nodeIndent);
622
- composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);
623
- valueNode = state.result;
624
- }
625
- if (isMapping) {
626
- storeMappingPair(state, result, overridableKeys, keyTag, keyNode, valueNode);
627
- }
628
- else if (isPair) {
629
- result.push(storeMappingPair(state, null, overridableKeys, keyTag, keyNode, valueNode));
630
- }
631
- else {
632
- result.push(keyNode);
633
- }
634
- skipSeparationSpace(state, true, nodeIndent);
635
- ch = state.input.charCodeAt(state.position);
636
- if (ch === 0x2c /* , */) {
637
- readNext = true;
638
- ch = state.input.charCodeAt(++state.position);
639
- }
640
- else {
641
- readNext = false;
642
- }
643
- }
644
- return throwError(state, "unexpected end of the stream within a flow collection");
645
- }
646
- function readBlockScalar(state, nodeIndent) {
647
- let chomping = CHOMPING_CLIP, didReadContent = false, detectedIndent = false, textIndent = nodeIndent, emptyLines = 0, atMoreIndented = false;
648
- let ch = state.input.charCodeAt(state.position);
649
- let folding = false;
650
- if (ch === 0x7c /* | */) {
651
- folding = false;
652
- }
653
- else if (ch === 0x3e /* > */) {
654
- folding = true;
655
- }
656
- else {
657
- return false;
658
- }
659
- state.kind = "scalar";
660
- state.result = "";
661
- let tmp = 0;
662
- while (ch !== 0) {
663
- ch = state.input.charCodeAt(++state.position);
664
- if (ch === 0x2b || /* + */ ch === 0x2d /* - */) {
665
- if (CHOMPING_CLIP === chomping) {
666
- chomping = ch === 0x2b /* + */ ? CHOMPING_KEEP : CHOMPING_STRIP;
667
- }
668
- else {
669
- return throwError(state, "repeat of a chomping mode identifier");
670
- }
671
- }
672
- else if ((tmp = fromDecimalCode(ch)) >= 0) {
673
- if (tmp === 0) {
674
- return throwError(state, "bad explicit indentation width of a block scalar; it cannot be less than one");
675
- }
676
- else if (!detectedIndent) {
677
- textIndent = nodeIndent + tmp - 1;
678
- detectedIndent = true;
679
- }
680
- else {
681
- return throwError(state, "repeat of an indentation width identifier");
682
- }
683
- }
684
- else {
685
- break;
686
- }
687
- }
688
- if (isWhiteSpace(ch)) {
689
- do {
690
- ch = state.input.charCodeAt(++state.position);
691
- } while (isWhiteSpace(ch));
692
- if (ch === 0x23 /* # */) {
693
- do {
694
- ch = state.input.charCodeAt(++state.position);
695
- } while (!isEOL(ch) && ch !== 0);
696
- }
697
- }
698
- while (ch !== 0) {
699
- readLineBreak(state);
700
- state.lineIndent = 0;
701
- ch = state.input.charCodeAt(state.position);
702
- while ((!detectedIndent || state.lineIndent < textIndent) &&
703
- ch === 0x20 /* Space */) {
704
- state.lineIndent++;
705
- ch = state.input.charCodeAt(++state.position);
706
- }
707
- if (!detectedIndent && state.lineIndent > textIndent) {
708
- textIndent = state.lineIndent;
709
- }
710
- if (isEOL(ch)) {
711
- emptyLines++;
712
- continue;
713
- }
714
- // End of the scalar.
715
- if (state.lineIndent < textIndent) {
716
- // Perform the chomping.
717
- if (chomping === CHOMPING_KEEP) {
718
- state.result += common.repeat("\n", didReadContent ? 1 + emptyLines : emptyLines);
719
- }
720
- else if (chomping === CHOMPING_CLIP) {
721
- if (didReadContent) {
722
- // i.e. only if the scalar is not empty.
723
- state.result += "\n";
724
- }
725
- }
726
- // Break this `while` cycle and go to the function's epilogue.
727
- break;
728
- }
729
- // Folded style: use fancy rules to handle line breaks.
730
- if (folding) {
731
- // Lines starting with white space characters (more-indented lines) are not folded.
732
- if (isWhiteSpace(ch)) {
733
- atMoreIndented = true;
734
- // except for the first content line (cf. Example 8.1)
735
- state.result += common.repeat("\n", didReadContent ? 1 + emptyLines : emptyLines);
736
- // End of more-indented block.
737
- }
738
- else if (atMoreIndented) {
739
- atMoreIndented = false;
740
- state.result += common.repeat("\n", emptyLines + 1);
741
- // Just one line break - perceive as the same line.
742
- }
743
- else if (emptyLines === 0) {
744
- if (didReadContent) {
745
- // i.e. only if we have already read some scalar content.
746
- state.result += " ";
747
- }
748
- // Several line breaks - perceive as different lines.
749
- }
750
- else {
751
- state.result += common.repeat("\n", emptyLines);
752
- }
753
- // Literal style: just add exact number of line breaks between content lines.
754
- }
755
- else {
756
- // Keep all line breaks except the header line break.
757
- state.result += common.repeat("\n", didReadContent ? 1 + emptyLines : emptyLines);
758
- }
759
- didReadContent = true;
760
- detectedIndent = true;
761
- emptyLines = 0;
762
- const captureStart = state.position;
763
- while (!isEOL(ch) && ch !== 0) {
764
- ch = state.input.charCodeAt(++state.position);
765
- }
766
- captureSegment(state, captureStart, state.position, false);
767
- }
768
- return true;
769
- }
770
- function readBlockSequence(state, nodeIndent) {
771
- let line, following, detected = false, ch;
772
- const tag = state.tag, anchor = state.anchor, result = [];
773
- if (state.anchor !== null &&
774
- typeof state.anchor !== "undefined" &&
775
- typeof state.anchorMap !== "undefined") {
776
- state.anchorMap[state.anchor] = result;
777
- }
778
- ch = state.input.charCodeAt(state.position);
779
- while (ch !== 0) {
780
- if (ch !== 0x2d /* - */) {
781
- break;
782
- }
783
- following = state.input.charCodeAt(state.position + 1);
784
- if (!isWsOrEol(following)) {
785
- break;
786
- }
787
- detected = true;
788
- state.position++;
789
- if (skipSeparationSpace(state, true, -1)) {
790
- if (state.lineIndent <= nodeIndent) {
791
- result.push(null);
792
- ch = state.input.charCodeAt(state.position);
793
- continue;
794
- }
795
- }
796
- line = state.line;
797
- composeNode(state, nodeIndent, CONTEXT_BLOCK_IN, false, true);
798
- result.push(state.result);
799
- skipSeparationSpace(state, true, -1);
800
- ch = state.input.charCodeAt(state.position);
801
- if ((state.line === line || state.lineIndent > nodeIndent) && ch !== 0) {
802
- return throwError(state, "bad indentation of a sequence entry");
803
- }
804
- else if (state.lineIndent < nodeIndent) {
805
- break;
806
- }
807
- }
808
- if (detected) {
809
- state.tag = tag;
810
- state.anchor = anchor;
811
- state.kind = "sequence";
812
- state.result = result;
813
- return true;
814
- }
815
- return false;
816
- }
817
- function readBlockMapping(state, nodeIndent, flowIndent) {
818
- const tag = state.tag, anchor = state.anchor, result = {}, overridableKeys = Object.create(null);
819
- let following, allowCompact = false, line, pos, keyTag = null, keyNode = null, valueNode = null, atExplicitKey = false, detected = false, ch;
820
- if (state.anchor !== null &&
821
- typeof state.anchor !== "undefined" &&
822
- typeof state.anchorMap !== "undefined") {
823
- state.anchorMap[state.anchor] = result;
824
- }
825
- ch = state.input.charCodeAt(state.position);
826
- while (ch !== 0) {
827
- following = state.input.charCodeAt(state.position + 1);
828
- line = state.line; // Save the current line.
829
- pos = state.position;
830
- //
831
- // Explicit notation case. There are two separate blocks:
832
- // first for the key (denoted by "?") and second for the value (denoted by ":")
833
- //
834
- if ((ch === 0x3f || /* ? */ ch === 0x3a) && /* : */ isWsOrEol(following)) {
835
- if (ch === 0x3f /* ? */) {
836
- if (atExplicitKey) {
837
- storeMappingPair(state, result, overridableKeys, keyTag, keyNode, null);
838
- keyTag = keyNode = valueNode = null;
839
- }
840
- detected = true;
841
- atExplicitKey = true;
842
- allowCompact = true;
843
- }
844
- else if (atExplicitKey) {
845
- // i.e. 0x3A/* : */ === character after the explicit key.
846
- atExplicitKey = false;
847
- allowCompact = true;
848
- }
849
- else {
850
- return throwError(state, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line");
851
- }
852
- state.position += 1;
853
- ch = following;
854
- //
855
- // Implicit notation case. Flow-style node as the key first, then ":", and the value.
856
- //
857
- }
858
- else if (composeNode(state, flowIndent, CONTEXT_FLOW_OUT, false, true)) {
859
- if (state.line === line) {
860
- ch = state.input.charCodeAt(state.position);
861
- while (isWhiteSpace(ch)) {
862
- ch = state.input.charCodeAt(++state.position);
863
- }
864
- if (ch === 0x3a /* : */) {
865
- ch = state.input.charCodeAt(++state.position);
866
- if (!isWsOrEol(ch)) {
867
- return throwError(state, "a whitespace character is expected after the key-value separator within a block mapping");
868
- }
869
- if (atExplicitKey) {
870
- storeMappingPair(state, result, overridableKeys, keyTag, keyNode, null);
871
- keyTag = keyNode = valueNode = null;
872
- }
873
- detected = true;
874
- atExplicitKey = false;
875
- allowCompact = false;
876
- keyTag = state.tag;
877
- keyNode = state.result;
878
- }
879
- else if (detected) {
880
- return throwError(state, "can not read an implicit mapping pair; a colon is missed");
881
- }
882
- else {
883
- state.tag = tag;
884
- state.anchor = anchor;
885
- return true; // Keep the result of `composeNode`.
886
- }
887
- }
888
- else if (detected) {
889
- return throwError(state, "can not read a block mapping entry; a multiline key may not be an implicit key");
890
- }
891
- else {
892
- state.tag = tag;
893
- state.anchor = anchor;
894
- return true; // Keep the result of `composeNode`.
895
- }
896
- }
897
- else {
898
- break; // Reading is done. Go to the epilogue.
899
- }
900
- //
901
- // Common reading code for both explicit and implicit notations.
902
- //
903
- if (state.line === line || state.lineIndent > nodeIndent) {
904
- if (composeNode(state, nodeIndent, CONTEXT_BLOCK_OUT, true, allowCompact)) {
905
- if (atExplicitKey) {
906
- keyNode = state.result;
907
- }
908
- else {
909
- valueNode = state.result;
910
- }
911
- }
912
- if (!atExplicitKey) {
913
- storeMappingPair(state, result, overridableKeys, keyTag, keyNode, valueNode, line, pos);
914
- keyTag = keyNode = valueNode = null;
915
- }
916
- skipSeparationSpace(state, true, -1);
917
- ch = state.input.charCodeAt(state.position);
918
- }
919
- if (state.lineIndent > nodeIndent && ch !== 0) {
920
- return throwError(state, "bad indentation of a mapping entry");
921
- }
922
- else if (state.lineIndent < nodeIndent) {
923
- break;
924
- }
925
- }
926
- //
927
- // Epilogue.
928
- //
929
- // Special case: last mapping's node contains only the key in explicit notation.
930
- if (atExplicitKey) {
931
- storeMappingPair(state, result, overridableKeys, keyTag, keyNode, null);
932
- }
933
- // Expose the resulting mapping.
934
- if (detected) {
935
- state.tag = tag;
936
- state.anchor = anchor;
937
- state.kind = "mapping";
938
- state.result = result;
939
- }
940
- return detected;
941
- }
942
- function readTagProperty(state) {
943
- let position, isVerbatim = false, isNamed = false, tagHandle = "", tagName, ch;
944
- ch = state.input.charCodeAt(state.position);
945
- if (ch !== 0x21 /* ! */)
946
- return false;
947
- if (state.tag !== null) {
948
- return throwError(state, "duplication of a tag property");
949
- }
950
- ch = state.input.charCodeAt(++state.position);
951
- if (ch === 0x3c /* < */) {
952
- isVerbatim = true;
953
- ch = state.input.charCodeAt(++state.position);
954
- }
955
- else if (ch === 0x21 /* ! */) {
956
- isNamed = true;
957
- tagHandle = "!!";
958
- ch = state.input.charCodeAt(++state.position);
959
- }
960
- else {
961
- tagHandle = "!";
962
- }
963
- position = state.position;
964
- if (isVerbatim) {
965
- do {
966
- ch = state.input.charCodeAt(++state.position);
967
- } while (ch !== 0 && ch !== 0x3e /* > */);
968
- if (state.position < state.length) {
969
- tagName = state.input.slice(position, state.position);
970
- ch = state.input.charCodeAt(++state.position);
971
- }
972
- else {
973
- return throwError(state, "unexpected end of the stream within a verbatim tag");
974
- }
975
- }
976
- else {
977
- while (ch !== 0 && !isWsOrEol(ch)) {
978
- if (ch === 0x21 /* ! */) {
979
- if (!isNamed) {
980
- tagHandle = state.input.slice(position - 1, state.position + 1);
981
- if (!PATTERN_TAG_HANDLE.test(tagHandle)) {
982
- return throwError(state, "named tag handle cannot contain such characters");
983
- }
984
- isNamed = true;
985
- position = state.position + 1;
986
- }
987
- else {
988
- return throwError(state, "tag suffix cannot contain exclamation marks");
989
- }
990
- }
991
- ch = state.input.charCodeAt(++state.position);
992
- }
993
- tagName = state.input.slice(position, state.position);
994
- if (PATTERN_FLOW_INDICATORS.test(tagName)) {
995
- return throwError(state, "tag suffix cannot contain flow indicator characters");
996
- }
997
- }
998
- if (tagName && !PATTERN_TAG_URI.test(tagName)) {
999
- return throwError(state, `tag name cannot contain such characters: ${tagName}`);
1000
- }
1001
- if (isVerbatim) {
1002
- state.tag = tagName;
1003
- }
1004
- else if (typeof state.tagMap !== "undefined" &&
1005
- hasOwn(state.tagMap, tagHandle)) {
1006
- state.tag = state.tagMap[tagHandle] + tagName;
1007
- }
1008
- else if (tagHandle === "!") {
1009
- state.tag = `!${tagName}`;
1010
- }
1011
- else if (tagHandle === "!!") {
1012
- state.tag = `tag:yaml.org,2002:${tagName}`;
1013
- }
1014
- else {
1015
- return throwError(state, `undeclared tag handle "${tagHandle}"`);
1016
- }
1017
- return true;
1018
- }
1019
- function readAnchorProperty(state) {
1020
- let ch = state.input.charCodeAt(state.position);
1021
- if (ch !== 0x26 /* & */)
1022
- return false;
1023
- if (state.anchor !== null) {
1024
- return throwError(state, "duplication of an anchor property");
1025
- }
1026
- ch = state.input.charCodeAt(++state.position);
1027
- const position = state.position;
1028
- while (ch !== 0 && !isWsOrEol(ch) && !isFlowIndicator(ch)) {
1029
- ch = state.input.charCodeAt(++state.position);
1030
- }
1031
- if (state.position === position) {
1032
- return throwError(state, "name of an anchor node must contain at least one character");
1033
- }
1034
- state.anchor = state.input.slice(position, state.position);
1035
- return true;
1036
- }
1037
- function readAlias(state) {
1038
- let ch = state.input.charCodeAt(state.position);
1039
- if (ch !== 0x2a /* * */)
1040
- return false;
1041
- ch = state.input.charCodeAt(++state.position);
1042
- const _position = state.position;
1043
- while (ch !== 0 && !isWsOrEol(ch) && !isFlowIndicator(ch)) {
1044
- ch = state.input.charCodeAt(++state.position);
1045
- }
1046
- if (state.position === _position) {
1047
- return throwError(state, "name of an alias node must contain at least one character");
1048
- }
1049
- const alias = state.input.slice(_position, state.position);
1050
- if (typeof state.anchorMap !== "undefined" &&
1051
- !hasOwn(state.anchorMap, alias)) {
1052
- return throwError(state, `unidentified alias "${alias}"`);
1053
- }
1054
- if (typeof state.anchorMap !== "undefined") {
1055
- state.result = state.anchorMap[alias];
1056
- }
1057
- skipSeparationSpace(state, true, -1);
1058
- return true;
1059
- }
1060
- function composeNode(state, parentIndent, nodeContext, allowToSeek, allowCompact) {
1061
- let allowBlockScalars, allowBlockCollections, indentStatus = 1, // 1: this>parent, 0: this=parent, -1: this<parent
1062
- atNewLine = false, hasContent = false, type, flowIndent, blockIndent;
1063
- if (state.listener && state.listener !== null) {
1064
- state.listener("open", state);
1065
- }
1066
- state.tag = null;
1067
- state.anchor = null;
1068
- state.kind = null;
1069
- state.result = null;
1070
- const allowBlockStyles = (allowBlockScalars =
1071
- allowBlockCollections =
1072
- CONTEXT_BLOCK_OUT === nodeContext || CONTEXT_BLOCK_IN === nodeContext);
1073
- if (allowToSeek) {
1074
- if (skipSeparationSpace(state, true, -1)) {
1075
- atNewLine = true;
1076
- if (state.lineIndent > parentIndent) {
1077
- indentStatus = 1;
1078
- }
1079
- else if (state.lineIndent === parentIndent) {
1080
- indentStatus = 0;
1081
- }
1082
- else if (state.lineIndent < parentIndent) {
1083
- indentStatus = -1;
1084
- }
1085
- }
1086
- }
1087
- if (indentStatus === 1) {
1088
- while (readTagProperty(state) || readAnchorProperty(state)) {
1089
- if (skipSeparationSpace(state, true, -1)) {
1090
- atNewLine = true;
1091
- allowBlockCollections = allowBlockStyles;
1092
- if (state.lineIndent > parentIndent) {
1093
- indentStatus = 1;
1094
- }
1095
- else if (state.lineIndent === parentIndent) {
1096
- indentStatus = 0;
1097
- }
1098
- else if (state.lineIndent < parentIndent) {
1099
- indentStatus = -1;
1100
- }
1101
- }
1102
- else {
1103
- allowBlockCollections = false;
1104
- }
1105
- }
1106
- }
1107
- if (allowBlockCollections) {
1108
- allowBlockCollections = atNewLine || allowCompact;
1109
- }
1110
- if (indentStatus === 1 || CONTEXT_BLOCK_OUT === nodeContext) {
1111
- const cond = CONTEXT_FLOW_IN === nodeContext ||
1112
- CONTEXT_FLOW_OUT === nodeContext;
1113
- flowIndent = cond ? parentIndent : parentIndent + 1;
1114
- blockIndent = state.position - state.lineStart;
1115
- if (indentStatus === 1) {
1116
- if ((allowBlockCollections &&
1117
- (readBlockSequence(state, blockIndent) ||
1118
- readBlockMapping(state, blockIndent, flowIndent))) ||
1119
- readFlowCollection(state, flowIndent)) {
1120
- hasContent = true;
1121
- }
1122
- else {
1123
- if ((allowBlockScalars && readBlockScalar(state, flowIndent)) ||
1124
- readSingleQuotedScalar(state, flowIndent) ||
1125
- readDoubleQuotedScalar(state, flowIndent)) {
1126
- hasContent = true;
1127
- }
1128
- else if (readAlias(state)) {
1129
- hasContent = true;
1130
- if (state.tag !== null || state.anchor !== null) {
1131
- return throwError(state, "alias node should not have Any properties");
1132
- }
1133
- }
1134
- else if (readPlainScalar(state, flowIndent, CONTEXT_FLOW_IN === nodeContext)) {
1135
- hasContent = true;
1136
- if (state.tag === null) {
1137
- state.tag = "?";
1138
- }
1139
- }
1140
- if (state.anchor !== null && typeof state.anchorMap !== "undefined") {
1141
- state.anchorMap[state.anchor] = state.result;
1142
- }
1143
- }
1144
- }
1145
- else if (indentStatus === 0) {
1146
- // Special case: block sequences are allowed to have same indentation level as the parent.
1147
- // http://www.yaml.org/spec/1.2/spec.html#id2799784
1148
- hasContent = allowBlockCollections &&
1149
- readBlockSequence(state, blockIndent);
1150
- }
1151
- }
1152
- if (state.tag !== null && state.tag !== "!") {
1153
- if (state.tag === "?") {
1154
- for (let typeIndex = 0, typeQuantity = state.implicitTypes.length; typeIndex < typeQuantity; typeIndex++) {
1155
- type = state.implicitTypes[typeIndex];
1156
- // Implicit resolving is not allowed for non-scalar types, and '?'
1157
- // non-specific tag is only assigned to plain scalars. So, it isn't
1158
- // needed to check for 'kind' conformity.
1159
- if (type.resolve(state.result)) {
1160
- // `state.result` updated in resolver if matched
1161
- state.result = type.construct(state.result);
1162
- state.tag = type.tag;
1163
- if (state.anchor !== null && typeof state.anchorMap !== "undefined") {
1164
- state.anchorMap[state.anchor] = state.result;
1165
- }
1166
- break;
1167
- }
1168
- }
1169
- }
1170
- else if (hasOwn(state.typeMap[state.kind || "fallback"], state.tag)) {
1171
- type = state.typeMap[state.kind || "fallback"][state.tag];
1172
- if (state.result !== null && type.kind !== state.kind) {
1173
- return throwError(state, `unacceptable node kind for !<${state.tag}> tag; it should be "${type.kind}", not "${state.kind}"`);
1174
- }
1175
- if (!type.resolve(state.result)) {
1176
- // `state.result` updated in resolver if matched
1177
- return throwError(state, `cannot resolve a node with !<${state.tag}> explicit tag`);
1178
- }
1179
- else {
1180
- state.result = type.construct(state.result);
1181
- if (state.anchor !== null && typeof state.anchorMap !== "undefined") {
1182
- state.anchorMap[state.anchor] = state.result;
1183
- }
1184
- }
1185
- }
1186
- else {
1187
- return throwError(state, `unknown tag !<${state.tag}>`);
1188
- }
1189
- }
1190
- if (state.listener && state.listener !== null) {
1191
- state.listener("close", state);
1192
- }
1193
- return state.tag !== null || state.anchor !== null || hasContent;
1194
- }
1195
- function readDocument(state) {
1196
- const documentStart = state.position;
1197
- let position, directiveName, directiveArgs, hasDirectives = false, ch;
1198
- state.version = null;
1199
- state.checkLineBreaks = state.legacy;
1200
- state.tagMap = Object.create(null);
1201
- state.anchorMap = Object.create(null);
1202
- while ((ch = state.input.charCodeAt(state.position)) !== 0) {
1203
- skipSeparationSpace(state, true, -1);
1204
- ch = state.input.charCodeAt(state.position);
1205
- if (state.lineIndent > 0 || ch !== 0x25 /* % */) {
1206
- break;
1207
- }
1208
- hasDirectives = true;
1209
- ch = state.input.charCodeAt(++state.position);
1210
- position = state.position;
1211
- while (ch !== 0 && !isWsOrEol(ch)) {
1212
- ch = state.input.charCodeAt(++state.position);
1213
- }
1214
- directiveName = state.input.slice(position, state.position);
1215
- directiveArgs = [];
1216
- if (directiveName.length < 1) {
1217
- return throwError(state, "directive name must not be less than one character in length");
1218
- }
1219
- while (ch !== 0) {
1220
- while (isWhiteSpace(ch)) {
1221
- ch = state.input.charCodeAt(++state.position);
1222
- }
1223
- if (ch === 0x23 /* # */) {
1224
- do {
1225
- ch = state.input.charCodeAt(++state.position);
1226
- } while (ch !== 0 && !isEOL(ch));
1227
- break;
1228
- }
1229
- if (isEOL(ch))
1230
- break;
1231
- position = state.position;
1232
- while (ch !== 0 && !isWsOrEol(ch)) {
1233
- ch = state.input.charCodeAt(++state.position);
1234
- }
1235
- directiveArgs.push(state.input.slice(position, state.position));
1236
- }
1237
- if (ch !== 0)
1238
- readLineBreak(state);
1239
- if (hasOwn(directiveHandlers, directiveName)) {
1240
- directiveHandlers[directiveName](state, directiveName, ...directiveArgs);
1241
- }
1242
- else {
1243
- throwWarning(state, `unknown document directive "${directiveName}"`);
1244
- }
1245
- }
1246
- skipSeparationSpace(state, true, -1);
1247
- if (state.lineIndent === 0 &&
1248
- state.input.charCodeAt(state.position) === 0x2d /* - */ &&
1249
- state.input.charCodeAt(state.position + 1) === 0x2d /* - */ &&
1250
- state.input.charCodeAt(state.position + 2) === 0x2d /* - */) {
1251
- state.position += 3;
1252
- skipSeparationSpace(state, true, -1);
1253
- }
1254
- else if (hasDirectives) {
1255
- return throwError(state, "directives end mark is expected");
1256
- }
1257
- composeNode(state, state.lineIndent - 1, CONTEXT_BLOCK_OUT, false, true);
1258
- skipSeparationSpace(state, true, -1);
1259
- if (state.checkLineBreaks &&
1260
- PATTERN_NON_ASCII_LINE_BREAKS.test(state.input.slice(documentStart, state.position))) {
1261
- throwWarning(state, "non-ASCII line breaks are interpreted as content");
1262
- }
1263
- state.documents.push(state.result);
1264
- if (state.position === state.lineStart && testDocumentSeparator(state)) {
1265
- if (state.input.charCodeAt(state.position) === 0x2e /* . */) {
1266
- state.position += 3;
1267
- skipSeparationSpace(state, true, -1);
1268
- }
1269
- return;
1270
- }
1271
- if (state.position < state.length - 1) {
1272
- return throwError(state, "end of the stream or a document separator is expected");
1273
- }
1274
- }
1275
- function loadDocuments(input, options) {
1276
- input = String(input);
1277
- options = options || {};
1278
- if (input.length !== 0) {
1279
- // Add tailing `\n` if not exists
1280
- if (input.charCodeAt(input.length - 1) !== 0x0a /* LF */ &&
1281
- input.charCodeAt(input.length - 1) !== 0x0d /* CR */) {
1282
- input += "\n";
1283
- }
1284
- // Strip BOM
1285
- if (input.charCodeAt(0) === 0xfeff) {
1286
- input = input.slice(1);
1287
- }
1288
- }
1289
- const state = new loader_state_js_1.LoaderState(input, options);
1290
- // Use 0 as string terminator. That significantly simplifies bounds check.
1291
- state.input += "\0";
1292
- while (state.input.charCodeAt(state.position) === 0x20 /* Space */) {
1293
- state.lineIndent += 1;
1294
- state.position += 1;
1295
- }
1296
- while (state.position < state.length - 1) {
1297
- readDocument(state);
1298
- }
1299
- return state.documents;
1300
- }
1301
- function isCbFunction(fn) {
1302
- return typeof fn === "function";
1303
- }
1304
- function loadAll(input, iteratorOrOption, options) {
1305
- if (!isCbFunction(iteratorOrOption)) {
1306
- return loadDocuments(input, iteratorOrOption);
1307
- }
1308
- const documents = loadDocuments(input, options);
1309
- const iterator = iteratorOrOption;
1310
- for (let index = 0, length = documents.length; index < length; index++) {
1311
- iterator(documents[index]);
1312
- }
1313
- return void 0;
1314
- }
1315
- function load(input, options) {
1316
- const documents = loadDocuments(input, options);
1317
- if (documents.length === 0) {
1318
- return null;
1319
- }
1320
- if (documents.length === 1) {
1321
- return documents[0];
1322
- }
1323
- throw new _error_js_1.YAMLError("expected a single document in the stream, but found more");
1324
- }