Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@iconstorm/lol-element
Advanced tools
A base class for creating Web Components like you know what you're doing
A base class for creating Web Components like you know what you're doing
TODO
(hint: hide verbose/advanced stuff and/or further explanations inside "toggles" and the end of each section, à la Josh Comeau)
import { LOL, html, css } from 'lol-element/lol.js'
class HelloWorld extends LOL {
static attributes = [
{ name: 'with-exclamation-mark', boolean: true }
]
static get styles () {
return css`
:host { font-size: 300%; }
`
}
template () {
return html`
<span>Hello World${this.withExclamationMark ? '!' : ''}</span>
`
}
}
customElements.define('lol-hello-world', HelloWorld)
shadowOptions
styles
attributes
template()
constructor()
connectedCallback()
disconnectedCallback()
attributeChangedCallback()
changed()
{propertyName}Changed()
render()
emit()
LOL
LOLElement
css
html
*svg
*flavors (view layer)
https://www.urbandictionary.com/define.php?term=lol (4)
used to make something sound less serious or more of a joke even if it's not. similarly used: haha, lmao, lmfao
are you okay?
yeah lol
ur not mad right?
no lol
🍩
FAQs
A base class for creating Web Components like you know what you're doing
The npm package @iconstorm/lol-element receives a total of 1 weekly downloads. As such, @iconstorm/lol-element popularity was classified as not popular.
We found that @iconstorm/lol-element demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.