
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@pixi-essentials/object-pool
Advanced tools
Custom-tailored object pool for PixiJS-based applications
This package implements a custom-tailored object pool for PixiJS applications. It provides the following features:
reserve: You can preallocate the pool size to have a set amount of objects.
limit: You can reduce the pool size after a lot of allocations.
auto-GC: The GC will reduce your pool to the reserve size after allocation demand goes down per-frame.
This package can also be used as a single-source of object pools. If two different libraries need
a pool for say, PIXI.Rectangle, then the same object pool will be returned.

npm install @pixi-essentials/object-pool
import { ObjectPoolFactory } from '@pixi-essentials/object-pool';
import { Rectangle } from '@pixi/math';
const rpool: ObjectPoolFactory = ObjectPoolFactory.build(Rectangle);
rpool.reserve(10000);
rpool.startGC();// prevent pool from staying above 10,000 rectangles for too long
const rect: PIXI.Rectangle = rpool.allocate();
// do something
rpool.release(rect);
// Want to reduce pool size now?
rpool.limit(11000);
FAQs
Custom-tailored object pool for PixiJS-based applications
The npm package @pixi-essentials/object-pool receives a total of 602 weekly downloads. As such, @pixi-essentials/object-pool popularity was classified as not popular.
We found that @pixi-essentials/object-pool 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.