New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@trackunit/shared-utils

Package Overview
Dependencies
Maintainers
3
Versions
180
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trackunit/shared-utils - npm Package Compare versions

Comparing version 0.0.41 to 0.0.42

11

index.cjs.js

@@ -231,12 +231,2 @@ 'use strict';

};
/**
* Converts a string value to lowercase while preserving the original type.
*
* @param value - The string value to convert to lowercase.
* @returns {Lowercase<string> } The lowercase value with the same type as the input value.
*/
const typeSafeToLowercase = (value) => {
// eslint-disable-next-line local-rules/no-typescript-assertion
return value.toLowerCase();
};

@@ -1044,3 +1034,2 @@ /** toggle whether a value is in an array or not */

exports.truthy = truthy;
exports.typeSafeToLowercase = typeSafeToLowercase;
exports.unionArraysByKey = unionArraysByKey;

12

index.esm.js

@@ -227,12 +227,2 @@ var HoursAndMinutesFormat;

};
/**
* Converts a string value to lowercase while preserving the original type.
*
* @param value - The string value to convert to lowercase.
* @returns {Lowercase<string> } The lowercase value with the same type as the input value.
*/
const typeSafeToLowercase = (value) => {
// eslint-disable-next-line local-rules/no-typescript-assertion
return value.toLowerCase();
};

@@ -985,2 +975,2 @@ /** toggle whether a value is in an array or not */

export { DateTimeFormat, HoursAndMinutesFormat, align, arrayLengthCompare, arrayNotEmpty, booleanCompare, capitalize, convertBlobToBase64, convertMetersToYards, convertYardsToMeters, dateCompare, deleteUndefinedKeys, difference, doNothing, ensureArray, enumFromValue, enumFromValueTypesafe, enumOrUndefinedFromValue, exhaustiveCheck, filterByMultiple, formatAddress, formatCoordinates, fuzzySearch, getDifferenceBetweenDates, getEndOfDay, getISOStringFromDate, getMultipleCoordinatesFromGeoJsonObject, getPointCoordinateFromGeoJsonObject, getResizedDimensions, getStartOfDay, groupBy, groupTinyDataToOthers, hourIntervals, intersection, isStringArrayEqual, isUUID, isValidImage, nonNullable, numberCompare, numberCompareUnknownAfterHighest, objNotEmpty, pick, removeLeftPadding, resizeBlob, resizeImage, size, stringCompare, stringCompareFromKey, stringNaturalCompare, titleCase, toID, toIDs, toUUID, toggle, trimIds, trimPath, truthy, typeSafeToLowercase, unionArraysByKey };
export { DateTimeFormat, HoursAndMinutesFormat, align, arrayLengthCompare, arrayNotEmpty, booleanCompare, capitalize, convertBlobToBase64, convertMetersToYards, convertYardsToMeters, dateCompare, deleteUndefinedKeys, difference, doNothing, ensureArray, enumFromValue, enumFromValueTypesafe, enumOrUndefinedFromValue, exhaustiveCheck, filterByMultiple, formatAddress, formatCoordinates, fuzzySearch, getDifferenceBetweenDates, getEndOfDay, getISOStringFromDate, getMultipleCoordinatesFromGeoJsonObject, getPointCoordinateFromGeoJsonObject, getResizedDimensions, getStartOfDay, groupBy, groupTinyDataToOthers, hourIntervals, intersection, isStringArrayEqual, isUUID, isValidImage, nonNullable, numberCompare, numberCompareUnknownAfterHighest, objNotEmpty, pick, removeLeftPadding, resizeBlob, resizeImage, size, stringCompare, stringCompareFromKey, stringNaturalCompare, titleCase, toID, toIDs, toUUID, toggle, trimIds, trimPath, truthy, unionArraysByKey };

2

package.json
{
"name": "@trackunit/shared-utils",
"version": "0.0.41",
"version": "0.0.42",
"repository": "https://github.com/Trackunit/manager",

@@ -5,0 +5,0 @@ "license": "SEE LICENSE IN LICENSE.txt",

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

export type MakePropertyOptional<BaseType, OptionalProp extends keyof BaseType> = MappedOmit<BaseType, OptionalProp> & Partial<Pick<BaseType, OptionalProp>>;
/**
* Converts a string value to lowercase while preserving the original type.
*
* @param value - The string value to convert to lowercase.
* @returns {Lowercase<string> } The lowercase value with the same type as the input value.
*/
export declare const typeSafeToLowercase: <TStringLiteral extends string>(value: TStringLiteral) => Lowercase<TStringLiteral>;
export {};
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc