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.17.6 to 0.17.7

2

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

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

@@ -28,11 +28,6 @@ var utils = require('./utils.js');

});
signalStore.remember(signalStore.getSignals().length - 1);
window.dispatchEvent(event);
};
window.addEventListener('cerebral.dev.initialize', function () {
signalStore.remember(signalStore.getSignals().length - 1);
initialize();
});
initialize();
window.addEventListener('cerebral.dev.toggleKeepState', function () {

@@ -71,5 +66,16 @@ signalStore.toggleKeepState();

return {
update: update
update: update,
start: function () {
if (utils.isDeveloping()) {
if (window.CEREBRAL_DEBUGGER_INJECTED) {
initialize();
} else {
window.addEventListener('cerebral.dev.initialize', function () {
initialize();
});
}
}
}
};
};

@@ -36,2 +36,3 @@ var CreateSignalFactory = require('./CreateSignalFactory.js');

};
controller.devtools = devtools;
controller.toJSON = model.toJSON;

@@ -38,0 +39,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