
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.
Reactive Storage wrapped around either localStorage or sessionStorage, in the browser. you chooose which engine fits your needs.
It works like this:
import SetupStorage from "rumblejs";
const rls = SetupStorage(localStorage);
const readSubscriber = rls.onRead("user", (event) => {
console.log("User readed", event.value);
});
const writeSubscriber = rls.onWrite("user", (event) => {
console.log(event.previous, event.value);
});
const removeSubscriber = rls.onRemove("user", (event) => {
console.log("User removed. Need to signin again");
});
const clearSubscriber = rls.onClear(() => {
console.log("Storage has been cleared");
});
rls.setItem("user", "Paul Logan");
rls.getItem("user");
rls.removeItem("user");
readSubscriber.cancel();
writeSubscriber.cancel();
removeSubscriber.cancel();
clearSubscriber.cancel();
/// same for other subscribers
How it works:
RumbleJS encapsulates either localStorage or sessionStorage to provide the same functionality as localStorage or sessionStorage, but is able to react to changes applied to the keys stored by it, on demand. Events are passed through the sender associated with the document, to allow function calls without latency or promise.
Returns the total number of keys available in the storage
Clears the storage, and triggers the clear event. Interceptable with onClear.
Returns the current value associated with the given key, or null if the given key does not exist
Returns the current value associated with the given key, or null if the given key does not exist
Returns the current value associated with the given key with automatic conversion to Javascript Object with JSON.parse, or null if the given key does not exist
Returns the current value associated with the given key with automatic parsing to number with parseFloat, or null if the given key does not exist
Returns the current value associated with the given key with automatic parsing to boolean by checking if the value is equal to true or 1, or false if the given key does not exist
Returns every key value pair where the key match the given pattern. if each key-pair, the value might be null
Returns every key value pair where the key match the given pattern. if each key-pair, but skip keys with null values.
Return the key at the specified index
Remove the specified key from the storage.
Append the given key value to storage.
FAQs
Reactive Data Storage in the browser.
We found that rumblejs 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.