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

@code4rena/components-library

Package Overview
Dependencies
Maintainers
7
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@code4rena/components-library - npm Package Compare versions

Comparing version

to
4.5.3

dist/lib/ContestStatus/AuditStatusSection.d.ts

9

dist/lib/ContestStatus/ContestStatus.types.d.ts

@@ -9,2 +9,4 @@ export declare enum Status {

status?: Status;
/** Audit status. */
auditStatus?: AuditStatus | null;
/** String of custom classes to extend the default styling of the component. */

@@ -33,1 +35,8 @@ className?: string;

export type AuditStatus = (typeof AuditStatus)[keyof typeof AuditStatus];
export declare enum AuditPublicStage {
Active = "Active",
Upcoming = "Upcoming",
SubsClosed = "Submissions closed",
Completed = "Completed"
}
export declare const MapAuditStatusToAuditPublicStage: Record<AuditStatus, AuditPublicStage | null>;

16

dist/utils/time.d.ts

@@ -9,2 +9,16 @@ import { BaseContestSchedule, ContestCohort, ContestSchedule } from "../lib/ContestTile/ContestTile.types";

declare const getDates: (start: string, end: string) => BaseContestSchedule;
export { getDates, getContestSchedule, getCurrentCohortDates };
/** Get a relative date time string in long format
* @note Mainly for use in countdown situations like the audit timers
*
* @examples "In 00:00:05" (5 seconds)
* "In 00:05:00" (5 minutes)
* "In 05:00:00" (5 hours)
* "In 1 day" (1 day)
* "In 5 days" (5 days)
* "In about 1 month" (1 month)
* "In about 5 months" (5 months)
* "In about 1 year" (1 year)
* "In about 5 years" (5 years)
*/
declare const getRelativeDateTimeLongFormat: (date: Date) => string;
export { getDates, getContestSchedule, getCurrentCohortDates, getRelativeDateTimeLongFormat };

2

package.json
{
"name": "@code4rena/components-library",
"version": "4.5.2",
"version": "4.5.3",
"description": "Code4rena's official components library ",

@@ -5,0 +5,0 @@ "types": "./dist/lib.d.ts",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet