yarn-lock: allow empty quoted strings

This commit is contained in:
Max 2022-01-13 19:34:36 +01:00
parent 03f418ac80
commit 2132262d5c

View File

@ -24,7 +24,7 @@ rec {
unquotedString = takeWhile1 charOutsideQuotes;
newLine = string "\n";
quotedString = between (string "\"") (string "\"") (takeWhile1 charInsideQuotes);
quotedString = between (string "\"") (string "\"") (takeWhile charInsideQuotes);
version = skipThen (string " version ") (thenSkip quotedString newLine);
resolved = skipThen (string " resolved ") (thenSkip quotedString newLine);