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
183
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.56 to 0.0.57

index.esm.d.ts

5

index.cjs.js

@@ -702,2 +702,7 @@ 'use strict';

typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
var e = new Error(message);
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
};
const dataURItoBlob = (dataURI) => {

@@ -704,0 +709,0 @@ var _a, _b, _c, _d, _e;

@@ -698,2 +698,7 @@ var HoursAndMinutesFormat;

typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
var e = new Error(message);
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
};
const dataURItoBlob = (dataURI) => {

@@ -700,0 +705,0 @@ var _a, _b, _c, _d, _e;

2

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

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

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

*/
export declare const unionArraysByKey: <T extends object>(key: keyof T, previous: T[] | null | undefined, newArray: T[] | null | undefined) => T[];
export declare const unionArraysByKey: <T extends object>(key: keyof T, previous: T[] | undefined | null, newArray: T[] | undefined | null) => T[];
/** Ensures if an array is equal to another array */

@@ -23,2 +23,2 @@ export declare const isStringArrayEqual: (first?: string[], second?: string[]) => boolean;

*/
export declare const arrayNotEmpty: <T>(array?: T[] | undefined) => T[] | undefined;
export declare const arrayNotEmpty: <T>(array?: T[]) => T[] | undefined;
export declare enum HoursAndMinutesFormat {
HOURS_MIN_SEC_LONG = "HOURS_MIN_SEC_LONG",
HOURS_MIN_SEC = "HOURS_MIN_SEC",
HOURS_MIN_LONG = "HOURS_MIN_LONG",
HOURS_MIN = "HOURS_MIN",
HOURS_MIN_SEC_LONG = "HOURS_MIN_SEC_LONG",// h [h] mm [min] ss [sec]
HOURS_MIN_SEC = "HOURS_MIN_SEC",// h[h] m[m] s[s]
HOURS_MIN_LONG = "HOURS_MIN_LONG",// h [hrs] mm [min]
HOURS_MIN = "HOURS_MIN",// h[h] m[m]
HOURS_LONG = "HOURS_LONG"

@@ -7,0 +7,0 @@ }

@@ -15,3 +15,3 @@ /**

*/
export declare const objNotEmpty: <T extends object>(obj?: T | undefined) => T | undefined;
export declare const objNotEmpty: <T extends object>(obj?: T) => T | undefined;
/**

@@ -18,0 +18,0 @@ * Picks the given keys from an object, typesafe.

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