spamscanner / url-regex-safe

Regular expression matching for URL's. Maintained, safe, and browser-friendly version of url-regex. Resolves CVE-2020-7661 for Node.js servers.
https://forwardemail.net/docs/url-regex-javascript-node-js
MIT License
79 stars 16 forks source link

Fails to install on MacOS with M1 processors #7

Closed radicand closed 3 years ago

radicand commented 3 years ago

The node-re2 dependency is currently not compatible with M1-based Macs yet, pending completion of this ticket: https://github.com/uhop/node-re2/issues/100

Once the above is closed, you'll need to bump the dependency for re2 in order for it to work on new M1 Macs.

radicand commented 3 years ago

node-re2 just released 1.16.0 - please bump the dep to that version to close this issue.

radicand commented 3 years ago

Closing this issue, nuking package-lock.json and node_modules and npm i pulled in the latest version of re2 automatically.