Comparing version 2.2.9 to 2.2.10
@@ -287,2 +287,3 @@ "use strict"; | ||
like(p, d = 0.001) { | ||
var _a, _b, _c, _d; | ||
if (this.equal(p)) { | ||
@@ -293,3 +294,3 @@ return true; | ||
const likeY = Math.abs(this.y - p.y) < d; | ||
const likeZ = Math.abs((this.z || 0) - (p.z || 0)) < d; | ||
const likeZ = Math.abs(((_b = (_a = this.z) !== null && _a !== void 0 ? _a : p.z) !== null && _b !== void 0 ? _b : 0) - ((_d = (_c = p.z) !== null && _c !== void 0 ? _c : this.z) !== null && _d !== void 0 ? _d : 0)) < d; | ||
return likeX && likeY && likeZ; | ||
@@ -296,0 +297,0 @@ } |
{ | ||
"name": "dgeoutils", | ||
"version": "2.2.9", | ||
"version": "2.2.10", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
96174
2763