@webdeveric/utils 0.58.2 → 0.59.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.
@@ -45,3 +45,6 @@ export type UnionOf<T extends unknown[]> = T extends [infer First, ...infer Rest
45
45
  export type Pretty<Type> = {
46
46
  [Property in keyof Type]: Type[Property];
47
47
  } & unknown;
48
+ export type Simplify<Type> = Type extends string ? string : Type extends number ? number : Type extends boolean ? boolean : Type extends bigint ? bigint : Type extends symbol ? symbol : Type extends undefined ? undefined : Type extends null ? null : Type extends Function ? Type : Type extends object ? {
49
+ [Key in keyof Type]: Simplify<Type[Key]>;
50
+ } : Type;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webdeveric/utils",
3
3
  "description": "Just another collection of utilities.",
4
- "version": "0.58.2",
4
+ "version": "0.59.0",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -85,23 +85,23 @@
85
85
  },
86
86
  "prettier": "@webdeveric/prettier-config",
87
87
  "devDependencies": {
88
- "@commitlint/config-conventional": "^19.8.0",
89
- "@commitlint/types": "^19.8.0",
90
- "@types/node": "^22.15.3",
88
+ "@commitlint/config-conventional": "^19.8.1",
89
+ "@commitlint/types": "^19.8.1",
90
+ "@types/node": "^22.15.17",
91
91
  "@vitest/coverage-v8": "^3.1.3",
92
92
  "@webdeveric/eslint-config-ts": "^0.11.0",
93
93
  "@webdeveric/prettier-config": "^0.3.0",
94
- "commitlint": "^19.8.0",
95
- "commitlint-plugin-cspell": "^0.1.1",
94
+ "commitlint": "^19.8.1",
95
+ "commitlint-plugin-cspell": "^0.2.0",
96
96
  "conventional-changelog-conventionalcommits": "^8.0.0",
97
- "cspell": "^8.19.4",
97
+ "cspell": "^9.0.1",
98
98
  "eslint": "^8.57.1",
99
- "eslint-config-prettier": "^10.1.2",
99
+ "eslint-config-prettier": "^10.1.3",
100
100
  "eslint-import-resolver-typescript": "^3.10.1",
101
101
  "eslint-plugin-import": "^2.31.0",
102
102
  "husky": "^9.1.7",
103
103
  "jsdom": "^26.1.0",
104
- "lint-staged": "^15.5.1",
104
+ "lint-staged": "^15.5.2",
105
105
  "prettier": "^3.5.3",
106
106
  "rimraf": "^6.0.1",
107
107
  "semantic-release": "^24.2.3",