New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@pmndrs/pointer-events

Package Overview
Dependencies
Maintainers
0
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pmndrs/pointer-events - npm Package Compare versions

Comparing version 6.4.4 to 6.4.5

11

dist/intersections/utils.js

@@ -79,10 +79,13 @@ import { getVoidObject } from './intersector.js';

}
function hasObjectListeners({ _listeners, __r3f }) {
if (__r3f != null && __r3f?.eventCount > 0) {
function hasObjectListeners(object) {
if (object.ancestorsHaveListeners) {
return true;
}
if (_listeners == null) {
if (object.__r3f != null && object.__r3f?.eventCount > 0) {
return true;
}
if (object._listeners == null) {
return false;
}
const entries = Object.entries(_listeners);
const entries = Object.entries(object._listeners);
const length = entries.length;

@@ -89,0 +92,0 @@ for (let i = 0; i < length; i++) {

@@ -50,2 +50,3 @@ import { Object3D, OrthographicCamera, PerspectiveCamera } from 'three';

interactableDescendants?: Array<Object3D>;
ancestorsHaveListeners?: boolean;
}

@@ -52,0 +53,0 @@ }

@@ -5,3 +5,3 @@ {

"license": "SEE LICENSE IN LICENSE",
"version": "6.4.4",
"version": "6.4.5",
"homepage": "https://github.com/pmndrs/xr",

@@ -8,0 +8,0 @@ "author": "Bela Bohlender",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc