Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update socket.io #20

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions package.json
Expand Up @@ -25,17 +25,17 @@
"license": "MIT",
"dependencies": {
"koa-compose": "3.1.0",
"socket.io": "1.4.5"
"socket.io": "1.5.0"
},
"devDependencies": {
"babel-cli": "6.6.4",
"babel-plugin-transform-async-to-generator": "6.7.0",
"co": "4.6.0",
"coveralls": "2.11.6",
"istanbul": "0.4.2",
"istanbul": "0.4.5",
"koa": "^2.0.0-alpha.3",
"minimist": "^1.2.0",
"socket.io-client": "1.4.4",
"tape": "4.5.1"
"socket.io-client": "1.5.0",
"tape": "4.6.2"
}
}
3 changes: 1 addition & 2 deletions spec/connection.test.js
Expand Up @@ -102,8 +102,7 @@ tape( 'The connection list can be used to boot a client', t => {

// Do it some time in the future, and do it away from the connection socket instance
setTimeout( () => {
// use /# as id's are socket.io ids are now namespace + '#' + clientID
let sock = socket.connections.get( '/#' + client.id )
let sock = socket.connections.get( client.id )
sock.socket.disconnect()
}, 500 )
})
Expand Down