@ttoss/config 1.7.0 → 1.8.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttoss/config",
3
- "version": "1.7.0",
3
+ "version": "1.8.0",
4
4
  "description": "Default configuration for packages.",
5
5
  "license": "UNLICENSED",
6
6
  "publishConfig": {
@@ -34,7 +34,7 @@
34
34
  "deepmerge": "^4.2.2",
35
35
  "tsup": "^5.11.11"
36
36
  },
37
- "gitHead": "4375f494358a4884e1a8e005ca624062b7bd01c9",
37
+ "gitHead": "cc80acf9bb493d047b7bc4d951bd0c1c6875def3",
38
38
  "devDependencies": {
39
39
  "@jest/types": "^27.4.2"
40
40
  }
@@ -2,7 +2,7 @@ import deepmerge from 'deepmerge';
2
2
 
3
3
  const overwriteMerge = (_: any, sourceArray: any) => sourceArray;
4
4
 
5
- export const configCreator = <T extends Record<string, any>>(
6
- defaultConfig: T = {} as T
7
- ) => (config: T = {} as T) =>
8
- deepmerge<T>(defaultConfig, config, { arrayMerge: overwriteMerge });
5
+ export const configCreator =
6
+ <T extends Record<string, any>>(defaultConfig: T = {} as T) =>
7
+ (config: T = {} as T) =>
8
+ deepmerge<T>(defaultConfig, config, { arrayMerge: overwriteMerge });