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

@code-pushup/utils

Package Overview
Dependencies
Maintainers
4
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@code-pushup/utils - npm Package Compare versions

Comparing version 0.29.0 to 0.30.0-alpha

2

package.json
{
"name": "@code-pushup/utils",
"version": "0.29.0",
"version": "0.30.0-alpha",
"dependencies": {

@@ -5,0 +5,0 @@ "@code-pushup/models": "*",

@@ -22,3 +22,3 @@ export { exists } from '@code-pushup/models';

export { calcDuration, compareIssueSeverity, loadReport, } from './lib/reports/utils';
export { CliArgsObject, capitalize, countOccurrences, distinct, factorOf, objectToCliArgs, objectToEntries, objectToKeys, toArray, toNumberPrecision, toOrdinal, toUnixNewlines, toUnixPath, } from './lib/transform';
export { CliArgsObject, apostrophize, capitalize, countOccurrences, distinct, factorOf, fromJsonLines, objectFromEntries, objectToCliArgs, objectToEntries, objectToKeys, toArray, toJsonLines, toNumberPrecision, toOrdinal, toUnixNewlines, toUnixPath, } from './lib/transform';
export { verboseUtils } from './lib/verbose-utils';

@@ -74,3 +74,3 @@ /**

observer?: ProcessObserver;
alwaysResolve?: boolean;
ignoreExitCode?: boolean;
};

@@ -77,0 +77,0 @@ /**

export declare function toArray<T>(val: T | T[]): T[];
export declare function objectToKeys<T extends object>(obj: T): (keyof T)[];
export declare function objectToEntries<T extends object>(obj: T): [keyof T, T[keyof T]][];
export declare function objectFromEntries<K extends PropertyKey, V>(entries: [K, V][]): Record<K, V>;
export declare function countOccurrences<T extends PropertyKey>(values: T[]): Partial<Record<T, number>>;

@@ -27,5 +28,8 @@ export declare function exists<T>(value: T): value is NonNullable<T>;

export declare function toUnixNewlines(text: string): string;
export declare function fromJsonLines<T = unknown>(jsonLines: string): T;
export declare function toJsonLines<T>(json: T[]): string;
export declare function capitalize<T extends string>(text: T): Capitalize<T>;
export declare function apostrophize(text: string, upperCase?: boolean): string;
export declare function toNumberPrecision(value: number, decimalPlaces: number): number;
export declare function toOrdinal(value: number): string;
export {};

Sorry, the diff of this file is too big to display

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