Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@feathersjs/socket-commons

Package Overview
Dependencies
Maintainers
4
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@feathersjs/socket-commons - npm Package Compare versions

Comparing version 3.1.0 to 3.1.1

7

CHANGELOG.md
# Change Log
## [v3.1.0](https://github.com/feathersjs/socket-commons/tree/v3.1.0) (2017-12-06)
[Full Changelog](https://github.com/feathersjs/socket-commons/compare/v3.0.1...v3.1.0)
**Merged pull requests:**
- Give channel dispatchers a precedence [\#58](https://github.com/feathersjs/socket-commons/pull/58) ([daffl](https://github.com/daffl))
## [v3.0.1](https://github.com/feathersjs/socket-commons/tree/v3.0.1) (2017-11-03)

@@ -4,0 +11,0 @@ [Full Changelog](https://github.com/feathersjs/socket-commons/compare/v3.0.0...v3.0.1)

5

lib/channels/index.js

@@ -57,5 +57,4 @@ const debug = require('debug')('@feathersjs/socket-commons/channels');

Promise.resolve(callback(data, hook)).then(result => {
const channel = Array.isArray(result)
? new CombinedChannel(compact(flattenDeep(result)))
: result;
const results = Array.isArray(result) ? compact(flattenDeep(result)) : [ result ];
const channel = new CombinedChannel(results);

@@ -62,0 +61,0 @@ if (channel && channel.length > 0) {

2

package.json
{
"name": "@feathersjs/socket-commons",
"description": "Shared functionality for websocket providers",
"version": "3.1.0",
"version": "3.1.1",
"homepage": "https://github.com/feathersjs/socket-commons",

@@ -6,0 +6,0 @@ "main": "lib/",

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