christopherafbjur / sanity-plugin-icon-picker

MIT License
29 stars 22 forks source link

Use of decamelize 5 breaks the studio in Safari #21

Closed geball closed 2 years ago

geball commented 2 years ago

The implementation of decamelize v5 in this commit breaks the studio in Safari, which cannot handle Regex lookbehinds. A blank page appears with only the error Invalid regular expression: invalid group specifier name in the dev console. The maintainer of decamelize recommends staying on v3 of the plugin until Safari supports lookbehinds.

christopherafbjur commented 2 years ago

Thank you @geoffreyjball, very well written issue 👍. Will look into this ASAP