@feiyoug/skill-lab 0.0.0

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 (1137) hide show
  1. package/esm/_dnt.polyfills.d.ts +12 -0
  2. package/esm/_dnt.polyfills.d.ts.map +1 -0
  3. package/esm/_dnt.polyfills.js +15 -0
  4. package/esm/_dnt.shims.d.ts +6 -0
  5. package/esm/_dnt.shims.d.ts.map +1 -0
  6. package/esm/_dnt.shims.js +61 -0
  7. package/esm/analyzer/astgrep/client.d.ts +35 -0
  8. package/esm/analyzer/astgrep/client.d.ts.map +1 -0
  9. package/esm/analyzer/astgrep/client.js +118 -0
  10. package/esm/analyzer/astgrep/mod.d.ts +3 -0
  11. package/esm/analyzer/astgrep/mod.d.ts.map +1 -0
  12. package/esm/analyzer/astgrep/mod.js +1 -0
  13. package/esm/analyzer/astgrep/registry.d.ts +18 -0
  14. package/esm/analyzer/astgrep/registry.d.ts.map +1 -0
  15. package/esm/analyzer/astgrep/registry.js +71 -0
  16. package/esm/analyzer/config.d.ts +27 -0
  17. package/esm/analyzer/config.d.ts.map +1 -0
  18. package/esm/analyzer/config.js +69 -0
  19. package/esm/analyzer/mod.d.ts +24 -0
  20. package/esm/analyzer/mod.d.ts.map +1 -0
  21. package/esm/analyzer/mod.js +63 -0
  22. package/esm/analyzer/rules/bash/astTypes.d.ts +6 -0
  23. package/esm/analyzer/rules/bash/astTypes.d.ts.map +1 -0
  24. package/esm/analyzer/rules/bash/astTypes.js +5 -0
  25. package/esm/analyzer/rules/bash/commands/bd.d.ts +3 -0
  26. package/esm/analyzer/rules/bash/commands/bd.d.ts.map +1 -0
  27. package/esm/analyzer/rules/bash/commands/bd.js +21 -0
  28. package/esm/analyzer/rules/bash/commands/cron.d.ts +3 -0
  29. package/esm/analyzer/rules/bash/commands/cron.d.ts.map +1 -0
  30. package/esm/analyzer/rules/bash/commands/cron.js +19 -0
  31. package/esm/analyzer/rules/bash/commands/docker.d.ts +3 -0
  32. package/esm/analyzer/rules/bash/commands/docker.d.ts.map +1 -0
  33. package/esm/analyzer/rules/bash/commands/docker.js +35 -0
  34. package/esm/analyzer/rules/bash/commands/eval.d.ts +3 -0
  35. package/esm/analyzer/rules/bash/commands/eval.d.ts.map +1 -0
  36. package/esm/analyzer/rules/bash/commands/eval.js +50 -0
  37. package/esm/analyzer/rules/bash/commands/generic.d.ts +3 -0
  38. package/esm/analyzer/rules/bash/commands/generic.d.ts.map +1 -0
  39. package/esm/analyzer/rules/bash/commands/generic.js +14 -0
  40. package/esm/analyzer/rules/bash/commands/gh.d.ts +3 -0
  41. package/esm/analyzer/rules/bash/commands/gh.d.ts.map +1 -0
  42. package/esm/analyzer/rules/bash/commands/gh.js +19 -0
  43. package/esm/analyzer/rules/bash/commands/git.d.ts +3 -0
  44. package/esm/analyzer/rules/bash/commands/git.d.ts.map +1 -0
  45. package/esm/analyzer/rules/bash/commands/git.js +26 -0
  46. package/esm/analyzer/rules/bash/commands/mod.d.ts +13 -0
  47. package/esm/analyzer/rules/bash/commands/mod.d.ts.map +1 -0
  48. package/esm/analyzer/rules/bash/commands/mod.js +32 -0
  49. package/esm/analyzer/rules/bash/commands/node.d.ts +3 -0
  50. package/esm/analyzer/rules/bash/commands/node.d.ts.map +1 -0
  51. package/esm/analyzer/rules/bash/commands/node.js +62 -0
  52. package/esm/analyzer/rules/bash/commands/openspec.d.ts +3 -0
  53. package/esm/analyzer/rules/bash/commands/openspec.d.ts.map +1 -0
  54. package/esm/analyzer/rules/bash/commands/openspec.js +14 -0
  55. package/esm/analyzer/rules/bash/commands/sudo.d.ts +3 -0
  56. package/esm/analyzer/rules/bash/commands/sudo.d.ts.map +1 -0
  57. package/esm/analyzer/rules/bash/commands/sudo.js +19 -0
  58. package/esm/analyzer/rules/bash/destructive.d.ts +3 -0
  59. package/esm/analyzer/rules/bash/destructive.d.ts.map +1 -0
  60. package/esm/analyzer/rules/bash/destructive.js +26 -0
  61. package/esm/analyzer/rules/bash/extractFileRefs.d.ts +13 -0
  62. package/esm/analyzer/rules/bash/extractFileRefs.d.ts.map +1 -0
  63. package/esm/analyzer/rules/bash/extractFileRefs.js +85 -0
  64. package/esm/analyzer/rules/bash/filesystem.d.ts +3 -0
  65. package/esm/analyzer/rules/bash/filesystem.d.ts.map +1 -0
  66. package/esm/analyzer/rules/bash/filesystem.js +48 -0
  67. package/esm/analyzer/rules/bash/injection.d.ts +3 -0
  68. package/esm/analyzer/rules/bash/injection.d.ts.map +1 -0
  69. package/esm/analyzer/rules/bash/injection.js +19 -0
  70. package/esm/analyzer/rules/bash/inline-command-classifier.d.ts +6 -0
  71. package/esm/analyzer/rules/bash/inline-command-classifier.d.ts.map +1 -0
  72. package/esm/analyzer/rules/bash/inline-command-classifier.js +71 -0
  73. package/esm/analyzer/rules/bash/mod.d.ts +5 -0
  74. package/esm/analyzer/rules/bash/mod.d.ts.map +1 -0
  75. package/esm/analyzer/rules/bash/mod.js +19 -0
  76. package/esm/analyzer/rules/bash/network.d.ts +3 -0
  77. package/esm/analyzer/rules/bash/network.d.ts.map +1 -0
  78. package/esm/analyzer/rules/bash/network.js +59 -0
  79. package/esm/analyzer/rules/bash/secret-detection.d.ts +3 -0
  80. package/esm/analyzer/rules/bash/secret-detection.d.ts.map +1 -0
  81. package/esm/analyzer/rules/bash/secret-detection.js +41 -0
  82. package/esm/analyzer/rules/javascript/astTypes.d.ts +9 -0
  83. package/esm/analyzer/rules/javascript/astTypes.d.ts.map +1 -0
  84. package/esm/analyzer/rules/javascript/astTypes.js +8 -0
  85. package/esm/analyzer/rules/javascript/extractFileRefs.d.ts +16 -0
  86. package/esm/analyzer/rules/javascript/extractFileRefs.d.ts.map +1 -0
  87. package/esm/analyzer/rules/javascript/extractFileRefs.js +113 -0
  88. package/esm/analyzer/rules/javascript/filesystem.d.ts +3 -0
  89. package/esm/analyzer/rules/javascript/filesystem.d.ts.map +1 -0
  90. package/esm/analyzer/rules/javascript/filesystem.js +26 -0
  91. package/esm/analyzer/rules/javascript/injection.d.ts +3 -0
  92. package/esm/analyzer/rules/javascript/injection.d.ts.map +1 -0
  93. package/esm/analyzer/rules/javascript/injection.js +19 -0
  94. package/esm/analyzer/rules/javascript/mod.d.ts +6 -0
  95. package/esm/analyzer/rules/javascript/mod.d.ts.map +1 -0
  96. package/esm/analyzer/rules/javascript/mod.js +21 -0
  97. package/esm/analyzer/rules/javascript/network.d.ts +3 -0
  98. package/esm/analyzer/rules/javascript/network.d.ts.map +1 -0
  99. package/esm/analyzer/rules/javascript/network.js +25 -0
  100. package/esm/analyzer/rules/javascript/secret-detection.d.ts +3 -0
  101. package/esm/analyzer/rules/javascript/secret-detection.d.ts.map +1 -0
  102. package/esm/analyzer/rules/javascript/secret-detection.js +66 -0
  103. package/esm/analyzer/rules/javascript/subprocess.d.ts +3 -0
  104. package/esm/analyzer/rules/javascript/subprocess.d.ts.map +1 -0
  105. package/esm/analyzer/rules/javascript/subprocess.js +14 -0
  106. package/esm/analyzer/rules/markdown/astTypes.d.ts +32 -0
  107. package/esm/analyzer/rules/markdown/astTypes.d.ts.map +1 -0
  108. package/esm/analyzer/rules/markdown/astTypes.js +31 -0
  109. package/esm/analyzer/rules/markdown/extractCodeBlocks.d.ts +7 -0
  110. package/esm/analyzer/rules/markdown/extractCodeBlocks.d.ts.map +1 -0
  111. package/esm/analyzer/rules/markdown/extractCodeBlocks.js +70 -0
  112. package/esm/analyzer/rules/markdown/extractFileRefs.d.ts +11 -0
  113. package/esm/analyzer/rules/markdown/extractFileRefs.d.ts.map +1 -0
  114. package/esm/analyzer/rules/markdown/extractFileRefs.js +151 -0
  115. package/esm/analyzer/rules/markdown/mod.d.ts +5 -0
  116. package/esm/analyzer/rules/markdown/mod.d.ts.map +1 -0
  117. package/esm/analyzer/rules/markdown/mod.js +8 -0
  118. package/esm/analyzer/rules/mod.d.ts +13 -0
  119. package/esm/analyzer/rules/mod.d.ts.map +1 -0
  120. package/esm/analyzer/rules/mod.js +55 -0
  121. package/esm/analyzer/rules/python/astTypes.d.ts +10 -0
  122. package/esm/analyzer/rules/python/astTypes.d.ts.map +1 -0
  123. package/esm/analyzer/rules/python/astTypes.js +9 -0
  124. package/esm/analyzer/rules/python/extractFileRefs.d.ts +14 -0
  125. package/esm/analyzer/rules/python/extractFileRefs.d.ts.map +1 -0
  126. package/esm/analyzer/rules/python/extractFileRefs.js +82 -0
  127. package/esm/analyzer/rules/python/mod.d.ts +5 -0
  128. package/esm/analyzer/rules/python/mod.d.ts.map +1 -0
  129. package/esm/analyzer/rules/python/mod.js +11 -0
  130. package/esm/analyzer/rules/python/network.d.ts +3 -0
  131. package/esm/analyzer/rules/python/network.d.ts.map +1 -0
  132. package/esm/analyzer/rules/python/network.js +24 -0
  133. package/esm/analyzer/rules/python/secret-detection.d.ts +3 -0
  134. package/esm/analyzer/rules/python/secret-detection.d.ts.map +1 -0
  135. package/esm/analyzer/rules/python/secret-detection.js +28 -0
  136. package/esm/analyzer/rules/shared/file-refs.d.ts +20 -0
  137. package/esm/analyzer/rules/shared/file-refs.d.ts.map +1 -0
  138. package/esm/analyzer/rules/shared/file-refs.js +34 -0
  139. package/esm/analyzer/rules/shared/network-evaluators.d.ts +4 -0
  140. package/esm/analyzer/rules/shared/network-evaluators.d.ts.map +1 -0
  141. package/esm/analyzer/rules/shared/network-evaluators.js +93 -0
  142. package/esm/analyzer/rules/shared/prompt-injection.d.ts +8 -0
  143. package/esm/analyzer/rules/shared/prompt-injection.d.ts.map +1 -0
  144. package/esm/analyzer/rules/shared/prompt-injection.js +38 -0
  145. package/esm/analyzer/rules/shared/secret-evaluators.d.ts +3 -0
  146. package/esm/analyzer/rules/shared/secret-evaluators.d.ts.map +1 -0
  147. package/esm/analyzer/rules/shared/secret-evaluators.js +11 -0
  148. package/esm/analyzer/rules/text/mod.d.ts +5 -0
  149. package/esm/analyzer/rules/text/mod.d.ts.map +1 -0
  150. package/esm/analyzer/rules/text/mod.js +8 -0
  151. package/esm/analyzer/rules/typescript/mod.d.ts +3 -0
  152. package/esm/analyzer/rules/typescript/mod.d.ts.map +1 -0
  153. package/esm/analyzer/rules/typescript/mod.js +5 -0
  154. package/esm/analyzer/steps/001-discovery/discover-files.d.ts +26 -0
  155. package/esm/analyzer/steps/001-discovery/discover-files.d.ts.map +1 -0
  156. package/esm/analyzer/steps/001-discovery/discover-files.js +147 -0
  157. package/esm/analyzer/steps/001-discovery/filter-files.d.ts +15 -0
  158. package/esm/analyzer/steps/001-discovery/filter-files.d.ts.map +1 -0
  159. package/esm/analyzer/steps/001-discovery/filter-files.js +57 -0
  160. package/esm/analyzer/steps/001-discovery/mod.d.ts +3 -0
  161. package/esm/analyzer/steps/001-discovery/mod.d.ts.map +1 -0
  162. package/esm/analyzer/steps/001-discovery/mod.js +50 -0
  163. package/esm/analyzer/steps/002-permissions/mod.d.ts +3 -0
  164. package/esm/analyzer/steps/002-permissions/mod.d.ts.map +1 -0
  165. package/esm/analyzer/steps/002-permissions/mod.js +185 -0
  166. package/esm/analyzer/steps/002-permissions/scan-file.d.ts +14 -0
  167. package/esm/analyzer/steps/002-permissions/scan-file.d.ts.map +1 -0
  168. package/esm/analyzer/steps/002-permissions/scan-file.js +189 -0
  169. package/esm/analyzer/steps/002-permissions/seed-frontmatter.d.ts +3 -0
  170. package/esm/analyzer/steps/002-permissions/seed-frontmatter.d.ts.map +1 -0
  171. package/esm/analyzer/steps/002-permissions/seed-frontmatter.js +51 -0
  172. package/esm/analyzer/steps/002-permissions/synthesize.d.ts +3 -0
  173. package/esm/analyzer/steps/002-permissions/synthesize.d.ts.map +1 -0
  174. package/esm/analyzer/steps/002-permissions/synthesize.js +33 -0
  175. package/esm/analyzer/steps/003-risks/helpers.d.ts +11 -0
  176. package/esm/analyzer/steps/003-risks/helpers.d.ts.map +1 -0
  177. package/esm/analyzer/steps/003-risks/helpers.js +25 -0
  178. package/esm/analyzer/steps/003-risks/mod.d.ts +3 -0
  179. package/esm/analyzer/steps/003-risks/mod.d.ts.map +1 -0
  180. package/esm/analyzer/steps/003-risks/mod.js +36 -0
  181. package/esm/analyzer/steps/003-risks/output.d.ts +3 -0
  182. package/esm/analyzer/steps/003-risks/output.d.ts.map +1 -0
  183. package/esm/analyzer/steps/003-risks/output.js +16 -0
  184. package/esm/analyzer/steps/003-risks/rule-mapped.d.ts +3 -0
  185. package/esm/analyzer/steps/003-risks/rule-mapped.d.ts.map +1 -0
  186. package/esm/analyzer/steps/003-risks/rule-mapped.js +75 -0
  187. package/esm/analyzer/steps/003-risks/scoring.d.ts +7 -0
  188. package/esm/analyzer/steps/003-risks/scoring.d.ts.map +1 -0
  189. package/esm/analyzer/steps/003-risks/scoring.js +58 -0
  190. package/esm/analyzer/steps/mod.d.ts +4 -0
  191. package/esm/analyzer/steps/mod.d.ts.map +1 -0
  192. package/esm/analyzer/steps/mod.js +3 -0
  193. package/esm/analyzer/treesiter/client.d.ts +26 -0
  194. package/esm/analyzer/treesiter/client.d.ts.map +1 -0
  195. package/esm/analyzer/treesiter/client.js +128 -0
  196. package/esm/analyzer/types.d.ts +75 -0
  197. package/esm/analyzer/types.d.ts.map +1 -0
  198. package/esm/analyzer/types.js +1 -0
  199. package/esm/analyzer/utils/code-block-path.d.ts +9 -0
  200. package/esm/analyzer/utils/code-block-path.d.ts.map +1 -0
  201. package/esm/analyzer/utils/code-block-path.js +22 -0
  202. package/esm/analyzer/utils/id-generator.d.ts +3 -0
  203. package/esm/analyzer/utils/id-generator.d.ts.map +1 -0
  204. package/esm/analyzer/utils/id-generator.js +50 -0
  205. package/esm/analyzer/utils/secret-validator.d.ts +3 -0
  206. package/esm/analyzer/utils/secret-validator.d.ts.map +1 -0
  207. package/esm/analyzer/utils/secret-validator.js +29 -0
  208. package/esm/analyzer/utils/url-parser.d.ts +7 -0
  209. package/esm/analyzer/utils/url-parser.d.ts.map +1 -0
  210. package/esm/analyzer/utils/url-parser.js +26 -0
  211. package/esm/deps/jsr.io/@std/internal/1.0.12/_os.d.ts +2 -0
  212. package/esm/deps/jsr.io/@std/internal/1.0.12/_os.d.ts.map +1 -0
  213. package/esm/deps/jsr.io/@std/internal/1.0.12/_os.js +12 -0
  214. package/esm/deps/jsr.io/@std/internal/1.0.12/os.d.ts +3 -0
  215. package/esm/deps/jsr.io/@std/internal/1.0.12/os.d.ts.map +1 -0
  216. package/esm/deps/jsr.io/@std/internal/1.0.12/os.js +5 -0
  217. package/esm/deps/jsr.io/@std/path/1.1.4/_common/assert_path.d.ts +2 -0
  218. package/esm/deps/jsr.io/@std/path/1.1.4/_common/assert_path.d.ts.map +1 -0
  219. package/esm/deps/jsr.io/@std/path/1.1.4/_common/assert_path.js +7 -0
  220. package/esm/deps/jsr.io/@std/path/1.1.4/_common/basename.d.ts +4 -0
  221. package/esm/deps/jsr.io/@std/path/1.1.4/_common/basename.d.ts.map +1 -0
  222. package/esm/deps/jsr.io/@std/path/1.1.4/_common/basename.js +40 -0
  223. package/esm/deps/jsr.io/@std/path/1.1.4/_common/common.d.ts +2 -0
  224. package/esm/deps/jsr.io/@std/path/1.1.4/_common/common.d.ts.map +1 -0
  225. package/esm/deps/jsr.io/@std/path/1.1.4/_common/common.js +23 -0
  226. package/esm/deps/jsr.io/@std/path/1.1.4/_common/constants.d.ts +40 -0
  227. package/esm/deps/jsr.io/@std/path/1.1.4/_common/constants.d.ts.map +1 -0
  228. package/esm/deps/jsr.io/@std/path/1.1.4/_common/constants.js +46 -0
  229. package/esm/deps/jsr.io/@std/path/1.1.4/_common/dirname.d.ts +2 -0
  230. package/esm/deps/jsr.io/@std/path/1.1.4/_common/dirname.d.ts.map +1 -0
  231. package/esm/deps/jsr.io/@std/path/1.1.4/_common/dirname.js +8 -0
  232. package/esm/deps/jsr.io/@std/path/1.1.4/_common/format.d.ts +4 -0
  233. package/esm/deps/jsr.io/@std/path/1.1.4/_common/format.d.ts.map +1 -0
  234. package/esm/deps/jsr.io/@std/path/1.1.4/_common/format.js +19 -0
  235. package/esm/deps/jsr.io/@std/path/1.1.4/_common/from_file_url.d.ts +2 -0
  236. package/esm/deps/jsr.io/@std/path/1.1.4/_common/from_file_url.d.ts.map +1 -0
  237. package/esm/deps/jsr.io/@std/path/1.1.4/_common/from_file_url.js +9 -0
  238. package/esm/deps/jsr.io/@std/path/1.1.4/_common/glob_to_reg_exp.d.ts +35 -0
  239. package/esm/deps/jsr.io/@std/path/1.1.4/_common/glob_to_reg_exp.d.ts.map +1 -0
  240. package/esm/deps/jsr.io/@std/path/1.1.4/_common/glob_to_reg_exp.js +235 -0
  241. package/esm/deps/jsr.io/@std/path/1.1.4/_common/normalize.d.ts +2 -0
  242. package/esm/deps/jsr.io/@std/path/1.1.4/_common/normalize.d.ts.map +1 -0
  243. package/esm/deps/jsr.io/@std/path/1.1.4/_common/normalize.js +8 -0
  244. package/esm/deps/jsr.io/@std/path/1.1.4/_common/normalize_string.d.ts +2 -0
  245. package/esm/deps/jsr.io/@std/path/1.1.4/_common/normalize_string.d.ts.map +1 -0
  246. package/esm/deps/jsr.io/@std/path/1.1.4/_common/normalize_string.js +77 -0
  247. package/esm/deps/jsr.io/@std/path/1.1.4/_common/relative.d.ts +2 -0
  248. package/esm/deps/jsr.io/@std/path/1.1.4/_common/relative.d.ts.map +1 -0
  249. package/esm/deps/jsr.io/@std/path/1.1.4/_common/relative.js +9 -0
  250. package/esm/deps/jsr.io/@std/path/1.1.4/_common/strip_trailing_separators.d.ts +2 -0
  251. package/esm/deps/jsr.io/@std/path/1.1.4/_common/strip_trailing_separators.d.ts.map +1 -0
  252. package/esm/deps/jsr.io/@std/path/1.1.4/_common/strip_trailing_separators.js +19 -0
  253. package/esm/deps/jsr.io/@std/path/1.1.4/_common/to_file_url.d.ts +2 -0
  254. package/esm/deps/jsr.io/@std/path/1.1.4/_common/to_file_url.d.ts.map +1 -0
  255. package/esm/deps/jsr.io/@std/path/1.1.4/_common/to_file_url.js +15 -0
  256. package/esm/deps/jsr.io/@std/path/1.1.4/basename.d.ts +27 -0
  257. package/esm/deps/jsr.io/@std/path/1.1.4/basename.d.ts.map +1 -0
  258. package/esm/deps/jsr.io/@std/path/1.1.4/basename.js +35 -0
  259. package/esm/deps/jsr.io/@std/path/1.1.4/common.d.ts +28 -0
  260. package/esm/deps/jsr.io/@std/path/1.1.4/common.d.ts.map +1 -0
  261. package/esm/deps/jsr.io/@std/path/1.1.4/common.js +33 -0
  262. package/esm/deps/jsr.io/@std/path/1.1.4/constants.d.ts +15 -0
  263. package/esm/deps/jsr.io/@std/path/1.1.4/constants.d.ts.map +1 -0
  264. package/esm/deps/jsr.io/@std/path/1.1.4/constants.js +17 -0
  265. package/esm/deps/jsr.io/@std/path/1.1.4/dirname.d.ts +22 -0
  266. package/esm/deps/jsr.io/@std/path/1.1.4/dirname.d.ts.map +1 -0
  267. package/esm/deps/jsr.io/@std/path/1.1.4/dirname.js +28 -0
  268. package/esm/deps/jsr.io/@std/path/1.1.4/extname.d.ts +22 -0
  269. package/esm/deps/jsr.io/@std/path/1.1.4/extname.d.ts.map +1 -0
  270. package/esm/deps/jsr.io/@std/path/1.1.4/extname.js +28 -0
  271. package/esm/deps/jsr.io/@std/path/1.1.4/format.d.ts +22 -0
  272. package/esm/deps/jsr.io/@std/path/1.1.4/format.d.ts.map +1 -0
  273. package/esm/deps/jsr.io/@std/path/1.1.4/format.js +27 -0
  274. package/esm/deps/jsr.io/@std/path/1.1.4/from_file_url.d.ts +22 -0
  275. package/esm/deps/jsr.io/@std/path/1.1.4/from_file_url.d.ts.map +1 -0
  276. package/esm/deps/jsr.io/@std/path/1.1.4/from_file_url.js +28 -0
  277. package/esm/deps/jsr.io/@std/path/1.1.4/glob_to_regexp.d.ts +77 -0
  278. package/esm/deps/jsr.io/@std/path/1.1.4/glob_to_regexp.d.ts.map +1 -0
  279. package/esm/deps/jsr.io/@std/path/1.1.4/glob_to_regexp.js +83 -0
  280. package/esm/deps/jsr.io/@std/path/1.1.4/is_absolute.d.ts +22 -0
  281. package/esm/deps/jsr.io/@std/path/1.1.4/is_absolute.d.ts.map +1 -0
  282. package/esm/deps/jsr.io/@std/path/1.1.4/is_absolute.js +28 -0
  283. package/esm/deps/jsr.io/@std/path/1.1.4/is_glob.d.ts +17 -0
  284. package/esm/deps/jsr.io/@std/path/1.1.4/is_glob.d.ts.map +1 -0
  285. package/esm/deps/jsr.io/@std/path/1.1.4/is_glob.js +42 -0
  286. package/esm/deps/jsr.io/@std/path/1.1.4/join.d.ts +23 -0
  287. package/esm/deps/jsr.io/@std/path/1.1.4/join.d.ts.map +1 -0
  288. package/esm/deps/jsr.io/@std/path/1.1.4/join.js +29 -0
  289. package/esm/deps/jsr.io/@std/path/1.1.4/join_globs.d.ts +28 -0
  290. package/esm/deps/jsr.io/@std/path/1.1.4/join_globs.d.ts.map +1 -0
  291. package/esm/deps/jsr.io/@std/path/1.1.4/join_globs.js +34 -0
  292. package/esm/deps/jsr.io/@std/path/1.1.4/mod.d.ts +213 -0
  293. package/esm/deps/jsr.io/@std/path/1.1.4/mod.d.ts.map +1 -0
  294. package/esm/deps/jsr.io/@std/path/1.1.4/mod.js +216 -0
  295. package/esm/deps/jsr.io/@std/path/1.1.4/normalize.d.ts +26 -0
  296. package/esm/deps/jsr.io/@std/path/1.1.4/normalize.d.ts.map +1 -0
  297. package/esm/deps/jsr.io/@std/path/1.1.4/normalize.js +32 -0
  298. package/esm/deps/jsr.io/@std/path/1.1.4/normalize_glob.d.ts +29 -0
  299. package/esm/deps/jsr.io/@std/path/1.1.4/normalize_glob.d.ts.map +1 -0
  300. package/esm/deps/jsr.io/@std/path/1.1.4/normalize_glob.js +35 -0
  301. package/esm/deps/jsr.io/@std/path/1.1.4/parse.d.ts +35 -0
  302. package/esm/deps/jsr.io/@std/path/1.1.4/parse.d.ts.map +1 -0
  303. package/esm/deps/jsr.io/@std/path/1.1.4/parse.js +39 -0
  304. package/esm/deps/jsr.io/@std/path/1.1.4/posix/_util.d.ts +2 -0
  305. package/esm/deps/jsr.io/@std/path/1.1.4/posix/_util.d.ts.map +1 -0
  306. package/esm/deps/jsr.io/@std/path/1.1.4/posix/_util.js +8 -0
  307. package/esm/deps/jsr.io/@std/path/1.1.4/posix/basename.d.ts +39 -0
  308. package/esm/deps/jsr.io/@std/path/1.1.4/posix/basename.d.ts.map +1 -0
  309. package/esm/deps/jsr.io/@std/path/1.1.4/posix/basename.js +52 -0
  310. package/esm/deps/jsr.io/@std/path/1.1.4/posix/constants.d.ts +13 -0
  311. package/esm/deps/jsr.io/@std/path/1.1.4/posix/constants.d.ts.map +1 -0
  312. package/esm/deps/jsr.io/@std/path/1.1.4/posix/constants.js +14 -0
  313. package/esm/deps/jsr.io/@std/path/1.1.4/posix/dirname.d.ts +30 -0
  314. package/esm/deps/jsr.io/@std/path/1.1.4/posix/dirname.d.ts.map +1 -0
  315. package/esm/deps/jsr.io/@std/path/1.1.4/posix/dirname.js +64 -0
  316. package/esm/deps/jsr.io/@std/path/1.1.4/posix/extname.d.ts +37 -0
  317. package/esm/deps/jsr.io/@std/path/1.1.4/posix/extname.d.ts.map +1 -0
  318. package/esm/deps/jsr.io/@std/path/1.1.4/posix/extname.js +93 -0
  319. package/esm/deps/jsr.io/@std/path/1.1.4/posix/format.d.ts +24 -0
  320. package/esm/deps/jsr.io/@std/path/1.1.4/posix/format.d.ts.map +1 -0
  321. package/esm/deps/jsr.io/@std/path/1.1.4/posix/format.js +28 -0
  322. package/esm/deps/jsr.io/@std/path/1.1.4/posix/from_file_url.d.ts +16 -0
  323. package/esm/deps/jsr.io/@std/path/1.1.4/posix/from_file_url.d.ts.map +1 -0
  324. package/esm/deps/jsr.io/@std/path/1.1.4/posix/from_file_url.js +21 -0
  325. package/esm/deps/jsr.io/@std/path/1.1.4/posix/glob_to_regexp.d.ts +72 -0
  326. package/esm/deps/jsr.io/@std/path/1.1.4/posix/glob_to_regexp.d.ts.map +1 -0
  327. package/esm/deps/jsr.io/@std/path/1.1.4/posix/glob_to_regexp.js +82 -0
  328. package/esm/deps/jsr.io/@std/path/1.1.4/posix/is_absolute.d.ts +17 -0
  329. package/esm/deps/jsr.io/@std/path/1.1.4/posix/is_absolute.d.ts.map +1 -0
  330. package/esm/deps/jsr.io/@std/path/1.1.4/posix/is_absolute.js +23 -0
  331. package/esm/deps/jsr.io/@std/path/1.1.4/posix/join.d.ts +31 -0
  332. package/esm/deps/jsr.io/@std/path/1.1.4/posix/join.d.ts.map +1 -0
  333. package/esm/deps/jsr.io/@std/path/1.1.4/posix/join.js +45 -0
  334. package/esm/deps/jsr.io/@std/path/1.1.4/posix/join_globs.d.ts +20 -0
  335. package/esm/deps/jsr.io/@std/path/1.1.4/posix/join_globs.d.ts.map +1 -0
  336. package/esm/deps/jsr.io/@std/path/1.1.4/posix/join_globs.js +40 -0
  337. package/esm/deps/jsr.io/@std/path/1.1.4/posix/normalize.d.ts +37 -0
  338. package/esm/deps/jsr.io/@std/path/1.1.4/posix/normalize.d.ts.map +1 -0
  339. package/esm/deps/jsr.io/@std/path/1.1.4/posix/normalize.js +58 -0
  340. package/esm/deps/jsr.io/@std/path/1.1.4/posix/normalize_glob.d.ts +20 -0
  341. package/esm/deps/jsr.io/@std/path/1.1.4/posix/normalize_glob.d.ts.map +1 -0
  342. package/esm/deps/jsr.io/@std/path/1.1.4/posix/normalize_glob.js +32 -0
  343. package/esm/deps/jsr.io/@std/path/1.1.4/posix/parse.d.ts +25 -0
  344. package/esm/deps/jsr.io/@std/path/1.1.4/posix/parse.d.ts.map +1 -0
  345. package/esm/deps/jsr.io/@std/path/1.1.4/posix/parse.js +115 -0
  346. package/esm/deps/jsr.io/@std/path/1.1.4/posix/relative.d.ts +20 -0
  347. package/esm/deps/jsr.io/@std/path/1.1.4/posix/relative.d.ts.map +1 -0
  348. package/esm/deps/jsr.io/@std/path/1.1.4/posix/relative.js +106 -0
  349. package/esm/deps/jsr.io/@std/path/1.1.4/posix/resolve.d.ts +17 -0
  350. package/esm/deps/jsr.io/@std/path/1.1.4/posix/resolve.d.ts.map +1 -0
  351. package/esm/deps/jsr.io/@std/path/1.1.4/posix/resolve.js +59 -0
  352. package/esm/deps/jsr.io/@std/path/1.1.4/posix/to_file_url.d.ts +17 -0
  353. package/esm/deps/jsr.io/@std/path/1.1.4/posix/to_file_url.d.ts.map +1 -0
  354. package/esm/deps/jsr.io/@std/path/1.1.4/posix/to_file_url.js +27 -0
  355. package/esm/deps/jsr.io/@std/path/1.1.4/posix/to_namespaced_path.d.ts +16 -0
  356. package/esm/deps/jsr.io/@std/path/1.1.4/posix/to_namespaced_path.d.ts.map +1 -0
  357. package/esm/deps/jsr.io/@std/path/1.1.4/posix/to_namespaced_path.js +20 -0
  358. package/esm/deps/jsr.io/@std/path/1.1.4/relative.d.ts +24 -0
  359. package/esm/deps/jsr.io/@std/path/1.1.4/relative.d.ts.map +1 -0
  360. package/esm/deps/jsr.io/@std/path/1.1.4/relative.js +30 -0
  361. package/esm/deps/jsr.io/@std/path/1.1.4/resolve.d.ts +22 -0
  362. package/esm/deps/jsr.io/@std/path/1.1.4/resolve.d.ts.map +1 -0
  363. package/esm/deps/jsr.io/@std/path/1.1.4/resolve.js +30 -0
  364. package/esm/deps/jsr.io/@std/path/1.1.4/to_file_url.d.ts +22 -0
  365. package/esm/deps/jsr.io/@std/path/1.1.4/to_file_url.d.ts.map +1 -0
  366. package/esm/deps/jsr.io/@std/path/1.1.4/to_file_url.js +28 -0
  367. package/esm/deps/jsr.io/@std/path/1.1.4/to_namespaced_path.d.ts +21 -0
  368. package/esm/deps/jsr.io/@std/path/1.1.4/to_namespaced_path.d.ts.map +1 -0
  369. package/esm/deps/jsr.io/@std/path/1.1.4/to_namespaced_path.js +29 -0
  370. package/esm/deps/jsr.io/@std/path/1.1.4/types.d.ts +38 -0
  371. package/esm/deps/jsr.io/@std/path/1.1.4/types.d.ts.map +1 -0
  372. package/esm/deps/jsr.io/@std/path/1.1.4/types.js +3 -0
  373. package/esm/deps/jsr.io/@std/path/1.1.4/windows/_util.d.ts +4 -0
  374. package/esm/deps/jsr.io/@std/path/1.1.4/windows/_util.d.ts.map +1 -0
  375. package/esm/deps/jsr.io/@std/path/1.1.4/windows/_util.js +15 -0
  376. package/esm/deps/jsr.io/@std/path/1.1.4/windows/basename.d.ts +22 -0
  377. package/esm/deps/jsr.io/@std/path/1.1.4/windows/basename.d.ts.map +1 -0
  378. package/esm/deps/jsr.io/@std/path/1.1.4/windows/basename.js +47 -0
  379. package/esm/deps/jsr.io/@std/path/1.1.4/windows/constants.d.ts +13 -0
  380. package/esm/deps/jsr.io/@std/path/1.1.4/windows/constants.d.ts.map +1 -0
  381. package/esm/deps/jsr.io/@std/path/1.1.4/windows/constants.js +14 -0
  382. package/esm/deps/jsr.io/@std/path/1.1.4/windows/dirname.d.ts +17 -0
  383. package/esm/deps/jsr.io/@std/path/1.1.4/windows/dirname.d.ts.map +1 -0
  384. package/esm/deps/jsr.io/@std/path/1.1.4/windows/dirname.js +113 -0
  385. package/esm/deps/jsr.io/@std/path/1.1.4/windows/extname.d.ts +17 -0
  386. package/esm/deps/jsr.io/@std/path/1.1.4/windows/extname.d.ts.map +1 -0
  387. package/esm/deps/jsr.io/@std/path/1.1.4/windows/extname.js +82 -0
  388. package/esm/deps/jsr.io/@std/path/1.1.4/windows/format.d.ts +24 -0
  389. package/esm/deps/jsr.io/@std/path/1.1.4/windows/format.d.ts.map +1 -0
  390. package/esm/deps/jsr.io/@std/path/1.1.4/windows/format.js +28 -0
  391. package/esm/deps/jsr.io/@std/path/1.1.4/windows/from_file_url.d.ts +18 -0
  392. package/esm/deps/jsr.io/@std/path/1.1.4/windows/from_file_url.d.ts.map +1 -0
  393. package/esm/deps/jsr.io/@std/path/1.1.4/windows/from_file_url.js +30 -0
  394. package/esm/deps/jsr.io/@std/path/1.1.4/windows/glob_to_regexp.d.ts +71 -0
  395. package/esm/deps/jsr.io/@std/path/1.1.4/windows/glob_to_regexp.d.ts.map +1 -0
  396. package/esm/deps/jsr.io/@std/path/1.1.4/windows/glob_to_regexp.js +82 -0
  397. package/esm/deps/jsr.io/@std/path/1.1.4/windows/is_absolute.d.ts +17 -0
  398. package/esm/deps/jsr.io/@std/path/1.1.4/windows/is_absolute.d.ts.map +1 -0
  399. package/esm/deps/jsr.io/@std/path/1.1.4/windows/is_absolute.js +38 -0
  400. package/esm/deps/jsr.io/@std/path/1.1.4/windows/join.d.ts +18 -0
  401. package/esm/deps/jsr.io/@std/path/1.1.4/windows/join.d.ts.map +1 -0
  402. package/esm/deps/jsr.io/@std/path/1.1.4/windows/join.js +77 -0
  403. package/esm/deps/jsr.io/@std/path/1.1.4/windows/join_globs.d.ts +21 -0
  404. package/esm/deps/jsr.io/@std/path/1.1.4/windows/join_globs.d.ts.map +1 -0
  405. package/esm/deps/jsr.io/@std/path/1.1.4/windows/join_globs.js +41 -0
  406. package/esm/deps/jsr.io/@std/path/1.1.4/windows/normalize.d.ts +19 -0
  407. package/esm/deps/jsr.io/@std/path/1.1.4/windows/normalize.d.ts.map +1 -0
  408. package/esm/deps/jsr.io/@std/path/1.1.4/windows/normalize.js +135 -0
  409. package/esm/deps/jsr.io/@std/path/1.1.4/windows/normalize_glob.d.ts +20 -0
  410. package/esm/deps/jsr.io/@std/path/1.1.4/windows/normalize_glob.d.ts.map +1 -0
  411. package/esm/deps/jsr.io/@std/path/1.1.4/windows/normalize_glob.js +32 -0
  412. package/esm/deps/jsr.io/@std/path/1.1.4/windows/parse.d.ts +25 -0
  413. package/esm/deps/jsr.io/@std/path/1.1.4/windows/parse.d.ts.map +1 -0
  414. package/esm/deps/jsr.io/@std/path/1.1.4/windows/parse.js +176 -0
  415. package/esm/deps/jsr.io/@std/path/1.1.4/windows/relative.d.ts +23 -0
  416. package/esm/deps/jsr.io/@std/path/1.1.4/windows/relative.d.ts.map +1 -0
  417. package/esm/deps/jsr.io/@std/path/1.1.4/windows/relative.js +131 -0
  418. package/esm/deps/jsr.io/@std/path/1.1.4/windows/resolve.d.ts +17 -0
  419. package/esm/deps/jsr.io/@std/path/1.1.4/windows/resolve.d.ts.map +1 -0
  420. package/esm/deps/jsr.io/@std/path/1.1.4/windows/resolve.js +154 -0
  421. package/esm/deps/jsr.io/@std/path/1.1.4/windows/to_file_url.d.ts +17 -0
  422. package/esm/deps/jsr.io/@std/path/1.1.4/windows/to_file_url.d.ts.map +1 -0
  423. package/esm/deps/jsr.io/@std/path/1.1.4/windows/to_file_url.js +34 -0
  424. package/esm/deps/jsr.io/@std/path/1.1.4/windows/to_namespaced_path.d.ts +17 -0
  425. package/esm/deps/jsr.io/@std/path/1.1.4/windows/to_namespaced_path.d.ts.map +1 -0
  426. package/esm/deps/jsr.io/@std/path/1.1.4/windows/to_namespaced_path.js +49 -0
  427. package/esm/deps/jsr.io/@std/yaml/1.0.11/_chars.d.ts +33 -0
  428. package/esm/deps/jsr.io/@std/yaml/1.0.11/_chars.d.ts.map +1 -0
  429. package/esm/deps/jsr.io/@std/yaml/1.0.11/_chars.js +48 -0
  430. package/esm/deps/jsr.io/@std/yaml/1.0.11/_dumper_state.d.ts +106 -0
  431. package/esm/deps/jsr.io/@std/yaml/1.0.11/_dumper_state.d.ts.map +1 -0
  432. package/esm/deps/jsr.io/@std/yaml/1.0.11/_dumper_state.js +712 -0
  433. package/esm/deps/jsr.io/@std/yaml/1.0.11/_loader_state.d.ts +69 -0
  434. package/esm/deps/jsr.io/@std/yaml/1.0.11/_loader_state.d.ts.map +1 -0
  435. package/esm/deps/jsr.io/@std/yaml/1.0.11/_loader_state.js +1404 -0
  436. package/esm/deps/jsr.io/@std/yaml/1.0.11/_schema.d.ts +44 -0
  437. package/esm/deps/jsr.io/@std/yaml/1.0.11/_schema.d.ts.map +1 -0
  438. package/esm/deps/jsr.io/@std/yaml/1.0.11/_schema.js +117 -0
  439. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/binary.d.ts +3 -0
  440. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/binary.d.ts.map +1 -0
  441. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/binary.js +103 -0
  442. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/bool.d.ts +3 -0
  443. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/bool.d.ts.map +1 -0
  444. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/bool.js +32 -0
  445. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/float.d.ts +3 -0
  446. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/float.d.ts.map +1 -0
  447. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/float.js +96 -0
  448. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/int.d.ts +3 -0
  449. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/int.d.ts.map +1 -0
  450. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/int.js +159 -0
  451. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/map.d.ts +3 -0
  452. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/map.d.ts.map +1 -0
  453. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/map.js +14 -0
  454. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/merge.d.ts +3 -0
  455. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/merge.d.ts.map +1 -0
  456. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/merge.js +10 -0
  457. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/nil.d.ts +3 -0
  458. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/nil.d.ts.map +1 -0
  459. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/nil.js +22 -0
  460. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/omap.d.ts +3 -0
  461. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/omap.d.ts.map +1 -0
  462. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/omap.js +29 -0
  463. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/pairs.d.ts +3 -0
  464. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/pairs.d.ts.map +1 -0
  465. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/pairs.js +19 -0
  466. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/regexp.d.ts +3 -0
  467. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/regexp.d.ts.map +1 -0
  468. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/regexp.js +30 -0
  469. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/seq.d.ts +3 -0
  470. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/seq.d.ts.map +1 -0
  471. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/seq.js +10 -0
  472. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/set.d.ts +3 -0
  473. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/set.d.ts.map +1 -0
  474. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/set.js +14 -0
  475. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/str.d.ts +3 -0
  476. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/str.d.ts.map +1 -0
  477. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/str.js +9 -0
  478. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/timestamp.d.ts +3 -0
  479. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/timestamp.d.ts.map +1 -0
  480. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/timestamp.js +81 -0
  481. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/undefined.d.ts +3 -0
  482. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/undefined.d.ts.map +1 -0
  483. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type/undefined.js +20 -0
  484. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type.d.ts +32 -0
  485. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type.d.ts.map +1 -0
  486. package/esm/deps/jsr.io/@std/yaml/1.0.11/_type.js +6 -0
  487. package/esm/deps/jsr.io/@std/yaml/1.0.11/_utils.d.ts +4 -0
  488. package/esm/deps/jsr.io/@std/yaml/1.0.11/_utils.d.ts.map +1 -0
  489. package/esm/deps/jsr.io/@std/yaml/1.0.11/_utils.js +13 -0
  490. package/esm/deps/jsr.io/@std/yaml/1.0.11/mod.d.ts +50 -0
  491. package/esm/deps/jsr.io/@std/yaml/1.0.11/mod.d.ts.map +1 -0
  492. package/esm/deps/jsr.io/@std/yaml/1.0.11/mod.js +52 -0
  493. package/esm/deps/jsr.io/@std/yaml/1.0.11/parse.d.ts +76 -0
  494. package/esm/deps/jsr.io/@std/yaml/1.0.11/parse.d.ts.map +1 -0
  495. package/esm/deps/jsr.io/@std/yaml/1.0.11/parse.js +93 -0
  496. package/esm/deps/jsr.io/@std/yaml/1.0.11/stringify.d.ts +100 -0
  497. package/esm/deps/jsr.io/@std/yaml/1.0.11/stringify.d.ts.map +1 -0
  498. package/esm/deps/jsr.io/@std/yaml/1.0.11/stringify.js +33 -0
  499. package/esm/package.json +3 -0
  500. package/esm/shared/mod.d.ts +2 -0
  501. package/esm/shared/mod.d.ts.map +1 -0
  502. package/esm/shared/mod.js +1 -0
  503. package/esm/shared/types/filetypes.d.ts +22 -0
  504. package/esm/shared/types/filetypes.d.ts.map +1 -0
  505. package/esm/shared/types/filetypes.js +61 -0
  506. package/esm/shared/types/findings.d.ts +7 -0
  507. package/esm/shared/types/findings.d.ts.map +1 -0
  508. package/esm/shared/types/findings.js +1 -0
  509. package/esm/shared/types/mod.d.ts +7 -0
  510. package/esm/shared/types/mod.d.ts.map +1 -0
  511. package/esm/shared/types/mod.js +6 -0
  512. package/esm/shared/types/permissions.d.ts +16 -0
  513. package/esm/shared/types/permissions.d.ts.map +1 -0
  514. package/esm/shared/types/permissions.js +1 -0
  515. package/esm/shared/types/references.d.ts +26 -0
  516. package/esm/shared/types/references.d.ts.map +1 -0
  517. package/esm/shared/types/references.js +21 -0
  518. package/esm/shared/types/risks.d.ts +36 -0
  519. package/esm/shared/types/risks.d.ts.map +1 -0
  520. package/esm/shared/types/risks.js +1 -0
  521. package/esm/shared/types/syntaxNode.d.ts +14 -0
  522. package/esm/shared/types/syntaxNode.d.ts.map +1 -0
  523. package/esm/shared/types/syntaxNode.js +1 -0
  524. package/esm/skillreader/cloudStorage/mod.d.ts +25 -0
  525. package/esm/skillreader/cloudStorage/mod.d.ts.map +1 -0
  526. package/esm/skillreader/cloudStorage/mod.js +145 -0
  527. package/esm/skillreader/factory.d.ts +11 -0
  528. package/esm/skillreader/factory.d.ts.map +1 -0
  529. package/esm/skillreader/factory.js +55 -0
  530. package/esm/skillreader/fs/git.d.ts +23 -0
  531. package/esm/skillreader/fs/git.d.ts.map +1 -0
  532. package/esm/skillreader/fs/git.js +134 -0
  533. package/esm/skillreader/fs/mod.d.ts +15 -0
  534. package/esm/skillreader/fs/mod.d.ts.map +1 -0
  535. package/esm/skillreader/fs/mod.js +80 -0
  536. package/esm/skillreader/github/base.d.ts +34 -0
  537. package/esm/skillreader/github/base.d.ts.map +1 -0
  538. package/esm/skillreader/github/base.js +159 -0
  539. package/esm/skillreader/github/githubApi.d.ts +9 -0
  540. package/esm/skillreader/github/githubApi.d.ts.map +1 -0
  541. package/esm/skillreader/github/githubApi.js +26 -0
  542. package/esm/skillreader/github/githubRaw.d.ts +7 -0
  543. package/esm/skillreader/github/githubRaw.d.ts.map +1 -0
  544. package/esm/skillreader/github/githubRaw.js +14 -0
  545. package/esm/skillreader/github/mod.d.ts +18 -0
  546. package/esm/skillreader/github/mod.d.ts.map +1 -0
  547. package/esm/skillreader/github/mod.js +37 -0
  548. package/esm/skillreader/github/utils.d.ts +9 -0
  549. package/esm/skillreader/github/utils.d.ts.map +1 -0
  550. package/esm/skillreader/github/utils.js +37 -0
  551. package/esm/skillreader/manifest.d.ts +15 -0
  552. package/esm/skillreader/manifest.d.ts.map +1 -0
  553. package/esm/skillreader/manifest.js +50 -0
  554. package/esm/skillreader/mod.d.ts +12 -0
  555. package/esm/skillreader/mod.d.ts.map +1 -0
  556. package/esm/skillreader/mod.js +7 -0
  557. package/esm/skillreader/types.d.ts +79 -0
  558. package/esm/skillreader/types.d.ts.map +1 -0
  559. package/esm/skillreader/types.js +102 -0
  560. package/esm/skillreader/utils/frontmatter-parser.d.ts +7 -0
  561. package/esm/skillreader/utils/frontmatter-parser.d.ts.map +1 -0
  562. package/esm/skillreader/utils/frontmatter-parser.js +51 -0
  563. package/esm/skillreader/utils/http-range.d.ts +4 -0
  564. package/esm/skillreader/utils/http-range.d.ts.map +1 -0
  565. package/esm/skillreader/utils/http-range.js +30 -0
  566. package/esm/skillreader/utils/mod.d.ts +4 -0
  567. package/esm/skillreader/utils/mod.d.ts.map +1 -0
  568. package/esm/skillreader/utils/mod.js +13 -0
  569. package/package.json +29 -0
  570. package/script/_dnt.polyfills.d.ts +12 -0
  571. package/script/_dnt.polyfills.d.ts.map +1 -0
  572. package/script/_dnt.polyfills.js +16 -0
  573. package/script/_dnt.shims.d.ts +6 -0
  574. package/script/_dnt.shims.d.ts.map +1 -0
  575. package/script/_dnt.shims.js +65 -0
  576. package/script/analyzer/astgrep/client.d.ts +35 -0
  577. package/script/analyzer/astgrep/client.d.ts.map +1 -0
  578. package/script/analyzer/astgrep/client.js +155 -0
  579. package/script/analyzer/astgrep/mod.d.ts +3 -0
  580. package/script/analyzer/astgrep/mod.d.ts.map +1 -0
  581. package/script/analyzer/astgrep/mod.js +5 -0
  582. package/script/analyzer/astgrep/registry.d.ts +18 -0
  583. package/script/analyzer/astgrep/registry.d.ts.map +1 -0
  584. package/script/analyzer/astgrep/registry.js +109 -0
  585. package/script/analyzer/config.d.ts +27 -0
  586. package/script/analyzer/config.d.ts.map +1 -0
  587. package/script/analyzer/config.js +72 -0
  588. package/script/analyzer/mod.d.ts +24 -0
  589. package/script/analyzer/mod.d.ts.map +1 -0
  590. package/script/analyzer/mod.js +71 -0
  591. package/script/analyzer/rules/bash/astTypes.d.ts +6 -0
  592. package/script/analyzer/rules/bash/astTypes.d.ts.map +1 -0
  593. package/script/analyzer/rules/bash/astTypes.js +8 -0
  594. package/script/analyzer/rules/bash/commands/bd.d.ts +3 -0
  595. package/script/analyzer/rules/bash/commands/bd.d.ts.map +1 -0
  596. package/script/analyzer/rules/bash/commands/bd.js +24 -0
  597. package/script/analyzer/rules/bash/commands/cron.d.ts +3 -0
  598. package/script/analyzer/rules/bash/commands/cron.d.ts.map +1 -0
  599. package/script/analyzer/rules/bash/commands/cron.js +22 -0
  600. package/script/analyzer/rules/bash/commands/docker.d.ts +3 -0
  601. package/script/analyzer/rules/bash/commands/docker.d.ts.map +1 -0
  602. package/script/analyzer/rules/bash/commands/docker.js +38 -0
  603. package/script/analyzer/rules/bash/commands/eval.d.ts +3 -0
  604. package/script/analyzer/rules/bash/commands/eval.d.ts.map +1 -0
  605. package/script/analyzer/rules/bash/commands/eval.js +53 -0
  606. package/script/analyzer/rules/bash/commands/generic.d.ts +3 -0
  607. package/script/analyzer/rules/bash/commands/generic.d.ts.map +1 -0
  608. package/script/analyzer/rules/bash/commands/generic.js +17 -0
  609. package/script/analyzer/rules/bash/commands/gh.d.ts +3 -0
  610. package/script/analyzer/rules/bash/commands/gh.d.ts.map +1 -0
  611. package/script/analyzer/rules/bash/commands/gh.js +22 -0
  612. package/script/analyzer/rules/bash/commands/git.d.ts +3 -0
  613. package/script/analyzer/rules/bash/commands/git.d.ts.map +1 -0
  614. package/script/analyzer/rules/bash/commands/git.js +29 -0
  615. package/script/analyzer/rules/bash/commands/mod.d.ts +13 -0
  616. package/script/analyzer/rules/bash/commands/mod.d.ts.map +1 -0
  617. package/script/analyzer/rules/bash/commands/mod.js +49 -0
  618. package/script/analyzer/rules/bash/commands/node.d.ts +3 -0
  619. package/script/analyzer/rules/bash/commands/node.d.ts.map +1 -0
  620. package/script/analyzer/rules/bash/commands/node.js +65 -0
  621. package/script/analyzer/rules/bash/commands/openspec.d.ts +3 -0
  622. package/script/analyzer/rules/bash/commands/openspec.d.ts.map +1 -0
  623. package/script/analyzer/rules/bash/commands/openspec.js +17 -0
  624. package/script/analyzer/rules/bash/commands/sudo.d.ts +3 -0
  625. package/script/analyzer/rules/bash/commands/sudo.d.ts.map +1 -0
  626. package/script/analyzer/rules/bash/commands/sudo.js +22 -0
  627. package/script/analyzer/rules/bash/destructive.d.ts +3 -0
  628. package/script/analyzer/rules/bash/destructive.d.ts.map +1 -0
  629. package/script/analyzer/rules/bash/destructive.js +29 -0
  630. package/script/analyzer/rules/bash/extractFileRefs.d.ts +13 -0
  631. package/script/analyzer/rules/bash/extractFileRefs.d.ts.map +1 -0
  632. package/script/analyzer/rules/bash/extractFileRefs.js +88 -0
  633. package/script/analyzer/rules/bash/filesystem.d.ts +3 -0
  634. package/script/analyzer/rules/bash/filesystem.d.ts.map +1 -0
  635. package/script/analyzer/rules/bash/filesystem.js +51 -0
  636. package/script/analyzer/rules/bash/injection.d.ts +3 -0
  637. package/script/analyzer/rules/bash/injection.d.ts.map +1 -0
  638. package/script/analyzer/rules/bash/injection.js +22 -0
  639. package/script/analyzer/rules/bash/inline-command-classifier.d.ts +6 -0
  640. package/script/analyzer/rules/bash/inline-command-classifier.d.ts.map +1 -0
  641. package/script/analyzer/rules/bash/inline-command-classifier.js +74 -0
  642. package/script/analyzer/rules/bash/mod.d.ts +5 -0
  643. package/script/analyzer/rules/bash/mod.d.ts.map +1 -0
  644. package/script/analyzer/rules/bash/mod.js +22 -0
  645. package/script/analyzer/rules/bash/network.d.ts +3 -0
  646. package/script/analyzer/rules/bash/network.d.ts.map +1 -0
  647. package/script/analyzer/rules/bash/network.js +62 -0
  648. package/script/analyzer/rules/bash/secret-detection.d.ts +3 -0
  649. package/script/analyzer/rules/bash/secret-detection.d.ts.map +1 -0
  650. package/script/analyzer/rules/bash/secret-detection.js +44 -0
  651. package/script/analyzer/rules/javascript/astTypes.d.ts +9 -0
  652. package/script/analyzer/rules/javascript/astTypes.d.ts.map +1 -0
  653. package/script/analyzer/rules/javascript/astTypes.js +11 -0
  654. package/script/analyzer/rules/javascript/extractFileRefs.d.ts +16 -0
  655. package/script/analyzer/rules/javascript/extractFileRefs.d.ts.map +1 -0
  656. package/script/analyzer/rules/javascript/extractFileRefs.js +117 -0
  657. package/script/analyzer/rules/javascript/filesystem.d.ts +3 -0
  658. package/script/analyzer/rules/javascript/filesystem.d.ts.map +1 -0
  659. package/script/analyzer/rules/javascript/filesystem.js +29 -0
  660. package/script/analyzer/rules/javascript/injection.d.ts +3 -0
  661. package/script/analyzer/rules/javascript/injection.d.ts.map +1 -0
  662. package/script/analyzer/rules/javascript/injection.js +22 -0
  663. package/script/analyzer/rules/javascript/mod.d.ts +6 -0
  664. package/script/analyzer/rules/javascript/mod.d.ts.map +1 -0
  665. package/script/analyzer/rules/javascript/mod.js +24 -0
  666. package/script/analyzer/rules/javascript/network.d.ts +3 -0
  667. package/script/analyzer/rules/javascript/network.d.ts.map +1 -0
  668. package/script/analyzer/rules/javascript/network.js +28 -0
  669. package/script/analyzer/rules/javascript/secret-detection.d.ts +3 -0
  670. package/script/analyzer/rules/javascript/secret-detection.d.ts.map +1 -0
  671. package/script/analyzer/rules/javascript/secret-detection.js +69 -0
  672. package/script/analyzer/rules/javascript/subprocess.d.ts +3 -0
  673. package/script/analyzer/rules/javascript/subprocess.d.ts.map +1 -0
  674. package/script/analyzer/rules/javascript/subprocess.js +17 -0
  675. package/script/analyzer/rules/markdown/astTypes.d.ts +32 -0
  676. package/script/analyzer/rules/markdown/astTypes.d.ts.map +1 -0
  677. package/script/analyzer/rules/markdown/astTypes.js +34 -0
  678. package/script/analyzer/rules/markdown/extractCodeBlocks.d.ts +7 -0
  679. package/script/analyzer/rules/markdown/extractCodeBlocks.d.ts.map +1 -0
  680. package/script/analyzer/rules/markdown/extractCodeBlocks.js +73 -0
  681. package/script/analyzer/rules/markdown/extractFileRefs.d.ts +11 -0
  682. package/script/analyzer/rules/markdown/extractFileRefs.d.ts.map +1 -0
  683. package/script/analyzer/rules/markdown/extractFileRefs.js +154 -0
  684. package/script/analyzer/rules/markdown/mod.d.ts +5 -0
  685. package/script/analyzer/rules/markdown/mod.d.ts.map +1 -0
  686. package/script/analyzer/rules/markdown/mod.js +11 -0
  687. package/script/analyzer/rules/mod.d.ts +13 -0
  688. package/script/analyzer/rules/mod.d.ts.map +1 -0
  689. package/script/analyzer/rules/mod.js +59 -0
  690. package/script/analyzer/rules/python/astTypes.d.ts +10 -0
  691. package/script/analyzer/rules/python/astTypes.d.ts.map +1 -0
  692. package/script/analyzer/rules/python/astTypes.js +12 -0
  693. package/script/analyzer/rules/python/extractFileRefs.d.ts +14 -0
  694. package/script/analyzer/rules/python/extractFileRefs.d.ts.map +1 -0
  695. package/script/analyzer/rules/python/extractFileRefs.js +85 -0
  696. package/script/analyzer/rules/python/mod.d.ts +5 -0
  697. package/script/analyzer/rules/python/mod.d.ts.map +1 -0
  698. package/script/analyzer/rules/python/mod.js +14 -0
  699. package/script/analyzer/rules/python/network.d.ts +3 -0
  700. package/script/analyzer/rules/python/network.d.ts.map +1 -0
  701. package/script/analyzer/rules/python/network.js +27 -0
  702. package/script/analyzer/rules/python/secret-detection.d.ts +3 -0
  703. package/script/analyzer/rules/python/secret-detection.d.ts.map +1 -0
  704. package/script/analyzer/rules/python/secret-detection.js +31 -0
  705. package/script/analyzer/rules/shared/file-refs.d.ts +20 -0
  706. package/script/analyzer/rules/shared/file-refs.d.ts.map +1 -0
  707. package/script/analyzer/rules/shared/file-refs.js +40 -0
  708. package/script/analyzer/rules/shared/network-evaluators.d.ts +4 -0
  709. package/script/analyzer/rules/shared/network-evaluators.d.ts.map +1 -0
  710. package/script/analyzer/rules/shared/network-evaluators.js +97 -0
  711. package/script/analyzer/rules/shared/prompt-injection.d.ts +8 -0
  712. package/script/analyzer/rules/shared/prompt-injection.d.ts.map +1 -0
  713. package/script/analyzer/rules/shared/prompt-injection.js +41 -0
  714. package/script/analyzer/rules/shared/secret-evaluators.d.ts +3 -0
  715. package/script/analyzer/rules/shared/secret-evaluators.d.ts.map +1 -0
  716. package/script/analyzer/rules/shared/secret-evaluators.js +15 -0
  717. package/script/analyzer/rules/text/mod.d.ts +5 -0
  718. package/script/analyzer/rules/text/mod.d.ts.map +1 -0
  719. package/script/analyzer/rules/text/mod.js +11 -0
  720. package/script/analyzer/rules/typescript/mod.d.ts +3 -0
  721. package/script/analyzer/rules/typescript/mod.d.ts.map +1 -0
  722. package/script/analyzer/rules/typescript/mod.js +8 -0
  723. package/script/analyzer/steps/001-discovery/discover-files.d.ts +26 -0
  724. package/script/analyzer/steps/001-discovery/discover-files.d.ts.map +1 -0
  725. package/script/analyzer/steps/001-discovery/discover-files.js +150 -0
  726. package/script/analyzer/steps/001-discovery/filter-files.d.ts +15 -0
  727. package/script/analyzer/steps/001-discovery/filter-files.d.ts.map +1 -0
  728. package/script/analyzer/steps/001-discovery/filter-files.js +60 -0
  729. package/script/analyzer/steps/001-discovery/mod.d.ts +3 -0
  730. package/script/analyzer/steps/001-discovery/mod.d.ts.map +1 -0
  731. package/script/analyzer/steps/001-discovery/mod.js +53 -0
  732. package/script/analyzer/steps/002-permissions/mod.d.ts +3 -0
  733. package/script/analyzer/steps/002-permissions/mod.d.ts.map +1 -0
  734. package/script/analyzer/steps/002-permissions/mod.js +188 -0
  735. package/script/analyzer/steps/002-permissions/scan-file.d.ts +14 -0
  736. package/script/analyzer/steps/002-permissions/scan-file.d.ts.map +1 -0
  737. package/script/analyzer/steps/002-permissions/scan-file.js +192 -0
  738. package/script/analyzer/steps/002-permissions/seed-frontmatter.d.ts +3 -0
  739. package/script/analyzer/steps/002-permissions/seed-frontmatter.d.ts.map +1 -0
  740. package/script/analyzer/steps/002-permissions/seed-frontmatter.js +54 -0
  741. package/script/analyzer/steps/002-permissions/synthesize.d.ts +3 -0
  742. package/script/analyzer/steps/002-permissions/synthesize.d.ts.map +1 -0
  743. package/script/analyzer/steps/002-permissions/synthesize.js +36 -0
  744. package/script/analyzer/steps/003-risks/helpers.d.ts +11 -0
  745. package/script/analyzer/steps/003-risks/helpers.d.ts.map +1 -0
  746. package/script/analyzer/steps/003-risks/helpers.js +28 -0
  747. package/script/analyzer/steps/003-risks/mod.d.ts +3 -0
  748. package/script/analyzer/steps/003-risks/mod.d.ts.map +1 -0
  749. package/script/analyzer/steps/003-risks/mod.js +39 -0
  750. package/script/analyzer/steps/003-risks/output.d.ts +3 -0
  751. package/script/analyzer/steps/003-risks/output.d.ts.map +1 -0
  752. package/script/analyzer/steps/003-risks/output.js +19 -0
  753. package/script/analyzer/steps/003-risks/rule-mapped.d.ts +3 -0
  754. package/script/analyzer/steps/003-risks/rule-mapped.d.ts.map +1 -0
  755. package/script/analyzer/steps/003-risks/rule-mapped.js +78 -0
  756. package/script/analyzer/steps/003-risks/scoring.d.ts +7 -0
  757. package/script/analyzer/steps/003-risks/scoring.d.ts.map +1 -0
  758. package/script/analyzer/steps/003-risks/scoring.js +61 -0
  759. package/script/analyzer/steps/mod.d.ts +4 -0
  760. package/script/analyzer/steps/mod.d.ts.map +1 -0
  761. package/script/analyzer/steps/mod.js +9 -0
  762. package/script/analyzer/treesiter/client.d.ts +26 -0
  763. package/script/analyzer/treesiter/client.d.ts.map +1 -0
  764. package/script/analyzer/treesiter/client.js +165 -0
  765. package/script/analyzer/types.d.ts +75 -0
  766. package/script/analyzer/types.d.ts.map +1 -0
  767. package/script/analyzer/types.js +2 -0
  768. package/script/analyzer/utils/code-block-path.d.ts +9 -0
  769. package/script/analyzer/utils/code-block-path.d.ts.map +1 -0
  770. package/script/analyzer/utils/code-block-path.js +27 -0
  771. package/script/analyzer/utils/id-generator.d.ts +3 -0
  772. package/script/analyzer/utils/id-generator.d.ts.map +1 -0
  773. package/script/analyzer/utils/id-generator.js +54 -0
  774. package/script/analyzer/utils/secret-validator.d.ts +3 -0
  775. package/script/analyzer/utils/secret-validator.d.ts.map +1 -0
  776. package/script/analyzer/utils/secret-validator.js +33 -0
  777. package/script/analyzer/utils/url-parser.d.ts +7 -0
  778. package/script/analyzer/utils/url-parser.d.ts.map +1 -0
  779. package/script/analyzer/utils/url-parser.js +30 -0
  780. package/script/deps/jsr.io/@std/internal/1.0.12/_os.d.ts +2 -0
  781. package/script/deps/jsr.io/@std/internal/1.0.12/_os.d.ts.map +1 -0
  782. package/script/deps/jsr.io/@std/internal/1.0.12/_os.js +48 -0
  783. package/script/deps/jsr.io/@std/internal/1.0.12/os.d.ts +3 -0
  784. package/script/deps/jsr.io/@std/internal/1.0.12/os.d.ts.map +1 -0
  785. package/script/deps/jsr.io/@std/internal/1.0.12/os.js +8 -0
  786. package/script/deps/jsr.io/@std/path/1.1.4/_common/assert_path.d.ts +2 -0
  787. package/script/deps/jsr.io/@std/path/1.1.4/_common/assert_path.d.ts.map +1 -0
  788. package/script/deps/jsr.io/@std/path/1.1.4/_common/assert_path.js +10 -0
  789. package/script/deps/jsr.io/@std/path/1.1.4/_common/basename.d.ts +4 -0
  790. package/script/deps/jsr.io/@std/path/1.1.4/_common/basename.d.ts.map +1 -0
  791. package/script/deps/jsr.io/@std/path/1.1.4/_common/basename.js +45 -0
  792. package/script/deps/jsr.io/@std/path/1.1.4/_common/common.d.ts +2 -0
  793. package/script/deps/jsr.io/@std/path/1.1.4/_common/common.d.ts.map +1 -0
  794. package/script/deps/jsr.io/@std/path/1.1.4/_common/common.js +26 -0
  795. package/script/deps/jsr.io/@std/path/1.1.4/_common/constants.d.ts +40 -0
  796. package/script/deps/jsr.io/@std/path/1.1.4/_common/constants.d.ts.map +1 -0
  797. package/script/deps/jsr.io/@std/path/1.1.4/_common/constants.js +49 -0
  798. package/script/deps/jsr.io/@std/path/1.1.4/_common/dirname.d.ts +2 -0
  799. package/script/deps/jsr.io/@std/path/1.1.4/_common/dirname.d.ts.map +1 -0
  800. package/script/deps/jsr.io/@std/path/1.1.4/_common/dirname.js +11 -0
  801. package/script/deps/jsr.io/@std/path/1.1.4/_common/format.d.ts +4 -0
  802. package/script/deps/jsr.io/@std/path/1.1.4/_common/format.d.ts.map +1 -0
  803. package/script/deps/jsr.io/@std/path/1.1.4/_common/format.js +23 -0
  804. package/script/deps/jsr.io/@std/path/1.1.4/_common/from_file_url.d.ts +2 -0
  805. package/script/deps/jsr.io/@std/path/1.1.4/_common/from_file_url.d.ts.map +1 -0
  806. package/script/deps/jsr.io/@std/path/1.1.4/_common/from_file_url.js +12 -0
  807. package/script/deps/jsr.io/@std/path/1.1.4/_common/glob_to_reg_exp.d.ts +35 -0
  808. package/script/deps/jsr.io/@std/path/1.1.4/_common/glob_to_reg_exp.d.ts.map +1 -0
  809. package/script/deps/jsr.io/@std/path/1.1.4/_common/glob_to_reg_exp.js +238 -0
  810. package/script/deps/jsr.io/@std/path/1.1.4/_common/normalize.d.ts +2 -0
  811. package/script/deps/jsr.io/@std/path/1.1.4/_common/normalize.d.ts.map +1 -0
  812. package/script/deps/jsr.io/@std/path/1.1.4/_common/normalize.js +11 -0
  813. package/script/deps/jsr.io/@std/path/1.1.4/_common/normalize_string.d.ts +2 -0
  814. package/script/deps/jsr.io/@std/path/1.1.4/_common/normalize_string.d.ts.map +1 -0
  815. package/script/deps/jsr.io/@std/path/1.1.4/_common/normalize_string.js +80 -0
  816. package/script/deps/jsr.io/@std/path/1.1.4/_common/relative.d.ts +2 -0
  817. package/script/deps/jsr.io/@std/path/1.1.4/_common/relative.d.ts.map +1 -0
  818. package/script/deps/jsr.io/@std/path/1.1.4/_common/relative.js +12 -0
  819. package/script/deps/jsr.io/@std/path/1.1.4/_common/strip_trailing_separators.d.ts +2 -0
  820. package/script/deps/jsr.io/@std/path/1.1.4/_common/strip_trailing_separators.d.ts.map +1 -0
  821. package/script/deps/jsr.io/@std/path/1.1.4/_common/strip_trailing_separators.js +22 -0
  822. package/script/deps/jsr.io/@std/path/1.1.4/_common/to_file_url.d.ts +2 -0
  823. package/script/deps/jsr.io/@std/path/1.1.4/_common/to_file_url.d.ts.map +1 -0
  824. package/script/deps/jsr.io/@std/path/1.1.4/_common/to_file_url.js +18 -0
  825. package/script/deps/jsr.io/@std/path/1.1.4/basename.d.ts +27 -0
  826. package/script/deps/jsr.io/@std/path/1.1.4/basename.d.ts.map +1 -0
  827. package/script/deps/jsr.io/@std/path/1.1.4/basename.js +38 -0
  828. package/script/deps/jsr.io/@std/path/1.1.4/common.d.ts +28 -0
  829. package/script/deps/jsr.io/@std/path/1.1.4/common.d.ts.map +1 -0
  830. package/script/deps/jsr.io/@std/path/1.1.4/common.js +36 -0
  831. package/script/deps/jsr.io/@std/path/1.1.4/constants.d.ts +15 -0
  832. package/script/deps/jsr.io/@std/path/1.1.4/constants.d.ts.map +1 -0
  833. package/script/deps/jsr.io/@std/path/1.1.4/constants.js +20 -0
  834. package/script/deps/jsr.io/@std/path/1.1.4/dirname.d.ts +22 -0
  835. package/script/deps/jsr.io/@std/path/1.1.4/dirname.d.ts.map +1 -0
  836. package/script/deps/jsr.io/@std/path/1.1.4/dirname.js +31 -0
  837. package/script/deps/jsr.io/@std/path/1.1.4/extname.d.ts +22 -0
  838. package/script/deps/jsr.io/@std/path/1.1.4/extname.d.ts.map +1 -0
  839. package/script/deps/jsr.io/@std/path/1.1.4/extname.js +31 -0
  840. package/script/deps/jsr.io/@std/path/1.1.4/format.d.ts +22 -0
  841. package/script/deps/jsr.io/@std/path/1.1.4/format.d.ts.map +1 -0
  842. package/script/deps/jsr.io/@std/path/1.1.4/format.js +30 -0
  843. package/script/deps/jsr.io/@std/path/1.1.4/from_file_url.d.ts +22 -0
  844. package/script/deps/jsr.io/@std/path/1.1.4/from_file_url.d.ts.map +1 -0
  845. package/script/deps/jsr.io/@std/path/1.1.4/from_file_url.js +31 -0
  846. package/script/deps/jsr.io/@std/path/1.1.4/glob_to_regexp.d.ts +77 -0
  847. package/script/deps/jsr.io/@std/path/1.1.4/glob_to_regexp.d.ts.map +1 -0
  848. package/script/deps/jsr.io/@std/path/1.1.4/glob_to_regexp.js +86 -0
  849. package/script/deps/jsr.io/@std/path/1.1.4/is_absolute.d.ts +22 -0
  850. package/script/deps/jsr.io/@std/path/1.1.4/is_absolute.d.ts.map +1 -0
  851. package/script/deps/jsr.io/@std/path/1.1.4/is_absolute.js +31 -0
  852. package/script/deps/jsr.io/@std/path/1.1.4/is_glob.d.ts +17 -0
  853. package/script/deps/jsr.io/@std/path/1.1.4/is_glob.d.ts.map +1 -0
  854. package/script/deps/jsr.io/@std/path/1.1.4/is_glob.js +45 -0
  855. package/script/deps/jsr.io/@std/path/1.1.4/join.d.ts +23 -0
  856. package/script/deps/jsr.io/@std/path/1.1.4/join.d.ts.map +1 -0
  857. package/script/deps/jsr.io/@std/path/1.1.4/join.js +32 -0
  858. package/script/deps/jsr.io/@std/path/1.1.4/join_globs.d.ts +28 -0
  859. package/script/deps/jsr.io/@std/path/1.1.4/join_globs.d.ts.map +1 -0
  860. package/script/deps/jsr.io/@std/path/1.1.4/join_globs.js +37 -0
  861. package/script/deps/jsr.io/@std/path/1.1.4/mod.d.ts +213 -0
  862. package/script/deps/jsr.io/@std/path/1.1.4/mod.d.ts.map +1 -0
  863. package/script/deps/jsr.io/@std/path/1.1.4/mod.js +232 -0
  864. package/script/deps/jsr.io/@std/path/1.1.4/normalize.d.ts +26 -0
  865. package/script/deps/jsr.io/@std/path/1.1.4/normalize.d.ts.map +1 -0
  866. package/script/deps/jsr.io/@std/path/1.1.4/normalize.js +35 -0
  867. package/script/deps/jsr.io/@std/path/1.1.4/normalize_glob.d.ts +29 -0
  868. package/script/deps/jsr.io/@std/path/1.1.4/normalize_glob.d.ts.map +1 -0
  869. package/script/deps/jsr.io/@std/path/1.1.4/normalize_glob.js +38 -0
  870. package/script/deps/jsr.io/@std/path/1.1.4/parse.d.ts +35 -0
  871. package/script/deps/jsr.io/@std/path/1.1.4/parse.d.ts.map +1 -0
  872. package/script/deps/jsr.io/@std/path/1.1.4/parse.js +42 -0
  873. package/script/deps/jsr.io/@std/path/1.1.4/posix/_util.d.ts +2 -0
  874. package/script/deps/jsr.io/@std/path/1.1.4/posix/_util.d.ts.map +1 -0
  875. package/script/deps/jsr.io/@std/path/1.1.4/posix/_util.js +11 -0
  876. package/script/deps/jsr.io/@std/path/1.1.4/posix/basename.d.ts +39 -0
  877. package/script/deps/jsr.io/@std/path/1.1.4/posix/basename.d.ts.map +1 -0
  878. package/script/deps/jsr.io/@std/path/1.1.4/posix/basename.js +55 -0
  879. package/script/deps/jsr.io/@std/path/1.1.4/posix/constants.d.ts +13 -0
  880. package/script/deps/jsr.io/@std/path/1.1.4/posix/constants.d.ts.map +1 -0
  881. package/script/deps/jsr.io/@std/path/1.1.4/posix/constants.js +17 -0
  882. package/script/deps/jsr.io/@std/path/1.1.4/posix/dirname.d.ts +30 -0
  883. package/script/deps/jsr.io/@std/path/1.1.4/posix/dirname.d.ts.map +1 -0
  884. package/script/deps/jsr.io/@std/path/1.1.4/posix/dirname.js +67 -0
  885. package/script/deps/jsr.io/@std/path/1.1.4/posix/extname.d.ts +37 -0
  886. package/script/deps/jsr.io/@std/path/1.1.4/posix/extname.d.ts.map +1 -0
  887. package/script/deps/jsr.io/@std/path/1.1.4/posix/extname.js +96 -0
  888. package/script/deps/jsr.io/@std/path/1.1.4/posix/format.d.ts +24 -0
  889. package/script/deps/jsr.io/@std/path/1.1.4/posix/format.d.ts.map +1 -0
  890. package/script/deps/jsr.io/@std/path/1.1.4/posix/format.js +31 -0
  891. package/script/deps/jsr.io/@std/path/1.1.4/posix/from_file_url.d.ts +16 -0
  892. package/script/deps/jsr.io/@std/path/1.1.4/posix/from_file_url.d.ts.map +1 -0
  893. package/script/deps/jsr.io/@std/path/1.1.4/posix/from_file_url.js +24 -0
  894. package/script/deps/jsr.io/@std/path/1.1.4/posix/glob_to_regexp.d.ts +72 -0
  895. package/script/deps/jsr.io/@std/path/1.1.4/posix/glob_to_regexp.d.ts.map +1 -0
  896. package/script/deps/jsr.io/@std/path/1.1.4/posix/glob_to_regexp.js +85 -0
  897. package/script/deps/jsr.io/@std/path/1.1.4/posix/is_absolute.d.ts +17 -0
  898. package/script/deps/jsr.io/@std/path/1.1.4/posix/is_absolute.d.ts.map +1 -0
  899. package/script/deps/jsr.io/@std/path/1.1.4/posix/is_absolute.js +26 -0
  900. package/script/deps/jsr.io/@std/path/1.1.4/posix/join.d.ts +31 -0
  901. package/script/deps/jsr.io/@std/path/1.1.4/posix/join.d.ts.map +1 -0
  902. package/script/deps/jsr.io/@std/path/1.1.4/posix/join.js +48 -0
  903. package/script/deps/jsr.io/@std/path/1.1.4/posix/join_globs.d.ts +20 -0
  904. package/script/deps/jsr.io/@std/path/1.1.4/posix/join_globs.d.ts.map +1 -0
  905. package/script/deps/jsr.io/@std/path/1.1.4/posix/join_globs.js +43 -0
  906. package/script/deps/jsr.io/@std/path/1.1.4/posix/normalize.d.ts +37 -0
  907. package/script/deps/jsr.io/@std/path/1.1.4/posix/normalize.d.ts.map +1 -0
  908. package/script/deps/jsr.io/@std/path/1.1.4/posix/normalize.js +61 -0
  909. package/script/deps/jsr.io/@std/path/1.1.4/posix/normalize_glob.d.ts +20 -0
  910. package/script/deps/jsr.io/@std/path/1.1.4/posix/normalize_glob.d.ts.map +1 -0
  911. package/script/deps/jsr.io/@std/path/1.1.4/posix/normalize_glob.js +35 -0
  912. package/script/deps/jsr.io/@std/path/1.1.4/posix/parse.d.ts +25 -0
  913. package/script/deps/jsr.io/@std/path/1.1.4/posix/parse.d.ts.map +1 -0
  914. package/script/deps/jsr.io/@std/path/1.1.4/posix/parse.js +118 -0
  915. package/script/deps/jsr.io/@std/path/1.1.4/posix/relative.d.ts +20 -0
  916. package/script/deps/jsr.io/@std/path/1.1.4/posix/relative.d.ts.map +1 -0
  917. package/script/deps/jsr.io/@std/path/1.1.4/posix/relative.js +109 -0
  918. package/script/deps/jsr.io/@std/path/1.1.4/posix/resolve.d.ts +17 -0
  919. package/script/deps/jsr.io/@std/path/1.1.4/posix/resolve.d.ts.map +1 -0
  920. package/script/deps/jsr.io/@std/path/1.1.4/posix/resolve.js +95 -0
  921. package/script/deps/jsr.io/@std/path/1.1.4/posix/to_file_url.d.ts +17 -0
  922. package/script/deps/jsr.io/@std/path/1.1.4/posix/to_file_url.d.ts.map +1 -0
  923. package/script/deps/jsr.io/@std/path/1.1.4/posix/to_file_url.js +30 -0
  924. package/script/deps/jsr.io/@std/path/1.1.4/posix/to_namespaced_path.d.ts +16 -0
  925. package/script/deps/jsr.io/@std/path/1.1.4/posix/to_namespaced_path.d.ts.map +1 -0
  926. package/script/deps/jsr.io/@std/path/1.1.4/posix/to_namespaced_path.js +23 -0
  927. package/script/deps/jsr.io/@std/path/1.1.4/relative.d.ts +24 -0
  928. package/script/deps/jsr.io/@std/path/1.1.4/relative.d.ts.map +1 -0
  929. package/script/deps/jsr.io/@std/path/1.1.4/relative.js +33 -0
  930. package/script/deps/jsr.io/@std/path/1.1.4/resolve.d.ts +22 -0
  931. package/script/deps/jsr.io/@std/path/1.1.4/resolve.d.ts.map +1 -0
  932. package/script/deps/jsr.io/@std/path/1.1.4/resolve.js +33 -0
  933. package/script/deps/jsr.io/@std/path/1.1.4/to_file_url.d.ts +22 -0
  934. package/script/deps/jsr.io/@std/path/1.1.4/to_file_url.d.ts.map +1 -0
  935. package/script/deps/jsr.io/@std/path/1.1.4/to_file_url.js +31 -0
  936. package/script/deps/jsr.io/@std/path/1.1.4/to_namespaced_path.d.ts +21 -0
  937. package/script/deps/jsr.io/@std/path/1.1.4/to_namespaced_path.d.ts.map +1 -0
  938. package/script/deps/jsr.io/@std/path/1.1.4/to_namespaced_path.js +32 -0
  939. package/script/deps/jsr.io/@std/path/1.1.4/types.d.ts +38 -0
  940. package/script/deps/jsr.io/@std/path/1.1.4/types.d.ts.map +1 -0
  941. package/script/deps/jsr.io/@std/path/1.1.4/types.js +4 -0
  942. package/script/deps/jsr.io/@std/path/1.1.4/windows/_util.d.ts +4 -0
  943. package/script/deps/jsr.io/@std/path/1.1.4/windows/_util.d.ts.map +1 -0
  944. package/script/deps/jsr.io/@std/path/1.1.4/windows/_util.js +20 -0
  945. package/script/deps/jsr.io/@std/path/1.1.4/windows/basename.d.ts +22 -0
  946. package/script/deps/jsr.io/@std/path/1.1.4/windows/basename.d.ts.map +1 -0
  947. package/script/deps/jsr.io/@std/path/1.1.4/windows/basename.js +50 -0
  948. package/script/deps/jsr.io/@std/path/1.1.4/windows/constants.d.ts +13 -0
  949. package/script/deps/jsr.io/@std/path/1.1.4/windows/constants.d.ts.map +1 -0
  950. package/script/deps/jsr.io/@std/path/1.1.4/windows/constants.js +17 -0
  951. package/script/deps/jsr.io/@std/path/1.1.4/windows/dirname.d.ts +17 -0
  952. package/script/deps/jsr.io/@std/path/1.1.4/windows/dirname.d.ts.map +1 -0
  953. package/script/deps/jsr.io/@std/path/1.1.4/windows/dirname.js +116 -0
  954. package/script/deps/jsr.io/@std/path/1.1.4/windows/extname.d.ts +17 -0
  955. package/script/deps/jsr.io/@std/path/1.1.4/windows/extname.d.ts.map +1 -0
  956. package/script/deps/jsr.io/@std/path/1.1.4/windows/extname.js +85 -0
  957. package/script/deps/jsr.io/@std/path/1.1.4/windows/format.d.ts +24 -0
  958. package/script/deps/jsr.io/@std/path/1.1.4/windows/format.d.ts.map +1 -0
  959. package/script/deps/jsr.io/@std/path/1.1.4/windows/format.js +31 -0
  960. package/script/deps/jsr.io/@std/path/1.1.4/windows/from_file_url.d.ts +18 -0
  961. package/script/deps/jsr.io/@std/path/1.1.4/windows/from_file_url.d.ts.map +1 -0
  962. package/script/deps/jsr.io/@std/path/1.1.4/windows/from_file_url.js +33 -0
  963. package/script/deps/jsr.io/@std/path/1.1.4/windows/glob_to_regexp.d.ts +71 -0
  964. package/script/deps/jsr.io/@std/path/1.1.4/windows/glob_to_regexp.d.ts.map +1 -0
  965. package/script/deps/jsr.io/@std/path/1.1.4/windows/glob_to_regexp.js +85 -0
  966. package/script/deps/jsr.io/@std/path/1.1.4/windows/is_absolute.d.ts +17 -0
  967. package/script/deps/jsr.io/@std/path/1.1.4/windows/is_absolute.d.ts.map +1 -0
  968. package/script/deps/jsr.io/@std/path/1.1.4/windows/is_absolute.js +41 -0
  969. package/script/deps/jsr.io/@std/path/1.1.4/windows/join.d.ts +18 -0
  970. package/script/deps/jsr.io/@std/path/1.1.4/windows/join.d.ts.map +1 -0
  971. package/script/deps/jsr.io/@std/path/1.1.4/windows/join.js +80 -0
  972. package/script/deps/jsr.io/@std/path/1.1.4/windows/join_globs.d.ts +21 -0
  973. package/script/deps/jsr.io/@std/path/1.1.4/windows/join_globs.d.ts.map +1 -0
  974. package/script/deps/jsr.io/@std/path/1.1.4/windows/join_globs.js +44 -0
  975. package/script/deps/jsr.io/@std/path/1.1.4/windows/normalize.d.ts +19 -0
  976. package/script/deps/jsr.io/@std/path/1.1.4/windows/normalize.d.ts.map +1 -0
  977. package/script/deps/jsr.io/@std/path/1.1.4/windows/normalize.js +138 -0
  978. package/script/deps/jsr.io/@std/path/1.1.4/windows/normalize_glob.d.ts +20 -0
  979. package/script/deps/jsr.io/@std/path/1.1.4/windows/normalize_glob.d.ts.map +1 -0
  980. package/script/deps/jsr.io/@std/path/1.1.4/windows/normalize_glob.js +35 -0
  981. package/script/deps/jsr.io/@std/path/1.1.4/windows/parse.d.ts +25 -0
  982. package/script/deps/jsr.io/@std/path/1.1.4/windows/parse.d.ts.map +1 -0
  983. package/script/deps/jsr.io/@std/path/1.1.4/windows/parse.js +179 -0
  984. package/script/deps/jsr.io/@std/path/1.1.4/windows/relative.d.ts +23 -0
  985. package/script/deps/jsr.io/@std/path/1.1.4/windows/relative.d.ts.map +1 -0
  986. package/script/deps/jsr.io/@std/path/1.1.4/windows/relative.js +134 -0
  987. package/script/deps/jsr.io/@std/path/1.1.4/windows/resolve.d.ts +17 -0
  988. package/script/deps/jsr.io/@std/path/1.1.4/windows/resolve.d.ts.map +1 -0
  989. package/script/deps/jsr.io/@std/path/1.1.4/windows/resolve.js +190 -0
  990. package/script/deps/jsr.io/@std/path/1.1.4/windows/to_file_url.d.ts +17 -0
  991. package/script/deps/jsr.io/@std/path/1.1.4/windows/to_file_url.d.ts.map +1 -0
  992. package/script/deps/jsr.io/@std/path/1.1.4/windows/to_file_url.js +37 -0
  993. package/script/deps/jsr.io/@std/path/1.1.4/windows/to_namespaced_path.d.ts +17 -0
  994. package/script/deps/jsr.io/@std/path/1.1.4/windows/to_namespaced_path.d.ts.map +1 -0
  995. package/script/deps/jsr.io/@std/path/1.1.4/windows/to_namespaced_path.js +52 -0
  996. package/script/deps/jsr.io/@std/yaml/1.0.11/_chars.d.ts +33 -0
  997. package/script/deps/jsr.io/@std/yaml/1.0.11/_chars.d.ts.map +1 -0
  998. package/script/deps/jsr.io/@std/yaml/1.0.11/_chars.js +55 -0
  999. package/script/deps/jsr.io/@std/yaml/1.0.11/_dumper_state.d.ts +106 -0
  1000. package/script/deps/jsr.io/@std/yaml/1.0.11/_dumper_state.d.ts.map +1 -0
  1001. package/script/deps/jsr.io/@std/yaml/1.0.11/_dumper_state.js +716 -0
  1002. package/script/deps/jsr.io/@std/yaml/1.0.11/_loader_state.d.ts +69 -0
  1003. package/script/deps/jsr.io/@std/yaml/1.0.11/_loader_state.d.ts.map +1 -0
  1004. package/script/deps/jsr.io/@std/yaml/1.0.11/_loader_state.js +1408 -0
  1005. package/script/deps/jsr.io/@std/yaml/1.0.11/_schema.d.ts +44 -0
  1006. package/script/deps/jsr.io/@std/yaml/1.0.11/_schema.d.ts.map +1 -0
  1007. package/script/deps/jsr.io/@std/yaml/1.0.11/_schema.js +121 -0
  1008. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/binary.d.ts +3 -0
  1009. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/binary.d.ts.map +1 -0
  1010. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/binary.js +106 -0
  1011. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/bool.d.ts +3 -0
  1012. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/bool.d.ts.map +1 -0
  1013. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/bool.js +35 -0
  1014. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/float.d.ts +3 -0
  1015. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/float.d.ts.map +1 -0
  1016. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/float.js +99 -0
  1017. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/int.d.ts +3 -0
  1018. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/int.d.ts.map +1 -0
  1019. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/int.js +162 -0
  1020. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/map.d.ts +3 -0
  1021. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/map.d.ts.map +1 -0
  1022. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/map.js +17 -0
  1023. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/merge.d.ts +3 -0
  1024. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/merge.d.ts.map +1 -0
  1025. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/merge.js +13 -0
  1026. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/nil.d.ts +3 -0
  1027. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/nil.d.ts.map +1 -0
  1028. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/nil.js +25 -0
  1029. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/omap.d.ts +3 -0
  1030. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/omap.d.ts.map +1 -0
  1031. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/omap.js +32 -0
  1032. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/pairs.d.ts +3 -0
  1033. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/pairs.d.ts.map +1 -0
  1034. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/pairs.js +22 -0
  1035. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/regexp.d.ts +3 -0
  1036. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/regexp.d.ts.map +1 -0
  1037. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/regexp.js +33 -0
  1038. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/seq.d.ts +3 -0
  1039. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/seq.d.ts.map +1 -0
  1040. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/seq.js +13 -0
  1041. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/set.d.ts +3 -0
  1042. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/set.d.ts.map +1 -0
  1043. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/set.js +17 -0
  1044. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/str.d.ts +3 -0
  1045. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/str.d.ts.map +1 -0
  1046. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/str.js +12 -0
  1047. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/timestamp.d.ts +3 -0
  1048. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/timestamp.d.ts.map +1 -0
  1049. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/timestamp.js +84 -0
  1050. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/undefined.d.ts +3 -0
  1051. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/undefined.d.ts.map +1 -0
  1052. package/script/deps/jsr.io/@std/yaml/1.0.11/_type/undefined.js +23 -0
  1053. package/script/deps/jsr.io/@std/yaml/1.0.11/_type.d.ts +32 -0
  1054. package/script/deps/jsr.io/@std/yaml/1.0.11/_type.d.ts.map +1 -0
  1055. package/script/deps/jsr.io/@std/yaml/1.0.11/_type.js +7 -0
  1056. package/script/deps/jsr.io/@std/yaml/1.0.11/_utils.d.ts +4 -0
  1057. package/script/deps/jsr.io/@std/yaml/1.0.11/_utils.d.ts.map +1 -0
  1058. package/script/deps/jsr.io/@std/yaml/1.0.11/_utils.js +18 -0
  1059. package/script/deps/jsr.io/@std/yaml/1.0.11/mod.d.ts +50 -0
  1060. package/script/deps/jsr.io/@std/yaml/1.0.11/mod.d.ts.map +1 -0
  1061. package/script/deps/jsr.io/@std/yaml/1.0.11/mod.js +68 -0
  1062. package/script/deps/jsr.io/@std/yaml/1.0.11/parse.d.ts +76 -0
  1063. package/script/deps/jsr.io/@std/yaml/1.0.11/parse.d.ts.map +1 -0
  1064. package/script/deps/jsr.io/@std/yaml/1.0.11/parse.js +97 -0
  1065. package/script/deps/jsr.io/@std/yaml/1.0.11/stringify.d.ts +100 -0
  1066. package/script/deps/jsr.io/@std/yaml/1.0.11/stringify.d.ts.map +1 -0
  1067. package/script/deps/jsr.io/@std/yaml/1.0.11/stringify.js +36 -0
  1068. package/script/package.json +3 -0
  1069. package/script/shared/mod.d.ts +2 -0
  1070. package/script/shared/mod.d.ts.map +1 -0
  1071. package/script/shared/mod.js +17 -0
  1072. package/script/shared/types/filetypes.d.ts +22 -0
  1073. package/script/shared/types/filetypes.d.ts.map +1 -0
  1074. package/script/shared/types/filetypes.js +66 -0
  1075. package/script/shared/types/findings.d.ts +7 -0
  1076. package/script/shared/types/findings.d.ts.map +1 -0
  1077. package/script/shared/types/findings.js +2 -0
  1078. package/script/shared/types/mod.d.ts +7 -0
  1079. package/script/shared/types/mod.d.ts.map +1 -0
  1080. package/script/shared/types/mod.js +22 -0
  1081. package/script/shared/types/permissions.d.ts +16 -0
  1082. package/script/shared/types/permissions.d.ts.map +1 -0
  1083. package/script/shared/types/permissions.js +2 -0
  1084. package/script/shared/types/references.d.ts +26 -0
  1085. package/script/shared/types/references.d.ts.map +1 -0
  1086. package/script/shared/types/references.js +25 -0
  1087. package/script/shared/types/risks.d.ts +36 -0
  1088. package/script/shared/types/risks.d.ts.map +1 -0
  1089. package/script/shared/types/risks.js +2 -0
  1090. package/script/shared/types/syntaxNode.d.ts +14 -0
  1091. package/script/shared/types/syntaxNode.d.ts.map +1 -0
  1092. package/script/shared/types/syntaxNode.js +2 -0
  1093. package/script/skillreader/cloudStorage/mod.d.ts +25 -0
  1094. package/script/skillreader/cloudStorage/mod.d.ts.map +1 -0
  1095. package/script/skillreader/cloudStorage/mod.js +149 -0
  1096. package/script/skillreader/factory.d.ts +11 -0
  1097. package/script/skillreader/factory.d.ts.map +1 -0
  1098. package/script/skillreader/factory.js +92 -0
  1099. package/script/skillreader/fs/git.d.ts +23 -0
  1100. package/script/skillreader/fs/git.d.ts.map +1 -0
  1101. package/script/skillreader/fs/git.js +172 -0
  1102. package/script/skillreader/fs/mod.d.ts +15 -0
  1103. package/script/skillreader/fs/mod.d.ts.map +1 -0
  1104. package/script/skillreader/fs/mod.js +117 -0
  1105. package/script/skillreader/github/base.d.ts +34 -0
  1106. package/script/skillreader/github/base.d.ts.map +1 -0
  1107. package/script/skillreader/github/base.js +163 -0
  1108. package/script/skillreader/github/githubApi.d.ts +9 -0
  1109. package/script/skillreader/github/githubApi.d.ts.map +1 -0
  1110. package/script/skillreader/github/githubApi.js +30 -0
  1111. package/script/skillreader/github/githubRaw.d.ts +7 -0
  1112. package/script/skillreader/github/githubRaw.d.ts.map +1 -0
  1113. package/script/skillreader/github/githubRaw.js +18 -0
  1114. package/script/skillreader/github/mod.d.ts +18 -0
  1115. package/script/skillreader/github/mod.d.ts.map +1 -0
  1116. package/script/skillreader/github/mod.js +43 -0
  1117. package/script/skillreader/github/utils.d.ts +9 -0
  1118. package/script/skillreader/github/utils.d.ts.map +1 -0
  1119. package/script/skillreader/github/utils.js +43 -0
  1120. package/script/skillreader/manifest.d.ts +15 -0
  1121. package/script/skillreader/manifest.d.ts.map +1 -0
  1122. package/script/skillreader/manifest.js +57 -0
  1123. package/script/skillreader/mod.d.ts +12 -0
  1124. package/script/skillreader/mod.d.ts.map +1 -0
  1125. package/script/skillreader/mod.js +23 -0
  1126. package/script/skillreader/types.d.ts +79 -0
  1127. package/script/skillreader/types.d.ts.map +1 -0
  1128. package/script/skillreader/types.js +106 -0
  1129. package/script/skillreader/utils/frontmatter-parser.d.ts +7 -0
  1130. package/script/skillreader/utils/frontmatter-parser.d.ts.map +1 -0
  1131. package/script/skillreader/utils/frontmatter-parser.js +87 -0
  1132. package/script/skillreader/utils/http-range.d.ts +4 -0
  1133. package/script/skillreader/utils/http-range.d.ts.map +1 -0
  1134. package/script/skillreader/utils/http-range.js +35 -0
  1135. package/script/skillreader/utils/mod.d.ts +4 -0
  1136. package/script/skillreader/utils/mod.d.ts.map +1 -0
  1137. package/script/skillreader/utils/mod.js +30 -0
