Update dependencies.
Make compatible with mongoose 5.0 and elastic 14.0.
So many changes due to updating prettier and its warnings in first commit chore: update deps, fix new prettier warns (only styling code changes).
Better to make code review by commits. Only first commit is huge and was made automatically by eslint --fix. All other commits are small and made by hands.
PS. All my changes tested with new and old versions of mongoose on both es2 and es5. So it backward compatible for users which not update mongoose/elastic packages.
Coverage decreased (-0.1%) to 92.123% when pulling 61afbc5dce35e39594ffe7e3808a9bd1a8d8c5c4 on nodkz:mongoose-5.0.0 into 0a2f688e9ce71bc8673ac6e2575eef3a03b5c084 on jbdemonte:master.
Update dependencies. Make compatible with mongoose 5.0 and elastic 14.0.
So many changes due to updating
prettier
and its warnings in first commitchore: update deps, fix new prettier warns (only styling code changes)
.Better to make code review by commits. Only first commit is huge and was made automatically by
eslint --fix
. All other commits are small and made by hands.PS. All my changes tested with new and old versions of mongoose on both es2 and es5. So it backward compatible for users which not update mongoose/elastic packages.