Socket
Socket
Sign inDemoInstall

graphql-subscriptions

Package Overview
Dependencies
Maintainers
1
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 1.2.1 to 2.0.0

4

CHANGELOG.md
# Changelog
### 2.0.0
- Support `graphql@16`; do not support `graphql` older than 15.7.2.
### 1.2.1

@@ -4,0 +8,0 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.withFilter = exports.PubSub = exports.PubSubEngine = void 0;
var pubsub_engine_1 = require("./pubsub-engine");

@@ -4,0 +5,0 @@ Object.defineProperty(exports, "PubSubEngine", { enumerable: true, get: function () { return pubsub_engine_1.PubSubEngine; } });

4

dist/pubsub.js

@@ -6,6 +6,8 @@ "use strict";

({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -12,0 +14,0 @@ function __() { this.constructor = d; }

@@ -5,3 +5,3 @@ "use strict";

var iterall_1 = require("iterall");
exports.withFilter = function (asyncIteratorFn, filterFn) {
var withFilter = function (asyncIteratorFn, filterFn) {
return function (rootValue, args, context, info) {

@@ -57,2 +57,3 @@ var _a;

};
exports.withFilter = withFilter;
//# sourceMappingURL=with-filter.js.map
{
"name": "graphql-subscriptions",
"version": "1.2.1",
"version": "2.0.0",
"description": "GraphQL subscriptions for node.js",

@@ -14,3 +14,3 @@ "main": "dist/index.js",

"peerDependencies": {
"graphql": "^0.10.5 || ^0.11.3 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"
"graphql": "^15.7.2 || ^16.0.0"
},

@@ -28,3 +28,3 @@ "scripts": {

"postcoverage": "remap-istanbul --input coverage/coverage.raw.json --type lcovonly --output coverage/lcov.info",
"prepublishOnly": "npm run clean && npm run compile"
"prepare": "npm run clean && npm run compile"
},

@@ -40,3 +40,3 @@ "devDependencies": {

"chai-as-promised": "^7.1.1",
"graphql": "^14.0.0",
"graphql": "^16.0.0",
"istanbul": "^1.0.0-alpha.2",

@@ -49,3 +49,3 @@ "mocha": "^8.0.1",

"tslint": "^6.1.2",
"typescript": "^3.9.6"
"typescript": "^4.4.4"
},

@@ -52,0 +52,0 @@ "typings": "dist/index.d.ts",

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