From b8ba391b7bcfdf8f63e6002c55ade12336a54cbf Mon Sep 17 00:00:00 2001 From: Leo Liang Date: Mon, 11 Feb 2019 17:20:36 +0800 Subject: [PATCH] Replace `underscore` with `lodash` --- .yarnrc | 1 + CHANGELOG.md | 4 ++++ index.js | 2 +- lib/ConnectionStringParser.js | 2 +- package.json | 2 +- 5 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.yarnrc b/.yarnrc index 33e07fa..1a278eb 100644 --- a/.yarnrc +++ b/.yarnrc @@ -1 +1,2 @@ registry "http://ses-npm.sh.cn.ao.ericsson.se" +save-prefix false \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 184a1a3..f256334 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log of `@jigsaw/node-zookeeper-client` +## unpublished + +- Replace `underscore` with `lodash` + ## 0.2.3 Same as original `node-zookeeper-client`, publish under `@jigsaw` scope. diff --git a/index.js b/index.js index ec6392b..11bb75f 100644 --- a/index.js +++ b/index.js @@ -19,7 +19,7 @@ var util = require('util'); var net = require('net'); var async = require('async'); -var u = require('underscore'); +var u = require('lodash'); var jute = require('./lib/jute'); var ACL = require('./lib/ACL.js'); diff --git a/lib/ConnectionStringParser.js b/lib/ConnectionStringParser.js index 4e068df..d8772f1 100644 --- a/lib/ConnectionStringParser.js +++ b/lib/ConnectionStringParser.js @@ -7,7 +7,7 @@ var assert = require('assert'); -var u = require('underscore'); +var u = require('lodash'); var Path = require('./Path.js'); // Constants. diff --git a/package.json b/package.json index e09c8d7..2563ecc 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "async": "~0.2.7", - "underscore": "~1.4.4" + "lodash": "4.17.11" }, "licenses": [ {