@remirror/core-helpers
Advanced tools
Comparing version 1.0.0-next.51 to 1.0.0-next.52
# @remirror/core-helpers | ||
## 1.0.0-next.52 | ||
> 2020-11-06 | ||
### Patch Changes | ||
- Forced update in pre-release mode. | ||
- Updated dependencies []: | ||
- @remirror/core-constants@1.0.0-next.52 | ||
- @remirror/core-types@1.0.0-next.52 | ||
## 1.0.0-next.51 | ||
@@ -4,0 +16,0 @@ |
@@ -339,3 +339,3 @@ 'use strict'; | ||
var hasPromiseAPI = value => { | ||
return !isNull(value) && isObject(value) && isFunction(value.then) && isFunction(value.catch); | ||
return !!(!isNull(value) && isObject(value) && isFunction(value.then) && isFunction(value.catch)); | ||
}; | ||
@@ -342,0 +342,0 @@ /** |
@@ -326,3 +326,3 @@ import { BaseError } from 'make-error'; | ||
var hasPromiseAPI = value => { | ||
return !isNull(value) && isObject(value) && isFunction(value.then) && isFunction(value.catch); | ||
return !!(!isNull(value) && isObject(value) && isFunction(value.then) && isFunction(value.catch)); | ||
}; | ||
@@ -329,0 +329,0 @@ /** |
@@ -339,3 +339,3 @@ 'use strict'; | ||
var hasPromiseAPI = value => { | ||
return !isNull(value) && isObject(value) && isFunction(value.then) && isFunction(value.catch); | ||
return !!(!isNull(value) && isObject(value) && isFunction(value.then) && isFunction(value.catch)); | ||
}; | ||
@@ -342,0 +342,0 @@ /** |
@@ -124,3 +124,3 @@ "use strict"; | ||
var hasPromiseAPI = value => !isNull(value) && isObject(value) && isFunction(value.then) && isFunction(value.catch); | ||
var hasPromiseAPI = value => !(isNull(value) || !isObject(value) || !isFunction(value.then) || !isFunction(value.catch)); | ||
@@ -127,0 +127,0 @@ function isPromise(value) { |
@@ -326,3 +326,3 @@ import { BaseError } from 'make-error'; | ||
var hasPromiseAPI = value => { | ||
return !isNull(value) && isObject(value) && isFunction(value.then) && isFunction(value.catch); | ||
return !!(!isNull(value) && isObject(value) && isFunction(value.then) && isFunction(value.catch)); | ||
}; | ||
@@ -329,0 +329,0 @@ /** |
@@ -232,3 +232,3 @@ import omit from 'object.omit'; | ||
*/ | ||
export declare const isArray: (arg: any) => arg is any[]; | ||
export declare const isArray: <T>(arg: {} | T) => arg is T extends readonly any[] ? unknown extends T ? never : readonly any[] : any[]; | ||
/** | ||
@@ -235,0 +235,0 @@ * Predicate check that value is an empty array |
{ | ||
"name": "@remirror/core-helpers", | ||
"version": "1.0.0-next.51", | ||
"version": "1.0.0-next.52", | ||
"description": "Provide helper functions for the remirror codebase, kinda like a tiny lodash", | ||
@@ -24,4 +24,4 @@ "homepage": "https://github.com/remirror/remirror/tree/HEAD/packages/@remirror/core-helpers", | ||
"@babel/runtime": "^7.12.0", | ||
"@remirror/core-constants": "1.0.0-next.51", | ||
"@remirror/core-types": "1.0.0-next.51", | ||
"@remirror/core-constants": "1.0.0-next.52", | ||
"@remirror/core-types": "1.0.0-next.52", | ||
"@types/object.omit": "^3.0.0", | ||
@@ -36,3 +36,3 @@ "@types/object.pick": "^1.3.0", | ||
"object.pick": "^1.3.0", | ||
"throttle-debounce": "^2.3.0", | ||
"throttle-debounce": "^3.0.1", | ||
"type-fest": "^0.18.0" | ||
@@ -39,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
193077
+ Added@remirror/core-constants@1.0.0-next.52(transitive)
+ Added@remirror/core-types@1.0.0-next.52(transitive)
+ Added@remirror/pm@1.0.0-next.52(transitive)
- Removed@remirror/core-constants@1.0.0-next.51(transitive)
- Removed@remirror/core-types@1.0.0-next.51(transitive)
- Removed@remirror/pm@1.0.0-next.51(transitive)
- Removedthrottle-debounce@2.3.0(transitive)
Updatedthrottle-debounce@^3.0.1