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.1-1584683380023 to 5.2.1-1584794181458

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.1-1584683380023";
_this.version = "5.2.1-1584794181458";
_this.debuggerWatchMap = {};

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

@@ -42,2 +42,6 @@ function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }

if (methodKey === 'set' && args[0] === undefined) {
return model.unset.apply(model, [path].concat(args));
}
return model[methodKey].apply(model, [path].concat(args));

@@ -90,3 +94,9 @@ };

try {
originFunc.apply(context.controller.model, [path].concat(_toConsumableArray(argsCopy)));
if (methodKey === 'set' && argsCopy[0] === undefined) {
var _context$controller$m;
(_context$controller$m = context.controller.model).unset.apply(_context$controller$m, [path].concat(_toConsumableArray(argsCopy)));
} else {
originFunc.apply(context.controller.model, [path].concat(_toConsumableArray(argsCopy)));
}
} catch (e) {

@@ -93,0 +103,0 @@ var executionName = context.execution.name;

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

_this.version = "5.2.1-1584683380023";
_this.version = "5.2.1-1584794181458";
_this.debuggerWatchMap = {};

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

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

if (methodKey === 'set' && args[0] === undefined) {
return model.unset.apply(model, [path].concat(args));
}
return model[methodKey].apply(model, [path].concat(args));

@@ -102,3 +106,9 @@ };

try {
originFunc.apply(context.controller.model, [path].concat(_toConsumableArray(argsCopy)));
if (methodKey === 'set' && argsCopy[0] === undefined) {
var _context$controller$m;
(_context$controller$m = context.controller.model).unset.apply(_context$controller$m, [path].concat(_toConsumableArray(argsCopy)));
} else {
originFunc.apply(context.controller.model, [path].concat(_toConsumableArray(argsCopy)));
}
} catch (e) {

@@ -105,0 +115,0 @@ var executionName = context.execution.name;

{
"name": "cerebral",
"version": "5.2.1-1584683380023",
"version": "5.2.1-1584794181458",
"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-1584683380023"
"function-tree": "^3.3.1-1584794181458"
},

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

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