
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
heatmap-bug-reporter
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-bug-reporter receives a total of 0 weekly downloads. As such, heatmap-bug-reporter popularity was classified as not popular.
We found that heatmap-bug-reporter 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.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.