Updated chokidar from version 2.0.4 to avoid Regular expression denial of service ( reported by npm audit ) and also chokidar 2.0.4 breaks in node version 14+.
Upgraded the version for mocha from version 5.2.0 to 9.0.1.
I have also run all the tests and its passing. No breakages.