@forklaunch/common 0.6.31 → 0.6.33

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/lib/index.d.mts CHANGED
@@ -400,13 +400,6 @@ declare function sanitizePathSlashes(path: string): string;
400
400
  */
401
401
  declare function sortObjectKeys<T extends Record<string, unknown>>(obj: T): T;
402
402
 
403
- /**
404
- * Removes all properties with undefined values from an object. Note: this does NOT strip null values.
405
- * @param obj The object to strip undefined properties from
406
- * @returns A new object with all undefined properties removed
407
- */
408
- declare function stripUndefinedProperties<T extends Record<string, unknown>>(obj: T): Partial<T>;
409
-
410
403
  /**
411
404
  * Converts an object to a record.
412
405
  *
@@ -655,4 +648,4 @@ type UnionToIntersectionChildren<U> = {
655
648
  [K in keyof U]: UnionToIntersection<U[K]>;
656
649
  };
657
650
 
658
- export { type CamelCaseIdentifier, type EmptyObject, type ExclusiveRecord, type Flatten, type FlattenKeys, type FlattenValues, type IdDto, type IdsDto, InMemoryBlob, type InstanceTypeRecord, type MakePropertyOptionalIfChildrenOptional, type MergeArrayOfMaps, type MergeUnionOnCollision, type MimeType, type Prettify, type PrettyCamelCase, type RecordTimingDto, type RemoveDoubleLeadingSlash, type RemoveTrailingSlash, type ReturnTypeRecord, type SanitizePathSlashes, type StringWithoutSlash, type TypeSafeFunction, type UnionToIntersection, type UnionToIntersectionChildren, type ValidIdentifier, capitalize, deepCloneWithoutUndefined, emptyObject, extractArgumentNames, getEnvVar, getTransformationInfo, hashString, isAsyncGenerator, isNever, isNodeJsWriteableStream, isRecord, isTrue, isValidIdentifier, noop, openApiCompliantPath, readableStreamToAsyncIterable, removeDoubleLeadingSlash, removeLeadingNumbers, removeLeadingSeparators, removeNonAlphanumeric, removeTrailingSlash, safeParse, safeStringify, sanitizePathSlashes, sortObjectKeys, splitBySeparators, stripUndefinedProperties, toCamelCaseIdentifier, toPrettyCamelCase, toRecord, toValidIdentifier, uncapitalize };
651
+ export { type CamelCaseIdentifier, type EmptyObject, type ExclusiveRecord, type Flatten, type FlattenKeys, type FlattenValues, type IdDto, type IdsDto, InMemoryBlob, type InstanceTypeRecord, type MakePropertyOptionalIfChildrenOptional, type MergeArrayOfMaps, type MergeUnionOnCollision, type MimeType, type Prettify, type PrettyCamelCase, type RecordTimingDto, type RemoveDoubleLeadingSlash, type RemoveTrailingSlash, type ReturnTypeRecord, type SanitizePathSlashes, type StringWithoutSlash, type TypeSafeFunction, type UnionToIntersection, type UnionToIntersectionChildren, type ValidIdentifier, capitalize, deepCloneWithoutUndefined, emptyObject, extractArgumentNames, getEnvVar, getTransformationInfo, hashString, isAsyncGenerator, isNever, isNodeJsWriteableStream, isRecord, isTrue, isValidIdentifier, noop, openApiCompliantPath, readableStreamToAsyncIterable, removeDoubleLeadingSlash, removeLeadingNumbers, removeLeadingSeparators, removeNonAlphanumeric, removeTrailingSlash, safeParse, safeStringify, sanitizePathSlashes, sortObjectKeys, splitBySeparators, toCamelCaseIdentifier, toPrettyCamelCase, toRecord, toValidIdentifier, uncapitalize };
package/lib/index.d.ts CHANGED
@@ -400,13 +400,6 @@ declare function sanitizePathSlashes(path: string): string;
400
400
  */
401
401
  declare function sortObjectKeys<T extends Record<string, unknown>>(obj: T): T;
402
402
 
