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

@cerebral/fluent

Package Overview
Dependencies
Maintainers
5
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cerebral/fluent - npm Package Compare versions

Comparing version 1.0.0-1518548751679 to 1.0.0-1518720412235

16

lib/Model.js

@@ -17,3 +17,3 @@ import { extractModuleProp, isObject, BaseModel } from 'cerebral/internal';

function cleanPath(state, key, path) {
const pathCopy = path.concat(key);
const pathCopy = key ? path.concat(key) : path.slice();
let isValid = false;

@@ -49,3 +49,3 @@ while (!isValid) {

case 'size':
path = cleanPath(state, key, path);
path = cleanPath(state, null, path);
return target[key];

@@ -64,3 +64,3 @@ case 'forEach':

const value = originalFunc.apply(target, args);
path = cleanPath(state, key, path);
path = cleanPath(state, null, path);
return value;

@@ -85,3 +85,3 @@ };

}, execution, functionDetails, props);
path = cleanPath(state, key, path);
path = cleanPath(state, args[0], path);
return originalFunction.apply(target, args);

@@ -98,3 +98,3 @@ };

}, execution, functionDetails, props);
path = cleanPath(state, key, path);
path = cleanPath(state, null, path);
return originalFunction.apply(target, args);

@@ -111,3 +111,3 @@ };

}, execution, functionDetails, props);
path = cleanPath(state, key, path);
path = cleanPath(state, null, path);
return originalFunction.apply(target, args);

@@ -124,3 +124,3 @@ };

}, execution, functionDetails, props);
path = cleanPath(state, key, path);
path = cleanPath(state, null, path);
return originalFunction.apply(target, args);

@@ -136,3 +136,3 @@ };

}, execution, functionDetails, props);
path = cleanPath(state, key, path);
path = cleanPath(state, null, path);
return originalFunction.apply(target, args);

@@ -139,0 +139,0 @@ };

{
"name": "@cerebral/fluent",
"version": "1.0.0-1518548751679",
"version": "1.0.0-1518720412235",
"description": "Makes Cerebral typescript friendly",

@@ -27,3 +27,3 @@ "main": "index.js",

"dependencies": {
"cerebral": "^4.2.0-1518548751679",
"cerebral": "^4.2.0-1518720412235",
"mobx": "^3.4.1"

@@ -30,0 +30,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