@platform/util.is
Advanced tools
Comparing version 0.0.144 to 0.0.145
@@ -41,2 +41,5 @@ "use strict"; | ||
}, | ||
promise: function (value) { | ||
return value ? typeof value === 'object' && typeof value.then === 'function' : false; | ||
}, | ||
}; |
@@ -14,2 +14,3 @@ export declare type Is = IsFlags & IsMethods; | ||
subject(input?: any): boolean; | ||
promise(input?: any): boolean; | ||
}; |
{ | ||
"name": "@platform/util.is", | ||
"version": "0.0.144", | ||
"version": "0.0.145", | ||
"description": "Environment flags.", | ||
@@ -11,3 +11,3 @@ "main": "lib/index", | ||
"lint": "ts lint", | ||
"build": "ts build", | ||
"build": "ts build --no-esm", | ||
"prepare": "ts prepare" | ||
@@ -17,4 +17,4 @@ }, | ||
"devDependencies": { | ||
"@platform/test": "0.2.2", | ||
"@platform/ts": "4.1.5" | ||
"@platform/test": "0.2.3", | ||
"@platform/ts": "4.1.6" | ||
}, | ||
@@ -21,0 +21,0 @@ "files": [ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
3161
9
71