
Research
/Security News
jscrambler npm Package Compromised in Supply Chain Attack
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.
[](https://www.npmjs.com/package/time-loom) [](https://opensource.org/licenses/MIT)
A utility for creating delayed functions using debouncing and throttling.
npm install time-loom
import { debounce, throttle } from "time-loom";
// Example usage of debounce
const debouncedFunction = debounce(() => {
// Your function logic here
}, 500);
// Example usage of throttle
const throttledFunction = throttle(() => {
// Your function logic here
}, 1000);
Creates a debounced function.
fn: The function to debounce.delay: The delay in milliseconds.options: (Optional) Additional options for customization (e.g., { leading: true, trailing: false, maxWait: 1000 }).leading (boolean): Whether to execute the function on the leading edge of the timeout (default: false).trailing (boolean): Whether to execute the function on the trailing edge of the timeout (default: true).maxWait (number): The maximum time to wait before triggering the function (default: undefined).cancel: Cancels the scheduled execution of the debounced function.flush: Executes the debounced function immediately.Creates a throttled function.
fn: The function to throttle.delay: The minimum time between invocations in milliseconds.options: (Optional) Additional options for customization (e.g., { leading: false, trailing: true }).leading (boolean): Whether to execute the function on the leading edge of the timeout (default: true).trailing (boolean): Whether to execute the function on the trailing edge of the timeout (default: true).cancel: Cancels the scheduled execution of the throttled function.This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
[](https://www.npmjs.com/package/time-loom) [](https://opensource.org/licenses/MIT)
We found that time-loom 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 compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.

Research
/Security News
A malicious .NET package is typosquatting the Braintree SDK to steal live payment card data, merchant API keys, and host secrets from production apps.

Security News
/Research
Compromised Injective SDK npm version 1.20.21 exfiltrates wallet private keys and mnemonics through fake telemetry functionality.