Skip to content

Commit e012202

Browse files
committed
Upgrade lodash from v3.x to v4.x
1 parent 3177d2d commit e012202

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ plugin.enforceThresholds = function (opts) {
154154
return (type.global && type.global.failed) || (type.each && type.each.failed);
155155
};
156156

157-
if (_.any(results, criteria)) {
157+
if (_.some(results, criteria)) {
158158
this.emit('error', new PluginError({
159159
plugin: PLUGIN_NAME,
160160
message: 'Coverage failed'

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"gulp-util": "^3.0.1",
3232
"istanbul": "^0.4.0",
3333
"istanbul-threshold-checker": "^0.1.0",
34-
"lodash": "^3.0.1",
34+
"lodash": "^4.0.0",
3535
"through2": "^2.0.0"
3636
},
3737
"devDependencies": {

0 commit comments

Comments
 (0)