From fe733936609f75f0eb0acec2d29ef6489df4a2cd Mon Sep 17 00:00:00 2001 From: Chris Pettitt Date: Wed, 8 Jul 2015 06:57:49 -0700 Subject: [PATCH] Update graphlib, lodash, karma --- karma.core.conf.js | 2 +- package.json | 17 +++++++++-------- test/acyclic-test.js | 2 +- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/karma.core.conf.js b/karma.core.conf.js index d5e71991..237ee302 100644 --- a/karma.core.conf.js +++ b/karma.core.conf.js @@ -15,7 +15,7 @@ module.exports = function(config) { // list of files / patterns to load in the browser files: [ - 'node_modules/lodash/lodash.js', + 'node_modules/lodash/index.js', 'node_modules/graphlib/dist/graphlib.core.js', 'build/dagre.core.js', diff --git a/package.json b/package.json index 7cd9c824..e76228ec 100644 --- a/package.json +++ b/package.json @@ -9,8 +9,8 @@ "layout" ], "dependencies": { - "graphlib": "^1.0.3", - "lodash": "^2.4.1" + "graphlib": "^1.0.5", + "lodash": "^3.10.0" }, "devDependencies": { "benchmark": "^1.0.0", @@ -20,13 +20,14 @@ "jscs": "^1.7.3", "jshint": "^2.5.6", "jshint-stylish": "^1.0.0", - "karma": "^0.12.24", - "karma-chrome-launcher": "^0.1.5", - "karma-firefox-launcher": "^0.1.3", - "karma-mocha": "^0.1.9", - "karma-phantomjs-launcher": "^0.1.4", + "karma": "^0.12.37", + "karma-chrome-launcher": "^0.2.0", + "karma-firefox-launcher": "^0.1.6", + "karma-mocha": "^0.2.0", + "karma-phantomjs-launcher": "^0.2.0", "karma-safari-launcher": "^0.1.1", "mocha": "^1.21.5", + "phantomjs": "^1.9.17", "semver": "^4.1.0", "sprintf": "^0.1.4", "uglify-js": "^2.4.15" @@ -36,4 +37,4 @@ "url": "https://github.com/cpettitt/dagre.git" }, "license": "MIT" -} \ No newline at end of file +} diff --git a/test/acyclic-test.js b/test/acyclic-test.js index bef60265..c67a94a2 100644 --- a/test/acyclic-test.js +++ b/test/acyclic-test.js @@ -29,7 +29,7 @@ describe("acyclic", function() { g.setPath(["a", "c", "d"]); acyclic.run(g); var results = _.map(g.edges(), stripLabel); - expect(_.sortBy(results, ["v", "w"])).to.eql([ + expect(_.sortByAll(results, ["v", "w"])).to.eql([ { v: "a", w: "b" }, { v: "a", w: "c" }, { v: "b", w: "d" },