diff --git a/src/compose/resolve-flow-scalar.ts b/src/compose/resolve-flow-scalar.ts index bd0a6ae9..3f1a13fa 100644 --- a/src/compose/resolve-flow-scalar.ts +++ b/src/compose/resolve-flow-scalar.ts @@ -86,27 +86,37 @@ function singleQuotedValue(source: string, onError: ComposeErrorHandler) { } function foldLines(source: string) { - // The negative lookbehind here and in the `re` RegExp is to - // prevent causing a polynomial search time in certain cases. - const first = /(.*?)(?