From ab228a93416e44b4da0d1877461b08813fc24294 Mon Sep 17 00:00:00 2001 From: Mark Stosberg Date: Wed, 25 Apr 2018 13:29:56 -0400 Subject: [PATCH] Fix and test compatibility with Node.js LTS releases (#79) Fixes Node.js 4.x compatibility --- .travis.yml | 3 +++ index.js | 2 ++ 2 files changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index a6402cd..0954e04 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,8 @@ language: node_js node_js: + - "4" + - "6" + - "8" - "9" install: - yarn diff --git a/index.js b/index.js index b2d2ba7..9ec8b01 100644 --- a/index.js +++ b/index.js @@ -1,3 +1,5 @@ +'use strict'; + const each = require('lodash.foreach'); const get = require('lodash.get');