@restart/hooks
Advanced tools
Comparing version 0.4.5 to 0.4.6
@@ -34,2 +34,3 @@ "use strict"; | ||
(0, _react.useEffect)(function () { | ||
mounted.current = true; | ||
return function () { | ||
@@ -36,0 +37,0 @@ mounted.current = false; |
@@ -29,2 +29,3 @@ import { useRef, useEffect } from 'react'; | ||
useEffect(function () { | ||
mounted.current = true; | ||
return function () { | ||
@@ -31,0 +32,0 @@ mounted.current = false; |
{ | ||
"name": "@restart/hooks", | ||
"version": "0.4.5", | ||
"version": "0.4.6", | ||
"main": "cjs/index.js", | ||
@@ -5,0 +5,0 @@ "types": "cjs/index.d.ts", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
189485
5086
1