'How to fix lodash vulnerabilities, is there an alternative to lodash?

I'm working on a react project using a lot of lodash functions. The last update of lodash was 2021. Now yarn audit shows a number of vulnerabilities. Also packages like storybook, that use lodash internally throw errors.

high          │ Command Injection in lodash 
Regular Expression Denial of Service in tmpl 
....  

Since there is no newer version of lodash, how can I go on with this project?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source