
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
@converse/skeletor
Advanced tools
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.0.0.4 (2021-05-12)
FAQs
Modernized Backbone with web components
The npm package @converse/skeletor receives a total of 257 weekly downloads. As such, @converse/skeletor popularity was classified as not popular.
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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.