Socket
Socket
Sign inDemoInstall

reshow-hooks

Package Overview
Dependencies
7
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.17.40 to 0.17.41

3

build/cjs/src/useEnable.js

@@ -21,2 +21,5 @@ "use strict";

var useEnable = function useEnable(setTo, initVal, onChange) {
if (setTo === void 0) {
setTo = true;
}
var reducer = (0, _react.useReducer)(function () {

@@ -23,0 +26,0 @@ return (0, _callFunc["default"])(onChange, [setTo]) || setTo;

2

package.json
{
"version": "0.17.40",
"version": "0.17.41",
"name": "reshow-hooks",

@@ -4,0 +4,0 @@ "repository": {

@@ -12,2 +12,2 @@ export default useEnable;

*/
declare function useEnable(setTo: any, initVal?: any, onChange?: Function): [any, import("react").DispatchWithoutAction];
declare function useEnable(setTo?: any, initVal?: any, onChange?: Function): [any, import("react").DispatchWithoutAction];

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc