Skip to content

Commit 93e46e2

Browse files
committed
Lock socket.io version
Without a specific version in package.json, this could break without warning in the future...
1 parent a46bb5c commit 93e46e2

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

instant-markdown-d

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ function httpHandler(req, res) {
112112
}
113113
}
114114

115-
io.set('log level', 1);
116115
io.sockets.on('connection', function(sock){
117116
socket = sock;
118117
process.stdout.write('connection established!');

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
"highlight.js": "^8.4.0",
1414
"markdown-it": "^3.0.3",
1515
"send": "~0.1.0",
16-
"socket.io": ""
16+
"socket.io": "^1.4.5"
1717
}
1818
}

0 commit comments

Comments
 (0)