Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-timing-hooks

Package Overview
Dependencies
Maintainers
0
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-timing-hooks - npm Package Compare versions

Comparing version 5.0.1 to 5.0.2

2

dist/index.es.js

@@ -82,3 +82,3 @@ import { useRef, useCallback, useEffect, useState } from 'react';

***************************************************************************** */
/* global Reflect, Promise, SuppressedError, Symbol */
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */

@@ -85,0 +85,0 @@

@@ -84,3 +84,3 @@ 'use strict';

***************************************************************************** */
/* global Reflect, Promise, SuppressedError, Symbol */
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */

@@ -87,0 +87,0 @@

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

import { CounterSettings } from './useCounter';
import { IntervalControls } from './useInterval';
import { type CounterControls, type CounterSettings } from './useCounter';
export type CountdownSettings = Partial<CounterSettings> & {

@@ -23,3 +22,3 @@ onEnd?: () => unknown;

*/
declare const useCountdown: (from: number, to: number, settings?: CountdownSettings) => [number, IntervalControls];
declare const useCountdown: (from: number, to: number, settings?: CountdownSettings) => [number, CounterControls];
export default useCountdown;
{
"name": "react-timing-hooks",
"version": "5.0.1",
"version": "5.0.2",
"description": "React hooks for setTimeout, setInterval, requestAnimationFrame, requestIdleCallback",

@@ -56,5 +56,5 @@ "main": "dist/index.js",

"@rollup/plugin-typescript": "^11.1.6",
"@shopify/jest-dom-mocks": "^4.0.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@shopify/jest-dom-mocks": "^5.2.0",
"@testing-library/jest-dom": "^6.5.0",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",

@@ -61,0 +61,0 @@ "@types/jest": "^29.5.12",

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