From b2d3bf055634533ac3ddccb57d2433544a023544 Mon Sep 17 00:00:00 2001 From: William Lachance Date: Thu, 3 May 2018 14:30:28 -0400 Subject: [PATCH] Replace underscore dependency with lodash --- index.js | 2 +- package.json | 2 +- test/index.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 640f432..b79e0b4 100644 --- a/index.js +++ b/index.js @@ -1,5 +1,5 @@ 'use strict'; -var _ = require('underscore'); +var _ = require('lodash'); /** * Read a list of versions an sort it. diff --git a/package.json b/package.json index 32d1942..ddef9cb 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ }, "homepage": "https://github.com/quentinrossetti/version-sort", "dependencies": { - "underscore": "^1.6.0" + "lodash": "^4.0.0" }, "devDependencies": { "chai": "^1.9.1", diff --git a/test/index.js b/test/index.js index bbdddf3..b6a4fd0 100644 --- a/test/index.js +++ b/test/index.js @@ -1,6 +1,6 @@ /* global describe, it */ 'use strict'; -var _ = require('underscore'); +var _ = require('lodash'); var chai = require('chai'); var sorter = require('..');