Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-xr

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-xr - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

9

dist/index.cjs.js

@@ -247,7 +247,10 @@ 'use strict';

return;
}
} // Tiny offset to clip ray on AR devices
// that don't have handedness set to 'none'
var offset = -0.01;
ray.visible = true;
ray.scale.y = it.hoverRayLength;
ray.position.z = -it.hoverRayLength / 2;
ray.scale.y = it.hoverRayLength + offset;
ray.position.z = -it.hoverRayLength / 2 - offset;
});

@@ -254,0 +257,0 @@ });

@@ -217,7 +217,10 @@ import _objectWithoutPropertiesLoose from '@babel/runtime/helpers/esm/objectWithoutPropertiesLoose';

return;
}
} // Tiny offset to clip ray on AR devices
// that don't have handedness set to 'none'
const offset = -0.01;
ray.visible = true;
ray.scale.y = it.hoverRayLength;
ray.position.z = -it.hoverRayLength / 2;
ray.scale.y = it.hoverRayLength + offset;
ray.position.z = -it.hoverRayLength / 2 - offset;
});

@@ -224,0 +227,0 @@ });

{
"name": "react-xr",
"version": "1.0.7",
"version": "1.0.8",
"main": "dist/index.cjs.js",

@@ -5,0 +5,0 @@ "module": "dist/index.js",

Sorry, the diff of this file is not supported yet

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