Socket
Socket
Sign inDemoInstall

graphql-subscriptions

Package Overview
Dependencies
Maintainers
5
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-subscriptions - npm Package Compare versions

Comparing version 0.5.1 to 0.5.2

4

CHANGELOG.md

@@ -5,2 +5,6 @@ # Changelog

### 0.5.2
- Require iterall ^1.1.2 to address memory leak [Issue #97] (https://github.com/apollographql/graphql-subscriptions/issues/97)
- Remove `@types/graphql` dependency. [PR #105] (https://github.com/apollographql/graphql-subscriptions/pull/105)
### 0.5.1

@@ -7,0 +11,0 @@ - `withFilter` now called with `(rootValue, args, context, info)` [PR #103] (https://github.com/apollographql/graphql-subscriptions/pull/103)

8

package.json
{
"name": "graphql-subscriptions",
"version": "0.5.1",
"version": "0.5.2",
"description": "GraphQL subscriptions for node.js",

@@ -11,5 +11,4 @@ "main": "dist/index.js",

"dependencies": {
"@types/graphql": "^0.11.3",
"es6-promise": "^4.0.5",
"iterall": "^1.1.1"
"es6-promise": "^4.1.1",
"iterall": "^1.1.2"
},

@@ -31,2 +30,3 @@ "peerDependencies": {

"devDependencies": {
"@types/graphql": "^0.11.3",
"@types/mocha": "^2.2.39",

@@ -33,0 +33,0 @@ "@types/node": "^8.0.28",

@@ -11,6 +11,13 @@ [![npm version](https://badge.fury.io/js/graphql-subscriptions.svg)](https://badge.fury.io/js/graphql-subscriptions) [![GitHub license](https://img.shields.io/github/license/apollostack/graphql-subscriptions.svg)](https://github.com/apollostack/graphql-subscriptions/blob/license/LICENSE)

`npm install graphql-subscriptions` or `yarn add graphql-subscriptions`
`npm install graphql-subscriptions graphql` or `yarn add graphql-subscriptions graphql`
> This package should be used with a network transport, for example [subscriptions-transport-ws](https://github.com/apollographql/subscriptions-transport-ws).
### TypeScript
If you are developing a project that uses this module with TypeScript:
* ensure that your `tsconfig.json` `lib` definition includes `"esnext.asynciterable"`
* `npm install @types/graphql` or `yarn add @types/graphql`
### Getting started with your first subscription

@@ -17,0 +24,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc