Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Commit

Permalink
update dependencies (#427)
Browse files Browse the repository at this point in the history
  • Loading branch information
NeoPhi authored Jun 11, 2018
1 parent e377264 commit 93174f7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

### vNEXT
- upgrade ws and eventemitter3

### v0.9.9
- fix issue with @types/graphql@0.13
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "subscriptions-transport-ws",
"version": "0.9.9",
"version": "0.9.10",
"description": "A websocket transport for GraphQL subscriptions",
"main": "dist/index.js",
"browser": "dist/client.js",
Expand All @@ -10,13 +10,13 @@
},
"dependencies": {
"backo2": "^1.0.2",
"eventemitter3": "^2.0.3",
"eventemitter3": "^3.1.0",
"iterall": "^1.2.1",
"lodash.assign": "^4.2.0",
"lodash.isobject": "^3.0.2",
"lodash.isstring": "^4.0.1",
"symbol-observable": "^1.0.4",
"ws": "^3.0.0"
"ws": "^5.2.0"
},
"scripts": {
"clean": "rimraf browser dist coverage",
Expand All @@ -37,13 +37,13 @@
},
"devDependencies": {
"@types/chai": "^4.0.0",
"@types/graphql": "^0.13.0",
"@types/graphql": "^0.13.1",
"@types/is-promise": "^2.1.0",
"@types/lodash": "^4.14.68",
"@types/lodash": "^4.14.109",
"@types/mocha": "^2.2.41",
"@types/node": "^8.0.8",
"@types/sinon": "^2.3.0",
"@types/ws": "^3.0.0",
"@types/ws": "^5.1.2",
"chai": "^4.0.2",
"graphql": "^0.13.2",
"graphql-subscriptions": "^0.5.7",
Expand All @@ -54,7 +54,7 @@
"rimraf": "^2.6.1",
"sinon": "^2.3.6",
"tslint": "^5.10.0",
"typescript": "^2.8.3",
"typescript": "^2.9.1",
"webpack": "^3.1.0"
},
"typings": "dist/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const _global = typeof global !== 'undefined' ? global : (typeof window !== 'und
const NativeWebSocket = _global.WebSocket || _global.MozWebSocket;

import * as Backoff from 'backo2';
import { EventEmitter, ListenerFn } from 'eventemitter3';
import { default as EventEmitterType, EventEmitter, ListenerFn } from 'eventemitter3';
import isString = require('lodash.isstring');
import isObject = require('lodash.isobject');
import { ExecutionResult } from 'graphql/execution/execute';
Expand Down Expand Up @@ -81,7 +81,7 @@ export class SubscriptionClient {
private reconnectionAttempts: number;
private backoff: any;
private connectionCallback: any;
private eventEmitter: EventEmitter;
private eventEmitter: EventEmitterType;
private lazy: boolean;
private inactivityTimeout: number;
private inactivityTimeoutId: any;
Expand Down

0 comments on commit 93174f7

Please sign in to comment.