Socket
Socket
Sign inDemoInstall

use-sync-external-store

Package Overview
Dependencies
Maintainers
3
Versions
1343
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-bf3a29d097-20240603 to 1.4.0-rc-cc1ec60d0d-20240607

6

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

@@ -34,3 +34,3 @@ /**

printWarning('error', format, args);
printWarning('error', format, args, new Error('react-stack-top-frame'));
}

@@ -40,3 +40,3 @@ }

function printWarning(level, format, args) {
function printWarning(level, format, args, currentStack) {
// When changing this logic, you might want to also

@@ -51,3 +51,3 @@ // update consoleWithStackDev.www.js as well.

// can be lost while DevTools isn't open but we can't detect this.
var stack = ReactSharedInternals.getCurrentStack();
var stack = ReactSharedInternals.getCurrentStack(currentStack);

@@ -54,0 +54,0 @@ if (stack !== '') {

@@ -34,3 +34,3 @@ /**

printWarning('error', format, args);
printWarning('error', format, args, new Error('react-stack-top-frame'));
}

@@ -40,3 +40,3 @@ }

function printWarning(level, format, args) {
function printWarning(level, format, args, currentStack) {
// When changing this logic, you might want to also

@@ -51,3 +51,3 @@ // update consoleWithStackDev.www.js as well.

// can be lost while DevTools isn't open but we can't detect this.
var stack = ReactSharedInternals.getCurrentStack();
var stack = ReactSharedInternals.getCurrentStack(currentStack);

@@ -54,0 +54,0 @@ if (stack !== '') {

@@ -34,3 +34,3 @@ /**

printWarning('error', format, args);
printWarning('error', format, args, new Error('react-stack-top-frame'));
}

@@ -40,3 +40,3 @@ }

function printWarning(level, format, args) {
function printWarning(level, format, args, currentStack) {
// When changing this logic, you might want to also

@@ -51,3 +51,3 @@ // update consoleWithStackDev.www.js as well.

// can be lost while DevTools isn't open but we can't detect this.
var stack = ReactSharedInternals.getCurrentStack();
var stack = ReactSharedInternals.getCurrentStack(currentStack);

@@ -54,0 +54,0 @@ if (stack !== '') {

{
"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-bf3a29d097-20240603",
"version": "1.4.0-rc-cc1ec60d0d-20240607",
"repository": {

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

"peerDependencies": {
"react": "19.0.0-rc-bf3a29d097-20240603"
"react": "19.0.0-rc-cc1ec60d0d-20240607"
},

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