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

@buffetjs/hooks

Package Overview
Dependencies
Maintainers
3
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@buffetjs/hooks - npm Package Compare versions

Comparing version 3.1.0-next.1 to 3.1.0-next.3

6

dist/useIsMounted/index.js

@@ -11,3 +11,3 @@ "use strict";

function useIsMounted() {
var ref = (0, _react.useRef)(false);
var ref = (0, _react.useRef)(true);
(0, _react.useEffect)(function () {

@@ -19,5 +19,3 @@ ref.current = true;

}, []);
return function () {
return ref.current;
};
return ref.current;
}

@@ -24,0 +22,0 @@

{
"name": "@buffetjs/hooks",
"version": "3.1.0-next.1",
"version": "3.1.0-next.3",
"description": "Buffetjs react-hooks",

@@ -39,3 +39,3 @@ "main": "dist/index.js",

},
"gitHead": "927a3eee587f1868fc8ce202569e1f6c3dbe57e9"
"gitHead": "0999a284c87d58d1b1db3f1dede16f0b20b1cf67"
}
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