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

overmind

Package Overview
Dependencies
Maintainers
4
Versions
886
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

overmind - npm Package Compare versions

Comparing version 1.0.0-1532860086530 to 1.0.0-1533059066486

4

es/index.js

@@ -109,4 +109,4 @@ import { ActionChain } from 'action-chain';

}));
actionChain.on('provider', (data) => devtools.send({
type: 'provider',
actionChain.on('effect', (data) => devtools.send({
type: 'effect',
data,

@@ -113,0 +113,0 @@ }));

export declare type Namespace = 'namespace';
declare type Module = {
state?: any;
providers?: any;
effects?: any;
actions?: any;

@@ -16,4 +16,4 @@ reactions?: any;

};
providers: {
[Namespace in keyof Namespaces]: Namespaces[Namespace] extends ModuleFunction ? ReturnType<Namespaces[Namespace]>['providers'] : Namespaces[Namespace] extends Module ? Namespaces[Namespace]['providers'] : any;
effects: {
[Namespace in keyof Namespaces]: Namespaces[Namespace] extends ModuleFunction ? ReturnType<Namespaces[Namespace]>['effects'] : Namespaces[Namespace] extends Module ? Namespaces[Namespace]['effects'] : any;
};

@@ -20,0 +20,0 @@ actions: {

@@ -8,3 +8,3 @@ export default function namespaces(namespaces) {

state: Object.assign({}, aggr.state, { [key]: namespace.state || {} }),
providers: Object.assign({}, aggr.providers, { [key]: namespace.providers || {} }),
effects: Object.assign({}, aggr.effects, { [key]: namespace.effects || {} }),
actions: Object.assign({}, aggr.actions, { [key]: namespace.actions }),

@@ -15,3 +15,3 @@ reactions: Object.assign({}, aggr.reactions, { [key]: namespace.reactions }),

state: {},
providers: {},
effects: {},
actions: {},

@@ -18,0 +18,0 @@ reactions: {},

@@ -114,4 +114,4 @@ "use strict";

}));
actionChain.on('provider', (data) => devtools.send({
type: 'provider',
actionChain.on('effect', (data) => devtools.send({
type: 'effect',
data,

@@ -118,0 +118,0 @@ }));

export declare type Namespace = 'namespace';
declare type Module = {
state?: any;
providers?: any;
effects?: any;
actions?: any;

@@ -16,4 +16,4 @@ reactions?: any;

};
providers: {
[Namespace in keyof Namespaces]: Namespaces[Namespace] extends ModuleFunction ? ReturnType<Namespaces[Namespace]>['providers'] : Namespaces[Namespace] extends Module ? Namespaces[Namespace]['providers'] : any;
effects: {
[Namespace in keyof Namespaces]: Namespaces[Namespace] extends ModuleFunction ? ReturnType<Namespaces[Namespace]>['effects'] : Namespaces[Namespace] extends Module ? Namespaces[Namespace]['effects'] : any;
};

@@ -20,0 +20,0 @@ actions: {

@@ -10,3 +10,3 @@ "use strict";

state: Object.assign({}, aggr.state, { [key]: namespace.state || {} }),
providers: Object.assign({}, aggr.providers, { [key]: namespace.providers || {} }),
effects: Object.assign({}, aggr.effects, { [key]: namespace.effects || {} }),
actions: Object.assign({}, aggr.actions, { [key]: namespace.actions }),

@@ -17,3 +17,3 @@ reactions: Object.assign({}, aggr.reactions, { [key]: namespace.reactions }),

state: {},
providers: {},
effects: {},
actions: {},

@@ -20,0 +20,0 @@ reactions: {},

{
"name": "overmind",
"version": "1.0.0-1532860086530",
"version": "1.0.0-1533059066486",
"description": "Functional actions",

@@ -41,6 +41,6 @@ "author": "Christian Alfoni <christianalfoni@gmail.com>",

"@types/node": "^10.5.1",
"action-chain": "1.0.0-1532860086530",
"action-chain": "1.0.0-1533059066486",
"is-plain-object": "^2.0.4",
"betsy": "1.0.0-1532860086530",
"proxy-state-tree": "1.0.0-1532860086530",
"betsy": "1.0.0-1533059066486",
"proxy-state-tree": "1.0.0-1533059066486",
"tslib": "^1.9.3"

@@ -52,2 +52,3 @@ },

"jest": "^23.3.0",
"jsdom": "^11.12.0",
"react": "^16.4.1",

@@ -57,4 +58,5 @@ "react-test-renderer": "^16.4.1",

"ts-jest": "^23.0.0",
"typescript": "^2.9.2"
"typescript": "^2.9.2",
"vue": "^2.5.16"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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