@fastkit/helpers
Advanced tools
Comparing version 0.14.4 to 0.14.5
@@ -273,2 +273,15 @@ import { RecursiveArray, WritableKeysOf } from '@fastkit/ts-type-utils'; | ||
/** | ||
* Retrieve a temporary ID for a given object reference. | ||
* | ||
* This function creates an ID that corresponds to a given object reference. | ||
* The ID is not guaranteed to be globally unique and may have duplicates if | ||
* a large number of IDs are generated within a single process. | ||
* | ||
* @param obj - The object for which the temporary ID is generated. | ||
* @param onlyClient - If `true` is specified, it will return undefined in the server environment. | ||
* @returns A temporary ID corresponding to the object reference. | ||
*/ | ||
declare function temporaryObjectID<OnlyClient extends boolean = false>(obj: WeakKey, onlyClient?: OnlyClient): OnlyClient extends true ? number | undefined : number; | ||
/** | ||
* Converting a recursive array to a flat array | ||
@@ -421,2 +434,2 @@ * | ||
export { DATE_INPUT_PARSE_RE, DATE_INPUT_PRECISIONS, type DateInputPrecision, type DateSource, type DefaultsScheme, type DefaultsSchemeSource, type FunctionableValue, IN_DOCUMENT, IN_WINDOW, MERGE_DEFAULTS_INDEX_SIGNATURE_SYMBOL, type Mixin, type Mixins, type NormalizeFuncType, type ParseDateInputResult, arrayRemove, arrayUnique, capitalize, copyBuffer, createIndexSignatureDefaultsScheme, delay, escapeRegExp, flattenRecursiveArray, inNonNullable, isArrayBufferView, isBuffer, isEmpty, isIterableObject, isMap, isNonNullObject, isObject, isObjectEqual, isPlainObject, isPromise, isSet, isString, mapFromObjectArray, mergeDefaults, minIndent, mixin, mixins, nilToEmptyString, notEmptyValue, objectFromArray, objectIncludes, omitProperties, parseDateInput, pickProperties, range, removeSpace, removeUndef, resolveFunctionableValue, safeGetTimeByDateSource, stripIndent, toDate, toFloat, toHalfWidth, toInt, toNumber, toSingleSpace, uncapitalize }; | ||
export { DATE_INPUT_PARSE_RE, DATE_INPUT_PRECISIONS, type DateInputPrecision, type DateSource, type DefaultsScheme, type DefaultsSchemeSource, type FunctionableValue, IN_DOCUMENT, IN_WINDOW, MERGE_DEFAULTS_INDEX_SIGNATURE_SYMBOL, type Mixin, type Mixins, type NormalizeFuncType, type ParseDateInputResult, arrayRemove, arrayUnique, capitalize, copyBuffer, createIndexSignatureDefaultsScheme, delay, escapeRegExp, flattenRecursiveArray, inNonNullable, isArrayBufferView, isBuffer, isEmpty, isIterableObject, isMap, isNonNullObject, isObject, isObjectEqual, isPlainObject, isPromise, isSet, isString, mapFromObjectArray, mergeDefaults, minIndent, mixin, mixins, nilToEmptyString, notEmptyValue, objectFromArray, objectIncludes, omitProperties, parseDateInput, pickProperties, range, removeSpace, removeUndef, resolveFunctionableValue, safeGetTimeByDateSource, stripIndent, temporaryObjectID, toDate, toFloat, toHalfWidth, toInt, toNumber, toSingleSpace, uncapitalize }; |
{ | ||
"name": "@fastkit/helpers", | ||
"version": "0.14.4", | ||
"version": "0.14.5", | ||
"description": "A small collection of helper implementations for processing primitive values and objects.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
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
80171
876