Skip to content

Commit

Permalink
Merge pull request #1154 from Hongbo-Miao/graphql-ws
Browse files Browse the repository at this point in the history
refactor(deps): graphql-transport-ws renamed to graphql-ws
  • Loading branch information
mergify[bot] committed Oct 31, 2020
2 parents 5f55f25 + ecda3b2 commit ec8958e
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ A minimalist website. A cutting-edge technology playground. An automation experi

- **Express** - Node.js web application framework
- **GraphQL** - Query language for the API, and the server-side runtime
- **graphql-transport-ws**, **graphql-subscriptions** - GraphQL subscriptions
- **graphql-ws**, **graphql-subscriptions** - GraphQL subscriptions
- **DataLoader** - Batching and caching
- **Knex.js** - SQL query builder
- **PostgreSQL** - Relational database management system
Expand Down
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"bulma": "0.9.1",
"graphql": "15.4.0",
"graphql-tag": "2.11.0",
"graphql-transport-ws": "1.9.0",
"graphql-ws": "1.9.1",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-redux": "7.2.2",
Expand Down
2 changes: 1 addition & 1 deletion client/src/shared/utils/graphQLSubscriptionClient.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createClient } from 'graphql-transport-ws';
import { createClient } from 'graphql-ws';
import config from '../../config';

const graphQLSubscriptionClient = createClient({
Expand Down
8 changes: 4 additions & 4 deletions client/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9173,10 +9173,10 @@ graphql-tag@2.11.0:
resolved "https://registry.npmjs.org/graphql-tag/-/graphql-tag-2.11.0.tgz#1deb53a01c46a7eb401d6cb59dec86fa1cccbffd"
integrity sha512-VmsD5pJqWJnQZMUeRwrDhfgoyqcfwEkvtpANqcoUG8/tOLkwNgU9mzub/Mc78OJMhHjx7gfAMTxzdG43VGg3bA==

graphql-transport-ws@1.9.0:
version "1.9.0"
resolved "https://registry.npmjs.org/graphql-transport-ws/-/graphql-transport-ws-1.9.0.tgz#81891de870619d4e39242954a9e0f832dd980179"
integrity sha512-yrw7nIR4V+lWWRCVCa5ogagHWjlPLDO/Ld1177V4S4fqcMO4qVJyTgMKbTcAUXBhlEATqN7Scb5Oy8Ly+zKFwg==
graphql-ws@1.9.1:
version "1.9.1"
resolved "https://registry.npmjs.org/graphql-ws/-/graphql-ws-1.9.1.tgz#dcc346d10989183e96407c638f55cf03823a3968"
integrity sha512-hlK/XbnfQy3PMfo8KeLCDyw1qvmfvfKafDNbr89p7aRpSvD/SNNm5KUiEQcFOIP0q1880X9BDQhxhoc+8DU5ZA==
dependencies:
ws "^7.3.1"

Expand Down
2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"faker": "5.1.0",
"graphql": "15.4.0",
"graphql-subscriptions": "1.1.0",
"graphql-transport-ws": "1.9.0",
"graphql-ws": "1.9.1",
"helmet": "4.1.1",
"ioredis": "4.19.2",
"knex": "0.21.9",
Expand Down
2 changes: 1 addition & 1 deletion server/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import './shared/utils/initTracer';
import http from 'http';
import { execute, subscribe } from 'graphql';
import { createServer } from 'graphql-transport-ws';
import { createServer } from 'graphql-ws';
import app from './app';
import config from './config';
import initPostgres from './database/postgres/seeds/initPostgres';
Expand Down
8 changes: 4 additions & 4 deletions server/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5274,10 +5274,10 @@ graphql-subscriptions@1.1.0:
dependencies:
iterall "^1.2.1"

graphql-transport-ws@1.9.0:
version "1.9.0"
resolved "https://registry.npmjs.org/graphql-transport-ws/-/graphql-transport-ws-1.9.0.tgz#81891de870619d4e39242954a9e0f832dd980179"
integrity sha512-yrw7nIR4V+lWWRCVCa5ogagHWjlPLDO/Ld1177V4S4fqcMO4qVJyTgMKbTcAUXBhlEATqN7Scb5Oy8Ly+zKFwg==
graphql-ws@1.9.1:
version "1.9.1"
resolved "https://registry.npmjs.org/graphql-ws/-/graphql-ws-1.9.1.tgz#dcc346d10989183e96407c638f55cf03823a3968"
integrity sha512-hlK/XbnfQy3PMfo8KeLCDyw1qvmfvfKafDNbr89p7aRpSvD/SNNm5KUiEQcFOIP0q1880X9BDQhxhoc+8DU5ZA==
dependencies:
ws "^7.3.1"

Expand Down

0 comments on commit ec8958e

Please sign in to comment.