bobflux-monitor
Advanced tools
Comparing version 2.0.7 to 3.0.0
import * as b from 'bobril'; | ||
import { bootstrap } from 'fun-model'; | ||
import { createDefaultState} from './example/state'; | ||
import { createDefaultState } from './example/state'; | ||
import { mainPage } from './example/mainPage'; | ||
@@ -8,11 +8,11 @@ import * as monitor from './index'; | ||
// Bobflux | ||
// bootstrap(createDefaultState(), monitor.init()); | ||
// bootstrap(createDefaultState(), { debugCallback: monitor.init() }); | ||
// fun-model | ||
bootstrap(createDefaultState(), b.invalidate, monitor.init()); | ||
bootstrap(createDefaultState(), b.invalidate, { debugCallback: monitor.init() }); | ||
b.routes( | ||
b.route({handler: mainPage }, [ | ||
b.route({handler: mainPage }) | ||
b.route({ handler: mainPage }, [ | ||
b.route({ handler: mainPage }) | ||
]) | ||
); |
{ | ||
"name": "bobflux-monitor", | ||
"version": "2.0.7", | ||
"version": "3.0.0", | ||
"description": "Component for time travelling in bobflux/fun-model application state history.", | ||
@@ -33,9 +33,18 @@ "typescript": { | ||
"dependencies": { | ||
"bobril": "^5.0.4", | ||
"fun-model": "^2.1.0 || ^1.3.0" | ||
"bobril": "^6.3.3", | ||
"fun-model": "^5.0.1" | ||
}, | ||
"bobril": { | ||
"example": "example.ts", | ||
"title": "Bobflux-monitor" | ||
"title": "Bobflux-monitor", | ||
"compilerOptions": { | ||
"noImplicitAny": true, | ||
"noImplicitThis": true, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"noImplicitReturns": true, | ||
"noFallthroughCasesInSwitch": true, | ||
"strictNullChecks": true | ||
} | ||
} | ||
} |
@@ -13,3 +13,3 @@ # bobflux-monitor | ||
bootstrap(createDefaultState(), monitor.init()); | ||
bootstrap(createDefaultState(), { debugCallback: monitor.init() }); | ||
``` | ||
@@ -20,3 +20,3 @@ ```typescript | ||
bootstrap(createDefaultState(), b.invalidate, monitor.init()); | ||
bootstrap(createDefaultState(), b.invalidate, { debugCallback: monitor.init() }); | ||
``` | ||
@@ -23,0 +23,0 @@ |
@@ -17,3 +17,11 @@ { | ||
"jsx": "react", | ||
"reactNamespace": "b" | ||
"reactNamespace": "b", | ||
"experimentalDecorators": true, | ||
"noImplicitAny": true, | ||
"noImplicitThis": true, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"noImplicitReturns": true, | ||
"noFallthroughCasesInSwitch": true, | ||
"strictNullChecks": true | ||
}, | ||
@@ -20,0 +28,0 @@ "include": [ |
@@ -50,3 +50,5 @@ { | ||
], | ||
"no-consecutive-blank-lines": true, | ||
"no-consecutive-blank-lines": [ | ||
true | ||
], | ||
"no-construct": true, | ||
@@ -104,3 +106,2 @@ "no-constructor-vars": true, | ||
], | ||
"variable-name": [ | ||
@@ -107,0 +108,0 @@ true, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26663
19
701
+ Addedbobril@6.3.3(transitive)
+ Addedfun-model@5.0.1(transitive)
- Removedbobril@5.5.0(transitive)
- Removedfun-model@2.2.0(transitive)
Updatedbobril@^6.3.3
Updatedfun-model@^5.0.1