@alextheman/utility 5.18.0 → 5.18.2
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/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +6 -6
package/dist/index.d.cts
CHANGED
|
@@ -509,7 +509,7 @@ declare function getRecordKeys<InputRecordType extends Record<PropertyKey, unkno
|
|
|
509
509
|
*
|
|
510
510
|
* @returns An object with a new reference in memory, with the properties omitted.
|
|
511
511
|
*/
|
|
512
|
-
declare function omitProperties<ObjectType extends
|
|
512
|
+
declare function omitProperties<ObjectType extends object, KeysToOmit extends keyof ObjectType>(object: ObjectType, keysToOmit: KeysToOmit | ReadonlyArray<KeysToOmit>): Omit<ObjectType, KeysToOmit>;
|
|
513
513
|
//#endregion
|
|
514
514
|
//#region src/root/functions/objectHelpers/removeUndefinedFromObject.d.ts
|
|
515
515
|
type RemoveUndefined<RecordType extends Record<PropertyKey, unknown>> = { [Key in keyof RecordType]: Exclude<RecordType[Key], undefined> };
|
package/dist/index.d.ts
CHANGED
|
@@ -509,7 +509,7 @@ declare function getRecordKeys<InputRecordType extends Record<PropertyKey, unkno
|
|
|
509
509
|
*
|
|
510
510
|
* @returns An object with a new reference in memory, with the properties omitted.
|
|
511
511
|
*/
|
|
512
|
-
declare function omitProperties<ObjectType extends
|
|
512
|
+
declare function omitProperties<ObjectType extends object, KeysToOmit extends keyof ObjectType>(object: ObjectType, keysToOmit: KeysToOmit | ReadonlyArray<KeysToOmit>): Omit<ObjectType, KeysToOmit>;
|
|
513
513
|
//#endregion
|
|
514
514
|
//#region src/root/functions/objectHelpers/removeUndefinedFromObject.d.ts
|
|
515
515
|
type RemoveUndefined<RecordType extends Record<PropertyKey, unknown>> = { [Key in keyof RecordType]: Exclude<RecordType[Key], undefined> };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alextheman/utility",
|
|
3
|
-
"version": "5.18.
|
|
3
|
+
"version": "5.18.2",
|
|
4
4
|
"description": "Helpful utility functions.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@alextheman/eslint-plugin": "5.14.0",
|
|
44
|
-
"@types/node": "25.6.
|
|
44
|
+
"@types/node": "25.6.2",
|
|
45
45
|
"alex-c-line": "2.7.2",
|
|
46
46
|
"cross-env": "10.1.0",
|
|
47
47
|
"dotenv-cli": "11.0.0",
|
|
@@ -51,16 +51,16 @@
|
|
|
51
51
|
"jsdom": "29.1.1",
|
|
52
52
|
"prettier": "3.8.3",
|
|
53
53
|
"tempy": "3.2.0",
|
|
54
|
-
"tsdown": "0.
|
|
54
|
+
"tsdown": "0.22.0",
|
|
55
55
|
"tsx": "4.21.0",
|
|
56
56
|
"typedoc": "0.28.19",
|
|
57
57
|
"typedoc-plugin-markdown": "4.11.0",
|
|
58
58
|
"typedoc-rhineai-theme": "1.2.0",
|
|
59
59
|
"typescript": "6.0.3",
|
|
60
|
-
"typescript-eslint": "8.59.
|
|
61
|
-
"vite": "8.0.
|
|
60
|
+
"typescript-eslint": "8.59.2",
|
|
61
|
+
"vite": "8.0.11",
|
|
62
62
|
"vitest": "4.1.5",
|
|
63
|
-
"zod": "4.4.
|
|
63
|
+
"zod": "4.4.3"
|
|
64
64
|
},
|
|
65
65
|
"engines": {
|
|
66
66
|
"node": ">=22.3.0"
|