Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Cameras for 3D rendering.
npm install cameras
import { PerspectiveCamera } from "cameras";
const perspectiveCamera = new PerspectiveCamera({
fov: Math.PI / 2,
near: 1,
far: 1000,
position: [3, 3, 3],
target: [0, 1, 0],
});
// Create controls
const perspectiveCameraControls = new Controls({
element: regl._gl.canvas,
camera: perspectiveCamera,
});
// Update controls and set camera with controls position/target
perspectiveCameraControls.update();
perspectiveCamera.position = perspectiveCameraControls.position;
perspectiveCamera.target = perspectiveCameraControls.target;
// Update view matrices (call when changing position/target/up)
perspectiveCamera.update();
// Update projection matrix (call when changing near/far/view and other camera type specific options)
perspectiveCamera.updateProjectionMatrix();
See the documentation and Typescript types.
MIT. See license file.
FAQs
Cameras for 3D rendering.
The npm package cameras receives a total of 8 weekly downloads. As such, cameras popularity was classified as not popular.
We found that cameras 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.