react-timing-hooks
Advanced tools
Comparing version 1.4.1 to 1.4.2
@@ -5,2 +5,10 @@ # Changelog | ||
### [1.4.2](https://github.com/EricLambrecht/react-timing-hooks/compare/v1.4.1...v1.4.2) (2020-09-24) | ||
### Bug Fixes | ||
* Fix potential security issue in lodash ([e9fe8fe](https://github.com/EricLambrecht/react-timing-hooks/commit/e9fe8fe63e74a91f1ad93869a43f9badb9e0bdf0)) | ||
* Fix security issue in dot-prop by updating standard-version ([c2fa24e](https://github.com/EricLambrecht/react-timing-hooks/commit/c2fa24ead10892a627fba8a53ade64472df84100)) | ||
### [1.4.1](https://github.com/EricLambrecht/react-timing-hooks/compare/v1.4.0...v1.4.1) (2020-07-25) | ||
@@ -7,0 +15,0 @@ |
@@ -12,3 +12,3 @@ import { useRef, useCallback, useEffect, useState } from 'react'; | ||
if (timeoutIds.current.length > 0) { | ||
timeoutIds.current.forEach(id => { | ||
timeoutIds.current.forEach((id) => { | ||
clearTimeout(id); | ||
@@ -22,3 +22,3 @@ }); | ||
if (timeoutIds.current.length > 0) { | ||
timeoutIds.current.forEach(id => { | ||
timeoutIds.current.forEach((id) => { | ||
clearTimeout(id); | ||
@@ -25,0 +25,0 @@ }); |
@@ -16,3 +16,3 @@ 'use strict'; | ||
if (timeoutIds.current.length > 0) { | ||
timeoutIds.current.forEach(id => { | ||
timeoutIds.current.forEach((id) => { | ||
clearTimeout(id); | ||
@@ -26,3 +26,3 @@ }); | ||
if (timeoutIds.current.length > 0) { | ||
timeoutIds.current.forEach(id => { | ||
timeoutIds.current.forEach((id) => { | ||
clearTimeout(id); | ||
@@ -29,0 +29,0 @@ }); |
{ | ||
"name": "react-timing-hooks", | ||
"version": "1.4.1", | ||
"version": "1.4.2", | ||
"description": "React hooks for setTimeout, setInterval, requestAnimationFrame, requestIdleCallback", | ||
@@ -46,15 +46,15 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"@shopify/jest-dom-mocks": "^2.8.10", | ||
"@testing-library/react": "^10.0.1", | ||
"@testing-library/react-hooks": "^3.2.1", | ||
"@types/jest": "^25.1.4", | ||
"@types/node": "^13.9.2", | ||
"@types/react": "^16.9.25", | ||
"@types/react-dom": "^16.9.5", | ||
"@shopify/jest-dom-mocks": "^2.9.1", | ||
"@testing-library/react": "^11.0.4", | ||
"@testing-library/react-hooks": "^3.4.1", | ||
"@types/jest": "^26.0.14", | ||
"@types/node": "^13.13.21", | ||
"@types/react": "^16.9.49", | ||
"@types/react-dom": "^16.9.8", | ||
"cli-confirm": "^1.0.1", | ||
"commitizen": "^4.1.2", | ||
"commitizen": "^4.2.1", | ||
"emoji-cz": "^0.3.1", | ||
"jest": "^25.1.0", | ||
"node-fetch": "^2.6.0", | ||
"prettier": "^1.19.1", | ||
"jest": "^26.4.2", | ||
"node-fetch": "^2.6.1", | ||
"prettier": "^2.1.2", | ||
"react": "^16.13.1", | ||
@@ -65,7 +65,7 @@ "react-dom": "^16.13.1", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^2.1.0", | ||
"rollup-plugin-typescript2": "^0.26.0", | ||
"standard-version": "^7.1.0", | ||
"ts-jest": "^25.2.1", | ||
"typescript": "^3.8.3" | ||
"rollup": "^2.28.2", | ||
"rollup-plugin-typescript2": "^0.27.2", | ||
"standard-version": "^9.0.0", | ||
"ts-jest": "^26.4.0", | ||
"typescript": "^4.0.3" | ||
}, | ||
@@ -72,0 +72,0 @@ "peerDependencies": { |
@@ -0,0 +0,0 @@ [![npm](https://flat.badgen.net/npm/v/react-timing-hooks)](https://www.npmjs.com/package/react-timing-hooks) |
Sorry, the diff of this file is not supported yet
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
31598
1