Comparing version 0.0.109 to 0.0.110
@@ -9,8 +9,9 @@ 'use strict'; | ||
var _localPoint2 = _interopRequireDefault(_localPoint); | ||
Object.defineProperty(exports, 'localPoint', { | ||
enumerable: true, | ||
get: function get() { | ||
return _interopRequireDefault(_localPoint).default; | ||
} | ||
}); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
exports.default = { | ||
localPoint: _localPoint2.default | ||
}; | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } |
@@ -10,6 +10,2 @@ 'use strict'; | ||
var _point2 = _interopRequireDefault(_point); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function localPoint(node, event) { | ||
@@ -23,3 +19,3 @@ if (!node) return; | ||
point = point.matrixTransform(node.getScreenCTM().inverse()); | ||
return new _point2.default({ | ||
return new _point.Point({ | ||
x: point.x, | ||
@@ -30,3 +26,3 @@ y: point.y | ||
var rect = node.getBoundingClientRect(); | ||
return new _point2.default({ | ||
return new _point.Point({ | ||
x: event.clientX - rect.left - node.clientLeft, | ||
@@ -33,0 +29,0 @@ y: event.clientY - rect.top - node.clientTop |
{ | ||
"name": "@vx/event", | ||
"version": "0.0.109", | ||
"version": "0.0.110", | ||
"description": "vx event", | ||
@@ -38,4 +38,4 @@ "main": "build/index.js", | ||
"dependencies": { | ||
"@vx/point": "0.0.84" | ||
"@vx/point": "0.0.110" | ||
} | ||
} |
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
0
1
1870
4
+ Added@vx/point@0.0.110(transitive)
- Removed@vx/point@0.0.84(transitive)
Updated@vx/point@0.0.110