toolcraft 0.0.116 → 0.0.117

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 (343) hide show
  1. package/composition.json +57 -2
  2. package/dist/composition.json +57 -2
  3. package/node_modules/@poe-code/agent-mcp-config/package.json +0 -3
  4. package/node_modules/@poe-code/config-mutations/package.json +0 -5
  5. package/node_modules/@poe-code/frontmatter/package.json +0 -3
  6. package/node_modules/@poe-code/process-runner/package.json +0 -3
  7. package/node_modules/@poe-code/task-list/package.json +0 -3
  8. package/node_modules/fast-string-truncated-width/dist/index.d.ts +4 -0
  9. package/node_modules/fast-string-truncated-width/dist/index.js +111 -0
  10. package/node_modules/fast-string-truncated-width/dist/types.d.ts +19 -0
  11. package/node_modules/fast-string-truncated-width/dist/types.js +2 -0
  12. package/node_modules/fast-string-truncated-width/dist/utils.d.ts +4 -0
  13. package/node_modules/fast-string-truncated-width/dist/utils.js +20 -0
  14. package/node_modules/fast-string-truncated-width/license +21 -0
  15. package/node_modules/fast-string-truncated-width/package.json +35 -0
  16. package/node_modules/fast-string-truncated-width/readme.md +59 -0
  17. package/node_modules/fast-string-width/dist/index.d.ts +4 -0
  18. package/node_modules/fast-string-width/dist/index.js +14 -0
  19. package/node_modules/fast-string-width/license +21 -0
  20. package/node_modules/fast-string-width/package.json +34 -0
  21. package/node_modules/fast-string-width/readme.md +42 -0
  22. package/node_modules/fast-wrap-ansi/LICENSE +23 -0
  23. package/node_modules/fast-wrap-ansi/README.md +26 -0
  24. package/node_modules/fast-wrap-ansi/lib/main.d.ts +6 -0
  25. package/node_modules/fast-wrap-ansi/lib/main.js +218 -0
  26. package/node_modules/fast-wrap-ansi/package.json +51 -0
  27. package/node_modules/ignore/LICENSE-MIT +21 -0
  28. package/node_modules/ignore/README.md +412 -0
  29. package/node_modules/ignore/index.d.ts +61 -0
  30. package/node_modules/ignore/index.js +636 -0
  31. package/node_modules/ignore/legacy.js +559 -0
  32. package/node_modules/ignore/package.json +74 -0
  33. package/node_modules/jsonc-parser/CHANGELOG.md +76 -0
  34. package/node_modules/jsonc-parser/LICENSE.md +21 -0
  35. package/node_modules/jsonc-parser/README.md +364 -0
  36. package/node_modules/jsonc-parser/SECURITY.md +41 -0
  37. package/node_modules/jsonc-parser/lib/esm/impl/edit.js +185 -0
  38. package/node_modules/jsonc-parser/lib/esm/impl/format.js +261 -0
  39. package/node_modules/jsonc-parser/lib/esm/impl/parser.js +659 -0
  40. package/node_modules/jsonc-parser/lib/esm/impl/scanner.js +443 -0
  41. package/node_modules/jsonc-parser/lib/esm/impl/string-intern.js +29 -0
  42. package/node_modules/jsonc-parser/lib/esm/main.d.ts +351 -0
  43. package/node_modules/jsonc-parser/lib/esm/main.js +178 -0
  44. package/node_modules/jsonc-parser/lib/umd/impl/edit.js +201 -0
  45. package/node_modules/jsonc-parser/lib/umd/impl/format.js +275 -0
  46. package/node_modules/jsonc-parser/lib/umd/impl/parser.js +682 -0
  47. package/node_modules/jsonc-parser/lib/umd/impl/scanner.js +456 -0
  48. package/node_modules/jsonc-parser/lib/umd/impl/string-intern.js +42 -0
  49. package/node_modules/jsonc-parser/lib/umd/main.d.ts +351 -0
  50. package/node_modules/jsonc-parser/lib/umd/main.js +194 -0
  51. package/node_modules/jsonc-parser/package.json +37 -0
  52. package/node_modules/pct-encode/.travis.yml +7 -0
  53. package/node_modules/pct-encode/AUTHORS +2 -0
  54. package/node_modules/pct-encode/LICENSE +11 -0
  55. package/node_modules/pct-encode/README.md +20 -0
  56. package/node_modules/pct-encode/index.js +23 -0
  57. package/node_modules/pct-encode/package.json +23 -0
  58. package/node_modules/pct-encode/test.js +10 -0
  59. package/node_modules/sisteransi/license +21 -0
  60. package/node_modules/sisteransi/package.json +34 -0
  61. package/node_modules/sisteransi/readme.md +113 -0
  62. package/node_modules/sisteransi/src/index.js +58 -0
  63. package/node_modules/sisteransi/src/sisteransi.d.ts +35 -0
  64. package/node_modules/smol-toml/LICENSE +24 -0
  65. package/node_modules/smol-toml/README.md +239 -0
  66. package/node_modules/smol-toml/dist/date.d.ts +41 -0
  67. package/node_modules/smol-toml/dist/date.js +127 -0
  68. package/node_modules/smol-toml/dist/error.d.ts +38 -0
  69. package/node_modules/smol-toml/dist/error.js +63 -0
  70. package/node_modules/smol-toml/dist/extract.d.ts +30 -0
  71. package/node_modules/smol-toml/dist/extract.js +100 -0
  72. package/node_modules/smol-toml/dist/index.cjs +897 -0
  73. package/node_modules/smol-toml/dist/index.d.ts +43 -0
  74. package/node_modules/smol-toml/dist/index.js +33 -0
  75. package/node_modules/smol-toml/dist/parse.d.ts +37 -0
  76. package/node_modules/smol-toml/dist/parse.js +148 -0
  77. package/node_modules/smol-toml/dist/primitive.d.ts +31 -0
  78. package/node_modules/smol-toml/dist/primitive.js +179 -0
  79. package/node_modules/smol-toml/dist/stringify.d.ts +31 -0
  80. package/node_modules/smol-toml/dist/stringify.js +167 -0
  81. package/node_modules/smol-toml/dist/struct.d.ts +32 -0
  82. package/node_modules/smol-toml/dist/struct.js +184 -0
  83. package/node_modules/smol-toml/dist/util.d.ts +42 -0
  84. package/node_modules/smol-toml/dist/util.js +111 -0
  85. package/node_modules/smol-toml/package.json +54 -0
  86. package/node_modules/tiny-stdio-mcp-server/dist/composition.json +1 -1
  87. package/node_modules/tiny-stdio-mcp-server/package.json +0 -4
  88. package/node_modules/toolcraft-design/package.json +0 -5
  89. package/node_modules/toolcraft-schema/package.json +1 -1
  90. package/node_modules/uri-template/AUTHORS +2 -0
  91. package/node_modules/uri-template/LICENSE +19 -0
  92. package/node_modules/uri-template/README.md +34 -0
  93. package/node_modules/uri-template/dist/ast.d.ts +28 -0
  94. package/node_modules/uri-template/dist/ast.js +27 -0
  95. package/node_modules/uri-template/dist/expander.d.ts +3 -0
  96. package/node_modules/uri-template/dist/expander.js +165 -0
  97. package/node_modules/uri-template/dist/grammar.d.ts +13 -0
  98. package/node_modules/uri-template/dist/grammar.js +749 -0
  99. package/node_modules/uri-template/dist/index.d.ts +19 -0
  100. package/node_modules/uri-template/dist/index.js +43 -0
  101. package/node_modules/uri-template/lib/ast.ts +59 -0
  102. package/node_modules/uri-template/lib/expander.ts +175 -0
  103. package/node_modules/uri-template/lib/grammar.js +773 -0
  104. package/node_modules/uri-template/lib/grammar.pegjs +33 -0
  105. package/node_modules/uri-template/lib/index.ts +33 -0
  106. package/node_modules/uri-template/package.json +33 -0
  107. package/node_modules/uri-template-lite/README.md +86 -0
  108. package/node_modules/uri-template-lite/index.js +140 -0
  109. package/node_modules/uri-template-lite/package.json +43 -0
  110. package/node_modules/yaml/LICENSE +13 -0
  111. package/node_modules/yaml/README.md +172 -0
  112. package/node_modules/yaml/bin.mjs +11 -0
  113. package/node_modules/yaml/browser/dist/compose/compose-collection.js +88 -0
  114. package/node_modules/yaml/browser/dist/compose/compose-doc.js +43 -0
  115. package/node_modules/yaml/browser/dist/compose/compose-node.js +109 -0
  116. package/node_modules/yaml/browser/dist/compose/compose-scalar.js +86 -0
  117. package/node_modules/yaml/browser/dist/compose/composer.js +219 -0
  118. package/node_modules/yaml/browser/dist/compose/resolve-block-map.js +115 -0
  119. package/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +198 -0
  120. package/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +49 -0
  121. package/node_modules/yaml/browser/dist/compose/resolve-end.js +37 -0
  122. package/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +207 -0
  123. package/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +225 -0
  124. package/node_modules/yaml/browser/dist/compose/resolve-props.js +146 -0
  125. package/node_modules/yaml/browser/dist/compose/util-contains-newline.js +34 -0
  126. package/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +26 -0
  127. package/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +15 -0
  128. package/node_modules/yaml/browser/dist/compose/util-map-includes.js +13 -0
  129. package/node_modules/yaml/browser/dist/doc/Document.js +335 -0
  130. package/node_modules/yaml/browser/dist/doc/anchors.js +71 -0
  131. package/node_modules/yaml/browser/dist/doc/applyReviver.js +55 -0
  132. package/node_modules/yaml/browser/dist/doc/createNode.js +88 -0
  133. package/node_modules/yaml/browser/dist/doc/directives.js +176 -0
  134. package/node_modules/yaml/browser/dist/errors.js +57 -0
  135. package/node_modules/yaml/browser/dist/index.js +17 -0
  136. package/node_modules/yaml/browser/dist/log.js +11 -0
  137. package/node_modules/yaml/browser/dist/nodes/Alias.js +116 -0
  138. package/node_modules/yaml/browser/dist/nodes/Collection.js +147 -0
  139. package/node_modules/yaml/browser/dist/nodes/Node.js +38 -0
  140. package/node_modules/yaml/browser/dist/nodes/Pair.js +36 -0
  141. package/node_modules/yaml/browser/dist/nodes/Scalar.js +24 -0
  142. package/node_modules/yaml/browser/dist/nodes/YAMLMap.js +144 -0
  143. package/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +113 -0
  144. package/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +63 -0
  145. package/node_modules/yaml/browser/dist/nodes/identity.js +36 -0
  146. package/node_modules/yaml/browser/dist/nodes/toJS.js +37 -0
  147. package/node_modules/yaml/browser/dist/parse/cst-scalar.js +214 -0
  148. package/node_modules/yaml/browser/dist/parse/cst-stringify.js +61 -0
  149. package/node_modules/yaml/browser/dist/parse/cst-visit.js +97 -0
  150. package/node_modules/yaml/browser/dist/parse/cst.js +98 -0
  151. package/node_modules/yaml/browser/dist/parse/lexer.js +721 -0
  152. package/node_modules/yaml/browser/dist/parse/line-counter.js +39 -0
  153. package/node_modules/yaml/browser/dist/parse/parser.js +975 -0
  154. package/node_modules/yaml/browser/dist/public-api.js +102 -0
  155. package/node_modules/yaml/browser/dist/schema/Schema.js +37 -0
  156. package/node_modules/yaml/browser/dist/schema/common/map.js +17 -0
  157. package/node_modules/yaml/browser/dist/schema/common/null.js +15 -0
  158. package/node_modules/yaml/browser/dist/schema/common/seq.js +17 -0
  159. package/node_modules/yaml/browser/dist/schema/common/string.js +14 -0
  160. package/node_modules/yaml/browser/dist/schema/core/bool.js +19 -0
  161. package/node_modules/yaml/browser/dist/schema/core/float.js +43 -0
  162. package/node_modules/yaml/browser/dist/schema/core/int.js +38 -0
  163. package/node_modules/yaml/browser/dist/schema/core/schema.js +23 -0
  164. package/node_modules/yaml/browser/dist/schema/json/schema.js +62 -0
  165. package/node_modules/yaml/browser/dist/schema/tags.js +96 -0
  166. package/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +58 -0
  167. package/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +26 -0
  168. package/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +46 -0
  169. package/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +71 -0
  170. package/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +67 -0
  171. package/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +74 -0
  172. package/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +78 -0
  173. package/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +39 -0
  174. package/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +93 -0
  175. package/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +101 -0
  176. package/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +146 -0
  177. package/node_modules/yaml/browser/dist/stringify/stringify.js +129 -0
  178. package/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +153 -0
  179. package/node_modules/yaml/browser/dist/stringify/stringifyComment.js +20 -0
  180. package/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +85 -0
  181. package/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +25 -0
  182. package/node_modules/yaml/browser/dist/stringify/stringifyPair.js +150 -0
  183. package/node_modules/yaml/browser/dist/stringify/stringifyString.js +336 -0
  184. package/node_modules/yaml/browser/dist/util.js +11 -0
  185. package/node_modules/yaml/browser/dist/visit.js +233 -0
  186. package/node_modules/yaml/browser/index.js +5 -0
  187. package/node_modules/yaml/browser/package.json +3 -0
  188. package/node_modules/yaml/dist/cli.d.ts +8 -0
  189. package/node_modules/yaml/dist/cli.mjs +201 -0
  190. package/node_modules/yaml/dist/compose/compose-collection.d.ts +11 -0
  191. package/node_modules/yaml/dist/compose/compose-collection.js +90 -0
  192. package/node_modules/yaml/dist/compose/compose-doc.d.ts +7 -0
  193. package/node_modules/yaml/dist/compose/compose-doc.js +45 -0
  194. package/node_modules/yaml/dist/compose/compose-node.d.ts +29 -0
  195. package/node_modules/yaml/dist/compose/compose-node.js +112 -0
  196. package/node_modules/yaml/dist/compose/compose-scalar.d.ts +5 -0
  197. package/node_modules/yaml/dist/compose/compose-scalar.js +88 -0
  198. package/node_modules/yaml/dist/compose/composer.d.ts +63 -0
  199. package/node_modules/yaml/dist/compose/composer.js +224 -0
  200. package/node_modules/yaml/dist/compose/resolve-block-map.d.ts +6 -0
  201. package/node_modules/yaml/dist/compose/resolve-block-map.js +117 -0
  202. package/node_modules/yaml/dist/compose/resolve-block-scalar.d.ts +11 -0
  203. package/node_modules/yaml/dist/compose/resolve-block-scalar.js +200 -0
  204. package/node_modules/yaml/dist/compose/resolve-block-seq.d.ts +6 -0
  205. package/node_modules/yaml/dist/compose/resolve-block-seq.js +51 -0
  206. package/node_modules/yaml/dist/compose/resolve-end.d.ts +6 -0
  207. package/node_modules/yaml/dist/compose/resolve-end.js +39 -0
  208. package/node_modules/yaml/dist/compose/resolve-flow-collection.d.ts +7 -0
  209. package/node_modules/yaml/dist/compose/resolve-flow-collection.js +209 -0
  210. package/node_modules/yaml/dist/compose/resolve-flow-scalar.d.ts +10 -0
  211. package/node_modules/yaml/dist/compose/resolve-flow-scalar.js +227 -0
  212. package/node_modules/yaml/dist/compose/resolve-props.d.ts +23 -0
  213. package/node_modules/yaml/dist/compose/resolve-props.js +148 -0
  214. package/node_modules/yaml/dist/compose/util-contains-newline.d.ts +2 -0
  215. package/node_modules/yaml/dist/compose/util-contains-newline.js +36 -0
  216. package/node_modules/yaml/dist/compose/util-empty-scalar-position.d.ts +2 -0
  217. package/node_modules/yaml/dist/compose/util-empty-scalar-position.js +28 -0
  218. package/node_modules/yaml/dist/compose/util-flow-indent-check.d.ts +3 -0
  219. package/node_modules/yaml/dist/compose/util-flow-indent-check.js +17 -0
  220. package/node_modules/yaml/dist/compose/util-map-includes.d.ts +4 -0
  221. package/node_modules/yaml/dist/compose/util-map-includes.js +15 -0
  222. package/node_modules/yaml/dist/doc/Document.d.ts +141 -0
  223. package/node_modules/yaml/dist/doc/Document.js +337 -0
  224. package/node_modules/yaml/dist/doc/anchors.d.ts +24 -0
  225. package/node_modules/yaml/dist/doc/anchors.js +76 -0
  226. package/node_modules/yaml/dist/doc/applyReviver.d.ts +9 -0
  227. package/node_modules/yaml/dist/doc/applyReviver.js +57 -0
  228. package/node_modules/yaml/dist/doc/createNode.d.ts +17 -0
  229. package/node_modules/yaml/dist/doc/createNode.js +90 -0
  230. package/node_modules/yaml/dist/doc/directives.d.ts +49 -0
  231. package/node_modules/yaml/dist/doc/directives.js +178 -0
  232. package/node_modules/yaml/dist/errors.d.ts +21 -0
  233. package/node_modules/yaml/dist/errors.js +62 -0
  234. package/node_modules/yaml/dist/index.d.ts +25 -0
  235. package/node_modules/yaml/dist/index.js +50 -0
  236. package/node_modules/yaml/dist/log.d.ts +3 -0
  237. package/node_modules/yaml/dist/log.js +19 -0
  238. package/node_modules/yaml/dist/nodes/Alias.d.ts +29 -0
  239. package/node_modules/yaml/dist/nodes/Alias.js +118 -0
  240. package/node_modules/yaml/dist/nodes/Collection.d.ts +73 -0
  241. package/node_modules/yaml/dist/nodes/Collection.js +151 -0
  242. package/node_modules/yaml/dist/nodes/Node.d.ts +53 -0
  243. package/node_modules/yaml/dist/nodes/Node.js +40 -0
  244. package/node_modules/yaml/dist/nodes/Pair.d.ts +22 -0
  245. package/node_modules/yaml/dist/nodes/Pair.js +39 -0
  246. package/node_modules/yaml/dist/nodes/Scalar.d.ts +47 -0
  247. package/node_modules/yaml/dist/nodes/Scalar.js +27 -0
  248. package/node_modules/yaml/dist/nodes/YAMLMap.d.ts +53 -0
  249. package/node_modules/yaml/dist/nodes/YAMLMap.js +147 -0
  250. package/node_modules/yaml/dist/nodes/YAMLSeq.d.ts +60 -0
  251. package/node_modules/yaml/dist/nodes/YAMLSeq.js +115 -0
  252. package/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts +4 -0
  253. package/node_modules/yaml/dist/nodes/addPairToJSMap.js +65 -0
  254. package/node_modules/yaml/dist/nodes/identity.d.ts +23 -0
  255. package/node_modules/yaml/dist/nodes/identity.js +53 -0
  256. package/node_modules/yaml/dist/nodes/toJS.d.ts +29 -0
  257. package/node_modules/yaml/dist/nodes/toJS.js +39 -0
  258. package/node_modules/yaml/dist/options.d.ts +350 -0
  259. package/node_modules/yaml/dist/parse/cst-scalar.d.ts +64 -0
  260. package/node_modules/yaml/dist/parse/cst-scalar.js +218 -0
  261. package/node_modules/yaml/dist/parse/cst-stringify.d.ts +8 -0
  262. package/node_modules/yaml/dist/parse/cst-stringify.js +63 -0
  263. package/node_modules/yaml/dist/parse/cst-visit.d.ts +39 -0
  264. package/node_modules/yaml/dist/parse/cst-visit.js +99 -0
  265. package/node_modules/yaml/dist/parse/cst.d.ts +109 -0
  266. package/node_modules/yaml/dist/parse/cst.js +112 -0
  267. package/node_modules/yaml/dist/parse/lexer.d.ts +87 -0
  268. package/node_modules/yaml/dist/parse/lexer.js +723 -0
  269. package/node_modules/yaml/dist/parse/line-counter.d.ts +22 -0
  270. package/node_modules/yaml/dist/parse/line-counter.js +41 -0
  271. package/node_modules/yaml/dist/parse/parser.d.ts +84 -0
  272. package/node_modules/yaml/dist/parse/parser.js +980 -0
  273. package/node_modules/yaml/dist/public-api.d.ts +44 -0
  274. package/node_modules/yaml/dist/public-api.js +107 -0
  275. package/node_modules/yaml/dist/schema/Schema.d.ts +17 -0
  276. package/node_modules/yaml/dist/schema/Schema.js +39 -0
  277. package/node_modules/yaml/dist/schema/common/map.d.ts +2 -0
  278. package/node_modules/yaml/dist/schema/common/map.js +19 -0
  279. package/node_modules/yaml/dist/schema/common/null.d.ts +4 -0
  280. package/node_modules/yaml/dist/schema/common/null.js +17 -0
  281. package/node_modules/yaml/dist/schema/common/seq.d.ts +2 -0
  282. package/node_modules/yaml/dist/schema/common/seq.js +19 -0
  283. package/node_modules/yaml/dist/schema/common/string.d.ts +2 -0
  284. package/node_modules/yaml/dist/schema/common/string.js +16 -0
  285. package/node_modules/yaml/dist/schema/core/bool.d.ts +4 -0
  286. package/node_modules/yaml/dist/schema/core/bool.js +21 -0
  287. package/node_modules/yaml/dist/schema/core/float.d.ts +4 -0
  288. package/node_modules/yaml/dist/schema/core/float.js +47 -0
  289. package/node_modules/yaml/dist/schema/core/int.d.ts +4 -0
  290. package/node_modules/yaml/dist/schema/core/int.js +42 -0
  291. package/node_modules/yaml/dist/schema/core/schema.d.ts +1 -0
  292. package/node_modules/yaml/dist/schema/core/schema.js +25 -0
  293. package/node_modules/yaml/dist/schema/json/schema.d.ts +2 -0
  294. package/node_modules/yaml/dist/schema/json/schema.js +64 -0
  295. package/node_modules/yaml/dist/schema/json-schema.d.ts +69 -0
  296. package/node_modules/yaml/dist/schema/tags.d.ts +48 -0
  297. package/node_modules/yaml/dist/schema/tags.js +99 -0
  298. package/node_modules/yaml/dist/schema/types.d.ts +92 -0
  299. package/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts +2 -0
  300. package/node_modules/yaml/dist/schema/yaml-1.1/binary.js +70 -0
  301. package/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts +7 -0
  302. package/node_modules/yaml/dist/schema/yaml-1.1/bool.js +29 -0
  303. package/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts +4 -0
  304. package/node_modules/yaml/dist/schema/yaml-1.1/float.js +50 -0
  305. package/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts +5 -0
  306. package/node_modules/yaml/dist/schema/yaml-1.1/int.js +76 -0
  307. package/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts +9 -0
  308. package/node_modules/yaml/dist/schema/yaml-1.1/merge.js +71 -0
  309. package/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts +22 -0
  310. package/node_modules/yaml/dist/schema/yaml-1.1/omap.js +77 -0
  311. package/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts +10 -0
  312. package/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +82 -0
  313. package/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts +1 -0
  314. package/node_modules/yaml/dist/schema/yaml-1.1/schema.js +41 -0
  315. package/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts +28 -0
  316. package/node_modules/yaml/dist/schema/yaml-1.1/set.js +96 -0
  317. package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts +6 -0
  318. package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +105 -0
  319. package/node_modules/yaml/dist/stringify/foldFlowLines.d.ts +34 -0
  320. package/node_modules/yaml/dist/stringify/foldFlowLines.js +151 -0
  321. package/node_modules/yaml/dist/stringify/stringify.d.ts +21 -0
  322. package/node_modules/yaml/dist/stringify/stringify.js +132 -0
  323. package/node_modules/yaml/dist/stringify/stringifyCollection.d.ts +17 -0
  324. package/node_modules/yaml/dist/stringify/stringifyCollection.js +155 -0
  325. package/node_modules/yaml/dist/stringify/stringifyComment.d.ts +10 -0
  326. package/node_modules/yaml/dist/stringify/stringifyComment.js +24 -0
  327. package/node_modules/yaml/dist/stringify/stringifyDocument.d.ts +4 -0
  328. package/node_modules/yaml/dist/stringify/stringifyDocument.js +87 -0
  329. package/node_modules/yaml/dist/stringify/stringifyNumber.d.ts +2 -0
  330. package/node_modules/yaml/dist/stringify/stringifyNumber.js +27 -0
  331. package/node_modules/yaml/dist/stringify/stringifyPair.d.ts +3 -0
  332. package/node_modules/yaml/dist/stringify/stringifyPair.js +152 -0
  333. package/node_modules/yaml/dist/stringify/stringifyString.d.ts +9 -0
  334. package/node_modules/yaml/dist/stringify/stringifyString.js +338 -0
  335. package/node_modules/yaml/dist/test-events.d.ts +4 -0
  336. package/node_modules/yaml/dist/test-events.js +134 -0
  337. package/node_modules/yaml/dist/util.d.ts +16 -0
  338. package/node_modules/yaml/dist/util.js +28 -0
  339. package/node_modules/yaml/dist/visit.d.ts +102 -0
  340. package/node_modules/yaml/dist/visit.js +236 -0
  341. package/node_modules/yaml/package.json +97 -0
  342. package/node_modules/yaml/util.js +2 -0
  343. package/package.json +14 -5
