LT-22: Major packages, refactor
- update packages with critical warnings - exclude the 'require' clause - correct params of error's middleware
- update packages with critical warnings - exclude the 'require' clause - correct params of error's middleware