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

cerebral

Package Overview
Dependencies
Maintainers
5
Versions
638
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cerebral - npm Package Compare versions

Comparing version 5.0.0-1527883977316 to 5.0.0-1527963057741

3

es/BaseController.js

@@ -69,3 +69,4 @@ var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"]) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } }; }();

_this.contextProviders = Object.assign(_this.contextProviders, getProviders(_this.module), {
controller: _this,
app: _this,
controller: _this, // To be deprecated
get: GetProvider,

@@ -72,0 +73,0 @@ state: _this.model.StateProvider(_this.devtools),

@@ -63,3 +63,3 @@ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

_this.version = "5.0.0-1527883977316";
_this.version = "5.0.0-1527963057741";
_this.debuggerWatchMap = {};

@@ -66,0 +66,0 @@ _this.debuggerComputedMap = {};

@@ -34,4 +34,6 @@ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

module.sequences = Object.keys(module.sequences || module.signals || {}).reduce(function (currentSequences, sequenceKey) {
var sequence = module.sequences[sequenceKey];
var sequences = module.sequences || module.signals;
module.sequences = Object.keys(sequences || {}).reduce(function (currentSequences, sequenceKey) {
var sequence = sequences[sequenceKey];
if (!(sequence && (Array.isArray(sequence) || typeof sequence === 'function' || sequence instanceof Primitive))) {

@@ -38,0 +40,0 @@ throwError('Sequence with name "' + sequenceKey + '" is not correctly defined. Please check that the sequence is either a sequence, an array or a function.');

@@ -91,3 +91,4 @@ 'use strict';

_this.contextProviders = Object.assign(_this.contextProviders, (0, _utils.getProviders)(_this.module), {
controller: _this,
app: _this,
controller: _this, // To be deprecated
get: _Get2.default,

@@ -94,0 +95,0 @@ state: _this.model.StateProvider(_this.devtools),

@@ -81,3 +81,3 @@ 'use strict';

_this.version = "5.0.0-1527883977316";
_this.version = "5.0.0-1527963057741";
_this.debuggerWatchMap = {};

@@ -84,0 +84,0 @@ _this.debuggerComputedMap = {};

@@ -43,4 +43,6 @@ 'use strict';

module.sequences = Object.keys(module.sequences || module.signals || {}).reduce(function (currentSequences, sequenceKey) {
var sequence = module.sequences[sequenceKey];
var sequences = module.sequences || module.signals;
module.sequences = Object.keys(sequences || {}).reduce(function (currentSequences, sequenceKey) {
var sequence = sequences[sequenceKey];
if (!(sequence && (Array.isArray(sequence) || typeof sequence === 'function' || sequence instanceof _functionTree.Primitive))) {

@@ -47,0 +49,0 @@ (0, _utils.throwError)('Sequence with name "' + sequenceKey + '" is not correctly defined. Please check that the sequence is either a sequence, an array or a function.');

{
"name": "cerebral",
"version": "5.0.0-1527883977316",
"version": "5.0.0-1527963057741",
"description": "A state controller with its own debugger",

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

"es6-error": "^4.0.2",
"function-tree": "^3.3.0-1527883977316"
"function-tree": "^3.3.0-1527963057741"
},

@@ -27,0 +27,0 @@ "scripts": {

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