Socket
Socket
Sign inDemoInstall

reshow-hooks

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reshow-hooks - npm Package Compare versions

Comparing version 0.17.17 to 0.17.18

10

build/cjs/src/useSyncChange.js

@@ -12,4 +12,10 @@ "use strict";

var useSyncChange = function useSyncChange(value, setter, init) {
if (value !== (0, _usePrevious["default"])(value, init)) {
var useSyncChange = function useSyncChange(value, setter, init, comparator) {
if (comparator === void 0) {
comparator = function comparator(a, b) {
return a !== b;
};
}
if (comparator(value, (0, _usePrevious["default"])(value, init))) {
(0, _callFunc["default"])(setter, [value]);

@@ -16,0 +22,0 @@ }

2

package.json
{
"version": "0.17.17",
"version": "0.17.18",
"name": "reshow-hooks",

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

Sorry, the diff of this file is not supported yet

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