Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@revolist/revogrid
Advanced tools
A repository for the virtual grid implementation based on Web Component using Stencil. Works in any major framework or with no framework at all.
The Revo Grid component helps represent huge amount of data in a form of data table. Check Storybook minimalistic RevoGrid Demo.
Grid supports:
##Installation
The library is published as a scoped NPM package in the NPMJS Revolist account.
Checkfor more information on demo side.
npm install --save @revolist/revogrid;
##Framework
Grid works as web component. All you have to do just to place component on the page and access it properties as an element.
<!DOCTYPE html>
<html>
<head>
// node_modules path
<script src="node_modules/@revolist/revogrid/dist/revo-grid.js"></script>
// or with unpkg
<script src="https://unpkg.com/browse/@revolist/revogrid@latest/dist/revo-grid.js"></script>
// Alternatively, if you wanted to take advantage of ES Modules, you could include the components using an import statement. Note that in this scenario applyPolyfills is needed if you are targeting Edge or IE11.
<script type="module">
import { applyPolyfills, defineCustomElements } from 'https://unpkg.com/browse/@revolist/revogrid@latest/loader';
applyPolyfills().then(() => {
defineCustomElements();
});
</script>
</head>
<body>
<revo-grid class="grid-component"/>
</body>
</html>
const grid = document.querySelector('revo-grid');
const columns = [
{
prop: 'name',
name: 'First column'
},
{
prop: 'details',
name: 'Second column',
cellTemplate: (h, props) => {
return h('div', {
style: {
backgroundColor: 'red'
},
class: 'inner-cell'
}, props.model[props.prop] || '');
}
}
];
const items = [{
name: 'New item',
details: 'Item description'
}];
grid.columns = columns;
grid.source = items;
grid.dimensions = {
row: {
0: 70,
1: 50
},
col: {
0: 120,
1: 200
}
};
FAQs
Virtual reactive data grid spreadsheet component - RevoGrid.
The npm package @revolist/revogrid receives a total of 7,413 weekly downloads. As such, @revolist/revogrid popularity was classified as popular.
We found that @revolist/revogrid demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.