Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
can-event-dom-radiochange
Advanced tools
A custom event for listening to changes of inputs with type "radio", which fires when a conflicting radio input changes. A "conflicting" radio button has the same "name" attribute and exists within in the same form, or lack thereof. This event coordinates state bound to whether a radio is checked. The "change" event does not fire for deselected radios. By using this event instead, deselected radios receive notification.
With StealJS, you can import this module directly in an auto-rendered template:
import radioChange from 'can-event-dom-radiochange';
import domEvents from 'can-util/dom/events';
domEvents.addCustomEvent(radioChange);
Use require
to load can-event-dom-radiochange
and everything else
needed to create a template that uses can-event-dom-radiochange
:
var radioChange = require("can-event-dom-radiochange");
var domEvents = require('can-util/dom/events');
domEvents.addCustomEvent(radioChange);
Load the global
version of the plugin:
<script src='./node_modules/can-event-dom-radiochange/dist/global/can-event-dom-radiochange.js'></script>
FAQs
Custom radiochange event
The npm package can-event-dom-radiochange receives a total of 2,303 weekly downloads. As such, can-event-dom-radiochange popularity was classified as popular.
We found that can-event-dom-radiochange demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 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
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.