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

cerebral

Package Overview
Dependencies
Maintainers
1
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 0.25.0 to 0.25.1

2

package.json
{
"name": "cerebral",
"version": "0.25.0",
"version": "0.25.1",
"description": "A state controller with its own debugger",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -5,2 +5,9 @@ var utils = require('./utils.js');

if (!utils.isDeveloping()) {
return {
update: function () {},
start: function () {}
};
}
var isInitialized = false;

@@ -140,6 +147,4 @@ var disableDebugger = false;

start: function () {
if (utils.isDeveloping()) {
var event = new Event('cerebral.dev.cerebralPing');
window.dispatchEvent(event);
}
var event = new Event('cerebral.dev.cerebralPing');
window.dispatchEvent(event);
}

@@ -146,0 +151,0 @@ };

@@ -43,3 +43,3 @@ var types = require('./types.js');

isDeveloping: function () {
return !global.process || global.process.env.NODE_ENV !== 'production';
return typeof process === 'undefined' || process.env.NODE_ENV !== 'production';
},

@@ -46,0 +46,0 @@ verifyInput: function (actionName, signalName, input, signalArgs) {

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