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

bobflux-monitor

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bobflux-monitor - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

readme.md

24

index.js

@@ -8,3 +8,4 @@ define(["require", "exports", 'node_modules/bobril/index', 'node_modules/fun-model/dist/src/index', './button', './rows', './textbox'], function (require, exports, b, index_1, button, rows, textbox) {

overflow: 'auto',
overflowX: 'hidden'
overflowX: 'hidden',
zIndex: 1000
});

@@ -78,11 +79,18 @@ var openedStyle = b.styleDef({

var data = createDefaultData(cursor);
var routeUrl = '';
var callback = function (m, p) {
if (m && p && m.indexOf('Current state') >= 0) {
if (!data.stateStamps.some(function (stateStamp) { return stateStamp.state === p; }))
data.stateStamps.push({
change: 'change',
time: new Date(),
state: p,
frames: b.frame()
});
if (!routeUrl || routeUrl === window.location.href) {
if (!data.stateStamps.some(function (stateStamp) { return stateStamp.state === p; }))
data.stateStamps.push({
change: 'change',
time: new Date(),
state: p,
frames: b.frame()
});
}
else {
data.stateStamps = [];
}
routeUrl = window.location.href;
}

@@ -89,0 +97,0 @@ };

@@ -13,3 +13,4 @@ import * as b from 'node_modules/bobril/index';

overflow: 'auto',
overflowX: 'hidden'
overflowX: 'hidden',
zIndex: 1000
})

@@ -107,4 +108,6 @@

let data = createDefaultData(cursor);
let routeUrl = '';
let callback = (m, p) => {
if (m && p && m.indexOf('Current state') >= 0) {
if(!routeUrl || routeUrl === window.location.href ){
if (!data.stateStamps.some(stateStamp => stateStamp.state === p))

@@ -117,2 +120,7 @@ data.stateStamps.push({

});
} else {
data.stateStamps = [];
}
routeUrl = window.location.href ;
}

@@ -119,0 +127,0 @@ };

{
"name": "bobflux-monitor",
"version": "0.0.5",
"version": "0.0.6",
"description": "Component for time travelling in bobflux application state history.",

@@ -5,0 +5,0 @@ "author": {

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