From d66eaee71b204cc77091e80440b7efcbd9f5dbe6 Mon Sep 17 00:00:00 2001 From: Dalton Santos Date: Sat, 10 Dec 2016 14:00:03 -0200 Subject: [PATCH] Drop dependency lodash.isarray --- package.json | 1 - test/spec.js | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/package.json b/package.json index f6ecf252f..d63d4ad87 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,6 @@ "in-publish": "^2.0.0", "lodash.assign": "^4.2.0", "lodash.clonedeep": "^4.3.2", - "lodash.isarray": "^4.0.0", "lodash.mergewith": "^4.6.0", "meow": "^3.7.0", "mkdirp": "^0.5.1", diff --git a/test/spec.js b/test/spec.js index 03d111fd0..f672c6185 100644 --- a/test/spec.js +++ b/test/spec.js @@ -9,7 +9,6 @@ var assert = require('assert'), readYaml = require('read-yaml'), mergeWith = require('lodash.mergewith'), assign = require('lodash.assign'), - isArray = require('lodash.isarray'), glob = require('glob'), specPath = require('sass-spec').dirname.replace(/\\/g, '/'), impl = 'libsass', @@ -116,7 +115,7 @@ var specSuite = { }; function customizer(objValue, srcValue) { - if (isArray(objValue)) { + if (Array.isArray(objValue)) { return objValue.concat(srcValue); } }