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

fluxible

Package Overview
Dependencies
Maintainers
4
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fluxible - npm Package Compare versions

Comparing version 0.4.10 to 0.4.11

.idea/inspectionProfiles/profiles_settings.xml

10

CHANGELOG.md
# Change Log
## 0.4.11
### Bug Fixes
* [#195] Fixed undefined error with rehydrating with an empty state object
### Features
* [#196] Added `getStore` method to `FluxibleContext` class
## 0.4.10

@@ -4,0 +14,0 @@

3

lib/Fluxible.js

@@ -178,2 +178,3 @@ /**

debug('rehydrate', obj);
obj = obj || {};
var self = this;

@@ -203,3 +204,3 @@ var Promise = Fluxible.Promise;

var rehydratePromise = Promise.all(pluginTasks).then(function rehydratePluginTasks() {
return context.rehydrate(obj.context);
return context.rehydrate(obj.context || {});
});

@@ -206,0 +207,0 @@

@@ -78,2 +78,14 @@ /**

/**
* Getter for store from dispatcher
* @method getStore
* @returns {Object}
*/
FluxContext.prototype.getStore = function getStore(store) {
if (!this._dispatcher) {
this._initializeDispatcher();
}
return this._dispatcher.getStore(store);
};
/**
* Provides plugin mechanism for adding application level settings that are persisted

@@ -80,0 +92,0 @@ * between server/client and also modification of the FluxibleContext

{
"name": "fluxible",
"version": "0.4.10",
"version": "0.4.11",
"description": "A pluggable container for isomorphic flux applications",

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

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