
Security News
npm v12 Ships With Install Scripts Off by Default, Begins Deprecating 2FA-Bypass Tokens
npm v12 is generally available, turning install scripts off by default and beginning the deprecation of 2FA-bypass publishing tokens.
pixel-stack
Advanced tools
Interface to composite RGB/RGBA buffers together into larger buffers representing images.
var PixelStack = require('pixel-stack');
var stack = new PixelStack;
stack.fill([0,0,0]);
stack.push([255,255,255,255,255,255], 0, 0, 2, 1);
stack.push([255,255,255,255,255,255], 0, 1, 2, 1);
stack.buffer();
type can be 'rgb' or 'rgba'. Defaults to rgb.data pixel buffer at the coordinates x,ydata can be any Array-like datastructure (Buffer, ArrayBuffer).stride can be a Number representing the size in bytes of each row,
in case there's byte padding.PixelStack instance.data pixel buffer as background color.0,0,0) upon
the first call to push or buffer.PixelStack instance.width of the stack. Useful when not specified in the
constructor and calculated dynamically.height of the stack. Useful when not specified in the
constructor and calculated dynamically.Buffer.Inspired by the FixedJpegStack and DynamicJpegStack interfaces of
the node-jpeg project by @pkrumins.
MIT – Copyright (c) 2014 Automattic, Inc.
FAQs
Interface to composite RGB/RGBA buffers
We found that pixel-stack 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
npm v12 is generally available, turning install scripts off by default and beginning the deprecation of 2FA-bypass publishing tokens.

Research
/Security News
Socket tracks the activity as Operation “Muck and Load”: a threat actor uses commit-farming workflows, public dead drops, and protected archives to stage Windows RAT and infostealer malware.

Security News
pnpm 11.10 hardens registry auth to block token redirection, tightens pack-app and deploy, and makes the Rust port (v12) installable.