Skip to content
This repository was archived by the owner on Sep 14, 2022. It is now read-only.

Commit a5c33c1

Browse files
authored
Merge pull request #465 from henningvs/dependency-update
package.json dependency update
2 parents b6d0d41 + 8630c7e commit a5c33c1

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

lib/util/cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ function prompt(prompt, defaultValue, cb) {
136136

137137
function validate(app) {
138138
var commands = app.commands.map(function(command) { return command._name; });
139-
if (!_.contains(commands, app.rawArgs[2])) {
139+
if (!_.includes(commands, app.rawArgs[2])) {
140140
if (app.rawArgs[2]) {
141141
console.log();
142142
console.log('error: invalid command: ' + app.rawArgs[2]);

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,31 +18,31 @@
1818
"url": "https://github.com/swagger-api/swagger-node.git"
1919
},
2020
"dependencies": {
21-
"async": "^1.2.1",
21+
"async": "^2.1.4",
2222
"commander": "^2.7.1",
2323
"connect": "^3.3.5",
2424
"debug": "^2.1.3",
25-
"fs-extra": "^0.24.0",
25+
"fs-extra": "^1.0.0",
2626
"inquirer": "^1.2.3",
2727
"js-yaml": "^3.3.0",
28-
"lodash": "^3.10.0",
29-
"mocha": "^2.2.1",
28+
"lodash": "^4.17.2",
29+
"mocha": "^3.2.0",
3030
"nodemon": "^1.3.7",
3131
"serve-static": "^1.9.2",
32-
"swagger-converter": "^0.2.0",
32+
"swagger-converter": "^1.4.1",
3333
"swagger-editor": "^2.9.2",
3434
"swagger-test-templates": "^1.2.0",
35-
"swagger-tools": "^0.9.0"
35+
"swagger-tools": "^0.10.1"
3636
},
3737
"devDependencies": {
3838
"chai": "^3.0.0",
3939
"mock-stdin": "^0.3.0",
4040
"proxyquire": "^1.4.0",
41-
"should": "^7.1.0",
41+
"should": "^11.1.1",
4242
"sinon": "^1.15.4",
43-
"superagent": "^1.1.0",
44-
"supertest": "^1.1.0",
45-
"tmp": "^0.0.28",
43+
"superagent": "^3.1.0",
44+
"supertest": "^2.0.1",
45+
"tmp": "^0.0.31",
4646
"z-schema": "^3.14.0"
4747
},
4848
"scripts": {
@@ -54,4 +54,4 @@
5454
"swagger": "bin/swagger.js",
5555
"swagger-project": "bin/swagger-project.js"
5656
}
57-
}
57+
}

0 commit comments

Comments
 (0)