Skip to content

Commit

Permalink
(update) babel versions
Browse files Browse the repository at this point in the history
(update) legacy files
  • Loading branch information
jstty committed Aug 14, 2016
1 parent 83f621d commit d7ea380
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions legacy/config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
"use strict";
'use strict';

module.exports = {
env: "dev",
hyper: {
logger: { // logz options
name: "HyperServiceManager"
name: 'HyperServiceManager'
},
displayDebuggerInfo: false,
httpFramework: 'express'
Expand Down
4 changes: 2 additions & 2 deletions legacy/http.framework.express.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,15 @@ HttpFramework_Express.prototype.load = function () {
}
if (this._options.urlencoded) {
logger.info('Enabling URL Encoding');
this._app.use(bodyParser.urlencoded({ extended: true }));
this._app.use(bodyParser.urlencoded({ limit: '100mb', extended: true }));
}
if (this._options.parser.cookies) {
logger.info('Enabling Cookie Parser');
this._app.use(cookieParser());
}
if (this._options.parser.json) {
logger.info('Enabling JSON support');
this._app.use(bodyParser.json());
this._app.use(bodyParser.json({ limit: '100mb' }));
}

if (this._options.session) {
Expand Down
2 changes: 1 addition & 1 deletion lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = {
env: "dev",
hyper: {
logger: { // logz options
name: "HyperServiceManager"
name: 'HyperServiceManager'
},
displayDebuggerInfo: false,
httpFramework: 'express'
Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hyper.io",
"version": "0.5.3",
"version": "0.5.4",
"description": "MicroServices so fast they've gone plaid!",
"homepage": "https://github.com/jstty/hyper.io#readme",
"keywords": [
Expand Down Expand Up @@ -59,13 +59,13 @@
"yanpm": "^1.0.x"
},
"devDependencies": {
"babel-cli": "^6.10.1",
"babel-plugin-transform-runtime": "^6.9.0",
"babel-polyfill": "^6.9.1",
"babel-preset-es2015": "^6.9.0",
"babel-cli": "^6.11.4",
"babel-plugin-transform-runtime": "^6.12.0",
"babel-polyfill": "^6.13.0",
"babel-preset-es2015": "^6.13.2",
"babel-preset-stage-3": "^6.11.0",
"babel-register": "^6.11.5",
"babel-runtime": "^6.9.2",
"babel-register": "^6.11.6",
"babel-runtime": "^6.11.6",
"chai": "~3.5.0",
"cheerio": "^0.20.0",
"coveralls": "^2.11.12",
Expand All @@ -80,7 +80,7 @@
"compile": "./node_modules/.bin/babel lib --out-dir legacy",
"prepublish": "npm run-script compile",
"pretest": "npm run-script compile",
"test": "istanbul --config=test/.istanbul.yml cover _mocha -- --check-leaks -t 5000 -b -R spec test/tests.js",
"test": "NODE_ENV=production && istanbul --config=test/.istanbul.yml cover _mocha -- --prof --check-leaks -t 5000 -b -R spec test/tests.js",
"coveralls": "cat ./test/.coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
},
"engines": {
Expand Down

0 comments on commit d7ea380

Please sign in to comment.