Socket
Socket
Sign inDemoInstall

graphql-subscriptions

Package Overview
Dependencies
Maintainers
2
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.2.1 to 0.2.2

3

CHANGELOG.md

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

### 0.2.2
- made `graphql` a peer dependency and updated it to 0.8.2
### v 0.2.1
- Fixed a bug that caused subscriptions without operationName to fail

9

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

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

"dependencies": {
"es6-promise": "^3.2.1",
"graphql": "^0.7.0"
"es6-promise": "^3.2.1"
},
"peerDependencies": {
"graphql": "^0.7.0 || ^0.8.0"
},
"scripts": {

@@ -30,2 +32,3 @@ "compile": "tsc",

"chai-as-promised": "^5.3.0",
"graphql": "^0.8.2",
"istanbul": "^1.0.0-alpha.2",

@@ -32,0 +35,0 @@ "mocha": "^3.0.0",

@@ -38,3 +38,3 @@ [![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)

// start a subscription
subscriptionManger.subscribe({
subscriptionManager.subscribe({
query: `

@@ -41,0 +41,0 @@ subscription newComments($repoName: String!){

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