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