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

cerebral

Package Overview
Dependencies
Maintainers
6
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.2.0-1570561816164 to 5.2.0-1570641556876

2

es/BaseController.js

@@ -67,4 +67,2 @@ 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.configure(rootModule);
_this.module = rootModule instanceof Module ? rootModule.create(_this, []) : new Module(rootModule).create(_this, []);
_this.model = new Model(_this);

@@ -71,0 +69,0 @@ if (!preventInitialize) {

2

es/devtools/index.js

@@ -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.2.0-1570561816164";
_this.version = "5.2.0-1570641556876";
_this.debuggerWatchMap = {};

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

@@ -363,2 +363,6 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };

if (isComputedValue(old) || isComputedValue(next)) {
return next;
}
if (isObject(old) && isObject(next)) {

@@ -365,0 +369,0 @@ var keys = Object.keys(old).concat(Object.keys(next)).reduce(function (aggr, key) {

@@ -88,4 +88,2 @@ 'use strict';

_this.configure(rootModule);
_this.module = rootModule instanceof _Module2.default ? rootModule.create(_this, []) : new _Module2.default(rootModule).create(_this, []);
_this.model = new Model(_this);

@@ -92,0 +90,0 @@ if (!preventInitialize) {

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

_this.version = "5.2.0-1570561816164";
_this.version = "5.2.0-1570641556876";
_this.debuggerWatchMap = {};

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

@@ -397,2 +397,6 @@ 'use strict';

if (isComputedValue(old) || isComputedValue(next)) {
return next;
}
if (isObject(old) && isObject(next)) {

@@ -399,0 +403,0 @@ var keys = Object.keys(old).concat(Object.keys(next)).reduce(function (aggr, key) {

{
"name": "cerebral",
"version": "5.2.0-1570561816164",
"version": "5.2.0-1570641556876",
"description": "A state controller with its own debugger",

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

"es6-error": "^4.0.2",
"function-tree": "^3.3.1-1570561816164"
"function-tree": "^3.3.1-1570641556876"
},

@@ -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