@@ -0,0 +1,749 @@
1
+ // Generated by Peggy 1.2.0.
2
+ //
3
+ // https://peggyjs.org/
4
+ "use strict";
5
+ function peg$subclass(child, parent) {
6
+ function C() { this.constructor = child; }
7
+ C.prototype = parent.prototype;
8
+ child.prototype = new C();
9
+ }
10
+ function peg$SyntaxError(message, expected, found, location) {
11
+ var self = Error.call(this, message);
12
+ if (Object.setPrototypeOf) {
13
+ Object.setPrototypeOf(self, peg$SyntaxError.prototype);
14
+ }
15
+ self.expected = expected;
16
+ self.found = found;
17
+ self.location = location;
18
+ self.name = "SyntaxError";
19
+ return self;
20
+ }
21
+ peg$subclass(peg$SyntaxError, Error);
22
+ function peg$padEnd(str, targetLength, padString) {
23
+ padString = padString || " ";
24
+ if (str.length > targetLength) {
25
+ return str;
26
+ }
27
+ targetLength -= str.length;
28
+ padString += padString.repeat(targetLength);
29
+ return str + padString.slice(0, targetLength);
30
+ }
31
+ peg$SyntaxError.prototype.format = function (sources) {
32
+ var str = "Error: " + this.message;
33
+ if (this.location) {
34
+ var src = null;
35
+ var k;
36
+ for (k = 0; k < sources.length; k++) {
37
+ if (sources[k].source === this.location.source) {
38
+ src = sources[k].text.split(/\r\n|\n|\r/g);
39
+ break;
40
+ }
41
+ }
42
+ var s = this.location.start;
43
+ var loc = this.location.source + ":" + s.line + ":" + s.column;
44
+ if (src) {
45
+ var e = this.location.end;
46
+ var filler = peg$padEnd("", s.line.toString().length);
47
+ var line = src[s.line - 1];
48
+ var last = s.line === e.line ? e.column : line.length + 1;
49
+ str += "\n --> " + loc + "\n"
50
+ + filler + " |\n"
51
+ + s.line + " | " + line + "\n"
52
+ + filler + " | " + peg$padEnd("", s.column - 1)
53
+ + peg$padEnd("", last - s.column, "^");
54
+ }
55
+ else {
56
+ str += "\n at " + loc;
57
+ }
58
+ }
59
+ return str;
60
+ };
61
+ peg$SyntaxError.buildMessage = function (expected, found) {
62
+ var DESCRIBE_EXPECTATION_FNS = {
63
+ literal: function (expectation) {
64
+ return "\"" + literalEscape(expectation.text) + "\"";
65
+ },
66
+ "class": function (expectation) {
67
+ var escapedParts = expectation.parts.map(function (part) {
68
+ return Array.isArray(part)
69
+ ? classEscape(part[0]) + "-" + classEscape(part[1])
70
+ : classEscape(part);
71
+ });
72
+ return "[" + (expectation.inverted ? "^" : "") + escapedParts + "]";
73
+ },
74
+ any: function () {
75
+ return "any character";
76
+ },
77
+ end: function () {
78
+ return "end of input";
79
+ },
80
+ other: function (expectation) {
81
+ return expectation.description;
82
+ }
83
+ };
84
+ function hex(ch) {
85
+ return ch.charCodeAt(0).toString(16).toUpperCase();
86
+ }
87
+ function literalEscape(s) {
88
+ return s
89
+ .replace(/\\/g, "\\\\")
90
+ .replace(/"/g, "\\\"")
91
+ .replace(/\0/g, "\\0")
92
+ .replace(/\t/g, "\\t")
93
+ .replace(/\n/g, "\\n")
94
+ .replace(/\r/g, "\\r")
95
+ .replace(/[\x00-\x0F]/g, function (ch) { return "\\x0" + hex(ch); })
96
+ .replace(/[\x10-\x1F\x7F-\x9F]/g, function (ch) { return "\\x" + hex(ch); });
97
+ }
98
+ function classEscape(s) {
99
+ return s
100
+ .replace(/\\/g, "\\\\")
101
+ .replace(/\]/g, "\\]")
102
+ .replace(/\^/g, "\\^")
103
+ .replace(/-/g, "\\-")
104
+ .replace(/\0/g, "\\0")
105
+ .replace(/\t/g, "\\t")
106
+ .replace(/\n/g, "\\n")
107
+ .replace(/\r/g, "\\r")
108
+ .replace(/[\x00-\x0F]/g, function (ch) { return "\\x0" + hex(ch); })
109
+ .replace(/[\x10-\x1F\x7F-\x9F]/g, function (ch) { return "\\x" + hex(ch); });
110
+ }
111
+ function describeExpectation(expectation) {
112
+ return DESCRIBE_EXPECTATION_FNS[expectation.type](expectation);
113
+ }
114
+ function describeExpected(expected) {
115
+ var descriptions = expected.map(describeExpectation);
116
+ var i, j;
117
+ descriptions.sort();
118
+ if (descriptions.length > 0) {
119
+ for (i = 1, j = 1; i < descriptions.length; i++) {
120
+ if (descriptions[i - 1] !== descriptions[i]) {
121
+ descriptions[j] = descriptions[i];
122
+ j++;
123
+ }
124
+ }
125
+ descriptions.length = j;
126
+ }
127
+ switch (descriptions.length) {
128
+ case 1:
129
+ return descriptions[0];
130
+ case 2:
131
+ return descriptions[0] + " or " + descriptions[1];
132
+ default:
133
+ return descriptions.slice(0, -1).join(", ")
134
+ + ", or "
135
+ + descriptions[descriptions.length - 1];
136
+ }
137
+ }
138
+ function describeFound(found) {
139
+ return found ? "\"" + literalEscape(found) + "\"" : "end of input";
140
+ }
141
+ return "Expected " + describeExpected(expected) + " but " + describeFound(found) + " found.";
142
+ };
143
+ function peg$parse(input, options) {
144
+ options = options !== undefined ? options : {};
145
+ var peg$FAILED = {};
146
+ var peg$source = options.grammarSource;
147
+ var peg$startRuleFunctions = { template: peg$parsetemplate };
148
+ var peg$startRuleFunction = peg$parsetemplate;
149
+ var peg$c0 = "{";
150
+ var peg$c1 = "}";
151
+ var peg$c2 = ",";
152
+ var peg$c3 = "*";
153
+ var peg$c4 = ":";
154
+ var peg$c5 = "(";
155
+ var peg$c6 = ")";
156
+ var peg$r0 = /^[\/;.?&+#]/;
157
+ var peg$r1 = /^[a-zA-Z0-9_.%]/;
158
+ var peg$r2 = /^[0-9]/;
159
+ var peg$r3 = /^[^{]/;
160
+ var peg$r4 = /^[^)]/;
161
+ var peg$e0 = peg$literalExpectation("{", false);
162
+ var peg$e1 = peg$literalExpectation("}", false);
163
+ var peg$e2 = peg$classExpectation(["/", ";", ".", "?", "&", "+", "#"], false, false);
164
+ var peg$e3 = peg$literalExpectation(",", false);
165
+ var peg$e4 = peg$classExpectation([["a", "z"], ["A", "Z"], ["0", "9"], "_", ".", "%"], false, false);
166
+ var peg$e5 = peg$literalExpectation("*", false);
167
+ var peg$e6 = peg$literalExpectation(":", false);
168
+ var peg$e7 = peg$classExpectation([["0", "9"]], false, false);
169
+ var peg$e8 = peg$classExpectation(["{"], true, false);
170
+ var peg$e9 = peg$literalExpectation("(", false);
171
+ var peg$e10 = peg$classExpectation([")"], true, false);
172
+ var peg$e11 = peg$literalExpectation(")", false);
173
+ var peg$f0 = function (parts) { return { type: 'template', parts: parts }; };
174
+ var peg$f1 = function (operator, variables) { return { type: 'expression', operator: operator, variables: variables }; };
175
+ var peg$f2 = function (hd, v) { return v; };
176
+ var peg$f3 = function (hd, rst) { rst.unshift(hd); return rst; };
177
+ var peg$f4 = function (name, modifier, extension) { return { type: 'variable', name: name, modifier: modifier, extension: extension }; };
178
+ var peg$f5 = function () { return { type: 'explode' }; };
179
+ var peg$f6 = function (digits) { return { type: 'substr', length: parseInt(digits) }; };
180
+ var peg$f7 = function (value) { return { type: 'literal', value: value }; };
181
+ var peg$f8 = function (text) { return text; };
182
+ var peg$currPos = 0;
183
+ var peg$savedPos = 0;
184
+ var peg$posDetailsCache = [{ line: 1, column: 1 }];
185
+ var peg$maxFailPos = 0;
186
+ var peg$maxFailExpected = [];
187
+ var peg$silentFails = 0;
188
+ var peg$result;
189
+ if ("startRule" in options) {
190
+ if (!(options.startRule in peg$startRuleFunctions)) {
191
+ throw new Error("Can't start parsing from rule \"" + options.startRule + "\".");
192
+ }
193
+ peg$startRuleFunction = peg$startRuleFunctions[options.startRule];
194
+ }
195
+ function text() {
196
+ return input.substring(peg$savedPos, peg$currPos);
197
+ }
198
+ function offset() {
199
+ return peg$savedPos;
200
+ }
201
+ function range() {
202
+ return {
203
+ source: peg$source,
204
+ start: peg$savedPos,
205
+ end: peg$currPos
206
+ };
207
+ }
208
+ function location() {
209
+ return peg$computeLocation(peg$savedPos, peg$currPos);
210
+ }
211
+ function expected(description, location) {
212
+ location = location !== undefined
213
+ ? location
214
+ : peg$computeLocation(peg$savedPos, peg$currPos);
215
+ throw peg$buildStructuredError([peg$otherExpectation(description)], input.substring(peg$savedPos, peg$currPos), location);
216
+ }
217
+ function error(message, location) {
218
+ location = location !== undefined
219
+ ? location
220
+ : peg$computeLocation(peg$savedPos, peg$currPos);
221
+ throw peg$buildSimpleError(message, location);
222
+ }
223
+ function peg$literalExpectation(text, ignoreCase) {
224
+ return { type: "literal", text: text, ignoreCase: ignoreCase };
225
+ }
226
+ function peg$classExpectation(parts, inverted, ignoreCase) {
227
+ return { type: "class", parts: parts, inverted: inverted, ignoreCase: ignoreCase };
228
+ }
229
+ function peg$anyExpectation() {
230
+ return { type: "any" };
231
+ }
232
+ function peg$endExpectation() {
233
+ return { type: "end" };
234
+ }
235
+ function peg$otherExpectation(description) {
236
+ return { type: "other", description: description };
237
+ }
238
+ function peg$computePosDetails(pos) {
239
+ var details = peg$posDetailsCache[pos];
240
+ var p;
241
+ if (details) {
242
+ return details;
243
+ }
244
+ else {
245
+ p = pos - 1;
246
+ while (!peg$posDetailsCache[p]) {
247
+ p--;
248
+ }
249
+ details = peg$posDetailsCache[p];
250
+ details = {
251
+ line: details.line,
252
+ column: details.column
253
+ };
254
+ while (p < pos) {
255
+ if (input.charCodeAt(p) === 10) {
256
+ details.line++;
257
+ details.column = 1;
258
+ }
259
+ else {
260
+ details.column++;
261
+ }
262
+ p++;
263
+ }
264
+ peg$posDetailsCache[pos] = details;
265
+ return details;
266
+ }
267
+ }
268
+ function peg$computeLocation(startPos, endPos) {
269
+ var startPosDetails = peg$computePosDetails(startPos);
270
+ var endPosDetails = peg$computePosDetails(endPos);
271
+ return {
272
+ source: peg$source,
273
+ start: {
274
+ offset: startPos,
275
+ line: startPosDetails.line,
276
+ column: startPosDetails.column
277
+ },
278
+ end: {
279
+ offset: endPos,
280
+ line: endPosDetails.line,
281
+ column: endPosDetails.column
282
+ }
283
+ };
284
+ }
285
+ function peg$fail(expected) {
286
+ if (peg$currPos < peg$maxFailPos) {
287
+ return;
288
+ }
289
+ if (peg$currPos > peg$maxFailPos) {
290
+ peg$maxFailPos = peg$currPos;
291
+ peg$maxFailExpected = [];
292
+ }
293
+ peg$maxFailExpected.push(expected);
294
+ }
295
+ function peg$buildSimpleError(message, location) {
296
+ return new peg$SyntaxError(message, null, null, location);
297
+ }
298
+ function peg$buildStructuredError(expected, found, location) {
299
+ return new peg$SyntaxError(peg$SyntaxError.buildMessage(expected, found), expected, found, location);
300
+ }
301
+ function peg$parsetemplate() {
302
+ var s0, s1, s2;
303
+ s0 = peg$currPos;
304
+ s1 = [];
305
+ s2 = peg$parseliteral();
306
+ if (s2 === peg$FAILED) {
307
+ s2 = peg$parseexpression();
308
+ }
309
+ while (s2 !== peg$FAILED) {
310
+ s1.push(s2);
311
+ s2 = peg$parseliteral();
312
+ if (s2 === peg$FAILED) {
313
+ s2 = peg$parseexpression();
314
+ }
315
+ }
316
+ peg$savedPos = s0;
317
+ s1 = peg$f0(s1);
318
+ s0 = s1;
319
+ return s0;
320
+ }
321
+ function peg$parseexpression() {
322
+ var s0, s1, s2, s3, s4;
323
+ s0 = peg$currPos;
324
+ if (input.charCodeAt(peg$currPos) === 123) {
325
+ s1 = peg$c0;
326
+ peg$currPos++;
327
+ }
328
+ else {
329
+ s1 = peg$FAILED;
330
+ if (peg$silentFails === 0) {
331
+ peg$fail(peg$e0);
332
+ }
333
+ }
334
+ if (s1 !== peg$FAILED) {
335
+ s2 = peg$parseoperator();
336
+ if (s2 !== peg$FAILED) {
337
+ s3 = peg$parsevariables();
338
+ if (s3 !== peg$FAILED) {
339
+ if (input.charCodeAt(peg$currPos) === 125) {
340
+ s4 = peg$c1;
341
+ peg$currPos++;
342
+ }
343
+ else {
344
+ s4 = peg$FAILED;
345
+ if (peg$silentFails === 0) {
346
+ peg$fail(peg$e1);
347
+ }
348
+ }
349
+ if (s4 !== peg$FAILED) {
350
+ peg$savedPos = s0;
351
+ s0 = peg$f1(s2, s3);
352
+ }
353
+ else {
354
+ peg$currPos = s0;
355
+ s0 = peg$FAILED;
356
+ }
357
+ }
358
+ else {
359
+ peg$currPos = s0;
360
+ s0 = peg$FAILED;
361
+ }
362
+ }
363
+ else {
364
+ peg$currPos = s0;
365
+ s0 = peg$FAILED;
366
+ }
367
+ }
368
+ else {
369
+ peg$currPos = s0;
370
+ s0 = peg$FAILED;
371
+ }
372
+ return s0;
373
+ }
374
+ function peg$parseoperator() {
375
+ var s0;
376
+ if (peg$r0.test(input.charAt(peg$currPos))) {
377
+ s0 = input.charAt(peg$currPos);
378
+ peg$currPos++;
379
+ }
380
+ else {
381
+ s0 = peg$FAILED;
382
+ if (peg$silentFails === 0) {
383
+ peg$fail(peg$e2);
384
+ }
385
+ }
386
+ if (s0 === peg$FAILED) {
387
+ s0 = '';
388
+ }
389
+ return s0;
390
+ }
391
+ function peg$parsevariables() {
392
+ var s0, s1, s2, s3, s4, s5;
393
+ s0 = peg$currPos;
394
+ s1 = peg$parsevariable();
395
+ if (s1 !== peg$FAILED) {
396
+ s2 = [];
397
+ s3 = peg$currPos;
398
+ if (input.charCodeAt(peg$currPos) === 44) {
399
+ s4 = peg$c2;
400
+ peg$currPos++;
401
+ }
402
+ else {
403
+ s4 = peg$FAILED;
404
+ if (peg$silentFails === 0) {
405
+ peg$fail(peg$e3);
406
+ }
407
+ }
408
+ if (s4 !== peg$FAILED) {
409
+ s5 = peg$parsevariable();
410
+ if (s5 !== peg$FAILED) {
411
+ peg$savedPos = s3;
412
+ s3 = peg$f2(s1, s5);
413
+ }
414
+ else {
415
+ peg$currPos = s3;
416
+ s3 = peg$FAILED;
417
+ }
418
+ }
419
+ else {
420
+ peg$currPos = s3;
421
+ s3 = peg$FAILED;
422
+ }
423
+ while (s3 !== peg$FAILED) {
424
+ s2.push(s3);
425
+ s3 = peg$currPos;
426
+ if (input.charCodeAt(peg$currPos) === 44) {
427
+ s4 = peg$c2;
428
+ peg$currPos++;
429
+ }
430
+ else {
431
+ s4 = peg$FAILED;
432
+ if (peg$silentFails === 0) {
433
+ peg$fail(peg$e3);
434
+ }
435
+ }
436
+ if (s4 !== peg$FAILED) {
437
+ s5 = peg$parsevariable();
438
+ if (s5 !== peg$FAILED) {
439
+ peg$savedPos = s3;
440
+ s3 = peg$f2(s1, s5);
441
+ }
442
+ else {
443
+ peg$currPos = s3;
444
+ s3 = peg$FAILED;
445
+ }
446
+ }
447
+ else {
448
+ peg$currPos = s3;
449
+ s3 = peg$FAILED;
450
+ }
451
+ }
452
+ peg$savedPos = s0;
453
+ s0 = peg$f3(s1, s2);
454
+ }
455
+ else {
456
+ peg$currPos = s0;
457
+ s0 = peg$FAILED;
458
+ }
459
+ return s0;
460
+ }
461
+ function peg$parsevariable() {
462
+ var s0, s1, s2, s3;
463
+ s0 = peg$currPos;
464
+ s1 = peg$currPos;
465
+ s2 = [];
466
+ if (peg$r1.test(input.charAt(peg$currPos))) {
467
+ s3 = input.charAt(peg$currPos);
468
+ peg$currPos++;
469
+ }
470
+ else {
471
+ s3 = peg$FAILED;
472
+ if (peg$silentFails === 0) {
473
+ peg$fail(peg$e4);
474
+ }
475
+ }
476
+ if (s3 !== peg$FAILED) {
477
+ while (s3 !== peg$FAILED) {
478
+ s2.push(s3);
479
+ if (peg$r1.test(input.charAt(peg$currPos))) {
480
+ s3 = input.charAt(peg$currPos);
481
+ peg$currPos++;
482
+ }
483
+ else {
484
+ s3 = peg$FAILED;
485
+ if (peg$silentFails === 0) {
486
+ peg$fail(peg$e4);
487
+ }
488
+ }
489
+ }
490
+ }
491
+ else {
492
+ s2 = peg$FAILED;
493
+ }
494
+ if (s2 !== peg$FAILED) {
495
+ s1 = input.substring(s1, peg$currPos);
496
+ }
497
+ else {
498
+ s1 = s2;
499
+ }
500
+ if (s1 !== peg$FAILED) {
501
+ s2 = peg$parsesubstr();
502
+ if (s2 === peg$FAILED) {
503
+ s2 = peg$parselistMarker();
504
+ }
505
+ if (s2 === peg$FAILED) {
506
+ s2 = null;
507
+ }
508
+ s3 = peg$parseextension();
509
+ if (s3 === peg$FAILED) {
510
+ s3 = null;
511
+ }
512
+ peg$savedPos = s0;
513
+ s0 = peg$f4(s1, s2, s3);
514
+ }
515
+ else {
516
+ peg$currPos = s0;
517
+ s0 = peg$FAILED;
518
+ }
519
+ return s0;
520
+ }
521
+ function peg$parselistMarker() {
522
+ var s0, s1;
523
+ s0 = peg$currPos;
524
+ if (input.charCodeAt(peg$currPos) === 42) {
525
+ s1 = peg$c3;
526
+ peg$currPos++;
527
+ }
528
+ else {
529
+ s1 = peg$FAILED;
530
+ if (peg$silentFails === 0) {
531
+ peg$fail(peg$e5);
532
+ }
533
+ }
534
+ if (s1 !== peg$FAILED) {
535
+ peg$savedPos = s0;
536
+ s1 = peg$f5();
537
+ }
538
+ s0 = s1;
539
+ return s0;
540
+ }
541
+ function peg$parsesubstr() {
542
+ var s0, s1, s2, s3, s4;
543
+ s0 = peg$currPos;
544
+ if (input.charCodeAt(peg$currPos) === 58) {
545
+ s1 = peg$c4;
546
+ peg$currPos++;
547
+ }
548
+ else {
549
+ s1 = peg$FAILED;
550
+ if (peg$silentFails === 0) {
551
+ peg$fail(peg$e6);
552
+ }
553
+ }
554
+ if (s1 !== peg$FAILED) {
555
+ s2 = peg$currPos;
556
+ s3 = [];
557
+ if (peg$r2.test(input.charAt(peg$currPos))) {
558
+ s4 = input.charAt(peg$currPos);
559
+ peg$currPos++;
560
+ }
561
+ else {
562
+ s4 = peg$FAILED;
563
+ if (peg$silentFails === 0) {
564
+ peg$fail(peg$e7);
565
+ }
566
+ }
567
+ if (s4 !== peg$FAILED) {
568
+ while (s4 !== peg$FAILED) {
569
+ s3.push(s4);
570
+ if (peg$r2.test(input.charAt(peg$currPos))) {
571
+ s4 = input.charAt(peg$currPos);
572
+ peg$currPos++;
573
+ }
574
+ else {
575
+ s4 = peg$FAILED;
576
+ if (peg$silentFails === 0) {
577
+ peg$fail(peg$e7);
578
+ }
579
+ }
580
+ }
581
+ }
582
+ else {
583
+ s3 = peg$FAILED;
584
+ }
585
+ if (s3 !== peg$FAILED) {
586
+ s2 = input.substring(s2, peg$currPos);
587
+ }
588
+ else {
589
+ s2 = s3;
590
+ }
591
+ if (s2 !== peg$FAILED) {
592
+ peg$savedPos = s0;
593
+ s0 = peg$f6(s2);
594
+ }
595
+ else {
596
+ peg$currPos = s0;
597
+ s0 = peg$FAILED;
598
+ }
599
+ }
600
+ else {
601
+ peg$currPos = s0;
602
+ s0 = peg$FAILED;
603
+ }
604
+ return s0;
605
+ }
606
+ function peg$parseliteral() {
607
+ var s0, s1, s2, s3;
608
+ s0 = peg$currPos;
609
+ s1 = peg$currPos;
610
+ s2 = [];
611
+ if (peg$r3.test(input.charAt(peg$currPos))) {
612
+ s3 = input.charAt(peg$currPos);
613
+ peg$currPos++;
614
+ }
615
+ else {
616
+ s3 = peg$FAILED;
617
+ if (peg$silentFails === 0) {
618
+ peg$fail(peg$e8);
619
+ }
620
+ }
621
+ if (s3 !== peg$FAILED) {
622
+ while (s3 !== peg$FAILED) {
623
+ s2.push(s3);
624
+ if (peg$r3.test(input.charAt(peg$currPos))) {
625
+ s3 = input.charAt(peg$currPos);
626
+ peg$currPos++;
627
+ }
628
+ else {
629
+ s3 = peg$FAILED;
630
+ if (peg$silentFails === 0) {
631
+ peg$fail(peg$e8);
632
+ }
633
+ }
634
+ }
635
+ }
636
+ else {
637
+ s2 = peg$FAILED;
638
+ }
639
+ if (s2 !== peg$FAILED) {
640
+ s1 = input.substring(s1, peg$currPos);
641
+ }
642
+ else {
643
+ s1 = s2;
644
+ }
645
+ if (s1 !== peg$FAILED) {
646
+ peg$savedPos = s0;
647
+ s1 = peg$f7(s1);
648
+ }
649
+ s0 = s1;
650
+ return s0;
651
+ }
652
+ function peg$parseextension() {
653
+ var s0, s1, s2, s3, s4;
654
+ s0 = peg$currPos;
655
+ if (input.charCodeAt(peg$currPos) === 40) {
656
+ s1 = peg$c5;
657
+ peg$currPos++;
658
+ }
659
+ else {
660
+ s1 = peg$FAILED;
661
+ if (peg$silentFails === 0) {
662
+ peg$fail(peg$e9);
663
+ }
664
+ }
665
+ if (s1 !== peg$FAILED) {
666
+ s2 = peg$currPos;
667
+ s3 = [];
668
+ if (peg$r4.test(input.charAt(peg$currPos))) {
669
+ s4 = input.charAt(peg$currPos);
670
+ peg$currPos++;
671
+ }
672
+ else {
673
+ s4 = peg$FAILED;
674
+ if (peg$silentFails === 0) {
675
+ peg$fail(peg$e10);
676
+ }
677
+ }
678
+ if (s4 !== peg$FAILED) {
679
+ while (s4 !== peg$FAILED) {
680
+ s3.push(s4);
681
+ if (peg$r4.test(input.charAt(peg$currPos))) {
682
+ s4 = input.charAt(peg$currPos);
683
+ peg$currPos++;
684
+ }
685
+ else {
686
+ s4 = peg$FAILED;
687
+ if (peg$silentFails === 0) {
688
+ peg$fail(peg$e10);
689
+ }
690
+ }
691
+ }
692
+ }
693
+ else {
694
+ s3 = peg$FAILED;
695
+ }
696
+ if (s3 !== peg$FAILED) {
697
+ s2 = input.substring(s2, peg$currPos);
698
+ }
699
+ else {
700
+ s2 = s3;
701
+ }
702
+ if (s2 !== peg$FAILED) {
703
+ if (input.charCodeAt(peg$currPos) === 41) {
704
+ s3 = peg$c6;
705
+ peg$currPos++;
706
+ }
707
+ else {
708
+ s3 = peg$FAILED;
709
+ if (peg$silentFails === 0) {
710
+ peg$fail(peg$e11);
711
+ }
712
+ }
713
+ if (s3 !== peg$FAILED) {
714
+ peg$savedPos = s0;
715
+ s0 = peg$f8(s2);
716
+ }
717
+ else {
718
+ peg$currPos = s0;
719
+ s0 = peg$FAILED;
720
+ }
721
+ }
722
+ else {
723
+ peg$currPos = s0;
724
+ s0 = peg$FAILED;
725
+ }
726
+ }
727
+ else {
728
+ peg$currPos = s0;
729
+ s0 = peg$FAILED;
730
+ }
731
+ return s0;
732
+ }
733
+ peg$result = peg$startRuleFunction();
734
+ if (peg$result !== peg$FAILED && peg$currPos === input.length) {
735
+ return peg$result;
736
+ }
737
+ else {
738
+ if (peg$result !== peg$FAILED && peg$currPos < input.length) {
739
+ peg$fail(peg$endExpectation());
740
+ }
741
+ throw peg$buildStructuredError(peg$maxFailExpected, peg$maxFailPos < input.length ? input.charAt(peg$maxFailPos) : null, peg$maxFailPos < input.length
742
+ ? peg$computeLocation(peg$maxFailPos, peg$maxFailPos + 1)
743
+ : peg$computeLocation(peg$maxFailPos, peg$maxFailPos));
744
+ }
745
+ }
746
+ module.exports = {
747
+ SyntaxError: peg$SyntaxError,
748
+ parse: peg$parse
749
+ };