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.
dom-event-types
Advanced tools
An object of DOM event types and their interfaces.
Data scraped from MDN.
npm install --save-dev dom-event-types
const eventInterfaces = require("dom-event-interfaces");
console.log(eventInterfaces);
//=> { "abort": { "eventInterface": "Event", "bubbles": false, "cancelable": false }, ... }
{
[eventType]: {
eventInterface: string
cancelable: Boolean
bubbles: Boolean
}
}
If cancelable
or bubbles
are undefined, it's because there is no entry for them on MDN.
Some events have duplicate interfaces. To make this package easier to use, duplicates have been removed. You can see a list of events with duplicate interfaces, and the interface that's exported in this project.
name | event interfaces | interface in dom-event-types |
---|---|---|
abort | Event, ProgressEvent, UIEvent | Event |
end | Event, SpeechSynthesisEvent | Event |
error | ProgressEvent, Event, SpeechSynthesisErrorEvent, UIEvent | Event |
load | UIEvent, ProgressEvent | UIEvent |
message | ServiceWorkerMessageEvent, MessageEvent | MessageEvent |
error | ProgressEvent, Event, SpeechSynthesisErrorEvent, UIEvent | Event |
FAQs
DOM events data scraped from MDN
The npm package dom-event-types receives a total of 362,670 weekly downloads. As such, dom-event-types popularity was classified as popular.
We found that dom-event-types 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
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.