Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
data-tier-list
Advanced tools
data-tier-list
data-tier-list
is a WebComponent, that provides repetative view functionality given any HTML template and a data set.
Main features and concepts:
Array
, Object
data-tier-list
relies on a data-tier library for the model-view tying part.
data-tier-list
's HTML binding declaration API adheres to the data-tier
's one here. See specific details below, in API section.
For a preview/playground you are welcome to: TBD
Use regular npm install data-tier-list --save-prod
to use the library from your local environment:
import 'node_modules/data-tier-list/dist/data-tier-list.min.js';
Alternatively, a CDN deployment available (AWS driven), so one can import it directly:
import 'https://libs.gullerya.com/data-tier-list/x.y.z/data-tier-list.min.js';
Note: replace the
x.y.z
by the desired version, one of the listed in the changelog.
CDN features:
data-tier-list
's HTML binding declaration API adheres to the data-tier
's one here.
The dataset of items is set/updated via the items
property of the data-tier-list
element, for example:
<data tier list>.items = [ 1, 2, 3 ];
items
elements can be anything from primitive values to complex object structures.
Each item will be shown according to the item template.
Light DOM of the data-tier-list
serves as a template for a single item.
data-tier-list
element self and its light DOM are not displayed.
Details:
item
as scope key (see examples below)<data-tier-list>
<div>
<span data-tie="item:title"></span>
<span data-tie="item:fromYear"></span>
<span data-tie="item:albumsTotal"></span>
</div>
</data-tier-list>
And then supply data:
const dtl = document.querySelector('data-tier-list');
dtl.items = [
{ title: '..', fromYear: 1991, albumsTotal: 3 },
{ title: '..', fromYear: 1992, albumsTotal: 5 },
{ title: '..', fromYear: 1993, albumsTotal: 7 }
]
FAQs
List component based on DataTier binding engine
We found that data-tier-list 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
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.