@applitools/utils
Advanced tools
Comparing version 1.7.0 to 1.7.1
# Changelog | ||
## [1.7.1](https://github.com/Applitools-Dev/sdk/compare/js/utils@1.7.0...js/utils@1.7.1) (2024-04-15) | ||
### Bug Fixes | ||
* region intersection algorithm ([#2290](https://github.com/Applitools-Dev/sdk/issues/2290)) ([aaa8d0c](https://github.com/Applitools-Dev/sdk/commit/aaa8d0cbcb0e39d23d652c2caf9d27bfaed0d2eb)) | ||
## [1.7.0](https://github.com/applitools/eyes.sdk.javascript1/compare/js/utils@1.6.3...js/utils@1.7.0) (2023-12-05) | ||
@@ -4,0 +11,0 @@ |
@@ -171,3 +171,3 @@ "use strict"; | ||
function isIntersected(region1, region2) { | ||
return ((region1.x <= region2.x ? region2.x < region1.x + region1.width : region1.x < region2.y + region2.width) && | ||
return ((region1.x <= region2.x ? region2.x < region1.x + region1.width : region1.x < region2.x + region2.width) && | ||
(region1.y <= region2.y ? region2.y < region1.y + region1.height : region1.y < region2.y + region2.height)); | ||
@@ -174,0 +174,0 @@ } |
{ | ||
"name": "@applitools/utils", | ||
"version": "1.7.0", | ||
"version": "1.7.1", | ||
"keywords": [ | ||
@@ -5,0 +5,0 @@ "applitools", |
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
81337