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.
@converse/skeletor
Advanced tools
[![XMPP Chat](https://inverse.chat/badge.svg?room=discuss@conference.conversejs.org)](https://inverse.chat/#converse/room?jid=discuss@conference.conversejs.org) [![Travis](https://api.travis-ci.org/conversejs/skeletor.png?branch=master)](https://travis-ci
Skeletor is a Backbone fork.
Its goal is to modernize and componentize Backbone.
Original Backbone Views can't be rendered in a nested and declarative way, similarly to how components are rendered in React and other frameworks.
We can solve this by making Views web components. Check out the ElementView
class, which does this.
The goal of this fork is to allow the Converse team to gradually update the Converse XMPP webchat client to use web components (using LitElement) without requiring us to put everything on hold in order to do a massive rewrite.
The end-goal is to not have any Backbone/Skeletor Views at all, only LitElement components.
We can cheat a little by letting the existing Views also be web components (more accurately, "custom elements"), this allows us to declaratively render the UI, while we're progressively getting rid of the views.
render
method Views can have a toHTML
method which must return a lit-html TemplateResult
.ElementView
class, which is a like a Backbone View, but doubles
as an instance of HTMLElement and can be used to register a custom element or
web-component.map
instead.chain
method on Models has been removed.inject
, foldl
and foldr
methods on Collections has been removed. You can use reduce
instead.sample
, take
, tail
and initial
method on Collections.without
, reject
and select
methods on Collections, use filter
.drop
instead of rest
.indexBy
is called keyBy
invokeMap
for collections instead of invoke
.includes
instead of contains
partition
and invokeMap
methods have been removed.FAQs
Modernized Backbone with web components
We found that @converse/skeletor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.