(text: string)
| 243 | indent === 0 ? fragment : fragment.replace(new RegExp(`^ {1,${indent}}`, "gm"), ""); |
| 244 | |
| 245 | const parseYaml = (text: string): unknown => |
| 246 | parseYamlDocument(text, { json: true, schema: JSON_SCHEMA }); |
| 247 | |
| 248 | /** |
| 249 | * Parse a single indent-N entry range (a path-item or a schema) in isolation. |
no outgoing calls
no test coverage detected