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

fractal-component

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fractal-component - npm Package Compare versions

Comparing version 3.0.2 to 3.1.0

src/SagaMonitorRegistry.d.ts

25

package.json
{
"name": "fractal-component",
"version": "3.0.2",
"version": "3.1.0",
"description": "`fractal-component` helps to encapsulate state store access, actions (messages, events) processing and side-effect management into decoupled container components.",

@@ -15,3 +15,3 @@ "main": "dist/fractal-component.cjs.js",

"eslint": "eslint 'src/*.js'",
"test": "echo 0",
"test": "jest",
"prebundlesize": "npm run build",

@@ -22,5 +22,4 @@ "bundlesize": "bundlesize",

"build": "rollup -c",
"prepare": "npm run build && cp ../../README.md ./README.md && cp ../../LICENSE ./LICENSE",
"prepush": "npm run test",
"preversion": "npm run test && npm run prepare",
"preversion": "npm run test && npm run build",
"release:patch": "npm version patch && npm publish && git push --follow-tags",

@@ -74,15 +73,19 @@ "release:minor": "npm version minor && npm publish && git push --follow-tags",

"devDependencies": {
"@babel/cli": "^7.0.0-beta.54",
"@babel/core": "^7.0.0-beta.54",
"@babel/node": "^7.0.0-beta.54",
"@babel/cli": "^7.0.0-rc.3",
"@babel/core": "^7.0.0-rc.3",
"@babel/node": "^7.0.0-rc.3",
"@babel/plugin-transform-runtime": "^7.0.0-rc.3",
"@babel/polyfill": "^7.0.0-beta.54",
"@babel/preset-env": "^7.0.0-beta.54",
"@babel/preset-react": "^7.0.0-beta.54",
"@babel/preset-stage-2": "^7.0.0-beta.54",
"@babel/polyfill": "^7.0.0-rc.3",
"@babel/preset-env": "^7.0.0-rc.3",
"@babel/preset-react": "^7.0.0-rc.3",
"@babel/preset-stage-2": "^7.0.0-rc.3",
"babel-core": "^7.0.0-0",
"babel-eslint": "^8.2.6",
"babel-jest": "^23.4.2",
"babel-plugin-annotate-pure-calls": "babel7",
"bundlesize": "^0.17.0",
"eslint": "^5.2.0",
"eslint-plugin-jest": "^21.22.0",
"eslint-plugin-react": "^7.11.1",
"jest": "^23.5.0",
"npm-run-all": "^4.1.3",

@@ -89,0 +92,0 @@ "prettier": "^1.13.7",

@@ -9,4 +9,5 @@ import { Action } from "redux";

findNamespaceByActionType(actionType: symbol): string;
destroy(): void;
}
export default ActionRegistry;
import { EnhancerOptions } from "redux-devtools-extension";
import { SagaMiddlewareOptions } from "redux-saga";
import { Store, Middleware } from "redux";
import { Store, Middleware, Action } from "redux";
import ComponentRegistry from "./ComponentRegistry";

@@ -32,2 +32,27 @@ import ReducerRegistry from "./ReducerRegistry";

destroy(): void;
/**
* This function is mainly used for server side rendering.
* i.e. To decide to when the initial data loading is finised
* and when it is ready to create a snapshot of the redux store
* via appContainer.store.getState()
*
* You shouldn't need it for implmenting any logic
*
*/
subscribeActionDispatch(func: (Action) => void): void;
// --- an utility mainly designed for server side rendering.
waitForActionsUntil(
testerFunc: (Action) => boolean,
timeout?: number
): Promise<void>;
/**
* This function is mainly used for server side rendering.
* i.e. Send out actions (if necessary) to trigger initial data loading
*
* You shouldn't need it for implmenting any logic
*
*/
dispatch(action: Action, relativeDispatchPath?: string): Action;
}

@@ -34,0 +59,0 @@

@@ -33,2 +33,4 @@ import * as React from "react";

dispatch(action: Action, relativeDispatchPath?: string): Action;
getNamespaceData(): any;
createClassNameGenerator(): () => string;
init(): void;

@@ -35,0 +37,0 @@ destroy(): void;

@@ -16,2 +16,4 @@ import {

deregister(componentInstance: ManageableComponent): void;
createComponentId(...pathItems: string): string;
destroy(): void;
}

@@ -18,0 +20,0 @@

@@ -8,7 +8,9 @@ import ComponentManager from "./ComponentManager";

deregisterComponentManager(cm: ComponentManager): void;
getData(namespace: string): any;
//--- iterate through all stored namespace data
foreach(iteratee: (data: object, namespace: string) => void): void;
map(iteratee: (data: object, namespace: string) => any): any[];
destroy(): void;
}
export default NamespaceRegistry;

@@ -20,2 +20,3 @@ import { Action } from "redux";

constructor();
destroy(): void;
add(path: string, data?: object): string;

@@ -33,3 +34,3 @@ remove(path: string): void;

isAllowedMulticast(path: string, actionType: symbol): boolean;
searchPathByPathData(predictFunc: (any) => boolean): string;
searchDispatchPaths(action: Action): string[];
}

@@ -36,0 +37,0 @@

@@ -6,2 +6,3 @@ import AppContainer from "./AppContainer";

constructor(appContainer: AppContainer);
destroy(): void;

@@ -8,0 +9,0 @@ store: Store;

@@ -15,2 +15,3 @@ import AppContainer from "./AppContainer";

createHostSaga(): GeneratorFunction;
destroy(): void;
}

@@ -17,0 +18,0 @@

@@ -38,1 +38,2 @@ import { is as reduxSagaIs, GuardPredicate } from "redux-saga/utils";

export const identity: (v: any) => any;
export const createClassNameGenerator: () => string;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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