@@ -0,0 +1,1408 @@
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-2026 the Deno authors. MIT license.
6
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
7
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
8
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
9
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
10
+ };
11
+ var _LoaderState_instances, _LoaderState_createError;
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ exports.LoaderState = void 0;
14
+ const _chars_js_1 = require("./_chars.js");
15
+ const _schema_js_1 = require("./_schema.js");
16
+ const _utils_js_1 = require("./_utils.js");
17
+ const CONTEXT_FLOW_IN = 1;
18
+ const CONTEXT_FLOW_OUT = 2;
19
+ const CONTEXT_BLOCK_IN = 3;
20
+ const CONTEXT_BLOCK_OUT = 4;
21
+ const CHOMPING_CLIP = 1;
22
+ const CHOMPING_STRIP = 2;
23
+ const CHOMPING_KEEP = 3;
24
+ const PATTERN_NON_PRINTABLE =
25
+ // deno-lint-ignore no-control-regex
26
+ /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;
27
+ const PATTERN_NON_ASCII_LINE_BREAKS = /[\x85\u2028\u2029]/;
28
+ const PATTERN_FLOW_INDICATORS = /[,\[\]\{\}]/;
29
+ const PATTERN_TAG_HANDLE = /^(?:!|!!|![a-z\-]+!)$/i;
30
+ const PATTERN_TAG_URI = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
31
+ const ESCAPED_HEX_LENGTHS = new Map([
32
+ [0x78, 2], // x
33
+ [0x75, 4], // u
34
+ [0x55, 8], // U
35
+ ]);
36
+ const SIMPLE_ESCAPE_SEQUENCES = new Map([
37
+ [0x30, "\x00"], // 0
38
+ [0x61, "\x07"], // a
39
+ [0x62, "\x08"], // b
40
+ [0x74, "\x09"], // t
41
+ [0x09, "\x09"], // Tab
42
+ [0x6e, "\x0A"], // n
43
+ [0x76, "\x0B"], // v
44
+ [0x66, "\x0C"], // f
45
+ [0x72, "\x0D"], // r
46
+ [0x65, "\x1B"], // e
47
+ [0x20, " "], // Space
48
+ [0x22, '"'], // "
49
+ [0x2f, "/"], // /
50
+ [0x5c, "\\"], // \
51
+ [0x4e, "\x85"], // N
52
+ [0x5f, "\xA0"], // _
53
+ [0x4c, "\u2028"], // L
54
+ [0x50, "\u2029"], // P
55
+ ]);
56
+ /**
57
+ * Converts a hexadecimal character code to its decimal value.
58
+ */
59
+ function hexCharCodeToNumber(charCode) {
60
+ // Check if the character code is in the range for '0' to '9'
61
+ if (0x30 <= charCode && charCode <= 0x39)
62
+ return charCode - 0x30; // Convert '0'-'9' to 0-9
63
+ // Normalize the character code to lowercase if it's a letter
64
+ const lc = charCode | 0x20;
65
+ // Check if the character code is in the range for 'a' to 'f'
66
+ if (0x61 <= lc && lc <= 0x66)
67
+ return lc - 0x61 + 10; // Convert 'a'-'f' to 10-15
68
+ return -1;
69
+ }
70
+ /**
71
+ * Converts a decimal character code to its decimal value.
72
+ */
73
+ function decimalCharCodeToNumber(charCode) {
74
+ // Check if the character code is in the range for '0' to '9'
75
+ if (0x30 <= charCode && charCode <= 0x39)
76
+ return charCode - 0x30; // Convert '0'-'9' to 0-9
77
+ return -1;
78
+ }
79
+ /**
80
+ * Converts a Unicode code point to a string.
81
+ */
82
+ function codepointToChar(codepoint) {
83
+ // Check if the code point is within the Basic Multilingual Plane (BMP)
84
+ if (codepoint <= 0xffff)
85
+ return String.fromCharCode(codepoint); // Convert BMP code point to character
86
+ // Encode UTF-16 surrogate pair for code points beyond BMP
87
+ // Reference: https://en.wikipedia.org/wiki/UTF-16#Code_points_U.2B010000_to_U.2B10FFFF
88
+ return String.fromCharCode(((codepoint - 0x010000) >> 10) + 0xd800, // High surrogate
89
+ ((codepoint - 0x010000) & 0x03ff) + 0xdc00);
90
+ }
91
+ const INDENT = 4;
92
+ const MAX_LENGTH = 75;
93
+ const DELIMITERS = "\x00\r\n\x85\u2028\u2029";
94
+ function getSnippet(buffer, position) {
95
+ if (!buffer)
96
+ return null;
97
+ let start = position;
98
+ let end = position;
99
+ let head = "";
100
+ let tail = "";
101
+ while (start > 0 && !DELIMITERS.includes(buffer.charAt(start - 1))) {
102
+ start--;
103
+ if (position - start > MAX_LENGTH / 2 - 1) {
104
+ head = " ... ";
105
+ start += 5;
106
+ break;
107
+ }
108
+ }
109
+ while (end < buffer.length && !DELIMITERS.includes(buffer.charAt(end))) {
110
+ end++;
111
+ if (end - position > MAX_LENGTH / 2 - 1) {
112
+ tail = " ... ";
113
+ end -= 5;
114
+ break;
115
+ }
116
+ }
117
+ const snippet = buffer.slice(start, end);
118
+ const indent = " ".repeat(INDENT);
119
+ const caretIndent = " ".repeat(INDENT + position - start + head.length);
120
+ return `${indent + head + snippet + tail}\n${caretIndent}^`;
121
+ }
122
+ function markToString(buffer, position, line, column) {
123
+ let where = `at line ${line + 1}, column ${column + 1}`;
124
+ const snippet = getSnippet(buffer, position);
125
+ if (snippet)
126
+ where += `:\n${snippet}`;
127
+ return where;
128
+ }
129
+ function getIndentStatus(lineIndent, parentIndent) {
130
+ if (lineIndent > parentIndent)
131
+ return 1;
132
+ if (lineIndent < parentIndent)
133
+ return -1;
134
+ return 0;
135
+ }
136
+ function writeFoldedLines(count) {
137
+ if (count === 1)
138
+ return " ";
139
+ if (count > 1)
140
+ return "\n".repeat(count - 1);
141
+ return "";
142
+ }
143
+ class LoaderState {
144
+ constructor(input, { schema = _schema_js_1.DEFAULT_SCHEMA, onWarning, allowDuplicateKeys = false, }) {
145
+ _LoaderState_instances.add(this);
146
+ Object.defineProperty(this, "input", {
147
+ enumerable: true,
148
+ configurable: true,
149
+ writable: true,
150
+ value: void 0
151
+ });
152
+ Object.defineProperty(this, "length", {
153
+ enumerable: true,
154
+ configurable: true,
155
+ writable: true,
156
+ value: void 0
157
+ });
158
+ Object.defineProperty(this, "lineIndent", {
159
+ enumerable: true,
160
+ configurable: true,
161
+ writable: true,
162
+ value: 0
163
+ });
164
+ Object.defineProperty(this, "lineStart", {
165
+ enumerable: true,
166
+ configurable: true,
167
+ writable: true,
168
+ value: 0
169
+ });
170
+ Object.defineProperty(this, "position", {
171
+ enumerable: true,
172
+ configurable: true,
173
+ writable: true,
174
+ value: 0
175
+ });
176
+ Object.defineProperty(this, "line", {
177
+ enumerable: true,
178
+ configurable: true,
179
+ writable: true,
180
+ value: 0
181
+ });
182
+ Object.defineProperty(this, "onWarning", {
183
+ enumerable: true,
184
+ configurable: true,
185
+ writable: true,
186
+ value: void 0
187
+ });
188
+ Object.defineProperty(this, "allowDuplicateKeys", {
189
+ enumerable: true,
190
+ configurable: true,
191
+ writable: true,
192
+ value: void 0
193
+ });
194
+ Object.defineProperty(this, "implicitTypes", {
195
+ enumerable: true,
196
+ configurable: true,
197
+ writable: true,
198
+ value: void 0
199
+ });
200
+ Object.defineProperty(this, "typeMap", {
201
+ enumerable: true,
202
+ configurable: true,
203
+ writable: true,
204
+ value: void 0
205
+ });
206
+ Object.defineProperty(this, "checkLineBreaks", {
207
+ enumerable: true,
208
+ configurable: true,
209
+ writable: true,
210
+ value: false
211
+ });
212
+ Object.defineProperty(this, "tagMap", {
213
+ enumerable: true,
214
+ configurable: true,
215
+ writable: true,
216
+ value: new Map()
217
+ });
218
+ Object.defineProperty(this, "anchorMap", {
219
+ enumerable: true,
220
+ configurable: true,
221
+ writable: true,
222
+ value: new Map()
223
+ });
224
+ this.input = input;
225
+ this.onWarning = onWarning;
226
+ this.allowDuplicateKeys = allowDuplicateKeys;
227
+ this.implicitTypes = schema.implicitTypes;
228
+ this.typeMap = schema.typeMap;
229
+ this.length = input.length;
230
+ this.readIndent();
231
+ }
232
+ skipWhitespaces() {
233
+ let ch = this.peek();
234
+ while ((0, _chars_js_1.isWhiteSpace)(ch)) {
235
+ ch = this.next();
236
+ }
237
+ }
238
+ skipComment() {
239
+ let ch = this.peek();
240
+ if (ch !== _chars_js_1.SHARP)
241
+ return;
242
+ ch = this.next();
243
+ while (ch !== 0 && !(0, _chars_js_1.isEOL)(ch)) {
244
+ ch = this.next();
245
+ }
246
+ }
247
+ readIndent() {
248
+ let char = this.peek();
249
+ while (char === _chars_js_1.SPACE) {
250
+ this.lineIndent += 1;
251
+ char = this.next();
252
+ }
253
+ }
254
+ peek(offset = 0) {
255
+ return this.input.charCodeAt(this.position + offset);
256
+ }
257
+ next() {
258
+ this.position += 1;
259
+ return this.peek();
260
+ }
261
+ dispatchWarning(message) {
262
+ const error = __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, message);
263
+ this.onWarning?.(error);
264
+ }
265
+ yamlDirectiveHandler(args) {
266
+ if (args.length !== 1) {
267
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Cannot handle YAML directive: YAML directive accepts exactly one argument");
268
+ }
269
+ const match = /^([0-9]+)\.([0-9]+)$/.exec(args[0]);
270
+ if (match === null) {
271
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Cannot handle YAML directive: ill-formed argument");
272
+ }
273
+ const major = parseInt(match[1], 10);
274
+ const minor = parseInt(match[2], 10);
275
+ if (major !== 1) {
276
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Cannot handle YAML directive: unacceptable YAML version");
277
+ }
278
+ this.checkLineBreaks = minor < 2;
279
+ if (minor !== 1 && minor !== 2) {
280
+ this.dispatchWarning("Cannot handle YAML directive: unsupported YAML version");
281
+ }
282
+ return args[0] ?? null;
283
+ }
284
+ tagDirectiveHandler(args) {
285
+ if (args.length !== 2) {
286
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, `Cannot handle tag directive: directive accepts exactly two arguments, received ${args.length}`);
287
+ }
288
+ const handle = args[0];
289
+ const prefix = args[1];
290
+ if (!PATTERN_TAG_HANDLE.test(handle)) {
291
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, `Cannot handle tag directive: ill-formed handle (first argument) in "${handle}"`);
292
+ }
293
+ if (this.tagMap.has(handle)) {
294
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, `Cannot handle tag directive: previously declared suffix for "${handle}" tag handle`);
295
+ }
296
+ if (!PATTERN_TAG_URI.test(prefix)) {
297
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Cannot handle tag directive: ill-formed tag prefix (second argument) of the TAG directive");
298
+ }
299
+ this.tagMap.set(handle, prefix);
300
+ }
301
+ captureSegment(start, end, checkJson) {
302
+ if (start < end) {
303
+ const result = this.input.slice(start, end);
304
+ if (checkJson) {
305
+ for (let position = 0; position < result.length; position++) {
306
+ const character = result.charCodeAt(position);
307
+ if (!(character === 0x09 ||
308
+ (0x20 <= character && character <= 0x10ffff))) {
309
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, `Expected valid JSON character: received "${character}"`);
310
+ }
311
+ }
312
+ }
313
+ else if (PATTERN_NON_PRINTABLE.test(result)) {
314
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Stream contains non-printable characters");
315
+ }
316
+ return result;
317
+ }
318
+ }
319
+ readBlockSequence(tag, anchor, nodeIndent) {
320
+ let detected = false;
321
+ const result = [];
322
+ if (anchor !== null)
323
+ this.anchorMap.set(anchor, result);
324
+ let ch = this.peek();
325
+ while (ch !== 0) {
326
+ if (ch !== _chars_js_1.MINUS) {
327
+ break;
328
+ }
329
+ const following = this.peek(1);
330
+ if (!(0, _chars_js_1.isWhiteSpaceOrEOL)(following)) {
331
+ break;
332
+ }
333
+ detected = true;
334
+ this.position++;
335
+ if (this.skipSeparationSpace(true, -1)) {
336
+ if (this.lineIndent <= nodeIndent) {
337
+ result.push(null);
338
+ ch = this.peek();
339
+ continue;
340
+ }
341
+ }
342
+ const line = this.line;
343
+ const newState = this.composeNode({
344
+ parentIndent: nodeIndent,
345
+ nodeContext: CONTEXT_BLOCK_IN,
346
+ allowToSeek: false,
347
+ allowCompact: true,
348
+ });
349
+ if (newState)
350
+ result.push(newState.result);
351
+ this.skipSeparationSpace(true, -1);
352
+ ch = this.peek();
353
+ if ((this.line === line || this.lineIndent > nodeIndent) && ch !== 0) {
354
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Cannot read block sequence: bad indentation of a sequence entry");
355
+ }
356
+ else if (this.lineIndent < nodeIndent) {
357
+ break;
358
+ }
359
+ }
360
+ if (detected)
361
+ return { tag, anchor, kind: "sequence", result };
362
+ }
363
+ mergeMappings(destination, source, overridableKeys) {
364
+ if (!(0, _utils_js_1.isObject)(source)) {
365
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Cannot merge mappings: the provided source object is unacceptable");
366
+ }
367
+ for (const [key, value] of Object.entries(source)) {
368
+ if (Object.hasOwn(destination, key))
369
+ continue;
370
+ Object.defineProperty(destination, key, {
371
+ value,
372
+ writable: true,
373
+ enumerable: true,
374
+ configurable: true,
375
+ });
376
+ overridableKeys.add(key);
377
+ }
378
+ }
379
+ storeMappingPair(result, overridableKeys, keyTag, keyNode, valueNode, startLine, startPos) {
380
+ // The output is a plain object here, so keys can only be strings.
381
+ // We need to convert keyNode to a string, but doing so can hang the process
382
+ // (deeply nested arrays that explode exponentially using aliases).
383
+ if (Array.isArray(keyNode)) {
384
+ keyNode = Array.prototype.slice.call(keyNode);
385
+ for (let index = 0; index < keyNode.length; index++) {
386
+ if (Array.isArray(keyNode[index])) {
387
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Cannot store mapping pair: nested arrays are not supported inside keys");
388
+ }
389
+ if (typeof keyNode === "object" && (0, _utils_js_1.isPlainObject)(keyNode[index])) {
390
+ keyNode[index] = "[object Object]";
391
+ }
392
+ }
393
+ }
394
+ // Avoid code execution in load() via toString property
395
+ // (still use its own toString for arrays, timestamps,
396
+ // and whatever user schema extensions happen to have @@toStringTag)
397
+ if (typeof keyNode === "object" && (0, _utils_js_1.isPlainObject)(keyNode)) {
398
+ keyNode = "[object Object]";
399
+ }
400
+ keyNode = String(keyNode);
401
+ if (keyTag === "tag:yaml.org,2002:merge") {
402
+ if (Array.isArray(valueNode)) {
403
+ for (let index = 0; index < valueNode.length; index++) {
404
+ this.mergeMappings(result, valueNode[index], overridableKeys);
405
+ }
406
+ }
407
+ else {
408
+ this.mergeMappings(result, valueNode, overridableKeys);
409
+ }
410
+ }
411
+ else {
412
+ if (!this.allowDuplicateKeys &&
413
+ !overridableKeys.has(keyNode) &&
414
+ Object.hasOwn(result, keyNode)) {
415
+ this.line = startLine || this.line;
416
+ this.position = startPos || this.position;
417
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Cannot store mapping pair: duplicated key");
418
+ }
419
+ Object.defineProperty(result, keyNode, {
420
+ value: valueNode,
421
+ writable: true,
422
+ enumerable: true,
423
+ configurable: true,
424
+ });
425
+ overridableKeys.delete(keyNode);
426
+ }
427
+ return result;
428
+ }
429
+ readLineBreak() {
430
+ const ch = this.peek();
431
+ if (ch === _chars_js_1.LINE_FEED) {
432
+ this.position++;
433
+ }
434
+ else if (ch === _chars_js_1.CARRIAGE_RETURN) {
435
+ this.position++;
436
+ if (this.peek() === _chars_js_1.LINE_FEED) {
437
+ this.position++;
438
+ }
439
+ }
440
+ else {
441
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Cannot read line: line break not found");
442
+ }
443
+ this.line += 1;
444
+ this.lineStart = this.position;
445
+ }
446
+ skipSeparationSpace(allowComments, checkIndent) {
447
+ let lineBreaks = 0;
448
+ let ch = this.peek();
449
+ while (ch !== 0) {
450
+ this.skipWhitespaces();
451
+ ch = this.peek();
452
+ if (allowComments) {
453
+ this.skipComment();
454
+ ch = this.peek();
455
+ }
456
+ if ((0, _chars_js_1.isEOL)(ch)) {
457
+ this.readLineBreak();
458
+ ch = this.peek();
459
+ lineBreaks++;
460
+ this.lineIndent = 0;
461
+ this.readIndent();
462
+ ch = this.peek();
463
+ }
464
+ else {
465
+ break;
466
+ }
467
+ }
468
+ if (checkIndent !== -1 &&
469
+ lineBreaks !== 0 &&
470
+ this.lineIndent < checkIndent) {
471
+ this.dispatchWarning("deficient indentation");
472
+ }
473
+ return lineBreaks;
474
+ }
475
+ testDocumentSeparator() {
476
+ let ch = this.peek();
477
+ // Condition this.position === this.lineStart is tested
478
+ // in parent on each call, for efficiency. No needs to test here again.
479
+ if ((ch === _chars_js_1.MINUS || ch === _chars_js_1.DOT) &&
480
+ ch === this.peek(1) &&
481
+ ch === this.peek(2)) {
482
+ ch = this.peek(3);
483
+ if (ch === 0 || (0, _chars_js_1.isWhiteSpaceOrEOL)(ch)) {
484
+ return true;
485
+ }
486
+ }
487
+ return false;
488
+ }
489
+ readPlainScalar(tag, anchor, nodeIndent, withinFlowCollection) {
490
+ let ch = this.peek();
491
+ if ((0, _chars_js_1.isWhiteSpaceOrEOL)(ch) ||
492
+ (0, _chars_js_1.isFlowIndicator)(ch) ||
493
+ ch === _chars_js_1.SHARP ||
494
+ ch === _chars_js_1.AMPERSAND ||
495
+ ch === _chars_js_1.ASTERISK ||
496
+ ch === _chars_js_1.EXCLAMATION ||
497
+ ch === _chars_js_1.VERTICAL_LINE ||
498
+ ch === _chars_js_1.GREATER_THAN ||
499
+ ch === _chars_js_1.SINGLE_QUOTE ||
500
+ ch === _chars_js_1.DOUBLE_QUOTE ||
501
+ ch === _chars_js_1.PERCENT ||
502
+ ch === _chars_js_1.COMMERCIAL_AT ||
503
+ ch === _chars_js_1.GRAVE_ACCENT) {
504
+ return;
505
+ }
506
+ let following;
507
+ if (ch === _chars_js_1.QUESTION || ch === _chars_js_1.MINUS) {
508
+ following = this.peek(1);
509
+ if ((0, _chars_js_1.isWhiteSpaceOrEOL)(following) ||
510
+ (withinFlowCollection && (0, _chars_js_1.isFlowIndicator)(following))) {
511
+ return;
512
+ }
513
+ }
514
+ let result = "";
515
+ let captureEnd = this.position;
516
+ let captureStart = this.position;
517
+ let hasPendingContent = false;
518
+ let line = 0;
519
+ while (ch !== 0) {
520
+ if (ch === _chars_js_1.COLON) {
521
+ following = this.peek(1);
522
+ if ((0, _chars_js_1.isWhiteSpaceOrEOL)(following) ||
523
+ (withinFlowCollection && (0, _chars_js_1.isFlowIndicator)(following))) {
524
+ break;
525
+ }
526
+ }
527
+ else if (ch === _chars_js_1.SHARP) {
528
+ const preceding = this.peek(-1);
529
+ if ((0, _chars_js_1.isWhiteSpaceOrEOL)(preceding)) {
530
+ break;
531
+ }
532
+ }
533
+ else if ((this.position === this.lineStart && this.testDocumentSeparator()) ||
534
+ (withinFlowCollection && (0, _chars_js_1.isFlowIndicator)(ch))) {
535
+ break;
536
+ }
537
+ else if ((0, _chars_js_1.isEOL)(ch)) {
538
+ line = this.line;
539
+ const lineStart = this.lineStart;
540
+ const lineIndent = this.lineIndent;
541
+ this.skipSeparationSpace(false, -1);
542
+ if (this.lineIndent >= nodeIndent) {
543
+ hasPendingContent = true;
544
+ ch = this.peek();
545
+ continue;
546
+ }
547
+ else {
548
+ this.position = captureEnd;
549
+ this.line = line;
550
+ this.lineStart = lineStart;
551
+ this.lineIndent = lineIndent;
552
+ break;
553
+ }
554
+ }
555
+ if (hasPendingContent) {
556
+ const segment = this.captureSegment(captureStart, captureEnd, false);
557
+ if (segment)
558
+ result += segment;
559
+ result += writeFoldedLines(this.line - line);
560
+ captureStart = captureEnd = this.position;
561
+ hasPendingContent = false;
562
+ }
563
+ if (!(0, _chars_js_1.isWhiteSpace)(ch)) {
564
+ captureEnd = this.position + 1;
565
+ }
566
+ ch = this.next();
567
+ }
568
+ const segment = this.captureSegment(captureStart, captureEnd, false);
569
+ if (segment)
570
+ result += segment;
571
+ if (anchor !== null)
572
+ this.anchorMap.set(anchor, result);
573
+ if (result)
574
+ return { tag, anchor, kind: "scalar", result };
575
+ }
576
+ readSingleQuotedScalar(tag, anchor, nodeIndent) {
577
+ let ch = this.peek();
578
+ if (ch !== _chars_js_1.SINGLE_QUOTE)
579
+ return;
580
+ let result = "";
581
+ this.position++;
582
+ let captureStart = this.position;
583
+ let captureEnd = this.position;
584
+ ch = this.peek();
585
+ while (ch !== 0) {
586
+ if (ch === _chars_js_1.SINGLE_QUOTE) {
587
+ const segment = this.captureSegment(captureStart, this.position, true);
588
+ if (segment)
589
+ result += segment;
590
+ ch = this.next();
591
+ if (ch === _chars_js_1.SINGLE_QUOTE) {
592
+ captureStart = this.position;
593
+ this.position++;
594
+ captureEnd = this.position;
595
+ }
596
+ else {
597
+ if (anchor !== null)
598
+ this.anchorMap.set(anchor, result);
599
+ return { tag, anchor, kind: "scalar", result };
600
+ }
601
+ }
602
+ else if ((0, _chars_js_1.isEOL)(ch)) {
603
+ const segment = this.captureSegment(captureStart, captureEnd, true);
604
+ if (segment)
605
+ result += segment;
606
+ result += writeFoldedLines(this.skipSeparationSpace(false, nodeIndent));
607
+ captureStart = captureEnd = this.position;
608
+ }
609
+ else if (this.position === this.lineStart &&
610
+ this.testDocumentSeparator()) {
611
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Unexpected end of the document within a single quoted scalar");
612
+ }
613
+ else {
614
+ this.position++;
615
+ captureEnd = this.position;
616
+ }
617
+ ch = this.peek();
618
+ }
619
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Unexpected end of the stream within a single quoted scalar");
620
+ }
621
+ readDoubleQuotedScalar(tag, anchor, nodeIndent) {
622
+ let ch = this.peek();
623
+ if (ch !== _chars_js_1.DOUBLE_QUOTE)
624
+ return;
625
+ let result = "";
626
+ this.position++;
627
+ let captureEnd = this.position;
628
+ let captureStart = this.position;
629
+ let tmp;
630
+ ch = this.peek();
631
+ while (ch !== 0) {
632
+ if (ch === _chars_js_1.DOUBLE_QUOTE) {
633
+ const segment = this.captureSegment(captureStart, this.position, true);
634
+ if (segment)
635
+ result += segment;
636
+ this.position++;
637
+ if (anchor !== null)
638
+ this.anchorMap.set(anchor, result);
639
+ return { tag, anchor, kind: "scalar", result };
640
+ }
641
+ if (ch === _chars_js_1.BACKSLASH) {
642
+ const segment = this.captureSegment(captureStart, this.position, true);
643
+ if (segment)
644
+ result += segment;
645
+ ch = this.next();
646
+ if ((0, _chars_js_1.isEOL)(ch)) {
647
+ this.skipSeparationSpace(false, nodeIndent);
648
+ }
649
+ else if (ch < 256 && SIMPLE_ESCAPE_SEQUENCES.has(ch)) {
650
+ result += SIMPLE_ESCAPE_SEQUENCES.get(ch);
651
+ this.position++;
652
+ }
653
+ else if ((tmp = ESCAPED_HEX_LENGTHS.get(ch) ?? 0) > 0) {
654
+ let hexLength = tmp;
655
+ let hexResult = 0;
656
+ for (; hexLength > 0; hexLength--) {
657
+ ch = this.next();
658
+ if ((tmp = hexCharCodeToNumber(ch)) >= 0) {
659
+ hexResult = (hexResult << 4) + tmp;
660
+ }
661
+ else {
662
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Cannot read double quoted scalar: expected hexadecimal character");
663
+ }
664
+ }
665
+ result += codepointToChar(hexResult);
666
+ this.position++;
667
+ }
668
+ else {
669
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Cannot read double quoted scalar: unknown escape sequence");
670
+ }
671
+ captureStart = captureEnd = this.position;
672
+ }
673
+ else if ((0, _chars_js_1.isEOL)(ch)) {
674
+ const segment = this.captureSegment(captureStart, captureEnd, true);
675
+ if (segment)
676
+ result += segment;
677
+ result += writeFoldedLines(this.skipSeparationSpace(false, nodeIndent));
678
+ captureStart = captureEnd = this.position;
679
+ }
680
+ else if (this.position === this.lineStart &&
681
+ this.testDocumentSeparator()) {
682
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Unexpected end of the document within a double quoted scalar");
683
+ }
684
+ else {
685
+ this.position++;
686
+ captureEnd = this.position;
687
+ }
688
+ ch = this.peek();
689
+ }
690
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Unexpected end of the stream within a double quoted scalar");
691
+ }
692
+ readFlowCollection(tag, anchor, nodeIndent) {
693
+ let ch = this.peek();
694
+ let terminator;
695
+ let isMapping = true;
696
+ let result = {};
697
+ if (ch === _chars_js_1.LEFT_SQUARE_BRACKET) {
698
+ terminator = _chars_js_1.RIGHT_SQUARE_BRACKET;
699
+ isMapping = false;
700
+ result = [];
701
+ }
702
+ else if (ch === _chars_js_1.LEFT_CURLY_BRACKET) {
703
+ terminator = _chars_js_1.RIGHT_CURLY_BRACKET;
704
+ }
705
+ else {
706
+ return;
707
+ }
708
+ if (anchor !== null)
709
+ this.anchorMap.set(anchor, result);
710
+ ch = this.next();
711
+ let readNext = true;
712
+ let valueNode = null;
713
+ let keyNode = null;
714
+ let keyTag = null;
715
+ let isExplicitPair = false;
716
+ let isPair = false;
717
+ let following = 0;
718
+ let line = 0;
719
+ const overridableKeys = new Set();
720
+ while (ch !== 0) {
721
+ this.skipSeparationSpace(true, nodeIndent);
722
+ ch = this.peek();
723
+ if (ch === terminator) {
724
+ this.position++;
725
+ const kind = isMapping ? "mapping" : "sequence";
726
+ return { tag, anchor, kind, result };
727
+ }
728
+ if (!readNext) {
729
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Cannot read flow collection: missing comma between flow collection entries");
730
+ }
731
+ keyTag = keyNode = valueNode = null;
732
+ isPair = isExplicitPair = false;
733
+ if (ch === _chars_js_1.QUESTION) {
734
+ following = this.peek(1);
735
+ if ((0, _chars_js_1.isWhiteSpaceOrEOL)(following)) {
736
+ isPair = isExplicitPair = true;
737
+ this.position++;
738
+ this.skipSeparationSpace(true, nodeIndent);
739
+ }
740
+ }
741
+ line = this.line;
742
+ const newState = this.composeNode({
743
+ parentIndent: nodeIndent,
744
+ nodeContext: CONTEXT_FLOW_IN,
745
+ allowToSeek: false,
746
+ allowCompact: true,
747
+ });
748
+ if (newState) {
749
+ keyTag = newState.tag || null;
750
+ keyNode = newState.result;
751
+ }
752
+ this.skipSeparationSpace(true, nodeIndent);
753
+ ch = this.peek();
754
+ if ((isExplicitPair || this.line === line) && ch === _chars_js_1.COLON) {
755
+ isPair = true;
756
+ ch = this.next();
757
+ this.skipSeparationSpace(true, nodeIndent);
758
+ const newState = this.composeNode({
759
+ parentIndent: nodeIndent,
760
+ nodeContext: CONTEXT_FLOW_IN,
761
+ allowToSeek: false,
762
+ allowCompact: true,
763
+ });
764
+ if (newState)
765
+ valueNode = newState.result;
766
+ }
767
+ if (isMapping) {
768
+ this.storeMappingPair(result, overridableKeys, keyTag, keyNode, valueNode);
769
+ }
770
+ else if (isPair) {
771
+ result.push(this.storeMappingPair({}, overridableKeys, keyTag, keyNode, valueNode));
772
+ }
773
+ else {
774
+ result.push(keyNode);
775
+ }
776
+ this.skipSeparationSpace(true, nodeIndent);
777
+ ch = this.peek();
778
+ if (ch === _chars_js_1.COMMA) {
779
+ readNext = true;
780
+ ch = this.next();
781
+ }
782
+ else {
783
+ readNext = false;
784
+ }
785
+ }
786
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Cannot read flow collection: unexpected end of the stream within a flow collection");
787
+ }
788
+ // Handles block scaler styles: e.g. '|', '>', '|-' and '>-'.
789
+ // https://yaml.org/spec/1.2.2/#81-block-scalar-styles
790
+ readBlockScalar(tag, anchor, nodeIndent) {
791
+ let chomping = CHOMPING_CLIP;
792
+ let didReadContent = false;
793
+ let detectedIndent = false;
794
+ let textIndent = nodeIndent;
795
+ let emptyLines = 0;
796
+ let atMoreIndented = false;
797
+ let ch = this.peek();
798
+ let folding = false;
799
+ if (ch === _chars_js_1.VERTICAL_LINE) {
800
+ folding = false;
801
+ }
802
+ else if (ch === _chars_js_1.GREATER_THAN) {
803
+ folding = true;
804
+ }
805
+ else {
806
+ return;
807
+ }
808
+ let result = "";
809
+ let tmp = 0;
810
+ while (ch !== 0) {
811
+ ch = this.next();
812
+ if (ch === _chars_js_1.PLUS || ch === _chars_js_1.MINUS) {
813
+ if (CHOMPING_CLIP === chomping) {
814
+ chomping = ch === _chars_js_1.PLUS ? CHOMPING_KEEP : CHOMPING_STRIP;
815
+ }
816
+ else {
817
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Cannot read block: chomping mode identifier repeated");
818
+ }
819
+ }
820
+ else if ((tmp = decimalCharCodeToNumber(ch)) >= 0) {
821
+ if (tmp === 0) {
822
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Cannot read block: indentation width must be greater than 0");
823
+ }
824
+ else if (!detectedIndent) {
825
+ textIndent = nodeIndent + tmp - 1;
826
+ detectedIndent = true;
827
+ }
828
+ else {
829
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Cannot read block: indentation width identifier repeated");
830
+ }
831
+ }
832
+ else {
833
+ break;
834
+ }
835
+ }
836
+ if ((0, _chars_js_1.isWhiteSpace)(ch)) {
837
+ this.skipWhitespaces();
838
+ this.skipComment();
839
+ ch = this.peek();
840
+ }
841
+ while (ch !== 0) {
842
+ this.readLineBreak();
843
+ this.lineIndent = 0;
844
+ ch = this.peek();
845
+ while ((!detectedIndent || this.lineIndent < textIndent) &&
846
+ ch === _chars_js_1.SPACE) {
847
+ this.lineIndent++;
848
+ ch = this.next();
849
+ }
850
+ if (!detectedIndent && this.lineIndent > textIndent) {
851
+ textIndent = this.lineIndent;
852
+ }
853
+ if ((0, _chars_js_1.isEOL)(ch)) {
854
+ emptyLines++;
855
+ continue;
856
+ }
857
+ // End of the scalar.
858
+ if (this.lineIndent < textIndent) {
859
+ // Perform the chomping.
860
+ if (chomping === CHOMPING_KEEP) {
861
+ result += "\n".repeat(didReadContent ? 1 + emptyLines : emptyLines);
862
+ }
863
+ else if (chomping === CHOMPING_CLIP) {
864
+ if (didReadContent) {
865
+ // i.e. only if the scalar is not empty.
866
+ result += "\n";
867
+ }
868
+ }
869
+ // Break this `while` cycle and go to the function's epilogue.
870
+ break;
871
+ }
872
+ // Folded style: use fancy rules to handle line breaks.
873
+ if (folding) {
874
+ // Lines starting with white space characters (more-indented lines) are not folded.
875
+ if ((0, _chars_js_1.isWhiteSpace)(ch)) {
876
+ atMoreIndented = true;
877
+ // except for the first content line (cf. Example 8.1)
878
+ result += "\n".repeat(didReadContent ? 1 + emptyLines : emptyLines);
879
+ // End of more-indented block.
880
+ }
881
+ else if (atMoreIndented) {
882
+ atMoreIndented = false;
883
+ result += "\n".repeat(emptyLines + 1);
884
+ // Just one line break - perceive as the same line.
885
+ }
886
+ else if (emptyLines === 0) {
887
+ if (didReadContent) {
888
+ // i.e. only if we have already read some scalar content.
889
+ result += " ";
890
+ }
891
+ // Several line breaks - perceive as different lines.
892
+ }
893
+ else {
894
+ result += "\n".repeat(emptyLines);
895
+ }
896
+ // Literal style: just add exact number of line breaks between content lines.
897
+ }
898
+ else {
899
+ // Keep all line breaks except the header line break.
900
+ result += "\n".repeat(didReadContent ? 1 + emptyLines : emptyLines);
901
+ }
902
+ didReadContent = true;
903
+ detectedIndent = true;
904
+ emptyLines = 0;
905
+ const captureStart = this.position;
906
+ while (!(0, _chars_js_1.isEOL)(ch) && ch !== 0) {
907
+ ch = this.next();
908
+ }
909
+ const segment = this.captureSegment(captureStart, this.position, false);
910
+ if (segment)
911
+ result += segment;
912
+ }
913
+ if (anchor !== null)
914
+ this.anchorMap.set(anchor, result);
915
+ return { tag, anchor, kind: "scalar", result };
916
+ }
917
+ readBlockMapping(tag, anchor, nodeIndent, flowIndent) {
918
+ const result = {};
919
+ const overridableKeys = new Set();
920
+ let allowCompact = false;
921
+ let line;
922
+ let pos;
923
+ let keyTag = null;
924
+ let keyNode = null;
925
+ let valueNode = null;
926
+ let atExplicitKey = false;
927
+ let detected = false;
928
+ if (anchor !== null)
929
+ this.anchorMap.set(anchor, result);
930
+ let ch = this.peek();
931
+ while (ch !== 0) {
932
+ const following = this.peek(1);
933
+ line = this.line; // Save the current line.
934
+ pos = this.position;
935
+ //
936
+ // Explicit notation case. There are two separate blocks:
937
+ // first for the key (denoted by "?") and second for the value (denoted by ":")
938
+ //
939
+ if ((ch === _chars_js_1.QUESTION || ch === _chars_js_1.COLON) && (0, _chars_js_1.isWhiteSpaceOrEOL)(following)) {
940
+ if (ch === _chars_js_1.QUESTION) {
941
+ if (atExplicitKey) {
942
+ this.storeMappingPair(result, overridableKeys, keyTag, keyNode, null);
943
+ keyTag = null;
944
+ keyNode = null;
945
+ valueNode = null;
946
+ }
947
+ detected = true;
948
+ atExplicitKey = true;
949
+ allowCompact = true;
950
+ }
951
+ else if (atExplicitKey) {
952
+ // i.e. 0x3A/* : */ === character after the explicit key.
953
+ atExplicitKey = false;
954
+ allowCompact = true;
955
+ }
956
+ else {
957
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Cannot read block as explicit mapping pair is incomplete: a key node is missed or followed by a non-tabulated empty line");
958
+ }
959
+ this.position += 1;
960
+ ch = following;
961
+ //
962
+ // Implicit notation case. Flow-style node as the key first, then ":", and the value.
963
+ //
964
+ }
965
+ else {
966
+ const newState = this.composeNode({
967
+ parentIndent: flowIndent,
968
+ nodeContext: CONTEXT_FLOW_OUT,
969
+ allowToSeek: false,
970
+ allowCompact: true,
971
+ });
972
+ if (!newState)
973
+ break; // Reading is done. Go to the epilogue.
974
+ if (this.line === line) {
975
+ ch = this.peek();
976
+ this.skipWhitespaces();
977
+ ch = this.peek();
978
+ if (ch === _chars_js_1.COLON) {
979
+ ch = this.next();
980
+ if (!(0, _chars_js_1.isWhiteSpaceOrEOL)(ch)) {
981
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Cannot read block: a whitespace character is expected after the key-value separator within a block mapping");
982
+ }
983
+ if (atExplicitKey) {
984
+ this.storeMappingPair(result, overridableKeys, keyTag, keyNode, null);
985
+ keyTag = null;
986
+ keyNode = null;
987
+ valueNode = null;
988
+ }
989
+ detected = true;
990
+ atExplicitKey = false;
991
+ allowCompact = false;
992
+ keyTag = newState.tag;
993
+ keyNode = newState.result;
994
+ }
995
+ else if (detected) {
996
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Cannot read an implicit mapping pair: missing colon");
997
+ }
998
+ else {
999
+ const { kind, result } = newState;
1000
+ return { tag, anchor, kind, result }; // Keep the result of `composeNode`.
1001
+ }
1002
+ }
1003
+ else if (detected) {
1004
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Cannot read a block mapping entry: a multiline key may not be an implicit key");
1005
+ }
1006
+ else {
1007
+ const { kind, result } = newState;
1008
+ return { tag, anchor, kind, result }; // Keep the result of `composeNode`.
1009
+ }
1010
+ }
1011
+ //
1012
+ // Common reading code for both explicit and implicit notations.
1013
+ //
1014
+ if (this.line === line || this.lineIndent > nodeIndent) {
1015
+ const newState = this.composeNode({
1016
+ parentIndent: nodeIndent,
1017
+ nodeContext: CONTEXT_BLOCK_OUT,
1018
+ allowToSeek: true,
1019
+ allowCompact,
1020
+ });
1021
+ if (newState) {
1022
+ if (atExplicitKey) {
1023
+ keyNode = newState.result;
1024
+ }
1025
+ else {
1026
+ valueNode = newState.result;
1027
+ }
1028
+ }
1029
+ if (!atExplicitKey) {
1030
+ this.storeMappingPair(result, overridableKeys, keyTag, keyNode, valueNode, line, pos);
1031
+ keyTag = keyNode = valueNode = null;
1032
+ }
1033
+ this.skipSeparationSpace(true, -1);
1034
+ ch = this.peek();
1035
+ }
1036
+ if (this.lineIndent > nodeIndent && ch !== 0) {
1037
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Cannot read block: bad indentation of a mapping entry");
1038
+ }
1039
+ else if (this.lineIndent < nodeIndent) {
1040
+ break;
1041
+ }
1042
+ }
1043
+ //
1044
+ // Epilogue.
1045
+ //
1046
+ // Special case: last mapping's node contains only the key in explicit notation.
1047
+ if (atExplicitKey) {
1048
+ this.storeMappingPair(result, overridableKeys, keyTag, keyNode, null);
1049
+ }
1050
+ // Expose the resulting mapping.
1051
+ if (detected)
1052
+ return { tag, anchor, kind: "mapping", result };
1053
+ }
1054
+ readTagProperty(tag) {
1055
+ let isVerbatim = false;
1056
+ let isNamed = false;
1057
+ let tagHandle = "";
1058
+ let tagName;
1059
+ let ch = this.peek();
1060
+ if (ch !== _chars_js_1.EXCLAMATION)
1061
+ return;
1062
+ if (tag !== null) {
1063
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Cannot read tag property: duplication of a tag property");
1064
+ }
1065
+ ch = this.next();
1066
+ if (ch === _chars_js_1.SMALLER_THAN) {
1067
+ isVerbatim = true;
1068
+ ch = this.next();
1069
+ }
1070
+ else if (ch === _chars_js_1.EXCLAMATION) {
1071
+ isNamed = true;
1072
+ tagHandle = "!!";
1073
+ ch = this.next();
1074
+ }
1075
+ else {
1076
+ tagHandle = "!";
1077
+ }
1078
+ let position = this.position;
1079
+ if (isVerbatim) {
1080
+ do {
1081
+ ch = this.next();
1082
+ } while (ch !== 0 && ch !== _chars_js_1.GREATER_THAN);
1083
+ if (this.position < this.length) {
1084
+ tagName = this.input.slice(position, this.position);
1085
+ ch = this.next();
1086
+ }
1087
+ else {
1088
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Cannot read tag property: unexpected end of stream");
1089
+ }
1090
+ }
1091
+ else {
1092
+ while (ch !== 0 && !(0, _chars_js_1.isWhiteSpaceOrEOL)(ch)) {
1093
+ if (ch === _chars_js_1.EXCLAMATION) {
1094
+ if (!isNamed) {
1095
+ tagHandle = this.input.slice(position - 1, this.position + 1);
1096
+ if (!PATTERN_TAG_HANDLE.test(tagHandle)) {
1097
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Cannot read tag property: named tag handle contains invalid characters");
1098
+ }
1099
+ isNamed = true;
1100
+ position = this.position + 1;
1101
+ }
1102
+ else {
1103
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Cannot read tag property: tag suffix cannot contain an exclamation mark");
1104
+ }
1105
+ }
1106
+ ch = this.next();
1107
+ }
1108
+ tagName = this.input.slice(position, this.position);
1109
+ if (PATTERN_FLOW_INDICATORS.test(tagName)) {
1110
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Cannot read tag property: tag suffix cannot contain flow indicator characters");
1111
+ }
1112
+ }
1113
+ if (tagName && !PATTERN_TAG_URI.test(tagName)) {
1114
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, `Cannot read tag property: invalid characters in tag name "${tagName}"`);
1115
+ }
1116
+ if (isVerbatim) {
1117
+ return tagName;
1118
+ }
1119
+ else if (this.tagMap.has(tagHandle)) {
1120
+ return this.tagMap.get(tagHandle) + tagName;
1121
+ }
1122
+ else if (tagHandle === "!") {
1123
+ return `!${tagName}`;
1124
+ }
1125
+ else if (tagHandle === "!!") {
1126
+ return `tag:yaml.org,2002:${tagName}`;
1127
+ }
1128
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, `Cannot read tag property: undeclared tag handle "${tagHandle}"`);
1129
+ }
1130
+ readAnchorProperty(anchor) {
1131
+ let ch = this.peek();
1132
+ if (ch !== _chars_js_1.AMPERSAND)
1133
+ return;
1134
+ if (anchor !== null) {
1135
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Cannot read anchor property: duplicate anchor property");
1136
+ }
1137
+ ch = this.next();
1138
+ const position = this.position;
1139
+ while (ch !== 0 && !(0, _chars_js_1.isWhiteSpaceOrEOL)(ch) && !(0, _chars_js_1.isFlowIndicator)(ch)) {
1140
+ ch = this.next();
1141
+ }
1142
+ if (this.position === position) {
1143
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Cannot read anchor property: name of an anchor node must contain at least one character");
1144
+ }
1145
+ return this.input.slice(position, this.position);
1146
+ }
1147
+ readAlias() {
1148
+ if (this.peek() !== _chars_js_1.ASTERISK)
1149
+ return;
1150
+ let ch = this.next();
1151
+ const position = this.position;
1152
+ while (ch !== 0 && !(0, _chars_js_1.isWhiteSpaceOrEOL)(ch) && !(0, _chars_js_1.isFlowIndicator)(ch)) {
1153
+ ch = this.next();
1154
+ }
1155
+ if (this.position === position) {
1156
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Cannot read alias: alias name must contain at least one character");
1157
+ }
1158
+ const alias = this.input.slice(position, this.position);
1159
+ if (!this.anchorMap.has(alias)) {
1160
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, `Cannot read alias: unidentified alias "${alias}"`);
1161
+ }
1162
+ this.skipSeparationSpace(true, -1);
1163
+ return this.anchorMap.get(alias);
1164
+ }
1165
+ resolveTag(state) {
1166
+ switch (state.tag) {
1167
+ case null:
1168
+ case "!":
1169
+ return state;
1170
+ case "?": {
1171
+ for (const type of this.implicitTypes) {
1172
+ // Implicit resolving is not allowed for non-scalar types, and '?'
1173
+ // non-specific tag is only assigned to plain scalars. So, it isn't
1174
+ // needed to check for 'kind' conformity.
1175
+ if (!type.resolve(state.result))
1176
+ continue;
1177
+ // `state.result` updated in resolver if matched
1178
+ const result = type.construct(state.result);
1179
+ state.result = result;
1180
+ state.tag = type.tag;
1181
+ const { anchor } = state;
1182
+ if (anchor !== null)
1183
+ this.anchorMap.set(anchor, result);
1184
+ return state;
1185
+ }
1186
+ return state;
1187
+ }
1188
+ }
1189
+ const kind = state.kind ?? "fallback";
1190
+ const map = this.typeMap[kind];
1191
+ const type = map.get(state.tag);
1192
+ if (!type) {
1193
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, `Cannot resolve unknown tag !<${state.tag}>`);
1194
+ }
1195
+ if (state.result !== null && type.kind !== state.kind) {
1196
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, `Unacceptable node kind for !<${state.tag}> tag: it should be "${type.kind}", not "${state.kind}"`);
1197
+ }
1198
+ if (!type.resolve(state.result)) {
1199
+ // `state.result` updated in resolver if matched
1200
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, `Cannot resolve a node with !<${state.tag}> explicit tag`);
1201
+ }
1202
+ const result = type.construct(state.result);
1203
+ state.result = result;
1204
+ const { anchor } = state;
1205
+ if (anchor !== null)
1206
+ this.anchorMap.set(anchor, result);
1207
+ return state;
1208
+ }
1209
+ composeNode({ parentIndent, nodeContext, allowToSeek, allowCompact }) {
1210
+ let indentStatus = 1; // 1: this>parent, 0: this=parent, -1: this<parent
1211
+ let atNewLine = false;
1212
+ const allowBlockScalars = CONTEXT_BLOCK_OUT === nodeContext ||
1213
+ CONTEXT_BLOCK_IN === nodeContext;
1214
+ let allowBlockCollections = allowBlockScalars;
1215
+ const allowBlockStyles = allowBlockScalars;
1216
+ if (allowToSeek) {
1217
+ if (this.skipSeparationSpace(true, -1)) {
1218
+ atNewLine = true;
1219
+ indentStatus = getIndentStatus(this.lineIndent, parentIndent);
1220
+ }
1221
+ }
1222
+ let tag = null;
1223
+ let anchor = null;
1224
+ if (indentStatus === 1) {
1225
+ while (true) {
1226
+ const newTag = this.readTagProperty(tag);
1227
+ if (newTag) {
1228
+ tag = newTag;
1229
+ }
1230
+ else {
1231
+ const newAnchor = this.readAnchorProperty(anchor);
1232
+ if (!newAnchor)
1233
+ break;
1234
+ anchor = newAnchor;
1235
+ }
1236
+ if (this.skipSeparationSpace(true, -1)) {
1237
+ atNewLine = true;
1238
+ allowBlockCollections = allowBlockStyles;
1239
+ indentStatus = getIndentStatus(this.lineIndent, parentIndent);
1240
+ }
1241
+ else {
1242
+ allowBlockCollections = false;
1243
+ }
1244
+ }
1245
+ }
1246
+ if (allowBlockCollections) {
1247
+ allowBlockCollections = atNewLine || allowCompact;
1248
+ }
1249
+ if (indentStatus === 1) {
1250
+ const cond = CONTEXT_FLOW_IN === nodeContext ||
1251
+ CONTEXT_FLOW_OUT === nodeContext;
1252
+ const flowIndent = cond ? parentIndent : parentIndent + 1;
1253
+ if (allowBlockCollections) {
1254
+ const blockIndent = this.position - this.lineStart;
1255
+ const blockSequenceState = this.readBlockSequence(tag, anchor, blockIndent);
1256
+ if (blockSequenceState)
1257
+ return this.resolveTag(blockSequenceState);
1258
+ const blockMappingState = this.readBlockMapping(tag, anchor, blockIndent, flowIndent);
1259
+ if (blockMappingState)
1260
+ return this.resolveTag(blockMappingState);
1261
+ }
1262
+ const flowCollectionState = this.readFlowCollection(tag, anchor, flowIndent);
1263
+ if (flowCollectionState)
1264
+ return this.resolveTag(flowCollectionState);
1265
+ if (allowBlockScalars) {
1266
+ const blockScalarState = this.readBlockScalar(tag, anchor, flowIndent);
1267
+ if (blockScalarState)
1268
+ return this.resolveTag(blockScalarState);
1269
+ }
1270
+ const singleQuoteState = this.readSingleQuotedScalar(tag, anchor, flowIndent);
1271
+ if (singleQuoteState)
1272
+ return this.resolveTag(singleQuoteState);
1273
+ const doubleQuoteState = this.readDoubleQuotedScalar(tag, anchor, flowIndent);
1274
+ if (doubleQuoteState)
1275
+ return this.resolveTag(doubleQuoteState);
1276
+ const alias = this.readAlias();
1277
+ if (alias) {
1278
+ if (tag !== null || anchor !== null) {
1279
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Cannot compose node: alias node should not have any properties");
1280
+ }
1281
+ return this.resolveTag({ tag, anchor, kind: null, result: alias });
1282
+ }
1283
+ const plainScalarState = this.readPlainScalar(tag, anchor, flowIndent, CONTEXT_FLOW_IN === nodeContext);
1284
+ if (plainScalarState) {
1285
+ plainScalarState.tag ??= "?";
1286
+ return this.resolveTag(plainScalarState);
1287
+ }
1288
+ }
1289
+ else if (indentStatus === 0 &&
1290
+ CONTEXT_BLOCK_OUT === nodeContext &&
1291
+ allowBlockCollections) {
1292
+ // Special case: block sequences are allowed to have same indentation level as the parent.
1293
+ // http://www.yaml.org/spec/1.2/spec.html#id2799784
1294
+ const blockIndent = this.position - this.lineStart;
1295
+ const newState = this.readBlockSequence(tag, anchor, blockIndent);
1296
+ if (newState)
1297
+ return this.resolveTag(newState);
1298
+ }
1299
+ const newState = this.resolveTag({ tag, anchor, kind: null, result: null });
1300
+ if (newState.tag !== null || newState.anchor !== null)
1301
+ return newState;
1302
+ }
1303
+ readDirectives() {
1304
+ let hasDirectives = false;
1305
+ let version = null;
1306
+ let ch = this.peek();
1307
+ while (ch !== 0) {
1308
+ this.skipSeparationSpace(true, -1);
1309
+ ch = this.peek();
1310
+ if (this.lineIndent > 0 || ch !== _chars_js_1.PERCENT) {
1311
+ break;
1312
+ }
1313
+ hasDirectives = true;
1314
+ ch = this.next();
1315
+ let position = this.position;
1316
+ while (ch !== 0 && !(0, _chars_js_1.isWhiteSpaceOrEOL)(ch)) {
1317
+ ch = this.next();
1318
+ }
1319
+ const directiveName = this.input.slice(position, this.position);
1320
+ const directiveArgs = [];
1321
+ if (directiveName.length < 1) {
1322
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Cannot read document: directive name length must be greater than zero");
1323
+ }
1324
+ while (ch !== 0) {
1325
+ this.skipWhitespaces();
1326
+ this.skipComment();
1327
+ ch = this.peek();
1328
+ if ((0, _chars_js_1.isEOL)(ch))
1329
+ break;
1330
+ position = this.position;
1331
+ while (ch !== 0 && !(0, _chars_js_1.isWhiteSpaceOrEOL)(ch)) {
1332
+ ch = this.next();
1333
+ }
1334
+ directiveArgs.push(this.input.slice(position, this.position));
1335
+ }
1336
+ if (ch !== 0)
1337
+ this.readLineBreak();
1338
+ switch (directiveName) {
1339
+ case "YAML":
1340
+ if (version !== null) {
1341
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Cannot handle YAML directive: duplication of %YAML directive");
1342
+ }
1343
+ version = this.yamlDirectiveHandler(directiveArgs);
1344
+ break;
1345
+ case "TAG":
1346
+ this.tagDirectiveHandler(directiveArgs);
1347
+ break;
1348
+ default:
1349
+ this.dispatchWarning(`unknown document directive "${directiveName}"`);
1350
+ break;
1351
+ }
1352
+ ch = this.peek();
1353
+ }
1354
+ return hasDirectives;
1355
+ }
1356
+ readDocument() {
1357
+ const documentStart = this.position;
1358
+ this.checkLineBreaks = false;
1359
+ this.tagMap = new Map();
1360
+ this.anchorMap = new Map();
1361
+ const hasDirectives = this.readDirectives();
1362
+ this.skipSeparationSpace(true, -1);
1363
+ let result = null;
1364
+ if (this.lineIndent === 0 &&
1365
+ this.peek() === _chars_js_1.MINUS &&
1366
+ this.peek(1) === _chars_js_1.MINUS &&
1367
+ this.peek(2) === _chars_js_1.MINUS) {
1368
+ this.position += 3;
1369
+ this.skipSeparationSpace(true, -1);
1370
+ }
1371
+ else if (hasDirectives) {
1372
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Cannot read document: directives end mark is expected");
1373
+ }
1374
+ const newState = this.composeNode({
1375
+ parentIndent: this.lineIndent - 1,
1376
+ nodeContext: CONTEXT_BLOCK_OUT,
1377
+ allowToSeek: false,
1378
+ allowCompact: true,
1379
+ });
1380
+ if (newState)
1381
+ result = newState.result;
1382
+ this.skipSeparationSpace(true, -1);
1383
+ if (this.checkLineBreaks &&
1384
+ PATTERN_NON_ASCII_LINE_BREAKS.test(this.input.slice(documentStart, this.position))) {
1385
+ this.dispatchWarning("non-ASCII line breaks are interpreted as content");
1386
+ }
1387
+ if (this.position === this.lineStart && this.testDocumentSeparator()) {
1388
+ if (this.peek() === _chars_js_1.DOT) {
1389
+ this.position += 3;
1390
+ this.skipSeparationSpace(true, -1);
1391
+ }
1392
+ }
1393
+ else if (this.position < this.length - 1) {
1394
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, "Cannot read document: end of the stream or a document separator is expected");
1395
+ }
1396
+ return result;
1397
+ }
1398
+ *readDocuments() {
1399
+ while (this.position < this.length - 1) {
1400
+ yield this.readDocument();
1401
+ }
1402
+ }
1403
+ }
1404
+ exports.LoaderState = LoaderState;
1405
+ _LoaderState_instances = new WeakSet(), _LoaderState_createError = function _LoaderState_createError(message) {
1406
+ const mark = markToString(this.input, this.position, this.line, this.position - this.lineStart);
1407
+ return new SyntaxError(`${message} ${mark}`);
1408
+ };