Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
stewart committed Oct 20, 2014
1 parent c3a3f76 commit 9be0f77
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ VERSION := $(shell node -e "console.log(require('./package.json').version)")
.PHONY: cover test bdd lint release

test:
@$(BIN)/mocha --colors $(TEST_FILES)
@$(BIN)/mocha --colors -R dot $(TEST_FILES)

bdd:
@$(BIN)/mocha --colors -R spec $(TEST_FILES)
Expand Down
5 changes: 4 additions & 1 deletion lib/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ var API = module.exports = function API(opts) {
this.express.set('title', 'Cylon API Server');

this.express.use(this.setupAuth());
this.express.use(bodyParser());

this.express.use(bodyParser.json());
this.express.use(bodyParser.urlencoded({ extended: true }));

this.express.use(express["static"](__dirname + "/../node_modules/robeaux/"));

// set CORS headers for API requests
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@
},

"devDependencies": {
"sinon-chai": "2.5.0",
"chai": "1.9.1",
"mocha": "1.18.2",
"sinon": "1.9.1"
"sinon-chai": "2.6.0",
"chai": "1.9.2",
"mocha": "1.21.5",
"sinon": "1.10.3"
},

"dependencies": {
"async": "0.7.0",
"express": "4.4.1",
"body-parser": "1.3.0",
"async": "0.9.0",
"express": "4.9.8",
"body-parser": "1.9.0",
"robeaux": "0.2.0"
}
}

0 comments on commit 9be0f77

Please sign in to comment.