Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
brycekahle committed Aug 10, 2018
1 parent ea3c153 commit 89fbfa7
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 29 deletions.
48 changes: 24 additions & 24 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
{
"env": {
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"rules": {
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single",
{ "avoidEscape": true }
],
"semi": [
"error",
"always"
]
}
"env": {
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"rules": {
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single",
{ "avoidEscape": true }
],
"semi": [
"error",
"always"
]
}
}
4 changes: 2 additions & 2 deletions lib/sockjs-connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

const debug = require('debug')('sockjs:connection');
const stream = require('stream');
const uuid = require('uuid');
const uuid = require('uuid/v4');

class SockJSConnection extends stream.Duplex {
constructor(session) {
super({ decodeStrings: false, encoding: 'utf8' });
this._session = session;
this.id = uuid.v4();
this.id = uuid();
this.headers = {};
this.prefix = this._session.prefix;
debug('new connection', this.id, this.prefix);
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
}
],
"dependencies": {
"debug": "^2.2.0",
"faye-websocket": "^0.11.0",
"debug": "^2.6.0",
"faye-websocket": "^0.11.1",
"uuid": "^3.0.1"
},
"devDependencies": {
"eslint": "^3.6.0"
"eslint": "^3.14.1"
},
"homepage": "https://github.com/sockjs/sockjs-node",
"keywords": [
Expand Down

0 comments on commit 89fbfa7

Please sign in to comment.