@figliolia/galena
Advanced tools
Comparing version 2.2.6 to 2.2.7
@@ -32,3 +32,3 @@ "use strict"; | ||
if (diff > this.threshold) { | ||
console.warn("Slow state transition detected", nextState); | ||
console.warn(`A slow state transition was detected on ${nextState.name}`, nextState); | ||
console.warn(`The last transition took ${diff}ms`); | ||
@@ -35,0 +35,0 @@ } |
@@ -30,3 +30,3 @@ import { Middleware } from "../Middleware/Middleware.js"; | ||
if (diff > this.threshold) { | ||
console.warn("Slow state transition detected", nextState); | ||
console.warn(`A slow state transition was detected on ${nextState.name}`, nextState); | ||
console.warn(`The last transition took ${diff}ms`); | ||
@@ -33,0 +33,0 @@ } |
{ | ||
"name": "@figliolia/galena", | ||
"version": "2.2.6", | ||
"version": "2.2.7", | ||
"description": "A performant state management library supporting mutable state, batched updates, middleware and a rich development API", | ||
@@ -5,0 +5,0 @@ "main": "dist/cjs/index.js", |
@@ -33,3 +33,6 @@ import type { State } from "Galena/State"; | ||
if (diff > this.threshold) { | ||
console.warn("Slow state transition detected", nextState); | ||
console.warn( | ||
`A slow state transition was detected on ${nextState.name}`, | ||
nextState | ||
); | ||
console.warn(`The last transition took ${diff}ms`); | ||
@@ -36,0 +39,0 @@ } |
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
118523
3032