From de859bc700409ece5785af10e319c85c5efd5fd6 Mon Sep 17 00:00:00 2001 From: Alex Rattray Date: Wed, 16 Aug 2023 12:37:19 -0400 Subject: [PATCH] Fix alias ordering error --- lib/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.ts b/lib/index.ts index 041f7c0..bab053f 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -285,7 +285,7 @@ export function yamlPatch( yaml: string, rfc6902: Array< Operation > ): string } } ); - return doc.toString( ); + return doc.toString( { verifyAliasOrder: false } ); } export function yamlDiffPatch( yaml: string, oldJson: any, newJson: any )