Skip to content

Commit

Permalink
Fix and test compatibility with Node.js LTS releases (mongoose-unique…
Browse files Browse the repository at this point in the history
…-validator#79)

Fixes Node.js 4.x compatibility
  • Loading branch information
markstos authored and viveleroi committed Apr 25, 2018
1 parent fb989a7 commit ab228a9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
language: node_js
node_js:
- "4"
- "6"
- "8"
- "9"
install:
- yarn
Expand Down
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict';

const each = require('lodash.foreach');
const get = require('lodash.get');

Expand Down

0 comments on commit ab228a9

Please sign in to comment.