Skip to content

Commit 938cc50

Browse files
committed
update lodash
1 parent 6876084 commit 938cc50

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

generate/scripts/generateJson.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ module.exports = function generateJson() {
210210
_.merge(enumerable, _.omit(override, ["values"]));
211211

212212
output.push(enumerable);
213-
});
213+
}).value();
214214

215215
output = _.sortBy(output, "typeName");
216216

generate/scripts/helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ var Helpers = {
314314
if (fnDef.jsFunctionName == utils.camelCase(collidingName)) {
315315
fnDef.jsFunctionName = utils.camelCase(newName);
316316
}
317-
});
317+
}).value();
318318

319319
_.merge(fnDef, _.omit(fnOverrides, "args", "return"));
320320
},

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"istanbul": "~0.3.2",
6767
"js-beautify": "^1.5.4",
6868
"jshint": "^2.6.0",
69-
"lodash": "^2.4.1",
69+
"lodash": "^3.1.0",
7070
"mocha": "~2.1.0",
7171
"nan": "^1.6.2",
7272
"node-gyp": "~1.0.2",

test/tests/commit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ describe("Commit", function() {
132132
}, function(reason) {
133133
return reinitialize(test)
134134
.then(function() {
135-
return Promise.reject();
135+
return Promise.reject(reason);
136136
});
137137
});
138138
});

0 commit comments

Comments
 (0)