@webdeveric/utils 0.58.1 → 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.1",
4
+ "version": "0.59.0",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -66,7 +66,7 @@
66
66
  "url": "https://github.com/webdeveric/utils/issues"
67
67
  },
68
68
  "homepage": "https://github.com/webdeveric/utils/#readme",
69
- "packageManager": "pnpm@10.6.5+sha256.47c8bca42b4b48534b5b1b28d573c506773937b02f68e52992fbd8269131c5c8",
69
+ "packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39",
70
70
  "scripts": {
71
71
  "clean": "rimraf ./dist/",
72
72
  "prebuild": "pnpm clean",
@@ -85,33 +85,34 @@
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.13.13",
91
- "@vitest/coverage-v8": "^3.0.9",
88
+ "@commitlint/config-conventional": "^19.8.1",
89
+ "@commitlint/types": "^19.8.1",
90
+ "@types/node": "^22.15.17",
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.17.5",
97
+ "cspell": "^9.0.1",
98
98
  "eslint": "^8.57.1",
99
- "eslint-config-prettier": "^10.1.1",
100
- "eslint-import-resolver-typescript": "^3.9.1",
99
+ "eslint-config-prettier": "^10.1.3",
100
+ "eslint-import-resolver-typescript": "^3.10.1",
101
101
  "eslint-plugin-import": "^2.31.0",
102
102
  "husky": "^9.1.7",
103
- "jsdom": "^26.0.0",
104
- "lint-staged": "^15.5.0",
103
+ "jsdom": "^26.1.0",
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",
108
- "typescript": "^5.8.2",
108
+ "typescript": "^5.8.3",
109
109
  "validate-package-exports": "^0.9.0",
110
- "vitest": "^3.0.9"
110
+ "vitest": "^3.1.3"
111
111
  },
112
112
  "pnpm": {
113
113
  "onlyBuiltDependencies": [
114
- "esbuild"
114
+ "esbuild",
115
+ "unrs-resolver"
115
116
  ]
116
117
  }
117
118
  }