Skip to content

Commit 9aa31f9

Browse files
author
John Hustler
authoredFeb 8, 2019
Merge pull request #16 from gabceb/master
Update dependencies due to security vulnerabilities
2 parents f9ffa94 + 5848bc7 commit 9aa31f9

File tree

4 files changed

+428
-8
lines changed

4 files changed

+428
-8
lines changed
 

‎index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ var workflow = {
6666
}
6767
},
6868
configure: function(options) {
69-
_.extend(settings, options);
69+
_.assignIn(settings, options);
7070
},
7171

7272
hasLogLevel: function(level) {
@@ -306,6 +306,6 @@ var workflow = {
306306
}
307307

308308

309-
_.extend(wfLoader, workflow);
309+
_.assignIn(wfLoader, workflow);
310310

311311
module.exports = wfLoader;

‎package-lock.json

+420
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "worksmith",
3-
"version": "0.2.10",
3+
"version": "1.0.0",
44
"description": "A purely functional workflow engine ",
55
"main": "index.js",
66
"scripts": {
7-
"test": "mocha"
7+
"test": "mocha --exit"
88
},
99
"repository": {
1010
"type": "git",
@@ -24,13 +24,13 @@
2424
"dependencies": {
2525
"async": "^0.9.0",
2626
"debug": "^2.1.3",
27-
"handlebars": "^3.0.2",
28-
"lodash": "^3.7.0",
27+
"handlebars": "^4.0.12",
28+
"lodash": "^4.17.11",
2929
"pg": "^4.3.0",
3030
"xregexp": "^2.0.0"
3131
},
3232
"devDependencies": {
33-
"mocha": "^2.2.5",
33+
"mocha": "^5.2.0",
3434
"require-version": "^1.1.0"
3535
}
3636
}

‎tasks/readJson.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module.exports = function(definition) {
77
var jsonPath = context.get(definition.path)
88
jsonPath = path.resolve(jsonPath)
99
var content = require(jsonPath)
10-
content = _.extend({}, content)
10+
content = _.assignIn({}, content)
1111
done(null, content)
1212
}
1313
}

0 commit comments

Comments
 (0)
Please sign in to comment.