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

react-hook-time

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-hook-time - npm Package Compare versions

Comparing version 0.0.1-alpha.5 to 0.0.1-alpha.6

4

dist/src/useTimer/types.d.ts

@@ -1,2 +0,2 @@

export interface TTimeObject {
export interface ITimeObject {
years: number;

@@ -74,3 +74,3 @@ days: number;

currentTime: number;
formattedCurrentTime: TTimeObject;
formattedCurrentTime: ITimeObject;
}

@@ -77,0 +77,0 @@ export interface IimerResultWithoutUpdate {

@@ -1,4 +0,4 @@

import { TTimeUnit, TTimeObject } from './types';
import { TTimeUnit, ITimeObject } from './types';
export declare const convertTimeToMs: (time: number | string | Date, timeUnit: TTimeUnit) => number;
export declare const convertMsToSec: (milliseconds: number) => number;
export declare const convertMsToTimeObj: (milliseconds: number) => TTimeObject;
export declare const convertMsToTimeObj: (milliseconds: number) => ITimeObject;
{
"name": "react-hook-time",
"version": "0.0.1-alpha.5",
"version": "0.0.1-alpha.6",
"type": "module",

@@ -5,0 +5,0 @@ "description": "A React timer library",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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