Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
aframe-camera-events
Advanced tools
A-Frame helper that emit events whenever the camera position / orientation changes.
A-Frame helper that emit events whenever the camera position / orientation changes.
Listens to changes in your camera's orientation and position and emits rotationChanged
/ positionChanged
events respectively.
Add the following line to your html file, just after loading A-Frame:
<script src="https://rawgit.com/urish/aframe-camera-events/master/index.js"></script>
You can also get this component through npm:
npm install --save aframe-camera-events
Add the position-listener
and / or rotation-listener
components to your a-camera
:
<a-camera id="my-camera" position-listener rotation-listener>
</a-camera>
You can then attach event listeners to your camera, e.g.:
document.getElementById('my-camera')
.addEventListener('rotationChanged', e => {
console.log('New rotation:', e.detail);
});
MIT.
FAQs
A-Frame helper that emit events whenever the camera position / orientation changes.
The npm package aframe-camera-events receives a total of 5 weekly downloads. As such, aframe-camera-events popularity was classified as not popular.
We found that aframe-camera-events demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.