New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

publication-server

Package Overview
Dependencies
Maintainers
21
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

publication-server - npm Package Compare versions

Comparing version 1.6.2 to 1.6.4

client/package.json

4

CHANGELOG.md
## Release History
* 1.6.4 Add name property when applying subscription handler functions
* 1.6.3 Update client version
* 1.6.2 Fix erroneous publish

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

## Release History
* 1.4.11 Allow stopping a subscription before its 'ready' event is received
* 1.4.10 Fix README, correct for accidental 1.4.9 publish

@@ -4,0 +6,0 @@

4

client/src/subscription.js

@@ -187,3 +187,3 @@ 'use strict';

this._isFailed = true;
let err = this._extractErr(msg.error);
const err = this._extractErr(msg.error);
this._initializationError = err;

@@ -231,3 +231,3 @@ this.emit('nosub', err);

let e = new Error(err);
const e = new Error(err);
e.publicationName = this._name; // Attach the publication name for reporting.

@@ -234,0 +234,0 @@ return e;

{
"name": "publication-server",
"version": "1.6.2",
"version": "1.6.4",
"description": "",

@@ -25,4 +25,4 @@ "main": "src/index.js",

"devDependencies": {
"eslint": ">=3",
"eslint-config-mixmax": "^0.6.0",
"eslint": "^5.15.3",
"eslint-config-mixmax": "^2.0.0",
"pre-commit": "^1.2.2"

@@ -29,0 +29,0 @@ },

@@ -163,3 +163,3 @@ 'use strict';

// Create the subscription, register it and then start it.
let subscription = new Subscription({
const subscription = new Subscription({
session: this,

@@ -188,3 +188,3 @@ handler,

let sub = this._subscriptions[msg.id];
const sub = this._subscriptions[msg.id];
if (!sub) {

@@ -218,3 +218,3 @@ // No open subscription with the given name.

// Find the correct handler if it exists.
let handler = this.handlers[msg.msg];
const handler = this.handlers[msg.msg];
if (!handler) {

@@ -221,0 +221,0 @@ this.send({

@@ -49,2 +49,3 @@ 'use strict';

userId: this._session.userId,
name: this._name,

@@ -51,0 +52,0 @@ /**

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