Comparing version 5.0.2 to 5.0.3
@@ -18,3 +18,3 @@ // src/listr.ts | ||
// src/lib/task.ts | ||
import { Observable, Subject } from "rxjs"; | ||
import { isObservable, Subject } from "rxjs"; | ||
import { Readable } from "stream"; | ||
@@ -905,3 +905,3 @@ | ||
}); | ||
} else if (result instanceof Observable) { | ||
} else if (isObservable(result)) { | ||
result = new Promise((resolve, reject) => { | ||
@@ -908,0 +908,0 @@ result.subscribe({ |
{ | ||
"name": "listr2", | ||
"version": "5.0.2", | ||
"version": "5.0.3", | ||
"description": "Terminal task list reborn! Create beautiful CLI interfaces via easy and logical to implement task lists that feel alive and interactive.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
135632