Closed bianzheCN closed 2 years ago
@iansinnott
+1 on this. Removing lodash removes an "arbitrary code execution" security vulnerability flagged by my scanning tool.
Cheers, thanks @bianzheCN . Having zero external dependencies is a nice feature for utility libs like this
https://github.com/iansinnott/react-string-replace/issues/66
Replace lodash with inlined codes~
Hope it's helpful.