403
- /**
404
- * Removes all properties with undefined values from an object. Note: this does NOT strip null values.
405
- * @param obj The object to strip undefined properties from
406
- * @returns A new object with all undefined properties removed
407
- */
408
- declare function stripUndefinedProperties<T extends Record<string, unknown>>(obj: T): Partial<T>;
409
-
410
403
  /**
411
404
  * Converts an object to a record.
412
405
  *
@@ -655,4 +648,4 @@ type UnionToIntersectionChildren<U> = {
655
648
  [K in keyof U]: UnionToIntersection<U[K]>;
656
649
  };
657
650
 
658
- export { type CamelCaseIdentifier, type EmptyObject, type ExclusiveRecord, type Flatten, type FlattenKeys, type FlattenValues, type IdDto, type IdsDto, InMemoryBlob, type InstanceTypeRecord, type MakePropertyOptionalIfChildrenOptional, type MergeArrayOfMaps, type MergeUnionOnCollision, type MimeType, type Prettify, type PrettyCamelCase, type RecordTimingDto, type RemoveDoubleLeadingSlash, type RemoveTrailingSlash, type ReturnTypeRecord, type SanitizePathSlashes, type StringWithoutSlash, type TypeSafeFunction, type UnionToIntersection, type UnionToIntersectionChildren, type ValidIdentifier, capitalize, deepCloneWithoutUndefined, emptyObject, extractArgumentNames, getEnvVar, getTransformationInfo, hashString, isAsyncGenerator, isNever, isNodeJsWriteableStream, isRecord, isTrue, isValidIdentifier, noop, openApiCompliantPath, readableStreamToAsyncIterable, removeDoubleLeadingSlash, removeLeadingNumbers, removeLeadingSeparators, removeNonAlphanumeric, removeTrailingSlash, safeParse, safeStringify, sanitizePathSlashes, sortObjectKeys, splitBySeparators, stripUndefinedProperties, toCamelCaseIdentifier, toPrettyCamelCase, toRecord, toValidIdentifier, uncapitalize };
651
+ export { type CamelCaseIdentifier, type EmptyObject, type ExclusiveRecord, type Flatten, type FlattenKeys, type FlattenValues, type IdDto, type IdsDto, InMemoryBlob, type InstanceTypeRecord, type MakePropertyOptionalIfChildrenOptional, type MergeArrayOfMaps, type MergeUnionOnCollision, type MimeType, type Prettify, type PrettyCamelCase, type RecordTimingDto, type RemoveDoubleLeadingSlash, type RemoveTrailingSlash, type ReturnTypeRecord, type SanitizePathSlashes, type StringWithoutSlash, type TypeSafeFunction, type UnionToIntersection, type UnionToIntersectionChildren, type ValidIdentifier, capitalize, deepCloneWithoutUndefined, emptyObject, extractArgumentNames, getEnvVar, getTransformationInfo, hashString, isAsyncGenerator, isNever, isNodeJsWriteableStream, isRecord, isTrue, isValidIdentifier, noop, openApiCompliantPath, readableStreamToAsyncIterable, removeDoubleLeadingSlash, removeLeadingNumbers, removeLeadingSeparators, removeNonAlphanumeric, removeTrailingSlash, safeParse, safeStringify, sanitizePathSlashes, sortObjectKeys, splitBySeparators, toCamelCaseIdentifier, toPrettyCamelCase, toRecord, toValidIdentifier, uncapitalize };
package/lib/index.js CHANGED
@@ -47,7 +47,6 @@ __export(index_exports, {
47
47
  sanitizePathSlashes: () => sanitizePathSlashes,
48
48
  sortObjectKeys: () => sortObjectKeys,
49
49
  splitBySeparators: () => splitBySeparators,
50
- stripUndefinedProperties: () => stripUndefinedProperties,
51
50
  toCamelCaseIdentifier: () => toCamelCaseIdentifier,
52
51
  toPrettyCamelCase: () => toPrettyCamelCase,
53
52
  toRecord: () => toRecord,
@@ -433,13 +432,6 @@ function sortObjectKeys(obj) {
433
432
  );
434
433
  }
435
434
 
436
- // src/stripUndefinedProperties.ts
437
- function stripUndefinedProperties(obj) {
438
- return Object.fromEntries(
439
- Object.entries(obj).filter(([, value]) => value !== void 0)
440
- );
441
- }
442
-
443
435
  // src/toRecord.ts
444
436
  function toRecord(obj) {
445
437
  return obj;
@@ -473,7 +465,6 @@ function toRecord(obj) {
473
465
  sanitizePathSlashes,
474
466
  sortObjectKeys,
475
467
  splitBySeparators,
476
- stripUndefinedProperties,
477
468
  toCamelCaseIdentifier,
478
469
  toPrettyCamelCase,
479
470
  toRecord,
package/lib/index.mjs CHANGED
@@ -375,13 +375,6 @@ function sortObjectKeys(obj) {
375
375
  );
376
376
  }
377
377
 
378
- // src/stripUndefinedProperties.ts
379
- function stripUndefinedProperties(obj) {
380
- return Object.fromEntries(
381
- Object.entries(obj).filter(([, value]) => value !== void 0)
382
- );
383
- }
384
-
385
378
  // src/toRecord.ts
386
379
  function toRecord(obj) {
387
380
  return obj;
@@ -414,7 +407,6 @@ export {
414
407
  sanitizePathSlashes,
415
408
  sortObjectKeys,
416
409
  splitBySeparators,
417
- stripUndefinedProperties,
418
410
  toCamelCaseIdentifier,
419
411
  toPrettyCamelCase,
420
412
  toRecord,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forklaunch/common",
3
- "version": "0.6.31",
3
+ "version": "0.6.33",
4
4
  "description": "Common package for base types, interfaces, implementations.",
5
5
  "homepage": "https://github.com/forklaunch/forklaunch-js#readme",
6
6
  "bugs": {
@@ -29,15 +29,15 @@
29
29
  ],
30
30
  "devDependencies": {
31
31
  "@eslint/js": "^10.0.1",
32
- "@types/node": "^25.3.5",
33
- "@typescript/native-preview": "7.0.0-dev.20260306.1",
32
+ "@types/node": "^25.4.0",
33
+ "@typescript/native-preview": "7.0.0-dev.20260310.1",
34
34
  "depcheck": "^1.4.7",
35
- "eslint": "^10.0.2",
35
+ "eslint": "^10.0.3",
36
36
  "globals": "^17.4.0",
37
37
  "tsup": "^8.5.1",
38
38
  "typedoc": "^0.28.17",
39
39
  "typescript": "^5.9.3",
40
- "typescript-eslint": "^8.56.1",
40
+ "typescript-eslint": "^8.57.0",
41
41
  "vitest": "^4.0.18"
42
42
  },
43
43
  "scripts": {