
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.
@batterii/errors
Advanced tools
Contains base error classes for errors defined in the Batterii organization.
Makes use of Nani to enable easy and robust run-time checking against error type heirarchies, which is usually not possible in JavaScript or, by extension, TypeScript.
This exists primarily for namespacing purposes and will likely only ever
contain a single class, BatteriiError, which should be the base class for
every error defined in any package with the Batterii scope, or any open-source
package we might end up having that is maintained by Batterii but is not
released under the scope.
If we publish (either publicly or privately) a package called
@batterii/encode-object, for example, any errors it defines should derive from
an EncodeObjectError, which in turn derives from BatteriiError.
FAQs
Batterii Error Classes
The npm package @batterii/errors receives a total of 1,149 weekly downloads. As such, @batterii/errors popularity was classified as popular.
We found that @batterii/errors demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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.