Skip to content

Commit

Permalink
chore: loose dependency versionning
Browse files Browse the repository at this point in the history
  • Loading branch information
feugy committed Feb 15, 2017
1 parent 98aeced commit 8a6e9a6
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 16 deletions.
32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mini-service",
"version": "1.3.0",
"version": "1.3.1",
"description": "Micro services done simply. Choose to run them locally or remotely",
"repository": {
"type": "git",
Expand All @@ -15,23 +15,23 @@
"nsp": "nsp check"
},
"dependencies": {
"boom": "3.2.2",
"bunyan": "1.8.5",
"hapi": "13.5.0",
"joi": "8.4.2",
"request": "2.74.0",
"request-promise": "4.0.2"
"boom": "~3.2.2",
"bunyan": "~1.8.5",
"hapi": "~13.5.0",
"joi": "~8.4.2",
"request": "~2.74.0",
"request-promise": "~4.0.2"
},
"devDependencies": {
"benchmark": "2.1.1",
"coveralls": "2.11.11",
"eslint": "3.0.1",
"ghooks": "1.2.4",
"lab": "10.9.0",
"lab-espower-transformer": "1.0.0",
"moment": "2.13.0",
"nsp": "^2.6.1",
"power-assert": "1.4.1"
"benchmark": "~2.1.1",
"coveralls": "~2.11.11",
"eslint": "~3.0.1",
"ghooks": "~1.2.4",
"lab": "~10.9.0",
"lab-espower-transformer": "~1.0.0",
"moment": "~2.13.0",
"nsp": "~2.6.1",
"power-assert": "~1.4.1"
},
"config": {
"ghooks": {
Expand Down
2 changes: 2 additions & 0 deletions test/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,8 @@ describe('service\'s client', () => {
server.on('response', req => invoked.push(req.route.path))
return remote.ping() // first communication
.then(() => remote.ping()) // no other communication
// let Hapi some time to run post response hooks
.then(() => new Promise(resolve => setTimeout(resolve, 100)))
.then(() => {
server.stop()
assert.equal(invoked.length, 3)
Expand Down

0 comments on commit 8a6e9a6

Please sign in to comment.