Socket
Socket
Sign inDemoInstall

@restart/hooks

Package Overview
Dependencies
Maintainers
3
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@restart/hooks - npm Package Compare versions

Comparing version 0.4.5 to 0.4.6

1

cjs/useMounted.js

@@ -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;

2

package.json
{
"name": "@restart/hooks",
"version": "0.4.5",
"version": "0.4.6",
"main": "cjs/index.js",

@@ -5,0 +5,0 @@ "types": "cjs/index.d.ts",

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