@shopify/react-intersection-observer
Advanced tools
Comparing version 3.1.10 to 3.1.11-react-18-react-testing-beta.0
{ | ||
"name": "@shopify/react-intersection-observer", | ||
"version": "3.1.10", | ||
"version": "3.1.11-react-18-react-testing-beta.0", | ||
"license": "MIT", | ||
@@ -35,3 +35,3 @@ "description": "A React wrapper around the Intersection Observer API", | ||
"peerDependencies": { | ||
"react": ">=16.8.0 <18.0.0" | ||
"react": ">=16.8.0" | ||
}, | ||
@@ -46,5 +46,5 @@ "module": "index.mjs", | ||
}, | ||
"./*": "./" | ||
"./*": "./*" | ||
}, | ||
"gitHead": "82524f19df95eab93f7dcd0a8535bc45562d85c8" | ||
"gitHead": "5ee3fdd384fd9d706d9257aee4de5685c50a3f4a" | ||
} |
@@ -55,3 +55,5 @@ # `@shopify/react-intersection-observer` | ||
threshold={1} | ||
onIntersecting={(entry) => console.log('intersectionRatio > 0', entry)} | ||
onIntersectionChange={(entry) => | ||
console.log('intersectionRatio > 0', entry) | ||
} | ||
onNotIntersecting={(entry) => console.log('intersectionRatio = 0', entry)} | ||
@@ -58,0 +60,0 @@ /> |
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
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
77
6916
3
0
1
2