jmini 0.0.106 → 0.0.107

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/esm/core.d.ts +1 -1
  2. package/package.json +1 -1
package/esm/core.d.ts CHANGED
@@ -166,7 +166,7 @@ declare namespace Jmini {
166
166
  oneOf<T = any>(v: T, c1: NoInfer<T>, ...cN: NoInfer<T>[]): boolean;
167
167
  };
168
168
  ellipsisText(value: string, length: number): string;
169
- flatArray<T = any>(v: T, regression?: '-R'): T[];
169
+ flatArray<T = any>(v: T, regression?: '-R'): T extends readonly any[] ? T : T[];
170
170
  uniqueArray<T = any>(v: T[], key?: keyof T): T[];
171
171
  getKeyValue<T = any>(object: KeyValueDict, keys: string): T;
172
172
  deepMerge<T = any>(target: T, ...args: T[]): T;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jmini",
3
- "version": "0.0.106",
3
+ "version": "0.0.107",
4
4
  "description": "minified JavaScript Framework",
5
5
  "main": "cjs/index.js",
6
6
  "module": "esm/index.js",