use-sync-external-store
Advanced tools
Comparing version 1.4.0-rc-935180c7e0-20240524 to 1.4.0-rc-9598c41a20-20240603
@@ -37,3 +37,3 @@ /** | ||
} | ||
} | ||
} // eslint-disable-next-line react-internal/no-production-logging | ||
@@ -47,2 +47,5 @@ function printWarning(level, format, args) { | ||
if (ReactSharedInternals.getCurrentStack) { | ||
// We only add the current stack to the console when createTask is not supported. | ||
// Since createTask requires DevTools to be open to work, this means that stacks | ||
// can be lost while DevTools isn't open but we can't detect this. | ||
var stack = ReactSharedInternals.getCurrentStack(); | ||
@@ -49,0 +52,0 @@ |
@@ -37,3 +37,3 @@ /** | ||
} | ||
} | ||
} // eslint-disable-next-line react-internal/no-production-logging | ||
@@ -47,2 +47,5 @@ function printWarning(level, format, args) { | ||
if (ReactSharedInternals.getCurrentStack) { | ||
// We only add the current stack to the console when createTask is not supported. | ||
// Since createTask requires DevTools to be open to work, this means that stacks | ||
// can be lost while DevTools isn't open but we can't detect this. | ||
var stack = ReactSharedInternals.getCurrentStack(); | ||
@@ -49,0 +52,0 @@ |
@@ -37,3 +37,3 @@ /** | ||
} | ||
} | ||
} // eslint-disable-next-line react-internal/no-production-logging | ||
@@ -47,2 +47,5 @@ function printWarning(level, format, args) { | ||
if (ReactSharedInternals.getCurrentStack) { | ||
// We only add the current stack to the console when createTask is not supported. | ||
// Since createTask requires DevTools to be open to work, this means that stacks | ||
// can be lost while DevTools isn't open but we can't detect this. | ||
var stack = ReactSharedInternals.getCurrentStack(); | ||
@@ -49,0 +52,0 @@ |
{ | ||
"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-935180c7e0-20240524", | ||
"version": "1.4.0-rc-9598c41a20-20240603", | ||
"repository": { | ||
@@ -22,3 +22,3 @@ "type": "git", | ||
"peerDependencies": { | ||
"react": "19.0.0-rc-935180c7e0-20240524" | ||
"react": "19.0.0-rc-9598c41a20-20240603" | ||
}, | ||
@@ -25,0 +25,0 @@ "devDependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44833
1097