clientnode 3.0.932 → 3.0.939

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +4 -4
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -786,7 +786,7 @@ export declare class Tools<TElement = HTMLElement> {
786
786
  *
787
787
  * @returns Given object with removed properties.
788
788
  */
789
- static removeKeysInEvaluation<T = PlainObject>(this: void, data: T, expressionIndicators?: Array<string>): T;
789
+ static removeKeysInEvaluation<T extends Mapping<unknown> = Mapping<unknown>>(this: void, data: T, expressionIndicators?: Array<string>): T;
790
790
  /**
791
791
  * Extends given target object with given sources object. As target and
792
792
  * sources many expandable types are allowed but target and sources have to
@@ -834,7 +834,7 @@ export declare class Tools<TElement = HTMLElement> {
834
834
  * @returns Given but sliced object. If (nested) object will be modified a
835
835
  * flat copy of that object will be returned.
836
836
  */
837
- static mask<Type = Mapping<unknown>>(this: void, object: Type, mask: ObjectMaskConfiguration): RecursivePartial<Type>;
837
+ static mask<Type extends Mapping<unknown> = Mapping<unknown>>(this: void, object: Type, mask: ObjectMaskConfiguration): RecursivePartial<Type>;
838
838
  /**
839
839
  * Modifies given target corresponding to given source and removes source
840
840
  * modification infos.
@@ -933,7 +933,7 @@ export declare class Tools<TElement = HTMLElement> {
933
933
  *
934
934
  * @returns Given data without empty items.
935
935
  */
936
- static arrayDeleteEmptyItems<T = Mapping<unknown>>(this: void, data: Array<T>, propertyNames?: Array<string | symbol>): Array<T>;
936
+ static arrayDeleteEmptyItems<T extends Mapping<unknown> = Mapping<unknown>>(this: void, data: Array<T>, propertyNames?: Array<string | symbol>): Array<T>;
937
937
  /**
938
938
  * Extracts all properties from all items wich occur in given property
939
939
  * names.
@@ -962,7 +962,7 @@ export declare class Tools<TElement = HTMLElement> {
962
962
  * @returns Given data without the items which doesn't have specified
963
963
  * property.
964
964
  */
965
- static arrayExtractIfPropertyExists<T = unknown>(this: void, data: unknown, propertyName: string): Array<T>;
965
+ static arrayExtractIfPropertyExists<T extends Mapping<unknown> = Mapping<unknown>>(this: void, data: unknown, propertyName: string): Array<T>;
966
966
  /**
967
967
  * Extract given data where specified property value matches given
968
968
  * patterns.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clientnode",
3
- "version": "3.0.932",
3
+ "version": "3.0.939",
4
4
  "description": "upgrade to object orientated rock solid plugins",
5
5
  "keywords": [
6
6
  "client",