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

pubsub-js

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pubsub-js - npm Package Compare versions

Comparing version 1.5.3 to 1.5.4

4

package.json
{
"name": "pubsub-js",
"version": "1.5.3",
"version": "1.5.4",
"description": "Dependency free publish/subscribe library",

@@ -40,2 +40,2 @@ "main": "./src/pubsub.js",

}
}
}

@@ -61,3 +61,3 @@ # PubSubJS

### Cancel specific subscripiton
### Cancel specific subscription

@@ -64,0 +64,0 @@ ```javascript

@@ -24,3 +24,3 @@ /*

factory(PubSub);
}(( typeof window === 'object' && window ) || this, function (PubSub){

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

PubSub.clearSubscriptions = function clearSubscriptions(topic){
var m;
var m;
for (m in messages){

@@ -219,3 +219,3 @@ if (messages.hasOwnProperty(m) && m.indexOf(topic) === 0){

if (isTopic){
delete messages[value];
PubSub.clearSubscriptions(value);
return;

@@ -222,0 +222,0 @@ }

@@ -118,3 +118,3 @@ (function( global ){

PubSub.publishSync(topicA, TestHelper.getUniqueString());
PubSub.publishSync(topicC, TestHelper.getUniqueString());

@@ -121,0 +121,0 @@ assert(spyA.called);

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