New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 to 1.0.1-1522102055181

16

lib/connect.js

@@ -19,5 +19,5 @@ import Hoc from './Hoc';

return connect(con, passedComponent(fakeProps));
}
},
};
}
},
};

@@ -41,5 +41,5 @@ }

return connect(con, passedComponent(fakeProps));
}
},
};
}
},
};

@@ -53,4 +53,4 @@ };

get: function (target, name) {
throw new CerebralError("The props lambda parameter should only be used to conveniently get the type of the components generic props parameter. Use `this.props` in the component instead.");
}
throw new CerebralError('The props lambda parameter should only be used to conveniently get the type of the components generic props parameter. Use `this.props` in the component instead.');
},
};

@@ -69,5 +69,5 @@ var fakeProps = Proxy ? new Proxy({}, handler) : {};

state: lookups.stateLookup(x.state),
signals: lookups.signalsLookup(x.signals)
signals: lookups.signalsLookup(x.signals),
},
props: x.props
props: x.props,
});

@@ -74,0 +74,0 @@ };

@@ -41,2 +41,5 @@ import { Provider } from 'cerebral';

get: function (target, key) {
if (key === '$mobx') {
return;
}
if (isObservableMap(target)) {

@@ -75,3 +78,5 @@ switch (key) {

var value = originalFunc_2.call(target, mapKey);
return new Proxy(value, validator);
return value !== null && typeof value === 'object'
? new Proxy(value, validator)
: value;
};

@@ -78,0 +83,0 @@ }

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

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

"dependencies": {
"cerebral": "^4.2.0",
"cerebral": "^4.2.0-1522102055181",
"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