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

tunguska

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tunguska - npm Package Compare versions

Comparing version 0.2.2 to 0.3.0

.npmignore

20

package.json
{
"name": "tunguska",
"author": "Kris Zyp",
"version": "0.2.2",
"version": "0.3.0",
"description": "Distributed publish/subscribe hub with Comet-style delivery of messages to browsers",
"dependencies": [],

@@ -24,2 +25,8 @@ "keywords": [

],
"maintainers": [
{
"name": "Kris Zyp",
"email": "kriszyp@gmail.com"
}
],
"repository": {

@@ -32,7 +39,10 @@ "type":"git",

"directories": {
"lib": "./lib"
"lib": "."
},
"dependencies":{
"patr": ">=0.2.1"
"devDependencies":{
"patr": ">0.2.6"
},
"dependencies": {
"promised-io": ">=0.3.0"
}
}
}

@@ -60,2 +60,12 @@ [Tunguska](http://en.wikipedia.org/wiki/Tunguska_event) is a comet-based

In addition, we can use tagged subscriptions to subscribe to a subset of tagged messages on a channel:
hub.subscribe("name/of/*:tagname", listenerFunction);
Using tags requires that objects are published with a tag:
hub.publish("name/of/channel:tagname", {foo:"bar"});
Messages that are published with a tag will be sent to all subscribers that are subscribed to a matching tag, or that are subscribed to the base channel without a tag.
Tunguska also supports named event sub-types within each channel. The subscribe

@@ -62,0 +72,0 @@ function takes an optional second parameter for specifying a specific event type

@@ -6,5 +6,5 @@ {

"mappings":{
"pintura": "http://github.com/kriszyp/pintura/zipball/v0.2.5",
"jsgi-node": "http://github.com/kriszyp/jsgi-node/zipball/v0.2.3",
"tunguska": "http://github.com/kriszyp/tunguska/zipball/v0.2.2",
"pintura": "http://github.com/kriszyp/pintura/zipball/v0.2.5!/",
"jsgi-node": "http://github.com/kriszyp/jsgi-node/zipball/v0.2.3!/",
"tunguska": "http://github.com/kriszyp/tunguska/zipball/v0.2.2!/",
"ws": {

@@ -11,0 +11,0 @@ "archive": "http://github.com/miksago/node-websocket-server/zipball/v1.4.01",

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