Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@forklaunch/common

Package Overview
Dependencies
Maintainers
1
Versions
143
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@forklaunch/common - npm Package Compare versions

Comparing version
0.6.32
to
0.6.33
+1
-8
lib/index.d.mts

@@ -404,9 +404,2 @@ /**

/**
* Removes all properties with undefined values from an object. Note: this does NOT strip null values.
* @param obj The object to strip undefined properties from
* @returns A new object with all undefined properties removed
*/
declare function stripUndefinedProperties<T extends Record<string, unknown>>(obj: T): Partial<T>;
/**
* Converts an object to a record.

@@ -659,2 +652,2 @@ *

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 };
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 };

@@ -404,9 +404,2 @@ /**

/**
* Removes all properties with undefined values from an object. Note: this does NOT strip null values.
* @param obj The object to strip undefined properties from
* @returns A new object with all undefined properties removed
*/
declare function stripUndefinedProperties<T extends Record<string, unknown>>(obj: T): Partial<T>;
/**
* Converts an object to a record.

@@ -659,2 +652,2 @@ *

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 };
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 };

@@ -50,3 +50,2 @@ "use strict";

splitBySeparators: () => splitBySeparators,
stripUndefinedProperties: () => stripUndefinedProperties,
toCamelCaseIdentifier: () => toCamelCaseIdentifier,

@@ -437,9 +436,2 @@ toPrettyCamelCase: () => toPrettyCamelCase,

// src/stripUndefinedProperties.ts
function stripUndefinedProperties(obj) {
return Object.fromEntries(
Object.entries(obj).filter(([, value]) => value !== void 0)
);
}
// src/toRecord.ts

@@ -478,3 +470,2 @@ function toRecord(obj) {

splitBySeparators,
stripUndefinedProperties,
toCamelCaseIdentifier,

@@ -481,0 +472,0 @@ toPrettyCamelCase,

@@ -378,9 +378,2 @@ // src/camelCase.ts

// src/stripUndefinedProperties.ts
function stripUndefinedProperties(obj) {
return Object.fromEntries(
Object.entries(obj).filter(([, value]) => value !== void 0)
);
}
// src/toRecord.ts

@@ -418,3 +411,2 @@ function toRecord(obj) {

splitBySeparators,
stripUndefinedProperties,
toCamelCaseIdentifier,

@@ -421,0 +413,0 @@ toPrettyCamelCase,

+5
-5
{
"name": "@forklaunch/common",
"version": "0.6.32",
"version": "0.6.33",
"description": "Common package for base types, interfaces, implementations.",

@@ -32,6 +32,6 @@ "homepage": "https://github.com/forklaunch/forklaunch-js#readme",

"@eslint/js": "^10.0.1",
"@types/node": "^25.3.5",
"@typescript/native-preview": "7.0.0-dev.20260306.1",
"@types/node": "^25.4.0",
"@typescript/native-preview": "7.0.0-dev.20260310.1",
"depcheck": "^1.4.7",
"eslint": "^10.0.2",
"eslint": "^10.0.3",
"globals": "^17.4.0",

@@ -41,3 +41,3 @@ "tsup": "^8.5.1",

"typescript": "^5.9.3",
"typescript-eslint": "^8.56.1",
"typescript-eslint": "^8.57.0",
"vitest": "^4.0.18"

@@ -44,0 +44,0 @@ },