Socket
Socket
Sign inDemoInstall

use-sync-external-store

Package Overview
Dependencies
Maintainers
3
Versions
1331
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

use-sync-external-store - npm Package Compare versions

Comparing version 1.4.0-rc-9c6806964f-20240703 to 1.4.0-rc-9d2da591-20240808

2

cjs/use-sync-external-store-shim/with-selector.development.js

@@ -60,3 +60,3 @@ /**

if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))
return currentSelection;
return (memoizedSnapshot = nextSnapshot), currentSelection;
memoizedSnapshot = nextSnapshot;

@@ -63,0 +63,0 @@ return (memoizedSelection = nextSelection);

@@ -53,3 +53,3 @@ /**

if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))
return currentSelection;
return (memoizedSnapshot = nextSnapshot), currentSelection;
memoizedSnapshot = nextSnapshot;

@@ -56,0 +56,0 @@ return (memoizedSelection = nextSelection);

@@ -59,3 +59,3 @@ /**

if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))
return currentSelection;
return (memoizedSnapshot = nextSnapshot), currentSelection;
memoizedSnapshot = nextSnapshot;

@@ -62,0 +62,0 @@ return (memoizedSelection = nextSelection);

@@ -52,3 +52,3 @@ /**

if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))
return currentSelection;
return (memoizedSnapshot = nextSnapshot), currentSelection;
memoizedSnapshot = nextSnapshot;

@@ -55,0 +55,0 @@ return (memoizedSelection = nextSelection);

{
"name": "use-sync-external-store",
"description": "Backwards compatible shim for React's useSyncExternalStore. Works with any React that supports hooks.",
"version": "1.4.0-rc-9c6806964f-20240703",
"version": "1.4.0-rc-9d2da591-20240808",
"repository": {

@@ -22,3 +22,3 @@ "type": "git",

"peerDependencies": {
"react": "19.0.0-rc-9c6806964f-20240703"
"react": "19.0.0-rc-9d2da591-20240808"
},

@@ -25,0 +25,0 @@ "devDependencies": {

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