
Research
Security News
The Landscape of Malicious Open Source Packages: 2025 Mid‑Year Threat Report
A look at the top trends in how threat actors are weaponizing open source packages to deliver malware and persist across the software supply chain.
heatmap-filter
Advanced tools
A filter component to be used only by heatmap.com devs component export tutorial.
Install using your package manager of choice:
pnpm add heatmap-filter
https://matija-components.vercel.app/tri-state-checkbox
Import the component locally or define it globally and include the css file:
<template>
<!-- create a reset button that dispatched "reset-all-filters-event"-->
<button @click="resetAll">reset</button>
<!-- disabled comparison mode -->
<button @click="disabledComparison">disabled Comparison</button>
<!-- enabled comparison mode -->
<button @click="enabledComparison">enabled Comparison</button>
<!-- call the HeatmapFilter -->
<HeatmapFilter @on-filter-values-change="filterValueChanged" />
</template>
<script lang="ts" setup>
import { HeatmapFilter } from "heatmap-filter";
const filterValueChanged = (value: ReturnData[]) => {
console.log(value);
// do your stuff here
};
// when ever reset button is clicked, dispatch this event
const resetAll = () => {
const resetAllEvent = new CustomEvent("reset-all-filters-event");
document.dispatchEvent(resetAllEvent);
};
const disabledComparison = () => {
const resetAllEvent = new CustomEvent("disable-comparison-event", {
detail: { disabled: true },
});
document.dispatchEvent(resetAllEvent);
};
const enabledComparison = () => {
const resetAllEvent = new CustomEvent("disable-comparison-event", {
detail: { disabled: false },
});
document.dispatchEvent(resetAllEvent);
};
</script>
Name | Type | Default | Description |
---|---|---|---|
on-filter-values-change | func | get the selected filters by listening to this event |
Name | Type | Default | Description |
---|---|---|---|
reset-all-filters-event | func | for resetting all filters |
FAQs
## Adams
The npm package heatmap-filter receives a total of 47 weekly downloads. As such, heatmap-filter popularity was classified as not popular.
We found that heatmap-filter demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Research
Security News
A look at the top trends in how threat actors are weaponizing open source packages to deliver malware and persist across the software supply chain.
Security News
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.