@jsenv/log
Advanced tools
Comparing version 3.3.5 to 3.4.0
{ | ||
"name": "@jsenv/log", | ||
"version": "3.3.5", | ||
"version": "3.4.0", | ||
"description": "Nice and dynamic logs in the terminal", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -12,2 +12,3 @@ import { ANSI } from "./ansi.js"; | ||
effect = () => {}, | ||
animated = true, | ||
}) => { | ||
@@ -29,3 +30,3 @@ let frameIndex = 0; | ||
let cleanup; | ||
if (ANSI.supported) { | ||
if (animated && ANSI.supported) { | ||
running = true; | ||
@@ -32,0 +33,0 @@ cleanup = effect(); |
@@ -8,3 +8,3 @@ import { msAsDuration } from "./duration_log.js"; | ||
label, | ||
{ disabled = false, stopOnWriteFromOutside } = {}, | ||
{ disabled = false, animated = true, stopOnWriteFromOutside } = {}, | ||
) => { | ||
@@ -26,2 +26,3 @@ if (disabled) { | ||
stopOnWriteFromOutside, | ||
animated, | ||
}); | ||
@@ -28,0 +29,0 @@ return { |
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
23025
723