jbdemonte / mongoose-elasticsearch-xp

A mongoose plugin that indexes models into Elasticsearch 2 / 5 / 6 and 7
93 stars 34 forks source link

Mongoose 5.0.0 #38

Closed nodkz closed 6 years ago

nodkz commented 6 years ago

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.

coveralls commented 6 years ago

Coverage Status

Coverage decreased (-0.1%) to 92.123% when pulling 61afbc5dce35e39594ffe7e3808a9bd1a8d8c5c4 on nodkz:mongoose-5.0.0 into 0a2f688e9ce71bc8673ac6e2575eef3a03b5c084 on jbdemonte:master.

nodkz commented 6 years ago

@jbdemonte here fails just coverage/coveralls. CI tests are fine.