File tree Expand file tree Collapse file tree
packages/dmg-builder/vendor/dmgbuild Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ " dmg-builder " : patch
3+ ---
4+
5+ fix: update the ` dmgbuild ` hex regex for ` backgroundColor ` to be case insensitive
Original file line number Diff line number Diff line change @@ -257,7 +257,7 @@ def to_rgb(self):
257257
258258_ws_re = re .compile (r"\s+" )
259259_token_re = re .compile (r"[A-Za-z_][A-Za-z0-9_]*" )
260- _hex_re = re .compile (r"#([0-9a-f]{3}(?:[0-9a-f]{3})?)$" )
260+ _hex_re = re .compile (r"#([0-9a-f]{3}(?:[0-9a-f]{3})?)$" , re . IGNORECASE )
261261_number_re = re .compile (r"[0-9]*(\.[0-9]*)" )
262262
263263
Original file line number Diff line number Diff line change 2525 badge = None
2626
2727
28- _hexcolor_re = re .compile (r"#[0-9a-f]{3}(?:[0-9a-f]{3})?" )
28+ _hexcolor_re = re .compile (r"#[0-9a-f]{3}(?:[0-9a-f]{3})?" , re . IGNORECASE )
2929
3030# The first element in the platform.mac_ver() tuple is a string containing the
3131# macOS version (e.g., '10.15.6'). Parse into an integer tuple.
You can’t perform that action at this time.
0 commit comments