@fastkit/helpers
Advanced tools
Comparing version 0.6.9 to 0.6.10
@@ -70,2 +70,5 @@ 'use strict'; | ||
function isObject(value) { | ||
return Object.prototype.toString.call(value) === '[object Object]'; | ||
} | ||
// cloned from https://github.com/epoberezkin/fast-deep-equal with small changes | ||
@@ -652,2 +655,3 @@ function objectIncludes(b, a) { | ||
exports.isMap = isMap; | ||
exports.isObject = isObject; | ||
exports.isPromise = isPromise; | ||
@@ -654,0 +658,0 @@ exports.isSameFlattendComparatorCondition = isSameFlattendComparatorCondition; |
@@ -70,2 +70,5 @@ 'use strict'; | ||
function isObject(value) { | ||
return Object.prototype.toString.call(value) === '[object Object]'; | ||
} | ||
// cloned from https://github.com/epoberezkin/fast-deep-equal with small changes | ||
@@ -652,2 +655,3 @@ function objectIncludes(b, a) { | ||
exports.isMap = isMap; | ||
exports.isObject = isObject; | ||
exports.isPromise = isPromise; | ||
@@ -654,0 +658,0 @@ exports.isSameFlattendComparatorCondition = isSameFlattendComparatorCondition; |
@@ -152,2 +152,4 @@ /// <reference types="node" /> | ||
export declare function isObject(value: unknown): value is Record<string, any>; | ||
export declare function isPromise<T = any>(obj: any): obj is Promise<T>; | ||
@@ -154,0 +156,0 @@ |
@@ -66,2 +66,5 @@ function toInt(value) { | ||
function isObject(value) { | ||
return Object.prototype.toString.call(value) === '[object Object]'; | ||
} | ||
// cloned from https://github.com/epoberezkin/fast-deep-equal with small changes | ||
@@ -626,2 +629,2 @@ function objectIncludes(b, a) { | ||
export { Cloner, DATE_INPUT_PRECISIONS, DATE_INPUT_RE, DefaultComparatorConditionName, IN_DOCUMENT, IN_WINDOW, addTransitionEvent, addTransitionendEvent, arrayRemove, attemptFocus, clone, consoleColorString, copyBuffer, createComparatorCondition, debounce, escapeRegExp, flattenComparatorCondition, flattenRecursiveArray, focusFirstDescendant, isArrayBufferView, isBuffer, isComparatorConditionalValue, isEmpty, isFocusable, isIterableObject, isMap, isPromise, isSameFlattendComparatorCondition, isSet, isString, nilToEmptyString, notEmptyValue, objectIncludes, ownerDocument, ownerWindow, parseDateInput, pushDynamicStyle, range, resolveDebounceSettings, safeGetTimeByDateSource, safeJSONSerializer, safeJSONStringify, safeRemainderOperation, toComparableNumbers, toFloat, toHalfWidth, toInt, toNumber, toSingleSpace, traverseAndFlattenComparatorCondition }; | ||
export { Cloner, DATE_INPUT_PRECISIONS, DATE_INPUT_RE, DefaultComparatorConditionName, IN_DOCUMENT, IN_WINDOW, addTransitionEvent, addTransitionendEvent, arrayRemove, attemptFocus, clone, consoleColorString, copyBuffer, createComparatorCondition, debounce, escapeRegExp, flattenComparatorCondition, flattenRecursiveArray, focusFirstDescendant, isArrayBufferView, isBuffer, isComparatorConditionalValue, isEmpty, isFocusable, isIterableObject, isMap, isObject, isPromise, isSameFlattendComparatorCondition, isSet, isString, nilToEmptyString, notEmptyValue, objectIncludes, ownerDocument, ownerWindow, parseDateInput, pushDynamicStyle, range, resolveDebounceSettings, safeGetTimeByDateSource, safeJSONSerializer, safeJSONStringify, safeRemainderOperation, toComparableNumbers, toFloat, toHalfWidth, toInt, toNumber, toSingleSpace, traverseAndFlattenComparatorCondition }; |
{ | ||
"name": "@fastkit/helpers", | ||
"version": "0.6.9", | ||
"version": "0.6.10", | ||
"description": "@fastkit/helpers", | ||
@@ -5,0 +5,0 @@ "buildOptions": { |
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
74465
2116