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

fun-model

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fun-model - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

dist/src/index.d.ts
export * from './store';
export * from './actionFactory';
export * from './helpers';
export * from './helpers';
import { IState } from './store';
export declare let bootstrap: (defaultState: IState, renderCallback: () => void, subStateSeparator?: string) => void;

@@ -6,2 +6,4 @@ function __export(m) {

__export(require('./actionFactory'));
__export(require('./helpers'));
__export(require('./helpers'));
var store_2 = require('./store');

@@ -8,0 +10,0 @@ var actionFactory_2 = require('./actionFactory');

export * from './store';
export * from './actionFactory';
export * from './helpers';
export * from './helpers';
import { IState } from './store';

@@ -5,0 +7,0 @@ import { bootstrap as storeBootstrap } from './store';

2

dist/src/store.js

@@ -46,3 +46,3 @@ var h = require('./helpers');

function checkSubstate(s, subPath, cursorKey) {
if (!s[subPath])
if (s[subPath] === undefined)
throw "State for cursor key (" + cursorKey + ") does not exist.";

@@ -49,0 +49,0 @@ }

@@ -65,3 +65,3 @@ import * as h from './helpers';

function checkSubstate(s: IState, subPath: string, cursorKey: string) {
if (!s[subPath])
if (s[subPath] === undefined)
throw `State for cursor key (${cursorKey}) does not exist.`;

@@ -68,0 +68,0 @@ }

{
"name": "fun-model",
"version": "0.0.1",
"version": "0.0.2",
"description": "fun-model is pure functional implementation of FLUX architecture.",

@@ -11,3 +11,2 @@ "main": "dist/src/index.js",

"keywords": [
"bobril",
"flux",

@@ -14,0 +13,0 @@ "es6"

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