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

fluxdux

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fluxdux - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

README.md

7

actions.js

@@ -19,2 +19,9 @@ const sRejectType = [

},
removeListener : function(listener) {
this._listeners.splice(this._listeners.indexOf(listener), 1);
},
clearListeners : function() {
console.log("clearListeners");
this._listeners = [];
},
hasActionType : function(type) {

@@ -21,0 +28,0 @@ return this.actions.indexOf(type) >= 0;

16

package.json
{
"name": "fluxdux",
"version": "1.0.0",
"description": "",
"version": "1.0.1",
"description": "Flux and Redux together",
"main": "fluxdux.js",

@@ -9,4 +9,12 @@ "scripts": {

},
"author": "trungnq",
"license": "ISC"
"url": "https://github.com/nquangtrung/fluxdux",
"author": {
"name": "trungnq"
},
"license": "ISC",
"readme": "# fluxdux\r\nFlux and Redux together\r\n",
"readmeFilename": "README.md",
"_id": "fluxdux@1.0.0",
"_shasum": "c8efa53b63373f152ef64737f51838656755b252",
"_from": "fluxdux@"
}

@@ -16,2 +16,6 @@ var Reducer = require('./reducer.js');

function unsubcribe(actions) {
actions.clearListeners();
}
Store.prototype = {

@@ -24,3 +28,3 @@ storeActions : null,

trigger : function() {
this.context.dispatch(this.storeActions.change, this);
this.context.dispatch(this.storeActions.change, this.state);
},

@@ -31,2 +35,9 @@ change : function(callback) {

});
var unsubcriber = (function(store) {
return function() {
unsubcribe(store.storeActions);
}
})(this);
return unsubcriber;
},

@@ -36,2 +47,5 @@ reduce : function(action, data) {

this.trigger();
},
getState : function() {
return this.state;
}

@@ -38,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