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

harukaze

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

harukaze - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

14

lib/messages.js

@@ -7,4 +7,2 @@ require('es6-promise').polyfill();

var isDispatching = false;
function message(type) {

@@ -15,12 +13,4 @@ var bus = new Bacon.Bus();

return new Promise(function (resolve, reject) {
if (isDispatching) {
throw new Error('You must not nest message dispatches. Fix your flux.');
}
isDispatching = true;
try {
logger.logMessage(type, payload);
bus.push(payload);
} finally {
isDispatching = false;
}
logger.logMessage(type, payload);
bus.push(payload);
resolve();

@@ -27,0 +17,0 @@ });

2

package.json
{
"name": "harukaze",
"version": "0.0.2",
"version": "0.0.3",
"description": "A reactive flux architecture implementation",

@@ -5,0 +5,0 @@ "main": "index.js",

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