Skip to content

Commit

Permalink
fix: allow mods with whitespace as dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
fgardt authored Aug 5, 2024
1 parent c839a9e commit 7d3cee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/info-schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const infoSchema = {
"type": "array",
"items": {
"type": "string",
"pattern": "^(!\\s[A-Za-z0-9-_]+|(([?~]|\\(\\?\\))\\s)?[A-Za-z0-9-_]+(\\s(?:=|[<>]=?)\\s(\\d+\\.){2}\\d+)?)$"
"pattern": "^(!\\s[A-Za-z0-9-_\\s]+?|(([?~]|\\(\\?\\))\\s)?[A-Za-z0-9-_\\s]+?(\\s(?:=|[<>]=?)\\s(\\d+\\.){2}\\d+)?)$"
}
}
}
Expand Down

0 comments on commit 7d3cee3

Please sign in to comment.