Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
makeup-exit-emitter
Advanced tools
Emits custom 'focusExit' event when keyboard focus has exited an element and all of it's descendants
A vanilla JavaScript port of jquery-focus-exit.
Emits custom 'focusExit' event when focus has exited an element and all of it's descendants.
This module is still in an experimental state, until it reaches v1.0.0 you must consider all minor releases as breaking changes. Patch releases may introduce new features, but will be backwards compatible.
// via npm
npm install makeup-exit-emitter
// via yarn
yarn add makeup-exit-emitter
const ExitEmitter = require('makeup-exit-emitter');
const el = document.getElementById('#widget1');
ExitEmitter.addFocusExit(el);
el.addEventListener('focusExit', function(e){
console.log(this, e); // outputs (el1, 'focusExit')
});
npm start
npm test
npm run lint
npm run fix
npm run build
npm run clean
Each test run will generate the following reports:
/reports/coverage
contains Istanbul code coverage report/reports/html
contains HTML test reporthttps://travis-ci.org/makeup-js/makeup-exit-emitter
FAQs
Emits custom 'focusExit' event when keyboard focus has exited an element and all of it's descendants
The npm package makeup-exit-emitter receives a total of 95 weekly downloads. As such, makeup-exit-emitter popularity was classified as not popular.
We found that makeup-exit-emitter 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
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.