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 2.0.4 to 2.0.5

yarn.lock

18

components/textarea.ts
import * as b from 'bobril';
export const textareaStyles = {
default: {
resize: 'none'
},
copyState: b.styleDef({

@@ -46,12 +49,11 @@ width: 150,

me.tag = 'textarea';
me.attrs = {
rows: 1,
value: ctx.value,
placeholder: ctx.data.placeholder,
wrap: 'soft',
resize: 'none',
spellcheck: false
me.attrs = {
rows: 1,
value: ctx.value,
placeholder: ctx.data.placeholder,
wrap: 'soft',
spellcheck: false
};
b.style(me, !!ctx.data.style, { cssFloat: ctx.data.float });
b.style(me, !!ctx.data.style && ctx.data.style, textareaStyles.default, { cssFloat: ctx.data.float });
},

@@ -58,0 +60,0 @@ postInitDom(ctx: ICtx, _me: b.IBobrilCacheNode, element: HTMLElement) {

@@ -7,4 +7,4 @@ import * as f from 'fun-model';

copy.date = new Date(Date.now());
copy.popup = () => alert(`Current value is ${copy.counter}.`);
copy.popup = () => alert('Popup opened by some data-closed function.');
copy.history = [...state.history, copy.counter];
}));

@@ -1,2 +0,2 @@

export function allToString(obj?: Object[] | Date | Object | string): string {
export function allToString(obj?: Object[] | Date | Object | string | null): string {
if (obj === null)

@@ -3,0 +3,0 @@ return 'null';

@@ -15,3 +15,3 @@ import * as b from 'bobril';

// TODO: update fun-model to recognize the calling action from stack
export function init<TState extends f.IState>(cursor: f.ICursor<TState> = { key: '' }): (m, p) => void {
export function init<TState extends f.IState>(cursor: f.ICursor<TState> = { key: '' }): (message: string, params?: Object[]) => void {
const createMonitor = monitorGenericFactory(cursor);

@@ -27,6 +27,6 @@ let routeUrl = '';

const callback = (m, p) => {
const callback = (m: string, p?: Object[]) => {
if (isPlaying)
return;
if (m && m.indexOf('has been initialized') >= 0) {

@@ -33,0 +33,0 @@ data.stateStamps = [createStateStamp(f.getState(cursor))];

{
"name": "bobflux-monitor",
"version": "2.0.4",
"version": "2.0.5",
"description": "Component for time travelling in bobflux/fun-model application state history.",

@@ -33,4 +33,4 @@ "typescript": {

"dependencies": {
"bobril": "^4.*",
"fun-model": "^1.*.*"
"bobril": "^5.0.4",
"fun-model": "^2.1.0"
},

@@ -41,2 +41,2 @@ "bobril": {

}
}
}
{
"compilerOptions": {
"target": "es6",
"target": "es5",
"module": "commonjs",

@@ -25,16 +25,4 @@ "moduleResolution": "node",

"C:/Users/t.rut/AppData/Roaming/npm/node_modules/bobril-build/typings/jasmine/jasmine.d.ts",
"components/button.ts",
"components/monitorPanel.ts",
"components/row.ts",
"components/rows.ts",
"components/textarea.ts",
"example.ts",
"example/actions/increment.ts",
"example/mainPage.ts",
"example/state.ts",
"helpers/string.ts",
"index.ts",
"node_modules/bobril/jsx.d.ts",
"spec/string.spec.ts"
"node_modules/bobril/jsx.d.ts"
]
}

@@ -103,3 +103,7 @@ {

],
"variable-name": [true, "allow-leading-underscore"],
"variable-name": [
true,
"allow-leading-underscore"
],
"whitespace": [

@@ -115,2 +119,2 @@ true,

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